aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2006-06-29 18:56:03 +0000
committerHiroki Sato <hrs@FreeBSD.org>2006-06-29 18:56:03 +0000
commit70f2abe5a2b00d74938ac9fd4623675cefb91de2 (patch)
tree90871e2d9809a78fb1e88ccbab901230c522065f /japanese
parentfc943075244f8d5e1aaf4eefa13dd8591078006d (diff)
downloadports-70f2abe5a2b00d74938ac9fd4623675cefb91de2.tar.gz
ports-70f2abe5a2b00d74938ac9fd4623675cefb91de2.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/dvipsk/Makefile14
-rw-r--r--japanese/dvipsk/pkg-message6
-rw-r--r--japanese/dvipsk/pkg-plist4
3 files changed, 12 insertions, 12 deletions
diff --git a/japanese/dvipsk/Makefile b/japanese/dvipsk/Makefile
index c3bf4bcb4707..0b55bb59a84d 100644
--- a/japanese/dvipsk/Makefile
+++ b/japanese/dvipsk/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dvipsk
PORTVERSION= 5.95b
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= japanese print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
${MASTER_SITE_LOCAL:S,%SUBDIR%,hrs/teTeX,:S,$,:udvipspatch,}
@@ -45,10 +45,10 @@ INSTALL_WRKSRC= ${WRKDIR}/${TETEX_SRC}/texk/dvipsk
PLIST_SUB= DVIPSDIR=${DVIPSDIR} \
DVIPSCONFIGDIR=${DVIPSCONFIGDIR} \
DVIPSCONFIGDIR_DIST=${DVIPSCONFIGDIR_DIST} \
- MKTEXLSR=${MKTEXLSR} \
+ MKTEXLSR="${MKTEXLSR}" \
TEXMFCONFIGDIR=${TEXMFCONFIGDIR} \
FONTSMAPDIR=${FONTSMAPDIR} \
- UPDMAP_SYS_PTEX=${UPDMAP_SYS_PTEX}
+ UPDMAP_SYS="${UPDMAP_SYS}"
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-multiplatform \
@@ -72,7 +72,9 @@ INFO= dvips
TETEX_SRC= tetex-src-3.0
-MKTEXLSR?= ${LOCALBASE}/bin/mktexlsr
+MKTEXLSR?= ${LOCALBASE}/bin/mktexlsr \
+ ${LOCALBASE}/${TEXMFDIR} \
+ ${LOCALBASE}/${TEXMFCONFIGDIR}
TEXMFDIR= share/texmf
TEXMFDISTDIR= share/texmf-dist
TEXMFLOCALDIR= share/texmf-local
@@ -86,7 +88,7 @@ LIBPNG_PREFIX?= ${LOCALBASE}
LIBWWW_PREFIX?= ${LOCALBASE}
LIBT1_PREFIX?= ${LOCALBASE}
-UPDMAP_SYS_PTEX=${LOCALBASE}/bin/updmap-sys-ptex
+UPDMAP_SYS= ${LOCALBASE}/bin/updmap-sys --progname=ptex
TEXCONFIGBIN= ${LOCALBASE}/bin/texconfig-sys
post-configure:
@@ -117,7 +119,7 @@ do-install:
${RM} -f ${PREFIX}/${FONTSMAPDIR}/../dvips/ptex/psfonts_jp.map
${RMDIR} ${PREFIX}/${FONTSMAPDIR}/../dvips/ptex
${MKTEXLSR}
- ${SH} ${UPDMAP_SYS_PTEX} --enable Map=psfonts_jp.map
+ ${SH} ${UPDMAP_SYS} --enable Map=psfonts_jp.map
post-install:
${TEXCONFIGBIN} dvips printcmd -
diff --git a/japanese/dvipsk/pkg-message b/japanese/dvipsk/pkg-message
index de7d326b4572..dc3da95b4d9c 100644
--- a/japanese/dvipsk/pkg-message
+++ b/japanese/dvipsk/pkg-message
@@ -6,7 +6,5 @@
- share/texmf/dvips/ptex/base/psfonts.map should not be edited
manually. Instead, edit share/texmf/web2c/ptex/updmap.cfg (and
share/texmf/fonts/map/dvips/ptex/kanji.map, which is for Japanese font
- map), and invoke the updmap-sys-ptex(1) command, which generates
- share/texmf/dvips/ptex/base/*.map. Note that the original
- updmap-sys(1) in the teTeX distribution uses share/texmf/web2c/updmap.cfg,
- not share/texmf/web2c/ptex/updmap.cfg.
+ map), and invoke the updmap-sys(1) command with --progname=ptex,
+ which generates share/texmf/dvips/ptex/base/*.map.
diff --git a/japanese/dvipsk/pkg-plist b/japanese/dvipsk/pkg-plist
index b1a18d51f84d..930b91bb1295 100644
--- a/japanese/dvipsk/pkg-plist
+++ b/japanese/dvipsk/pkg-plist
@@ -11,12 +11,12 @@ bin/udvips
%%DVIPSDIR%%/base/color.pro
%%DVIPSDIR%%/base/crop.pro
%%DVIPSDIR%%/base/hps.pro
-@unexec %%UPDMAP_SYS_PTEX%% --disable psfonts_jp.map
+@unexec %%UPDMAP_SYS%% --disable psfonts_jp.map
%%FONTSMAPDIR%%/dvips/psfonts_jp.map
%%DVIPSCONFIGDIR%%/config/config.ps
%%DVIPSCONFIGDIR_DIST%%/config/config.ps
@exec %%MKTEXLSR%%
-@exec %%UPDMAP_SYS_PTEX%% --enable Map=psfonts_jp.map
+@exec %%UPDMAP_SYS%% --enable Map=psfonts_jp.map
@dirrm %%DVIPSDIR%%/base
@dirrm %%DVIPSCONFIGDIR%%/config
@dirrm %%DVIPSCONFIGDIR_DIST%%/config