From 8715466ba5a397ae565f3bd2e7f59323a5196325 Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Thu, 11 May 2006 16:45:18 +0000 Subject: Update to 6.3 PR: ports/97120 Submitted by: maintainer --- astro/gpsman/Makefile | 12 +++++++++++- astro/gpsman/distinfo | 6 +++--- astro/gpsman/files/patch-gpsman.tcl | 19 +++++-------------- astro/gpsman/pkg-plist | 3 --- 4 files changed, 19 insertions(+), 21 deletions(-) (limited to 'astro/gpsman') diff --git a/astro/gpsman/Makefile b/astro/gpsman/Makefile index e23d11ebbc21..62b4ad0f67ae 100644 --- a/astro/gpsman/Makefile +++ b/astro/gpsman/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gpsman -PORTVERSION= 6.2.1 +PORTVERSION= 6.3 CATEGORIES= astro tk84 MASTER_SITES= http://www.ncc.up.pt/gpsman/gpsmanhtml/ MASTER_SITE_SUBDIR= science/cartography @@ -23,6 +23,10 @@ NO_BUILD= yes # MAN1= gpsman.1 # MANCOMPRESSED= yes +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 @@ -55,3 +59,9 @@ do-install: .endif .include + +.if ${OSVERSION} < 600000 +GPSMAN_DEFAULT_PORT?= /dev/cuaa0 +.else +GPSMAN_DEFAULT_PORT?= /dev/cuad0 +.endif diff --git a/astro/gpsman/distinfo b/astro/gpsman/distinfo index 94595bf5111f..764e42ebc7e2 100644 --- a/astro/gpsman/distinfo +++ b/astro/gpsman/distinfo @@ -1,3 +1,3 @@ -MD5 (gpsman-6.2.1.tgz) = b8a6fdd2e7b5e547a6b6296a86723ce5 -SHA256 (gpsman-6.2.1.tgz) = 19cf09bab8402ff0a6319a2a6e27f8d276c52090b6778bf6fc0bfe0f3320c42c -SIZE (gpsman-6.2.1.tgz) = 1137509 +MD5 (gpsman-6.3.tgz) = 8a1d23bb45929af3d0011a22bf3986fb +SHA256 (gpsman-6.3.tgz) = 3643f422f7ff9f21e2a085438556904fef76df77383ff52787128fdfd1e530db +SIZE (gpsman-6.3.tgz) = 1152069 diff --git a/astro/gpsman/files/patch-gpsman.tcl b/astro/gpsman/files/patch-gpsman.tcl index 9fab0d1841d5..56b35afc9b26 100644 --- a/astro/gpsman/files/patch-gpsman.tcl +++ b/astro/gpsman/files/patch-gpsman.tcl @@ -1,29 +1,20 @@ diff -ruN gpsman.tcl gpsman.tcl ---- gpsman.tcl Fri Mar 7 07:16:40 2003 -+++ gpsman.tcl Mon Mar 10 17:28:28 2003 +--- gpsman.tcl Tue May 9 02:37:24 2006 ++++ gpsman.tcl Wed May 10 17:56:02 2006 @@ -1,6 +1,6 @@ #!/bin/sh - # This is a Tcl/Tk script to be interpreted by wish (Tk8.4 or better): \ + # This is a Tcl/Tk script to be interpreted by wish (Tk8.3 or better): \ -exec wish "$0" -- "$@" +exec wish8.4 "$0" -- "$@" # # gpsman --- GPS Manager: a manager for GPS receiver data -@@ -159,7 +159,7 @@ - set CMDLINE 1 - } - # otherwise the default is -- set DEFSPORT /dev/ttyS0 -+ set DEFSPORT /dev/cuaa0 - # path to directory containing user data - set USERDIR ~/.gpsman-dir - # name of user preferences file -@@ -182,7 +182,7 @@ +@@ -216,7 +216,7 @@ } # path to directory containing program files -set SRCDIR gmsrc +set SRCDIR %%PREFIX%%/share/gpsman/gmsrc - ## the following values can be set from the options dialog of the interface + # all other defaults configuration is now done in file $SRCDIR/config.tcl diff --git a/astro/gpsman/pkg-plist b/astro/gpsman/pkg-plist index b7f61345e1e1..468c7f9720f4 100644 --- a/astro/gpsman/pkg-plist +++ b/astro/gpsman/pkg-plist @@ -396,9 +396,6 @@ share/gpsman/util/shape2quadr.tcl %%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_61.html %%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_62.html %%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_63.html -%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_64.html -%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_65.html -%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_66.html %%PORTDOCS%%%%DOCSDIR%%/html/backgr.gif %%PORTDOCS%%%%DOCSDIR%%/html/blank.gif %%PORTDOCS%%%%DOCSDIR%%/html/gpsman-logo-small.gif -- cgit v1.2.3