aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ptex-tetex
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2006-09-19 02:01:10 +0800
committerhrs <hrs@FreeBSD.org>2006-09-19 02:01:10 +0800
commit5cdcf8c087409c7b4ca4e08f4f379ec8a2d1c26e (patch)
tree03d5f6ca47128ec78c8f56db46cc8bbc546bfb2d /japanese/ptex-tetex
parentcbe75aaff538783d760f7596dc2cbd16a7552811 (diff)
downloadfreebsd-ports-graphics-5cdcf8c087409c7b4ca4e08f4f379ec8a2d1c26e.tar.gz
freebsd-ports-graphics-5cdcf8c087409c7b4ca4e08f4f379ec8a2d1c26e.tar.zst
freebsd-ports-graphics-5cdcf8c087409c7b4ca4e08f4f379ec8a2d1c26e.zip
Fix pkg-plist.
Spotted by: pointyhat
Diffstat (limited to 'japanese/ptex-tetex')
-rw-r--r--japanese/ptex-tetex/Makefile4
-rw-r--r--japanese/ptex-tetex/pkg-plist2
2 files changed, 3 insertions, 3 deletions
diff --git a/japanese/ptex-tetex/Makefile b/japanese/ptex-tetex/Makefile
index 6b9d0714d46..49022e9e837 100644
--- a/japanese/ptex-tetex/Makefile
+++ b/japanese/ptex-tetex/Makefile
@@ -6,7 +6,7 @@
PORTNAME= ptex-tetex
PORTVERSION= 3.1.9
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= japanese print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/:1 \
@@ -49,7 +49,7 @@ PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \
TEXMFVARDIR=${TEXMFVARDIR} \
TEXMFDIR=${TEXMFDIR} \
- UPDMAP_SYS=${UPDMAP_SYS} \
+ UPDMAP_SYS="${UPDMAP_SYS}" \
UPDMAPDIR=${UPDMAPDIR} \
MAPDIR=${MAPDIR} \
VFDIR=${VFDIR} \
diff --git a/japanese/ptex-tetex/pkg-plist b/japanese/ptex-tetex/pkg-plist
index a56224120f5..49214feeb6e 100644
--- a/japanese/ptex-tetex/pkg-plist
+++ b/japanese/ptex-tetex/pkg-plist
@@ -332,7 +332,7 @@ bin/tftopl-ptex
@exec /bin/mkdir -p %D/%%TEXMFVARDIR%%/fonts/map/ptex/dvips/updmap
@exec /bin/mkdir -p %D/%%TEXMFVARDIR%%/fonts/map/ptex/dvipdfm/updmap
@exec /bin/mkdir -p %D/%%TEXMFVARDIR%%/fonts/map/ptex/pdftex/updmap
-@exec %%UPDMAP_SYS%%
+@exec if %D/bin/kpsewhich -format=map psfonts_jp.map > /dev/null 2>&1; then %%UPDMAP_SYS%% --enable Map=psfonts_jp.map; else %%UPDMAP_SYS%%; fi
@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/ptex/dvips/updmap/download35.map
@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/ptex/dvips/updmap/builtin35.map
@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/ptex/dvips/updmap/psfonts_t1.map