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