1 | # $Id: Portfile,v 1.14 2003/07/30 14:35:39 fkr Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name mico |
---|
6 | version 2.3.12 |
---|
7 | homepage http://www.mico.org/ |
---|
8 | description Fully compliant CORBA implementation |
---|
9 | long_description MICO is a mature, secure, robust, fully \ |
---|
10 | standards-compliant implementation of the CORBA standard. |
---|
11 | categories devel |
---|
12 | platforms darwin |
---|
13 | maintainers roederja@student.ethz.ch darrell@schiebel.us |
---|
14 | master_sites http://www.mico.org/ |
---|
15 | patch_sites http://mico.org/errata/ |
---|
16 | |
---|
17 | depends_lib port:openssl lib:libncurses:ncurses |
---|
18 | |
---|
19 | checksums ${distname}${extract.suffix} md5 b94252f78da414cc0c7122cdd2a4b2be \ |
---|
20 | ${distname}${extract.suffix} sha1 e1885362d559ea97c62a2437a1d3a94114ef5b05 \ |
---|
21 | ${distname}${extract.suffix} rmd160 2f45ace5044233f171ac8e4fd389d523befaca51 \ |
---|
22 | mico-2.3.12-secfix1.diff md5 6248a4fbbdd542f062a515be03de0db9 \ |
---|
23 | mico-2.3.12-secfix1.diff sha1 131a177c947d1970a21ad95855b6e84e76d0b73b \ |
---|
24 | mico-2.3.12-secfix1.diff rmd160 404783926c1a164be7dbbd494d038cadab834124 |
---|
25 | patchfiles mico-2.3.12-secfix1.diff patch-mico-shld.def.in.diff \ |
---|
26 | patch-os-math.h.diff patch-Makefile.diff |
---|
27 | |
---|
28 | worksrcdir mico |
---|
29 | patch.pre_args -p1 |
---|
30 | post-patch { |
---|
31 | reinplace "s,@prefix@,${prefix},g" admin/mico-shld.def.in |
---|
32 | reinplace "s,(SHARED_INSTDIR)/man,(SHARED_INSTDIR)/share/man,g" man/Makefile |
---|
33 | reinplace "s,(SHARED_INSTDIR)/doc,(SHARED_INSTDIR)/share/doc,g" Makefile |
---|
34 | reinplace "s,(INSTDIR)/doc,(INSTDIR)/share/doc,g" demo/MakeVars |
---|
35 | system "find demo -name Makefile | xargs sed -i .bak s,\\(INSTDIR\\)/doc,\\(INSTDIR\\)/share/doc,g" |
---|
36 | } |
---|
37 | configure.args --with-ssl=${prefix} |
---|
38 | configure.env DYLD_LIBRARY_PATH=${worksrcpath} CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib |
---|
39 | |
---|
40 | variant powerpc { |
---|
41 | post-configure { |
---|
42 | # Hack to get it to build on PPC |
---|
43 | set the_file [open ${worksrcpath}/include/mico/config.h a] |
---|
44 | puts $the_file "#define HAVE_DYNAMIC_CAST 1" |
---|
45 | close $the_file |
---|
46 | } |
---|
47 | } |
---|
48 | build.env DYLD_LIBRARY_PATH=${worksrcpath}/orb:${worksrcpath}/ir:${worksrcpath}/auxdir |
---|
49 | destroot.destdir INSTDIR=${destroot}${prefix} SHARED_INSTDIR=${destroot}${prefix} |
---|