summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep/scripts
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1996-10-29 19:50:21 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1996-10-29 19:50:21 +0000
commit288bbe0fdb66dbe4fbae5730b72737a8e89131d4 (patch)
tree0b95427faaf65787781470e2b57aba83d4829821 /x11-wm/afterstep/scripts
parentUpgrade to October 23th, 1996 version of Wine. (diff)
Upgrade to v1.0prerelease-1
Now includes manpages!
Diffstat (limited to 'x11-wm/afterstep/scripts')
-rw-r--r--x11-wm/afterstep/scripts/configure13
1 files changed, 6 insertions, 7 deletions
diff --git a/x11-wm/afterstep/scripts/configure b/x11-wm/afterstep/scripts/configure
index a66835c092f3..0b1ba89bbcb1 100644
--- a/x11-wm/afterstep/scripts/configure
+++ b/x11-wm/afterstep/scripts/configure
@@ -1,9 +1,8 @@
-#!/bin/sh
+#!/usr/bin/perl
+#
-cd $WRKSRC || exit 1
+eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
+& eval 'exec /usr/bin/perl -S $0 $argv:q'
+if 0;
-cp configure.h configure.h.orig
-cp sample.steprc sample.steprc.orig
-sed -e "s:@@PREFIX@@:$PREFIX:g" < configure.h.orig > configure.h
-sed -e "s:@@PREFIX@@:$PREFIX:g" < sample.steprc.orig > sample.steprc
-chmod u+x Installme
+system( "/usr/bin/perl -pi -e 's|%%PREFIX%%|$ENV{'PREFIX'}|g' $ENV{'WRKSRC'}/sample.steprc $ENV{'WRKSRC'}/configure.h" );