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

PORTNAME=   darkstat
PORTVERSION=    2.6
PORTREVISION=   1
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

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

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
PLIST_SUB=  NLS="@comment "
.else
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>