source: trunk/dports/devel/omniORB/Portfile

Last change on this file was 139229, checked in by jeremyhu@…, 2 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.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 139229 2015-08-08 03:10:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           conflicts_build 1.0
6
7name                omniORB
8version             4.2.0
9revision            1
10categories          devel
11platforms           darwin
12universal_variant   no
13# executables are GPL, libs are LGPL
14license             {LGPL GPL-2+}
15maintainers         nomaintainer
16
17description         high performance CORBA ORB for C++
18long_description    omniORB is a robust high performance CORBA ORB for C++ and \
19                    Python. omniORB is largely CORBA 2.6 compliant.
20homepage            http://omniorb.sourceforge.net/
21
22conflicts_build     ${name}
23depends_lib         port:python27
24
25master_sites        sourceforge:project/omniorb/omniORB/omniORB-${version}/
26use_bzip2           yes
27checksums           rmd160  0f9c18c95df9718d3a3b960cf24e1732a851a23d \
28                    sha256  74c273fc997c2881b128feb52182dbe067acfecc4cf37475f43c104338eba8bc
29
30patchfiles          patch-configure.diff \
31                    patch-mk-beforeauto.mk.in.diff \
32                    src_tool_omniidl_cxx_cccp_config-darwin.h.diff
33post-patch {
34    reinplace "s|\\(\$(CXXLINKOPTIONS)\\)|\\1 [get_canonical_archflags cxx]|g" \
35        ${worksrcpath}/mk/beforeauto.mk.in
36}
37
38configure.python    ${prefix}/bin/python2.7
39configure.args      CC="${configure.cc}" \
40                    CXX="${configure.cxx}" \
41                    CCFLAGS="[get_canonical_archflags cc]" \
42                    EXTRA_GCC_CXXFLAGS="[get_canonical_archflags cxx]" \
43                    --with-omniORB-config="${prefix}/etc/omniORB.cfg" \
44                    --with-omniNames-logdir="${prefix}/var"
45
46if {${build_arch} eq "x86_64" && ${os.platform} eq "darwin"} {
47    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
48}
49
50variant ssl description {Enable SSL support} {
51    configure.args-append   --with-openssl
52    depends_lib-append      path:lib/libssl.dylib:openssl
53}
54
55notes "
56Install py27-omniORBpy for omniORBpy.
57"
58
59livecheck.type      regex
60livecheck.url       http://omniorb.sourceforge.net/
61livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.