From owner-svn-ports-all@FreeBSD.ORG Sun Sep 16 15:03:18 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C74E8106566C; Sun, 16 Sep 2012 15:03:18 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B2D548FC12; Sun, 16 Sep 2012 15:03:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8GF3I00012981; Sun, 16 Sep 2012 15:03:18 GMT (envelope-from dinoex@svn.freebsd.org) Received: (from dinoex@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8GF3IA9012979; Sun, 16 Sep 2012 15:03:18 GMT (envelope-from dinoex@svn.freebsd.org) Message-Id: <201209161503.q8GF3IA9012979@svn.freebsd.org> From: Dirk Meyer Date: Sun, 16 Sep 2012 15:03:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r304354 - head/net-mgmt/xymon-server X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2012 15:03:18 -0000 Author: dinoex Date: Sun Sep 16 15:03:18 2012 New Revision: 304354 URL: http://svn.freebsd.org/changeset/ports/304354 Log: - use OPTIONS_DEFINE Modified: head/net-mgmt/xymon-server/Makefile Modified: head/net-mgmt/xymon-server/Makefile ============================================================================== --- head/net-mgmt/xymon-server/Makefile Sun Sep 16 14:50:16 2012 (r304353) +++ head/net-mgmt/xymon-server/Makefile Sun Sep 16 15:03:18 2012 (r304354) @@ -66,17 +66,17 @@ MAN8= enadis.cgi.8 xymon-mailack.8 xymon xymond_hostdata.8 xymond_rrd.8 xymond_sample.8 xymonfetch.8 \ xymonlaunch.8 xymonproxy.8 msgcache.8 trimhistory.8 -OPTIONS= LDAP "Enable LDAP support" off \ - SNMP "Enable Net-SNMP support" off +OPTIONS_DEFINE=LDAP NETSNMP +NETSNMP_DESC=Enable Net-SNMP support -.include +.include -.if defined(WITH_LDAP) +.if ${PORT_OPTIONS:MLDAP} MAKE_ENV+= WITH_LDAP=1 USE_OPENLDAP= yes .endif -.if defined(WITH_NETSNMP) +.if ${PORT_OPTIONS:MNETSNMP} MAKE_ENV+= WITH_NETSNMP=1 LIB_DEPENDS+= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp .endif @@ -109,4 +109,4 @@ post-install: ${WWWDIR}/server/etc/${i} .endfor -.include +.include