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

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

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