source: trunk/dports/science/wcalc/Portfile

Last change on this file was 114431, checked in by and.damore@…, 4 years ago

Drop maintenance, leave openmaintainer in ports with shared maintenance

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- 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
2# $Id: Portfile 114431 2013-12-08 09:48:42Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                wcalc
7version             1.1
8categories          science electronics
9maintainers         nomaintainer
10platforms           darwin
11license             GPL-2
12description         analyze and synthesize transmission line structures and related components
13long_description \
14                    Wcalc is a tool for the analysis and synthesis of transmission line structures \
15                    and related components. Wcalc provides the ability to analyze the electrical \
16                    parameters of a particular structure based on the physical dimensions and \
17                    material parameters. The synthesis portion calculates the required physical \
18                    parameters to meet desired electrical specifications. Wcalc includes several \
19                    models and places an emphasis on accuracy. Wcalc is part of gEDA project, a \
20                    full GPL'd suite of Electronic Design Automation tools. 
21homepage            http://wcalc.sourceforge.net/
22master_sites        sourceforge:${name}
23
24checksums           md5     62d41eac2979c1a745e4e4c7045d97c4 \
25                    sha1    f6a96ef3abad9c87b491bc7fb0379b022809d182 \
26                    rmd160  d59b8b3dd8a850cc33bef601a61b6aafb6116384
27
28depends_build       port:pkgconfig
29depends_lib         port:gtk2 \
30                    port:gawk
31
32use_parallel_build  no
33
34patchfiles          patch-utils_shtml2html.diff
35post-patch {
36    #patch the usage of 'include' variable in awk script, not working with gawk 4.0+
37    reinplace "s|shtml2html include=|shtml2html env_include=|" ${worksrcpath}/htdocs/Makefile.in
38}
39
40configure.args-append \
41                    --enable-gtk2 \
42                    --enable-htdocs \
43                    --enable-stdio \
44                    --enable-sourceforge \
45                    --enable-cgi \
46                    --without-matlab \
47                    --without-octave \
48                    --without-scilab \
49
50post-destroot {
51    xinstall -d -m 755 ${destroot}${prefix}/share/doc
52    file rename ${destroot}${prefix}/share/${distname} \
53                ${destroot}${prefix}/share/doc/${name}
54    eval move  [glob ${destroot}${prefix}/share/${name}/*] \
55                ${destroot}${prefix}/share/doc/${name}
56}
57
58livecheck.type  regex
59livecheck.url   http://sourceforge.net/projects/${name}/files/
60livecheck.regex "${name}-(\\d+)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.