Date: Fri, 1 Jul 2005 10:24:33 -0400 (EDT) From: Diane Bruce <db@db.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/82862: [NEW PORT] comms/locator: Grid square calculator program used in Amateur Radio and GPS work Message-ID: <200507011424.j61EOWFn041014@night.db.net> Resent-Message-ID: <200507011430.j61EUCo6007676@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 82862 >Category: ports >Synopsis: [NEW PORT] comms/locator: Grid square calculator program used in Amateur Radio and GPS work >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: Fri Jul 01 14:30:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Diane Bruce >Release: FreeBSD 5.4-RELEASE-p1 i386 >Organization: none >Environment: System: FreeBSD night.db.net 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #7: Thu May 19 07:07:49 EDT 2005 >Description: This is a program for translating mainhead grid squares to and from lat/long. This is of most use to Amateur Radio operators but may be useful to GPS users. Originally written by: Harald M. Stauss harald.stauss@web.de DO1JHS @ DB0GR.#BLN.DEU.EU - Diane Bruce, VA3DB db@db.net Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- locator-0.1.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: # # locator # locator/pkg-descr # locator/distinfo # locator/Makefile # locator/files # locator/files/patch-locator.cc # locator/files/patch-conv_fn.cc # echo c - locator mkdir -p locator > /dev/null 2>&1 echo x - locator/pkg-descr sed 's/^X//' >locator/pkg-descr << 'END-of-locator/pkg-descr' XThis is a program for translating mainhead grid squares to and from lat/long. XThis is of most use to Amateur Radio operators but may be useful to GPS users. X XOriginally written by: XHarald M. Stauss Xharald.stauss@web.de XDO1JHS @ DB0GR.#BLN.DEU.EU X X- Diane Bruce, VA3DB Xdb@db.net END-of-locator/pkg-descr echo x - locator/distinfo sed 's/^X//' >locator/distinfo << 'END-of-locator/distinfo' XMD5 (locator-0.1.tar.gz) = 788353dbff268a41113074e8bb613fb8 XSIZE (locator-0.1.tar.gz) = 2555 END-of-locator/distinfo echo x - locator/Makefile sed 's/^X//' >locator/Makefile << 'END-of-locator/Makefile' X# ports collection makefile for: locator X# Date created: 30 June 2005 X# Whom: db X# X# $FreeBSD:$ X# X XPORTNAME= locator XPORTVERSION= 0.1 XCATEGORIES= comms astro XMASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/ham/} X XMAINTAINER= db@db.net XCOMMENT= Grid square calculator program used in Amateur Radio and GPS work X XPORTDOCS= README XPLIST_FILES= bin/locator X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/locator ${PREFIX}/bin X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} X @${ECHO} "" X @${ECHO} "locator README installed in ${DOCSDIR}" X @${ECHO} "" X.endif X X.include <bsd.port.mk> END-of-locator/Makefile echo c - locator/files mkdir -p locator/files > /dev/null 2>&1 echo x - locator/files/patch-locator.cc sed 's/^X//' >locator/files/patch-locator.cc << 'END-of-locator/files/patch-locator.cc' X--- locator.cc.orig Thu Jun 30 15:21:49 2005 X+++ locator.cc Thu Jun 30 17:04:24 2005 X@@ -3,9 +3,13 @@ X /* Last change 29.07.2001 */ X X /* A few includes */ X-#include <iostream.h> X-#include <string.h> X-#include <stdio.h> X+#include <iostream> X+#include <cstdio> X+#include <cstring> X+ X+using std::iostream; X+using std::ostream; X+using std::cout; X X /* A few definitions */ X #define VERSION "0.1" END-of-locator/files/patch-locator.cc echo x - locator/files/patch-conv_fn.cc sed 's/^X//' >locator/files/patch-conv_fn.cc << 'END-of-locator/files/patch-conv_fn.cc' X--- conv_fn.cc.orig Thu Jun 30 15:10:32 2005 X+++ conv_fn.cc Thu Jun 30 15:11:11 2005 X@@ -5,6 +5,7 @@ X X #include <ctype.h> X #include <math.h> X+#include <string.h> X X int GPStoLOCATOR(float gps_long, float gps_lat, char *locator) { X /* gps_long and gps_lat are the longitutes (-180 to +180) and */ END-of-locator/files/patch-conv_fn.cc exit --- locator-0.1.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?200507011424.j61EOWFn041014>