aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/webmin/Makefile
blob: f89bd4ed20db66a78d151969041bb12b1e6b2c60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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>