aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/CNS11643-font/Makefile
blob: 23a70f5c8710d90aad14cd3352e6cad4374ad05e (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
# New ports collection makefile for:    CNS11643-font
# Date created:     2009/01/03
# Whom:         chinsan
#
# $FreeBSD$
#

PORTNAME=   CNS11643-font
PORTVERSION=    95.1.3
CATEGORIES= chinese x11-fonts
MASTER_SITES=   LOCAL/chinsan/fonts/ \
        http://www.cns11643.gov.tw/cns11643/images/ttf/
PKGNAMEPREFIX=  zh-
DISTFILES=  TW-Kai-95_1_3.ttf TW-Sung-95_1_3.ttf

MAINTAINER= ports@FreeBSD.org
COMMENT=    A combine of Kai and Sung with CNS11643 TrueType Fonts

DIST_SUBDIR=    ${PORTNAME}
NO_WRKSUBDIR=   yes
NO_BUILD=   yes
RESTRICTED= "No redistribution or commercial use is allowed."

TTF=        TW-Kai-95_1_3.ttf TW-Sung-95_1_3.ttf

do-extract:
    @${MKDIR} ${WRKDIR}

do-install:
    @${MKDIR} ${FONTSDIR}
    ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}/TW-Kai-95_1_3.ttf ${FONTSDIR}
    ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}/TW-Sung-95_1_3.ttf ${FONTSDIR}

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"
.include <bsd.port.post.mk>