aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/webmin/scripts
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1998-11-20 05:38:24 +0800
committerandreas <andreas@FreeBSD.org>1998-11-20 05:38:24 +0800
commitdfc51b8a5449ceffb0d67f747299e8863e096407 (patch)
treebc76f0b46f1b1f264896fd2610cbf33f6aec9bb2 /sysutils/webmin/scripts
parent5c2b44797c280ad7d533dcc3945b10737a5dc8ab (diff)
downloadfreebsd-ports-gnome-dfc51b8a5449ceffb0d67f747299e8863e096407.tar.gz
freebsd-ports-gnome-dfc51b8a5449ceffb0d67f747299e8863e096407.tar.zst
freebsd-ports-gnome-dfc51b8a5449ceffb0d67f747299e8863e096407.zip
new port webmin v0.64
Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms, you can setup user accounts, Apache, DNS, file sharing and so on. Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no external modules. This means that you only need a Perl binary to run Webmin. More infos: http://www.webmin.com/webmin/
Diffstat (limited to 'sysutils/webmin/scripts')
-rw-r--r--sysutils/webmin/scripts/pre-configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/webmin/scripts/pre-configure b/sysutils/webmin/scripts/pre-configure
new file mode 100644
index 000000000000..78f8349f4de0
--- /dev/null
+++ b/sysutils/webmin/scripts/pre-configure
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/setup.sh
+
+if [ -x /usr/bin/perl5 ]; then
+ PERL5=/usr/bin/perl
+elif [ -x $PREFIX/bin/perl ]; then
+ PERL5=$PREFIX/bin/perl
+fi
+
+perl -pi -e "s=!!PERL5!!=$PERL5=" ${WRKSRC}/setup.sh
+
+exit 0