# -*- 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                libsdl2_gfx
set real_name       SDL2_gfx
version             1.0.4
revision            1
categories          devel graphics
platforms           darwin
license             zlib
maintainers         nomaintainer
description         SDL2 graphics drawing primitives and other support functions
long_description    Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) for SDL2.

homepage            http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/

master_sites        sourceforge:sdl2gfx
distname            ${real_name}-${version}

checksums           rmd160  7f22e57a4e6ec7b57dade9d7b07a2e094dbd6c23 \
                    sha256  63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262 \
                    size    1230588

depends_build       port:pkgconfig
depends_lib         port:libsdl2

configure.args      --disable-sdltest

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     ${real_name}-(\\d+(?:\\.\\d+)*)