openbsd-ports/x11/msttcorefonts/Makefile
ajacoutot b4aacd2b07 - remove USE_X11
- don't manually run mkfontscale and mkfontdir ; pkg tools now take care
of this (you need a recent current for this)
- remove quotes around COMMENT while here
- bump PKGNAME

"looks good" to MAINTAINER Steve Shockley <steve.shockley at shockley dot net>
2007-07-22 08:03:07 +00:00

51 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2007/07/22 08:03:07 ajacoutot Exp $
COMMENT= Microsoft TrueType core fonts
DISTNAME= msttcorefonts-1.2
PKGNAME= ${DISTNAME}p0
CATEGORIES= x11
HOMEPAGE= http://corefonts.sourceforge.net/
MAINTAINER= Steve Shockley <steve.shockley@shockley.net>
# Font source files have a restrictive license
PERMIT_PACKAGE_CDROM= "Restrictive license, can't distribute modified files"
PERMIT_PACKAGE_FTP= "Restrictive license, can't distribute modified files"
PERMIT_DISTFILES_CDROM= "may not sell"
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=corefonts/}
DIST_SUBDIR= ${DISTNAME}
BUILD_DEPENDS= :cabextract-*:archivers/cabextract
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
DISTFILES= andale32.exe \
arial32.exe \
arialb32.exe \
comic32.exe \
courie32.exe \
georgi32.exe \
impact32.exe \
times32.exe \
trebuc32.exe \
verdan32.exe \
webdin32.exe
INST_DIR= ${PREFIX}/lib/X11/fonts/mscorefonts
EXTRACT_CASES= *.exe) cabextract --lowercase --quiet \
--directory=${WRKDIST} ${FULLDISTDIR}/$$archive ;;
do-install:
${INSTALL_DATA_DIR} ${INST_DIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${INST_DIR}
tr -d \\015 < ${WRKDIST}/licen.txt > ${INST_DIR}/eula.txt
.include <bsd.port.mk>