summaryrefslogtreecommitdiffstats
path: root/x11-wm/afterstep/scripts
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1996-10-29 19:50:21 +0000
committerjfitz <jfitz@FreeBSD.org>1996-10-29 19:50:21 +0000
commitd98b6a9ddb09320215a8bcdc1006be7ca2361045 (patch)
tree83874af0b6e9a621afc2ee0bc43a83ec9baa2cad /x11-wm/afterstep/scripts
parentef05d7bf0fb32eff16450442470d8d3758bed387 (diff)
downloadFreeBSD-ports-d98b6a9ddb09320215a8bcdc1006be7ca2361045.zip
FreeBSD-ports-d98b6a9ddb09320215a8bcdc1006be7ca2361045.tar.gz
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 a66835c..0b1ba89b 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" );
OpenPOWER on IntegriCloud