Ticket #22279: geos-Portfile.patch

File geos-Portfile.patch, 1.3 KB (added by dark.panda+macports@…, 15 years ago)

Patch to GEOS Portfile to add variants for ruby and python bindings.

  • Portfile

    use_parallel_build yes 
    3131livecheck.type   regex
    3232livecheck.url    ${homepage}
    3333livecheck.regex  {geos-(\d+(?:\.\d+)*).tar.bz2}
     34
     35variant ruby conflicts ruby186 ruby19 description {add Ruby 1.8.7 support} {
     36    depends_build-append    port:ruby bin:swig:swig
     37    configure.args-append   --enable-ruby
     38}
     39
     40variant ruby186 conflicts ruby ruby19 description {add Ruby 1.8.6 support} {
     41    depends_build-append    port:ruby186 bin:swig:swig
     42    configure.args-append   --enable-ruby
     43}
     44
     45variant ruby19 conflicts ruby ruby186 description {add Ruby 1.9 support} {
     46    depends_build-append    port:ruby19 bin:swig:swig
     47    configure.args-append   --enable-ruby
     48}
     49
     50variant python24 conflicts python25 python26 description {add Python 2.4 support} {
     51    depends_build-append    port:python24 bin:swig:swig
     52    configure.args-append   --enable-python
     53}
     54
     55variant python25 conflicts python24 python26 description {add Python 2.5 support} {
     56    depends_build-append    port:python25 bin:swig:swig
     57    configure.args-append   --enable-python
     58}
     59
     60variant python26 conflicts python24 python25 description {add Python 2.6 support} {
     61    depends_build-append    port:python26 bin:swig:swig
     62    configure.args-append   --enable-python
     63}
     64