From owner-svn-ports-head@FreeBSD.ORG Sun Oct 28 20:07:40 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3168764C; Sun, 28 Oct 2012 20:07:40 +0000 (UTC) (envelope-from pgj@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 177F08FC0C; Sun, 28 Oct 2012 20:07:40 +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 q9SK7dow089645; Sun, 28 Oct 2012 20:07:39 GMT (envelope-from pgj@svn.freebsd.org) Received: (from pgj@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9SK7dM4089643; Sun, 28 Oct 2012 20:07:39 GMT (envelope-from pgj@svn.freebsd.org) Message-Id: <201210282007.q9SK7dM4089643@svn.freebsd.org> From: Gabor Pali Date: Sun, 28 Oct 2012 20:07:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306569 - head/security/apache-xml-security-c X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 20:07:40 -0000 Author: pgj Date: Sun Oct 28 20:07:39 2012 New Revision: 306569 URL: http://svn.freebsd.org/changeset/ports/306569 Log: - Convert options to the new format PR: ports/172558 Submitted by: pgj Approved by: maintainer Feature safe: yes Modified: head/security/apache-xml-security-c/Makefile Modified: head/security/apache-xml-security-c/Makefile ============================================================================== --- head/security/apache-xml-security-c/Makefile Sun Oct 28 20:05:02 2012 (r306568) +++ head/security/apache-xml-security-c/Makefile Sun Oct 28 20:07:39 2012 (r306569) @@ -1,9 +1,5 @@ -# New ports collection makefile for: apache-xml-security-c -# Date created: 06 Febuary 2007 -# Whom: Tony Maher -# +# Created by: Tony Maher # $FreeBSD$ -# PORTNAME= xml-security-c PORTVERSION= 1.6.1 @@ -17,12 +13,16 @@ COMMENT= Apache XML security libraries - LICENSE= AL2 -OPTIONS= XERCES_3 "With Xerces vesion 3.x (shibboleth2 requires)" on +OPTIONS_DEFINE= XERCES_3 +OPTIONS_DEFAULT= XERCES_3 + +XERCES_3_DESC= With Xerces vesion 3.x (shibboleth2 requires) USE_OPENSSL= yes -.include -.if defined(WITH_XERCES_3) +.include + +.if ${PORT_OPTIONS:MXERCES_3} LIB_DEPENDS+= xerces-c.3:${PORTSDIR}/textproc/xerces-c3 .else LIB_DEPENDS+= xerces-c.27:${PORTSDIR}/textproc/xerces-c2 @@ -34,4 +34,5 @@ USE_AUTOTOOLS= libtool USE_GMAKE= yes USE_LDCONFIG= yes CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} -.include + +.include