Ticket #15921: Portfile

File Portfile, 1.6 KB (added by CaptSolo, 16 years ago)
Line 
1# $Id: Portfile 29984 2007-10-17 09:09:04Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                redland-bindings
6version             1.0.8.1
7revision            1
8description         Redland RDF Language Bindings
9long_description    Redland is a set of free software libraries that provide \
10                    support for the Resource Description Framework (RDF). \
11                    This package provides higher-level language APIs to \
12                    Redland for multiple popular scripting languages.
13maintainers         arto.bendiken@gmail.com
14categories          www
15platforms           darwin
16homepage            http://librdf.org/bindings/
17master_sites        http://download.librdf.org/source/
18
19checksums           md5 52ff9e9f7fb38e3514862d6077e59332 \
20                    sha1 f19325ee9753de1e6a551e618784267c98e33fe3
21 
22depends_lib         port:redland
23
24configure.args      --mandir=${prefix}/share/man
25
26variant perl {
27        configure.args-append --with-perl
28        depends_lib-append port:perl5.8
29}
30
31variant php {
32        configure.args-append --with-php
33        depends_lib-append port:php5
34}
35
36variant python24 {
37        configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/Python"
38        depends_lib-append port:python24
39}
40
41variant python25 {
42        configure.args-append --with-python --with-python-ldflags="-Wl,-F. -Wl,-F. -bundle ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/Python"
43        depends_lib-append port:python25
44}
45
46variant ruby {
47        configure.args-append --with-ruby
48        depends_lib-append port:ruby
49}
50
51variant tcl {
52        configure.args-append --with-tcl
53        depends_lib-append port:tcl
54}