- Convert options to the new format

PR:		ports/172558
Submitted by:	pgj
Approved by:	maintainer
Feature safe:	yes
This commit is contained in:
Gabor Pali 2012-10-28 20:07:39 +00:00
parent e27a8fab44
commit f0ec39444f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306569

View file

@ -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 <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>