summaryrefslogtreecommitdiffstats
path: root/net-mgmt/argus/Makefile
blob: f71910be0aebd8c02e91ba66707cee5815b17c94 (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
43
44
45
46
47
48
49
50
51
52
# New ports collection makefile for:	argus
# Date created:		26 November 1998
# Whom:			Jonathan Hanna <jhanna@home.com>
#
# $FreeBSD$
#

PORTNAME=	argus
PORTVERSION=	2.0.6
CATEGORIES=	net-mgmt security
MASTER_SITES=	http://qosient.com/argus/src/ \
		ftp://qosient.com/pub/argus/src/

MAINTAINER=	se@freebsd.org
COMMENT=	A generic IP network transaction auditing tool

.if defined(WITH_SASL)
LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
.endif
RUN_DEPENDS=	${LOCALBASE}/bin/ragrep:${PORTSDIR}/net-mgmt/argus-clients

USE_BISON=	true
GNU_CONFIGURE=	true
CONFIGURE_ARGS=	--exec-prefix=${PREFIX}
.if defined(WITH_SASL)
CONFIGURE_ARGS+= --with-sasl=${PREFIX}
.endif

DOCSDIR?=       ${TARGETDIR}/share/doc/argus-2.0

MAN5=		argus.5 argus.conf.5
MAN8=		argus.8

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/argus_bpf ${TARGETDIR}/sbin/argus
	${MKDIR} ${TARGETDIR}/argus/archive
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}/html/man
.for i in  doc/html/man/*.html
	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}/html/man
.endfor
.endif
.if !defined(NOMAN)
.for i in ${MAN5}
	${INSTALL_DATA} ${WRKSRC}/man/man5/$i ${TARGETDIR}/man/man5
.endfor
.for i in ${MAN8}
	${INSTALL_DATA} ${WRKSRC}/man/man8/$i ${TARGETDIR}/man/man8
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud