aboutsummaryrefslogtreecommitdiff
path: root/print/dvipdfmx
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2005-02-06 17:40:24 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2005-02-06 17:40:24 +0000
commit05dad55758059b07579c1d1d46bc031b450a5074 (patch)
tree8a171b7442e6df8c48266947abff46f385791fdc /print/dvipdfmx
parent37ae594b1cacdc752e3f81478b400469cf7b9e1b (diff)
downloadports-05dad55758059b07579c1d1d46bc031b450a5074.tar.gz
ports-05dad55758059b07579c1d1d46bc031b450a5074.zip
Notes
Diffstat (limited to 'print/dvipdfmx')
-rw-r--r--print/dvipdfmx/Makefile36
-rw-r--r--print/dvipdfmx/distinfo4
-rw-r--r--print/dvipdfmx/pkg-plist21
3 files changed, 38 insertions, 23 deletions
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile
index 4832f28b9e5f..fbbadd4c7b60 100644
--- a/print/dvipdfmx/Makefile
+++ b/print/dvipdfmx/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= dvipdfmx
-PORTVERSION= 20040411
-PORTREVISION= 1
+PORTVERSION= 20050201
+PORTREVISION= 0
CATEGORIES= print
-MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/current/
+MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/release/
MAINTAINER= matusita@FreeBSD.org
COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support
@@ -17,24 +17,36 @@ COMMENT= Dvipdfm with Asian languages by CID-keyed font technology support
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
paper:${PORTSDIR}/print/libpaper
-RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL}/ls-R:${PORTSDIR}/print/tex-texmflocal \
+RUN_DEPENDS= ${LOCALBASE}/${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
kpsepath:${PORTSDIR}/print/teTeX-base
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --datadir=${LOCALBASE}/${TEXMFLOCAL}
-PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} \
+CONFIGURE_ARGS= --datadir=${LOCALBASE}/${TEXMFLOCALDIR}
+PLIST_SUB= DVIPDFMDIR=${DVIPDFMDIR} \
+ FONTMAPDIR=${FONTMAPDIR} \
+ FONTCMAPDIR=${FONTCMAPDIR} \
MKTEXLSR=${MKTEXLSR} \
- ADOBECMAPDIR=${ADOBECMAPDIR} \
- DVIPDFMCMAPDIR=${DVIPDFMCMAPDIR}
+ ADOBECMAPDIR=${ADOBECMAPDIR}
-TEXMFLOCAL= share/texmf-local
-MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
-DVIPDFMCMAPDIR= ${LOCALBASE}/${TEXMFLOCAL}/dvipdfm/CMap
+TEXMFLOCALDIR= share/texmf-local
+TEXMFLOCAL_LSR= ${TEXMFLOCALDIR}/ls-R
+DVIPDFMDIR= ${TEXMFLOCALDIR}/dvipdfm
+FONTMAPDIR= ${TEXMFLOCALDIR}/fonts/map/dvipdfm
+FONTCMAPDIR= ${TEXMFLOCALDIR}/fonts/cmap/dvipdfm
ADOBECMAPDIR= ${LOCALBASE}/share/ghostscript/Resource
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
post-install:
- ${LN} -s -f ${ADOBECMAPDIR} ${DVIPDFMCMAPDIR}/adobe-cmaps
+ ${MKDIR} ${LOCALBASE}/${FONTCMAPDIR}
+ ${MV} ${LOCALBASE}/${DVIPDFMDIR}/config/cid-x.map \
+ ${LOCALBASE}/${FONTMAPDIR}/cid-x.map
+ ${MV} ${LOCALBASE}/${DVIPDFMDIR}/CMap/glyphlist.txt \
+ ${LOCALBASE}/${DVIPDFMDIR}/config/glyphlist.txt
+ ${MV} ${LOCALBASE}/${DVIPDFMDIR}/CMap \
+ ${LOCALBASE}/${FONTCMAPDIR}/CMap
+ ${LN} -s -f ${ADOBECMAPDIR} \
+ ${LOCALBASE}/${FONTCMAPDIR}/adobe-cmaps
${MKTEXLSR}
.include <bsd.port.mk>
diff --git a/print/dvipdfmx/distinfo b/print/dvipdfmx/distinfo
index 9d0b96c5fa40..ea5a4e2692f9 100644
--- a/print/dvipdfmx/distinfo
+++ b/print/dvipdfmx/distinfo
@@ -1,2 +1,2 @@
-MD5 (dvipdfmx-20040411.tar.gz) = 020082733aef4a10b6580a3a4e846b69
-SIZE (dvipdfmx-20040411.tar.gz) = 399000
+MD5 (dvipdfmx-20050201.tar.gz) = 3c07fe0214c882493bba5fcba1645b46
+SIZE (dvipdfmx-20050201.tar.gz) = 1341181
diff --git a/print/dvipdfmx/pkg-plist b/print/dvipdfmx/pkg-plist
index 60a53545005a..01c5ec665024 100644
--- a/print/dvipdfmx/pkg-plist
+++ b/print/dvipdfmx/pkg-plist
@@ -1,12 +1,15 @@
+@comment $FreeBSD$
bin/dvipdfmx
-%%TEXMFLOCAL%%/dvipdfm/CMap/Adobe-Identity-UCS2
-%%TEXMFLOCAL%%/dvipdfm/CMap/EUC-UCS2
-%%TEXMFLOCAL%%/dvipdfm/CMap/UniKSCms-UCS2-H
-%%TEXMFLOCAL%%/dvipdfm/CMap/UniKSCms-UCS2-V
-%%TEXMFLOCAL%%/dvipdfm/config/cid-x.map
-%%TEXMFLOCAL%%/dvipdfm/config/dvipdfmx.cfg
-@exec ln -s -f %%ADOBECMAPDIR%% %%DVIPDFMCMAPDIR%%/adobe-cmaps
-@unexec rm -f %%DVIPDFMCMAPDIR%%/adobe-cmaps
-@dirrm %%TEXMFLOCAL%%/dvipdfm/CMap
+%%FONTCMAPDIR%%/CMap/Adobe-Identity-UCS2
+%%FONTCMAPDIR%%/CMap/EUC-UCS2
+%%FONTCMAPDIR%%/CMap/UniKSCms-UCS2-H
+%%FONTCMAPDIR%%/CMap/UniKSCms-UCS2-V
+%%FONTMAPDIR%%/cid-x.map
+%%DVIPDFMDIR%%/config/dvipdfmx.cfg
+%%DVIPDFMDIR%%/config/glyphlist.txt
+@exec ln -s -f %%ADOBECMAPDIR%% %D/%%FONTCMAPDIR%%/adobe-cmaps
+@unexec rm -f %D/%%FONTCMAPDIR%%/adobe-cmaps
+@dirrm %%FONTCMAPDIR%%/CMap
+@dirrm %%FONTCMAPDIR%%
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%