summaryrefslogtreecommitdiff
path: root/ham/xnec2c
diff options
context:
space:
mode:
authorwiz <wiz>2013-07-20 16:56:07 +0000
committerwiz <wiz>2013-07-20 16:56:07 +0000
commit28abcd40329f58532e0f62cdf36426d39df96366 (patch)
tree565f41a68a6f06a24a03bff73b82b248b075db6f /ham/xnec2c
parent0925a11d0aff5db75c489651bfcfe737b9eee8cd (diff)
downloadpkgsrc-28abcd40329f58532e0f62cdf36426d39df96366.tar.gz
Import xnec2c-2.3beta as ham/xnec2c.
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. Since xnec2c incorporates the nec2c core, it has access to all internal buffers, including structure data, frequency-related data (structure currents, input impedance, gain etc) and radiation pattern data (for the far field and near field). It therefore has the ability to graphically display user-requested data directly, as the frequency loop progresses or after input from the user. 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. A new frequency can be entered by the user from spin buttons in the main or radiation pattern windows or by clicking on the graphs of frequency-related data. New output data are then computed and displayed in text and graphical form.
Diffstat (limited to 'ham/xnec2c')
-rw-r--r--ham/xnec2c/DESCR17
-rw-r--r--ham/xnec2c/Makefile24
-rw-r--r--ham/xnec2c/PLIST13
-rw-r--r--ham/xnec2c/distinfo5
4 files changed, 59 insertions, 0 deletions
diff --git a/ham/xnec2c/DESCR b/ham/xnec2c/DESCR
new file mode 100644
index 00000000000..2b1abb82696
--- /dev/null
+++ b/ham/xnec2c/DESCR
@@ -0,0 +1,17 @@
+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. Since xnec2c incorporates
+the nec2c core, it has access to all internal buffers, including
+structure data, frequency-related data (structure currents, input
+impedance, gain etc) and radiation pattern data (for the far field
+and near field). It therefore has the ability to graphically display
+user-requested data directly, as the frequency loop progresses or
+after input from the user. 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. A new frequency can be
+entered by the user from spin buttons in the main or radiation
+pattern windows or by clicking on the graphs of frequency-related
+data. New output data are then computed and displayed in text and
+graphical form.
diff --git a/ham/xnec2c/Makefile b/ham/xnec2c/Makefile
new file mode 100644
index 00000000000..c9942047195
--- /dev/null
+++ b/ham/xnec2c/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2013/07/20 16:56:07 wiz Exp $
+
+DISTNAME= xnec2c-2.3-beta
+PKGNAME= ${DISTNAME:S/-beta/beta/}
+CATEGORIES= ham
+MASTER_SITES= http://www.qsl.net/5b4az/pkg/nec2/xnec2c/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.qsl.net/5b4az/pages/nec2.html
+COMMENT= GTK+ graphical interactive version of nec2c
+LICENSE= gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= intltool pax pkg-config
+
+INSTALLATION_DIRS= share/doc/xnec2c
+
+post-install:
+ cd ${WRKSRC}/doc && ${PAX} -pp -rw * ${DESTDIR}${PREFIX}/share/doc/xnec2c
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ham/xnec2c/PLIST b/ham/xnec2c/PLIST
new file mode 100644
index 00000000000..859cc5d2304
--- /dev/null
+++ b/ham/xnec2c/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/20 16:56:07 wiz Exp $
+bin/xnec2c
+share/doc/xnec2c/NEC2-bug.txt
+share/doc/xnec2c/NearFieldCalcs.txt
+share/doc/xnec2c/images/charges.png
+share/doc/xnec2c/images/currents.png
+share/doc/xnec2c/images/excitation.png
+share/doc/xnec2c/images/freq_plots.png
+share/doc/xnec2c/images/nec2_edit.png
+share/doc/xnec2c/images/radiation.png
+share/doc/xnec2c/images/wire.png
+share/doc/xnec2c/nec2c.txt
+share/doc/xnec2c/xnec2c.html
diff --git a/ham/xnec2c/distinfo b/ham/xnec2c/distinfo
new file mode 100644
index 00000000000..b51626567fe
--- /dev/null
+++ b/ham/xnec2c/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/20 16:56:07 wiz Exp $
+
+SHA1 (xnec2c-2.3-beta.tar.bz2) = d427fd55d43dd664a532094b7166a6acbd567386
+RMD160 (xnec2c-2.3-beta.tar.bz2) = c2e274e28d8577f81830cc239b0de32da724ea22
+Size (xnec2c-2.3-beta.tar.bz2) = 898661 bytes