summaryrefslogtreecommitdiff
path: root/fonts/intlfonts/Makefile
diff options
context:
space:
mode:
authortron <tron>1999-09-07 22:13:06 +0000
committertron <tron>1999-09-07 22:13:06 +0000
commitbd0f2da4a1f1484b29f2f950f716b27084d41b36 (patch)
tree7d77c765f69f8582d19d43d4f6f54ff98f402376 /fonts/intlfonts/Makefile
parent8a37601dbee32ecaaa3a62f00bb57640295e315d (diff)
downloadpkgsrc-bd0f2da4a1f1484b29f2f950f716b27084d41b36.tar.gz
New "intlfonts" package supplied by Greg A. Woods in PR pkg/7181:
Free X11 fonts (BDF format) for all characters that Emacs can handle.
Diffstat (limited to 'fonts/intlfonts/Makefile')
-rw-r--r--fonts/intlfonts/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/fonts/intlfonts/Makefile b/fonts/intlfonts/Makefile
new file mode 100644
index 00000000000..692dd714e7e
--- /dev/null
+++ b/fonts/intlfonts/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/07 22:13:06 tron Exp $
+
+DISTNAME= intlfonts-1.1
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GNU:=intlfonts/}
+DISTFILES= ${FONT_SETS:S/$/${EXTRACT_SUFX}/} ${MISC_FILES}
+
+MAINTAINER= packages@netbsd.org
+
+FONT_SETS= Asian \
+ Chinese \
+ Ethiopic \
+ European \
+ Japanese \
+ Misc
+
+# These are extra files that not many folks will likely need or want
+# They are all bigger than 24 dots -- you'll only want them if you
+# want to display text in really big fonts.
+#
+EXTRA_FONTS= Chinese-BIG \
+ European-BIG \
+ Japanese-BIG
+
+MISC_FILES= Makefile \
+ README \
+ README-split
+
+DIST_SUBDIR= intlfonts
+EXTRACT_ONLY= ${FONT_SETS:S/$/${EXTRACT_SUFX}/}
+MESSAGE_FILE= ${WRKSRC}/MESSAGE
+USE_X11BASE= yes
+WRKSRC= ${WRKDIR}
+
+post-extract:
+.for FILE in ${MISC_FILES}
+ ${CP} ${_DISTDIR}/${FILE} ${WRKSRC}
+.endfor
+
+do-build:
+ ${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/MESSAGE >${MESSAGE_FILE}
+
+do-install:
+ (cd ${WRKSRC}; ${MAKE} PREFIX=${PREFIX} ${FONT_SETS})
+
+.include "../../mk/bsd.pkg.mk"