svn commit: r360621 - head/x11-fonts/sourcecodepro-ttf
Vanilla I. Shu
vanilla at FreeBSD.org
Fri Jul 4 14:15:58 UTC 2014
Author: vanilla
Date: Fri Jul 4 14:15:57 2014
New Revision: 360621
URL: http://svnweb.freebsd.org/changeset/ports/360621
QAT: https://qat.redports.org/buildarchive/r360621/
Log:
Stagify, use @fcfontsdir on pkg-plist.
Modified:
head/x11-fonts/sourcecodepro-ttf/Makefile
head/x11-fonts/sourcecodepro-ttf/pkg-plist
Modified: head/x11-fonts/sourcecodepro-ttf/Makefile
==============================================================================
--- head/x11-fonts/sourcecodepro-ttf/Makefile Fri Jul 4 14:14:01 2014 (r360620)
+++ head/x11-fonts/sourcecodepro-ttf/Makefile Fri Jul 4 14:15:57 2014 (r360621)
@@ -13,7 +13,8 @@ COMMENT= A set of fonts by Adobe designe
LICENSE= OFL11
BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
- mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
+ mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+ fc-cache:${PORTSDIR}/x11-fonts/fontconfig
USES= zip
USE_XORG= x11
@@ -26,24 +27,11 @@ SUB_LIST= FONTDIR=${FONTDIR}
FONTNAME= SourceCodePro
FONTDIR= ${PREFIX}/lib/X11/fonts/${FONTNAME}
-INSTDAT= fonts.dir fonts.scale
-
-MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
-MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
-
-NO_STAGE= yes
-do-build:
- cd ${WRKSRC}/TTF/ && ${MKFONTSCL_CMD}
- cd ${WRKSRC}/TTF/ && ${MKFONTDIR_CMD}
+NO_BUILD= yes
do-install:
- ${MKDIR} ${FONTDIR}
+ ${MKDIR} ${STAGEDIR}${FONTDIR}
cd ${WRKSRC}/TTF/ && \
- ${INSTALL_DATA} ${INSTDAT} *.ttf ${FONTDIR}
-
-post-install:
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
+ ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTDIR}
.include <bsd.port.mk>
Modified: head/x11-fonts/sourcecodepro-ttf/pkg-plist
==============================================================================
--- head/x11-fonts/sourcecodepro-ttf/pkg-plist Fri Jul 4 14:14:01 2014 (r360620)
+++ head/x11-fonts/sourcecodepro-ttf/pkg-plist Fri Jul 4 14:15:57 2014 (r360621)
@@ -5,7 +5,4 @@
%%FONTDIR%%/SourceCodePro-Medium.ttf
%%FONTDIR%%/SourceCodePro-Regular.ttf
%%FONTDIR%%/SourceCodePro-Semibold.ttf
-%%FONTDIR%%/fonts.dir
-%%FONTDIR%%/fonts.scale
- at unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
- at dirrm %%FONTDIR%%
+ at fcfontsdir %%FONTDIR%%
More information about the svn-ports-all
mailing list