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