aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/moefonts-cid/Makefile
blob: df5b7addb8a70b6c2b21a808bd648d75391d0c62 (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
# New ports collection makefile for:    MOE CIDFonts
# Date created:     3 Mar 2000
# Whom:         Jing-Tang Keith Jang <keith@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   moefonts-cid
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= chinese print
MASTER_SITES=   ftp://freebsd.sinica.edu.tw/pub/statue/moefonts-cid/ \
        ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/ \
        ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/samples/
DISTFILES=  MOEKai-Regular MOESung-Regular ac14.tar.Z

MAINTAINER= keith@FreeBSD.org

RUN_DEPENDS=    gs:${PORTSDIR}/print/ghostscript-gnu

NO_BUILD=   YES

do-extract:
    @${MKDIR} ${WRKDIR}
    @(cd ${WRKDIR} && \
      ${TAR} xzf ${DISTDIR}/ac14.tar.Z )

do-install:
    @${INSTALL_DATA} ${DISTDIR}/MOEKai-Regular \
        ${DISTDIR}/MOESung-Regular \
        ${FILESDIR}/MOEKai-Regular-ETen-B5-H.gsf \
        ${FILESDIR}/MOEKai-Regular-ETen-B5-V.gsf \
        ${FILESDIR}/MOESung-Regular-ETen-B5-H.gsf \
        ${FILESDIR}/MOESung-Regular-ETen-B5-V.gsf \
        ${PREFIX}/share/ghostscript/fonts
    @${MKDIR} ${PREFIX}/share/ghostscript/fonts/CMap
    @${INSTALL_DATA} ${WRKDIR}/ac14/CMap/* \
        ${PREFIX}/share/ghostscript/fonts/CMap
    @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>