notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
xnec2c Used to calculate antenna patterns useful to ham radio
4.4.17 comms on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.4.16Version of this port present on the latest quarterly branch.
Maintainer: hamradio@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-06-18 05:23:05
Last Update: 2025-10-04 14:58:20
Commit Hash: 196c081
People watching this port, also watch:: valentina, yosys, qelectrotech, hs-hledger-ui, verilator
Also Listed In: hamradio
License: GPLv3
WWW:
https://www.xnec2c.org/
Description:
xnec2c is a GTK+ graphical interactive version of nec2c. It incorporates the nec2c core which it uses for reading input files and calculating output data, but it does not need and indeed does not produce an output file by default. Graphs of frequency-related data and the current or charge distribution evolve as the frequency loop progresses, and radiation patterns (far and near field) are sequentially drawn for each frequency step.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (24 items)
Collapse this list.
  1. /usr/local/share/licenses/xnec2c-4.4.17/catalog.mk
  2. /usr/local/share/licenses/xnec2c-4.4.17/LICENSE
  3. /usr/local/share/licenses/xnec2c-4.4.17/GPLv3
  4. bin/xnec2c
  5. share/applications/xnec2c.desktop
  6. share/doc/xnec2c/NEC2-bug.txt
  7. share/doc/xnec2c/NearFieldCalcs.txt
  8. share/doc/xnec2c/images/currents.png
  9. share/doc/xnec2c/images/excitation.png
  10. share/doc/xnec2c/images/freq_plots.png
  11. share/doc/xnec2c/images/nec2_edit.png
  12. share/doc/xnec2c/images/radiation.png
  13. share/doc/xnec2c/images/web-heading.png
  14. share/doc/xnec2c/images/web-heading.xcf
  15. share/doc/xnec2c/images/wire.png
  16. share/doc/xnec2c/nec2c.txt
  17. share/doc/xnec2c/xnec2c.html
  18. share/icons/hicolor/256x256/apps/xnec2c.png
  19. share/man/man1/xnec2c.1.gz
  20. share/mime/packages/x-nec2.xml
  21. share/pixmaps/xnec2c.svg
  22. @owner
  23. @group
  24. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • xnec2c>0:comms/xnec2c
To install the port:
cd /usr/ports/comms/xnec2c/ && make install clean
To add the package, run one of these commands:
  • pkg install comms/xnec2c
  • pkg install xnec2c
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: xnec2c
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1759483732 SHA256 (xnec2c-v4.4.17.tar.gz) = aec8c02de3396ca24101763006d9ff256fa35e5a19d75636e8db48ccdbd3671d SIZE (xnec2c-v4.4.17.tar.gz) = 1529113

Packages (timestamps in pop-ups are UTC):
xnec2c
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.4.174.4.173.44.4.164.4.17n/an/an/a
FreeBSD:13:quarterly4.4.164.4.16-4.4.164.4.16n/an/an/a
FreeBSD:14:latest4.4.174.4.173.44.4.164.4.17--4.4.12_1
FreeBSD:14:quarterly4.4.164.4.16-4.4.164.4.16-4.4.12_24.4.12_2
FreeBSD:15:latest4.4.174.4.17n/a4.4.16n/an/a4.4.12_2-
FreeBSD:15:quarterly4.4.164.4.16n/a-n/an/a--
FreeBSD:16:latest4.4.174.4.17n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. update-desktop-database : devel/desktop-file-utils
  2. gettext-runtime>=0.22_1 : devel/gettext-runtime
  3. msgfmt : devel/gettext-tools
  4. gmake>=4.4.1 : devel/gmake
  5. intltool-extract : textproc/intltool
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. update-mime-database : misc/shared-mime-info
  8. autoconf>=2.72 : devel/autoconf
  9. automake>=1.17 : devel/automake
Runtime dependencies:
  1. update-desktop-database : devel/desktop-file-utils
  2. update-mime-database : misc/shared-mime-info
Library dependencies:
  1. libintl.so : devel/gettext-runtime
  2. libatk-1.0.so : accessibility/at-spi2-core
  3. libcairo.so : graphics/cairo
  4. libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
  5. libglib-2.0.so : devel/glib20
  6. libintl.so : devel/gettext-runtime
  7. libgtk-3.so : x11-toolkits/gtk30
  8. libharfbuzz.so : print/harfbuzz
  9. libpango-1.0.so : x11-toolkits/pango
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for xnec2c-4.4.17: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings
Options name:
comms_xnec2c
USES:
autoreconf desktop-file-utils gettext gmake gnome pkgconfig shared-mime-info
pkg-message:
For install:
Accelerated math library OpenBLAS can speed up xnec2c EM simulations for faster operation: pkg install openblas
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://www.xnec2c.org/releases/
Collapse this list.

