# -*- 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 active_variants 1.1 name gaw version 20170605 categories cad platforms darwin license GPL-2 maintainers {gmx.de:Torsten.Maehne @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. homepage http://www.rvq.fr/linux/gaw.php master_sites http://download.tuxfamily.org/gaw/download/ depends_build port:pkgconfig depends_lib port:hicolor-icon-theme depends_run port:openbrowser patchfiles patch-src-userprefs.h.diff configure.args --enable-gawsound=no livecheck.type regex livecheck.url ${master_sites} variant gtk2 conflicts gtk3 description {Use the GTK2+ toolkit for the GUI} { distname ${name}2-${version} checksums md5 62f512dc42c789c115b2e51498307c1f \ sha1 f8ee9b494a597ecfee646371064bd4b8256a66b8 \ rmd160 b8ff66ff4033c7abad422f0ef14ebb2556475214 \ sha256 a73658c52f097bdede96277694dae1c2b41fae82fe95ed9f11a9b8e635680ed8 depends_lib-append path:lib/pkgconfig/gtk+-2.0.pc:gtk2 require_active_variants gtk2 x11 livecheck.regex ${name}2-(\[0-9\]+)${extract.suffix} } variant gtk3 conflicts gtk2 description {Use the GTK3+ toolkit for the GUI} { distname ${name}3-${version} checksums md5 ccffcd34d63a1f3716dd33eaa4950d77 \ sha1 837e59cc363a845276618afd6040d9335804f21f \ rmd160 cefeb10d12e4c7b4deb7d1ed84506ee628f75ea0 \ sha256 8dfc1d741bdc50d43ba79f7080a807549730cb17b240eb5de5e2273b8063d658 depends_lib-append path:lib/pkgconfig/gtk+-3.0.pc:gtk3 require_active_variants gtk3 x11 livecheck.regex ${name}3-(\[0-9\]+)${extract.suffix} } if {![variant_isset gtk2] && ![variant_isset gtk3]} { default_variants +gtk3 }