aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/webmin/Makefile
blob: 8e2a2889146ed916722338414660673637578b0a (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
36
37
38
39
40
# New ports collection makefile for:    webmin
# Date created:     Do  19 Nov 1998 21:13:55 CET
# Whom:         Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#

PORTNAME=   webmin
PORTVERSION=    0.83
CATEGORIES= sysutils
MASTER_SITES=   http://www.webmin.com/webmin/download/

MAINTAINER= olgeni@uli.it

BUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay

NO_BUILD=   yes
IS_INTERACTIVE= yes
USE_PERL5=  yes

post-patch:
    ${CP} ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.0 \
    ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.1
    ${CP} ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.0 \
    ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.2
    ${CP} ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.0 \
    ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.3
    ${CP} ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.0 \
    ${WRKDIR}/webmin-${PORTVERSION}/bind8/config-freebsd-3.4

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
    @${MV} /tmp/webmin.sh ${PREFIX}/etc/rc.d/webmin.sh
    @${CHMOD} 554 ${PREFIX}/etc/rc.d/webmin.sh

.include <bsd.port.mk>