aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/gnu-unifont-ttf
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-02-25 21:03:26 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-02-25 21:03:26 +0000
commit61e7e3049e35c8723fc170753f2b927aeb355483 (patch)
tree46fa7027196aa9ae758a8a4879359754e3be9e63 /x11-fonts/gnu-unifont-ttf
parentb21c6199120410e0c0a4002d87144278b2b98297 (diff)
downloadports-61e7e3049e35c8723fc170753f2b927aeb355483.tar.gz
ports-61e7e3049e35c8723fc170753f2b927aeb355483.zip
Update to version 20140214
PR: ports/186892 Submitted by: Vitaly Magerya <vmagerya@gmail.com> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=346077
Diffstat (limited to 'x11-fonts/gnu-unifont-ttf')
-rw-r--r--x11-fonts/gnu-unifont-ttf/Makefile31
-rw-r--r--x11-fonts/gnu-unifont-ttf/distinfo4
-rw-r--r--x11-fonts/gnu-unifont-ttf/pkg-plist7
3 files changed, 30 insertions, 12 deletions
diff --git a/x11-fonts/gnu-unifont-ttf/Makefile b/x11-fonts/gnu-unifont-ttf/Makefile
index cc733f958a70..8d10d5973f30 100644
--- a/x11-fonts/gnu-unifont-ttf/Makefile
+++ b/x11-fonts/gnu-unifont-ttf/Makefile
@@ -2,24 +2,35 @@
# $FreeBSD$
PORTNAME= gnu-unifont-ttf
-PORTVERSION= 20131020
+PORTVERSION= 20140214
CATEGORIES= x11-fonts
-MASTER_SITES= http://unifoundry.com/pub/unifont-6.3.${PORTVERSION}/font-builds/
-DISTNAME= unifont-6.3.${PORTVERSION}.ttf
-EXTRACT_SUFX= .gz
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR=unifont/unifont-6.3.${PORTVERSION}
+DISTNAME= unifont-6.3.${PORTVERSION}
MAINTAINER= bsdports@gmail.com
COMMENT= Unicode TrueType Font
-EXTRACT_CMD= ${GZIP_CMD}
-EXTRACT_BEFORE_ARGS= -dc
-EXTRACT_AFTER_ARGS= > ${WRKDIR}/${DISTNAME}
+BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
+ mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
-NO_WRKSUBDIR= yes
NO_BUILD= yes
-PLIST_FILES= lib/X11/fonts/local/unifont.ttf
+FONTSDIR= lib/X11/fonts/unifont
+INSTALLDIR= ${STAGEDIR}${PREFIX}/${FONTSDIR}
+PLIST_SUB= FONTSDIR="${FONTSDIR}"
+WRKSRC_SUBDIR= font/precompiled
do-install:
- ${INSTALL_DATA} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/lib/X11/fonts/local/unifont.ttf
+ @${MKDIR} ${INSTALLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/unifont-6.3.${PORTVERSION}.ttf \
+ ${INSTALLDIR}/unifont.ttf
+ ${INSTALL_DATA} ${WRKSRC}/unifont_csur-6.3.${PORTVERSION}.ttf \
+ ${INSTALLDIR}/unifont_csur.ttf
+ ${INSTALL_DATA} ${WRKSRC}/unifont_upper-6.3.${PORTVERSION}.ttf \
+ ${INSTALLDIR}/unifont_upper.ttf
+ ${INSTALL_DATA} ${WRKSRC}/unifont_upper_csur-6.3.${PORTVERSION}.ttf \
+ ${INSTALLDIR}/unifont_upper_csur.ttf
+ ${LOCALBASE}/bin/mkfontscale ${INSTALLDIR}
+ ${LOCALBASE}/bin/mkfontdir ${INSTALLDIR}
.include <bsd.port.mk>
diff --git a/x11-fonts/gnu-unifont-ttf/distinfo b/x11-fonts/gnu-unifont-ttf/distinfo
index afaf23e8eb1c..99dbdd97606e 100644
--- a/x11-fonts/gnu-unifont-ttf/distinfo
+++ b/x11-fonts/gnu-unifont-ttf/distinfo
@@ -1,2 +1,2 @@
-SHA256 (unifont-6.3.20131020.ttf.gz) = 2ed6b629cb03ae0f58cdf6c3a8538499d20c1618abfcfbcdabf9649067c4d251
-SIZE (unifont-6.3.20131020.ttf.gz) = 3080523
+SHA256 (unifont-6.3.20140214.tar.gz) = 8238b21c105b0af9574c2eac647073513e6c008710a116c7c9e271743cbfd5a7
+SIZE (unifont-6.3.20140214.tar.gz) = 17337004
diff --git a/x11-fonts/gnu-unifont-ttf/pkg-plist b/x11-fonts/gnu-unifont-ttf/pkg-plist
new file mode 100644
index 000000000000..4db84a4cdae3
--- /dev/null
+++ b/x11-fonts/gnu-unifont-ttf/pkg-plist
@@ -0,0 +1,7 @@
+%%FONTSDIR%%/fonts.dir
+%%FONTSDIR%%/fonts.scale
+%%FONTSDIR%%/unifont.ttf
+%%FONTSDIR%%/unifont_csur.ttf
+%%FONTSDIR%%/unifont_upper.ttf
+%%FONTSDIR%%/unifont_upper_csur.ttf
+@dirrm %%FONTSDIR%%