From f0ec39444fed3d959dac15da1544d0acd17a9533 Mon Sep 17 00:00:00 2001 From: Gabor Pali Date: Sun, 28 Oct 2012 20:07:39 +0000 Subject: - Convert options to the new format PR: ports/172558 Submitted by: pgj Approved by: maintainer Feature safe: yes --- security/apache-xml-security-c/Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'security/apache-xml-security-c') diff --git a/security/apache-xml-security-c/Makefile b/security/apache-xml-security-c/Makefile index 1e61caf00473..313269573760 100644 --- a/security/apache-xml-security-c/Makefile +++ b/security/apache-xml-security-c/Makefile @@ -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 - C++ version 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 -- cgit v1.2.3