source: trunk/dports/textproc/libplist/Portfile

Last change on this file was 152820, checked in by ryandesign@…, 12 months ago

libplist: disable silent rules

  • 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 152820 2016-09-19 04:32:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libplist
7version             1.12
8categories          textproc multimedia
9maintainers         nomaintainer
10description         Library for working with Apple Binary and XML Property Lists
11long_description    ${description}
12platforms           darwin
13license             GPL-2+ LGPL-2.1+
14homepage            http://libimobiledevice.org/
15master_sites        http://libimobiledevice.org/downloads/
16use_bzip2           yes
17
18checksums           rmd160  c1d6171766329dd809013c9061239636f8cb3998 \
19                    sha256  0effdedcb3de128c4930d8c03a3854c74c426c16728b8ab5f0a5b6bdc0b644be
20
21depends_build-append    port:pkgconfig
22depends_lib-append      port:libxml2
23
24configure.args-append   --disable-silent-rules \
25                        --without-cython
26
27build.args-append       CC="${configure.cc} ${configure.cflags} [get_canonical_archflags cc]" \
28                        CXX=${configure.cxx} \
29                        CPP=${configure.cpp}
30
31use_parallel_build  no
32
33default_variants    +python27
34
35variant python27 description {Use Python 2.7} {
36    depends_build-append    port:gsed \
37                            port:py27-setuptools
38    depends_lib-append      port:py27-cython
39    configure.args-delete   --without-cython
40    configure.env-append    PYTHON=${prefix}/bin/python2.7 \
41                            PYTHON_VERSION=2.7 \
42                            CYTHON=${prefix}/bin/cython-2.7
43}
44
45test.run            yes
46test.target         check
47
48livecheck.type      regex
49livecheck.url       ${homepage}
50livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.