# -*- 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 name xnec2c 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 github.setup KJ7LNW xnec2c 4.4.16 v github.tarball_from archive revision 0 checksums rmd160 4cc1d731f8f57c2a785337f9b7a9bbc626007da8 \ sha256 787fe8346c9bfc2d47b46325ed77bce6be21a5ae547361e0822c1ade49fb9046 \ size 1516554 use_autoreconf yes compiler.c_standard 2011 depends_build-append \ port:pkgconfig \ port:gettext depends_lib-append \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 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