PortSystem 1.0

name			ctool
version			1.2.3
revision		5
categories		security
license			Noncommercial
maintainers		nomaintainer
description		ctool is a checksumming application.
long_description	ctool is a checusmming application that is mindful of the \
			prebinding information stored in Mach-o executable files.
homepage		http://web.archive.org/web/20050405212926/http://www.macsecurity.org/tools/ctool/
master_sites		http://web.archive.org/web/20050405212926/http://www.macsecurity.org/data/
checksums	md5 	ae041e804743924e4fdc95e53645f64a
platforms		darwin
depends_lib		path:lib/libssl.dylib:openssl \
			port:curl
patchfiles		patch-Makefile \
			patch-ctool.c \
			patch-safe_string.c
use_configure		no
build.env		CC=${configure.cc} \
			CFLAGS=${configure.cflags} \
			CPPFLAGS=${configure.cppflags} \
			LDFLAGS=${configure.ldflags}
destroot.env		{*}${build.env}
post-configure		{ reinplace "s|/usr/local|${destroot}${prefix}|g" \
				${worksrcpath}/Makefile }