diff options
author | vs <vs@FreeBSD.org> | 2006-05-12 00:45:18 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2006-05-12 00:45:18 +0800 |
commit | 4515f519b866890cb40aee201de04f00c88295a8 (patch) | |
tree | d1bb86ff205ac429b1fe34eb79b06a3b60c0d898 /astro | |
parent | 6d1f2f8405c389565c37ffef7952e965e20f3118 (diff) | |
download | freebsd-ports-gnome-4515f519b866890cb40aee201de04f00c88295a8.tar.gz freebsd-ports-gnome-4515f519b866890cb40aee201de04f00c88295a8.tar.zst freebsd-ports-gnome-4515f519b866890cb40aee201de04f00c88295a8.zip |
Update to 6.3
PR: ports/97120
Submitted by: maintainer
Diffstat (limited to 'astro')
-rw-r--r-- | astro/gpsman/Makefile | 12 | ||||
-rw-r--r-- | astro/gpsman/distinfo | 6 | ||||
-rw-r--r-- | astro/gpsman/files/patch-gpsman.tcl | 19 | ||||
-rw-r--r-- | astro/gpsman/pkg-plist | 3 |
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 |