- update to fix a bug in distance calculations

- add functionality of locator to the program thus add CONFLICT with locator
This commit is contained in:
Diane Bruce 2007-10-29 18:17:35 +00:00
parent 8fcd3b49c0
commit 95f737d3bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202332
3 changed files with 13 additions and 14 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= wwl
PORTVERSION= 1.2
PORTREVISION= 1
PORTVERSION= 1.3
CATEGORIES= comms hamradio astro geography
MASTER_SITES= http://www.db.net/downloads/ \
${MASTER_SITE_LOCAL}
@ -17,17 +16,19 @@ DISTNAME= ${PORTNAME}+db-${PORTVERSION}
MAINTAINER= db@FreeBSD.org
COMMENT= Calculates distance (qrb) used in Amateur Radio
PORTDOCS= README INSTALL
PLIST_FILES= bin/wwl
CONFLICTS= locator*
PORTDOCS= INSTALL
PLIST_FILES= bin/wwl bin/locator
MAN1= wwl.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wwl ${PREFIX}/bin
${RM} -f ${PREFIX}/bin/locator
${LN} ${PREFIX}/bin/wwl ${PREFIX}/bin/locator
${INSTALL_DATA} ${WRKSRC}/wwl.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/INSTALL ${DOCSDIR}
@${ECHO} ""
@${ECHO} "wwl docs installed in ${DOCSDIR}"
@${ECHO} ""
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (wwl+db-1.2.tar.gz) = a6bb81c3678d4a1eadf4e722a78cdd0b
SHA256 (wwl+db-1.2.tar.gz) = 32fa50444079b7ec0c0840835fd63778c7506eed5c12183836698d813762f49b
SIZE (wwl+db-1.2.tar.gz) = 2901
MD5 (wwl+db-1.3.tar.gz) = 773e2772998a71f224f9abbf338eed9b
SHA256 (wwl+db-1.3.tar.gz) = 4c03cf13126a8e88b80e87c5b55e4ef9624c866e681cb9e58cc78678a67b4cd0
SIZE (wwl+db-1.3.tar.gz) = 3456

View file

@ -1,7 +1,5 @@
Given two Maidenhead locators, calculates distance (qrb) and azimuth.
Originally by IK0ZSN Mirko Caserta <ik0zsn@amsat.org>
with local changes by db
Or if called as locator, gives the lat/long of a Maidenhead locator.
- Diane Bruce, VA3DB
db@db.net