# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name libmetalink version 0.1.2 categories net devel platforms darwin maintainers gwmail.gwu.edu:egall openmaintainer license MIT description ${name} is a library for reading Metalink XML download description files. long_description ${description} It is intended to help developers of C programs add \ Metalink functionality. homepage https://launchpad.net/${name} master_sites ${homepage}/trunk/packagingfix/+download/ use_bzip2 yes checksums rmd160 0920813d6117e33f932020688f74ed0a0e397421 \ sha256 cbed9121bf550ef14a434d6ed3d8806ded7a339db16b698cfa2f39fdc3d48bf6 depends_lib-append port:expat configure.args-append \ --with-libexpat \ --without-libxml2 \ --disable-xmltest # Making a variant for this until ticket #38208 is resolved. variant test description {Build unit tests} { depends_build-append \ port:pkgconfig \ port:cunit configure.env-append \ PKG_CONFIG=${prefix}/bin/pkg-config configure.args-delete \ --disable-xmltest configure.args-append \ --enable-maintainer-mode \ --enable-xmltest test.run yes test.target-append \ check } livecheck.type regex livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}