Move building of packaging files into configure.
[shibboleth/cpp-xmltooling.git] / Portfile.in
index eb6aa25..ecebc3a 100644 (file)
@@ -1,24 +1,29 @@
 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/
+  
+platforms           darwin
+depends_lib         port:curl \
+                    port:xercesc3 \
+                    port:xml-security-c \
+                    port:log4shib
 
-configure.args     --disable-static \
-                   --with-log4shib=${prefix} \
-                   --with-openssl=${prefix} \
-                   --with-curl=${prefix} \
-                   --with-xerces=${prefix} \
-                   --with-xmlsec=${prefix}
-
-
-depends_lib        port:curl \
-                   port:xercesc \
-                   port:xml-security-c \
-                   port:log4shib
+master_sites        http://shibboleth.internet2.edu/downloads/opensaml/cpp/2.2/
+checksums           sha1 @CHECKSUM@
+  
+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+)?)"