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 90138 2012-02-23 19:38:21Z pixilla@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup muniversal 1.0 |
---|
6 | |
---|
7 | name libACE |
---|
8 | set name_package ACE |
---|
9 | version 6.0.8 |
---|
10 | revision 1 |
---|
11 | distname ${name_package}-${version} |
---|
12 | categories devel |
---|
13 | maintainers fourpalms.org:lockhart pixilla openmaintainer |
---|
14 | platforms darwin |
---|
15 | license BSD |
---|
16 | description ACE is an object-oriented framework that implements many core patterns for \ |
---|
17 | concurrent communication software. |
---|
18 | long_description The ADAPTIVE Communication Environment (ACE) is a freely available, \ |
---|
19 | open-source object-oriented (OO) framework that implements many core \ |
---|
20 | patterns for concurrent communication software. ACE provides a rich set \ |
---|
21 | of reusable C++ wrapper facades and framework components that perform \ |
---|
22 | common communication software tasks across a range of OS platforms. The \ |
---|
23 | communication software tasks provided by ACE include event \ |
---|
24 | demultiplexing and event handler dispatching, signal handling, service \ |
---|
25 | initialization, interprocess communication, shared memory management, \ |
---|
26 | message routing, dynamic (re)configuration of distributed services, \ |
---|
27 | concurrent execution and synchronization. |
---|
28 | |
---|
29 | # disable this port in favor of "ace" |
---|
30 | replaced_by ace |
---|
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 | |
---|
38 | checksums rmd160 31ebccd204aeeb1b1c5bb76c4cb9ae55bb4ca8e3 \ |
---|
39 | sha256 2f7bae738b62f0162965fecb0f49b7fdf61de987c1d08d238b328e1d0d1ab683 |
---|
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 | # disable this port in favor of "ace" |
---|
48 | #use_configure no |
---|
49 | pre-configure { |
---|
50 | ui_error "This port has been replaced by the port 'ace'" |
---|
51 | return -code error |
---|
52 | } |
---|
53 | use_parallel_build no |
---|
54 | |
---|
55 | set os.name {} |
---|
56 | array set os.names { |
---|
57 | 7 panther |
---|
58 | 8 tiger |
---|
59 | 9 leopard |
---|
60 | 10 snowleopard |
---|
61 | 11 lion |
---|
62 | } |
---|
63 | if {"darwin" == ${os.platform}} { |
---|
64 | foreach {key value} [array get os.names] { |
---|
65 | if {${key} == ${os.major}} { |
---|
66 | set os.name ${value} |
---|
67 | } |
---|
68 | } |
---|
69 | } |
---|
70 | |
---|
71 | post-patch { |
---|
72 | reinplace "s|@MACOSX_NAME@|${os.name}|g" \ |
---|
73 | ${worksrcpath}/ace/config.h \ |
---|
74 | } |
---|
75 | |
---|
76 | build.env-append DYLD_LIBRARY_PATH=${worksrcpath}/lib \ |
---|
77 | ACE_ROOT=${worksrcpath} \ |
---|
78 | INSTALL_PREFIX=${prefix} \ |
---|
79 | MACOSX_NAME=${os.name} |
---|
80 | |
---|
81 | destroot.env-append DYLD_LIBRARY_PATH=${worksrcpath}/lib \ |
---|
82 | ACE_ROOT=${worksrcpath} \ |
---|
83 | INSTALL_PREFIX=${prefix} \ |
---|
84 | MACOSX_NAME=${os.name} |
---|
85 | |
---|
86 | # disable this port in favor of "ace" |
---|
87 | livecheck.type none |
---|
88 | livecheck.url ${master_sites} |
---|
89 | livecheck.regex ${name_package}-(\\d+\[0-9a-z.\]*)${extract.suffix} |
---|