aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/crosextrafonts-caladea-ttf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/crosextrafonts-caladea-ttf/Makefile')
-rw-r--r--x11-fonts/crosextrafonts-caladea-ttf/Makefile25
1 files changed, 5 insertions, 20 deletions
diff --git a/x11-fonts/crosextrafonts-caladea-ttf/Makefile b/x11-fonts/crosextrafonts-caladea-ttf/Makefile
index 2f55eba71ab6..a07c63870988 100644
--- a/x11-fonts/crosextrafonts-caladea-ttf/Makefile
+++ b/x11-fonts/crosextrafonts-caladea-ttf/Makefile
@@ -2,6 +2,7 @@
PORTNAME= crosextrafonts
PORTVERSION= 20130214
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://gsdview.appspot.com/chromeos-localmirror/distfiles/
PKGNAMESUFFIX= -caladea
@@ -11,32 +12,16 @@ COMMENT= Font created by Google for ChromeOS to replace MS Cambria
LICENSE= APACHE20
-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}
+NO_BUILD= yes
FONTNAME= Caladea
-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}
do-install:
- ${MKDIR} ${STAGEDIR}${FONTDIR}
- cd ${WRKSRC} && \
- ${INSTALL_DATA} ${INSTDAT} *.ttf ${STAGEDIR}${FONTDIR}
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>