PortSystem 1.0

name            dmalloc
version         5.6.5
categories      devel
maintainers     {toby @tobypeterson}
description     Debug Malloc Library
long_description \
	The debug memory allocation or dmalloc library \
	has been designed as a drop in replacement for \
	the system's malloc, realloc, calloc, free and \
	other memory management routines while providing \
	powerful debugging facilities configurable at runtime.
homepage        https://dmalloc.com/
platforms       darwin 

master_sites    ${homepage}releases/
extract.suffix  .tgz
checksums       rmd160  c708cd76bf7857a0ffc81248e5124c8844e7b226 \
                sha256  480e3414ab6cedca837721c756b7d64b01a84d2d0e837378d98444e2f63a7c01 \
                size    322310

patchfiles      patch-configure

configure.args  --enable-cxx --enable-threads --enable-shlib

destroot.destdir \
                prefix=${destroot}${prefix}

livecheck.type  regex
livecheck.url   [lindex ${master_sites} 0]
livecheck.regex href=\"dmalloc-(\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)\\.tgz\"
