View | Details | Raw Unified | Return to bug 97120
Collapse All | Expand All

(-)Makefile (-1 / +12 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	gpsman
8
PORTNAME=	gpsman
9
PORTVERSION=	6.2.1
9
PORTVERSION=	6.3
10
CATEGORIES=	astro tk84
10
CATEGORIES=	astro tk84
11
MASTER_SITES=	http://www.ncc.up.pt/gpsman/gpsmanhtml/
11
MASTER_SITES=	http://www.ncc.up.pt/gpsman/gpsmanhtml/
12
MASTER_SITE_SUBDIR=	science/cartography
12
MASTER_SITE_SUBDIR=	science/cartography
Lines 23-28 Link Here
23
# MAN1=		gpsman.1
23
# MAN1=		gpsman.1
24
# MANCOMPRESSED=	yes
24
# MANCOMPRESSED=	yes
25
25
26
post-patch:
27
	${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" ${WRKSRC}/util/exerciser.tcl
28
	${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" ${WRKSRC}/manual/html/info/l_realtime.doc.txt
29
	${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" ${WRKSRC}/gpsman.tcl
30
26
pre-install:
31
pre-install:
27
	@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/gpsman.tcl
32
	@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/gpsman.tcl
28
33
Lines 55-57 Link Here
55
.endif
60
.endif
56
61
57
.include <bsd.port.mk>
62
.include <bsd.port.mk>
63
64
.if ${OSVERSION} < 600000
65
GPSMAN_DEFAULT_PORT?=	/dev/cuaa0
66
.else
67
GPSMAN_DEFAULT_PORT?=	/dev/cuad0
68
.endif
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gpsman-6.2.1.tgz) = b8a6fdd2e7b5e547a6b6296a86723ce5
1
MD5 (gpsman-6.3.tgz) = 8e3a6026b41c18be46a15b4d36ceca9a
2
SHA256 (gpsman-6.2.1.tgz) = 19cf09bab8402ff0a6319a2a6e27f8d276c52090b6778bf6fc0bfe0f3320c42c
2
SHA256 (gpsman-6.3.tgz) = 1334289a147cb0dbc863ffb5d1e29c40075f223098351785f76bfb8dd89c8bd6
3
SIZE (gpsman-6.2.1.tgz) = 1137509
3
SIZE (gpsman-6.3.tgz) = 1151425
(-)pkg-plist (-3 lines)
Lines 396-404 Link Here
396
%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_61.html
396
%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_61.html
397
%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_62.html
397
%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_62.html
398
%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_63.html
398
%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_63.html
399
%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_64.html
400
%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_65.html
401
%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_66.html
402
%%PORTDOCS%%%%DOCSDIR%%/html/backgr.gif
399
%%PORTDOCS%%%%DOCSDIR%%/html/backgr.gif
403
%%PORTDOCS%%%%DOCSDIR%%/html/blank.gif
400
%%PORTDOCS%%%%DOCSDIR%%/html/blank.gif
404
%%PORTDOCS%%%%DOCSDIR%%/html/gpsman-logo-small.gif
401
%%PORTDOCS%%%%DOCSDIR%%/html/gpsman-logo-small.gif
(-)files/patch-gpsman.tcl (-14 / +5 lines)
Lines 1-29 Link Here
1
diff -ruN gpsman.tcl gpsman.tcl
1
diff -ruN gpsman.tcl gpsman.tcl
2
--- gpsman.tcl	Fri Mar  7 07:16:40 2003
2
--- gpsman.tcl	Tue May  9 02:37:24 2006
3
+++ gpsman.tcl	Mon Mar 10 17:28:28 2003
3
+++ gpsman.tcl	Wed May 10 17:56:02 2006
4
@@ -1,6 +1,6 @@
4
@@ -1,6 +1,6 @@
5
 #!/bin/sh
5
 #!/bin/sh
6
 # This is a Tcl/Tk script to be interpreted by wish (Tk8.4 or better): \
6
 # This is a Tcl/Tk script to be interpreted by wish (Tk8.3 or better): \
7
-exec wish "$0" -- "$@"
7
-exec wish "$0" -- "$@"
8
+exec wish8.4 "$0" -- "$@"
8
+exec wish8.4 "$0" -- "$@"
9
 
9
 
10
 #
10
 #
11
 #  gpsman --- GPS Manager: a manager for GPS receiver data
11
 #  gpsman --- GPS Manager: a manager for GPS receiver data
12
@@ -159,7 +159,7 @@
12
@@ -216,7 +216,7 @@
13
 	    set CMDLINE 1
14
 	}
15
 	# otherwise the default is
16
-	set DEFSPORT /dev/ttyS0
17
+	set DEFSPORT /dev/cuaa0
18
 	# path to directory containing user data
19
 	set USERDIR ~/.gpsman-dir
20
 	# name of user preferences file
21
@@ -182,7 +182,7 @@
22
 }
13
 }
23
 
14
 
24
  # path to directory containing program files
15
  # path to directory containing program files
25
-set SRCDIR gmsrc
16
-set SRCDIR gmsrc
26
+set SRCDIR %%PREFIX%%/share/gpsman/gmsrc
17
+set SRCDIR %%PREFIX%%/share/gpsman/gmsrc
27
 
18
 
28
 ## the following values can be set from the options dialog of the interface
19
 # all other defaults configuration is now done in file $SRCDIR/config.tcl

Return to bug 97120