pkgsrc/security/snortsnarf/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00

37 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2005/07/16 01:19:19 jlam Exp $
#
DISTNAME= SnortSnarf-050314.1
PKGNAME= ${DISTNAME:S/SnortSnarf-/snortsnarf-20/}
CATEGORIES= security net
MASTER_SITES= http://www.snort.org/dl/contrib/data_analysis/snortsnarf/
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.silicondefense.com/software/snortsnarf/
COMMENT= Generate HTML report summaries from snort incident alerts
DEPENDS+= p5-Time>=101.062101:../../time/p5-Time
NO_BUILD= YES
USE_TOOLS+= perl:run
REPLACE_PERL= snortsnarf.pl include/ann_xml.pl include/web_utils.pl \
include/xml_help.pl
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= snortsnarf.pl
SUBST_SED.paths= -e "s|./include|${PREFIX}/share/snortsnarf|g"
SUBST_MESSAGE.paths= "Fixing paths."
INSTALLATION_DIRS= bin
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf.pl ${PREFIX}/bin/snortsnarf.pl
${INSTALL_DATA_DIR} ${PREFIX}/share/snortsnarf
cd ${WRKSRC}/include && ${PAX} -rw -pm * ${PREFIX}/share/snortsnarf
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snortsnarf
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/snortsnarf
${INSTALL_DATA} ${WRKSRC}/Usage ${PREFIX}/share/doc/snortsnarf
.include "../../mk/bsd.pkg.mk"