# -*- 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 84271 2011-09-21 18:23:32Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           app 1.0

name                sdl_sopwith
version             1.7.4
revision            1
categories          games
platforms           darwin
license             GPL-2+
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:project/sdl-sopwith/${name}/${version}/
distname            sopwith-${version}
checksums           md5 f7bd8f754409aedd003b5b99d20f06dd \
                    sha1 e2523afb16ce04fe772468f5a3d027a162460d46 \
                    rmd160 f1ba6723d7606cdff00e43e593199040f1e1127c

depends_build       port:pkgconfig
depends_lib         path:lib/pkgconfig/sdl.pc:libsdl

patchfiles          src_Makefile.in.patch src_sdl_video.c.patch \
                    src_swmain.c.patch configure.patch

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

app.name            Sopwith
app.executable      sopwith

livecheck.regex     /sopwith-(\[0-9.\]+)${extract.suffix}
