1 # $NetBSD: Makefile,v 1.19 2012/10/03 18:28:28 asau Exp $
4 PKGNAME
= ms-ttf-20020306
7 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=corefonts
/}
8 DISTFILES
= andale32.exe webdin32.exe trebuc32.exe georgi32.exe \
9 verdan32.exe comic32.exe arialb32.exe impact32.exe \
10 arial32.exe times32.exe courie32.exe
12 MAINTAINER
= pkgsrc-users@NetBSD.org
13 HOMEPAGE
= http
://corefonts.sourceforge.net
/
14 COMMENT
= TrueType fonts from Microsoft
15 LICENSE
= ms-ttf-license
17 RESTRICTED
= No redistribution in altered form
19 BUILD_DEPENDS
+= cabextract-
[0-9]*:..
/..
/archivers
/cabextract
21 NO_BIN_ON_CDROM
= ${RESTRICTED}
22 NO_BIN_ON_FTP
= ${RESTRICTED}
23 NO_SRC_ON_CDROM
= ${RESTRICTED}
30 EVAL_PREFIX
+= CABEXTRACT_PREFIX
=cabextract
31 CABEXTRACT_PREFIX_DEFAULT
=${LOCALBASE}
32 EXTRACT_CMD
= ${CABEXTRACT_PREFIX}/bin
/cabextract
-q
$${extract_file}
33 FONTDIR
= ${PREFIX}/lib
/X11
/fonts
/TTF
34 DOCDIR
= ${PREFIX}/share
/doc
/ms-ttf
35 FONTS_DIRS.ttf
= ${FONTDIR}
37 INSTALLATION_DIRS
= ${FONTDIR} ${DOCDIR}
41 for f in
${WRKSRC}/*.TTF
; do \
42 ${MV} $$f `${ECHO} $$f | ${SED} 's|TTF$$|ttf|'`; \
46 cd
${WRKSRC} && for f in
*.ttf
; do \
47 ${INSTALL_DATA} $$f ${DESTDIR}${FONTDIR}/$$f; \
49 ${INSTALL_DATA} ${.CURDIR
}/..
/..
/licenses
/${LICENSE} ${DESTDIR}${DOCDIR}
51 .
include "../../mk/bsd.pkg.mk"