diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2004-03-25 07:15:30 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2004-03-25 07:15:30 +0000 |
commit | ede2ad67fc4bc2254ad6f542040e2f0f6110f4ea (patch) | |
tree | 4d84949392483a181d17a2f5a65bd1c109210dcf /net-mgmt/bigsister/Makefile | |
parent | 52ab51d487bff888068a6edc9c5966c0b1db0883 (diff) | |
download | ports-ede2ad67fc4bc2254ad6f542040e2f0f6110f4ea.tar.gz ports-ede2ad67fc4bc2254ad6f542040e2f0f6110f4ea.zip |
Big Sister is a flexible network and system monitor with SNMP integration
and a web interface.
Notes
Notes:
svn path=/head/; revision=105192
Diffstat (limited to 'net-mgmt/bigsister/Makefile')
-rw-r--r-- | net-mgmt/bigsister/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/net-mgmt/bigsister/Makefile b/net-mgmt/bigsister/Makefile new file mode 100644 index 000000000000..0c7c4906a4b0 --- /dev/null +++ b/net-mgmt/bigsister/Makefile @@ -0,0 +1,59 @@ +# ports collection makefile for: bigsister +# Date created: 25 March 2004 +# Whom: Bruce M Simpson <bms@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= bigsister +PORTVERSION= 0.98c8 +CATEGORIES= net-mgmt +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= big-sister-${PORTVERSION} + +MAINTAINER= bms@FreeBSD.org +COMMENT= SNMP-based network and system monitor with web interface + +RUN_DEPENDS= \ + rrdtool:${PORTSDIR}/net/rrdtool \ + ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \ + ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \ + ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \ + ${SITE_PERL}/${PERL_ARCH}/SNMP.pm:${PORTSDIR}/net-mgmt/p5-SNMP \ + ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI + +GNU_CONFIGURE= yes +USE_RC_SUBR= yes +USE_REINPLACE= yes +NO_BUILD= yes + +WRKSRC= ${WRKDIR}/bs-${PORTVERSION} + +BS_USER?= bs +BS_PERL_EXT?= pl +BS_URL?= /bs +BS_CGI_PATH?= /cgi-bin + +SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \ + -e 's,%%RC_SUBR%%,${RC_SUBR},g' + +post-configure: + @${SED} ${SED_SCRIPT} < ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}.sh + +pre-install: + @${SETENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + +post-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d + +.include <bsd.port.mk> + +# +# XXX: Override default prefix behaviour for GNU_CONFIGURE. +# +CONFIGURE_ARGS= --prefix=${PREFIX}/bigsister ${CONFIGURE_TARGET} +CONFIGURE_ARGS+= --with-cgi=${BS_CGI_PATH} +CONFIGURE_ARGS+= --with-perlext=${BS_PERL_EXT} +CONFIGURE_ARGS+= --with-url=${BS_URL} +CONFIGURE_ARGS+= --with-user=${BS_USER} |