blob: c74e4b693f271d8bee3bad291afdd2ff279347ff (
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
|
# Created by: Masaki TAGAWA <masaki@club.kyutech.ac.jp>
# $FreeBSD$
PORTNAME= sourcecodepro-ttf
PORTVERSION= 1.017
CATEGORIES= x11-fonts
MASTER_SITES= SF/sourcecodepro.adobe
DISTNAME= SourceCodePro_FontsOnly-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Set of fonts by Adobe designed for coders
LICENSE= OFL11
BUILD_DEPENDS= ${LOCALBASE}/bin/mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
${LOCALBASE}/bin/mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
${LOCALBASE}/bin/fc-cache:${PORTSDIR}/x11-fonts/fontconfig
NO_BUILD= yes
USE_XORG= x11
USES= zip
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
SUB_LIST= FONTDIR=${FONTDIR}
FONTDIR= ${PREFIX}/lib/X11/fonts/SourceCodePro
do-install:
${MKDIR} ${STAGEDIR}${FONTDIR}/
cd ${WRKSRC}/TTF/ && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTDIR}/
.include <bsd.port.mk>
|