diff options
author | tg <tg@FreeBSD.org> | 1998-05-26 08:01:06 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1998-05-26 08:01:06 +0000 |
commit | f0cf7d40f464acc5e75bdf460160477e3462d08b (patch) | |
tree | 02035987e35db0ce59ed42aacd08e0c8d838513f /print | |
parent | d8745f6c175a8b0d8658874cb3c56089cede3d5c (diff) | |
download | FreeBSD-ports-f0cf7d40f464acc5e75bdf460160477e3462d08b.zip FreeBSD-ports-f0cf7d40f464acc5e75bdf460160477e3462d08b.tar.gz |
Save mp (printing utility) if it exists and rename mp (MetaPost) to mpost.
PR: 6735
Reviewed by: Bernd Rosauer <br@schiele-ct.de>
Diffstat (limited to 'print')
-rw-r--r-- | print/teTeX-base/Makefile | 5 | ||||
-rw-r--r-- | print/teTeX-base/pkg-plist | 2 | ||||
-rw-r--r-- | print/teTeX/Makefile | 5 | ||||
-rw-r--r-- | print/teTeX/pkg-plist | 2 |
4 files changed, 10 insertions, 4 deletions
diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile index 5ef0e18..84f1887 100644 --- a/print/teTeX-base/Makefile +++ b/print/teTeX-base/Makefile @@ -3,7 +3,7 @@ # Date created: 5 December 1996 # Whom: Bernd Rosauer <br@schiele-ct.de> # -# $Id: Makefile,v 1.19 1997/07/13 18:49:29 max Exp $ +# $Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp $ # DISTNAME= teTeX-src-0.4 @@ -37,6 +37,7 @@ WRKLIB= ${WRKDIR}/teTeX INSTALL_INFO= /usr/bin/install-info pre-install: + @if [ -x ${PREFIX}/bin/mp ]; then ${MV} ${PREFIX}/bin/mp ${PREFIX}/bin/mp.save; fi @${RM} -f ${PREFIX}/share/texmf/ls-R @chown -R bin:bin ${WRKLIB}/info ${WRKLIB}/man @${RM} -f ${WRKLIB}/info/dir ${WRKLIB}/info/localdir ${WRKLIB}/info/*.orig @@ -51,6 +52,8 @@ post-install: ${INSTALL_INFO} ${PREFIX}/info/kpathsea.info ${PREFIX}/info/dir ${INSTALL_INFO} ${PREFIX}/info/dvips.info ${PREFIX}/info/dir ${INSTALL_INFO} ${PREFIX}/info/fontname.info ${PREFIX}/info/dir + @${MV} ${PREFIX}/bin/mp ${PREFIX}/bin/mpost + @if [ -x ${PREFIX}/bin/mp.save ]; then ${MV} ${PREFIX}/bin/mp.save ${PREFIX}/bin/mp; fi @${SETENV} PREFIX=${PREFIX} ${SH} files/install-note .include <bsd.port.mk> diff --git a/print/teTeX-base/pkg-plist b/print/teTeX-base/pkg-plist index 2df202f..b4f250b 100644 --- a/print/teTeX-base/pkg-plist +++ b/print/teTeX-base/pkg-plist @@ -70,7 +70,7 @@ bin/MakeTeXTFM bin/MakeTeXPK bin/texi2html bin/allec -bin/mp +bin/mpost bin/mf bin/amstex bin/kpsexpand diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile index 5ef0e18..84f1887 100644 --- a/print/teTeX/Makefile +++ b/print/teTeX/Makefile @@ -3,7 +3,7 @@ # Date created: 5 December 1996 # Whom: Bernd Rosauer <br@schiele-ct.de> # -# $Id: Makefile,v 1.19 1997/07/13 18:49:29 max Exp $ +# $Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp $ # DISTNAME= teTeX-src-0.4 @@ -37,6 +37,7 @@ WRKLIB= ${WRKDIR}/teTeX INSTALL_INFO= /usr/bin/install-info pre-install: + @if [ -x ${PREFIX}/bin/mp ]; then ${MV} ${PREFIX}/bin/mp ${PREFIX}/bin/mp.save; fi @${RM} -f ${PREFIX}/share/texmf/ls-R @chown -R bin:bin ${WRKLIB}/info ${WRKLIB}/man @${RM} -f ${WRKLIB}/info/dir ${WRKLIB}/info/localdir ${WRKLIB}/info/*.orig @@ -51,6 +52,8 @@ post-install: ${INSTALL_INFO} ${PREFIX}/info/kpathsea.info ${PREFIX}/info/dir ${INSTALL_INFO} ${PREFIX}/info/dvips.info ${PREFIX}/info/dir ${INSTALL_INFO} ${PREFIX}/info/fontname.info ${PREFIX}/info/dir + @${MV} ${PREFIX}/bin/mp ${PREFIX}/bin/mpost + @if [ -x ${PREFIX}/bin/mp.save ]; then ${MV} ${PREFIX}/bin/mp.save ${PREFIX}/bin/mp; fi @${SETENV} PREFIX=${PREFIX} ${SH} files/install-note .include <bsd.port.mk> diff --git a/print/teTeX/pkg-plist b/print/teTeX/pkg-plist index 2df202f..b4f250b 100644 --- a/print/teTeX/pkg-plist +++ b/print/teTeX/pkg-plist @@ -70,7 +70,7 @@ bin/MakeTeXTFM bin/MakeTeXPK bin/texi2html bin/allec -bin/mp +bin/mpost bin/mf bin/amstex bin/kpsexpand |