Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / snortsnarf / Makefile
blobbceea93a6ec4434c8382fba6d99a671025675a60
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/}
6 PKGREVISION= 1
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
16 NO_BUILD= YES
18 USE_TOOLS+= pax perl:run
19 REPLACE_PERL= snortsnarf.pl include/ann_xml.pl include/web_utils.pl \
20 include/xml_help.pl
22 SUBST_CLASSES+= paths
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
30 do-install:
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"