diff options
author | max <max@FreeBSD.org> | 1997-10-05 01:13:41 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-10-05 01:13:41 +0800 |
commit | 96748bd9239abe0c95ba161eef0bb5900c75c3d4 (patch) | |
tree | fffe6cc0587750bcc172dda993a97afc64672da7 /japanese/ptex-base/Makefile | |
parent | e0feaa6fbea75ba16f2b3507dd233833a44d15f9 (diff) | |
download | freebsd-ports-gnome-96748bd9239abe0c95ba161eef0bb5900c75c3d4.tar.gz freebsd-ports-gnome-96748bd9239abe0c95ba161eef0bb5900c75c3d4.tar.zst freebsd-ports-gnome-96748bd9239abe0c95ba161eef0bb5900c75c3d4.zip |
Upgrade, 2.1.4 -> 2.1.5.
Note: This port installs only the character code independent files for pTeX
and this replaces japanese/ptex2.
Note #2 : Japanese/ptex2 has been repository copied to ptex-common by
Satoshi.
Diffstat (limited to 'japanese/ptex-base/Makefile')
-rw-r--r-- | japanese/ptex-base/Makefile | 125 |
1 files changed, 31 insertions, 94 deletions
diff --git a/japanese/ptex-base/Makefile b/japanese/ptex-base/Makefile index b2cc25345096..9f8e4e5c695f 100644 --- a/japanese/ptex-base/Makefile +++ b/japanese/ptex-base/Makefile @@ -1,117 +1,54 @@ -# New ports collection makefile for: pTeX -# Version required: 2.1.4 -# Date created: 5 Nov 1995 -# Whom: Hideaki Ohmon <ohmon@sfc.keio.ac.jp> +# New ports collection makefile for: pTeX-common +# Version required: 2.1.5 +# Date created: 05 Oct 1997 +# Whom: max # # $Id: Makefile,v 1.18 1997/07/13 18:49:19 max Exp $ # -DISTNAME= ptex3.1415.p2.1.4 -PKGNAME= ja-ptex-2.1.4 +DISTNAME= web2c-7.0 +PKGNAME= ja-ptex-common-2.1.5 CATEGORIES= japanese print -MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ \ - ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/corresponding-sources/ \ +MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex215/ \ + ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex215/web2c/ \ ftp://bash.cc.keio.ac.jp/pub/TeX/ascii-ptex/ \ ftp://bash.cc.keio.ac.jp/pub/TeX/ascii-ptex/corresponding-sources/ -# ptex-2.1.4.tar.gz, plib-jis.tar.gz, plib-sj.tar.gz and plib-euc.tar.gz -# are in */ascii-ptex/ and -# web-6.1.tar.gz, web2c-6.1.tar.gz, web2c.kpathsea-2.6.help, -# xdvik-18f.tar.gz and lib-6.9.tar.gz are in -# */ascii-ptex/corresponding-sources/ - -DISTFILES= ptex-2.1.4.tar.gz web-6.1.tar.gz web2c-6.1.tar.gz \ - web2c.kpathsea-2.6.help xdvik-18f.tar.gz lib-6.9.tar.gz +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} web-7.0.tar.gz texmflib-7.2.tar.gz MAINTAINER= max@FreeBSD.ORG -GNU_CONFIGURE= yes -WRKSRC= ${WRKDIR}/kpathsea-2.6 +USE_GMAKE= yes STRIP= # some shell scripts -EXTRACT_ONLY= ptex-2.1.4.tar.gz web-6.1.tar.gz web2c-6.1.tar.gz \ - xdvik-18f.tar.gz - -BINARIES=kpsewhich dvicopy dvitype pdvitype gftodvi gftopk \ - mft pktogf pktype vftovp vptovf gftype pltotf tftopl initex \ - virtex patgen iniptex virptex inimf virmf bibtex jbibtex \ - tangle weave pooltype +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} web-7.0.tar.gz -MAN1= amslatex.1 amstex.1 bibtex.1 dvitype.1 etex.1 gftodvi.1 \ - gftopk.1 gftype.1 initex.1 lamstex.1 latex.1 mf.1 mft.1 \ - patgen.1 pktogf.1 pktype.1 pltotf.1 pooltype.1 slitex.1 \ - tangle.1 tex.1 tftopl.1 vftovp.1 virtex.1 vptovf.1 weave.1 +BINARIES= bibtex dmp dvicopy dvitomp dvitype gftodvi gftopk gftype \ + inimf inimpost initex kpsewhich mf mft mltex mpost \ + mpto newer patgen pktogf pktype pooltype tangle \ + tex vftovp virmf virmpost virtex vptovf weave -pre-fetch: -.if !defined(KANJI-CODE) - @echo "You can set KANJI-CODE value to JIS, SJIS or EUC." - @echo "Now JIS is used as default." -.if !defined(BATCH) && !defined(FOR_CDROM) - @(read -p "Is JIS OK? (y/n) ==> " ans; \ - case x"$$ans" in \ - xy*|xY*) \ - return 0; \ - ;; \ - *) \ - echo "Ok, please rerun make with preferred KANJI-CODE specification"; \ - echo " like following example."; \ - echo " make KANJI-CODE=EUC"; \ - return 1; \ - ;; \ - esac) -.endif -KANJI-CODE= JIS -.endif -.if ${KANJI-CODE} == JIS -LIB_FILE= plib-jis.tar.gz -.elif ${KANJI-CODE} == SJIS -LIB_FILE= plib-sj.tar.gz -.elif ${KANJI-CODE} == EUC -LIB_FILE= plib-euc.tar.gz -.elifdef KANJI-CODE - @echo "Error: invalid value for KANJI-CODE: \"${KANJI-CODE}\"" - @echo "Possible values are: JIS (default), SJIS, EUC." - @false -.endif -.if !defined(FOR_CDROM) -DISTFILES+= ${LIB_FILE} -.else -DISTFILES+= plib-jis.tar.gz plib-sj.tar.gz plib-euc.tar.gz -.endif -EXTRACT_ONLY+= ${LIB_FILE} - -post-extract: - @${MV} ${WRKDIR}/web2c-6.1/web2c ${WRKDIR}/xdvik-18f - @${MV} ${WRKDIR}/xdvik-18f ${WRKDIR}/kpathsea-2.6 - @${RM} -fr ${WRKDIR}/web2c-6.1 ${WRKDIR}/kpathsea-2.6/xdvik - -pre-patch: - @${PATCH} -p -s -d ${WRKSRC} < ${DISTDIR}/web2c.kpathsea-2.6.help - -pre-configure: - @(cd ${WRKDIR}/ptex-2.1.4 ; \ - ./pTeXsetup -`echo ${KANJI-CODE} | tr A-Z a-z`) - -post-configure: - @touch ${WRKSRC}/web2c/web/tangleboot.p - @touch ${WRKSRC}/web2c/web/tangleboot.[ch] - -do-build: - @(cd ${WRKSRC} ; ${MAKE}) +# Using GNU_CONFIGURE doesn't work, for some reason. +do-configure: + @(cd ${WRKSRC}; \ + ac_cv_path_install="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \ + ./configure --prefix=${PREFIX}) pre-install: -.if !defined(BATCH) - @${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL || \ - (echo "(Don't worry about the following \"*** Error code 1\"s)" ; \ - exit 1) +.if defined(BATCH) + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL BATCH +.else + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL .endif - @tar --exclude 'texmf/tex/latex2e/base/*' -zx -C ${PREFIX}/lib \ - -f ${DISTDIR}/lib-6.9.tar.gz - @tar -zx -C ${PREFIX}/lib -f ${DISTDIR}/${LIB_FILE} + @${EXTRACT_CMD} --exclude 'texmf/tex/latex/base/*' -C ${PREFIX}/share \ + -zxf ${DISTDIR}/texmflib-7.2.tar.gz + @${RMDIR} ${PREFIX}/share/texmf/tex/generic/images ${PREFIX}/share/texmf/bibtex/bib/misc + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi post-install: - @echo -n "Stripping the binary files...." .for bin in ${BINARIES} @strip ${PREFIX}/bin/${bin} .endfor - @echo "done." + @/bin/ln -fs ${PREFIX}/bin/tex ${PREFIX}/bin/ptex-common .include <bsd.port.mk> |