aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-03-09 00:17:26 +0800
committerantoine <antoine@FreeBSD.org>2014-03-09 00:17:26 +0800
commitcf339fd7006bbf5fad6ec5f027ed2b1f32d7ded8 (patch)
treeba9a314294ab141b6374ace79c835d940bcb1ef9
parentab1a1f0c9da2d70fd457a90c5a109d01c25ebb40 (diff)
downloadfreebsd-ports-gnome-cf339fd7006bbf5fad6ec5f027ed2b1f32d7ded8.tar.gz
freebsd-ports-gnome-cf339fd7006bbf5fad6ec5f027ed2b1f32d7ded8.tar.zst
freebsd-ports-gnome-cf339fd7006bbf5fad6ec5f027ed2b1f32d7ded8.zip
Unbreak
-rw-r--r--x11-fonts/code2001/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/x11-fonts/code2001/Makefile b/x11-fonts/code2001/Makefile
index 120c798dfc3b..60b259315b57 100644
--- a/x11-fonts/code2001/Makefile
+++ b/x11-fonts/code2001/Makefile
@@ -15,7 +15,7 @@ BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-USE_ZIP= yes
+USES= zip
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
FONTNAME= ${PORTNAME}
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
@@ -25,16 +25,14 @@ MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
FCCACHE_CMD= ${LOCALBASE}/bin/fc-cache -f -v
post-extract:
- @${MKDIR} ${STAGEDIR}${WRKSRC}/
+ @${MKDIR} ${WRKSRC}
@${MV} ${WRKDIR}/CODE2001.TTF ${WRKSRC}/${FONTNAME}.ttf
do-build:
- @cd ${WRKSRC}/ && ${MKFONTSCL_CMD} && ${MKFONTDIR_CMD}
+ @cd ${WRKSRC} && ${MKFONTSCL_CMD} && ${MKFONTDIR_CMD}
do-install:
- @${INSTALL} -d ${STAGEDIR}${FONTSDIR}/
- @${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${FONTSDIR}/
- @${ECHO_MSG} "===> Running fc-cache"
- -${FCCACHE_CMD} ${STAGEDIR}${FONTSDIR}
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>