aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-05-16 18:46:00 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-05-16 18:46:00 +0000
commitdbd9e5be7d6023d59797b45c72126ab0cf3a001d (patch)
treed2a0121d78a3ed9d1cf8bd93cc1fadc633684792 /x11-fonts
parent4d4e7a9a9be778a36c03b2005f78304549c81fdf (diff)
downloadports-dbd9e5be7d6023d59797b45c72126ab0cf3a001d.tar.gz
ports-dbd9e5be7d6023d59797b45c72126ab0cf3a001d.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/dina/Makefile37
-rw-r--r--x11-fonts/dina/distinfo4
-rw-r--r--x11-fonts/dina/pkg-plist27
3 files changed, 33 insertions, 35 deletions
diff --git a/x11-fonts/dina/Makefile b/x11-fonts/dina/Makefile
index e3733ee9587e..f475f43cd7cd 100644
--- a/x11-fonts/dina/Makefile
+++ b/x11-fonts/dina/Makefile
@@ -1,35 +1,34 @@
# $FreeBSD$
PORTNAME= dina
-PORTVERSION= 2.89
+PORTVERSION= 2.92
CATEGORIES= x11-fonts
MASTER_SITES= LOCAL/rakuco
MAINTAINER= rakuco@FreeBSD.org
COMMENT= A monospace bitmap font, primarily aimed at programmers
-# IANAL, but the license looks close enough to a standard BSD license that
-# auto-accept and all the other permissions look like reasonable defaults here.
-LICENSE= custom
-LICENSE_NAME= Custom License
-LICENSE_FILE= ${WRKSRC}/LICENSE
-LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
+LICENSE= MIT
-BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
- mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
+BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
FONTDIR= lib/X11/fonts/${PORTNAME}
-NO_BUILD= yes
-PLIST_SUB+= FONTDIR=${FONTDIR}
+PLIST_SUB= FONTDIR=${FONTDIR}
-NO_STAGE= yes
-do-install:
- @${MKDIR} ${PREFIX}/${FONTDIR}
- @${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${PREFIX}/${FONTDIR}
+BDFLIST= Dina_i400-10.bdf Dina_i400-8.bdf Dina_i400-9.bdf \
+ Dina_i700-10.bdf Dina_i700-8.bdf Dina_i700-9.bdf \
+ Dina_r400-10.bdf Dina_r400-6.bdf Dina_r400-8.bdf \
+ Dina_r400-9.bdf Dina_r700-10.bdf Dina_r700-8.bdf \
+ Dina_r700-9.bdf
+
+do-build:
+.for BDF in ${BDFLIST}
+ cd ${WRKSRC}/BDF && bdftopcf -t -o ${BDF:S/.bdf/.pcf/} ${BDF}
+.endfor
+ ${GZIP_CMD} ${WRKSRC}/BDF/*.pcf
-post-install:
- @cd ${PREFIX}/${FONTDIR} && mkfontdir
- @${CP} ${PREFIX}/${FONTDIR}/fonts.dir ${PREFIX}/${FONTDIR}/fonts.scale
- @command fc-cache -f -v ${PREFIX}/${FONTDIR}
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}
+ ${INSTALL_DATA} ${WRKSRC}/BDF/*.pcf.gz ${STAGEDIR}${PREFIX}/${FONTDIR}
.include <bsd.port.mk>
diff --git a/x11-fonts/dina/distinfo b/x11-fonts/dina/distinfo
index 8d70da1ac849..f8bb5b609b33 100644
--- a/x11-fonts/dina/distinfo
+++ b/x11-fonts/dina/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dina-2.89.tar.gz) = eaa67fe2a8fc69944bd3010cbf6d946177f0e2204dcb0ce70ebd0637d816f43a
-SIZE (dina-2.89.tar.gz) = 52559
+SHA256 (dina-2.92.tar.gz) = 8a40d6bc6e9dcc49b660f849084d40399cac8124a7314569dfaea4359d10f9a4
+SIZE (dina-2.92.tar.gz) = 69175
diff --git a/x11-fonts/dina/pkg-plist b/x11-fonts/dina/pkg-plist
index a5103a655d49..f3ebfa4e3ae8 100644
--- a/x11-fonts/dina/pkg-plist
+++ b/x11-fonts/dina/pkg-plist
@@ -1,15 +1,14 @@
-%%FONTDIR%%/fonts.dir
-%%FONTDIR%%/fonts.scale
-%%FONTDIR%%/DinaBold10.pcf.gz
-%%FONTDIR%%/DinaBold8.pcf.gz
-%%FONTDIR%%/DinaBold9.pcf.gz
-%%FONTDIR%%/DinaBoldItalic10.pcf.gz
-%%FONTDIR%%/DinaBoldItalic8.pcf.gz
-%%FONTDIR%%/DinaBoldItalic9.pcf.gz
-%%FONTDIR%%/DinaItalic10.pcf.gz
-%%FONTDIR%%/DinaItalic8.pcf.gz
-%%FONTDIR%%/DinaItalic9.pcf.gz
-%%FONTDIR%%/DinaMedium10.pcf.gz
-%%FONTDIR%%/DinaMedium8.pcf.gz
-%%FONTDIR%%/DinaMedium9.pcf.gz
+%%FONTDIR%%/Dina_i400-10.pcf.gz
+%%FONTDIR%%/Dina_i400-8.pcf.gz
+%%FONTDIR%%/Dina_i400-9.pcf.gz
+%%FONTDIR%%/Dina_i700-10.pcf.gz
+%%FONTDIR%%/Dina_i700-8.pcf.gz
+%%FONTDIR%%/Dina_i700-9.pcf.gz
+%%FONTDIR%%/Dina_r400-10.pcf.gz
+%%FONTDIR%%/Dina_r400-6.pcf.gz
+%%FONTDIR%%/Dina_r400-8.pcf.gz
+%%FONTDIR%%/Dina_r400-9.pcf.gz
+%%FONTDIR%%/Dina_r700-10.pcf.gz
+%%FONTDIR%%/Dina_r700-8.pcf.gz
+%%FONTDIR%%/Dina_r700-9.pcf.gz
@dirrm %%FONTDIR%%