svn commit: r381757 - in head/x11-fonts/sourcecodepro-ttf: . files
Baptiste Daroussin
bapt at FreeBSD.org
Fri Mar 20 18:13:13 UTC 2015
Author: bapt
Date: Fri Mar 20 18:13:10 2015
New Revision: 381757
URL: https://svnweb.freebsd.org/changeset/ports/381757
QAT: https://qat.redports.org/buildarchive/r381757/
Log:
Convert to USES=fonts
Modified:
head/x11-fonts/sourcecodepro-ttf/Makefile
head/x11-fonts/sourcecodepro-ttf/files/pkg-message.in
head/x11-fonts/sourcecodepro-ttf/pkg-plist
Modified: head/x11-fonts/sourcecodepro-ttf/Makefile
==============================================================================
--- head/x11-fonts/sourcecodepro-ttf/Makefile Fri Mar 20 18:11:22 2015 (r381756)
+++ head/x11-fonts/sourcecodepro-ttf/Makefile Fri Mar 20 18:13:10 2015 (r381757)
@@ -12,23 +12,15 @@ COMMENT= Set of fonts by Adobe designed
LICENSE= OFL11
-BUILD_DEPENDS= ${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
- ${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
- ${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
-
NO_BUILD= yes
USE_XORG= x11
-USES= zip
+USES= fonts zip
-PKGMESSAGE= ${WRKDIR}/pkg-message
-PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
+FONTNAME= SourceCodePro
SUB_FILES= pkg-message
-SUB_LIST= FONTDIR=${FONTDIR}
-
-FONTDIR= ${PREFIX}/lib/X11/fonts/SourceCodePro
do-install:
- ${MKDIR} ${STAGEDIR}${FONTDIR}/
- cd ${WRKSRC}/TTF/ && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTDIR}/
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}/
+ cd ${WRKSRC}/TTF/ && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}/
.include <bsd.port.mk>
Modified: head/x11-fonts/sourcecodepro-ttf/files/pkg-message.in
==============================================================================
--- head/x11-fonts/sourcecodepro-ttf/files/pkg-message.in Fri Mar 20 18:11:22 2015 (r381756)
+++ head/x11-fonts/sourcecodepro-ttf/files/pkg-message.in Fri Mar 20 18:13:10 2015 (r381757)
@@ -2,4 +2,4 @@ You can start using the fonts by followi
Add the following line to the "Files" section of your x.org configuration file:
- FontPath "%%FONTDIR%%/"
+ FontPath "%%FONTSDIR%%/"
Modified: head/x11-fonts/sourcecodepro-ttf/pkg-plist
==============================================================================
--- head/x11-fonts/sourcecodepro-ttf/pkg-plist Fri Mar 20 18:11:22 2015 (r381756)
+++ head/x11-fonts/sourcecodepro-ttf/pkg-plist Fri Mar 20 18:13:10 2015 (r381757)
@@ -1,8 +1,7 @@
-%%FONTDIR%%/SourceCodePro-Black.ttf
-%%FONTDIR%%/SourceCodePro-Bold.ttf
-%%FONTDIR%%/SourceCodePro-ExtraLight.ttf
-%%FONTDIR%%/SourceCodePro-Light.ttf
-%%FONTDIR%%/SourceCodePro-Medium.ttf
-%%FONTDIR%%/SourceCodePro-Regular.ttf
-%%FONTDIR%%/SourceCodePro-Semibold.ttf
- at fcfontsdir %%FONTDIR%%
+%%FONTSDIR%%/SourceCodePro-Black.ttf
+%%FONTSDIR%%/SourceCodePro-Bold.ttf
+%%FONTSDIR%%/SourceCodePro-ExtraLight.ttf
+%%FONTSDIR%%/SourceCodePro-Light.ttf
+%%FONTSDIR%%/SourceCodePro-Medium.ttf
+%%FONTSDIR%%/SourceCodePro-Regular.ttf
+%%FONTSDIR%%/SourceCodePro-Semibold.ttf
More information about the svn-ports-head
mailing list