source: trunk/dports/science/qucs/Portfile

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

qucs: added freehdl variant

since freehdl does not build on 10.9 (#43622) we add
a variant feehdl which is included by default.

The use of freehdl can be disable by --freehdl

See #45225

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