summaryrefslogtreecommitdiff
path: root/chinese/taipeisanstc/Makefile
blob: d590c83568cdf1c76b179c225e30f3d813ffadbe (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
PORTNAME=	taipeisanstc
DISTVERSION=	Beta
CATEGORIES=	chinese x11-fonts
MASTER_SITES=	https://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/taipeisanstc/

MAINTAINER=	lwhsu@FreeBSD.org
COMMENT=	Taipei Sans TC

LICENSE=	OFL11

USES=		fonts

TYPES=	Bold Light Regular
.for type in ${TYPES}
DISTFILES+=	TaipeiSansTC${DISTVERSION}-${type}.ttf
PLIST_FILES+=	${FONTSDIR}/TaipeiSansTC${DISTVERSION}-${type}.ttf
.endfor

EXTRACT_CMD=	${CP}
EXTRACT_BEFORE_ARGS=	-a
EXTRACT_AFTER_ARGS=	.

NO_ARCH=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

do-install:
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
.for type in ${TYPES}
	${INSTALL_DATA} ${WRKSRC}/TaipeiSansTC${DISTVERSION}-${type}.ttf ${STAGEDIR}${FONTSDIR}
.endfor

.include <bsd.port.mk>