Date: Fri, 4 Jul 2014 15:00:34 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360632 - head/x11-fonts/kaputa Message-ID: <201407041500.s64F0Yxq004070@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Fri Jul 4 15:00:33 2014 New Revision: 360632 URL: http://svnweb.freebsd.org/changeset/ports/360632 QAT: https://qat.redports.org/buildarchive/r360632/ Log: 1: Stagify. 2: use @fcfontsdir. Modified: head/x11-fonts/kaputa/Makefile head/x11-fonts/kaputa/pkg-plist Modified: head/x11-fonts/kaputa/Makefile ============================================================================== --- head/x11-fonts/kaputa/Makefile Fri Jul 4 14:56:54 2014 (r360631) +++ head/x11-fonts/kaputa/Makefile Fri Jul 4 15:00:33 2014 (r360632) @@ -19,12 +19,8 @@ USES= zip 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: @${MKDIR} ${WRKSRC}/ @${MV} ${WRKDIR}/kaputaunicode.ttf ${WRKSRC}/kaputa.ttf @@ -33,9 +29,7 @@ do-build: @cd ${WRKSRC}/ && ${MKFONTSCL_CMD} && ${MKFONTDIR_CMD} do-install: - @${INSTALL} -d ${FONTSDIR}/ - @${INSTALL_DATA} ${WRKSRC}/* ${FONTSDIR}/ - @${ECHO_MSG} "===> Running fc-cache" - -${FCCACHE_CMD} ${FONTSDIR} + @${INSTALL} -d ${STAGEDIR}${FONTSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${FONTSDIR}/ .include <bsd.port.mk> Modified: head/x11-fonts/kaputa/pkg-plist ============================================================================== --- head/x11-fonts/kaputa/pkg-plist Fri Jul 4 14:56:54 2014 (r360631) +++ head/x11-fonts/kaputa/pkg-plist Fri Jul 4 15:00:33 2014 (r360632) @@ -1,7 +1,2 @@ -%%FONTSDIR%%/fonts.dir -%%FONTSDIR%%/fonts.scale %%FONTSDIR%%/kaputa.ttf -@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true -@unexec rm -f %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || true -@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true -@dirrm %%FONTSDIR%% +@fcfontsdir %%FONTSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407041500.s64F0Yxq004070>