source: trunk/dports/devel/lua-luasec/Portfile

Last change on this file was 146517, checked in by raimue@…, 17 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        brunoos luasec 0.6alpha luasec-
8revision            1
9name                lua-luasec
10categories          devel
11license             MIT
12maintainers         nomaintainer
13platforms           darwin
14description         LuaSec depends on OpenSSL, and integrates with LuaSocket \
15                    to make it easy to add secure connections to any Lua \
16                    applications or scripts.
17
18long_description    ${description} \
19                    This version includes a new X509 certificate API.
20
21checksums           rmd160  1944ed72f389d85f785093d1ea12b6c4e7a2c685 \
22                    sha256  35dd386d7faf3f66b4e540fe48984eee1b7118c149429cded0971cf532c27c6f
23
24# builds with bundled copy of LuaSocket by default
25# so dependency on lua-luasocket is not necessary.
26
27depends_lib         port:lua \
28                    port:openssl
29
30patchfiles          patch-Makefile.diff \
31                    patch-src-Makefile.diff
32
33use_configure       no
34universal_variant   no
35
36set lua_version     5.3
37set lua_path        ${prefix}/share/lua/${lua_version}
38set lua_cpath       ${prefix}/lib/lua/${lua_version}
39
40build.target        macosx
41build.env           CC="${configure.cc} [get_canonical_archflags]" \
42                    INC_PATH=-I${prefix}/include \
43                    LIB_PATH=-L${prefix}/lib \
44                    LUAPATH=${lua_path} \
45                    LUACPATH=${lua_cpath}
46
47destroot.env        LUAPATH=${lua_path} \
48                    LUACPATH=${lua_cpath}
Note: See TracBrowser for help on using the repository browser.