aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/webmin/Makefile
blob: c8733534584310940b93cadd1955acd643e1cb09 (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
# 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.82
CATEGORIES= sysutils
MASTER_SITES=   http://www.webmin.com/webmin/download/

MAINTAINER= ports@FreeBSD.org

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} ${LOCALBASE}/lib/webmin
    ${CP} -r ${WRKSRC}/* ${LOCALBASE}/lib/webmin
    @cd ${LOCALBASE}/lib/webmin && find . -name "*.orig" -print \
        | xargs ${RM}
    @cd ${LOCALBASE}/lib/webmin && ./setup.sh
    ${MV} /tmp/webmin.sh ${LOCALBASE}/etc/rc.d/webmin.sh

.include <bsd.port.mk>