freebsd-ports/comms/geoid/Makefile
Diane Bruce 5d56e046d8 Converts Lat / Lon to Maidenhead Grid Square and reverse
Computes range in kilometers and great circle bearing between
QTH and remote site specified by Lat/Lon or Maidenhead Grid Square
Computes range in kilometers and great circle bearing between QTH and
a site selected from a database list for all known callsign prefixes
and their geographic position.  Geographic position is by major city.
2007-12-23 21:08:45 +00:00

39 lines
876 B
Makefile

# New ports collection makefile for: geoid
# Date created: March 20 2007
# Whom: Diane Bruce <db@db.net>
#
# $FreeBSD$
#
PORTNAME= geoid
PORTVERSION= 1.0
DISTVERSIONSUFFIX= .src
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/LinuxApps/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db
DISTNAME= fl_geoid
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= db@FreeBSD.org
COMMENT= Geodetic computer for amateur radio use
LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk-threads
USE_GMAKE= yes
MAKEFILE= makefile
MAKE_ENV+= CXX="${CXX}"
PLIST_FILES= bin/geoid ${DATADIR_REL}/country.pos
PLIST_DIRS= ${DATADIR_REL}
post-patch:
@${REINPLACE_CMD} -e \
's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/geoid.cxx
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/geoid ${PREFIX}/bin
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/country.pos ${DATADIR}
.include <bsd.port.mk>