1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/sysutils/webmin/scripts/pre-configure
Andreas Klemm 09d517ab11 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/
1998-11-19 21:38:24 +00:00

14 lines
244 B
Bash

#! /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