# $Id: Portfile 37028 2008-05-23 11:41:37Z ryandesign@macports.org $

PortSystem 1.0

name		duke3d
version		0.1
categories	games
platforms	darwin
maintainers	phw openmaintainer
description	Runtime for FPS Duke Nukem 3D
long_description Duke Nukem 3D is a first-person shooter computer game \
		 developed by 3D Realms and published by Apogee Software. \
		 Level and gamefiles are not included (use Shareware Version)
fetch.type      svn
svn.url 	svn://svn.icculus.org/duke3d/trunk/
homepage	http://icculus.org/duke3d/

depends_lib	port:libsdl \
		port:libsdl_image \
		port:libsdl_mixer

worksrcdir       trunk/source/
use_configure    no
build.args       macosx=true

destroot {
	xinstall -m 755 -d ${destroot}/${prefix}/bin
	file copy ${worksrcpath}/${name} ${destroot}/${prefix}/bin/
	}
