aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/argus/Makefile
blob: adba7210193aebf24cfc1654dedad90b0be13958 (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
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?=       ${PREFIX}/share/doc/argus-2.0

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/argus_bpf ${PREFIX}/sbin/argus
    ${MKDIR} ${PREFIX}/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 ${PREFIX}/man/man5
.endfor
.for i in ${MAN8}
    ${INSTALL_DATA} ${WRKSRC}/man/man8/$i ${PREFIX}/man/man8
.endfor
.endif

.include <bsd.port.mk>