summaryrefslogtreecommitdiff
path: root/fonts/intlfonts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/intlfonts/Makefile')
-rw-r--r--fonts/intlfonts/Makefile11
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}