# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                duke3d
version             0.1
categories          games
platforms           darwin
maintainers         nomaintainer

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/
}

livecheck.type none
