aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xpdf/Makefile
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-04-19 18:55:31 +0800
committernork <nork@FreeBSD.org>2004-04-19 18:55:31 +0800
commit5d07e3062c23a5a097731c3b396ccdfa8cf16cea (patch)
tree2eb51402d300a54ba8d5ca063d74a593a7ef0b5a /japanese/xpdf/Makefile
parent6a32a24851aea22bdd3f797b2a59a17f5841025e (diff)
downloadfreebsd-ports-gnome-5d07e3062c23a5a097731c3b396ccdfa8cf16cea.tar.gz
freebsd-ports-gnome-5d07e3062c23a5a097731c3b396ccdfa8cf16cea.tar.zst
freebsd-ports-gnome-5d07e3062c23a5a097731c3b396ccdfa8cf16cea.zip
Update to 3.00.
PR: ports/63774[1], ports-jp/14583[2] Submitted by: AMAKAWA Shuhei <sa264@cam.ac.uk> Pointed out by: Hiroshi Morita <tyuu@on.rim.or.jp> Approved by: mita (blanket)
Diffstat (limited to 'japanese/xpdf/Makefile')
-rw-r--r--japanese/xpdf/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/japanese/xpdf/Makefile b/japanese/xpdf/Makefile
index 4fbd8baa64cd..42fff3e69b3f 100644
--- a/japanese/xpdf/Makefile
+++ b/japanese/xpdf/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xpdf
-PORTVERSION= 2.02
+PORTVERSION= 3.00
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
DISTNAME= xpdf-japanese
@@ -14,23 +14,26 @@ DISTNAME= xpdf-japanese
MAINTAINER= mita@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\
- ${PKG_DBDIR}/ja-alias-fonts-1.0:${PORTSDIR}/japanese/alias-fonts
+RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf \
+ ${LOCALBASE}/share/ghostscript/Resource/CMap/Adobe-Japan1-0:${PORTSDIR}/print/adobe-cmaps \
+ ${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho-subst.ttf:${PORTSDIR}/japanese/kochi-ttfonts
-BROKEN= "Checksum mismatch"
-
-NO_BUILD= yes
USE_X_PREFIX= yes
INSTALL_FILES= Adobe-Japan1.cidToUnicode ISO-2022-JP.unicodeMap \
EUC-JP.unicodeMap Shift-JIS.unicodeMap \
- README
+ README dot.xpdfrc
+
+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
.for i in ${INSTALL_FILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/xpdf/japanese
.endfor
- ${INSTALL_DATA} ${FILESDIR}/dot.xpdfrc ${PREFIX}/share/xpdf/japanese
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>