39 lines
982 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.25 2020/03/20 16:44:25 naddy Exp $
2010-11-11 08:40:27 +00:00
COMMENT = Audit Record Generation and Utilization System
2016-08-12 21:38:52 +00:00
DISTNAME = argus-3.0.8.2
REVISION = 1
2010-11-11 08:40:27 +00:00
CATEGORIES = net
2010-11-11 08:40:27 +00:00
HOMEPAGE = http://qosient.com/argus/
MASTER_SITES = http://qosient.com/argus/src/
2010-11-11 08:40:27 +00:00
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
# GPLv2
PERMIT_PACKAGE = Yes
2012-07-08 19:20:58 +00:00
WANTLIB = c m pcap z
2013-03-11 11:35:43 +00:00
NO_TEST = Yes
2010-11-11 08:40:27 +00:00
CONFIGURE_STYLE = gnu
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/config
2010-11-19 22:31:32 +00:00
BUILD_DEPENDS = devel/bison
2012-07-08 19:20:58 +00:00
MAKE_FLAGS = CCOPT="${CFLAGS}"
2010-11-11 08:40:27 +00:00
INSTALL_TARGET = install
post-install:
2010-04-15 19:15:19 +00:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/argus/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/argus/
2012-07-08 19:20:58 +00:00
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/argus/events
find ${WRKSRC}/support -type f -name '*.orig' -delete
cd ${WRKSRC}/support && tar cf - . | \
tar -C ${PREFIX}/share/examples/argus/ -xf -
2012-07-08 19:20:58 +00:00
cd ${PREFIX}/bin && mv argus-snmp argus-lsof argus-vmstat \
${PREFIX}/share/examples/argus/events
.include <bsd.port.mk>