1 # $NetBSD: Makefile,v 1.19 2012/10/03 21:57:34 wiz Exp $
4 DISTNAME
= SnortSnarf-050314.1
5 PKGNAME
= ${DISTNAME
:S
/SnortSnarf-
/snortsnarf-20
/}
7 CATEGORIES
= security net
8 MASTER_SITES
= http
://www.snort.org
/dl
/contrib
/data_analysis
/snortsnarf
/
10 MAINTAINER
= pkgsrc-users@NetBSD.org
11 HOMEPAGE
= http
://www.silicondefense.com
/software
/snortsnarf
/
12 COMMENT
= Generate HTML report summaries from snort incident alerts
14 DEPENDS
+= p5-Time-modules
>=101.062101:..
/..
/time
/p5-Time-modules
18 USE_TOOLS
+= pax perl
:run
19 REPLACE_PERL
= snortsnarf.pl
include/ann_xml.pl
include/web_utils.pl \
23 SUBST_STAGE.paths
= post-patch
24 SUBST_FILES.paths
= snortsnarf.pl
25 SUBST_SED.paths
= -e
"s|./include|${PREFIX}/share/snortsnarf|g"
26 SUBST_MESSAGE.paths
= Fixing paths.
28 INSTALLATION_DIRS
= bin share
/snortsnarf share
/doc
/snortsnarf
31 ${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf.pl
${DESTDIR}${PREFIX}/bin
/snortsnarf.pl
32 cd
${WRKSRC}/include && pax
-rw
-pm
* ${DESTDIR}${PREFIX}/share
/snortsnarf
33 ${INSTALL_DATA} ${WRKSRC}/README
${DESTDIR}${PREFIX}/share
/doc
/snortsnarf
34 ${INSTALL_DATA} ${WRKSRC}/Usage
${DESTDIR}${PREFIX}/share
/doc
/snortsnarf
36 .
include "../../mk/bsd.pkg.mk"