Ticket #39118: Portfile-redland-bindings.diff
File Portfile-redland-bindings.diff, 2.7 KB (added by danmichaelo+macports@…, 12 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name redland-bindings 6 version 1.0.1 3.16 version 1.0.16.1 7 7 description Redland RDF Language Bindings 8 8 long_description Redland is a set of free software libraries that provide \ 9 9 support for the Resource Description Framework (RDF). \ … … 15 15 homepage http://librdf.org/bindings/ 16 16 master_sites http://download.librdf.org/source/ 17 17 18 checksums sha1 a3dee2bcd5961917a951544654e147b49bf17434\19 rmd160 e07edd593c6e16d399b384268f99231b3c89026a18 checksums sha1 98c20b64cf5e99cbf29fcb84490e73e2a828213a \ 19 rmd160 0f4ac6f67fd2ddfa842dc82c52e5c380d9fc95d3 20 20 21 21 depends_lib port:redland 22 22 23 23 pre-configure { 24 if {![variant_isset perl5] && ![variant_isset php5] && ![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26] && ![variant_isset ruby] && ![variant_isset tcl] && ![variant_isset lua]} {24 if {![variant_isset perl5] && ![variant_isset php5] && ![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27] && ![variant_isset ruby] && ![variant_isset tcl] && ![variant_isset lua]} { 25 25 ui_error "You must select at least one variant." 26 26 return -code error "no variant selected" 27 27 } … … 47 47 depends_lib-append path:bin/php:php5 48 48 } 49 49 50 variant python24 conflicts python25 python26 {50 variant python24 conflicts python25 python26 python27 { 51 51 configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/Python" 52 52 depends_lib-append port:python24 53 53 } 54 54 55 variant python25 conflicts python24 python26 {55 variant python25 conflicts python24 python26 python27 { 56 56 configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/Python" 57 57 depends_lib-append port:python25 58 58 } 59 59 60 variant python26 conflicts python24 python25 {60 variant python26 conflicts python24 python25 python27 { 61 61 configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/Python" 62 62 depends_lib-append port:python26 63 63 } 64 64 65 variant python27 conflicts python24 python25 python26 { 66 configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/Python" 67 depends_lib-append port:python27 68 } 69 65 70 variant ruby { 66 71 configure.args-append --with-ruby 67 72 depends_lib-append port:ruby