1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/x11-fonts/sourcesanspro-ttf/Makefile
2013-10-04 14:17:46 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Pedro Giffuni
# $FreeBSD$
PORTNAME= sourcesanspro-ttf
PORTVERSION= 1.050
CATEGORIES= x11-fonts
MASTER_SITES= SF/sourcesans.adobe
DISTNAME= SourceSansPro_FontsOnly-${PORTVERSION}
MAINTAINER= office@FreeBSD.org
COMMENT= A set of fonts by Adobe designed for user interfaces
LICENSE= OFL
LICENSE_NAME= SIL OPEN FONT LICENSE Version 1.1
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
USE_ZIP= yes
USE_XORG= x11
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_LIST= FONTDIR=${FONTDIR}
FONTNAME= SourceSansPro
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}
cd ${WRKSRC}/ && ${MKFONTDIR_CMD}
do-install:
${MKDIR} ${STAGEDIR}${FONTDIR}
cd ${WRKSRC}/ && \
${INSTALL_DATA} ${INSTDAT} TTF/*.ttf ${STAGEDIR}${FONTDIR}
.include <bsd.port.mk>