diff options
author | hrs <hrs@FreeBSD.org> | 2006-02-21 04:39:52 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2006-02-21 04:39:52 +0800 |
commit | e27e1b2e9a3b14e26649c51288f3df2dcd1df73c (patch) | |
tree | 66aeb19a5647d1537cb6cf7c23c122f95a37b73b /print/dvipdfmx/Makefile | |
parent | 5e77cda445a5765b3c0e373ab0c208faf494ee4a (diff) | |
download | freebsd-ports-gnome-e27e1b2e9a3b14e26649c51288f3df2dcd1df73c.tar.gz freebsd-ports-gnome-e27e1b2e9a3b14e26649c51288f3df2dcd1df73c.tar.zst freebsd-ports-gnome-e27e1b2e9a3b14e26649c51288f3df2dcd1df73c.zip |
- Update to 20050831.
- Use TEXMFDIR instead of TEXMFLOCALDIR because teTeX-3 has
share/texmf-dist for files in the original distribution
and uses share/texmf directory, not share/texmf-local,
for other additional files now.
- Add cid-x.map which has been removed from the original distribution.
Approved by: matusita (maintainer)
Diffstat (limited to 'print/dvipdfmx/Makefile')
-rw-r--r-- | print/dvipdfmx/Makefile | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/print/dvipdfmx/Makefile b/print/dvipdfmx/Makefile index 58fd5cac26ab..2ff8fa15cd8b 100644 --- a/print/dvipdfmx/Makefile +++ b/print/dvipdfmx/Makefile @@ -6,49 +6,46 @@ # PORTNAME= dvipdfmx -PORTVERSION= 20050201 -PORTREVISION= 2 +PORTVERSION= 20050831 +PORTREVISION= 0 CATEGORIES= print -MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/release/ +MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/current/ DIST_SUBDIR= dvipdfmx -PATCH_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/patch/ -PATCHFILES= mpost-c-20050201.diff tfm-c-20050201.diff - MAINTAINER= matusita@FreeBSD.org 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_LSR}:${PORTSDIR}/print/tex-texmflocal \ - ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \ +RUN_DEPENDS= ${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \ kpsepath:${PORTSDIR}/print/teTeX-base GNU_CONFIGURE= yes -CONFIGURE_ARGS= --datadir=${LOCALBASE}/${TEXMFLOCALDIR} +CONFIGURE_ARGS= --datadir=${LOCALBASE}/${TEXMFDIR} PLIST_SUB= DVIPDFMDIR=${DVIPDFMDIR} \ FONTMAPDIR=${FONTMAPDIR} \ FONTCMAPDIR=${FONTCMAPDIR} \ MKTEXLSR=${MKTEXLSR} \ ADOBECMAPDIR=${ADOBECMAPDIR} -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 +TEXMFDIR= share/texmf +DVIPDFMDIR= ${TEXMFDIR}/dvipdfm +FONTMAPDIR= ${TEXMFDIR}/fonts/map/dvipdfm +FONTCMAPDIR= ${TEXMFDIR}/fonts/cmap/dvipdfm +ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +pre-install: + ${RM} -f ${WRKSRC}/data/config/dvipdfmx.cfg.orig \ + ${WRKSRC}/data/config/cid-x.map + post-install: + ${MV} ${PREFIX}/${TEXMFDIR}/dvipdfm/config/glyphlist.txt \ + ${LOCALBASE}/${FONTMAPDIR}/glyphlist.txt ${MKDIR} ${LOCALBASE}/${FONTCMAPDIR} - ${MV} ${LOCALBASE}/${DVIPDFMDIR}/config/cid-x.map \ + ${INSTALL_DATA} ${FILESDIR}/cid-x.map.in \ ${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} |