aboutsummaryrefslogtreecommitdiff
path: root/print/xdvi
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1998-12-01 21:14:08 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1998-12-01 21:14:08 +0000
commitdb3126e16ca4814417461edd4c50a3fef20805f3 (patch)
tree29044d697c01298865cbf246af1b0dc671144b07 /print/xdvi
parenta65cec6838b320d00476080e3d2a80c8ffec863b (diff)
downloadports-db3126e16ca4814417461edd4c50a3fef20805f3.tar.gz
ports-db3126e16ca4814417461edd4c50a3fef20805f3.zip
Notes
Diffstat (limited to 'print/xdvi')
-rw-r--r--print/xdvi/Makefile6
-rw-r--r--print/xdvi/scripts/configure4
2 files changed, 5 insertions, 5 deletions
diff --git a/print/xdvi/Makefile b/print/xdvi/Makefile
index 4bc750933d20..ddcd2374fd46 100644
--- a/print/xdvi/Makefile
+++ b/print/xdvi/Makefile
@@ -3,7 +3,7 @@
# Date created: 1 October 1994
# Whom: jmz
#
-# $Id: Makefile,v 1.23 1997/03/09 22:51:56 jmz Exp $
+# $Id: Makefile,v 1.24 1998/10/20 01:48:37 steve Exp $
#
DISTNAME= xdvi-20
@@ -36,7 +36,7 @@ do-install:
@(cd ${WRKSRC}; ${GMAKE} -f Makefile install BINDIR=${PREFIX}/bin)
@(cd ${WRKSRC}; ${INSTALL_SCRIPT} MakeTeXPK ${PREFIX}/bin)
-pre-clean:
- @rm -f ${SCRIPTDIR}/post-install
+post-install:
+ @if [ -f ${WRKDIR}/post-install ]; then sh ${WRKDIR}/post-install; fi
.include <bsd.port.mk>
diff --git a/print/xdvi/scripts/configure b/print/xdvi/scripts/configure
index 39fcd2246b6d..fbbdd9884ea0 100644
--- a/print/xdvi/scripts/configure
+++ b/print/xdvi/scripts/configure
@@ -45,7 +45,7 @@ for i in $RES; do
fi
shift
done
-rm -f $SCRIPTDIR/post-install
+
echo
echo "Choose a font directory for automatic font generation."
echo "------------------------------------------------------"
@@ -57,7 +57,7 @@ echo -n "font directory [$CACHE]: "
$READ answ; if [ "$answ" != "" ]; then
CACHE=$answ;
else
- echo "mkdir -p $CACHE/pk; chmod 1777 $CACHE/pk" > $SCRIPTDIR/post-install
+ echo "mkdir -p $CACHE/pk; chmod 1777 $CACHE/pk" > $WRKDIR/post-install
fi
sed -e s:/usr/lib/tex:$prefix/share/texmf: \