aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-06-29 09:22:16 +0800
committerwen <wen@FreeBSD.org>2010-06-29 09:22:16 +0800
commit033ff9cb6af9a9976a3b625d4eda02f29f26890a (patch)
treed7d8619cb57919409db7cf8ec9f15cc0d48a4757 /science
parent5a9809dc1aea87280d18ade49d6b807cce762367 (diff)
downloadfreebsd-ports-gnome-033ff9cb6af9a9976a3b625d4eda02f29f26890a.tar.gz
freebsd-ports-gnome-033ff9cb6af9a9976a3b625d4eda02f29f26890a.tar.zst
freebsd-ports-gnome-033ff9cb6af9a9976a3b625d4eda02f29f26890a.zip
JStrack is written by and for people who are in areas that are
prone to hits from tropical systems (currently only in the Tropical Atlantic). It's intended to display the NHC/TPC data and give you what you need to make decisions, etc.. It does NOT, nor will it ever, attempt to do any forecasting on its own---I leave that to the gurus at the NHC/TPC. WWW: http://www.jstrack.org/jstrack/ PR: ports/148208 Submitted by: Chris Rees <utisoft@gmail.com> Feature safe: yes
Diffstat (limited to 'science')
-rw-r--r--science/Makefile1
-rw-r--r--science/jstrack/Makefile63
-rw-r--r--science/jstrack/distinfo3
-rw-r--r--science/jstrack/files/jstrack.sh.in10
-rw-r--r--science/jstrack/pkg-descr8
-rw-r--r--science/jstrack/pkg-plist224
6 files changed, 309 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 624da50411d3..5862729f19ec 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -69,6 +69,7 @@
SUBDIR += ics
SUBDIR += isaac-cfd
SUBDIR += jmol
+ SUBDIR += jstrack
SUBDIR += kmovisto
SUBDIR += kst
SUBDIR += lamprop
diff --git a/science/jstrack/Makefile b/science/jstrack/Makefile
new file mode 100644
index 000000000000..fc73575c11c0
--- /dev/null
+++ b/science/jstrack/Makefile
@@ -0,0 +1,63 @@
+# New ports collection Makefile for: JStrack
+# Date created: 2010-06-28
+# Whom: Chris Rees <utisoft@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jstrack
+PORTVERSION= 3.0.2
+CATEGORIES= science
+MASTER_SITES= http://www.jstrack.org/jstrack/downloads/ \
+ http://www.bayofrum.net/dist/$%7BPORTNAME%7D/
+
+MAINTAINER= utisoft@gmail.com
+COMMENT= A freeware hurricane tracking program
+
+LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm \
+ img.1:${PORTSDIR}/graphics/libimg
+RUN_DEPENDS= dtplite:${PORTSDIR}/devel/tcllib
+
+LICENSE= JStrack
+LICENSE_NAME= JStrack
+LICENSE_PERMS= no-dist-sell pkg-mirror no-pkg-sell auto-accept
+LICENSE_TEXT= It is and always will be free, and [Jim Graham] wrote it...\
+ so don't charge money for it, and don't claim that you wrote it
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_TCL_RUN= 84
+USE_TK= 84
+NO_BUILD= yes
+
+SUB_FILES= ${PORTNAME}.sh
+SUB_LIST= WISH=${WISH}
+
+PORTDOCS= 00-README_FIRST.txt HISTORY install.txt jstrackdoc.pdf
+
+do-install:
+ @${MKDIR} ${PREFIX}/lib/${PORTNAME}
+.for f in filt ftpfilt tracker
+ @(cd ${WRKSRC}/ && ${COPYTREE_SHARE} ${f} ${PREFIX}/lib/${PORTNAME}/ \
+ '! -path *windows_bin*')
+.endfor
+ @${INSTALL_SCRIPT} ${WRKSRC}/*.tcl ${PREFIX}/lib/${PORTNAME}
+ @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+. for f in ${PORTDOCS}
+ @${INSTALL_MAN} ${WRKSRC}/${f} ${DOCSDIR}
+. endfor
+.endif
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/${PORTNAME}
+.for d in filt ftpfilt ftpfilt/support tracker tracker/lib tracker/storms
+ @${CHMOD} ugo+rx ${PREFIX}/lib/${PORTNAME}/${d}/*.t*
+.endfor
+ @(cd ${PREFIX}/lib/${PORTNAME} && ${TCLSH} autoconfig.tcl && ${RM} paths.tcl.old)
+.for f in filt/filt.tcl ftpfilt/autoftp.override.tcl ftpfilt/autoftp.tcl ftpfilt/ftp.tcl ftpfilt/ftplib.tcl ftpfilt/old_ftplib.tcl tracker/jstrack-text_only.tcl tracker/jstrack.tcl
+ @${REINPLACE_CMD} 's#\.\./paths.tcl#${PREFIX}/lib/jstrack/paths.tcl#g' \
+ ${PREFIX}/lib/${PORTNAME}/${f}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/science/jstrack/distinfo b/science/jstrack/distinfo
new file mode 100644
index 000000000000..d3e2201045ff
--- /dev/null
+++ b/science/jstrack/distinfo
@@ -0,0 +1,3 @@
+MD5 (jstrack-3.0.2.tar.gz) = 4f3364b5c2b5d3d088e27cc537cf0152
+SHA256 (jstrack-3.0.2.tar.gz) = adab5b6d720109d0f593a61a2647902b4dfe63bf2d3e814d4de5d79ac77af03f
+SIZE (jstrack-3.0.2.tar.gz) = 1425575
diff --git a/science/jstrack/files/jstrack.sh.in b/science/jstrack/files/jstrack.sh.in
new file mode 100644
index 000000000000..049f918ea2fc
--- /dev/null
+++ b/science/jstrack/files/jstrack.sh.in
@@ -0,0 +1,10 @@
+#! /bin/sh
+# the next line restarts using wish \
+exec %%WISH%% "$0" ${1+"$@"}
+set myName [info script]
+if {![catch {
+ set linkName [file readlink $myName]
+}]} {
+ set myName $linkName
+}
+source [file join [file dirname $myName] %%PREFIX%%/lib/jstrack/tracker/jstrack.tcl]
diff --git a/science/jstrack/pkg-descr b/science/jstrack/pkg-descr
new file mode 100644
index 000000000000..626b7d8b92b5
--- /dev/null
+++ b/science/jstrack/pkg-descr
@@ -0,0 +1,8 @@
+JStrack is written by and for people who are in areas that are
+prone to hits from tropical systems (currently only in the Tropical
+Atlantic). It's intended to display the NHC/TPC data and give you
+what you need to make decisions, etc.. It does NOT, nor will it ever,
+attempt to do any forecasting on its own---I leave that to the gurus
+at the NHC/TPC.
+
+WWW: http://www.jstrack.org/jstrack/
diff --git a/science/jstrack/pkg-plist b/science/jstrack/pkg-plist
new file mode 100644
index 000000000000..09a92daf55eb
--- /dev/null
+++ b/science/jstrack/pkg-plist
@@ -0,0 +1,224 @@
+bin/jstrack
+lib/jstrack/autoconfig.tcl
+lib/jstrack/filt/city.list
+lib/jstrack/filt/filt.tcl
+lib/jstrack/filt/filt.tcl.bak
+lib/jstrack/filt/missing_cities
+lib/jstrack/filt/read_fc.tcl
+lib/jstrack/filt/stormflag.bmp
+lib/jstrack/filt/winfilt.tk
+lib/jstrack/ftpfilt/TODO
+lib/jstrack/ftpfilt/autoftp.log
+lib/jstrack/ftpfilt/autoftp.override.tcl
+lib/jstrack/ftpfilt/autoftp.override.tcl.bak
+lib/jstrack/ftpfilt/autoftp.tcl
+lib/jstrack/ftpfilt/autoftp.tcl.bak
+lib/jstrack/ftpfilt/ftp.tcl
+lib/jstrack/ftpfilt/ftp.tcl.bak
+lib/jstrack/ftpfilt/ftplib.tcl
+lib/jstrack/ftpfilt/ftplib.tcl.bak
+lib/jstrack/ftpfilt/initial_timestamps.tcl
+lib/jstrack/ftpfilt/old_ftplib.tcl
+lib/jstrack/ftpfilt/old_ftplib.tcl.bak
+lib/jstrack/ftpfilt/support/initial_timestamps.tcl
+lib/jstrack/ftpfilt/support/mkmktm.tcl
+lib/jstrack/ftpfilt/timestamp.disc
+lib/jstrack/ftpfilt/timestamp.marine
+lib/jstrack/ftpfilt/timestamp.public
+lib/jstrack/ftpfilt/timestamp.strike
+lib/jstrack/paths.tcl
+lib/jstrack/tracker/config_citydefs.tcl
+lib/jstrack/tracker/config_user_citylist.tcl
+lib/jstrack/tracker/gulfvs.jpg
+lib/jstrack/tracker/imagery/atir.jpg
+lib/jstrack/tracker/imagery/atvs.jpg
+lib/jstrack/tracker/imagery/ecstir.jpg
+lib/jstrack/tracker/imagery/ecstvs.jpg
+lib/jstrack/tracker/imagery/huir.jpg
+lib/jstrack/tracker/imagery/huvs.jpg
+lib/jstrack/tracker/jstrack-text_only.tcl
+lib/jstrack/tracker/jstrack-text_only.tcl.bak
+lib/jstrack/tracker/jstrack.tcl
+lib/jstrack/tracker/jstrack.tcl.bak
+lib/jstrack/tracker/lib/bindings.tk
+lib/jstrack/tracker/lib/canvas.tk
+lib/jstrack/tracker/lib/capture_window.tk
+lib/jstrack/tracker/lib/colors.tcl
+lib/jstrack/tracker/lib/coords.tcl
+lib/jstrack/tracker/lib/defaults.tcl
+lib/jstrack/tracker/lib/dummy.tk
+lib/jstrack/tracker/lib/global.tcl
+lib/jstrack/tracker/lib/help.tcl
+lib/jstrack/tracker/lib/imagery.tk
+lib/jstrack/tracker/lib/imagery_links.tcl
+lib/jstrack/tracker/lib/images/east_coast_js-land.bmp
+lib/jstrack/tracker/lib/images/east_coast_js.bmp
+lib/jstrack/tracker/lib/images/east_coast_js.tcl
+lib/jstrack/tracker/lib/images/gray25.bmp
+lib/jstrack/tracker/lib/images/gulf_cab2_js-land.bmp
+lib/jstrack/tracker/lib/images/gulf_cab2_js.bmp
+lib/jstrack/tracker/lib/images/gulf_cab2_js.tcl
+lib/jstrack/tracker/lib/images/large_js-land.bmp
+lib/jstrack/tracker/lib/images/large_js.bmp
+lib/jstrack/tracker/lib/images/large_js.tcl
+lib/jstrack/tracker/lib/interp.tcl
+lib/jstrack/tracker/lib/jpg_xy.tcl
+lib/jstrack/tracker/lib/loadsatmap.tk
+lib/jstrack/tracker/lib/menu.tcl
+lib/jstrack/tracker/lib/menu.tk
+lib/jstrack/tracker/lib/menuproc.tk
+lib/jstrack/tracker/lib/misc.tcl
+lib/jstrack/tracker/lib/misc.tk
+lib/jstrack/tracker/lib/miscb.tcl
+lib/jstrack/tracker/lib/plot.tk
+lib/jstrack/tracker/lib/plotcity.tk
+lib/jstrack/tracker/lib/plotmenu.tk
+lib/jstrack/tracker/lib/read_any.tcl
+lib/jstrack/tracker/lib/saffsimp.tcl
+lib/jstrack/tracker/lib/saffsimp.tk
+lib/jstrack/tracker/lib/save_config.tcl
+lib/jstrack/tracker/lib/ss_global.tcl
+lib/jstrack/tracker/lib/stlib.tcl
+lib/jstrack/tracker/lib/storm.tcl
+lib/jstrack/tracker/lib/update.tcl
+lib/jstrack/tracker/lib/user.tcl
+lib/jstrack/tracker/lib/userdata.tcl
+lib/jstrack/tracker/lib/userdata.tk
+lib/jstrack/tracker/options.tcl
+lib/jstrack/tracker/sample_sysconfig.tcl
+lib/jstrack/tracker/storms/arthur.adv
+lib/jstrack/tracker/storms/arthur.dis
+lib/jstrack/tracker/storms/arthur.fc
+lib/jstrack/tracker/storms/arthur.trk
+lib/jstrack/tracker/storms/bertha.adv
+lib/jstrack/tracker/storms/bertha.dis
+lib/jstrack/tracker/storms/bertha.fc
+lib/jstrack/tracker/storms/bertha.trk
+lib/jstrack/tracker/storms/cristobal.adv
+lib/jstrack/tracker/storms/cristobal.dis
+lib/jstrack/tracker/storms/cristobal.fc
+lib/jstrack/tracker/storms/cristobal.trk
+lib/jstrack/tracker/storms/dolly.adv
+lib/jstrack/tracker/storms/dolly.dis
+lib/jstrack/tracker/storms/dolly.fc
+lib/jstrack/tracker/storms/dolly.trk
+lib/jstrack/tracker/storms/edouard.adv
+lib/jstrack/tracker/storms/edouard.dis
+lib/jstrack/tracker/storms/edouard.fc
+lib/jstrack/tracker/storms/edouard.trk
+lib/jstrack/tracker/storms/fay.adv
+lib/jstrack/tracker/storms/fay.dis
+lib/jstrack/tracker/storms/fay.fc
+lib/jstrack/tracker/storms/fay.trk
+lib/jstrack/tracker/storms/five.adv
+lib/jstrack/tracker/storms/five.dis
+lib/jstrack/tracker/storms/five.fc
+lib/jstrack/tracker/storms/merge
+lib/jstrack/tracker/storms/old/2007/chantal.adv
+lib/jstrack/tracker/storms/old/2007/chantal.dis
+lib/jstrack/tracker/storms/old/2007/chantal.fc
+lib/jstrack/tracker/storms/old/2007/chantal.trk
+lib/jstrack/tracker/storms/old/2007/dean.adv
+lib/jstrack/tracker/storms/old/2007/dean.dis
+lib/jstrack/tracker/storms/old/2007/dean.fc
+lib/jstrack/tracker/storms/old/2007/dean.trk
+lib/jstrack/tracker/storms/old/2007/eight.adv
+lib/jstrack/tracker/storms/old/2007/eight.dis
+lib/jstrack/tracker/storms/old/2007/eight.fc
+lib/jstrack/tracker/storms/old/2007/erin.adv
+lib/jstrack/tracker/storms/old/2007/erin.dis
+lib/jstrack/tracker/storms/old/2007/erin.fc
+lib/jstrack/tracker/storms/old/2007/erin.trk
+lib/jstrack/tracker/storms/old/2007/felix.adv
+lib/jstrack/tracker/storms/old/2007/felix.dis
+lib/jstrack/tracker/storms/old/2007/felix.fc
+lib/jstrack/tracker/storms/old/2007/felix.trk
+lib/jstrack/tracker/storms/old/2007/fifteen.adv
+lib/jstrack/tracker/storms/old/2007/fifteen.dis
+lib/jstrack/tracker/storms/old/2007/fifteen.fc
+lib/jstrack/tracker/storms/old/2007/fifteen.trk
+lib/jstrack/tracker/storms/old/2007/five.adv
+lib/jstrack/tracker/storms/old/2007/five.dis
+lib/jstrack/tracker/storms/old/2007/five.fc
+lib/jstrack/tracker/storms/old/2007/four.adv
+lib/jstrack/tracker/storms/old/2007/four.dis
+lib/jstrack/tracker/storms/old/2007/four.fc
+lib/jstrack/tracker/storms/old/2007/fourteen.adv
+lib/jstrack/tracker/storms/old/2007/fourteen.dis
+lib/jstrack/tracker/storms/old/2007/fourteen.fc
+lib/jstrack/tracker/storms/old/2007/gabrielle.adv
+lib/jstrack/tracker/storms/old/2007/gabrielle.dis
+lib/jstrack/tracker/storms/old/2007/gabrielle.fc
+lib/jstrack/tracker/storms/old/2007/gabrielle.trk
+lib/jstrack/tracker/storms/old/2007/humberto.adv
+lib/jstrack/tracker/storms/old/2007/humberto.dis
+lib/jstrack/tracker/storms/old/2007/humberto.fc
+lib/jstrack/tracker/storms/old/2007/humberto.trk
+lib/jstrack/tracker/storms/old/2007/ingrid.adv
+lib/jstrack/tracker/storms/old/2007/ingrid.dis
+lib/jstrack/tracker/storms/old/2007/ingrid.fc
+lib/jstrack/tracker/storms/old/2007/ingrid.trk
+lib/jstrack/tracker/storms/old/2007/jerry.adv
+lib/jstrack/tracker/storms/old/2007/jerry.dis
+lib/jstrack/tracker/storms/old/2007/jerry.fc
+lib/jstrack/tracker/storms/old/2007/jerry.trk
+lib/jstrack/tracker/storms/old/2007/karen.adv
+lib/jstrack/tracker/storms/old/2007/karen.dis
+lib/jstrack/tracker/storms/old/2007/karen.fc
+lib/jstrack/tracker/storms/old/2007/karen.trk
+lib/jstrack/tracker/storms/old/2007/lorenzo.adv
+lib/jstrack/tracker/storms/old/2007/lorenzo.dis
+lib/jstrack/tracker/storms/old/2007/lorenzo.fc
+lib/jstrack/tracker/storms/old/2007/lorenzo.trk
+lib/jstrack/tracker/storms/old/2007/melissa.adv
+lib/jstrack/tracker/storms/old/2007/melissa.dis
+lib/jstrack/tracker/storms/old/2007/melissa.fc
+lib/jstrack/tracker/storms/old/2007/melissa.trk
+lib/jstrack/tracker/storms/old/2007/nine.adv
+lib/jstrack/tracker/storms/old/2007/nine.dis
+lib/jstrack/tracker/storms/old/2007/nine.fc
+lib/jstrack/tracker/storms/old/2007/noel.adv
+lib/jstrack/tracker/storms/old/2007/noel.dis
+lib/jstrack/tracker/storms/old/2007/noel.fc
+lib/jstrack/tracker/storms/old/2007/noel.trk
+lib/jstrack/tracker/storms/old/2007/olga.adv
+lib/jstrack/tracker/storms/old/2007/olga.dis
+lib/jstrack/tracker/storms/old/2007/olga.fc
+lib/jstrack/tracker/storms/old/2007/olga.trk
+lib/jstrack/tracker/storms/old/2007/six.adv
+lib/jstrack/tracker/storms/old/2007/six.dis
+lib/jstrack/tracker/storms/old/2007/six.fc
+lib/jstrack/tracker/storms/old/2007/sixteen.adv
+lib/jstrack/tracker/storms/old/2007/sixteen.dis
+lib/jstrack/tracker/storms/old/2007/sixteen.fc
+lib/jstrack/tracker/storms/old/2007/ten.adv
+lib/jstrack/tracker/storms/old/2007/ten.dis
+lib/jstrack/tracker/storms/old/2007/ten.fc
+lib/jstrack/tracker/storms/old/2007/ten.trk
+lib/jstrack/tracker/storms/old/2007/thirteen.adv
+lib/jstrack/tracker/storms/old/2007/thirteen.dis
+lib/jstrack/tracker/storms/old/2007/thirteen.fc
+lib/jstrack/tracker/storms/old/2007/three.adv
+lib/jstrack/tracker/storms/old/2007/three.dis
+lib/jstrack/tracker/storms/old/2007/three.fc
+lib/jstrack/tracker/storms/old/2007/twelve.adv
+lib/jstrack/tracker/storms/old/2007/twelve.dis
+lib/jstrack/tracker/storms/old/2007/twelve.fc
+lib/jstrack/tracker/storms/three.adv
+lib/jstrack/tracker/storms/three.dis
+lib/jstrack/tracker/storms/three.fc
+lib/jstrack/tracker/storms/two.adv
+lib/jstrack/tracker/storms/two.dis
+lib/jstrack/tracker/storms/two.fc
+@dirrm lib/jstrack/tracker/storms/old/2007
+@dirrm lib/jstrack/tracker/storms/old
+@dirrm lib/jstrack/tracker/storms
+@dirrm lib/jstrack/tracker/lib/images
+@dirrm lib/jstrack/tracker/lib
+@dirrm lib/jstrack/tracker/imagery
+@dirrm lib/jstrack/tracker
+@dirrm lib/jstrack/ftpfilt/support
+@dirrm lib/jstrack/ftpfilt
+@dirrm lib/jstrack/filt/tmp
+@dirrm lib/jstrack/filt
+@dirrm lib/jstrack