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

PORTNAME=   darkstat
PORTVERSION=    3.0.540
CATEGORIES= net-mgmt
MASTER_SITES=   http://dmr.ath.cx/net/darkstat/

MAINTAINER= emil@cs.rmit.edu.au
COMMENT=    Network statistics gatherer and reporter

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

MAN1=   darkstat.1
DOCS=   AUTHORS INSTALL README THANKS

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
EXTRA_PATCHES=  ${PATCHDIR}/extra-*
.endif

.include <bsd.port.post.mk>