# -*- 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            linsmith
version         0.99.31
license         GPL-2+
description     linSmith is a Smith Charting program.

long_description \
                ${description} You can enter either discrete components or transmission lines, \
                see the results on screen and/or generate Postscript output. Component values \
                can be changed numerically or using scrollbars.

maintainers     nomaintainer
categories      gnome science
platforms       darwin
homepage        http://jcoppens.com/soft/linsmith/index.en.php
master_sites    sourceforge

checksums       rmd160  a3f2c18bd4d89375ac8b55fd7370a6b958d01259 \
                sha256  bafdf9edcae7e55bc85bfc989620d9e8c8cbb6b9a1bd39a14e0c1b81923d128f \
                size    1138998

depends_build   port:pkgconfig

depends_lib     path:lib/pkgconfig/cairo.pc:cairo \
                path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
                port:libxml2 \
                port:libgnomeui

patchfiles      return-types.diff

# autoreconf to update outdated file 'missing'
use_autoreconf  yes
autoreconf.args -fvi

livecheck.url   http://sourceforge.net/projects/${name}/files/
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
