summaryrefslogtreecommitdiff
path: root/x11-fonts/gnu-unifont/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/gnu-unifont/Makefile')
-rw-r--r--x11-fonts/gnu-unifont/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/x11-fonts/gnu-unifont/Makefile b/x11-fonts/gnu-unifont/Makefile
index 6d05794e2d37..bcf269751f3e 100644
--- a/x11-fonts/gnu-unifont/Makefile
+++ b/x11-fonts/gnu-unifont/Makefile
@@ -5,24 +5,28 @@
# $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
+PORTVERSION= 20080510
+CATEGORIES= x11-fonts
+MASTER_SITES= http://unifoundry.com/ \
+ http://chirashi-no-ura.net/files/
+DISTNAME= gnu-unifont-2008-05-10.bdf
+EXTRACT_SUFX= .gz
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-extract:
+ ${MKDIR} ${WRKDIR}
+ ${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKDIR}
+ ${GUNZIP_CMD} ${WRKDIR}/${DISTNAME}${EXTRACT_SUFX}
+
do-install:
- ${CHMOD} +x ${FILESDIR}/hex2bdf
- ${CAT} ${WRKDIR}/unifont.hex | ${FILESDIR}/hex2bdf | ${LOCALBASE}/bin/bdftopcf | ${GZIP_CMD} > ${WRKDIR}/unifont.pcf.gz
+ ${LOCALBASE}/bin/bdftopcf ${WRKDIR}/${DISTNAME} | ${GZIP_CMD} > ${WRKDIR}/unifont.pcf.gz
${CP} ${WRKDIR}/unifont.pcf.gz ${LOCALBASE}/lib/X11/fonts/local/unifont.pcf.gz
.include <bsd.port.mk>