mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
8d17459076
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 ...
36 lines
963 B
Makefile
36 lines
963 B
Makefile
# New ports collection makefile for: webmin
|
|
# Version required: 0.64
|
|
# Date created: Do 19 Nov 1998 21:13:55 CET
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
#
|
|
# $Id: Makefile,v 1.2 1998/11/19 21:41:15 andreas Exp $
|
|
#
|
|
|
|
DISTNAME= webmin-0.64
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.webmin.com/webmin/download/
|
|
|
|
MAINTAINER= andreas@FreeBSD.ORG
|
|
|
|
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
|
|
@cd ${PREFIX}/lib/webmin && find . -name "*.orig" -print | xargs rm
|
|
@cd ${PREFIX}/lib/webmin && ./setup.sh
|
|
|
|
.include <bsd.port.mk>
|