mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
09d517ab11
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/
14 lines
244 B
Bash
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
|