Ticket #29889: Portfile

File Portfile, 1.9 KB (added by p3k (Tobi Schäfer), 13 years ago)

Portfile for OLA 0.8.9

Line 
1# $Id$
2
3PortSystem        1.0
4
5name              ola
6                  ## Latest version (0.8.9-1) currently not usable because of inconsistency in package/folder naming
7version           0.8.9
8categories        net comms
9platforms         darwin
10license           LGPL
11maintainers       gmail.com:nomis52
12
13description       An open framework for DMX lighting control
14long_description  The Open Lighting Architecture (OLA) provides a plugin framework for distributing DMX512 control signals on Mac and Linux. It provides C++ and Python libraries which abstract away the underlying DMX over IP protocol or DMX interface.
15homepage          http://opendmx.net/index.php/OLA
16
17master_sites      http://linux-lighting.googlecode.com/files/
18
19checksums         md5      b67beea9e39bee4a33bf6f0eafabf17d \
20                  sha1     abe2e876261f272223ee1eab902319615acac744 \
21                  rmd160   95e926cbd376b0dfd625289f6af37455dd103f99
22
23depends_lib       port:pkgconfig \
24                  port:cppunit \
25                  port:unittest-cpp \
26                  port:protobuf-cpp
27
28## This currently does not work because the -arch flag is set twice and
29## the compiler runs into a problem with multiple architectures.
30## Error message: g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
31#variant i386 description {Build for 32 bit Intel architecture} {
32#   configure.cppflags-delete  "-arch x86_64"
33#   configure.ldflags-delete   "-arch x86_64"
34#   configure.cppflags-append  "-arch i386"
35#   configure.ldflags-append   "-arch i386"
36#}
37
38variant http description {Build with embedded web server} {
39   depends_lib-append port:libmicrohttpd
40}
41
42default_variants  +http
43
44pre-configure {
45   use_autoreconf          yes
46   autoreconf.args         -i
47   configure.args-append   --disable-http
48   if {[variant_isset http]} {
49      configure.args-delete   --disable-http
50   }
51}
52
53test {
54   test.run       yes
55   test.target    check
56}