Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / rid / Makefile
blobc0b546bbd9fbe10006df06481174497f3fbae997
1 # $NetBSD: Makefile,v 1.16 2013/02/06 19:31:05 jperkin Exp $
4 DISTNAME= rid-1.11
5 PKGREVISION= 2
6 CATEGORIES= security net
7 MASTER_SITES= http://www.theorygroup.com/Software/RID/
8 EXTRACT_SUFX= .tgz
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://www.theorygroup.com/Software/RID/
12 COMMENT= Remote Intrusion Detection to track down compromised hosts
14 MAKE_JOBS_SAFE= no
16 GNU_CONFIGURE= YES
17 USE_TOOLS+= yacc lex
19 CONF_FILES= ${PREFIX}/share/examples/rid/rid.conf ${PKG_SYSCONFDIR}/rid.conf
21 INSTALLATION_DIRS= sbin share/doc/rid share/examples/rid
23 post-configure:
24 @${ECHO} "#undef DEFAULT_YYIN" >> ${WRKSRC}/netconfig.h
25 @${ECHO} "#define DEFAULT_YYIN \"${PKG_SYSCONFDIR}/rid.conf\"" >> \
26 ${WRKSRC}/netconfig.h
28 do-install:
29 ${INSTALL_PROGRAM} ${WRKSRC}/rid ${DESTDIR}${PREFIX}/sbin
30 ${INSTALL_DATA} ${WRKSRC}/BUGS ${WRKSRC}/CHANGES \
31 ${WRKSRC}/COPYRIGHT ${WRKSRC}/CREDITS ${WRKSRC}/README \
32 ${DESTDIR}${PREFIX}/share/doc/rid
33 ${INSTALL_DATA} ${WRKSRC}/rid.conf ${DESTDIR}${PREFIX}/share/examples/rid
35 .include "../../net/libpcap/buildlink3.mk"
36 .include "../../mk/bsd.pkg.mk"