Date: Tue, 19 Jul 2005 13:16:28 -0400 (EDT) From: Diane Bruce <db@db.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83737: [NEW PORT] comms/yagiuda: Used to calculate yagi-uda antenna patterns useful to ham radio Message-ID: <200507191716.j6JHGSTZ048719@night.db.net> Resent-Message-ID: <200507191720.j6JHKJPV045913@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83737 >Category: ports >Synopsis: [NEW PORT] comms/yagiuda: Used to calculate yagi-uda antenna patterns useful to ham radio >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 19 17:20:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Diane Bruce >Release: FreeBSD 5.4-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD night.db.net 5.4-RELEASE-p3 FreeBSD 5.4-RELEASE-p3 #0: Tue Jul 5 10:31:25 EDT >Description: The Yagi-Uda project is a set of programmes for designing, and optimising Yagi-Uda antennas, with 2 or more elements, such as shown below. Additionally, a very simple program called dipole works with just a dipole, but its functionality is limited. Written by Dr. David Kirkby, G8WRB. email david.kirkby@onetel.net WWW: http://www.g8wrb.org/yagi/index.html - Diane Bruce, VA3DB db@db.net Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- yagiuda-1.19.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # yagiuda # yagiuda/Makefile # yagiuda/distinfo # yagiuda/files # yagiuda/files/patch-src_gain.c # yagiuda/files/patch-src_input.c # yagiuda/files/patch-src_output.c # yagiuda/files/patch-src_random.c # yagiuda/files/patch-src_string.c # yagiuda/files/patch-src_yagi.c # yagiuda/files/patch-src_genetic_algorithm_lib.c # yagiuda/pkg-descr # yagiuda/pkg-plist # echo c - yagiuda mkdir -p yagiuda > /dev/null 2>&1 echo x - yagiuda/Makefile sed 's/^X//' >yagiuda/Makefile << 'END-of-yagiuda/Makefile' X# ports collection makefile for: yagiuda X# Date created: 19 July 2005 X# Whom: db X# X# $FreeBSD$ X XPORTNAME= yagiuda XPORTVERSION= 1.19 XCATEGORIES= comms XMASTER_SITES= http://www.g8wrb.org/yagi/ XDIST_SUBDIR= ${PORTNAME} X XMAINTAINER= db@db.net XCOMMENT= Used to calculate yagi-uda antenna patterns useful to ham radio X XGNU_CONFIGURE= yes XMAN1= first.1 optimise.1 yagi.1 dipole.1 input.1 output.1 XMAN5= first.5 optimise.5 yagi.5 input.5 output.5 X Xdo-install: X.for f in first optimise yagi dipole input output X ${INSTALL_PROGRAM} ${WRKSRC}/src/${f} ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/man/man1/${f}.1 ${PREFIX}/man/man1 X.endfor X.for f in first optimise yagi input output X ${INSTALL_MAN} ${WRKSRC}/man/man5/${f}.5 ${PREFIX}/man/man5 X.endfor X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X.for f in dipole.1.html input.1.html pattern.jpg\ X first.1.html optimise.1.html yagi.1.html\ X index.html output.1.html yagi.jpg X ${INSTALL_DATA} ${WRKSRC}/doc/$f ${DOCSDIR} X.endfor X @${ECHO} "" X @${ECHO} "Additional docs installed in ${DOCSDIR}" X @${ECHO} "" X.endif X X.include <bsd.port.mk> END-of-yagiuda/Makefile echo x - yagiuda/distinfo sed 's/^X//' >yagiuda/distinfo << 'END-of-yagiuda/distinfo' XMD5 (yagiuda/yagiuda-1.19.tar.gz) = 3d18f215656224fc0e02a783826c35a8 XSIZE (yagiuda/yagiuda-1.19.tar.gz) = 227301 END-of-yagiuda/distinfo echo c - yagiuda/files mkdir -p yagiuda/files > /dev/null 2>&1 echo x - yagiuda/files/patch-src_gain.c sed 's/^X//' >yagiuda/files/patch-src_gain.c << 'END-of-yagiuda/files/patch-src_gain.c' X--- src/gain.c.orig Tue Jul 19 12:24:45 2005 X+++ src/gain.c Tue Jul 19 12:24:50 2005 X@@ -3,7 +3,6 @@ X #endif X #include <stdio.h> X #include <math.h> X-#include <malloc.h> X #include <errno.h> X #include "yagi.h" X #define TINY 1e-10 END-of-yagiuda/files/patch-src_gain.c echo x - yagiuda/files/patch-src_input.c sed 's/^X//' >yagiuda/files/patch-src_input.c << 'END-of-yagiuda/files/patch-src_input.c' X--- src/input.c.orig Tue Jul 19 12:24:11 2005 X+++ src/input.c Tue Jul 19 12:24:18 2005 X@@ -16,7 +16,6 @@ X */ X X #include <stdio.h> X-#include <malloc.h> X #include <math.h> X #include "nrutil.h" X #include "yagi.h" END-of-yagiuda/files/patch-src_input.c echo x - yagiuda/files/patch-src_output.c sed 's/^X//' >yagiuda/files/patch-src_output.c << 'END-of-yagiuda/files/patch-src_output.c' X--- src/output.c.orig Tue Jul 19 12:24:27 2005 X+++ src/output.c Tue Jul 19 12:24:35 2005 X@@ -11,7 +11,6 @@ X #ifdef HAVE_STDLIB_H X X #endif X-#include <malloc.h> X #include <math.h> X #include <string.h> X #include <sys/types.h> END-of-yagiuda/files/patch-src_output.c echo x - yagiuda/files/patch-src_random.c sed 's/^X//' >yagiuda/files/patch-src_random.c << 'END-of-yagiuda/files/patch-src_random.c' X--- src/random.c.orig Tue Jul 19 12:36:04 2005 X+++ src/random.c Tue Jul 19 12:36:13 2005 X@@ -42,7 +42,6 @@ X #endif X X X-#include <values.h> X #include "yagi.h" X X double randreal(void) END-of-yagiuda/files/patch-src_random.c echo x - yagiuda/files/patch-src_string.c sed 's/^X//' >yagiuda/files/patch-src_string.c << 'END-of-yagiuda/files/patch-src_string.c' X--- src/string.c.orig Tue Jul 19 12:23:46 2005 X+++ src/string.c Tue Jul 19 12:23:56 2005 X@@ -2,7 +2,6 @@ X #include <stdlib.h> X #endif X #include <stdio.h> X-#include <malloc.h> X #include "yagi.h" X X END-of-yagiuda/files/patch-src_string.c echo x - yagiuda/files/patch-src_yagi.c sed 's/^X//' >yagiuda/files/patch-src_yagi.c << 'END-of-yagiuda/files/patch-src_yagi.c' X--- src/yagi.c.orig Tue Jul 19 12:23:10 2005 X+++ src/yagi.c Tue Jul 19 12:23:33 2005 X@@ -19,7 +19,7 @@ X X X #include <stdio.h> X-#include <malloc.h> X+#include <stdlib.h> X #include <math.h> X #include <errno.h> X #include "yagi.h" END-of-yagiuda/files/patch-src_yagi.c echo x - yagiuda/files/patch-src_genetic_algorithm_lib.c sed 's/^X//' >yagiuda/files/patch-src_genetic_algorithm_lib.c << 'END-of-yagiuda/files/patch-src_genetic_algorithm_lib.c' X--- src/genetic_algorithm_lib.c.orig Tue Jul 19 12:25:24 2005 X+++ src/genetic_algorithm_lib.c Tue Jul 19 12:35:51 2005 X@@ -3,9 +3,8 @@ X #endif X #include <string.h> X X-#include <values.h> X-#include <math.h> X #include <sys/types.h> X+#include <math.h> X #include <errno.h> X #include "yagi.h" X X@@ -245,7 +244,7 @@ X GeneRecord *temp ; X double minfit,maxfit ; X sigma=0.0 ; X- minfit=MAXDOUBLE ; X+ minfit=MAXFLOAT; X maxfit=-minfit ; X /* minfit=1e308; maxfit=-1e308; XXXXXXXXXXXXXXXXXXXXXX */ X for(a=0 ; a<population_size ; a++ ) END-of-yagiuda/files/patch-src_genetic_algorithm_lib.c echo x - yagiuda/pkg-descr sed 's/^X//' >yagiuda/pkg-descr << 'END-of-yagiuda/pkg-descr' XThe Yagi-Uda project is a set of programmes for designing, Xand optimising Yagi-Uda antennas, with 2 or more elements, such as shown below. XAdditionally, a very simple program called dipole works with just a dipole, Xbut its functionality is limited. X XWritten by Dr. David Kirkby, G8WRB. email david.kirkby@onetel.net X XWWW: http://www.g8wrb.org/yagi/index.html X X- Diane Bruce, VA3DB Xdb@db.net END-of-yagiuda/pkg-descr echo x - yagiuda/pkg-plist sed 's/^X//' >yagiuda/pkg-plist << 'END-of-yagiuda/pkg-plist' Xbin/dipole Xbin/first Xbin/input Xbin/optimise Xbin/output Xbin/yagi X%%PORTDOCS%%%%DOCSDIR%%/dipole.1.html X%%PORTDOCS%%%%DOCSDIR%%/first.1.html X%%PORTDOCS%%%%DOCSDIR%%/index.html X%%PORTDOCS%%%%DOCSDIR%%/input.1.html X%%PORTDOCS%%%%DOCSDIR%%/optimise.1.html X%%PORTDOCS%%%%DOCSDIR%%/output.1.html X%%PORTDOCS%%%%DOCSDIR%%/pattern.jpg X%%PORTDOCS%%%%DOCSDIR%%/yagi.1.html X%%PORTDOCS%%%%DOCSDIR%%/yagi.jpg X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-yagiuda/pkg-plist exit --- yagiuda-1.19.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507191716.j6JHGSTZ048719>