aboutsummaryrefslogtreecommitdiff
path: root/chinese/font-std/Makefile
blob: cab85bff019ff27eaf9775057af8ce3c97c42971 (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
# Created by: hrs

PORTNAME=	font-std
PORTVERSION=	0.0.20090602
CATEGORIES=	chinese x11-fonts
MASTER_SITES=	# empty
DISTFILES=	# empty
EXTRACT_ONLY=	# empty

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Chinese Standard Fonts

RUN_DEPENDS=	${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf:chinese/arphicttf \
		${LOCALBASE}/share/fonts/TrueType/gbsn00lp.ttf:chinese/arphicttf \
		${LOCALBASE}/share/fonts/TrueType/bsmi00lp.ttf:chinese/arphicttf \
		${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:chinese/arphicttf

NO_BUILD=	yes
PLIST_FILES=	${FONTSDIR}/std.zh_CN/STHeiti-Regular \
		${FONTSDIR}/std.zh_CN/STSong-Light \
		${FONTSDIR}/std.zh_CN/MSung-Light \
		${FONTSDIR}/std.zh_CN/MHei-Medium
FONTSDIR=	share/fonts

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}/std.zh_CN
	${LN} -sf ${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}/std.zh_CN/STHeiti-Regular
	${LN} -sf ${LOCALBASE}/share/fonts/TrueType/gbsn00lp.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}/std.zh_CN/STSong-Light
	${LN} -sf ${LOCALBASE}/share/fonts/TrueType/bsmi00lp.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}/std.zh_CN/MSung-Light
	${LN} -sf ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf ${STAGEDIR}${PREFIX}/${FONTSDIR}/std.zh_CN/MHei-Medium

.include <bsd.port.mk>