source: trunk/dports/net/ola/Portfile @ 105456

Last change on this file since 105456 was 105456, checked in by ryandesign@…, 7 years ago

ola: maintainer update to 0.8.28 and add osc variant, on by default (#38252)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 105456 2013-04-21 01:46:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ola
7version             0.8.28
8categories          net comms
9platforms           darwin
10license             GPL-2+ LGPL-2.1+
11maintainers         gmail.com:nomis52 p3k.org:interface
12
13description         An open framework for DMX512 lighting control
14
15long_description    The Open Lighting Architecture (OLA) provides a plugin \
16                    framework for distributing DMX512 control signals on \
17                    Mac and Linux. It provides C++ and Python libraries \
18                    which abstract away the underlying DMX over IP protocol \
19                    or DMX interface.
20
21homepage            http://opendmx.net/index.php/OLA
22master_sites        googlecode:open-lighting
23
24checksums           rmd160 f308938d38339cc0e39a03a93c3850c35bb23aa7 \
25                    sha256 20ffcdfdfafe1e197503cd142dfdcf3b38ca3ae4334738d2c9288808684a362c
26
27depends_build       port:pkgconfig
28
29depends_lib         port:cppunit \
30                    port:protobuf-cpp
31
32configure.args      --disable-http \
33                    --disable-libusb \
34                    --disable-osc
35
36variant python26 conflicts python27 description {Enable the Python 2.6 API} {
37    depends_lib-append      port:py26-protobuf
38    configure.args-append   --enable-python-libs
39    configure.python        ${prefix}/bin/python2.6
40}
41
42variant python27 conflicts python26 description {Enable the Python 2.7 API} {
43    depends_lib-append      port:py27-protobuf
44    configure.args-append   --enable-python-libs
45    configure.python        ${prefix}/bin/python2.7
46}
47
48variant http description {Build with embedded web server} {
49    depends_lib-append      port:libmicrohttpd
50    configure.args-delete   --disable-http
51}
52
53variant osc description {Build with OSC support} {
54    depends_lib-append      port:liblo
55    configure.args-delete   --disable-osc
56}
57
58variant libusb description {Build with libusb support} {
59    depends_lib-append      port:libusb
60    configure.args-delete   --disable-libusb
61}
62
63default_variants    +http +osc +libusb
64
65if {![variant_isset python26]} {
66    default_variants        +python27
67}
68
69test.run            yes
70test.target         check
Note: See TracBrowser for help on using the repository browser.