source: trunk/dports/devel/mico/Portfile @ 60297

Last change on this file since 60297 was 60297, checked in by jann@…, 9 years ago

New version

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 60297 2009-11-08 19:36:20Z jann@macports.org $
2
3PortSystem          1.0
4
5name                mico
6version             2.3.13
7homepage            http://www.mico.org/
8description         Fully compliant CORBA implementation
9long_description    MICO is a mature, secure, robust, fully \
10                    standards-compliant implementation of the CORBA standard.
11categories          devel
12platforms           darwin
13maintainers         student.ethz.ch:roederja schiebel.us:darrell
14master_sites        http://www.mico.org/
15
16depends_lib         port:openssl lib:libncurses:ncurses
17
18checksums           ${distname}${extract.suffix} md5 a8e5d5a0e32dba2ef767eb5189f1732a \
19                    ${distname}${extract.suffix} sha1 ee0138deb4d9ad0a50fe18e0b2add99fb5831c93 \
20                    ${distname}${extract.suffix} rmd160 70c8b9e68deac853ed2a28f48cd719bdef4e60fb
21patchfiles          patch-mico-shld.def.in.diff \
22                    patch-configure.diff
23worksrcdir          mico
24patch.pre_args      -p1
25post-patch          {
26                       reinplace "s,@prefix@,${prefix},g" ${worksrcpath}/admin/mico-shld.def.in
27                       reinplace "s,(SHARED_INSTDIR)/man,(SHARED_INSTDIR)/share/man,g" ${worksrcpath}/man/Makefile
28                       reinplace "s,(SHARED_INSTDIR)/doc,(SHARED_INSTDIR)/share/doc,g" ${worksrcpath}/Makefile
29                       reinplace "s,(INSTDIR)/doc,(INSTDIR)/share/doc,g" ${worksrcpath}/demo/MakeVars
30                       system "find ${worksrcpath}/demo -name Makefile | xargs sed -i.bak s,\\(INSTDIR\\)/doc,\\(INSTDIR\\)/share/doc,g"
31                    }
32configure.args      --with-ssl=${prefix}
33
34platform powerpc    {
35                        post-configure {
36                            # Hack to get it to build on PPC
37                            set the_file [open ${worksrcpath}/include/mico/config.h a]
38                            puts $the_file "#define HAVE_DYNAMIC_CAST 1"
39                            close $the_file
40                        }
41                    }
42
43destroot.destdir    INSTDIR=${destroot}${prefix} SHARED_INSTDIR=${destroot}${prefix}
Note: See TracBrowser for help on using the repository browser.