Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 20:07:39 +0000 (UTC)
From:      Gabor Pali <pgj@FreeBSD.org>
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
Message-ID:  <201210282007.q9SK7dM4089643@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
 
-.if defined(WITH_XERCES_3)
+.include <bsd.port.options.mk>
+
+.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 <bsd.port.post.mk>
+
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210282007.q9SK7dM4089643>