aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/font-std/Makefile
blob: 9a1aa4ddc81b88d7425c7df77ae2b09af202ca60 (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
# New ports collection makefile for:    font-std
# Date created:     15 May 2009
# Whom:         hrs
#
# $FreeBSD$
#

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

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

RUN_DEPENDS=    ${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf:${PORTSDIR}/chinese/arphicttf \
        ${LOCALBASE}/share/fonts/TrueType/gbsn00lp.ttf:${PORTSDIR}/chinese/arphicttf \
        ${LOCALBASE}/share/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf \
        ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:${PORTSDIR}/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
PLIST_DIRS= ${FONTSDIR}/std.zh_CN
FONTSDIR=   share/fonts

do-fetch:
    @${DO_NADA}

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

.include <bsd.port.mk>