mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Check if webserver is installed
Warn user if no webserver is installed Recommend apache13-php or apache13-modssl. the php version can be configured to use the modssl module as well ...
This commit is contained in:
parent
a967e4b776
commit
8d17459076
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14700
@ -3,7 +3,7 @@
|
||||
# Date created: Do 19 Nov 1998 21:13:55 CET
|
||||
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.1.1.1 1998/11/19 21:38:24 andreas Exp $
|
||||
# $Id: Makefile,v 1.2 1998/11/19 21:41:15 andreas Exp $
|
||||
#
|
||||
|
||||
DISTNAME= webmin-0.64
|
||||
@ -16,6 +16,16 @@ NO_BUILD= yes
|
||||
IS_INTERACTIVE= yes
|
||||
USE_PERL5= yes
|
||||
|
||||
pre-extract:
|
||||
@if [ -x ${PREFIX}/sbin/httpd ]; then \
|
||||
echo Good ! You seem to have apache webserver installed ...; \
|
||||
else \
|
||||
echo You need to install one of the different apache webservers; \
|
||||
echo Best would be apache13-modssl or apache13-php3 that can be; \
|
||||
echo configured to use modssl for better security as well; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/lib/webmin
|
||||
${CP} -r ${WRKSRC}/* ${PREFIX}/lib/webmin
|
||||
|
Loading…
Reference in New Issue
Block a user