SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

25
cad/necpp/Makefile Normal file
View file

@ -0,0 +1,25 @@
COMMENT= NEC2++ antenna simulator
DISTNAME= necpp-1.2.3
REVISION = 8
CATEGORIES= cad hamradio
HOMEPAGE= http://elec.otago.ac.nz/w/index.php/Necpp
MASTER_SITES= https://openbsd.dead-parrot.de/distfiles/
# GPL
PERMIT_PACKAGE= Yes
CONFIGURE_STYLE=gnu
SHARED_LIBS=necpp 0.0
WANTLIB=c m ${COMPILER_LIBCXX}
COMPILER = base-clang ports-gcc base-gcc
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/necpp
${INSTALL_DATA} ${WRKSRC}/test_data/* ${PREFIX}/share/examples/necpp
.include <bsd.port.mk>

2
cad/necpp/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (necpp-1.2.3.tar.gz) = YZkioJd/+eNNkNrqA9Ep/qfxicwdQ9Ve15WnM8Ijtuk=
SIZE (necpp-1.2.3.tar.gz) = 674845

View file

@ -0,0 +1,11 @@
Index: src/c_geometry.cpp
--- src/c_geometry.cpp.orig
+++ src/c_geometry.cpp
@@ -20,6 +20,7 @@
#include "nec_context.h"
#include "nec_exception.h"
+#include <stdlib.h>
c_geometry::c_geometry()
{

View file

@ -0,0 +1,11 @@
Index: src/nec2cpp.cpp
--- src/nec2cpp.cpp.orig
+++ src/nec2cpp.cpp
@@ -51,6 +51,7 @@
#include "nec2cpp.h"
#include "nec_exception.h"
#include <signal.h>
+#include <stdlib.h>
#include <vector>
#include <string>

View file

@ -0,0 +1,11 @@
Index: src/safe_array.h
--- src/safe_array.h.orig
+++ src/safe_array.h
@@ -19,6 +19,7 @@
#define __safe_array__
#include <iostream>
+#include <cstring>
#include <string>
#include <sstream>

10
cad/necpp/pkg/DESCR Normal file
View file

@ -0,0 +1,10 @@
The Numerical Electromagnetics Code (NEC-2) is a comprehensive
package for the analysis of the electromagnetic properties of
structures. It can analyse radiating properties i.e. antenna
gain, as well as scattering properties (radar cross section)
of structures. NEC-2 was originally written in FORTRAN.
NEC2++ is an extensive rewrite of NEC-2 in C++ by Tim Molteno.
This work was helped tremendously by the work of N. Kyriazis
who ported NEC-2 to C. The new portions of code are licensed
under the GNU Public License (GPL).

36
cad/necpp/pkg/PLIST Normal file
View file

@ -0,0 +1,36 @@
@bin bin/nec2++
@bin bin/nec2diff
include/libnecpp.h
lib/libnecpp.a
lib/libnecpp.la
@lib lib/libnecpp.so.${LIBnecpp_VERSION}
share/examples/necpp/
share/examples/necpp/36dip.nec
share/examples/necpp/Collinear_1L.nec
share/examples/necpp/GA487.nec
share/examples/necpp/Gs_8d_bb.nec
share/examples/necpp/K5332187.nec
share/examples/necpp/Yg_4x6_b.nec
share/examples/necpp/buoy.nec
share/examples/necpp/dipole_anim.nec
share/examples/necpp/discone.nec
share/examples/necpp/ek_test.nec
share/examples/necpp/example1.nec
share/examples/necpp/example2.nec
share/examples/necpp/example3.nec
share/examples/necpp/example4.nec
share/examples/necpp/example5.nec
share/examples/necpp/example6.nec
share/examples/necpp/ga_pjw_0.nec
share/examples/necpp/ga_pjw_1.nec
share/examples/necpp/gn2.nec
share/examples/necpp/helix.nec
share/examples/necpp/passive_test1.nec
share/examples/necpp/plane.nec
share/examples/necpp/plet_helix.nec
share/examples/necpp/plet_helixumts.nec
share/examples/necpp/sommerfeld2.nec
share/examples/necpp/sommerfield1.nec
share/examples/necpp/test299.nec
share/examples/necpp/yagi.nec
share/examples/necpp/yagi16.nec