source: trunk/dports/devel/flusspferd/Portfile

Last change on this file was 60719, checked in by ryandesign@…, 8 years ago

flusspferd: disable universal variant because dependency spidermonkey doesn't have a universal variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
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:sw=4:ts=4:sts=4
2# $Id: Portfile 60719 2009-11-20 22:56:29Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                flusspferd
7version             0.8
8categories          devel
9maintainers         flusspferd.org:team
10description         provides Javascript bindings for C++.
11long_description    ${name} ${description}
12homepage            http://flusspferd.org/
13
14platforms           darwin
15depends_build       port:cmake
16depends_lib         port:spidermonkey \
17                    port:boost
18
19master_sites        sourceforge
20use_bzip2           yes
21checksums           md5     4a93f9b8ee2ec1fd9c50029f184ceffa \
22                    sha1    df18e259e2ee0cd75ad13130881ae7f55ae0bd27 \
23                    rmd160  3b1f7a6d16708dfcfeb1e827a2e93aaa8b45e95e
24
25# spidermonkey is not universal
26universal_variant   no
27
28configure.args      -DCMAKE_INSTALL_PREFIX=${prefix} \
29    -DCMAKE_PREFIX_PATH=${prefix} \
30    -DCMAKE_SYSTEM_PREFIX_PATH=${prefix} \
31    -DENABLE_TESTS=OFF \
32    -DFORCE_PLUGINS=ON \
33    -DPLUGIN_SQLITE3=OFF \
34    -DPLUGIN_GMP=OFF
35
36variant 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
43variant 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
48variant sqlite description { Add SQLite support } {
49    depends_lib-append port:sqlite3
50    configure.args-append -DPLUGIN_SQLITE3=ON
51}
52
53variant gmp description { Add GMP support } {
54    depends_lib-append port:gmp
55    configure.args-append -DGMP_ROOT=${prefix} -DPLUGIN_GMP=ON
56}
Note: See TracBrowser for help on using the repository browser.