source: trunk/dports/net/ola/Portfile

Last change on this file was 149148, checked in by khindenburg@…, 14 months ago

ola: update to 0.10.2 maintainer #51545

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 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 149148 2016-06-02 00:47:26Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        OpenLightingProject ola 0.10.2
8categories          net comms
9platforms           darwin
10license             GPL-2+ LGPL-2.1+
11maintainers         gmail.com:nomis52 p3k.org:interface pjnewman.co.uk:bugs
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://www.openlighting.org/ola/
22
23checksums           rmd160  f4302835a47146ae1ef5f0284367171a3ba2fba7 \
24                    sha256  986e61874bc80db3b23cf201af2dafa39e3412cc50cddf1cd449c869110bfd27
25
26github.tarball_from releases
27
28# cppunit should be changed to depends_test after MacPorts 2.4 is released
29depends_build       port:cppunit \
30                    port:pkgconfig
31
32depends_lib         port:protobuf-cpp
33
34configure.args      --disable-fatal-warnings  \
35                    --disable-http \
36                    --disable-libusb \
37                    --disable-osc
38
39variant python26 conflicts python27 description {Enable the Python 2.6 API} {
40    depends_lib-append      port:py26-protobuf
41    configure.args-append   --enable-python-libs
42    configure.python        ${prefix}/bin/python2.6
43}
44
45variant python27 conflicts python26 description {Enable the Python 2.7 API} {
46    depends_lib-append      port:py27-protobuf
47    configure.args-append   --enable-python-libs
48    configure.python        ${prefix}/bin/python2.7
49}
50
51variant rdm_tests requires python27 description {Enable the RDM Tests} {
52    depends_lib-append      port:py27-numpy
53    configure.args-append   --enable-rdm-tests
54}
55
56variant http description {Build with embedded web server} {
57    depends_lib-append      port:libmicrohttpd
58    configure.args-delete   --disable-http
59}
60
61variant osc description {Build with OSC support} {
62    depends_lib-append      port:liblo
63    configure.args-delete   --disable-osc
64}
65
66variant libusb description {Build with libusb support} {
67    depends_lib-append      port:libusb
68    configure.args-delete   --disable-libusb
69}
70
71default_variants    +http +osc +libusb
72
73if {![variant_isset python26]} {
74    default_variants        +python27
75}
76
77test.run            yes
78test.target         check
Note: See TracBrowser for help on using the repository browser.