diff options
author | dirk <dirk@FreeBSD.org> | 2001-04-16 11:42:07 +0000 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-04-16 11:42:07 +0000 |
commit | 57c9cd66757b59a758c618d361c31371345b89fd (patch) | |
tree | 9ce999691a5dba11c5953b33079c522d7952d5a1 /net-mgmt/netsaint-plugins/Makefile | |
parent | cdefbe122d171afafcac63ca4380881d394df945 (diff) | |
download | FreeBSD-ports-57c9cd66757b59a758c618d361c31371345b89fd.zip FreeBSD-ports-57c9cd66757b59a758c618d361c31371345b89fd.tar.gz |
- Enable OpenLDAP and PostgreSQL support.
- Enable option selection using nice menu interface.
PR: ports/26611
Submitted by: Blaz Zupan <blaz@amis.net> (maintainer)
Diffstat (limited to 'net-mgmt/netsaint-plugins/Makefile')
-rw-r--r-- | net-mgmt/netsaint-plugins/Makefile | 47 |
1 files changed, 8 insertions, 39 deletions
diff --git a/net-mgmt/netsaint-plugins/Makefile b/net-mgmt/netsaint-plugins/Makefile index 7f1edf1..6d84d42 100644 --- a/net-mgmt/netsaint-plugins/Makefile +++ b/net-mgmt/netsaint-plugins/Makefile @@ -7,7 +7,7 @@ PORTNAME= netsaint-plugins PORTVERSION= 1.2.9.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://download.sourceforge.net/netsaintplug/ DISTNAME= ${PORTNAME}-1.2.9-3 @@ -24,48 +24,17 @@ CONFIGURE_ENV= LOCALBASE=${LOCALBASE} USE_AUTOMAKE= yes USE_GMAKE= yes -.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/net-snmp -RUN_DEPENDS+= snmpcheck:${PORTSDIR}/net/net-snmp -PLIST_SUB+= WANT_SNMP="" -CONFIGURE_ARGS+=--enable-snmp -.else -PLIST_SUB+= WANT_SNMP="@comment " -.endif - -.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 +pre-fetch: + @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure -.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 " +.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) +.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif pre-install: ${PERL} ${SCRIPTDIR}/createuser +post-clean: + @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc + .include <bsd.port.mk> |