# $Id: Portfile 73834 2010-11-26 19:26:36Z jmr@macports.org $

PortSystem 1.0

name			ctool
version			1.2.3
revision		2
categories		security
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		port: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 }
