aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/freefonts
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-20 01:52:53 +0800
committerbapt <bapt@FreeBSD.org>2015-03-20 01:52:53 +0800
commit9d1d692ae8774a4fb455f08c293b881732db4541 (patch)
tree0b3fd1ac0b529a67f7332448b3b06e3009dfc3b8 /x11-fonts/freefonts
parenteee4a603e54f60a2e1dbccb4a77289d2eb8188c3 (diff)
downloadfreebsd-ports-gnome-9d1d692ae8774a4fb455f08c293b881732db4541.tar.gz
freebsd-ports-gnome-9d1d692ae8774a4fb455f08c293b881732db4541.tar.zst
freebsd-ports-gnome-9d1d692ae8774a4fb455f08c293b881732db4541.zip
Convert to USES=fonts
Diffstat (limited to 'x11-fonts/freefonts')
-rw-r--r--x11-fonts/freefonts/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11-fonts/freefonts/Makefile b/x11-fonts/freefonts/Makefile
index 2f0598f36b7e..30846f2cee72 100644
--- a/x11-fonts/freefonts/Makefile
+++ b/x11-fonts/freefonts/Makefile
@@ -3,7 +3,7 @@
PORTNAME= freefonts
PORTVERSION= 0.10
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11-fonts
MASTER_SITES= http://download.gimp.org/pub/%SUBDIR%/ \
ftp://ftp.sunet.se/pub/gnu/%SUBDIR%/ \
@@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= gimp/fonts
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Collection of ATM fonts (not all free) from the CICA archives
+USES= fonts
+
BUILD_DEPENDS= type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
# Some of the fonts are shareware. Some are freeware. Permission must
@@ -26,15 +28,14 @@ RESTRICTED= License prohibits redistribution; see individual .license files
NO_WRKSUBDIR= yes
-FONTDIR?= ${PREFIX}/lib/X11/fonts/freefont
-PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
+FONTSDIR?= ${PREFIX}/lib/X11/fonts/freefont
do-build:
@cd ${WRKSRC}/freefont && ${LOCALBASE}/bin/type1inst -silent -quiet -nolog >/dev/null 2>&1
@${RM} ${WRKSRC}/freefont/Fontmap.bak
do-install:
- @${MKDIR} ${STAGEDIR}${FONTDIR}
- ${INSTALL_DATA} ${WRKSRC}/freefont/* ${STAGEDIR}${FONTDIR}
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/freefont/* ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>