source: trunk/dports/www/redland/Portfile @ 58230

Last change on this file since 58230 was 58230, checked in by ryandesign@…, 11 years ago

rewrite mysql5 dependency so mysql5-devel can satisfy it

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1# $Id: Portfile 58230 2009-09-24 16:45:22Z ryandesign@macports.org $
2
3PortSystem 1.0
4name                redland
5version             1.0.8
6revision            1
7description         Redland RDF Library
8long_description    Redland is a set of free software libraries that provide \
9                    support for the Resource Description Framework (RDF).
10maintainers         lylejohnson.name:lyle
11categories          www
12platforms           darwin
13homepage            http://librdf.org/
14master_sites        http://download.librdf.org/source/
15
16checksums           md5 ca66e26082cab8bb817185a116db809b \
17                    sha1 9501b95a2b668067e2dcb0ab3bdb59e0376144de \
18                    rmd160 c046aea89945e39e1917f833c35cb8dc272f3f65
19
20depends_lib         port:curl \
21                    port:libiconv \
22                    port:libxml2 \
23                    port:libxslt \
24                    port:openssl \
25                    port:raptor \
26                    port:rasqal \
27                    port:zlib
28
29configure.args      --mandir=${prefix}/share/man \
30                    --with-bdb=no \
31                    --with-mysql=no \
32                    --with-postgresql=no \
33                    --with-sqlite=no
34
35test.run            yes
36test.target         check
37
38default_variants    +db46
39
40variant db44 conflicts db46 {
41    configure.cflags    -I${prefix}/include/db44 -I${prefix}/include
42    configure.ldflags   -L${prefix}/lib/db44 -L${prefix}/lib
43    configure.args-delete --with-bdb=no
44    depends_lib-append port:db44
45}
46
47variant db46 conflicts db44 {
48    configure.cflags    -I${prefix}/include/db46 -I${prefix}/include
49    configure.ldflags   -L${prefix}/lib/db46 -L${prefix}/lib
50    configure.args-delete --with-bdb=no
51    depends_lib-append port:db46
52}
53 
54variant mysql3 conflicts mysql4 mysql5 {
55    configure.args-delete --with-mysql=no
56    depends_lib-append port:mysql3
57}
58
59variant mysql4 conflicts mysql3 mysql5 {
60    configure.args-delete --with-mysql=no
61    depends_lib-append port:mysql4
62}
63
64variant mysql5 conflicts mysql3 mysql4 {
65    configure.args-delete --with-mysql=no
66    depends_lib-append path:bin/mysql_config5:mysql5
67}
68
69variant postgresql7 conflicts postgresql80 postgresql81 postgresql82 postgresql83 {
70    configure.args-delete --with-postgresql=no
71    depends_lib-append port:postgresql7
72}
73
74variant postgresql80 conflicts postgresql7 postgresql81 postgresql82 postgresql83 {
75    configure.args-delete --with-postgresql=no
76    depends_lib-append port:postgresql80
77}
78
79variant postgresql81 conflicts postgresql7 postgresql80 postgresql82 postgresql83 {
80    configure.args-delete --with-postgresql=no
81    depends_lib-append port:postgresql81
82}
83
84variant postgresql82 conflicts postgresql7 postgresql80 postgresql81 postgresql83 {
85    configure.args-delete --with-postgresql=no
86    depends_lib-append port:postgresql82
87}
88
89variant postgresql83 conflicts postgresql7 postgresql80 postgresql81 postgresql82 {
90    configure.args-delete --with-postgresql=no
91    depends_lib-append port:postgresql83
92}
93
94variant sqlite3 {
95    configure.args-delete --with-sqlite=no
96    depends_lib-append port:sqlite3
97}
98
Note: See TracBrowser for help on using the repository browser.