mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# New ports collection makefile for: zh-xpdf
|
|
# Date created: 21 Avr 2002
|
|
# Whom: chshen <statue@freebsd.sinica.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xpdf
|
|
PORTVERSION= 2.00
|
|
PORTREVISION= 0
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
|
|
DISTFILES= xpdf-chinese-simplified-2002-jun-17.tar.gz \
|
|
xpdf-chinese-traditional-2002-apr-14.tar.gz
|
|
|
|
MAINTAINER= statue@freebsd.sinica.edu.tw
|
|
COMMENT= Chinese-traditional xpdf font support
|
|
|
|
RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf\
|
|
${LOCALBASE}/share/ghostscript/Resource/CMap/Adobe-CNS1-0:${PORTSDIR}/print/adobe-cmaps
|
|
|
|
NO_BUILD= yes
|
|
USE_X_PREFIX= yes
|
|
WRKSRC= ${WRKDIR}
|
|
SIMP_FILES= Adobe-GB1.cidToUnicode EUC-CN.unicodeMap GBK.unicodeMap \
|
|
ISO-2022-CN.unicodeMap README
|
|
TRAD_FILES= Adobe-CNS1.cidToUnicode Big5.unicodeMap \
|
|
Big5ascii.unicodeMap README
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/share/xpdf/chinese-simplified
|
|
.for i in ${SIMP_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-simplified/${i} ${PREFIX}/share/xpdf/chinese-simplified
|
|
.endfor
|
|
${MKDIR} ${PREFIX}/share/xpdf/chinese-traditional
|
|
.for i in ${TRAD_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-traditional/${i} ${PREFIX}/share/xpdf/chinese-traditional
|
|
.endfor
|
|
${INSTALL_DATA} ${FILESDIR}/dot.xpdfrc ${PREFIX}/share/xpdf/chinese-traditional
|
|
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|