openbsd-ports/net/argus/Makefile
ajacoutot 4ec44530ca Simplify after recent rc.subr change.
The framework is now stable and we will start documenting it (at last).
2010-12-27 14:50:22 +00:00

42 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2010/12/27 14:50:22 ajacoutot Exp $
COMMENT = Audit Record Generation and Utilization System
DISTNAME = argus-3.0.2
REVISION = 4
CATEGORIES = net
HOMEPAGE = http://qosient.com/argus/
MASTER_SITES = http://qosient.com/argus/src/
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m pcap
USE_GROFF = Yes
NO_REGRESS = Yes
CONFIGURE_STYLE = gnu
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/config
BUILD_DEPENDS = devel/bison
MAKE_FLAGS = CCOPT=
CFLAGS += -DSYSCONFDIR=\\\"${SYSCONFDIR}\\\"
INSTALL_TARGET = install
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/argus/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/argus/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/argus/
find ${WRKSRC}/support -type f -name '*.orig' -exec rm -f {} \;
cd ${WRKSRC}/support && tar cf - . | \
tar -C ${PREFIX}/share/examples/argus/ -xf -
.include <bsd.port.mk>