summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-05-26 08:01:06 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-05-26 08:01:06 +0000
commitcee96e6f4609e2e212201db7383d3a260989da3f (patch)
tree20bcb88e14825059163aa7527971d665889faf65 /print
parentActivate rayshade. (diff)
Save mp (printing utility) if it exists and rename mp (MetaPost) to mpost.
PR: 6735 Reviewed by: Bernd Rosauer <br@schiele-ct.de>
Notes
Notes: svn path=/head/; revision=11148
Diffstat (limited to 'print')
-rw-r--r--print/teTeX-base/Makefile5
-rw-r--r--print/teTeX-base/pkg-plist2
-rw-r--r--print/teTeX/Makefile5
-rw-r--r--print/teTeX/pkg-plist2
4 files changed, 10 insertions, 4 deletions
diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile
index 5ef0e1813a76..84f1887d5102 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 2df202fbff6e..b4f250b6e177 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 5ef0e1813a76..84f1887d5102 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 2df202fbff6e..b4f250b6e177 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