diff options
author | dirk <dirk@FreeBSD.org> | 2001-03-30 19:08:16 +0000 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-03-30 19:08:16 +0000 |
commit | df5642caf5458623e7f4deb05022b1cc43e013b1 (patch) | |
tree | c05ac5661eb44cb18b2c880143cba4029fd9746b /net-mgmt/netsaint-plugins/Makefile | |
parent | 4b0d5a9e1877e4ee77a05f932817ab5ee56f232f (diff) | |
download | FreeBSD-ports-df5642caf5458623e7f4deb05022b1cc43e013b1.zip FreeBSD-ports-df5642caf5458623e7f4deb05022b1cc43e013b1.tar.gz |
- upgrade to 1.2.9.2
- Blaz Zupan <blaz@amis.net> is the new maintainer
- add radius and mysql support
PR: ports/25883
Submitted by: Blaz Zupan <blaz@amis.net>
Diffstat (limited to 'net-mgmt/netsaint-plugins/Makefile')
-rw-r--r-- | net-mgmt/netsaint-plugins/Makefile | 52 |
1 files changed, 44 insertions, 8 deletions
diff --git a/net-mgmt/netsaint-plugins/Makefile b/net-mgmt/netsaint-plugins/Makefile index 5c76e9b..e321e17 100644 --- a/net-mgmt/netsaint-plugins/Makefile +++ b/net-mgmt/netsaint-plugins/Makefile @@ -6,30 +6,66 @@ # PORTNAME= netsaint-plugins -PORTVERSION= 1.2.9.1 +PORTVERSION= 1.2.9.2 CATEGORIES= net MASTER_SITES= http://download.sourceforge.net/netsaintplug/ -DISTNAME= ${PORTNAME}-1.2.9-1 +DISTNAME= ${PORTNAME}-1.2.9-2 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= blaz@amis.net + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --sbindir=${PREFIX}/share/netsaint/sbin \ + --libexecdir=${PREFIX}/libexec/netsaint \ + --datadir=${PREFIX}/share/netsaint \ + --sysconfdir=${PREFIX}/etc/netsaint \ + --localstatedir=${PREFIX}/var/netsaint +CONFIGURE_ENV= LOCALBASE=${LOCALBASE} +USE_AUTOMAKE= yes +USE_GMAKE= yes # make absolutely sure we have the user/group added! -BUILD_DEPENDS= netsaint:${PORTSDIR}/net/netsaint \ - automake:${PORTSDIR}/devel/automake +BUILD_DEPENDS= netsaint:${PORTSDIR}/net/netsaint RUN_DEPENDS= netsaint:${PORTSDIR}/net/netsaint + .if defined(WANT_QSTAT) BUILD_DEPENDS+= qstat:${PORTSDIR}/games/qstat RUN_DEPENDS+= qstat:${PORTSDIR}/games/qstat +PLIST_SUB+= WANT_QSTAT="" +.else +PLIST_SUB+= WANT_QSTAT="@comment " .endif + .if defined(WANT_FPING) BUILD_DEPENDS+= fping:${PORTSDIR}/net/fping RUN_DEPENDS+= fping:${PORTSDIR}/net/fping +PLIST_SUB+= WANT_FPING="" +.else +PLIST_SUB+= WANT_FPING="@comment " .endif + .if defined(WANT_SNMP) -BUILD_DEPENDS+= snmpcheck:${PORTSDIR}/net/ucd-snmp -RUN_DEPENDS+= snmpcheck:${PORTSDIR}/net/ucd-snmp +BUILD_DEPENDS+= snmpcheck:${PORTSDIR}/net/net-snmp +RUN_DEPENDS+= snmpcheck:${PORTSDIR}/net/net-snmp +PLIST_SUB+= WANT_SNMP="" +CONFIGURE_ARGS+=--enable-snmp +.else +PLIST_SUB+= WANT_SNMP="@comment " .endif -GNU_CONFIGURE= yes +.if defined(WANT_RADIUS) +LIB_DEPENDS+= radiusclient.0:${PORTSDIR}/net/radiusclient +PLIST_SUB+= WANT_RADIUS="" +CONFIGURE_ARGS+=--enable-radius +.else +PLIST_SUB+= WANT_RADIUS="@comment " +.endif + +.if defined(WANT_MYSQL) +LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client +PLIST_SUB+= WANT_MYSQL="" +CONFIGURE_ARGS+=--with-mysqllibdir=${LOCALBASE}/lib/mysql +.else +PLIST_SUB+= WANT_MYSQL="@comment " +.endif .include <bsd.port.mk> |