aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nfsen-devel/Makefile
blob: 30fd31ccf3654acea54ed5dc0e58c807c98fed9b (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:    nfsen
# Date created:     25 March 2005
# Whom:         janos.mohacsi@bsd.hu
#
# $FreeBSD$
#

PORTNAME=   nfsen
PORTVERSION=    1.1r3
CATEGORIES= net-mgmt
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/r/rc/}

MAINTAINER= janos.mohacsi@bsd.hu
COMMENT=    Web based frontend to nfdump netflow collector

RUN_DEPENDS=    ${SITE_PERL}/RRDp.pm:${PORTSDIR}/net/rrdtool \
        nfdump:${PORTSDIR}/net-mgmt/nfdump

HAS_CONFIGURE=  yes
USE_PERL5=  yes
USE_PHP=    session pcre
NO_BUILD=   yes

do-configure:
    @${SED} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/etc/nfsen-dist.conf > \
        ${WRKSRC}/etc/nfsen.conf

do-install:
    @${MKDIR} -m 755 ${PREFIX}/${PORTNAME}
    cd ${WRKSRC} ;${PERL} ${WRKSRC}/install.pl
    @${ECHO_MSG} "Configure your etc/nfsen.conf correctly to have necessary profiles ";

.include <bsd.port.mk>