openbsd-ports/net/argus/Makefile

39 lines
1001 B
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.16 2013/03/11 11:35:45 espie Exp $
2010-11-11 03:40:27 -05:00
COMMENT = Audit Record Generation and Utilization System
2012-07-08 15:20:58 -04:00
DISTNAME = argus-3.0.6.1
2010-11-11 03:40:27 -05:00
CATEGORIES = net
2010-11-11 03:40:27 -05:00
HOMEPAGE = http://qosient.com/argus/
MASTER_SITES = http://qosient.com/argus/src/
2010-11-11 03:40:27 -05:00
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
# GPLv2
2010-11-11 03:40:27 -05:00
PERMIT_PACKAGE_CDROM = Yes
2012-07-08 15:20:58 -04:00
WANTLIB = c m pcap z
2010-10-18 14:36:45 -04:00
USE_GROFF = Yes
2013-03-11 07:35:43 -04:00
NO_TEST = Yes
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
2012-07-08 15:20:58 -04:00
MAKE_FLAGS = CCOPT="${CFLAGS}"
2010-11-11 03:40:27 -05:00
INSTALL_TARGET = install
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
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 15:20:58 -04:00
cd ${PREFIX}/bin && mv argus-snmp argus-lsof argus-vmstat \
${PREFIX}/share/examples/argus/events
.include <bsd.port.mk>