38 lines
985 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.17 2015/01/22 17:47:51 naddy Exp $
2010-11-11 08:40:27 +00:00
COMMENT = Audit Record Generation and Utilization System
2012-07-08 19:20:58 +00:00
DISTNAME = argus-3.0.6.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
2010-11-11 08:40:27 +00:00
PERMIT_PACKAGE_CDROM = 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' -exec rm -f {} \;
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>