# $Id: Portfile 71533 2010-09-15 20:26:12Z 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	path:lib/pkgconfig/sdl.pc: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/
	}

livecheck.type none
