| 1 | # $Id: Portfile 23168 2007-03-26 22:40:54Z pipping@macports.org $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name redland |
|---|
| 5 | version 1.0.6 |
|---|
| 6 | description Redland RDF Library |
|---|
| 7 | long_description Redland is a set of free software libraries that provide \ |
|---|
| 8 | support for the Resource Description Framework (RDF). |
|---|
| 9 | maintainers lyle.johnson@gmail.com |
|---|
| 10 | categories www |
|---|
| 11 | platforms darwin |
|---|
| 12 | homepage http://librdf.org/ |
|---|
| 13 | master_sites http://download.librdf.org/source/ |
|---|
| 14 | |
|---|
| 15 | checksums md5 901bf87252658c8b247dc6eda00f8724 \ |
|---|
| 16 | sha1 294646c935528e4c0cad5b6d644d028cb35afc44 \ |
|---|
| 17 | rmd160 3f57b2646ec73f89fb93c22062ad7e8d2ad01665 |
|---|
| 18 | |
|---|
| 19 | depends_lib port:curl \ |
|---|
| 20 | port:libiconv \ |
|---|
| 21 | port:libxml2 \ |
|---|
| 22 | port:libxslt \ |
|---|
| 23 | port:openssl \ |
|---|
| 24 | port:raptor \ |
|---|
| 25 | port:rasqal \ |
|---|
| 26 | port:sqlite3 \ |
|---|
| 27 | port:zlib |
|---|
| 28 | |
|---|
| 29 | configure.args --mandir=${prefix}/share/man \ |
|---|
| 30 | --with-bdb=no \ |
|---|
| 31 | --with-mysql=no \ |
|---|
| 32 | --with-postgresql=no \ |
|---|
| 33 | --with-sqlite=no |
|---|
| 34 | |
|---|
| 35 | test.run yes |
|---|
| 36 | test.target check |
|---|
| 37 | |
|---|
| 38 | default_variants +db4 |
|---|
| 39 | |
|---|
| 40 | variant db4 { |
|---|
| 41 | configure.args-delete --with-bdb=no |
|---|
| 42 | depends_lib-append port:db4 |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | variant mysql3 conflicts mysql4 mysql5 { |
|---|
| 46 | configure.args-delete --with-mysql=no |
|---|
| 47 | depends_lib-append port:mysql3 |
|---|
| 48 | } |
|---|
| 49 | |
|---|
| 50 | variant mysql4 conflicts mysql3 mysql5 { |
|---|
| 51 | configure.args-delete --with-mysql=no |
|---|
| 52 | depends_lib-append port:mysql4 |
|---|
| 53 | } |
|---|
| 54 | |
|---|
| 55 | variant mysql5 conflicts mysql3 mysql4 { |
|---|
| 56 | configure.args-delete --with-mysql=no |
|---|
| 57 | depends_lib-append port:mysql5 |
|---|
| 58 | } |
|---|
| 59 | |
|---|
| 60 | variant postgresql { |
|---|
| 61 | configure.args-delete --with-postgresql=no |
|---|
| 62 | depends_lib-append port:postgresql |
|---|
| 63 | } |
|---|
| 64 | |
|---|
| 65 | variant sqlite3 { |
|---|
| 66 | configure.args-delete --with-sqlite=no |
|---|
| 67 | depends_lib-append port:sqlite3 |
|---|
| 68 | } |
|---|
| 69 | |
|---|