summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-03-01 22:43:04 +0000
committerwiz <wiz@pkgsrc.org>2006-03-01 22:43:04 +0000
commit3f3cfa74e54dc911577fc7db8a315f9a74d3c51b (patch)
tree3786e3a73315f48fa8a65a031ed228ac6671ad9e /net
parentc453b9b2e843ea36be5a182b930a33d08e2759f5 (diff)
downloadpkgsrc-3f3cfa74e54dc911577fc7db8a315f9a74d3c51b.tar.gz
Fix PLIST, add missing PERL dependency, fix install target.
Bump PKGREVISION.
Diffstat (limited to 'net')
-rw-r--r--net/nagios-nsca/Makefile18
-rw-r--r--net/nagios-nsca/PLIST3
2 files changed, 12 insertions, 9 deletions
diff --git a/net/nagios-nsca/Makefile b/net/nagios-nsca/Makefile
index e2963e8c012..eb0c22ee190 100644
--- a/net/nagios-nsca/Makefile
+++ b/net/nagios-nsca/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/02/18 17:13:45 bouyer Exp $
+# $NetBSD: Makefile,v 1.2 2006/03/01 22:43:04 wiz Exp $
#
+DISTNAME= nsca-2.5
PKGNAME= nagios-${DISTNAME}
-DISTNAME= nsca-${NSCAVERSION}
-NSCAVERSION= 2.5
+PKGREVISION= 1
CATEGORIES= net sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nagios/}
@@ -14,17 +14,19 @@ COMMENT= Remote/passive network service for nagios
EGDIR= ${PREFIX}/share/examples/nagios
EGFILES= nsca.cfg
+USE_TOOLS+= perl
+
.for files in ${EGFILES}
CONF_FILES+= ${EGDIR}/${files} ${PKG_SYSCONFDIR}/${files}
.endfor
.include "../../net/nagios-base/Makefile.common"
-.include "../../mk/bsd.prefs.mk"
-.include "../../security/libmcrypt/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
-
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/nsca ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/send_nsca ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/sample-config/nsca.cfg ${EGDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample-config/nsca.cfg ${EGDIR}
+
+.include "../../security/libmcrypt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/nagios-nsca/PLIST b/net/nagios-nsca/PLIST
index 9e2d7ccc424..d782d4cedca 100644
--- a/net/nagios-nsca/PLIST
+++ b/net/nagios-nsca/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/18 17:13:45 bouyer Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/03/01 22:43:04 wiz Exp $
bin/nsca
bin/send_nsca
share/examples/nagios/nsca.cfg
+@dirrm share/examples/nagios