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

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

ola: maintainer update to 0.8.26 (#36958)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 99601 2012-11-11 19:39:34Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ola
7version             0.8.26
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 89fd147cd9480b69a5398264e4e3c1f30fda0aa8 \
25                    sha256 3d881570ea58b6f5f49f556b2663be57d702341ee5a6287c40fa1143b49b0b99
26
27depends_build       port:pkgconfig
28
29depends_lib         port:cppunit \
30                    port:protobuf-cpp
31
32configure.args      --disable-http \
33                    --disable-libusb
34
35variant python26 conflicts python27 description {Enable the Python 2.6 API} {
36    depends_lib-append      port:py26-protobuf
37    configure.args-append   --enable-python-libs
38    configure.python        ${prefix}/bin/python2.6
39}
40
41variant python27 conflicts python26 description {Enable the Python 2.7 API} {
42    depends_lib-append      port:py27-protobuf
43    configure.args-append   --enable-python-libs
44    configure.python        ${prefix}/bin/python2.7
45}
46
47variant http description {Build with embedded web server} {
48    depends_lib-append      port:libmicrohttpd
49    configure.args-delete   --disable-http
50}
51
52variant libusb description {Build with libusb support} {
53    depends_lib-append      port:libusb
54    configure.args-delete   --disable-libusb
55}
56
57default_variants    +http +libusb
58
59if {![variant_isset python26]} {
60    default_variants        +python27
61}
62
63test.run            yes
64test.target         check
Note: See TracBrowser for help on using the repository browser.