aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/sourcesanspro-ttf/Makefile
blob: 06d82567e6b150a3a10b2aa3a902133c8c4071d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Pedro Giffuni
# $FreeBSD$

PORTNAME=   sourcesanspro-ttf
PORTVERSION=    1.050
PORTREVISION=   1
CATEGORIES= x11-fonts
MASTER_SITES=   SF/sourcesans.adobe
DISTNAME=   SourceSansPro_FontsOnly-${PORTVERSION}

MAINTAINER= office@FreeBSD.org
COMMENT=    Set of fonts by Adobe designed for user interfaces

LICENSE=    OFL11

BUILD_DEPENDS=  fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
        mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
        mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale

NO_BUILD=   yes
USES=       zip
USE_XORG=   x11

PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_SUB=  FONTDIR=${FONTDIR}
SUB_FILES=  pkg-message
SUB_LIST=   FONTDIR=${FONTDIR}

FONTDIR=    lib/X11/fonts/SourceSansPro

do-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}
    cd ${WRKSRC}/ && ${INSTALL_DATA} TTF/*.ttf ${STAGEDIR}${PREFIX}/${FONTDIR}

.include <bsd.port.mk>