summaryrefslogtreecommitdiff
path: root/x11-fonts/crosextrafonts-caladea-ttf/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
commita5da770e67afce95b829c38c5d5330fe69f7822c (patch)
treeb9556c9042a9d20d7c71f49869f39f95afc00052 /x11-fonts/crosextrafonts-caladea-ttf/Makefile
parenttextproc/aspell: add CPE information (diff)
Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1)) Large cleanup on lots of font ports All fonts are now properly dynamically generating fonts.dir and fonts.scale instead of sometime overwriting existing ones) All fonts are generating fontconfig's cache Improve consistency in fonts ports
Notes
Notes: svn path=/head/; revision=381876
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>