Number of commits found: 26

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.4.17
04 Oct 2025 14:58:20
commit hash: 196c0811ccc0b244aede81e3d2efe66432c9eae3commit hash: 196c0811ccc0b244aede81e3d2efe66432c9eae3commit hash: 196c0811ccc0b244aede81e3d2efe66432c9eae3commit hash: 196c0811ccc0b244aede81e3d2efe66432c9eae3 files touched by this commit
Älven (alven) search for other commits by this committer
comms/xnec2c: Update 4.4.16 => 4.4.17

Changelogs:
* https://www.xnec2c.org/#Version

Approved by:	hamradio@ (alven@, yuri@)
Approved by:	yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52890
4.4.16
17 Mar 2025 04:02:08
commit hash: e87d8134a3460dff28f0c469fff83a187e9820bccommit hash: e87d8134a3460dff28f0c469fff83a187e9820bccommit hash: e87d8134a3460dff28f0c469fff83a187e9820bccommit hash: e87d8134a3460dff28f0c469fff83a187e9820bc files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move

The GTK 1-based gdk-pixbuf has not existed for some time.

No functional or package changes.
4.4.16
26 Apr 2024 13:14:46
commit hash: 17db9a057d3eaac93b4f1cc1216a52084627aec4commit hash: 17db9a057d3eaac93b4f1cc1216a52084627aec4commit hash: 17db9a057d3eaac93b4f1cc1216a52084627aec4commit hash: 17db9a057d3eaac93b4f1cc1216a52084627aec4 files touched by this commit
Diane Bruce (db) search for other commits by this committer
comms/xnec2c: Chasing fast moving xnec2c updates upgrade to 4.4.16

- Update upstream web site

commit 54118dd983c714c442ae39867a34975417cddac0
Author: Eric Wheeler <xnec2c-git@z.ewheeler.org>
Date:   Wed Apr 24 22:32:30 2024 -0700

    Release v4.4.16

    The primary purpose of this release is to fix building on sparc64.
    Additionally, there have been several code cleanups.  I would like the thank
    Diane Bruce for inspiring the code cleanup and helping with pull requests;
    also, a big thank-you to the Debian maintainer, Dave Hibberd (@Hibby), who
    helped troubleshoot and provide guidance in solving the sparc64 build issue.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
4.4.12_3
22 Feb 2024 18:19:25
commit hash: 559c55e753be9427c7ae8f87c6e39b2cd666561ecommit hash: 559c55e753be9427c7ae8f87c6e39b2cd666561ecommit hash: 559c55e753be9427c7ae8f87c6e39b2cd666561ecommit hash: 559c55e753be9427c7ae8f87c6e39b2cd666561e files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
comms/xnec2c: Moved man to share/man

