summaryrefslogtreecommitdiffstats
path: root/print/teTeX/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-05-26 08:01:06 +0000
committertg <tg@FreeBSD.org>1998-05-26 08:01:06 +0000
commitf0cf7d40f464acc5e75bdf460160477e3462d08b (patch)
tree02035987e35db0ce59ed42aacd08e0c8d838513f /print/teTeX/Makefile
parentd8745f6c175a8b0d8658874cb3c56089cede3d5c (diff)
downloadFreeBSD-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/teTeX/Makefile')
-rw-r--r--print/teTeX/Makefile5
1 files changed, 4 insertions, 1 deletions
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>
OpenPOWER on IntegriCloud