diff options
-rw-r--r-- | print/dvipdfmx/Makefile | 36 | ||||
-rw-r--r-- | print/dvipdfmx/distinfo | 4 | ||||
-rw-r--r-- | print/dvipdfmx/pkg-plist | 21 |
3 files changed, 38 insertions, 23 deletions
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile index 4832f28..fbbadd4 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 9d0b96c..ea5a4e2 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 60a5354..01c5ec6 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%% |