# $Id: Portfile,v 1.9 2003/10/24 05:14:29 fkr Exp $

PortSystem 1.0
name				otest
version				25
revision			1
categories			devel
maintainers			michaelm@opendarwin.org
description			Unit testing framework for Objective-C
long_description	OCUnit is a testing framework for Objective C in the Mac OS X, Mac OS X Server, YellowBox/Cocoa and WebObjects environments.  This Objective C testing framework is a based on SUnit, Kent Beck's Smalltalk unit testing framework, also available for Java under the name JUnit, and is distributed as open source.
homepage            http://sente.epfl.ch/software/ocunit/
platforms			darwin

master_sites		http://www.sente.ch/pub/software/OCUnit/
distname			OCUnitSourceDistribution_v${version}
checksums			md5 3260eb3fd4b0ddcf358ce7a9cdcbe7c8
depends_lib			path:/Library/Frameworks/SenTestingKit.framework:sentestingkit 
					
extract.post_args	| gnutar -x

worksrcdir 			OCUnitSourceDistribution/OCUnit/otest

configure {}
build.env			INSTALL_PATH=${prefix}/bin
build.type 			pbx

build.target
destroot			{system "cd ${worksrcpath} && ditto -v build/otest \
					   ${destroot}${prefix}/bin/otest "}
