aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/proggy_fonts-ttf/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 18:11:22 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 18:11:22 +0000
commit419107e48ceb155759ba532aa72e10897f07f052 (patch)
tree933cbfd406f11caf8ccfdd38e37acd22e16cdec0 /x11-fonts/proggy_fonts-ttf/Makefile
parentb30ecbb867955064f299dd1f114d7efacd02ff11 (diff)
downloadports-419107e48ceb155759ba532aa72e10897f07f052.tar.gz
ports-419107e48ceb155759ba532aa72e10897f07f052.zip
Convert to USES=fonts
Notes
Notes: svn path=/head/; revision=381756
Diffstat (limited to 'x11-fonts/proggy_fonts-ttf/Makefile')
-rw-r--r--x11-fonts/proggy_fonts-ttf/Makefile13
1 files changed, 4 insertions, 9 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>