# -*- 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                gerbv
version             2.7.0
categories          cad science electronics
platforms           darwin
license             GPL-2
maintainers         nomaintainer

description         Gerber Viewer (gerbv) is a viewer for Gerber files
long_description    Gerber Viewer (gerbv) is a viewer for Gerber files. \
                    Gerber files are generated from PCB CAD system and sent \
                    to PCB manufacturers as basis for the manufacturing process. \
                    The standard supported by gerbv is RS-274X.

homepage            http://gerbv.geda-project.org
master_sites        sourceforge:project/gerbv/gerbv/gerbv-${version}

checksums           rmd160  d1178c2ecdd3d821f4593c6dc284fff959b217e0 \
                    sha256  c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4 \
                    size    5691407
revision            1

depends_build       port:pkgconfig
depends_lib         path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
                    port:libpng

configure.args      --disable-update-desktop-database

variant quartz {
    configure.cflags-append -DQUARTZ=1
}

app.create yes
app.name gerbv
app.executable gerbv
app.icon desktop/gerbv.svg
app.retina yes