aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/darkstat/Makefile
blob: 1c788a1302037340defc7c5316221ef87518ae40 (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
# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$

PORTNAME=   darkstat
PORTVERSION=    3.0.717
CATEGORIES= net-mgmt
MASTER_SITES=   http://unix4lyfe.org/darkstat/

MAINTAINER= emikulic@gmail.com
COMMENT=    Network statistics gatherer and reporter

USE_RC_SUBR=    darkstat

USE_BZIP2=  yes
GNU_CONFIGURE=  yes

MAN8=       darkstat.8
PORTDOCS=   AUTHORS INSTALL README
PLIST_FILES=    sbin/darkstat

OPTIONS_DEFINE= DOCS

NO_STAGE=   yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
post-install:
    @${INSTALL} -d ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>