diff options
author | asami <asami@FreeBSD.org> | 1996-08-22 08:57:24 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-08-22 08:57:24 +0800 |
commit | 29d476aabcb34f6dddf66c6c1137f377dd2b01ea (patch) | |
tree | 37251912b7b58786a905183bb777651b054165fe | |
parent | c8fb754d12e5bb81ab6f1b40e2e78523d6a78df5 (diff) | |
download | freebsd-ports-gnome-29d476aabcb34f6dddf66c6c1137f377dd2b01ea.tar.gz freebsd-ports-gnome-29d476aabcb34f6dddf66c6c1137f377dd2b01ea.tar.zst freebsd-ports-gnome-29d476aabcb34f6dddf66c6c1137f377dd2b01ea.zip |
(1) Move one .endif to the right place so this compiles with BATCH set.
(2) Add "STRIP=" so it won't try to strip scripts, strip all binaries
in post-install target.
(3) Other cosmetic changes.
Submitted in part by: max@sfc.wide.ad.jp
-rw-r--r-- | japanese/ptex-base/Makefile | 24 | ||||
-rw-r--r-- | japanese/ptex-common/Makefile | 24 |
2 files changed, 32 insertions, 16 deletions
diff --git a/japanese/ptex-base/Makefile b/japanese/ptex-base/Makefile index 11b0d797e661..e2c639f46f8b 100644 --- a/japanese/ptex-base/Makefile +++ b/japanese/ptex-base/Makefile @@ -3,7 +3,7 @@ # Date created: 5 Nov 1995 # Whom: Hideaki Ohmon <ohmon@sfc.keio.ac.jp> # -# $Id: Makefile,v 1.5 1996/03/29 02:33:27 asami Exp $ +# $Id: Makefile,v 1.6 1996/04/26 08:47:37 asami Exp $ # DISTNAME= ptex3.1415.p2.1.4 @@ -27,9 +27,9 @@ EXTRACT_ONLY= ptex-2.1.4.tar.gz web-6.1.tar.gz web2c-6.1.tar.gz \ MAINTAINER= max@sfc.wide.ad.jp -HAS_CONFIGURE= yes -CONFIGURE_ARGS=--prefix=${PREFIX} +GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/kpathsea-2.6 +STRIP= # some shell scripts pre-fetch: .if !defined(KANJI-CODE) @@ -116,6 +116,7 @@ pre-install: return 1; \ ;; \ esac) +.endif @(cd ${PREFIX}/lib ; gzip -dc ${DISTDIR}/lib-6.9.tar.gz | tar xf -) .if ${KANJI-CODE} == JIS @(cd ${PREFIX}/lib ; gzip -dc ${DISTDIR}/plib-jis.tar.gz | tar xf -) @@ -126,18 +127,25 @@ pre-install: .if ${KANJI-CODE} == EUC @(cd ${PREFIX}/lib ; gzip -dc ${DISTDIR}/plib-euc.tar.gz | tar xf -) .endif -.endif -MANPAGE=amslatex.1 amstex.1 bibtex.1 dvitype.1 etex.1 gftodvi.1 \ +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 + +MANPAGES=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 post-install: +.for bin in ${BINARIES} + strip ${PREFIX}/bin/${bin} +.endfor .if !defined(NOMANCOMPRESS) - @for manpage in ${MANPAGE}; do \ - gzip -9nf ${PREFIX}/man/man1/$$manpage ;\ - done +.for man in ${MANPAGES} + gzip -9nf ${PREFIX}/man/man1/${man} +.endfor .endif .include <bsd.port.mk> diff --git a/japanese/ptex-common/Makefile b/japanese/ptex-common/Makefile index 11b0d797e661..e2c639f46f8b 100644 --- a/japanese/ptex-common/Makefile +++ b/japanese/ptex-common/Makefile @@ -3,7 +3,7 @@ # Date created: 5 Nov 1995 # Whom: Hideaki Ohmon <ohmon@sfc.keio.ac.jp> # -# $Id: Makefile,v 1.5 1996/03/29 02:33:27 asami Exp $ +# $Id: Makefile,v 1.6 1996/04/26 08:47:37 asami Exp $ # DISTNAME= ptex3.1415.p2.1.4 @@ -27,9 +27,9 @@ EXTRACT_ONLY= ptex-2.1.4.tar.gz web-6.1.tar.gz web2c-6.1.tar.gz \ MAINTAINER= max@sfc.wide.ad.jp -HAS_CONFIGURE= yes -CONFIGURE_ARGS=--prefix=${PREFIX} +GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/kpathsea-2.6 +STRIP= # some shell scripts pre-fetch: .if !defined(KANJI-CODE) @@ -116,6 +116,7 @@ pre-install: return 1; \ ;; \ esac) +.endif @(cd ${PREFIX}/lib ; gzip -dc ${DISTDIR}/lib-6.9.tar.gz | tar xf -) .if ${KANJI-CODE} == JIS @(cd ${PREFIX}/lib ; gzip -dc ${DISTDIR}/plib-jis.tar.gz | tar xf -) @@ -126,18 +127,25 @@ pre-install: .if ${KANJI-CODE} == EUC @(cd ${PREFIX}/lib ; gzip -dc ${DISTDIR}/plib-euc.tar.gz | tar xf -) .endif -.endif -MANPAGE=amslatex.1 amstex.1 bibtex.1 dvitype.1 etex.1 gftodvi.1 \ +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 + +MANPAGES=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 post-install: +.for bin in ${BINARIES} + strip ${PREFIX}/bin/${bin} +.endfor .if !defined(NOMANCOMPRESS) - @for manpage in ${MANPAGE}; do \ - gzip -9nf ${PREFIX}/man/man1/$$manpage ;\ - done +.for man in ${MANPAGES} + gzip -9nf ${PREFIX}/man/man1/${man} +.endfor .endif .include <bsd.port.mk> |