1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/chinese/moefonts-cid/Makefile

37 lines
1.0 KiB
Makefile

# Created by: Jing-Tang Keith Jang <keith@FreeBSD.org>
# $FreeBSD$
PORTNAME= moefonts-cid
PORTVERSION= 1.0
PORTREVISION= 7
CATEGORIES= chinese print
MASTER_SITES= ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/samples/
DISTFILES= MOEKai-Regular MOESung-Regular
EXTRACT_ONLY= # empty
MAINTAINER= ports@FreeBSD.org
COMMENT= MOE CIDFonts converted by Adobe
RUN_DEPENDS= ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
USE_GHOSTSCRIPT_RUN= yes
NO_BUILD= YES
SUB_FILES= pkg-install pkg-deinstall
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps
NO_STAGE= yes
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
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>