diff options
-rw-r--r-- | japanese/texfamily/Makefile | 19 | ||||
-rw-r--r-- | japanese/texfamily/patches/patch-ai | 23 |
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 |