summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-07-20 16:46:38 +0000
committerwiz <wiz@pkgsrc.org>2013-07-20 16:46:38 +0000
commitd51d22f383c7be57abfd477b158ad26b414a3f40 (patch)
tree0a23f0bbc0e43552f79d9d04c240d3af147626ce /ham
parent3350318cdd2f6d95f3399d888754d3a286446d2a (diff)
downloadpkgsrc-d51d22f383c7be57abfd477b158ad26b414a3f40.tar.gz
Import nec2c-1.1 as ham/nec2c.
nec2c is a translation of the NEC2 FORTRAN source code to the C language. The translation was performed mostly "by hand" and a lot of modifications to the original program were introduced in order to modernize the NEC2 and to remove as many built-in limitations as possible. The attendant SOMNEC program was also translated to C and incorporated in nec2c as a function so that Sommerfeld ground solutions are a part of the program.
Diffstat (limited to 'ham')
-rw-r--r--ham/nec2c/DESCR7
-rw-r--r--ham/nec2c/Makefile16
-rw-r--r--ham/nec2c/PLIST2
-rw-r--r--ham/nec2c/distinfo5
4 files changed, 30 insertions, 0 deletions
diff --git a/ham/nec2c/DESCR b/ham/nec2c/DESCR
new file mode 100644
index 00000000000..e769e52bcca
--- /dev/null
+++ b/ham/nec2c/DESCR
@@ -0,0 +1,7 @@
+nec2c is a translation of the NEC2 FORTRAN source code to the C
+language. The translation was performed mostly "by hand" and a
+lot of modifications to the original program were introduced in
+order to modernize the NEC2 and to remove as many built-in limitations
+as possible. The attendant SOMNEC program was also translated to
+C and incorporated in nec2c as a function so that Sommerfeld ground
+solutions are a part of the program.
diff --git a/ham/nec2c/Makefile b/ham/nec2c/Makefile
new file mode 100644
index 00000000000..f35a26b7384
--- /dev/null
+++ b/ham/nec2c/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2013/07/20 16:46:38 wiz Exp $
+
+DISTNAME= nec2c-1.1
+CATEGORIES= ham
+MASTER_SITES= http://www.qsl.net/5b4az/pkg/nec2/nec2c/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.qsl.net/5b4az/pages/nec2.html
+COMMENT= Numerical Electromagnetics Code in C
+LICENSE= gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ham/nec2c/PLIST b/ham/nec2c/PLIST
new file mode 100644
index 00000000000..36b7b2398df
--- /dev/null
+++ b/ham/nec2c/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/20 16:46:38 wiz Exp $
+bin/nec2c
diff --git a/ham/nec2c/distinfo b/ham/nec2c/distinfo
new file mode 100644
index 00000000000..c27c7882bee
--- /dev/null
+++ b/ham/nec2c/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/20 16:46:38 wiz Exp $
+
+SHA1 (nec2c-1.1.tar.bz2) = 5d87c984ca31add505d889ca51d83df04c07eb12
+RMD160 (nec2c-1.1.tar.bz2) = 0f5c5b01ab2f2f14aa0e0dc5a9ebdee956efe704
+Size (nec2c-1.1.tar.bz2) = 155061 bytes