mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
1fc80d3b49
PR: ports/101907 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org> Approved by: maintainer (Dryice Liu)
51 lines
1.6 KiB
Makefile
51 lines
1.6 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= 20040727
|
|
PORTREVISION= 2
|
|
CATEGORIES= chinese graphics print
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
|
|
${MASTER_SITE_TEX_CTAN} \
|
|
http://dryice.name/computer/FreeBSD/distfiles/
|
|
MASTER_SITE_SUBDIR= support/xpdf
|
|
DISTFILES= xpdf-chinese-simplified-2004-jul-27.tar.gz \
|
|
xpdf-chinese-traditional-2004-jul-27.tar.gz
|
|
|
|
MAINTAINER= dryice@dryice.name
|
|
COMMENT= Chinese xpdf font support
|
|
|
|
RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf\
|
|
${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
|
|
${LOCALBASE}/share/arphicttf/logo.gif:${PORTSDIR}/chinese/arphicttf
|
|
|
|
NO_BUILD= yes
|
|
USE_X_PREFIX= yes
|
|
NO_WRKSUBDIR= yes
|
|
SUB_FILES= dot.xpdfrc
|
|
SUB_LIST= ADOBECMAPDIR=${ADOBECMAPDIR}
|
|
|
|
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
|
|
ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}/chinese-simplified
|
|
.for i in ${SIMP_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-simplified/${i} ${DATADIR}/chinese-simplified
|
|
.endfor
|
|
@${MKDIR} ${DATADIR}/chinese-traditional
|
|
.for i in ${TRAD_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/xpdf-chinese-traditional/${i} ${DATADIR}/chinese-traditional
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/dot.xpdfrc ${DATADIR}/chinese-traditional
|
|
@${SETENV} PKG_PREFIX=${TARGETDIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|