diff options
Diffstat (limited to 'x11-fonts/crosextrafonts-carlito-ttf/Makefile')
-rw-r--r-- | x11-fonts/crosextrafonts-carlito-ttf/Makefile | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/x11-fonts/crosextrafonts-carlito-ttf/Makefile b/x11-fonts/crosextrafonts-carlito-ttf/Makefile index f00af9729a02..b094988e5d5c 100644 --- a/x11-fonts/crosextrafonts-carlito-ttf/Makefile +++ b/x11-fonts/crosextrafonts-carlito-ttf/Makefile @@ -2,6 +2,7 @@ PORTNAME= crosextrafonts-carlito PORTVERSION= 20130920 +PORTREVISION= 1 CATEGORIES= x11-fonts MASTER_SITES= http://gsdview.appspot.com/chromeos-localmirror/distfiles/ @@ -10,32 +11,17 @@ COMMENT= Font created by Google for ChromeOS to replace MS Calibri LICENSE= OFL11 -BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ - mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale - +USES= fonts USE_XORG= x11 -PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}" - SUB_FILES= pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message -SUB_LIST= FONTDIR=${FONTDIR} FONTNAME= Carlito -FONTDIR= ${PREFIX}/lib/X11/fonts/${FONTNAME} -INSTDAT= fonts.dir fonts.scale - -MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale -MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir - -do-build: - cd ${WRKSRC} && ${MKFONTSCL_CMD} - ${REINPLACE_CMD} -e 's|-misc-|-google-|' ${WRKSRC}/fonts.scale - cd ${WRKSRC} && ${MKFONTDIR_CMD} +NO_BUILD= yes do-install: - ${MKDIR} ${STAGEDIR}${FONTDIR} + ${MKDIR} ${STAGEDIR}${FONTSDIR} cd ${WRKSRC} && \ - ${INSTALL_DATA} ${INSTDAT} *.ttf ${STAGEDIR}${FONTDIR} + ${INSTALL_DATA} ${INSTDAT} *.ttf ${STAGEDIR}${FONTSDIR} .include <bsd.port.mk> |