Ticket #45092: Portfile

File Portfile, 1.2 KB (added by c9s (Yo-An Lin), 10 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$
3
4PortSystem      1.0
5
6name            jemalloc
7categories      devel
8version         3.6.0
9revision        0
10license         BSD
11maintainers     openmaintainer
12
13description     a general-purpose scalable concurrent malloc(3) implementation
14long_description \
15    jemalloc is a general-purpose scalable concurrent malloc(3) implementation.
16
17homepage        http://www.canonware.com/jemalloc/
18master_sites    http://www.canonware.com/download/jemalloc/
19
20use_bzip2       yes
21
22checksums \
23    rmd160  4c65b40af64cfafc02cdc5c01439a277bc32ccc7 \
24    sha256  e16c2159dd3c81ca2dc3b5c9ef0d43e1f2f45b04548f42db12e7c12d7bdf84fe
25
26depends_build   port:libxslt
27
28# configure.compiler macports-gcc-4.8
29configure.args-append --disable-debug --with-jemalloc-prefix=
30
31patchfiles memalign.diff
32
33post-extract {
34    # move [glob ${workpath}/*] ${worksrcpath}
35    move ${worksrcpath}/bin/pprof ${worksrcpath}/bin/jemalloc-prof
36}
37
38test.run        yes
39test.target     check
40
41livecheck.type  regex
42livecheck.url   http://www.canonware.com/jemalloc/download.html
43livecheck.regex {/jemalloc-([0-9]+\.[0-9.]+)\.tar\.}