# -*- 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 github 1.0 PortGroup active_variants 1.1 PortGroup app 1.0 github.setup KJ7LNW xnec2c 4.4.18 v github.tarball_from archive categories science license GPL-3 maintainers @vk1kcm openmaintainer description Xnec2c: Fast Multi-Threaded EM Simulator based on NEC2 long_description Xnec2c is a GTK3-based Graphical version of nec2c, a translation \ to the C language of NEC2, the FORTRAN Numerical Electromagnetics \ Code commonly used for antenna simulation and analysis. homepage https://www.xnec2c.org revision 0 checksums rmd160 ddf718a92574ea4e1f659353f1ca70cd628d0a2b \ sha256 c4b7eaf4d45242a805b6d697136ad13b1ff751db1d5854d31a755da7f1973045 \ size 1539818 use_autoreconf yes compiler.c_standard 2011 configure.compiler macports-gcc-15 depends_build-append \ port:pkgconfig \ port:gettext depends_lib-append \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 variant openblas description {Build with OpenBLAS accelerated linear algegra support} { depends_lib-append \ path:lib/libopenblas.dylib:openblas-devel } notes-append { If you haven't installed any gtk3 apps before, then this will build the X11 version of GTK3 so will require the port "xorg-server" to display the application. To switch your gtk3 over to using Quartz instead do the following: sudo port install glib2 +quartz -x11 sudo port install libepoxy +quartz -x11 sudo port install gtk3 +quartz -x11 This will switch *all* gtk3 apps over to using Quartz. You should probably reinstall any affected gtk3 ports after switching. To make Quartz the default for all apps you can add -x11 +quartz } notes-append " " notes-append "to the ${prefix}/etc/macports/variants.conf file" notes-append { and rebuild the affected ports. An app to run xnec2c has been placed in Applications/MacPorts. } notes-append " " notes-append "Examples are in ${prefix}/share/xnec2c/examples" app.create yes app.name xnec2c app.executable xnec2c app.icon files/xnec2c.png app.retina yes