# $Id: Portfile 24948 2007-05-09 02:22:50Z pguyot@kallisys.net $

PortSystem 1.0
name		trace
version		1
categories	test
maintainers	pguyot@kallisys.net
description	Test port for -t
homepage	http://www.macports.org/
platforms	darwin

long_description ${description}

fetch		{}
checksum	{}
extract		{}
configure	{}
build		{}
destroot	{
	system "touch ${destroot}${prefix}/lib/${name}"
}

test {
	catch {system "touch create-trace"}
	catch {system "rm delete-trace"}
	system "touch /tmp/hello-trace"
	system "rm /tmp/hello-trace"
	system "ln -s /usr/include/ link-trace"
	system "rm /tmp/link-trace2"
	catch {system "mkdir mkdir-trace"}
	catch {system "rmdir rmdir-trace"}
	catch {system "mv rename-trace rename-new-trace"}
	catch {system "DYLD_INSERT_LIBRARIES= touch create-trace-modenv"}
	system "mkdir -p /usr/bin"
}
