tgz with tweaks attached; - don't use github autogenerated tar when upstream has an uploaded one - use standard location for examples (I couldn't figure out where install is done in the makefiles to adjust directly, so just mv'd into place) - don't list ports as LIB_DEPENDS unless they're used directly (e.g. libraries only used as deps of gtk+3) - small ordering/whitespace tweaks
On 2025/12/30 00:30, Enzo Nicosia wrote: > Hello ports@, > > here is (yet) another hamradio-related port. > > DESCR below: > > -+-+- > xnec2c is a high-performance multi-threaded electromagnetic simulation > package to model antenna near- and far-field radiation patterns for > Linux and UNIX operating systems. The original FORTRAN version of NEC2 > was ported to C by Neoklis Kyriazis, 5B4AZ and released as nec2c. The > same author wrote xnec2c, a graphical interface for ease of use with > many more features. > > xnec2c has a built-in editor for NEC2 input files which can be used to > edit geometry or command "card" data, as well as a set of visual pop-up > editor windows that open when appropriate buttons are clicked or when a > selected row is right-clicked with the mouse. These editors allow > easier, more convenient entry and editing of individual rows, with no > need for detailed knowledge of NEC2 "card" formats. > > xnec2c can simulate and visualise 3D radiation plots, near-field plots, > and frequency data plots. It comes with an extensive set of example > files, containing NEC2 models for a variety of antennas. > -+-+- > > The port compiles OOTB. The only needed patch is for the manpage, which > has an explicit reference to the html manual under /usr/share/doc. > > The only slightly strange quirk I noticed is that portcheck suggests to > include a RUN_DEPENDS on x11/gtk+4,-guic but xnec2c only depends on > gtk+3 (not knowing any better, I followed that suggestion). The package gtk-update-icon-cache is shared between gtk+3 and gtk+4 regen plist after adding those deps, some dirs will be dropped out > works without any issue on -current, but I haven't had a chance to check > desktop-related stuff (i.e., if update-desktop-database or > gtk-update-icon-cache do their job as needed) as I am not running any > DE. > > I can take maintenance of this port, as I am using xnec2c frequently. > > Is this OK? > > Regards > > Enzo > > --
xnec2c.tgz
Description: application/tar-gz
