pkgsrc/security/rid/Makefile
obache a8e0961b5c Need yacc and lex to build.
PR#43594 by Aleksey Cheusov.
2010-07-10 11:38:57 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2010/07/10 11:38:57 obache Exp $
#
DISTNAME= rid-1.11
PKGREVISION= 1
CATEGORIES= security net
MASTER_SITES= http://www.theorygroup.com/Software/RID/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.theorygroup.com/Software/RID/
COMMENT= Remote Intrusion Detection to track down compromised hosts
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= YES
USE_TOOLS+= yacc lex
CONF_FILES= ${PREFIX}/share/examples/rid/rid.conf ${PKG_SYSCONFDIR}/rid.conf
INSTALLATION_DIRS= sbin share/doc/rid share/examples/rid
post-configure:
@echo "#undef DEFAULT_YYIN" >> ${WRKSRC}/netconfig.h
@echo "#define DEFAULT_YYIN \"${PKG_SYSCONFDIR}/rid.conf\"" >> \
${WRKSRC}/netconfig.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rid ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/BUGS ${WRKSRC}/CHANGES \
${WRKSRC}/COPYRIGHT ${WRKSRC}/CREDITS ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/rid
${INSTALL_DATA} ${WRKSRC}/rid.conf ${DESTDIR}${PREFIX}/share/examples/rid
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"