blob: fecdb5eeadfe966d00b79a266af6e0a1a38a4d9e (
plain)
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
45
46
47
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= dejavu
PORTVERSION= 2.37
DISTVERSIONPREFIX= fonts-ttf-
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/dejavu-fonts/dejavu-fonts/releases/download/version_${PORTVERSION:R}_${PORTVERSION:E}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Bitstream Vera Fonts clone with a wider range of characters
LICENSE= AMS AREV BITSTREAM
LICENSE_COMB= multi
LICENSE_NAME_AMS= AMSFonts Copyright version 2.2
LICENSE_NAME_AREV= Arev Fonts Copyright
LICENSE_NAME_BITSTREAM= Bitstream Vera Fonts Copyright
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS_AMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_AREV= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_BITSTREAM=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
OPTIONS_DEFINE= DOCS LINKS
OPTIONS_DEFAULT=LINKS
OPTIONS_SUB= yes
LINKS_DESC= Install links of configuration files in conf.d
NO_ARCH= yes
NO_BUILD= yes
USES= fonts tar:bzip2
PLIST_SUB= FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS}
PORTDOCS= README.md langcover.txt status.txt unicover.txt
SUB_FILES= pkg-message
FCDIR?= etc/fonts/conf.avail
FCDIR_LINKS= ${FCDIR:S|conf.avail|conf.d|}
do-install:
cd ${STAGEDIR}${PREFIX}/ && ${MKDIR} ${FCDIR}/ ${FCDIR_LINKS}/ ${STAGEDIR}${FONTSDIR}/
${INSTALL_DATA} ${WRKSRC}/fontconfig/*.conf ${STAGEDIR}${PREFIX}/${FCDIR}/
cd ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ && ${LN} -fs ../conf.avail/*dejavu*.conf .
${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${STAGEDIR}${FONTSDIR}/
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|