blob: 7d9fddb83afe53da63b15fd38bd06115936caa57 (
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
45
46
47
48
49
50
|
# Created by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
# $FreeBSD$
PORTNAME= fireflyttf
PORTVERSION= 1.3.0
PORTREVISION= 7
CATEGORIES= chinese x11-fonts
MASTER_SITES?= LOCAL/chinsan/fonts
DISTNAME?= fireflysung-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Firefly TrueType Font is combine of two arphic sung fonts
CONFLICTS= zh-opendesktop-fonts-*
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
TTF= fireflysung.ttf
PLIST_FILES= ${FONTSDIR_REL}/local.conf-sung
OPTIONS_DEFAULT+=LGJ_FONT
.include "${.CURDIR}/../ttfm/Makefile.ttf"
OPTIONS_DEFINE+=LGJ_FONT
LGJ_FONT_DESC= Patch for Taiwan horn
.if ${PORT_OPTIONS:MLGJ_FONT}
PKGNAMESUFFIX+= -LGJ
MASTER_SITES= LOCAL/chinsan/fonts
DISTNAME= fireflysung-1.3.0p1
.endif
post-extract:
.if ${PORT_OPTIONS:MLGJ_FONT}
@${TAR} -C ${WRKSRC} -zxf ${DISTDIR}/fireflysung-1.3.0p1.tar.gz \
fireflysung-1.3.0p1/fireflysung.ttf
@${MV} ${WRKSRC}/fireflysung-1.3.0p1/fireflysung.ttf ${WRKSRC}
@${RM} -r ${WRKSRC}/fireflysung-1.3.0p1
.else
${TRUE}
.endif
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/${TTF} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${FILESDIR}/local.conf-sung ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>
|