summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2006-11-02 13:13:17 +0000
committerBruce M Simpson <bms@FreeBSD.org>2006-11-02 13:13:17 +0000
commitef3cfe34f8d70e86d8fbe1c5401e06c33d1f4192 (patch)
treef8be928e24794c5f2ea22c9336a7ddefe41bc835 /astro
parentFix for xorp rc.d script. This is not the correct fix -- a more elegant (diff)
Add new port gpstk, the ARL GPS Toolkit; a software library for working
with raw GPS data, NMEA feeds, ephemerii, etc. Requested by: Tom McHugh
Notes
Notes: svn path=/head/; revision=176181
Diffstat (limited to 'astro')
-rw-r--r--astro/Makefile1
-rw-r--r--astro/gpstk/Makefile33
-rw-r--r--astro/gpstk/distinfo3
-rw-r--r--astro/gpstk/files/patch-Jamrules22
-rw-r--r--astro/gpstk/files/patch-apps::checktools::ficacheck.cpp18
-rw-r--r--astro/gpstk/files/patch-apps::checktools::ficcheck.cpp17
-rw-r--r--astro/gpstk/files/patch-apps::checktools::rmwcheck.cpp18
-rw-r--r--astro/gpstk/files/patch-apps::checktools::rnwcheck.cpp17
-rw-r--r--astro/gpstk/files/patch-apps::checktools::rowcheck.cpp17
-rw-r--r--astro/gpstk/pkg-descr3
-rw-r--r--astro/gpstk/pkg-plist165
11 files changed, 314 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index ec769b5b8ae9..dfd513da1a0e 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -22,6 +22,7 @@
SUBDIR += gpsd
SUBDIR += gpsdrive
SUBDIR += gpsman
+ SUBDIR += gpstk
SUBDIR += jday
SUBDIR += libnova
SUBDIR += luna
diff --git a/astro/gpstk/Makefile b/astro/gpstk/Makefile
new file mode 100644
index 000000000000..6b6d9c5f71c9
--- /dev/null
+++ b/astro/gpstk/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: gpstk
+# Date created: 12 May 2004
+# Whom: bms@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= gpstk
+PORTVERSION= 1.1
+CATEGORIES= astro devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= bms@FreeBSD.org
+COMMENT= Toolkit for developing GPS applications
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/jam:${PORTSDIR}/devel/jam
+
+USE_LDCONFIG= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+JAM= ${LOCALBASE}/bin/jam
+JAM_ENV= BINDIR=${PREFIX}/bin \
+ INCDIR=${PREFIX}/include \
+ LIBDIR=${PREFIX}/lib
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${JAM_ENV} ${JAM}
+
+do-install:
+ cd ${WRKSRC} && ${SETENV} ${JAM_ENV} ${JAM} install
+
+.include <bsd.port.mk>
diff --git a/astro/gpstk/distinfo b/astro/gpstk/distinfo
new file mode 100644
index 000000000000..a8e08a6d899b
--- /dev/null
+++ b/astro/gpstk/distinfo
@@ -0,0 +1,3 @@
+MD5 (gpstk-1.1.tar.gz) = 11c97d2230a6234582fe41d180bee999
+SHA256 (gpstk-1.1.tar.gz) = 0fb638d1eb1c45030b8dfec6923352a5c790b5c30db23bc1e3edf92e6c5b7bbd
+SIZE (gpstk-1.1.tar.gz) = 3502402
diff --git a/astro/gpstk/files/patch-Jamrules b/astro/gpstk/files/patch-Jamrules
new file mode 100644
index 000000000000..cf6ae9b2dbb6
--- /dev/null
+++ b/astro/gpstk/files/patch-Jamrules
@@ -0,0 +1,22 @@
+--- Jamrules.orig Wed Jan 19 19:36:30 2005
++++ Jamrules Thu May 12 15:29:05 2005
+@@ -9,7 +9,7 @@
+ KEEPOBJS = true ;
+
+ # where to install the .hpp files
+-INCDIR = /usr/local/include ;
++#INCDIR = /usr/local/include ;
+
+ # override the built-in EXEMODE
+ EXEMODE = 755 ;
+@@ -29,6 +29,10 @@
+ {
+ case CYGWIN :
+ LINKLIBS += -lstdc++ ;
++
++ case FREEBSD :
++ LINKLIBS += -lstdc++ ;
++ CCSHARE_FLAGS = -fPIC ;
+
+ case LINUX :
+ LINKLIBS += -lstdc++ ;
diff --git a/astro/gpstk/files/patch-apps::checktools::ficacheck.cpp b/astro/gpstk/files/patch-apps::checktools::ficacheck.cpp
new file mode 100644
index 000000000000..da953bc97445
--- /dev/null
+++ b/astro/gpstk/files/patch-apps::checktools::ficacheck.cpp
@@ -0,0 +1,18 @@
+--- apps/checktools/ficacheck.cpp.orig Wed Jan 19 19:36:30 2005
++++ apps/checktools/ficacheck.cpp Thu May 12 15:12:26 2005
+@@ -1,11 +1,14 @@
+ #pragma ident "$Id: //depot/sgl/gpstk/dev/apps/checktools/ficacheck.cpp#1 $"
+
++using namespace std;
++
++#include <ostream>
++
+ #include "CheckFrame.hpp"
+
+ #include "FICAStream.hpp"
+ #include "FICData.hpp"
+
+-using namespace std;
+ using namespace gpstk;
+
+ int main(int argc, char* argv[])
diff --git a/astro/gpstk/files/patch-apps::checktools::ficcheck.cpp b/astro/gpstk/files/patch-apps::checktools::ficcheck.cpp
new file mode 100644
index 000000000000..400c0e77df48
--- /dev/null
+++ b/astro/gpstk/files/patch-apps::checktools::ficcheck.cpp
@@ -0,0 +1,17 @@
+--- apps/checktools/ficcheck.cpp.orig Wed Jan 19 19:36:30 2005
++++ apps/checktools/ficcheck.cpp Thu May 12 15:12:26 2005
+@@ -1,11 +1,13 @@
+ #pragma ident "$Id: //depot/sgl/gpstk/dev/apps/checktools/ficcheck.cpp#1 $"
+
++using namespace std;
++#include <ostream>
++
+ #include "CheckFrame.hpp"
+
+ #include "FICStream.hpp"
+ #include "FICData.hpp"
+
+-using namespace std;
+ using namespace gpstk;
+
+ int main(int argc, char* argv[])
diff --git a/astro/gpstk/files/patch-apps::checktools::rmwcheck.cpp b/astro/gpstk/files/patch-apps::checktools::rmwcheck.cpp
new file mode 100644
index 000000000000..83a227911ec1
--- /dev/null
+++ b/astro/gpstk/files/patch-apps::checktools::rmwcheck.cpp
@@ -0,0 +1,18 @@
+--- apps/checktools/rmwcheck.cpp.orig Wed Jan 19 19:36:30 2005
++++ apps/checktools/rmwcheck.cpp Thu May 12 15:12:26 2005
+@@ -1,12 +1,14 @@
+ #pragma ident "$Id: //depot/sgl/gpstk/dev/apps/checktools/rmwcheck.cpp#1 $"
+
++using namespace std;
++#include <ostream>
++
+ #include "CheckFrame.hpp"
+
+ #include "RinexMetStream.hpp"
+ #include "RinexMetData.hpp"
+ #include "RinexMetFilterOperators.hpp"
+
+-using namespace std;
+ using namespace gpstk;
+
+ int main(int argc, char* argv[])
diff --git a/astro/gpstk/files/patch-apps::checktools::rnwcheck.cpp b/astro/gpstk/files/patch-apps::checktools::rnwcheck.cpp
new file mode 100644
index 000000000000..7a8809258c73
--- /dev/null
+++ b/astro/gpstk/files/patch-apps::checktools::rnwcheck.cpp
@@ -0,0 +1,17 @@
+--- apps/checktools/rnwcheck.cpp.orig Wed Jan 19 19:36:30 2005
++++ apps/checktools/rnwcheck.cpp Thu May 12 15:12:26 2005
+@@ -1,11 +1,13 @@
+ #pragma ident "$Id: //depot/sgl/gpstk/dev/apps/checktools/rnwcheck.cpp#1 $"
+
++using namespace std;
++#include <ostream>
++
+ #include "CheckFrame.hpp"
+
+ #include "RinexNavStream.hpp"
+ #include "RinexNavData.hpp"
+
+-using namespace std;
+ using namespace gpstk;
+
+ int main(int argc, char* argv[])
diff --git a/astro/gpstk/files/patch-apps::checktools::rowcheck.cpp b/astro/gpstk/files/patch-apps::checktools::rowcheck.cpp
new file mode 100644
index 000000000000..f49382253c66
--- /dev/null
+++ b/astro/gpstk/files/patch-apps::checktools::rowcheck.cpp
@@ -0,0 +1,17 @@
+--- apps/checktools/rowcheck.cpp.orig Wed Jan 19 19:36:30 2005
++++ apps/checktools/rowcheck.cpp Thu May 12 15:12:26 2005
+@@ -1,11 +1,13 @@
+ #pragma ident "$Id: //depot/sgl/gpstk/dev/apps/checktools/rowcheck.cpp#1 $"
+
++using namespace std;
++#include <ostream>
++
+ #include "CheckFrame.hpp"
+
+ #include "RinexObsStream.hpp"
+ #include "RinexObsData.hpp"
+
+-using namespace std;
+ using namespace gpstk;
+
+ int main(int argc, char* argv[])
diff --git a/astro/gpstk/pkg-descr b/astro/gpstk/pkg-descr
new file mode 100644
index 000000000000..71f5f483a40a
--- /dev/null
+++ b/astro/gpstk/pkg-descr
@@ -0,0 +1,3 @@
+The GPSTk is a C++ library for developing GPS applications.
+
+WWW: http://gpstk.sourceforge.net/
diff --git a/astro/gpstk/pkg-plist b/astro/gpstk/pkg-plist
new file mode 100644
index 000000000000..f313bf52ef32
--- /dev/null
+++ b/astro/gpstk/pkg-plist
@@ -0,0 +1,165 @@
+lib/libgpstk.so
+lib/libgpstk.a
+include/stl_helpers.hpp
+include/icd_200_constants.hpp
+include/gpstk/
+include/gps_constants.hpp
+include/getopt.h
+include/geometry.hpp
+include/convhelp.hpp
+include/Xvt.hpp
+include/X2Sequence.hpp
+include/X1Sequence.hpp
+include/WGS84Geoid.hpp
+include/VectorOperators.hpp
+include/VectorBaseOperators.hpp
+include/VectorBase.hpp
+include/Vector.hpp
+include/ValidType.hpp
+include/TropModel.hpp
+include/Triple.hpp
+include/TabularEphemerisStore.hpp
+include/StringUtils.hpp
+include/Stats.hpp
+include/SatID.hpp
+include/SVPCodeGen.hpp
+include/SP3Stream.hpp
+include/SP3Header.hpp
+include/SP3EphemerisStore.hpp
+include/SP3Data.hpp
+include/SP3Base.hpp
+include/SMODFStream.hpp
+include/SMODFData.hpp
+include/RungeKutta4.hpp
+include/RinexObsStream.hpp
+include/RinexObsHeader.hpp
+include/RinexObsFilterOperators.hpp
+include/RinexObsData.hpp
+include/RinexObsBase.hpp
+include/RinexNavStream.hpp
+include/RinexNavHeader.hpp
+include/RinexNavFilterOperators.hpp
+include/RinexNavData.hpp
+include/RinexNavBase.hpp
+include/RinexMetStream.hpp
+include/RinexMetHeader.hpp
+include/RinexMetFilterOperators.hpp
+include/RinexMetData.hpp
+include/RinexMetBase.hpp
+include/RinexEphemerisStore.hpp
+include/RTFileFrame.hpp
+include/RAIMSolution.hpp
+include/Position.hpp
+include/PolyFit.hpp
+include/PCodeConst.hpp
+include/ObservationStore.hpp
+include/ObsRngDev.hpp
+include/ObsClockModel.hpp
+include/ORDEpoch.hpp
+include/MiscMath.hpp
+include/MatrixOperators.hpp
+include/MatrixImplementation.hpp
+include/MatrixFunctors.hpp
+include/MatrixBaseOperators.hpp
+include/MatrixBase.hpp
+include/Matrix.hpp
+include/MathBase.hpp
+include/MSCStream.hpp
+include/MSCData.hpp
+include/LoopedFramework.hpp
+include/LinearClockModel.hpp
+include/IonoModelStore.hpp
+include/IonoModel.hpp
+include/GeoidModel.hpp
+include/Geodetic.hpp
+include/GenXSequence.hpp
+include/GPSZcount.hpp
+include/GPSGeoid.hpp
+include/FileUtils.hpp
+include/FileStore.hpp
+include/FileSpec.hpp
+include/FileHunter.hpp
+include/FileFilterFrameWithHeader.hpp
+include/FileFilterFrame.hpp
+include/FileFilter.hpp
+include/FICStreamBase.hpp
+include/FICStream.hpp
+include/FICHeader.hpp
+include/FICFilterOperators.hpp
+include/FICData.hpp
+include/FICBase.hpp
+include/FICAStream.hpp
+include/FFTextStream.hpp
+include/FFStreamError.hpp
+include/FFStream.hpp
+include/FFData.hpp
+include/FFBinaryStream.hpp
+include/Exception.hpp
+include/EpochClockModel.hpp
+include/EphemerisStore.hpp
+include/EphemerisRange.hpp
+include/EngNav.hpp
+include/EngEphemeris.hpp
+include/EngAlmanac.hpp
+include/ECEF.hpp
+include/DayTime.hpp
+include/CommandOptionWithTimeArg.hpp
+include/CommandOptionParser.hpp
+include/CommandOption.hpp
+include/CodeBuffer.hpp
+include/ClockModel.hpp
+include/BinUtils.hpp
+include/BasicFramework.hpp
+include/BCEphemerisStore.hpp
+include/AlmanacStore.hpp
+include/AlmOrbit.hpp
+bin/timcvt
+bin/stringutiltest
+bin/rowdiff
+bin/rowcheck
+bin/rnwdiff
+bin/rnwcheck
+bin/rmwdiff
+bin/rmwcheck
+bin/rktest
+bin/rinexthin
+bin/rinex_obs_test
+bin/rinex_obs_read_write
+bin/rinex_nav_test
+bin/rinex_nav_read_write
+bin/rinex_met_test
+bin/rinex_met_read_write
+bin/reszilla
+bin/positiontest
+bin/petest
+bin/navdmp
+bin/mergeRinObs
+bin/mergeRinNav
+bin/mergeRinMet
+bin/mergeFIC
+bin/gpszcounttest
+bin/ficfica
+bin/ficdiff
+bin/ficcheck
+bin/ficafic
+bin/ficacheck
+bin/fic2rin
+bin/exceptiontest
+bin/ephdiff
+bin/daytimetest
+bin/aoa2rin
+bin/TECMaps
+bin/RinexDump
+bin/RinSum
+bin/ResCor
+bin/NavMerge
+bin/MatrixTest
+bin/IonoBias
+bin/FileSpecTest
+bin/EphComp
+bin/EditRinex
+bin/DiscFix
+bin/DayTimeToleranceTest
+bin/DayTimeIncrementTest
+bin/DayTimeConversionTest
+bin/AnotherFileFilterTest