# -*- 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           github 1.0
PortGroup           legacysupport 1.1

# strnlen
legacysupport.newest_darwin_requires_legacy 10

github.setup        fabiangreffrath crispy-doom 6.0 crispy-doom-
github.tarball_from archive

revision            0
categories          games
license             GPL-2
maintainers         {harens @harens} openmaintainer
description         A limit-removing enhanced-resolution Doom source port based on Chocolate Doom
long_description    Crispy Doom is a friendly fork of Chocolate Doom that provides a higher display \
                    resolution, removes the static limits of the Doom engine and offers further optional \
                    visual, tactical and physical enhancements while remaining entirely config file, savegame, \
                    netplay and demo compatible with the original.

checksums           rmd160  f5214b8c8fa8858051af003980e290fa1f9034e2 \
                    sha256  2b85649c615efeac7573883370e9434255af301222b323120692cb9649b7f420 \
                    size    2499918

use_autoreconf      yes
autoreconf.args     -fiv

configure.args      --disable-silent-rules
configure.python    ${prefix}/bin/python3.11

depends_build       port:autoconf \
                    port:automake \
                    port:pkgconfig \
                    port:python311

depends_lib         port:libpng \
                    port:libsamplerate \
                    port:libsdl2 \
                    port:libsdl2_mixer \
                    port:libsdl2_net \
                    port:zlib
