Fix PLIST, add missing PERL dependency, fix install target.

Bump PKGREVISION.
This commit is contained in:
wiz 2006-03-01 22:43:04 +00:00
parent c453b9b2e8
commit 3f3cfa74e5
2 changed files with 12 additions and 9 deletions

View file

@ -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"

View file

@ -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