PortSystem 1.0
-name xmltooling
-version @-VERSION-@
-categories shibboleth
-maintainers cantor.2@osu.edu
-description XMLTooling library for C++
-long_description Toolkit for security-aware XML processing
-homepage http://www.opensaml.org/
-master_sites http://shibboleth.internet2.edu/downloads/opensaml/cpp/${version}/
-checksums sha1 @CHECKSUM@
+name @PACKAGE@
+version @PACKAGE_VERSION@
+categories security textproc xml shibboleth
+maintainers snc scantor
+description XMLTooling library for C++
+long_description Toolkit for security-aware XML processing
+homepage http://www.opensaml.org/
-configure.args --disable-static \
- --with-log4shib=${prefix} \
- --with-openssl=${prefix} \
- --with-curl=${prefix} \
- --with-xerces=${prefix} \
- --with-xmlsec=${prefix}
+platforms darwin
+depends_lib port:curl \
+ port:xercesc3 \
+ port:xml-security-c \
+ port:log4shib
+master_sites http://shibboleth.internet2.edu/downloads/opensaml/cpp/2.3/
+checksums sha1 @CHECKSUM@
-depends_lib port:curl \
- port:xercesc \
- port:xml-security-c \
- port:log4shib
+configure.args --disable-static \
+ --with-openssl=${prefix} \
+ --with-curl=${prefix} \
+ --with-xerces=${prefix} \
+ --with-xmlsec=${prefix}
+
+
+livecheck.check regex
+livecheck.url http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/latest/mac/ports/shibboleth/xmltooling/Portfile
+livecheck.regex "version *(\\d+\\.\\d+(\\.\\d+)?)"