diff options
author | pgj <pgj@FreeBSD.org> | 2012-10-29 04:07:39 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2012-10-29 04:07:39 +0800 |
commit | e419900c00b1f150059b7c0588106c34e3229708 (patch) | |
tree | 94783bb0f6a7d84c5fa7184923dac9a14c1ef842 /security | |
parent | 9c375857d0d410a50df723ced52eb4564f847d82 (diff) | |
download | freebsd-ports-gnome-e419900c00b1f150059b7c0588106c34e3229708.tar.gz freebsd-ports-gnome-e419900c00b1f150059b7c0588106c34e3229708.tar.zst freebsd-ports-gnome-e419900c00b1f150059b7c0588106c34e3229708.zip |
- Convert options to the new format
PR: ports/172558
Submitted by: pgj
Approved by: maintainer
Feature safe: yes
Diffstat (limited to 'security')
-rw-r--r-- | security/apache-xml-security-c/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
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 <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> |