2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2013/03/11 11:35:45 espie Exp $
|
2008-06-30 01:19:33 -04:00
|
|
|
|
2010-11-11 03:40:27 -05:00
|
|
|
COMMENT = Audit Record Generation and Utilization System
|
2008-06-30 01:19:33 -04:00
|
|
|
|
2012-07-08 15:20:58 -04:00
|
|
|
DISTNAME = argus-3.0.6.1
|
2010-11-11 03:40:27 -05:00
|
|
|
CATEGORIES = net
|
2008-06-30 01:19:33 -04:00
|
|
|
|
2010-11-11 03:40:27 -05:00
|
|
|
HOMEPAGE = http://qosient.com/argus/
|
|
|
|
MASTER_SITES = http://qosient.com/argus/src/
|
2008-06-30 01:19:33 -04:00
|
|
|
|
2010-11-11 03:40:27 -05:00
|
|
|
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
|
2008-06-30 01:19:33 -04:00
|
|
|
|
|
|
|
# GPLv2
|
2010-11-11 03:40:27 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
2008-06-30 01:19:33 -04:00
|
|
|
|
2012-07-08 15:20:58 -04:00
|
|
|
WANTLIB = c m pcap z
|
2008-06-30 01:19:33 -04:00
|
|
|
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST = Yes
|
2008-06-30 01:19:33 -04:00
|
|
|
|
2010-11-11 03:40:27 -05:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/config
|
2010-11-19 17:31:32 -05:00
|
|
|
BUILD_DEPENDS = devel/bison
|
2008-06-30 01:19:33 -04:00
|
|
|
|
2012-07-08 15:20:58 -04:00
|
|
|
MAKE_FLAGS = CCOPT="${CFLAGS}"
|
2010-11-11 03:40:27 -05:00
|
|
|
INSTALL_TARGET = install
|
2008-06-30 01:19:33 -04:00
|
|
|
|
|
|
|
post-install:
|
2010-04-15 15:15:19 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/argus/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/argus/
|
2012-07-08 15:20:58 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/argus/events
|
2010-11-11 14:33:27 -05:00
|
|
|
find ${WRKSRC}/support -type f -name '*.orig' -exec rm -f {} \;
|
2008-06-30 01:19:33 -04:00
|
|
|
cd ${WRKSRC}/support && tar cf - . | \
|
|
|
|
tar -C ${PREFIX}/share/examples/argus/ -xf -
|
2012-07-08 15:20:58 -04:00
|
|
|
cd ${PREFIX}/bin && mv argus-snmp argus-lsof argus-vmstat \
|
|
|
|
${PREFIX}/share/examples/argus/events
|
2008-06-30 01:19:33 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|