Ticket #22058: Portfile.2

File Portfile.2, 2.0 KB (added by joseph@…, 15 years ago)

revision 1, added sql2dmql variant

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sts=4:sw=4:ts=4
2PortSystem 1.0
3
4name            librets
5version         1.4.0
6revision        1
7categories      devel
8platforms       darwin
9maintainers     josephholsten.com:joseph
10
11description     RETS client library
12long_description \
13    libRETS is RETS client library written in C++ that allows rapid \
14    development of RETS client applications. By saving the developer from \
15    dealing with the RETS protocol details, the application writer can \
16    concentrate on their application, saving them time and money in \
17    the process.
18
19homepage        http://www.crt.realtors.org/projects/rets/librets/
20master_sites    ${homepage}/files/
21
22checksums       md5 e8c5bde8897d6f3d979b5415c4392961 \
23                sha1 b398098efce28b4afbe7020bfa070f6aeb8baac2 \
24                rmd160 28673dc8e60b782ad5def9a388490befd013a7d3
25
26default_variants +swig
27
28depends_lib     port:boost port:curl
29
30configure.args --disable-perl \
31               --disable-php \
32               --disable-ruby \
33               --disable-java \
34               --disable-python
35
36variant swig description {Build swig extensions} {
37    depends_lib  port:swig
38}
39
40variant java description {Build Java bindings} {
41    configure.args-delete --disable-java
42}
43
44variant perl description {Build Perl bindings} {
45    configure.args-delete --disable-perl
46}
47
48variant php5 description {Build PHP5 bindings} {
49    configure.args-delete --disable-php
50}
51
52variant python description {Build Python bindings} {
53    configure.args-delete --disable-pithon
54}
55
56variant ruby description {Build Ruby bindings} {
57    configure.args-delete --disable-ruby
58}
59
60variant sql2dmql description {Build SQL to DMQL compiler} {
61    depends_lib port:antlr
62    configure.args-append --enable-sql-compiler
63}
64
65livecheck.check regex
66livecheck.url   http://www.crt.realtors.org/projects/rets/librets/downloads/
67livecheck.regex ${name}-(\\d+(?:\\.\\d+)+)\\.tar