Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / fonts / ms-ttf / Makefile
blob4e187dc9eb2902c1640f27e2e73b72ea2da8accc
1 # $NetBSD: Makefile,v 1.19 2012/10/03 18:28:28 asau Exp $
3 DISTNAME= # empty
4 PKGNAME= ms-ttf-20020306
5 PKGREVISION= 5
6 CATEGORIES= fonts
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}
25 NO_CONFIGURE= yes
26 NO_BUILD= yes
28 USE_X11BASE= yes
29 DIST_SUBDIR= ms-ttf
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}
39 post-extract:
40 ${RUN} \
41 for f in ${WRKSRC}/*.TTF ; do \
42 ${MV} $$f `${ECHO} $$f | ${SED} 's|TTF$$|ttf|'`; \
43 done
45 do-install:
46 cd ${WRKSRC} && for f in *.ttf ; do \
47 ${INSTALL_DATA} $$f ${DESTDIR}${FONTDIR}/$$f; \
48 done
49 ${INSTALL_DATA} ${.CURDIR}/../../licenses/${LICENSE} ${DESTDIR}${DOCDIR}
51 .include "../../mk/bsd.pkg.mk"