source: trunk/dports/net/libmetalink/Portfile

Last change on this file was 105857, checked in by ryandesign@…, 4 years ago

libmetalink: new port, version 0.1.2 (#39036)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 105857 2013-05-08 06:59:02Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libmetalink
7version             0.1.2
8categories          net devel
9platforms           darwin
10maintainers         gwmail.gwu.edu:egall openmaintainer
11license             MIT
12
13description         ${name} is a library for reading Metalink XML download description files.
14
15long_description    ${description} It is intended to help developers of C programs add \
16                    Metalink functionality.
17
18homepage            https://launchpad.net/${name}
19master_sites        ${homepage}/trunk/packagingfix/+download/
20
21use_bzip2           yes
22
23checksums           rmd160  0920813d6117e33f932020688f74ed0a0e397421 \
24                    sha256  cbed9121bf550ef14a434d6ed3d8806ded7a339db16b698cfa2f39fdc3d48bf6
25
26depends_lib-append  port:expat
27
28configure.args-append \
29                    --with-libexpat \
30                    --without-libxml2 \
31                    --disable-xmltest
32
33# Making a variant for this until ticket #38208 is resolved.
34variant test description {Build unit tests} {
35    depends_build-append \
36                    port:pkgconfig \
37                    port:cunit
38    configure.env-append \
39                    PKG_CONFIG=${prefix}/bin/pkg-config
40    configure.args-delete \
41                    --disable-xmltest
42    configure.args-append \
43                    --enable-maintainer-mode \
44                    --enable-xmltest
45    test.run        yes
46    test.target-append \
47                    check
48}
49
50livecheck.type      regex
51livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.