# -*- 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                poly2tri-c
version             0.1.0
license             BSD
categories          graphics
maintainers         {devans @dbevans} openmaintainer

homepage            https://code.google.com/archive/p/${name}/

description         A 2D constrained Delaunay triangulation and Delaunay refinement library
long_description    ${description}

master_sites        https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/${name}

use_zip             yes

distname            source-archive
worksrcdir          ${name}

checksums           rmd160  daa5fd8f21976c235837d6c1e8ce5ea093af8907 \
                    sha256  12d7a1c5f29bd1b447bc2e649972e4ede1ac1807df882a53594f38bbe0079c9d \
                    size    555611

depends_build       port:pkgconfig \
                    port:autoconf \
                    port:automake \
                    port:libtool

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2

patchfiles          poly2tri-c-0.1.0-compilefix.patch \
                    no-pedantic-werror.patch

# No configure script in tarball.
configure.cmd       ./autogen.sh

configure.args      --disable-silent-rules

livecheck.type      none
