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 84550 2011-09-27 21:05:11Z snc@macports.org $ |
---|
3 | # ACE no longer supports an autoconf build. |
---|
4 | # Use the traditional build technique instead. |
---|
5 | |
---|
6 | PortSystem 1.0 |
---|
7 | PortGroup muniversal 1.0 |
---|
8 | |
---|
9 | name ace |
---|
10 | set name_package ACE |
---|
11 | version 6.0.8 |
---|
12 | revision 2 |
---|
13 | distname ${name_package}-${version} |
---|
14 | categories devel |
---|
15 | maintainers gmail.com:enrique.fernandez.perdomo pixilla |
---|
16 | platforms darwin |
---|
17 | license BSD |
---|
18 | description ACE is an object-oriented framework that implements many core patterns for \ |
---|
19 | concurrent communication software. |
---|
20 | long_description The ADAPTIVE Communication Environment (ACE) is a freely available, \ |
---|
21 | open-source object-oriented (OO) framework that implements many core \ |
---|
22 | patterns for concurrent communication software. ACE provides a rich set \ |
---|
23 | of reusable C++ wrapper facades and framework components that perform \ |
---|
24 | common communication software tasks across a range of OS platforms. The \ |
---|
25 | communication software tasks provided by ACE include event \ |
---|
26 | demultiplexing and event handler dispatching, signal handling, service \ |
---|
27 | initialization, interprocess communication, shared memory management, \ |
---|
28 | message routing, dynamic (re)configuration of distributed services, \ |
---|
29 | concurrent execution and synchronization. |
---|
30 | |
---|
31 | conflicts tao |
---|
32 | |
---|
33 | homepage http://www.cs.wustl.edu/~schmidt/ACE.html |
---|
34 | master_sites http://download.dre.vanderbilt.edu/previous_versions |
---|
35 | |
---|
36 | use_bzip2 yes |
---|
37 | checksums ${distname}${extract.suffix} \ |
---|
38 | sha1 189a27b9cfccc0a931f2600166c31c9b49ef5eea \ |
---|
39 | rmd160 31ebccd204aeeb1b1c5bb76c4cb9ae55bb4ca8e3 |
---|
40 | |
---|
41 | worksrcdir ACE_wrappers |
---|
42 | |
---|
43 | patch.pre_args -p1 |
---|
44 | patchfiles patch-ace-config.h.diff \ |
---|
45 | patch-include-makeinclude-platform_macros.GNU.diff |
---|
46 | |
---|
47 | set os.name "lion" |
---|
48 | array set os.names { |
---|
49 | 7 panther |
---|
50 | 8 tiger |
---|
51 | 9 leopard |
---|
52 | 10 snowleopard |
---|
53 | 11 lion |
---|
54 | } |
---|
55 | if {"darwin" == ${os.platform}} { |
---|
56 | foreach {key value} [array get os.names] { |
---|
57 | if {${key} == ${os.major}} { |
---|
58 | set os.name ${value} |
---|
59 | } |
---|
60 | } |
---|
61 | } |
---|
62 | set archs "\"${configure.build_arch}\"" |
---|
63 | if {[variant_exists universal] && [variant_isset universal]} { |
---|
64 | set archs "\"${configure.universal_archs}\"" |
---|
65 | } |
---|
66 | |
---|
67 | post-patch { |
---|
68 | reinplace "s|@MACOSX@|${os.name}|g" \ |
---|
69 | ${worksrcpath}/ace/config.h \ |
---|
70 | ${worksrcpath}/include/makeinclude/platform_macros.GNU |
---|
71 | } |
---|
72 | |
---|
73 | use_configure no |
---|
74 | |
---|
75 | use_parallel_build no |
---|
76 | |
---|
77 | build.env-append "DYLD_LIBRARY_PATH=${worksrcpath}/lib" |
---|
78 | build.env-append "ACE_ROOT=${worksrcpath}" |
---|
79 | build.env-append "INSTALL_PREFIX=${prefix}" |
---|
80 | |
---|
81 | destroot.env-append "DYLD_LIBRARY_PATH=${worksrcpath}/lib" |
---|
82 | destroot.env-append "ACE_ROOT=${worksrcpath}" |
---|
83 | destroot.args-append "INSTALL_PREFIX=${prefix}" |
---|
84 | |
---|
85 | livecheck.url ${master_sites} |
---|
86 | livecheck.regex ${name_package}-(\\d+\[0-9a-z.\]*)${extract.suffix} |
---|