# -*- 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
PortGroup           app 1.0

name                bomberclone
version             0.11.9
revision            3
categories          games
platforms           darwin
maintainers         nomaintainer
license             GPL-2

description         AtomicBomberman clone incl. networking and AI players
long_description    Bomberclone is a clone of AtomicBomberman. \
	                It includes AI players, network play via master/client, \
                    configureable tile sets, etc.

homepage            https://www.bomberclone.de/
master_sites        sourceforge:project/${name}/${name}

checksums           md5     3edcfcf69b88dbd2eab42541f236e072 \
                    sha1    6bf04fc08a1413b6a3a8598e3cd25d334c0f612f \
                    rmd160  c4947c25e8f28d5efc1e2bfc8c273faa5cef7ecd \
                    sha256  71eb2788f95c136fd3eecaee15d05a80dea07221b5b3530dc869e433e02ff68d

depends_lib         port:libsdl \
                    port:libsdl_mixer \
                    port:libsdl_image \
                    port:libpng \
                    path:include/turbojpeg.h:libjpeg-turbo

configure.args      --disable-sdltest \
                    --disable-debug \
                    --disable-werror

post-configure	{
    reinplace "s|/doc/bomberclone|/share/doc/bomberclone|g" \
        ${worksrcpath}/Makefile
}

app.icon            data/pixmaps/bomberclone.png

livecheck.regex     "bomberclone-(\\d+(?:\\.\\d+)*)"