# $Id: Portfile 39595 2008-08-26 02:11:36Z jann@macports.org $ PortSystem 1.0 name mico version 2.3.12 homepage http://www.mico.org/ description Fully compliant CORBA implementation long_description MICO is a mature, secure, robust, fully \ standards-compliant implementation of the CORBA standard. categories devel platforms darwin maintainers roederja@student.ethz.ch darrell@schiebel.us master_sites http://www.mico.org/ patch_sites http://mico.org/errata/ depends_lib port:openssl lib:libncurses:ncurses checksums ${distname}${extract.suffix} md5 b94252f78da414cc0c7122cdd2a4b2be \ ${distname}${extract.suffix} sha1 e1885362d559ea97c62a2437a1d3a94114ef5b05 \ ${distname}${extract.suffix} rmd160 2f45ace5044233f171ac8e4fd389d523befaca51 \ mico-2.3.12-secfix1.diff md5 6248a4fbbdd542f062a515be03de0db9 \ mico-2.3.12-secfix1.diff sha1 131a177c947d1970a21ad95855b6e84e76d0b73b \ mico-2.3.12-secfix1.diff rmd160 404783926c1a164be7dbbd494d038cadab834124 patchfiles mico-2.3.12-secfix1.diff patch-mico-shld.def.in.diff \ patch-os-math.h.diff patch-Makefile.diff worksrcdir mico patch.pre_args -p1 post-patch { reinplace "s,@prefix@,${prefix},g" admin/mico-shld.def.in reinplace "s,(SHARED_INSTDIR)/man,(SHARED_INSTDIR)/share/man,g" man/Makefile reinplace "s,(SHARED_INSTDIR)/doc,(SHARED_INSTDIR)/share/doc,g" Makefile reinplace "s,(INSTDIR)/doc,(INSTDIR)/share/doc,g" demo/MakeVars system "find demo -name Makefile | xargs sed -i.bak s,\\(INSTDIR\\)/doc,\\(INSTDIR\\)/share/doc,g" } configure.args --with-ssl=${prefix} configure.env DYLD_LIBRARY_PATH=${worksrcpath} platform powerpc { post-configure { # Hack to get it to build on PPC set the_file [open ${worksrcpath}/include/mico/config.h a] puts $the_file "#define HAVE_DYNAMIC_CAST 1" close $the_file } } build.env DYLD_LIBRARY_PATH=${worksrcpath}/orb:${worksrcpath}/ir:${worksrcpath}/auxdir destroot.destdir INSTDIR=${destroot}${prefix} SHARED_INSTDIR=${destroot}${prefix}