aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/CJKUnifonts/Makefile
blob: 88bbed313b4920e98737a05593cc45b2fd9b074e (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:    CJKUnifonts(Arne's TrueType Font)
# Date created:     10 Dec 2004
# Whom:         Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   CJKUnifonts
PORTVERSION=    0.1.20060928
PORTREVISION=   1
CATEGORIES= chinese x11-fonts
MASTER_SITES=   ftp://yilan.twbbs.org/distfiles/:uming \
        http://ftp.debian.org/debian/pool/main/t/ttf-arphic-uming/:uming \
        ftp://yilan.twbbs.org/distfiles/:ukai \
        http://ftp.debian.org/debian/pool/main/t/ttf-arphic-ukai/:ukai
PKGNAMEPREFIX=  zh-
DISTFILES=  ttf-arphic-uming_${PORTVERSION}.orig.tar.gz:uming \
        ttf-arphic-ukai_${PORTVERSION}.orig.tar.gz:ukai

MAINTAINER= chinsan@FreeBSD.org
COMMENT=    CJKUnifonts TrueType Font is a combine of Arphic Ming and Kai fonts

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

TTF=        ukai.ttf uming.ttf

do-install:
    @${MKDIR} ${FONTSDIR}
    ${INSTALL_DATA} ${WRKSRC}/ttf-arphic-ukai-${PORTVERSION}/ukai.ttf ${FONTSDIR}
    ${INSTALL_DATA} ${WRKSRC}/ttf-arphic-uming-${PORTVERSION}/uming.ttf ${FONTSDIR}

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