2002-08-03 19:32:55 +00:00
|
|
|
# New ports collection makefile for: zh-xpdf
|
|
|
|
# Date created: 21 Avr 2002
|
|
|
|
# Whom: chshen <statue@freebsd.sinica.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xpdf
|
2004-08-02 02:35:54 +00:00
|
|
|
PORTVERSION= 20040727
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 3
|
2004-07-08 15:04:10 +00:00
|
|
|
CATEGORIES= chinese graphics print
|
|
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
|
2005-01-13 00:20:28 +00:00
|
|
|
${MASTER_SITE_TEX_CTAN} \
|
2006-03-15 18:21:26 +00:00
|
|
|
http://dryice.name/computer/FreeBSD/distfiles/
|
2004-07-08 15:04:10 +00:00
|
|
|
MASTER_SITE_SUBDIR= support/xpdf
|
2004-08-02 02:35:54 +00:00
|
|
|
DISTFILES= xpdf-chinese-simplified-2004-jul-27.tar.gz \
|
|
|
|
xpdf-chinese-traditional-2004-jul-27.tar.gz
|
2002-08-03 19:32:55 +00:00
|
|
|
|
2006-01-11 04:01:50 +00:00
|
|
|
MAINTAINER= dryice@dryice.name
|
2004-08-02 02:35:54 +00:00
|
|
|
COMMENT= Chinese xpdf font support
|
2002-08-03 19:32:55 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf\
|
2006-02-20 20:33:54 +00:00
|
|
|
${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
|
2005-02-20 04:22:48 +00:00
|
|
|
${LOCALBASE}/share/arphicttf/logo.gif:${PORTSDIR}/chinese/arphicttf
|
2002-08-03 19:32:55 +00:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_X_PREFIX= yes
|
2004-07-08 15:04:10 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
2006-02-20 20:33:54 +00:00
|
|
|
SUB_FILES= dot.xpdfrc
|
|
|
|
SUB_LIST= ADOBECMAPDIR=${ADOBECMAPDIR}
|
|
|
|
|
2002-08-04 07:56:00 +00:00
|
|
|
SIMP_FILES= Adobe-GB1.cidToUnicode EUC-CN.unicodeMap GBK.unicodeMap \
|
|
|
|
ISO-2022-CN.unicodeMap README
|
|
|
|
TRAD_FILES= Adobe-CNS1.cidToUnicode Big5.unicodeMap \
|
2002-08-03 19:32:55 +00:00
|
|
|
Big5ascii.unicodeMap README
|
2006-02-20 20:33:54 +00:00
|
|
|
ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps
|
|
|
|
|
2002-08-03 19:32:55 +00:00
|
|
|
do-install:
|
2005-02-20 04:22:48 +00:00
|
|
|
@${MKDIR} ${DATADIR}/chinese-simplified
|
2002-08-04 07:56:00 +00:00
|
|
|
.for i in ${SIMP_FILES}
|
2005-02-20 04:22:48 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-simplified/${i} ${DATADIR}/chinese-simplified
|
2002-08-04 07:56:00 +00:00
|
|
|
.endfor
|
2005-02-20 04:22:48 +00:00
|
|
|
@${MKDIR} ${DATADIR}/chinese-traditional
|
2002-08-04 07:56:00 +00:00
|
|
|
.for i in ${TRAD_FILES}
|
2005-02-20 04:22:48 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-traditional/${i} ${DATADIR}/chinese-traditional
|
2002-08-03 19:32:55 +00:00
|
|
|
.endfor
|
2006-02-20 20:33:54 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dot.xpdfrc ${DATADIR}/chinese-traditional
|
2007-08-04 11:41:30 +00:00
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2002-08-03 19:32:55 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|