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

DISTNAME=   webmin-${VERSION}
CATEGORIES= sysutils
MASTER_SITES=   http://www.webmin.com/webmin/download/

MAINTAINER= andreas@FreeBSD.org

VERSION=    0.77
NO_BUILD=   yes
IS_INTERACTIVE= yes
USE_PERL5=  yes

post-patch:
    ${CP} ${WRKDIR}/webmin-${VERSION}/bind8/config-freebsd-3.0 \
    ${WRKDIR}/webmin-${VERSION}/bind8/config-freebsd-3.1
    ${CP} ${WRKDIR}/webmin-${VERSION}/bind8/config-freebsd-3.0 \
    ${WRKDIR}/webmin-${VERSION}/bind8/config-freebsd-3.2
    ${CP} ${WRKDIR}/webmin-${VERSION}/bind8/config-freebsd-3.0 \
    ${WRKDIR}/webmin-${VERSION}/bind8/config-freebsd-3.3
    ${CP} ${WRKDIR}/webmin-${VERSION}/bind8/config-freebsd-3.0 \
    ${WRKDIR}/webmin-${VERSION}/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

.include <bsd.port.mk>