source: trunk/dports/science/qucs/Portfile @ 125874

Last change on this file since 125874 was 125874, checked in by rowue@…, 3 years ago

qucs: update to 0.0.18 - see #44852

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 125874 2014-09-28 21:55:52Z rowue@macports.org $
3
4PortSystem      1.0
5
6name                qucs
7version             0.0.18
8categories          science electronics
9license             GPL-2+
10maintainers         rowue openmaintainer
11platforms           darwin
12
13description         an integrated circuit simulator
14long_description    Qucs is an integrated circuit simulator. \
15                    You can set up a circuit with a graphical user interface.
16
17homepage            http://qucs.sourceforge.net/
18master_sites        sourceforge:project/qucs/qucs/${version}
19
20checksums           rmd160  c0d31bede22f0670ec707eaf41286107af2ced89 \
21                    sha256  3609a18b57485dc9f19886ac6694667f3251702175bd1cbbbea37981b2c482a7
22
23depends_build       port:pkgconfig \
24                    port:bison
25
26depends_lib         port:qt4-mac \
27                    port:freehdl \
28                    port:libtool \
29                    port:iverilog \
30                    port:asco
31
32configure.args      --disable-sdk --disable-asco
33                   
34# iverilog is not universal
35universal_variant   no
36
37use_parallel_build  yes
38
39patchfiles          patch-configure.diff \
40                    patch-qucs_qucsdigi.diff \
41                    patch-qucs_qucsveri.diff
42
43variant shipped_asco description { Use shipped asco } {
44        configure.args-delete    --disable-asco
45        depends_lib-delete       port:asco
46}
47       
48post-patch {
49    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/qucs/qucsdigi ${worksrcpath}/qucs/qucsveri
50}
51
52post-destroot {
53    foreach Program {qucs qucsedit qucsfilter qucshelp qucslib qucsrescodes qucstrans qucsattenuator} {
54        ln -s ${prefix}/bin/${Program}.app ${destroot}${applications_dir}/${Program}.app
55    }
56}
Note: See TracBrowser for help on using the repository browser.