aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/darkstat/Makefile
blob: 71ecde8e25c3a013ba74c38c5152b20abc783f20 (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
# New ports collection makefile for:    darkstat
# Date created:             24 February 2002
# Whom:                 Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   darkstat
PORTVERSION=    2.6
CATEGORIES= net
MASTER_SITES=   http://members.optushome.com.au/emikulic/net/darkstat/ \
        http://yallara.cs.rmit.edu.au/~emikulic/_/

MAINTAINER= emikulic@optushome.com.au
COMMENT=    Network statistics gatherer, similar to ntop

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
PLIST_SUB=  NLS="@comment "
.else
LIB_DEPENDS=    intl.5:${PORTSDIR}/devel/gettext
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
PLIST_SUB=  NLS=""
.endif

MAN1=   darkstat.1
DOCS=   AUTHORS ChangeLog INSTALL ISSUES README

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>