Index: head/x11-fonts/sourcecodepro-ttf/Makefile =================================================================== --- head/x11-fonts/sourcecodepro-ttf/Makefile (revision 381756) +++ head/x11-fonts/sourcecodepro-ttf/Makefile (revision 381757) @@ -1,34 +1,26 @@ # Created by: Masaki TAGAWA # $FreeBSD$ PORTNAME= sourcecodepro-ttf PORTVERSION= 1.017 CATEGORIES= x11-fonts MASTER_SITES= SF/sourcecodepro.adobe DISTNAME= SourceCodePro_FontsOnly-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Set of fonts by Adobe designed for coders 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 Index: head/x11-fonts/sourcecodepro-ttf/files/pkg-message.in =================================================================== --- head/x11-fonts/sourcecodepro-ttf/files/pkg-message.in (revision 381756) +++ head/x11-fonts/sourcecodepro-ttf/files/pkg-message.in (revision 381757) @@ -1,5 +1,5 @@ You can start using the fonts by following these instructions: Add the following line to the "Files" section of your x.org configuration file: - FontPath "%%FONTDIR%%/" + FontPath "%%FONTSDIR%%/" Index: head/x11-fonts/sourcecodepro-ttf/pkg-plist =================================================================== --- head/x11-fonts/sourcecodepro-ttf/pkg-plist (revision 381756) +++ head/x11-fonts/sourcecodepro-ttf/pkg-plist (revision 381757) @@ -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 -@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