diff options
author | itojun <itojun@pkgsrc.org> | 2000-05-09 17:16:18 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 2000-05-09 17:16:18 +0000 |
commit | a4d7cf0c6c89159278673c8c4b6455c40912e1b2 (patch) | |
tree | f12cf4dcbf55b3985e67579877c7b1cee2e381d2 /fonts/intlfonts/Makefile | |
parent | b39a4cc026bcad76026c4040fff383d0d321000a (diff) | |
download | pkgsrc-a4d7cf0c6c89159278673c8c4b6455c40912e1b2.tar.gz |
make build of EXTRA_FONTS conditional by NO_EXTRA_FONTS (default: build all).
generate PLIST dynamically.
pointed out by: tron@zhadum.de (Matthias Scheler)
Diffstat (limited to 'fonts/intlfonts/Makefile')
-rw-r--r-- | fonts/intlfonts/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/fonts/intlfonts/Makefile b/fonts/intlfonts/Makefile index 32b42a3db89..af86acd521f 100644 --- a/fonts/intlfonts/Makefile +++ b/fonts/intlfonts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2000/04/20 16:57:21 itojun Exp $ +# $NetBSD: Makefile,v 1.5 2000/05/09 17:16:18 itojun Exp $ DISTNAME= intlfonts-1.2 CATEGORIES= x11 @@ -40,6 +40,15 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-fontdir=${PREFIX}/lib/X11/fonts/intlfonts \ --without-bdf --enable-compress=gzip +.if !defined(NO_EXTRA_FONTS) +FONT_SETS+= ${EXTRA_FONTS} +PLIST_SRC= ${WRKDIR}/PLIST + +# the order may look strange, but we need to make "@dirrm" the last item. +post-patch: + ${CAT} ${PKGDIR}/PLIST.extrafonts ${PKGDIR}/PLIST > ${PLIST_SRC} +.endif + post-extract: .for FILE in ${MISC_FILES} ${CP} ${_DISTDIR}/${FILE} ${WRKSRC} |