c2570e0d56
This font is sans-serif typeface family based on Lato. WWW: https://code.google.com/p/chromium/issues/detail?id=168879
42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= crosextrafonts
|
|
PORTVERSION= 20130214
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= http://gsdview.appspot.com/chromeos-localmirror/distfiles/
|
|
PKGNAMESUFFIX= -caladea
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
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
|
|
|
|
USE_XORG= x11
|
|
|
|
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
|
|
|
|
SUB_FILES= pkg-message
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_LIST= FONTDIR=${FONTDIR}
|
|
|
|
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}
|
|
|
|
.include <bsd.port.mk>
|