aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/argus/Makefile
blob: 9711b0e60ac24e2d0bcea18da364f9e88aa76258 (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
53
54
55
56
57
# New ports collection makefile for:    argus
# Date created:     26 November 1998
# Whom:         Jonathan Hanna <jhanna@home.com>
#
# $FreeBSD$
#

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

MAINTAINER= 5u623l20@gmail.com
COMMENT=    A generic IP network transaction auditing tool

PORTSCOUT=  ignore:1    # This is the last version of 2.0.X branch

CONFLICTS=  argus-3* argus-sasl-3*

.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=  build
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>