2006-11-20 07:28:48 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2006/11/20 12:28:48 espie Exp $
|
2002-12-07 01:16:26 -05:00
|
|
|
|
|
|
|
COMMENT= "Microsoft TrueType core fonts"
|
|
|
|
|
|
|
|
DISTNAME= msttcorefonts-1.2
|
|
|
|
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"
|
2003-10-08 13:13:14 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= "may not sell"
|
2002-12-07 01:16:26 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=corefonts/}
|
2004-01-09 22:33:45 -05:00
|
|
|
DIST_SUBDIR= ${DISTNAME}
|
2002-12-07 01:16:26 -05:00
|
|
|
|
2006-11-20 07:28:48 -05:00
|
|
|
BUILD_DEPENDS= :cabextract-*:archivers/cabextract
|
2002-12-07 01:16:26 -05:00
|
|
|
|
2003-07-24 11:07:52 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
|
2002-12-07 01:16:26 -05:00
|
|
|
NO_BUILD= Yes
|
2004-02-01 15:17:47 -05:00
|
|
|
PKG_ARCH= *
|
2002-12-07 01:16:26 -05:00
|
|
|
|
2003-07-25 20:09:17 -04:00
|
|
|
DISTFILES= andale32.exe \
|
2002-12-07 01:16:26 -05:00
|
|
|
arial32.exe \
|
|
|
|
arialb32.exe \
|
|
|
|
comic32.exe \
|
|
|
|
courie32.exe \
|
|
|
|
georgi32.exe \
|
|
|
|
impact32.exe \
|
|
|
|
times32.exe \
|
|
|
|
trebuc32.exe \
|
|
|
|
verdan32.exe \
|
|
|
|
webdin32.exe
|
|
|
|
|
2003-06-17 17:05:03 -04:00
|
|
|
INST_DIR= ${PREFIX}/lib/X11/fonts/mscorefonts
|
2002-12-07 01:16:26 -05:00
|
|
|
|
2003-07-25 20:09:17 -04:00
|
|
|
EXTRACT_CASES= *.exe) cabextract ${FULLDISTDIR}/$$archive \
|
2004-01-09 22:33:45 -05:00
|
|
|
--lowercase --quiet --directory=${WRKDIST} ;;
|
2002-12-07 01:16:26 -05:00
|
|
|
|
|
|
|
do-install:
|
2004-01-09 22:33:45 -05:00
|
|
|
${INSTALL_DATA_DIR} ${INST_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.ttf ${INST_DIR}
|
|
|
|
${X11BASE}/bin/mkfontscale ${INST_DIR}
|
|
|
|
${X11BASE}/bin/mkfontdir ${INST_DIR}
|
|
|
|
tr -d \\015 < ${WRKDIST}/licen.txt > ${INST_DIR}/eula.txt
|
2002-12-07 01:16:26 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|