freebsd-ports/net-mgmt/argus/Makefile
Stefan Eßer 397ebd4796 Update to Argus release 2.0.6.
The clients are no longer part of this port, but will be built by
the argus-clients port, which is listed as a dependency.
Since both the argus and argus-clients ports contain the same
COPYING file and want to install it into the same directory, I have
disabled installation of the copyright file by this port, assuming
that the dependent argus-clients port already did it ...
2004-05-17 21:33:24 +00:00

52 lines
1.2 KiB
Makefile

# 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>