aboutsummaryrefslogtreecommitdiff
path: root/astro/gpsman
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2006-05-11 16:45:18 +0000
committerVolker Stolz <vs@FreeBSD.org>2006-05-11 16:45:18 +0000
commit8715466ba5a397ae565f3bd2e7f59323a5196325 (patch)
tree0e9c98a7a532b9b7c40c2d8a3467fe2994aa1fad /astro/gpsman
parentb755f5de7ba8cea729d65893fe05f6e084a3c33f (diff)
downloadports-8715466ba5a397ae565f3bd2e7f59323a5196325.tar.gz
ports-8715466ba5a397ae565f3bd2e7f59323a5196325.zip
Notes
Diffstat (limited to 'astro/gpsman')
-rw-r--r--astro/gpsman/Makefile12
-rw-r--r--astro/gpsman/distinfo6
-rw-r--r--astro/gpsman/files/patch-gpsman.tcl19
-rw-r--r--astro/gpsman/pkg-plist3
4 files changed, 19 insertions, 21 deletions
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 <bsd.port.mk>
+
+.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