diff options
author | antoine <antoine@FreeBSD.org> | 2014-03-09 00:17:26 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-03-09 00:17:26 +0800 |
commit | cf339fd7006bbf5fad6ec5f027ed2b1f32d7ded8 (patch) | |
tree | ba9a314294ab141b6374ace79c835d940bcb1ef9 /x11-fonts | |
parent | ab1a1f0c9da2d70fd457a90c5a109d01c25ebb40 (diff) | |
download | freebsd-ports-gnome-cf339fd7006bbf5fad6ec5f027ed2b1f32d7ded8.tar.gz freebsd-ports-gnome-cf339fd7006bbf5fad6ec5f027ed2b1f32d7ded8.tar.zst freebsd-ports-gnome-cf339fd7006bbf5fad6ec5f027ed2b1f32d7ded8.zip |
Unbreak
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/code2001/Makefile | 12 |
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> |