svn commit: r360536 - head/x11-fonts/tmu
Vanilla I. Shu
vanilla at FreeBSD.org
Fri Jul 4 03:42:08 UTC 2014
Author: vanilla
Date: Fri Jul 4 03:42:07 2014
New Revision: 360536
URL: http://svnweb.freebsd.org/changeset/ports/360536
QAT: https://qat.redports.org/buildarchive/r360536/
Log:
Stagify.
Modified:
head/x11-fonts/tmu/Makefile
head/x11-fonts/tmu/pkg-plist
Modified: head/x11-fonts/tmu/Makefile
==============================================================================
--- head/x11-fonts/tmu/Makefile Fri Jul 4 03:01:58 2014 (r360535)
+++ head/x11-fonts/tmu/Makefile Fri Jul 4 03:42:07 2014 (r360536)
@@ -14,26 +14,17 @@ BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-USE_BZIP2= yes
+USES= tar:bzip2
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
FONTNAME= ${PORTNAME}
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
+NO_BUILD= yes
-MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
-MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
-FCCACHE_CMD= ${LOCALBASE}/bin/fc-cache -f -v
-
-NO_STAGE= yes
post-extract:
@cd ${WRKSRC}/&&${MV} TibMachUni-${DISTVERSION}.ttf tmu.ttf
-do-build:
- @cd ${WRKSRC}/ && ${MKFONTSCL_CMD} && ${MKFONTDIR_CMD}
-
do-install:
- @${INSTALL} -d ${FONTSDIR}/
- @${INSTALL_DATA} ${WRKSRC}/[ft]* ${FONTSDIR}/
- @${ECHO_MSG} "===> Running fc-cache"
- -${FCCACHE_CMD} ${FONTSDIR}
+ @${INSTALL} -d ${STAGEDIR}${FONTSDIR}/
+ @${INSTALL_DATA} ${WRKSRC}/tmu.ttf ${STAGEDIR}${FONTSDIR}/
.include <bsd.port.mk>
Modified: head/x11-fonts/tmu/pkg-plist
==============================================================================
--- head/x11-fonts/tmu/pkg-plist Fri Jul 4 03:01:58 2014 (r360535)
+++ head/x11-fonts/tmu/pkg-plist Fri Jul 4 03:42:07 2014 (r360536)
@@ -1,7 +1,2 @@
-%%FONTSDIR%%/fonts.dir
-%%FONTSDIR%%/fonts.scale
%%FONTSDIR%%/tmu.ttf
- at exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
- at unexec rm -f %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || true
- at unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
- at dirrm %%FONTSDIR%%
+ at fcfontsdir %%FONTSDIR%%
More information about the svn-ports-all
mailing list