# -*- 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
# $Id: Portfile 58210 2009-09-24 06:56:08Z ryandesign@macports.org $

PortSystem          1.0

name                sdl_sopwith
version             1.7.1
categories          games
platforms           darwin
maintainers         jmr openmaintainer
description         Classic biplane shooter
long_description    This is a port of the classic computer game \"Sopwith\" to run on modern \
                    computers and operating systems.
homepage            http://sdl-sopwith.sourceforge.net/

master_sites        sourceforge:sdl-sopwith
checksums           md5 bc66c80c83b14d48b60ba263403dba9a \
                    sha1 21ad6273ddb89a4c45ad11a8e35f8f6958bcc5b5 \
                    rmd160 7c55da41e7e160b4a84e5235974ecf0d48d1010a

depends_lib         path:lib/pkgconfig/sdl.pc:libsdl \
                    port:gtk2

patchfiles          patch-src_swsound.c.diff

configure.args      --mandir=${prefix}/share/man

post-destroot {
    # the SDL binary is broken, so just leave the gtk version
    file delete ${destroot}${prefix}/bin/sopwith
}

livecheck.type      none
