svn commit: r306569 - head/security/apache-xml-security-c
Gabor Pali
pgj at FreeBSD.org
Sun Oct 28 20:07:40 UTC 2012
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>
More information about the svn-ports-head
mailing list