summaryrefslogtreecommitdiff
path: root/x11-fonts/gnu-unifont/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2008-03-19 06:34:26 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2008-03-19 06:34:26 +0000
commit3e2372b2cab8ff0bbf833143c38f543514bf0b41 (patch)
tree451cda912f55aba9116cb5a186e990175e30948d /x11-fonts/gnu-unifont/Makefile
parent- Reformat Makefile header (diff)
Add gnu-unifont 1.0.0, unicode font.
PR: ports/121037 Submitted by: nrg milk <bsdports at gmail.com>
Notes
Notes: svn path=/head/; revision=209348
Diffstat (limited to 'x11-fonts/gnu-unifont/Makefile')
-rw-r--r--x11-fonts/gnu-unifont/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/x11-fonts/gnu-unifont/Makefile b/x11-fonts/gnu-unifont/Makefile
new file mode 100644
index 000000000000..6d05794e2d37
--- /dev/null
+++ b/x11-fonts/gnu-unifont/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: gnu-unifont
+# Date created: Feb 23 2008
+# Whom: nrg milk <bsdports@gmail.com>
+#
+# $FreeBSD$
+
+PORTNAME= gnu-unifont
+PORTVERSION= 1.0.0
+CATEGORIES= sysutils
+MASTER_SITES= http://chirashi-no-ura.net/files/
+DISTNAME= unifont.hex
+EXTRACT_SUFX= .tar.bz
+
+MAINTAINER= bsdports@gmail.com
+COMMENT= Unicode font
+
+BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
+
+USE_PERL= 5.8
+NO_BUILD= yes
+PLIST_FILES= lib/X11/fonts/local/unifont.pcf.gz
+
+do-install:
+ ${CHMOD} +x ${FILESDIR}/hex2bdf
+ ${CAT} ${WRKDIR}/unifont.hex | ${FILESDIR}/hex2bdf | ${LOCALBASE}/bin/bdftopcf | ${GZIP_CMD} > ${WRKDIR}/unifont.pcf.gz
+ ${CP} ${WRKDIR}/unifont.pcf.gz ${LOCALBASE}/lib/X11/fonts/local/unifont.pcf.gz
+
+.include <bsd.port.mk>