# $Id: Portfile 146517 2016-03-10 17:49:28Z raimue@macports.org $ PortSystem 1.0 name mico version 2.3.13 revision 3 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 license GPL-2+ platforms darwin maintainers jann schiebel.us:darrell openmaintainer master_sites http://www.mico.org/ depends_lib path:lib/libssl.dylib:openssl port:ncurses checksums ${distname}${extract.suffix} md5 a8e5d5a0e32dba2ef767eb5189f1732a \ ${distname}${extract.suffix} sha1 ee0138deb4d9ad0a50fe18e0b2add99fb5831c93 \ ${distname}${extract.suffix} rmd160 70c8b9e68deac853ed2a28f48cd719bdef4e60fb patchfiles patch-mico-shld.def.in.diff \ patch-configure.diff \ patch-main-sig.diff worksrcdir mico patch.pre_args -p1 post-patch { reinplace "s,@prefix@,${prefix},g" ${worksrcpath}/admin/mico-shld.def.in reinplace "s,(SHARED_INSTDIR)/man,(SHARED_INSTDIR)/share/man,g" ${worksrcpath}/man/Makefile reinplace "s,(SHARED_INSTDIR)/doc,(SHARED_INSTDIR)/share/doc,g" ${worksrcpath}/Makefile reinplace "s,(INSTDIR)/doc,(INSTDIR)/share/doc,g" ${worksrcpath}/demo/MakeVars system "find ${worksrcpath}/demo -name Makefile | xargs sed -i.bak s,\\(INSTDIR\\)/doc,\\(INSTDIR\\)/share/doc,g" } configure.args --with-ssl=${prefix} 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 } } destroot.destdir INSTDIR=${destroot}${prefix} SHARED_INSTDIR=${destroot}${prefix}