Ticket #22058: Portfile

File Portfile, 1.8 KB (added by joseph@…, 15 years ago)
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
6categories      devel
7platforms       darwin
8maintainers     josephholsten.com:joseph
9
10description     RETS client library
11long_description \
12    libRETS is RETS client library written in C++ that allows rapid \
13    development of RETS client applications. By saving the developer from \
14    dealing with the RETS protocol details, the application writer can \
15    concentrate on their application, saving them time and money in \
16    the process.
17
18homepage        http://www.crt.realtors.org/projects/rets/librets/
19master_sites    ${homepage}/files/
20
21checksums       md5 e8c5bde8897d6f3d979b5415c4392961 \
22                sha1 b398098efce28b4afbe7020bfa070f6aeb8baac2 \
23                rmd160 28673dc8e60b782ad5def9a388490befd013a7d3
24
25default_variants +swig
26
27depends_lib     port:boost port:curl
28
29configure.args --disable-perl \
30               --disable-php \
31               --disable-ruby \
32               --disable-java \
33               --disable-python
34
35variant swig description {Build swig extensions} {
36  depends_lib  port:swig
37}
38
39variant java description {Build Java bindings} {
40    configure.args-delete --disable-java
41}
42
43variant perl description {Build Perl bindings} {
44    configure.args-delete --disable-perl
45}
46
47variant php5 description {Build PHP5 bindings} {
48    configure.args-delete --disable-php
49}
50
51variant python description {Build Python bindings} {
52    configure.args-delete --disable-pithon
53}
54
55variant ruby description {Build Ruby bindings} {
56    configure.args-delete --disable-ruby
57}
58
59livecheck.check regex
60livecheck.url   http://www.crt.realtors.org/projects/rets/librets/downloads/
61livecheck.regex ${name}-(\\d+(?:\\.\\d+)+)\\.tar