summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2001-04-18 00:33:10 +0000
committerkei <kei@pkgsrc.org>2001-04-18 00:33:10 +0000
commit42c2b3a0bb1a556aff9f78cd663c85ae200d88bd (patch)
tree486ec228507b4db0a683f3136027880be5a42a2b /japanese
parent164d230264c0358f83d65f910be62ab27ad79312 (diff)
downloadpkgsrc-42c2b3a0bb1a556aff9f78cd663c85ae200d88bd.tar.gz
- Added support of site-specific configuration. HEO SeonMeyong requested and
post the patch. - Fixed jmakeindex build and installation problem. - Since mendexk does not handle JIS, changed default character encoding of ptex from JIS to EUC (EUC-JP). EUC-cofigured ptex can handle JIS as well as EUC, and vice versa. (note: jmakeindex handles JIS.)
Diffstat (limited to 'japanese')
-rw-r--r--japanese/texfamily/Makefile19
-rw-r--r--japanese/texfamily/patches/patch-ai23
2 files changed, 36 insertions, 6 deletions
diff --git a/japanese/texfamily/Makefile b/japanese/texfamily/Makefile
index 259d54a1740..3f6ffa81ab7 100644
--- a/japanese/texfamily/Makefile
+++ b/japanese/texfamily/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/04/14 12:58:55 kei Exp $
+# $NetBSD: Makefile,v 1.2 2001/04/18 00:33:10 kei Exp $
DISTNAME= TeXfamily-1.2.1
CATEGORIES= japanese
@@ -109,7 +109,14 @@ pre-patch:
post-configure:
(cd ${WRKSRC}/texk/web2c/ptex-src-2.1.10; \
- ./configure JIS ${LOCALBASE}/share/texmf.local)
+ ./configure EUC ${LOCALBASE}/share/texmf.local)
+
+post-patch:
+ ${MV} ${WRKSRC}/texk/kpathsea/texmf.in \
+ ${WRKSRC}/texk/kpathsea/texmf.in.orig
+ ${SED} -e 's,@TEXMFSITE@,${TEXMFSITE},' \
+ ${WRKSRC}/texk/kpathsea/texmf.in.orig > \
+ ${WRKSRC}/texk/kpathsea/texmf.in
do-build:
(cd ${WRKSRC}/texk/web2c; ${GMAKE})
@@ -119,7 +126,7 @@ do-build:
(cd ${WRKSRC}/texk/dvi2ps-3.2j; ${GMAKE} all newlib)
(cd ${WRKSRC}/texk/dvipsk; ${GMAKE})
(cd ${WRKSRC}/texk/mendexk2.4f; ${GMAKE})
- (cd ${WRKSRC}/texk/jmakeindex/src; ${MAKE})
+ (cd ${WRKSRC}/texk/jmakeindex/src; ${MAKE} -f makefile.unx)
do-install:
(cd ${WRKSRC}/texk/web2c-j; ${GMAKE} install)
@@ -134,9 +141,9 @@ do-install:
(cd ${WRKSRC}/texk/dvipsk; \
${SETENV} texmflcl=${LOCALBASE}/share/texmf.local \
${GMAKE} install)
- ${INSTALL_PROGRAM} ${WRKSRC}/texk/mendexk2.4f/mendex \
- ${PREFIX}/bin/mendex
- (cd ${WRKSRC}/texk/jmakeindex/src; ${MAKE} install)
+ ${INSTALL_PROGRAM} ${WRKSRC}/texk/mendexk2.4f/mendex ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/texk/jmakeindex/src/jmakeindex \
+ ${PREFIX}/bin
post-install:
mktexlsr ${LOCALBASE}/share/texmf.local
diff --git a/japanese/texfamily/patches/patch-ai b/japanese/texfamily/patches/patch-ai
new file mode 100644
index 00000000000..a1f441e6972
--- /dev/null
+++ b/japanese/texfamily/patches/patch-ai
@@ -0,0 +1,23 @@
+$NetBSD: patch-ai,v 1.1 2001/04/18 00:33:11 kei Exp $
+
+--- texk/kpathsea/texmf.in.orig Mon Apr 16 16:50:18 2001
++++ texk/kpathsea/texmf.in Mon Apr 16 16:53:20 2001
+@@ -60,6 +60,9 @@
+ % A place for local additions to a "standard" texmf tree. For example:
+ TEXMFLOCAL = @texmflocal@
+
++% Add site-specific configurations as well as above.
++TEXMFSITE = @TEXMFSITE@
++
+ % If defined, teTeX's texconfig stores modifications here (instead of the
+ % TEXMFMAIN tree).
+ % VARTEXMF = @texmf@-var
+@@ -74,7 +77,7 @@
+ % - list $VARTEXMF in the TEXMF definition;
+ % - make sure that $VARTEXMF precedes $TEXMFMAIN in the TEXMF definition.
+ %TEXMF = !!$TEXMFMAIN
+-TEXMF = {!!$TEXMFLOCAL,!!$TEXMFMAIN}
++TEXMF = {!!$TEXMFSITE,!!$TEXMFLOCAL,!!$TEXMFMAIN}
+
+ % The system trees. These are the trees that are shared by all the users.
+ SYSTEXMF = $TEXMF