summaryrefslogtreecommitdiff
path: root/print/dviselect/scripts
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2000-07-02 22:45:55 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2000-07-02 22:45:55 +0000
commitc2310184f9944c27a15418718467b3145c0bb660 (patch)
treec9df48ed99ba5faf23363f673baad17454d9eed5 /print/dviselect/scripts
parentPort has been broken since 12/96..goodbye :-) (diff)
Correct a mistake when I modified the port last week. Changes were relative
to the wrong distfile (there are 2 or 3 different versions of dviselect, but the differences are essentially cosmetic)
Notes
Notes: svn path=/head/; revision=30083
Diffstat (limited to 'print/dviselect/scripts')
-rw-r--r--print/dviselect/scripts/configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/dviselect/scripts/configure b/print/dviselect/scripts/configure
index ac2e807e0a40..73c55c505c4c 100644
--- a/print/dviselect/scripts/configure
+++ b/print/dviselect/scripts/configure
@@ -1,6 +1,8 @@
#!/bin/sh
-PREFIX=${PREFIX:-/usr/local}
+cd $WRKSRC
+mv Makefile Makefile~
+sed -e /DELETE/q <Makefile~ >Makefile
echo "BINDIR = $PREFIX/bin" >> $WRKSRC/Makefile || exit 1;
echo "MANDIR = $PREFIX/man" >> $WRKSRC/Makefile || exit 1;