1998-11-19 21:38:24 +00:00
|
|
|
# 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>
|
|
|
|
#
|
1999-01-07 19:44:19 +00:00
|
|
|
# $Id: Makefile,v 1.3 1998/11/19 21:59:54 andreas Exp $
|
1998-11-19 21:38:24 +00:00
|
|
|
#
|
|
|
|
|
1999-01-07 19:44:19 +00:00
|
|
|
DISTNAME= webmin-0.65
|
1998-11-19 21:38:24 +00:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.webmin.com/webmin/download/
|
|
|
|
|
|
|
|
MAINTAINER= andreas@FreeBSD.ORG
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
IS_INTERACTIVE= yes
|
1998-11-19 21:41:15 +00:00
|
|
|
USE_PERL5= yes
|
1998-11-19 21:38:24 +00:00
|
|
|
|
1998-11-19 21:59:54 +00:00
|
|
|
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
|
|
|
|
|
1998-11-19 21:38:24 +00:00
|
|
|
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>
|