summaryrefslogtreecommitdiff
path: root/net/nsca
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-05-01 16:59:23 +0000
committerjmmv <jmmv@pkgsrc.org>2003-05-01 16:59:23 +0000
commitb8fb48b026b31c006c9ae6b1b245c48c4d326640 (patch)
treed61f54105e8db44cfc63c097d1c8e73be2be6b8f /net/nsca
parentad1f113830863cb6f082268896f8f1e927b06182 (diff)
downloadpkgsrc-b8fb48b026b31c006c9ae6b1b245c48c4d326640.tar.gz
Move example files to the examples directory share/examples/nsca.
While here, use buildlink2. Bump PKGREVISION to 2.
Diffstat (limited to 'net/nsca')
-rw-r--r--net/nsca/Makefile10
-rw-r--r--net/nsca/PLIST7
2 files changed, 11 insertions, 6 deletions
diff --git a/net/nsca/Makefile b/net/nsca/Makefile
index c6742b53ce2..eda530153b0 100644
--- a/net/nsca/Makefile
+++ b/net/nsca/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2002/03/13 17:37:32 fredb Exp $
+# $NetBSD: Makefile,v 1.4 2003/05/01 16:59:23 jmmv Exp $
#
DISTNAME= nsca-1.1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://netsaint.sourceforge.net/download/
@@ -13,11 +13,15 @@ COMMENT= submit passive NetSaint checks results to another server
DEPENDS+= netsaint-base-[0-9]*:../../net/netsaint-base
GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+
+EGDIR= ${PREFIX}/share/examples/ncsa
do-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
.for prg in nsca send_nsca
${INSTALL_PROGRAM} ${WRKSRC}/src/${prg} ${PREFIX}/sbin
- ${INSTALL_DATA} ${WRKSRC}/${prg}.cfg ${PREFIX}/etc/${prg}.cfg.sample
+ ${INSTALL_DATA} ${WRKSRC}/${prg}.cfg ${EGDIR}
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nsca
.for doc in Changelog README SECURITY
diff --git a/net/nsca/PLIST b/net/nsca/PLIST
index 39a018cdd38..aa683c5e760 100644
--- a/net/nsca/PLIST
+++ b/net/nsca/PLIST
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:57:04 zuntum Exp $
-etc/nsca.cfg.sample
-etc/send_nsca.cfg.sample
+@comment $NetBSD: PLIST,v 1.2 2003/05/01 16:59:23 jmmv Exp $
sbin/nsca
sbin/send_nsca
share/doc/nsca/Changelog
share/doc/nsca/README
share/doc/nsca/SECURITY
+share/examples/ncsa/nsca.cfg
+share/examples/ncsa/send_nsca.cfg
+@dirrm share/examples/ncsa
@dirrm share/doc/nsca