diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2006-08-17 12:27:25 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2006-08-17 12:27:25 +0000 |
commit | a63e39e0399d34d9a3b07d8533c58743ced43347 (patch) | |
tree | 373763229903336892d13ac0401a12fec3d1b79b /japanese/ptex-tetex | |
parent | 3ff4b9dc76f3d84356467d1acfcd4c9110474001 (diff) | |
download | ports-a63e39e0399d34d9a3b07d8533c58743ced43347.tar.gz ports-a63e39e0399d34d9a3b07d8533c58743ced43347.zip |
Notes
Diffstat (limited to 'japanese/ptex-tetex')
-rw-r--r-- | japanese/ptex-tetex/Makefile | 10 | ||||
-rw-r--r-- | japanese/ptex-tetex/pkg-plist | 4 |
2 files changed, 9 insertions, 5 deletions
diff --git a/japanese/ptex-tetex/Makefile b/japanese/ptex-tetex/Makefile index b5036f1fdf5e..6b9d0714d46e 100644 --- a/japanese/ptex-tetex/Makefile +++ b/japanese/ptex-tetex/Makefile @@ -6,7 +6,7 @@ PORTNAME= ptex-tetex PORTVERSION= 3.1.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= japanese print MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \ ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/:1 \ @@ -96,7 +96,7 @@ SUB_LIST= PREFIX=${PREFIX} \ INSTDIRS= doc fonts jbibtex ptex DOC_FILES= COPYRIGHT COPYRIGHT.jis Changes.txt README.txt -MAPDIR= ${TEXMFDIR}/dvips/ptex +MAPDIR= ${TEXMFDIR}/fonts/map/ptex/dvips VFDIR= ${TEXMFDIR}/fonts/vf/ptex TFMDIR= ${TEXMFDIR}/fonts/tfm/ptex @@ -151,7 +151,11 @@ post-install: .endfor ${INSTALL_SCRIPT} ${WRKDIR}/updmap-ptex ${PREFIX}/${UPDMAPDIR}/updmap.ptex ${MKTEXLSR} - ${SH} ${UPDMAP_SYS} + if ${PREFIX}/bin/kpsewhich -format=map psfonts_jp.map > /dev/null 2>&1; then \ + ${SH} ${UPDMAP_SYS} --enable Map=psfonts_jp.map; \ + else \ + ${SH} ${UPDMAP_SYS}; \ + fi @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/japanese/ptex-tetex/pkg-plist b/japanese/ptex-tetex/pkg-plist index f68506cebe19..a56224120f5b 100644 --- a/japanese/ptex-tetex/pkg-plist +++ b/japanese/ptex-tetex/pkg-plist @@ -315,8 +315,8 @@ bin/tftopl-ptex %%TEXMFDIR%%/ptex/platex/config/hyphen.cfg %%TEXMFDIR%%/ptex/platex/config/platex.ini @dirrm %%TEXMFDIR%%/ptex/platex/config -%%TEXMFDIR%%/dvips/ptex/jis.map -%%TEXMFDIR%%/dvips/ptex/morisawa.map +%%MAPDIR%%/jis.map +%%MAPDIR%%/morisawa.map @dirrmtry %%TEXMFDIR%%/dvips/ptex @exec /bin/mkdir -p %D/%%TEXMFCONFIGDIR%%/dvips/ptex @dirrmtry %%TEXMFCONFIGDIR%%/dvips/ptex |