# -*- 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 PortSystem 1.0 PortGroup openssl 1.0 openssl.branch 1.1 name racket version 8.17 revision 0 categories lang scheme license Apache-2 MIT maintainers {@barracuda156 gmail.com:vital.had} openmaintainer description Scheme programming environment long_description Interactive, integrated, graphical {*}${description}. homepage https://racket-lang.org master_sites https://download.racket-lang.org/releases/${version}/installers/ \ https://mirror.racket-lang.org/installers/${version}/ \ https://www.cs.utah.edu/plt/installers/${version}/ \ https://www.eecs.northwestern.edu/racket/${version}/ \ https://mirror.csclub.uwaterloo.ca/racket/racket-installers/${version}/ \ https://mirror.informatik.uni-tuebingen.de/mirror/racket/${version}/ \ https://racket.infogroep.be/${version}/ distname ${name}-minimal-${version}-src extract.suffix .tgz checksums rmd160 48637c0cbeb240461516a23fb3ba34b51430630d \ sha256 4acb365869290881fa07c69588cfa8b2dc1000bdc69955d70964b0b1e76b71ba \ size 16865194 extract.rename yes patch.dir ${workpath}/${distname} # https://github.com/racket/racket/issues/5025 # diff -NaurdwB -I '^;;[[:space:]]*' ./racket-orig/ ./racket-new | sed -E -e 's/\.\/racket-(orig|new)/\./g' > ~/Downloads/paths-to-openssl.diff patchfiles-append paths-to-openssl.diff post-patch { foreach rkt {libcrypto.rkt libssl.rkt} { reinplace "s|@@PREFIX@@|${prefix}|g" \ ${worksrcpath}/../collects/openssl/${rkt} } } worksrcdir ${worksrcpath}/src depends_build-append \ port:libtool depends_lib-append port:ncurses \ port:libffi \ port:libiconv \ port:lz4 \ port:zlib configure.args-append \ --enable-curses \ --enable-liblz4 \ --enable-libz \ --enable-pthread \ --enable-xonx if {${configure.build_arch} in [list ppc ppc64]} { # Stripping may fail on PowerPC: # https://github.com/racket/racket/issues/5021 configure.args-append \ --disable-strip \ --enable-bigendian } livecheck.type regex livecheck.url https://racket-lang.org livecheck.regex {>Racket version ((?:\d+\.?)+)<}