diff options
author | adrianp <adrianp@pkgsrc.org> | 2008-12-08 13:05:22 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2008-12-08 13:05:22 +0000 |
commit | 56e1b071d4d16b6abfea7e300501f6498453edc2 (patch) | |
tree | 3970a8529aa74b12f06a7087e592192489bdcea7 /net/oinkmaster/Makefile | |
parent | 8943b093350743fcdc18a0e485b4f2dfc507b4e5 (diff) | |
download | pkgsrc-56e1b071d4d16b6abfea7e300501f6498453edc2.tar.gz |
Oinkmaster can either use external tools or Perl modules to do it's job
so expose this via options.mk
Silence SUBST_SED pkglint warning
PKGREVISION++
Diffstat (limited to 'net/oinkmaster/Makefile')
-rw-r--r-- | net/oinkmaster/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/oinkmaster/Makefile b/net/oinkmaster/Makefile index 91d23716624..47921f63236 100644 --- a/net/oinkmaster/Makefile +++ b/net/oinkmaster/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.14 2007/02/22 19:26:57 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2008/12/08 13:05:22 adrianp Exp $ DISTNAME= oinkmaster-2.0 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=oinkmaster/} @@ -8,7 +9,6 @@ MAINTAINER= adrianp@NetBSD.org HOMEPAGE= http://oinkmaster.sourceforge.net/ COMMENT= Manage snort rule updates -DEPENDS+= wget>=1.00:../../net/wget DEPENDS+= snort{,-mysql,-pgsql}-[0-9]*:../../net/snort NO_BUILD= yes @@ -22,13 +22,15 @@ DOCS= INSTALL LICENSE README README.templates UPGRADING FAQ USE_TOOLS+= perl:run REPLACE_PERL+= ${WRKSRC}/oinkmaster.pl +.include "options.mk" + PKG_SYSCONFSUBDIR= snort SUBST_CLASSES+= pub SUBST_STAGE.pub= post-patch SUBST_FILES.pub= oinkmaster.pl oinkmaster.conf oinkmaster.1 -SUBST_SED.pub= -e "s|/usr/local/etc|${PKG_SYSCONFDIR}|g" \ - -e "s|/usr/local|${PREFIX}|g" +SUBST_SED.pub= -e "s|/usr/local/etc|${PKG_SYSCONFDIR}|g" +SUBST_SED.pub+= -e "s|/usr/local|${PREFIX}|g" SUBST_MESSAGE.pub= Fixing harcoded paths. INSTALLATION_DIRS= bin share/snort/rules |