summaryrefslogtreecommitdiff
path: root/net/argus/Makefile
blob: 0021a1d2ddf43f055057619357fddffd248be0a9 (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
32
33
34
35
36
37
38
39
40
41
42
# $NetBSD: Makefile,v 1.1.1.1 2004/07/07 17:22:30 xtraeme Exp $
#

DISTNAME=	argus-3.3
CATEGORIES= 	net
MASTER_SITES=	http://www.tcp4me.com/code/argus-archive/
EXTRACT_SUFX=	.tgz

MAINTAINER=	argus@tcp4me.com
HOMEPAGE=	http://argus.tcp4me.com/
COMMENT=	System and Network Monitoring Application

BUILD_DEPENDS+=	fping>=2.4b2:../../net/fping
BUILD_DEPENDS+=	p5-GD>=2.11:../../graphics/p5-GD
BUILD_DEPENDS+=	p5-Net-SSLeay-[0-9]*:../../security/p5-Net-SSLeay
BUILD_DEPENDS+=	p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
BUILD_DEPENDS+=	p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
BUILD_DEPENDS+=	p5-DBI-[0-9]*:../../databases/p5-DBI

USE_BUILDLINK3=		yes
USE_PERL5=		yes
USE_PKGINSTALL=		yes
HAS_CONFIGURE= 		yes
CONFIGURE_SCRIPT=	${WRKSRC}/Configure

CONFIGURE_ARGS+=	--bin_dir  ${PREFIX}/bin
CONFIGURE_ARGS+=	--sbin_dir ${PREFIX}/sbin
CONFIGURE_ARGS+=	--lib_dir  ${PREFIX}/lib/argus
CONFIGURE_ARGS+=	--data_dir ${VARBASE}/argus

RCD_SCRIPTS=		argusd

.include "../../mk/bsd.prefs.mk"

BUILD_DEFS+=		USE_INET6

.if !empty(USE_INET6:M[Yy][Ee][Ss])
BUILD_DEPENDS+= fping6-[0-9]*:../../net/fping6
BUILD_DEPENDS+= p5-Socket6>=0.12:../../net/p5-Socket6
.endif

.include "../../mk/bsd.pkg.mk"