aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/CNS11643-font/Makefile
blob: ab77f3b0d8fe167028dbd4b3c8b446bf653e15bc (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
# Created by: chinsan
# $FreeBSD$

PORTNAME=   CNS11643-font
PORTVERSION=    98.1
PORTREVISION=   3
CATEGORIES= chinese x11-fonts
MASTER_SITES=   http://www.cns11643.gov.tw/AIDB/file.do?path=download/%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89%601q%60%E5%85%A8%E5%AD%97%E5%BA%AB%E6%AD%A3%E6%A5%B7%E9%AB%94/name/:kai \
        http://www.cns11643.gov.tw/AIDB/file.do?path=download/%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89%601q%60%E5%85%A8%E5%AD%97%E5%BA%AB%E6%AD%A3%E5%AE%8B%E9%AB%94/name/:sung
DISTFILES=  TW-Kai-98_1.ttf:kai TW-Sung-98_1.ttf:sung
EXTRACT_ONLY=

MAINTAINER= lhd@cs.nctu.edu.tw
COMMENT=    A combine of Kai and Sung with CNS11643 TrueType Fonts

LICENSE=    CC_BY-ND_3.0_TW
LICENSE_NAME=   Creative Commons Attribution-NoDerivs 3.0 Taiwan License
LICENSE_TEXT=   Description of the license can be obtained from the following URL: http://creativecommons.org/licenses/by-nd/3.0/tw/
LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

DIST_SUBDIR=    ${PORTNAME}/${PORTVERSION}
NO_WRKSUBDIR=   yes
NO_BUILD=   yes

TTF=        TW-Kai-98_1.ttf TW-Sung-98_1.ttf

NO_STAGE=   yes
do-install:
    @${MKDIR} ${FONTSDIR}
.for f in ${TTF}
    ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${FONTSDIR}
.endfor

post-install:
    @${ECHO_CMD} "*******************************************************************************"
    @${CAT} ${PKGMESSAGE}
    @${ECHO_CMD} "*******************************************************************************"

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