diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 16:52:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 16:52:13 +0000 |
commit | 693ec8bb1691dba5fb19266be3a686bf78df25f8 (patch) | |
tree | 9d6ef92caa3f4da88fc91862fe8a5c808dff16ed /security/snortsnarf/Makefile | |
parent | 53e12bf31faa6efecb30c73112ce8bc6ea046721 (diff) | |
download | pkgsrc-693ec8bb1691dba5fb19266be3a686bf78df25f8.tar.gz |
DESTDIR support
Diffstat (limited to 'security/snortsnarf/Makefile')
-rw-r--r-- | security/snortsnarf/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/security/snortsnarf/Makefile b/security/snortsnarf/Makefile index 716f63b9c52..2ac8b7580fe 100644 --- a/security/snortsnarf/Makefile +++ b/security/snortsnarf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2009/07/17 18:00:23 adrianp Exp $ +# $NetBSD: Makefile,v 1.18 2010/01/27 16:52:13 joerg Exp $ # DISTNAME= SnortSnarf-050314.1 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.silicondefense.com/software/snortsnarf/ COMMENT= Generate HTML report summaries from snort incident alerts +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= p5-Time-modules>=101.062101:../../time/p5-Time-modules NO_BUILD= YES @@ -24,14 +26,12 @@ SUBST_FILES.paths= snortsnarf.pl SUBST_SED.paths= -e "s|./include|${PREFIX}/share/snortsnarf|g" SUBST_MESSAGE.paths= Fixing paths. -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin share/snortsnarf share/doc/snortsnarf 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 + ${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf.pl ${DESTDIR}${PREFIX}/bin/snortsnarf.pl + cd ${WRKSRC}/include && pax -rw -pm * ${DESTDIR}${PREFIX}/share/snortsnarf + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/snortsnarf + ${INSTALL_DATA} ${WRKSRC}/Usage ${DESTDIR}${PREFIX}/share/doc/snortsnarf .include "../../mk/bsd.pkg.mk" |