import necpp: NEC2-based numeric antenna simulator

This commit is contained in:
jason 2007-05-28 17:46:57 +00:00
parent 416eccb1bb
commit b69352c804
5 changed files with 111 additions and 0 deletions

57
cad/necpp/Makefile Normal file
View File

@ -0,0 +1,57 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/05/28 17:46:57 jason Exp $
COMMENT= "NEC2++ antenna simulator"
DISTNAME= necpp-1.2.3
CATEGORIES= cad hamradio
HOMEPAGE= http://www.physics.otago.ac.nz/research/electronics/nec/
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= Jason Wright <jason@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE=gnu
SHARED_LIBS=necpp 0.0
WANTLIB=c m stdc++
USE_LIBTOOL=Yes
post-install:
$(INSTALL) -d -m 755 ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/36dip.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/Collinear_1L.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/GA487.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/Gs_8d_bb.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/K5332187.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/Yg_4x6_b.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/buoy.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/dipole_anim.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/discone.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/ek_test.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/example1.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/example2.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/example3.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/example4.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/example5.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/example6.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/ga_pjw_0.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/ga_pjw_1.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/gn2.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/helix.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/passive_test1.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/plane.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/plet_helix.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/plet_helixumts.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/sommerfeld2.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/sommerfield1.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/test299.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/yagi.nec ${PREFIX}/share/examples/necpp
$(INSTALL) -c -m 644 ${WRKDIR}/${DISTNAME}/test_data/yagi16.nec ${PREFIX}/share/examples/necpp
.include <bsd.port.mk>

5
cad/necpp/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (necpp-1.2.3.tar.gz) = sewjGhY0lBc08BzWzSZSNg==
RMD160 (necpp-1.2.3.tar.gz) = F78Dgc6t2rpyuWBuSakPB8MQwrc=
SHA1 (necpp-1.2.3.tar.gz) = +cWQ5P4SOl2rphrX+HP9ILdIuOQ=
SHA256 (necpp-1.2.3.tar.gz) = YZkioJd/+eNNkNrqA9Ep/qfxicwdQ9Ve15WnM8Ijtuk=
SIZE (necpp-1.2.3.tar.gz) = 674845

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).

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/05/28 17:46:57 jason Exp $
@lib lib/libnecpp.so.${LIBnecpp_VERSION}

37
cad/necpp/pkg/PLIST Normal file
View File

@ -0,0 +1,37 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/05/28 17:46:57 jason Exp $
%%SHARED%%
bin/nec2++
bin/nec2diff
include/libnecpp.h
lib/libnecpp.a
lib/libnecpp.la
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