# -*- 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 # $Id$ PortSystem 1.0 name jemalloc categories devel version 4.2.1 revision 1 license BSD platforms darwin maintainers gmail.com:yoanlin93 openmaintainer description a general-purpose scalable concurrent malloc(3) implementation long_description \ jemalloc is a general-purpose scalable concurrent malloc(3) implementation. homepage http://www.canonware.com/jemalloc/ master_sites http://www.canonware.com/download/jemalloc/ use_bzip2 yes checksums rmd160 fdd50de876c8e78e14e4c75e54b3ed05b6fba1c0 \ sha256 5630650d5c1caab95d2f0898de4fe5ab8519dc680b04963b38bb425ef6a42d57 depends_build port:libxslt # https://trac.macports.org/ticket/52238 # https://github.com/jemalloc/jemalloc/commit/4abaee5 # https://github.com/jemalloc/jemalloc/commit/19c9a3e patch.pre_args -p1 patchfiles 0001-Avoid-getting-the-same-default-zone-twice-in-a-row.patch \ 0002-Change-how-the-default-zone-is-found.patch configure.args-append --disable-debug --with-jemalloc-prefix= # provide a compatibility symlink with the older name post-destroot { ln -s ${prefix}/bin/jeprof ${destroot}${prefix}/bin/${name}-prof } test.run yes test.target check livecheck.type regex livecheck.url http://www.canonware.com/jemalloc/download.html livecheck.regex {/jemalloc-([0-9]+\.[0-9.]+)\.tar\.}