Ignore:
Timestamp:
Oct 6, 2015, 3:11:13 AM (4 years ago)
Author:
khindenburg@…
Message:

libplist: update to 1.12

  • no longer using cmake
  • patch not needed
  • fix dependencies: remove glib2/swig; add gsed
  • correct python27 + cython
  • remove python26
  • enable tests
Location:
trunk/dports/textproc/libplist
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/libplist/Portfile

    r122491 r140939  
    33
    44PortSystem          1.0
    5 PortGroup           cmake 1.0
    65
    76name                libplist
    8 version             1.10
     7version             1.12
    98categories          textproc multimedia
    109maintainers         nomaintainer
     
    1716use_bzip2           yes
    1817
    19 checksums           rmd160  b9d8d69a064054acd82d53cbb34d8a604dbaa915 \
    20                     sha256  f44c52a0f8065d41d44772a7484f93bc5e7da21a8f4a9ad3f38a36b827eeff0b
     18checksums           rmd160  c1d6171766329dd809013c9061239636f8cb3998 \
     19                    sha256  0effdedcb3de128c4930d8c03a3854c74c426c16728b8ab5f0a5b6bdc0b644be
    2120
    22 depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
    23                     port:libxml2 \
    24                     port:swig-python
     21depends_lib         port:pkgconfig \
     22                    port:libxml2
    2523
    26 patchfiles          patch-iterator.diff
     24configure.args-append   --without-cython
    2725
    28 configure.args-append   -DENABLE_CYTHON=OFF
     26build.args-append       CC="${configure.cc} ${configure.cflags} [get_canonical_archflags cc]" \
     27                        CXX=${configure.cxx} \
     28                        CPP=${configure.cpp}
    2929
    3030use_parallel_build  no
    3131
    32 variant python26 conflicts python27 description {Use Python 2.6} {
    33     depends_lib-append  port:python26
    34     configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python2.6 \
    35                           -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6 \
    36                           -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/2.6/Python
     32default_variants    +python27
     33
     34variant python27 description {Use Python 2.7} {
     35    depends_build-append    port:gsed
     36    depends_lib-append      port:py27-cython
     37    configure.args-delete   --without-cython
     38    configure.env-append    PYTHON=${prefix}/bin/python \
     39                            PYTHON_VERSION=2.7 \
     40                            CYTHON=${prefix}/bin/cython-2.7
    3741}
    38 variant python27 conflicts python26 description {Use Python 2.7} {
    39     depends_lib-append  port:python27
    40     configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \
    41                           -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/include/python2.7 \
    42                           -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/2.7/Python
    43 }
    44 if {![variant_isset python26]} {
    45     default_variants    +python27
    46 }
    47 if {![variant_isset python26] && ![variant_isset python27]} {
    48     depends_lib-delete port:swig-python
    49     configure.args-append -DENABLE_SWIG=OFF
    50 }
     42
     43test.run            yes
     44test.target         check
    5145
    5246livecheck.type      regex
Note: See TracChangeset for help on using the changeset viewer.