# -*- 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
# $Id: Portfile 112697 2013-10-29 15:59:40Z snc@macports.org $

PortSystem              1.0
PortGroup               active_variants 1.1

name                    gaw
version                 20130801
categories              cad
platforms               darwin
license                 GPL-2
maintainers             gmx.de:Torsten.Maehne
description             Gtk Analog Wave viewer
long_description        Gaw is a software tool for displaying analog waveforms \
                        from sampled data, e.g., from the output of simulators \
                        like Spice. Data can be imported to gaw using files or \
                        direct TCP/IP connections. Gaw is based on the \
                        Gtk2+ toolkit.

homepage                http://www.rvq.fr/linux/gaw.php
master_sites            http://download.tuxfamily.org/gaw/download/
distname                ${name}2-${version}

checksums               md5     2ea388d530176d30be52a1530237f21b \
                        sha1    c3d54a320454f3fc5e8fc45db213eaeda3e4f2fd \
                        rmd160  aa0e7c95afa1be77b6c84a97863e77f0d9e147cd

depends_build           port:pkgconfig
depends_lib             port:gtk2 \
                        port:hicolor-icon-theme
depends_run             port:openbrowser

require_active_variants gtk2 x11

patchfiles              patch-src-userprefs.h.diff

configure.args          --enable-gawsound=no

livecheck.type          regex
livecheck.url           ${master_sites}
livecheck.regex         ${name}2-(\[0-9\]+)${extract.suffix}
