aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-21 02:11:22 +0800
committerbapt <bapt@FreeBSD.org>2015-03-21 02:11:22 +0800
commit9633a7472965af2f572e9479479a61e9528c894d (patch)
tree933cbfd406f11caf8ccfdd38e37acd22e16cdec0 /x11-fonts
parent576fb1a2955b41e1316c76115f4c721b98d57c26 (diff)
downloadfreebsd-ports-gnome-9633a7472965af2f572e9479479a61e9528c894d.tar.gz
freebsd-ports-gnome-9633a7472965af2f572e9479479a61e9528c894d.tar.zst
freebsd-ports-gnome-9633a7472965af2f572e9479479a61e9528c894d.zip
Convert to USES=fonts
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/proggy_fonts-ttf/Makefile13
-rw-r--r--x11-fonts/proggy_fonts-ttf/pkg-plist19
2 files changed, 13 insertions, 19 deletions
diff --git a/x11-fonts/proggy_fonts-ttf/Makefile b/x11-fonts/proggy_fonts-ttf/Makefile
index ce56a8d0a7ba..1b80c98c2883 100644
--- a/x11-fonts/proggy_fonts-ttf/Makefile
+++ b/x11-fonts/proggy_fonts-ttf/Makefile
@@ -2,6 +2,7 @@
PORTNAME= proggy_fonts-ttf
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://www.proggyfonts.com/download/
DISTFILES= ProggyClean.ttf.zip ProggySquare.ttf.zip \
@@ -15,18 +16,12 @@ COMMENT= The perfect monospaced bitmap programming fonts, TTF version
LICENSE= MIT
-BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
- mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
- fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-
-USES= zip
+USES= fonts zip
NO_WRKSUBDIR= yes
-FONTDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
NO_BUILD= yes
-PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
do-install:
- @${MKDIR} ${STAGEDIR}${FONTDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTDIR}
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>
diff --git a/x11-fonts/proggy_fonts-ttf/pkg-plist b/x11-fonts/proggy_fonts-ttf/pkg-plist
index d26edabdd314..db5a0c3ff1ae 100644
--- a/x11-fonts/proggy_fonts-ttf/pkg-plist
+++ b/x11-fonts/proggy_fonts-ttf/pkg-plist
@@ -1,10 +1,9 @@
-%%FONTDIR%%/ProggyClean.ttf
-%%FONTDIR%%/ProggyCleanCE.ttf
-%%FONTDIR%%/ProggyCleanSZ.ttf
-%%FONTDIR%%/ProggyCleanSZBP.ttf
-%%FONTDIR%%/ProggySmall.ttf
-%%FONTDIR%%/ProggySquare.ttf
-%%FONTDIR%%/ProggySquareSZ.ttf
-%%FONTDIR%%/ProggyTiny.ttf
-%%FONTDIR%%/ProggyTinySZ.ttf
-@fcfontsdir %%FONTDIR%%
+%%FONTSDIR%%/ProggyClean.ttf
+%%FONTSDIR%%/ProggyCleanCE.ttf
+%%FONTSDIR%%/ProggyCleanSZ.ttf
+%%FONTSDIR%%/ProggyCleanSZBP.ttf
+%%FONTSDIR%%/ProggySmall.ttf
+%%FONTSDIR%%/ProggySquare.ttf
+%%FONTSDIR%%/ProggySquareSZ.ttf
+%%FONTSDIR%%/ProggyTiny.ttf
+%%FONTSDIR%%/ProggyTinySZ.ttf