1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name flusspferd |
---|
7 | version 0.6.1 |
---|
8 | categories devel |
---|
9 | maintainers flusspferd.org:team |
---|
10 | description Flusspferd |
---|
11 | long_description Flusspferd provides Javascript bindings for C++. |
---|
12 | homepage http://flusspferd.org/ |
---|
13 | platforms darwin |
---|
14 | |
---|
15 | distfiles flusspferd-0.6.1.tar.bz2 |
---|
16 | master_sites sourceforge |
---|
17 | use_bzip2 yes |
---|
18 | checksums md5 43e0941621b1b562d13c79106306e4cc \ |
---|
19 | sha1 264a9d90ba11313413b7261a40bb11af4f5b9c06 \ |
---|
20 | rmd160 45231caea624063acca5243264d7adbea886db14 |
---|
21 | |
---|
22 | depends_lib port:spidermonkey \ |
---|
23 | port:boost |
---|
24 | default_variants test |
---|
25 | |
---|
26 | configure.args -DCMAKE_INSTALL_PREFIX=${prefix} \ |
---|
27 | -DCMAKE_PREFIX_PATH=${prefix} \ |
---|
28 | -DCMAKE_SYSTEM_PREFIX_PATH=${prefix} \ |
---|
29 | -DENABLE_TESTS=OFF \ |
---|
30 | -DFORCE_PLUGINS=ON \ |
---|
31 | -DPLUGIN_XML=OFF \ |
---|
32 | -DPLUGIN_CURL=OFF \ |
---|
33 | -DPLUGIN_SQLITE3=OFF \ |
---|
34 | -DPLUGIN_GMP=OFF |
---|
35 | |
---|
36 | variant test description { Build Unit Tests } { |
---|
37 | configure.args-append -DENABLE_TESTS=ON |
---|
38 | test { |
---|
39 | system "cd ${worksrcpath} && ./util/run_tests.sh" |
---|
40 | } |
---|
41 | } |
---|
42 | |
---|
43 | variant readline description { Build with GNU/readline support instead of libedit } { |
---|
44 | configure.args-append -DUSE_READLINE=ON |
---|
45 | depends_lib-append port:readline |
---|
46 | } |
---|
47 | |
---|
48 | variant xml description { Add XML support } { |
---|
49 | configure.args-append -DPLUGIN_XML=ON |
---|
50 | depends_lib-append port:libxml2 |
---|
51 | } |
---|
52 | |
---|
53 | variant curl description { Add Curl support } { |
---|
54 | depends_lib-append port:curl |
---|
55 | configure.args-append -DPLUGIN_CURL=ON |
---|
56 | } |
---|
57 | |
---|
58 | variant sqlite description { Add SQLite support } { |
---|
59 | depends_lib-append port:sqlite3 |
---|
60 | configure.args-append -DPLUGIN_SQLITE3=ON |
---|
61 | } |
---|
62 | |
---|
63 | variant gmp description { Add GMP support } { |
---|
64 | depends_lib-append port:gmp |
---|
65 | configure.args-append -DGMP_ROOT=${prefix} -DPLUGIN_GMP=ON |
---|
66 | } |
---|