aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/xpdf/Makefile
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-05-01 12:46:29 +0800
committerhrs <hrs@FreeBSD.org>2013-05-01 12:46:29 +0800
commit4dcc1b0cd3c2ff30a5c736f16fe85066cfdf80cf (patch)
tree07e8f97990bb1f1c58550fc003517fcac9a1b221 /japanese/xpdf/Makefile
parentfb7f742cf29c81bb2a869a43b4bd8d678f0223a7 (diff)
downloadfreebsd-ports-gnome-4dcc1b0cd3c2ff30a5c736f16fe85066cfdf80cf.tar.gz
freebsd-ports-gnome-4dcc1b0cd3c2ff30a5c736f16fe85066cfdf80cf.tar.zst
freebsd-ports-gnome-4dcc1b0cd3c2ff30a5c736f16fe85066cfdf80cf.zip
Update to 3.03.
Diffstat (limited to 'japanese/xpdf/Makefile')
-rw-r--r--japanese/xpdf/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/japanese/xpdf/Makefile b/japanese/xpdf/Makefile
index 24441882b157..9e34bac280e3 100644
--- a/japanese/xpdf/Makefile
+++ b/japanese/xpdf/Makefile
@@ -1,13 +1,8 @@
-# New ports collection makefile for: ja-xpdf
-# Date created: 21 Avr 2002
-# Whom: MITA Yoshio <mita@FreeBSD.org>
-#
+# Created by: MITA Yoshio <mita@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= xpdf
-PORTVERSION= 3.02
-PORTREVISION= 3
+PORTVERSION= 3.03
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
PKGNAMESUFFIX= -jafont
@@ -26,7 +21,6 @@ SUB_FILES= dot.xpdfrc
SUB_LIST= ADOBECMAPDIR=${ADOBECMAPDIR} \
FONTSDIR=${FONTSDIR}
PLIST_SUB= EXTRARC=${EXTRARC}
-DATADIR= ${PREFIX}/share/xpdf
FONTSDIR= ${LOCALBASE}/share/fonts/std.ja_JP
EXTRARC= ${DATADIR}/japanese/dot.xpdfrc
@@ -39,6 +33,10 @@ do-install:
${MKDIR} ${DATADIR}/japanese
cd ${WRKSRC} && \
${INSTALL_DATA} ${INSTALL_FILES} ${DATADIR}/japanese
+ ${MKDIR} ${DATADIR}/japanese/CMap
+ cd ${DATADIR}/japanese/CMap && \
+ ${FIND} ${ADOBECMAPDIR}/aj16/CMap ${ADOBECMAPDIR}/aj20/CMap \
+ -type f -exec ${LN} -s -f {} . \;
post-install:
exec < ${LOCALBASE}/etc/xpdfrc; \