Ticket #51807: Portfile

File Portfile, 1.9 KB (added by iamGavinJ (GΛVĪN), 8 years ago)
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 149991 2016-07-07 20:06:51Z jeremyhu@macports.org $
3
4PortSystem          1.0
5PortGroup           muniversal 1.0
6PortGroup           compiler_blacklist_versions 1.0
7
8name                libressl-devel
9version             2.4.1
10distname                        libressl-${version}
11
12categories          security devel
13platforms           darwin
14license             OpenSSL SSLeay
15maintainers         jeremyhu openmaintainer
16
17description         LibreSSL SSL/TLS cryptography library
18long_description    LibreSSL is composed of four parts: \
19                    The openssl(1) utility, which provides tools for managing keys, certificates, etc. \
20                    libcrypto: a library of cryptography fundamentals \
21                    libssl: a TLS library, backwards-compatible with OpenSSL \
22                    libtls: a new TLS library, designed to make it easier to write foolproof applications
23homepage            http://www.libressl.org
24
25conflicts           openssl libressl
26
27master_sites        http://ftp.openbsd.org/pub/OpenBSD/LibreSSL
28checksums           rmd160  632d4df98e6c27019588ffb8fd8df0f2e11ad22f \
29                    sha256  121922b13169cd47a85e3e77f0bc129f8d04247193b42491cb1fab9074e80477
30
31patchfiles \
32    openssldir-cert.pem.patch
33
34configure.args \
35    --disable-silent-rules \
36    --with-openssldir=${prefix}/etc/ssl
37
38post-patch {
39    reinplace "s|@OPENSSLDIR@|${prefix}/etc/ssl|" ${worksrcpath}/include/openssl/opensslconf.h
40}
41
42# gcc-4.2 from Xcode 3.2.6 fails to handle some of the asm
43compiler.blacklist *gcc-4.2* {clang < 100}
44
45# HOST_ASM_MACOSX_X86_64 gets set when building i386 on x86_64
46set merger_configure_args(i386)     --disable-asm
47
48livecheck.type      regex
49livecheck.url       ${homepage}
50livecheck.regex     "latest unstable release is (\\d+\\.\\d+(?:\\.\\d+)*)"