freebsd-ports/astro/gpsman/Makefile
Chris Rees 9179d6314c Update to 6.4.2:
* elevation graphs for tracks using gnuplot; implemented by plug-ins contributed by Rudolf Martin (rudolf.martin_at_gmx.de).

* for tracks, improved computation of total (or cumulative) ascent/descent, computation of rest periods, total resting time and average speed in motion, estimated time for a hiking trail; contributed by Rudolf Martin.

* new configuration parameter: user temporary files directory; must be set correctly for GPSMan to work; it defaults to .tmp under the user GPSMan directory.

* new user options: altitude threshold when computing cumulative ascent/descent, operating system commands to display an image file and open a terminal (command-line) window; default of altitude threshold is appropriate for GPS receivers with non-barometric altimeter.

* change in default for user option (was a configuration parameter): the print command starts now by being empty (meaning unavailable).

* new projections: Mercator spherical case, Equidistant Cylindrical, and their particular cases EPSG:3857 (also known as EPSG:900913, EPSG:102113) and EPSG:32663 (Plate Carree with WGS 84 datum); asked by Rudolf Martin.

* in order to avoid ill formed or inconsistent data files, appending to a file is no longer an option when writing to an existing file except in the case of results of computations, real-time logs and contents of information windows.

* windows presenting results that depend on the definition of a route or track, such as computations or graphs, may be closed when the item changes after being edited or being replaced when data is read-in; based on a change suggested by Rudolf Martin.

* unavailable expression of plug-ins are now evaluated at top level so that global variables can be used.

* explicit support for the Garmin GPS 72H receiver; with thanks to Justin Arundell and Julian Barragan who sent protocol lists.

PR:		ports/161902
Submitted by:	dhw (maintainer)
2011-10-22 15:05:52 +00:00

68 lines
2.3 KiB
Makefile

# New ports collection makefile for: gpsman
# Date created: 26 November 2001
# Whom: David Wolfskill
#
# $FreeBSD$
#
PORTNAME= gpsman
PORTVERSION= 6.4.2
CATEGORIES= astro tk geography
MASTER_SITES= SF/${PORTNAME}/distrib
EXTRACT_SUFX= .tgz
MAINTAINER= david@catwhisker.org
COMMENT= A Tcl/Tk-based GPS management utility
#RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
USE_TK_RUN= 84
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
# MAN1= gpsman.1
# MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800045
GPSMAN_DEFAULT_PORT?= /dev/cuad0
.else
GPSMAN_DEFAULT_PORT?= /dev/cuau0
.endif
post-patch:
@(cd ${WRKSRC} && ${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" \
util/exerciser.tcl manual/html/info/l_realtime.doc.txt gpsman.tcl)
pre-install:
@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/gpsman.tcl
do-install:
@${MKDIR} ${PREFIX}/share/gpsman
@${MKDIR} ${PREFIX}/share/gpsman/gmsrc
${INSTALL_DATA} ${WRKSRC}/gmsrc/*.tcl ${PREFIX}/share/gpsman/gmsrc
@${MKDIR} ${PREFIX}/share/gpsman/gmsrc/gmicons
${INSTALL_DATA} ${WRKSRC}/gmsrc/gmicons/* ${PREFIX}/share/gpsman/gmsrc/gmicons
@${MKDIR} ${PREFIX}/share/gpsman/util
${INSTALL_DATA} ${WRKSRC}/util/*.sh ${PREFIX}/share/gpsman/util
${INSTALL_DATA} ${WRKSRC}/util/*.tcl ${PREFIX}/share/gpsman/util
${INSTALL_SCRIPT} ${WRKSRC}/gpsman.tcl ${PREFIX}/share/gpsman
${LN} -fs ${PREFIX}/share/gpsman/gpsman.tcl ${PREFIX}/bin/gpsman
# ${INSTALL_MAN} ${WRKSRC}/gpsman.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gpsman
${INSTALL_DATA} ${WRKSRC}/manual/*.pdf ${PREFIX}/share/doc/gpsman
@${MKDIR} ${PREFIX}/share/doc/gpsman/html
${INSTALL_DATA} ${WRKSRC}/manual/html/*.html ${PREFIX}/share/doc/gpsman/html
${RM} ${PREFIX}/share/doc/gpsman/html/index.html
${LN} ${PREFIX}/share/doc/gpsman/html/GPSMandoc.html ${PREFIX}/share/doc/gpsman/html/index.html
${INSTALL_DATA} ${WRKSRC}/manual/html/*.gif ${PREFIX}/share/doc/gpsman/html
@${MKDIR} ${PREFIX}/share/doc/gpsman/html/info
${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.gif ${PREFIX}/share/doc/gpsman/html/info
${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.txt ${PREFIX}/share/doc/gpsman/html/info
${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.ps ${PREFIX}/share/doc/gpsman/html/info
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" pkg-message
.endif
.include <bsd.port.post.mk>