pkgsrc/net/snort-rules/Makefile
2017-08-01 14:58:51 +00:00

25 lines
793 B
Makefile

# $NetBSD: Makefile,v 1.7 2017/08/01 14:59:03 wiz Exp $
DISTNAME= Community-Rules-2.4
PKGNAME= snort-rules-2.4
CATEGORIES= net security
MASTER_SITES= https://www.snort.org/pub-bin/downloads.cgi/Download/comm_rules/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.snort.org/
COMMENT= Network Intrusion Detection System (Community Rules)
DEPENDS+= snort{,-mysql,-pgsql}>=2.4.0:../../net/snort
NO_BUILD= YES
NO_CONFIGURE= YES
INSTALLATION_DIRS+= share/snort/rules share/doc/snort/signatures
do-install:
${INSTALL_DATA} ${WRKDIR}/rules/*.rules ${DESTDIR}${PREFIX}/share/snort/rules
${INSTALL_DATA} ${WRKDIR}/rules/*.map ${DESTDIR}${PREFIX}/share/snort/rules
${INSTALL_DATA} ${WRKDIR}/docs/*.txt \
${DESTDIR}${PREFIX}/share/doc/snort/signatures
.include "../../mk/bsd.pkg.mk"