summaryrefslogtreecommitdiff
path: root/net/darkstat/Makefile
blob: 43860e106208fc59305dda81cd517b84115e4338 (plain)
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
# $NetBSD: Makefile,v 1.7 2008/06/11 13:27:31 obache Exp $
#

DISTNAME=		darkstat-3.0.708
CATEGORIES=		net
MASTER_SITES=		http://dmr.ath.cx/net/darkstat/
DIST_SUBDIR=		darkstat
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		bartosz.kuzma@gmail.com
HOMEPAGE=		http://dmr.ath.cx/net/darkstat/
COMMENT=		Network statistics gatherer

PKG_DESTDIR_SUPPORT=	user-destdir

BUILD_TARGET=		darkstat

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-chroot-dir=${PREFIX}/share/darkstat/chroot

BUILDLINK_API_DEPENDS.libpcap+=	libpcap>=0.6.0

RCD_SCRIPTS=		darkstat

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/darkstat
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/darkstat/chroot

.include "../../devel/zlib/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"