2001-12-23 11:34:44 +01:00
|
|
|
# New ports collection makefile for: gpsman
|
|
|
|
# Date created: 26 November 2001
|
|
|
|
# Whom: David Wolfskill
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gpsman
|
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 17:05:52 +02:00
|
|
|
PORTVERSION= 6.4.2
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= astro tk geography
|
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 17:05:52 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/distrib
|
2002-02-10 10:46:09 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
2001-12-23 11:34:44 +01:00
|
|
|
|
|
|
|
MAINTAINER= david@catwhisker.org
|
2003-02-21 11:44:59 +01:00
|
|
|
COMMENT= A Tcl/Tk-based GPS management utility
|
2001-12-23 11:34:44 +01:00
|
|
|
|
Update to GPSMan-6.3.1, which is a bugfix for 6.3.
Here are the documented changes from 6.3 to 6.31:
- importation of waypoints from Kismet .network files with
location information, asked by Bernd Stuht; some new options
on this should be configured by editing config.tcl.
- map window can now be resized.
- WARNING: Garmin USB support for some recent Garmin receivers
will need at least version 0.28 of the garmin_gps Linux kernel
driver.
- updates to Garmin support following the specifications
made available in May 2006, but not (yet) covering some new
protocols for fitness-oriented receivers.
- explicit support for several Garmin receivers or their new
firmware versions, including: GPSMAP 60CSX and 76CSX, EDGE 205 and
305, GPS 18USB, eTrex Legend Cx, Forerunner 205, and GPS 60; with
thanks for all those who sent protocol lists: Doug Larrick,
Thomas Zumbrunn, Jiri Dvorak, Daniel Dorau, Nenad, Elric Milon
Beltran, Michel Equeter, Dominic Hargreaves, Sébastien Roy, Nicolas
Brouard, Reinhold Pschierer, Sven Anders, Jon Stockill.
Some portlinting [1]
PR: ports/100848
Submitted by: David Wolfskill (maintainer), me (itetcu) [1]
2006-07-26 10:32:31 +02:00
|
|
|
#RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
2007-04-03 00:56:15 +02:00
|
|
|
USE_TK_RUN= 84
|
2001-12-23 11:34:44 +01:00
|
|
|
|
2003-10-27 00:14:46 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2001-12-23 11:34:44 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
# MAN1= gpsman.1
|
|
|
|
# MANCOMPRESSED= yes
|
|
|
|
|
Update to GPSMan-6.3.1, which is a bugfix for 6.3.
Here are the documented changes from 6.3 to 6.31:
- importation of waypoints from Kismet .network files with
location information, asked by Bernd Stuht; some new options
on this should be configured by editing config.tcl.
- map window can now be resized.
- WARNING: Garmin USB support for some recent Garmin receivers
will need at least version 0.28 of the garmin_gps Linux kernel
driver.
- updates to Garmin support following the specifications
made available in May 2006, but not (yet) covering some new
protocols for fitness-oriented receivers.
- explicit support for several Garmin receivers or their new
firmware versions, including: GPSMAP 60CSX and 76CSX, EDGE 205 and
305, GPS 18USB, eTrex Legend Cx, Forerunner 205, and GPS 60; with
thanks for all those who sent protocol lists: Doug Larrick,
Thomas Zumbrunn, Jiri Dvorak, Daniel Dorau, Nenad, Elric Milon
Beltran, Michel Equeter, Dominic Hargreaves, Sébastien Roy, Nicolas
Brouard, Reinhold Pschierer, Sven Anders, Jon Stockill.
Some portlinting [1]
PR: ports/100848
Submitted by: David Wolfskill (maintainer), me (itetcu) [1]
2006-07-26 10:32:31 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-01-05 18:27:29 +01:00
|
|
|
.if ${OSVERSION} < 800045
|
Update to GPSMan-6.3.1, which is a bugfix for 6.3.
Here are the documented changes from 6.3 to 6.31:
- importation of waypoints from Kismet .network files with
location information, asked by Bernd Stuht; some new options
on this should be configured by editing config.tcl.
- map window can now be resized.
- WARNING: Garmin USB support for some recent Garmin receivers
will need at least version 0.28 of the garmin_gps Linux kernel
driver.
- updates to Garmin support following the specifications
made available in May 2006, but not (yet) covering some new
protocols for fitness-oriented receivers.
- explicit support for several Garmin receivers or their new
firmware versions, including: GPSMAP 60CSX and 76CSX, EDGE 205 and
305, GPS 18USB, eTrex Legend Cx, Forerunner 205, and GPS 60; with
thanks for all those who sent protocol lists: Doug Larrick,
Thomas Zumbrunn, Jiri Dvorak, Daniel Dorau, Nenad, Elric Milon
Beltran, Michel Equeter, Dominic Hargreaves, Sébastien Roy, Nicolas
Brouard, Reinhold Pschierer, Sven Anders, Jon Stockill.
Some portlinting [1]
PR: ports/100848
Submitted by: David Wolfskill (maintainer), me (itetcu) [1]
2006-07-26 10:32:31 +02:00
|
|
|
GPSMAN_DEFAULT_PORT?= /dev/cuad0
|
2008-10-29 16:32:07 +01:00
|
|
|
.else
|
|
|
|
GPSMAN_DEFAULT_PORT?= /dev/cuau0
|
Update to GPSMan-6.3.1, which is a bugfix for 6.3.
Here are the documented changes from 6.3 to 6.31:
- importation of waypoints from Kismet .network files with
location information, asked by Bernd Stuht; some new options
on this should be configured by editing config.tcl.
- map window can now be resized.
- WARNING: Garmin USB support for some recent Garmin receivers
will need at least version 0.28 of the garmin_gps Linux kernel
driver.
- updates to Garmin support following the specifications
made available in May 2006, but not (yet) covering some new
protocols for fitness-oriented receivers.
- explicit support for several Garmin receivers or their new
firmware versions, including: GPSMAP 60CSX and 76CSX, EDGE 205 and
305, GPS 18USB, eTrex Legend Cx, Forerunner 205, and GPS 60; with
thanks for all those who sent protocol lists: Doug Larrick,
Thomas Zumbrunn, Jiri Dvorak, Daniel Dorau, Nenad, Elric Milon
Beltran, Michel Equeter, Dominic Hargreaves, Sébastien Roy, Nicolas
Brouard, Reinhold Pschierer, Sven Anders, Jon Stockill.
Some portlinting [1]
PR: ports/100848
Submitted by: David Wolfskill (maintainer), me (itetcu) [1]
2006-07-26 10:32:31 +02:00
|
|
|
.endif
|
|
|
|
|
2006-05-11 18:45:18 +02:00
|
|
|
post-patch:
|
|
|
|
@(cd ${WRKSRC} && ${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" \
|
|
|
|
util/exerciser.tcl manual/html/info/l_realtime.doc.txt gpsman.tcl)
|
|
|
|
|
2001-12-23 11:34:44 +01:00
|
|
|
pre-install:
|
2003-01-21 21:14:45 +01:00
|
|
|
@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/gpsman.tcl
|
2001-12-23 11:34:44 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/gpsman
|
|
|
|
@${MKDIR} ${PREFIX}/share/gpsman/gmsrc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gmsrc/*.tcl ${PREFIX}/share/gpsman/gmsrc
|
2002-02-10 10:46:09 +01:00
|
|
|
@${MKDIR} ${PREFIX}/share/gpsman/gmsrc/gmicons
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gmsrc/gmicons/* ${PREFIX}/share/gpsman/gmsrc/gmicons
|
2001-12-23 11:34:44 +01:00
|
|
|
@${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
|
|
|
|
|
Update to GPSMan-6.3.1, which is a bugfix for 6.3.
Here are the documented changes from 6.3 to 6.31:
- importation of waypoints from Kismet .network files with
location information, asked by Bernd Stuht; some new options
on this should be configured by editing config.tcl.
- map window can now be resized.
- WARNING: Garmin USB support for some recent Garmin receivers
will need at least version 0.28 of the garmin_gps Linux kernel
driver.
- updates to Garmin support following the specifications
made available in May 2006, but not (yet) covering some new
protocols for fitness-oriented receivers.
- explicit support for several Garmin receivers or their new
firmware versions, including: GPSMAP 60CSX and 76CSX, EDGE 205 and
305, GPS 18USB, eTrex Legend Cx, Forerunner 205, and GPS 60; with
thanks for all those who sent protocol lists: Doug Larrick,
Thomas Zumbrunn, Jiri Dvorak, Daniel Dorau, Nenad, Elric Milon
Beltran, Michel Equeter, Dominic Hargreaves, Sébastien Roy, Nicolas
Brouard, Reinhold Pschierer, Sven Anders, Jon Stockill.
Some portlinting [1]
PR: ports/100848
Submitted by: David Wolfskill (maintainer), me (itetcu) [1]
2006-07-26 10:32:31 +02:00
|
|
|
.include <bsd.port.post.mk>
|