aboutsummaryrefslogtreecommitdiff
path: root/japanese/xpdf/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2006-02-20 20:34:53 +0000
committerHiroki Sato <hrs@FreeBSD.org>2006-02-20 20:34:53 +0000
commitd6a77a5c37cbe2098c1fcf5e693d169d8504d245 (patch)
treea8868f38b223d8aea5c25116f4ddeb8def5472dd /japanese/xpdf/Makefile
parent9ea4f0cfea98c6aaf23696ada8ce0c1384430ee9 (diff)
downloadports-d6a77a5c37cbe2098c1fcf5e693d169d8504d245.tar.gz
ports-d6a77a5c37cbe2098c1fcf5e693d169d8504d245.zip
Notes
Diffstat (limited to 'japanese/xpdf/Makefile')
-rw-r--r--japanese/xpdf/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/japanese/xpdf/Makefile b/japanese/xpdf/Makefile
index 910992c84f93..92bc66d2f90a 100644
--- a/japanese/xpdf/Makefile
+++ b/japanese/xpdf/Makefile
@@ -7,35 +7,35 @@
PORTNAME= xpdf
PORTVERSION= 3.00
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
DISTNAME= xpdf-japanese
-MAINTAINER= mita@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese xpdf font support
RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf \
- ${LOCALBASE}/share/ghostscript/Resource/CMap/Adobe-Japan1-0:${PORTSDIR}/print/adobe-cmaps \
+ ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho-subst.ttf:${PORTSDIR}/japanese/kochi-ttfonts
USE_X_PREFIX= yes
+NO_BUILD= yes
+SUB_FILES= dot.xpdfrc
+SUB_LIST= ADOBECMAPDIR=${ADOBECMAPDIR}
+
INSTALL_FILES= Adobe-Japan1.cidToUnicode ISO-2022-JP.unicodeMap \
EUC-JP.unicodeMap Shift-JIS.unicodeMap \
- README dot.xpdfrc
+ README
+ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps
.if defined(WITHOUT_X11)
BROKEN= "Broken dependency when WITHOUT_X11 set"
.endif
-do-build:
- @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
- -e 's|%%X11BASE%%|${X11BASE}|g' \
- -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
- ${FILESDIR}/dot.xpdfrc > ${WRKSRC}/dot.xpdfrc
-
do-install:
${MKDIR} ${PREFIX}/share/xpdf/japanese
+ ${INSTALL_DATA} ${WRKDIR}/dot.xpdfrc ${PREFIX}/share/xpdf/japanese
.for i in ${INSTALL_FILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/xpdf/japanese
.endfor