freebsd-ports/astro/gpsman/Makefile
Ion-Mihai Tetcu 1b2fa9b423 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 08:32:31 +00:00

70 lines
2.4 KiB
Makefile

# New ports collection makefile for: gpsman
# Date created: 26 November 2001
# Whom: David Wolfskill
#
# $FreeBSD$
#
PORTNAME= gpsman
PORTVERSION= 6.3.1
CATEGORIES= astro tk84
MASTER_SITES= http://www.ncc.up.pt/gpsman/gpsmanhtml/
MASTER_SITE_SUBDIR= science/cartography
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= 84
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
# MAN1= gpsman.1
# MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
GPSMAN_DEFAULT_PORT?= /dev/cuaa0
.else
GPSMAN_DEFAULT_PORT?= /dev/cuad0
.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
${RM} ${PREFIX}/share/doc/gpsman/html/info/GPL.txt
${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>