# $Id$

PortSystem 1.0

name             dmalloc
version          5.5.2
revision         1
categories       devel
maintainers      toby
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         http://dmalloc.com/
platforms        darwin 

master_sites     ${homepage}releases/
extract.suffix   .tgz
checksums        md5 f92e5606c23a8092f3d5694e8d1c932e

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\"