# $Id: Portfile,v 1.1 2005/01/31 18:16:06 mww Exp $

PortSystem 1.0

name			pearpc
version			0.4.0-pre
categories		emulators
platforms		darwin
maintainers		shadow@dementia.org
description		PowerPC Emulator
long_description	PearPC is a PowerPC emulator which emulates a base set of \
				hardware you might have on an older Macintosh system. As it \
				currently emulates a processor rather than using \
				virtualization, it is very slow on a PowerPC based system.
homepage		http://pearpc.sourceforge.net/
patchfiles		patch-ppc_alu.cc patch-sysx11.cc

depends_lib		lib:libX11.6:XFree86

fetch.type		cvs
cvs.root		:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pearpc
cvs.module		pearpc
cvs.password	""
cvs.args		-D20050106

worksrcdir		${cvs.module}

pre-configure	{ system "cd ${worksrcpath} && sh ./autogen.sh" }
configure.args	--mandir=\\\${prefix}/share/man

destroot.destdir	prefix=${destroot}${prefix}
