aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2006-02-21 04:34:53 +0800
committerhrs <hrs@FreeBSD.org>2006-02-21 04:34:53 +0800
commitce9482beec91e4c0ba0ab164987cd9bbdf87ee88 (patch)
tree26644fad3b7f2d731a513a4a60a99b4cb22da733 /japanese
parentcbe06217330488f47dd9f06a0dcfb2d4c4948e74 (diff)
downloadfreebsd-ports-gnome-ce9482beec91e4c0ba0ab164987cd9bbdf87ee88.tar.gz
freebsd-ports-gnome-ce9482beec91e4c0ba0ab164987cd9bbdf87ee88.tar.zst
freebsd-ports-gnome-ce9482beec91e4c0ba0ab164987cd9bbdf87ee88.zip
- Fix RUN_DEPENDS.
- Use SUB_FILES for doc.xpdfrc. - Bump PORTREVISION because of print/adobe-cmaps update. - Reset maintainership. Approved by: maintainer timeout (3 months)
Diffstat (limited to 'japanese')
-rw-r--r--japanese/xpdf/Makefile20
-rw-r--r--japanese/xpdf/files/dot.xpdfrc.in (renamed from japanese/xpdf/files/dot.xpdfrc)4
2 files changed, 12 insertions, 12 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
diff --git a/japanese/xpdf/files/dot.xpdfrc b/japanese/xpdf/files/dot.xpdfrc.in
index 0839304ecc48..be3aca389cec 100644
--- a/japanese/xpdf/files/dot.xpdfrc
+++ b/japanese/xpdf/files/dot.xpdfrc.in
@@ -3,8 +3,8 @@ cidToUnicode Adobe-Japan1 %%PREFIX%%/share/xpdf/japanese/Adobe-Japan1.cidToUnico
unicodeMap ISO-2022-JP %%PREFIX%%/share/xpdf/japanese/ISO-2022-JP.unicodeMap
unicodeMap EUC-JP %%PREFIX%%/share/xpdf/japanese/EUC-JP.unicodeMap
unicodeMap Shift-JIS %%PREFIX%%/share/xpdf/japanese/Shift-JIS.unicodeMap
-cMapDir Adobe-Japan1 %%LOCALBASE%%/share/ghostscript/Resource/CMap
-toUnicodeDir %%LOCALBASE%%/share/ghostscript/Resource/CMap
+cMapDir Adobe-Japan1 %%ADOBECMAPDIR%%
+toUnicodeDir %%ADOBECMAPDIR%%
displayNamedCIDFontTT Ryumin-Light "%%X11BASE%%/lib/X11/fonts/TrueType/kochi-mincho-subst.ttf"
displayNamedCIDFontTT Ryumin-Light-H "%%X11BASE%%/lib/X11/fonts/TrueType/kochi-mincho-subst.ttf"
displayNamedCIDFontTT Ryumin-Light-V "%%X11BASE%%/lib/X11/fonts/TrueType/kochi-mincho-subst.ttf"