Approved by:    portmgr (blanket)
4.4.12_2
23 Dec 2023 18:14:14
commit hash: 3572ca3e01dedf1fe5b3776bd164e123252f5ef5commit hash: 3572ca3e01dedf1fe5b3776bd164e123252f5ef5commit hash: 3572ca3e01dedf1fe5b3776bd164e123252f5ef5commit hash: 3572ca3e01dedf1fe5b3776bd164e123252f5ef5 files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
*/*: Bump consumers of x11-toolkits/gtk30

New version of gtk3 in tree
4.4.12_1
02 Mar 2023 05:23:10
commit hash: fa81a4f5f8ed2bc2104eca4ebbb1b69731bae2e8commit hash: fa81a4f5f8ed2bc2104eca4ebbb1b69731bae2e8commit hash: fa81a4f5f8ed2bc2104eca4ebbb1b69731bae2e8commit hash: fa81a4f5f8ed2bc2104eca4ebbb1b69731bae2e8 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
accessibility/at-spi2-core: update to 2.46.0

What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
4.4.12
01 Feb 2023 19:11:59
commit hash: b5b05cceac3ee4022d4dc84db5e7ad6ad82354d9commit hash: b5b05cceac3ee4022d4dc84db5e7ad6ad82354d9commit hash: b5b05cceac3ee4022d4dc84db5e7ad6ad82354d9commit hash: b5b05cceac3ee4022d4dc84db5e7ad6ad82354d9 files touched by this commit
Diane Bruce (db) search for other commits by this committer
comms/xnec2c: Updated to the v4. series (latest)

- Moved distribution site to documented dedicated server
- added LICENSE_FILE
- Petted portlint

Change log is very extensive since this is a major update.
Check xnec2c.html for more ..

on 4.4.12: This release has been pending for a while, there are
   quite a few changes. I thought about making this 4.5 but not yet since
   these are mostly maintenance items, with a few new features as well:
     * UI Features:
          + Added "File->Save-as CSV" in the Frequency Plots window
          + Added optimizer output config checkboxes for csv, s1p, and/or
(Only the first 15 lines of the commit message are shown above View all of this commit message)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
3.4
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.4
20 Jul 2022 14:21:01
commit hash: 258a98847ee4f106a2eed7fade8197d0a987d592commit hash: 258a98847ee4f106a2eed7fade8197d0a987d592commit hash: 258a98847ee4f106a2eed7fade8197d0a987d592commit hash: 258a98847ee4f106a2eed7fade8197d0a987d592 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
comms: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  'Big Bad Bob' Frazier <bobf@mrp3.com>
  *  <mr@freebsd.org>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andrew Dolgov <fox@furry.spb.ru>
  *  Andrey Lykhin <lan31@inbox.ru>
  *  Anton Voronin <anton@urc.ac.ru>
  *  Brandon S. Allbery KF8NH <allbery@ece.cmu.edu>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.4
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.4
08 Nov 2019 09:31:14
Revision:517041Original commit files touched by this commit
tobik search for other commits by this committer
c*: Add missing USES={gnome,php,sdl,xorg}
3.4
14 Nov 2016 05:03:05
Revision:426082Original commit files touched by this commit
linimon search for other commits by this committer
Mark as broken on various tier-2 archs.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
3.4
01 Apr 2016 13:29:17
Revision:412344Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.

With hat:	portmgr
Sponsored by:	Absolight
3.4
18 Sep 2015 14:00:51
Revision:397240Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Drop 8.x support
- Switch to options helpers

Approved by:	portmgr blanket
3.4
15 Aug 2015 04:36:10
Revision:394270Original commit files touched by this commit
shurd search for other commits by this committer
Update to 3.4

Use makepatch for files/*
3.3
02 Aug 2015 20:23:56
Revision:393444Original commit files touched by this commit
kwm search for other commits by this committer
Part 1 of adding USE_GNOME=intltool to ports that require it.

The reason for this is that in the GNOME 3.16 update, USE_GNOME gtk20 and
gtk30 don't pull intltool in anymore.

PR:		201980
Exp-run by:	antoine@
3.3
30 May 2015 08:27:46
Revision:387917Original commit files touched by this commit
bapt search for other commits by this committer
Create at least a bit more proper libraries:
- run ranlib on the static library
- give a soname to the shared library
- make the real file the the library with a version in the name
- make the .so the symlink

Bump portrevision for the ports using the library
3.3
14 May 2015 10:15:09
Revision:386312Original commit files touched by this commit
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
3.3
02 May 2015 23:26:23
Revision:385227Original commit files touched by this commit
shurd search for other commits by this committer
Update to latest release.
3.2
05 Jan 2015 16:09:28
Revision:376304Original commit files touched by this commit
shurd search for other commits by this committer
Update to 3.2

Minor internal string handling updates.
3.1
29 Nov 2014 18:22:33
Revision:373636Original commit files touched by this commit
tijl search for other commits by this committer
Split devel/gettext in devel/gettext-runtime and devel/gettext-tools.  The
first contains runtime libraries such as libintl and the latter contains
developer tools such as msgfmt.  Ports that use gettext will usually need
a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools.

USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on
devel/gettext-runtime and USES=gettext-tools can be used to set a
BUILD/RUN_DEPENDS on devel/gettext-tools.  USES=gettext is now the same
as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on
devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools.

Update gettext to 0.19.3.

Remove :oldver from converters/libiconv and devel/gettext-runtime.  Leave
symlinks with the old library versions to avoid the need to bump
PORTREVISION on a large number of dependent ports.  When most of the
dependent ports have had normal version updates, PORTREVISION can be
bumped on the remaining ones (low number) and the links can be removed.

Fix some ports that installed files in lib/locale instead of share/locale.

PR:		194038
Reviewed by:	bapt
Exp-run:	antoine
Approved by:	portmgr (antoine)
3.1
08 Nov 2014 18:32:35
Revision:372326Original commit files touched by this commit
shurd search for other commits by this committer
Update to latest (3.1)
Change maintainership to hamradio@

From the changelog:
- Support both . and , as the decimal point in NEC2 files
- Fix memory leak
- Faster animation on some projections
- Faster drag performance on some models
- Lower minimum window size for small displays

Submitted by:	shurd
2.9
20 Oct 2014 09:31:34
Revision:371247Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
2.9
24 Jun 2014 00:03:31
Revision:359024Original commit files touched by this commit
shurd search for other commits by this committer
Update to 2.9.
This release only adds a useless manpage (not installed).
Added a DOCS option to install the documentation (previously not installed)

Reviewed by:	skreuzer
Approved by:	db, skreuzer (mentors)
2.8
18 Jun 2014 05:22:50
Revision:358205Original commit files touched by this commit
shurd search for other commits by this committer
xnec2c is a GTK+ graphical interactive version of nec2c. It incorporates the
nec2c core which it uses for reading input files and calculating output data,
but it does not need and indeed does not produce an output file by default.
Graphs of frequency-related data and the current or charge distribution
evolve as the frequency loop progresses, and radiation patterns (far and
near field) are sequentially drawn for each frequency step.

PR:		ports/190815
Submitted by:	shurd@FreeBSD.org
Approved by:	db, skreuzer (mentors)

Number of commits found: 26