blob: 3a6b8b69e9ee7f3372154a4632f0bf681b20b92d (
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
36
37
38
39
40
41
42
43
44
|
# $FreeBSD$
PORTNAME= Andika
PORTVERSION= 1.004
CATEGORIES= x11-fonts
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=${MEDIA_ID}&filename=/
MAINTAINER= gabor@FreeBSD.org
COMMENT= Andika TrueType fonts
LICENSE= OFL11
USES= zip
XORG_CAT= font
FONTLIBPATH= lib/X11/fonts
FONTROOTDIR= ${PREFIX}/${FONTLIBPATH}
INSTALLS_TTF= yes
MEDIA_ID= ${PORTNAME}-${PORTVERSION}.zip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S,.orig,,:S,_,-,}
PLIST_FILES= ${FONTLIBPATH}/${FONTDIR}/Andika-R.ttf
SUB_LIST= "FONTPATH=${FONTROOTDIR}/${FONTDIR}"
SUB_FILES= pkg-message
DOCSLIST= FONTLOG.txt OFL-FAQ.txt README.txt
PORTDOCS= ${DOCSLIST:C,^.*/,,}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-configure:
${DO_NADA}
do-install:
${MKDIR} ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|