pkgsrc/net/argus/Makefile
markd 886cab8ed4 Fix finding perl in the Configure for the new tools infrastructure.
Also change dependencies from build to run as needed while in use.

oked during "deep freeze" by Alistair Crooks.
2005-06-22 13:14:50 +00:00

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2005/06/22 13:14:50 markd Exp $
#
DISTNAME= argus-3.3
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.tcp4me.com/code/argus-archive/
EXTRACT_SUFX= .tgz
MAINTAINER= argus@tcp4me.com
HOMEPAGE= http://argus.tcp4me.com/
COMMENT= System and Network Monitoring Application
DEPENDS+= fping>=2.4b2:../../net/fping
DEPENDS+= p5-GD>=2.11:../../graphics/p5-GD
DEPENDS+= p5-Net-SSLeay-[0-9]*:../../security/p5-Net-SSLeay
DEPENDS+= p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
USE_TOOLS+= perl
TOOLS_DEPMETHOD.perl= DEPENDS
USE_PKGINSTALL= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ${WRKSRC}/Configure
CONFIGURE_ARGS+= --bin_dir ${PREFIX}/bin
CONFIGURE_ARGS+= --sbin_dir ${PREFIX}/sbin
CONFIGURE_ARGS+= --lib_dir ${PREFIX}/lib/argus
CONFIGURE_ARGS+= --data_dir ${VARBASE}/argus
CONFIGURE_ENV+= PERL=${TOOLS_PERL5:Q}
RCD_SCRIPTS= argusd
.include "options.mk"
.include "../../mk/bsd.pkg.mk"