diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-05-31 21:14:35 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-05-31 21:14:35 +0800 |
commit | c32c28170806cb764a9085c18176ebf90b335d0e (patch) | |
tree | a69b766da8cac23a7e602ba2060cbae80308be42 /misc | |
parent | e11520fbf36827bb7c4e201cf9b2ea8ee3c0dd0f (diff) | |
download | freebsd-ports-gnome-c32c28170806cb764a9085c18176ebf90b335d0e.tar.gz freebsd-ports-gnome-c32c28170806cb764a9085c18176ebf90b335d0e.tar.zst freebsd-ports-gnome-c32c28170806cb764a9085c18176ebf90b335d0e.zip |
Add projectionlib 3.7, a C++ wrapper for the USGS GCTP projection
library.
PR: 26928
Submitted by: Randall Hopper <aa8vb@nc.rr.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/projectionlib/Makefile | 30 | ||||
-rw-r--r-- | misc/projectionlib/distinfo | 1 | ||||
-rw-r--r-- | misc/projectionlib/files/Makefile | 11 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-aa | 11 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-ab | 17 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-ac | 11 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-ad | 11 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-ae | 17 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-af | 11 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-ag | 18 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-ah | 11 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-ai | 11 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-aj | 11 | ||||
-rw-r--r-- | misc/projectionlib/files/patch-ak | 11 | ||||
-rw-r--r-- | misc/projectionlib/pkg-comment | 1 | ||||
-rw-r--r-- | misc/projectionlib/pkg-descr | 6 | ||||
-rw-r--r-- | misc/projectionlib/pkg-plist | 34 |
18 files changed, 224 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index ed905c33f775..b550c6c843c7 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -126,6 +126,7 @@ SUBDIR += pinfo SUBDIR += pkg_tarup SUBDIR += porteasy + SUBDIR += projectionlib SUBDIR += proxyper SUBDIR += py-distutils SUBDIR += pybliographer diff --git a/misc/projectionlib/Makefile b/misc/projectionlib/Makefile new file mode 100644 index 000000000000..d810ce97d5f0 --- /dev/null +++ b/misc/projectionlib/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: ProjectionLib library from VTP +# Date created: 26 Apr 2001 +# Whom: Randall Hopper <aa8vb@nc.rr.com> +# +# $FreeBSD$ +# + +PORTNAME= projectionlib +PORTVERSION= 3.7 +CATEGORIES= misc +MASTER_SITES= ftp://ftpmcmc.er.usgs.gov/release/viewers/dlgv32/source/ +DISTNAME= Dlgv32v37 + +MAINTAINER= aa8vb@nc.rr.com + +LIB_DEPENDS= gctpc.1:${PORTSDIR}/misc/gctpc + +EXTRACT_CMD= unzip -a + +WRKSRC= ${WRKDIR}/dlgv32/ProjectionLib + +USE_ZIP= yes +INSTALLS_SHLIB= yes +MAKEFILE= ${FILESDIR}/Makefile + +post-install: + ${MKDIR} ${PREFIX}/include/ProjectionLib + ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/ProjectionLib + +.include <bsd.port.mk> diff --git a/misc/projectionlib/distinfo b/misc/projectionlib/distinfo new file mode 100644 index 000000000000..f64a45d9381c --- /dev/null +++ b/misc/projectionlib/distinfo @@ -0,0 +1 @@ +MD5 (Dlgv32v37.zip) = 067dcd5a9b7be359b3275cf16d45ab17 diff --git a/misc/projectionlib/files/Makefile b/misc/projectionlib/files/Makefile new file mode 100644 index 000000000000..1f6a592485a7 --- /dev/null +++ b/misc/projectionlib/files/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +LIB= projection +SRCS!= echo ${.CURDIR}/*.cpp +CXXFLAGS+= -I${LOCALBASE}/include +SHLIB_MAJOR= 1 +SHLIB_MINOR= 0 +LIBDIR= ${PREFIX}/lib +NOPROFILE= true + +.include <bsd.lib.mk> diff --git a/misc/projectionlib/files/patch-aa b/misc/projectionlib/files/patch-aa new file mode 100644 index 000000000000..b36ef2c6f34e --- /dev/null +++ b/misc/projectionlib/files/patch-aa @@ -0,0 +1,11 @@ +diff -ruN ORIG/AlaskaConformalProjection.cpp AlaskaConformalProjection.cpp +--- ORIG/AlaskaConformalProjection.cpp Fri May 5 07:24:56 2000 ++++ AlaskaConformalProjection.cpp Fri Apr 27 19:07:38 2001 +@@ -8,6 +8,7 @@ + #include "AlaskaConformalProjection.h" + #include "DatumConvertor.h" + ++#include <stdio.h> + // GCTPC includes + #include "gctpc/gctpc.h" + #include "gctpc/gctp.h" diff --git a/misc/projectionlib/files/patch-ab b/misc/projectionlib/files/patch-ab new file mode 100644 index 000000000000..7fe6980bc010 --- /dev/null +++ b/misc/projectionlib/files/patch-ab @@ -0,0 +1,17 @@ +diff -ruN ORIG/AzimuthalProjection.cpp AzimuthalProjection.cpp +--- ORIG/AzimuthalProjection.cpp Fri May 5 07:24:56 2000 ++++ AzimuthalProjection.cpp Fri Apr 27 19:07:35 2001 +@@ -7,6 +7,7 @@ + #include "AzimuthalProjection.h" + #include "DatumConvertor.h" + ++#include <stdio.h> + // GCTPC includes + #include "gctpc/gctpc.h" + #include "gctpc/proj.h" +@@ -257,4 +258,4 @@ + { + return true; + } +-} ++} diff --git a/misc/projectionlib/files/patch-ac b/misc/projectionlib/files/patch-ac new file mode 100644 index 000000000000..52f4c84b43f3 --- /dev/null +++ b/misc/projectionlib/files/patch-ac @@ -0,0 +1,11 @@ +diff -ruN ORIG/ConicProjection.cpp ConicProjection.cpp +--- ORIG/ConicProjection.cpp Fri May 5 07:24:56 2000 ++++ ConicProjection.cpp Fri Apr 27 19:07:21 2001 +@@ -7,6 +7,7 @@ + #include "ConicProjection.h" + #include "DatumConvertor.h" + ++#include <stdio.h> + // GCTPC includes + #include "gctpc/gctpc.h" + #include "gctpc/proj.h" diff --git a/misc/projectionlib/files/patch-ad b/misc/projectionlib/files/patch-ad new file mode 100644 index 000000000000..092e3c62a210 --- /dev/null +++ b/misc/projectionlib/files/patch-ad @@ -0,0 +1,11 @@ +diff -ruN ORIG/HotineObliqueMercatorProjection.cpp HotineObliqueMercatorProjection.cpp +--- ORIG/HotineObliqueMercatorProjection.cpp Fri May 5 07:24:56 2000 ++++ HotineObliqueMercatorProjection.cpp Fri Apr 27 19:07:19 2001 +@@ -5,6 +5,7 @@ + ////////////////////////////////////////////////////////////////////// + + #include "HotineObliqueMercatorProjection.h" ++#include <stdio.h> + + ////////////////////////////////////////////////////////////////////// + // Construction/Destruction diff --git a/misc/projectionlib/files/patch-ae b/misc/projectionlib/files/patch-ae new file mode 100644 index 000000000000..e6754e65116a --- /dev/null +++ b/misc/projectionlib/files/patch-ae @@ -0,0 +1,17 @@ +diff -ruN ORIG/MercatorProjection.cpp MercatorProjection.cpp +--- ORIG/MercatorProjection.cpp Fri May 5 07:24:56 2000 ++++ MercatorProjection.cpp Fri Apr 27 19:07:15 2001 +@@ -7,6 +7,7 @@ + #include "MercatorProjection.h" + #include "DatumConvertor.h" + ++#include <stdio.h> + // GCTPC includes + #include "gctpc/gctpc.h" + #include "gctpc/proj.h" +@@ -240,4 +241,4 @@ + } + + return ( latitude >= -86.0 && latitude <= 86.0 ); +-} ++} diff --git a/misc/projectionlib/files/patch-af b/misc/projectionlib/files/patch-af new file mode 100644 index 000000000000..30f2c5738346 --- /dev/null +++ b/misc/projectionlib/files/patch-af @@ -0,0 +1,11 @@ +diff -ruN ORIG/PolarStereographicProjection.cpp PolarStereographicProjection.cpp +--- ORIG/PolarStereographicProjection.cpp Fri May 5 07:24:56 2000 ++++ PolarStereographicProjection.cpp Fri Apr 27 19:07:11 2001 +@@ -4,6 +4,7 @@ + // Started: 2/26/98 + + #include "PolarStereographicProjection.h" ++#include <stdio.h> + + PolarStereographicProjection::PolarStereographicProjection( double longPole, double trueScale, + double sMajor, double sMinor, diff --git a/misc/projectionlib/files/patch-ag b/misc/projectionlib/files/patch-ag new file mode 100644 index 000000000000..e1303a93a72d --- /dev/null +++ b/misc/projectionlib/files/patch-ag @@ -0,0 +1,18 @@ +diff -ruN ORIG/Projection.cpp Projection.cpp +--- ORIG/Projection.cpp Fri May 5 07:24:56 2000 ++++ Projection.cpp Fri Apr 27 19:07:08 2001 +@@ -9,6 +9,8 @@ + #include "GeographicProjection.h" + #include "gctpc/untfz.h" + ++#include <stdio.h> ++ + #ifndef NULL + #define NULL 0 + #endif +@@ -238,4 +240,4 @@ + longitude /= factor; + + return bResult; +-} ++} diff --git a/misc/projectionlib/files/patch-ah b/misc/projectionlib/files/patch-ah new file mode 100644 index 000000000000..3fe3e55259a8 --- /dev/null +++ b/misc/projectionlib/files/patch-ah @@ -0,0 +1,11 @@ +diff -ruN ORIG/PseudocylindricalProjection.cpp PseudocylindricalProjection.cpp +--- ORIG/PseudocylindricalProjection.cpp Fri May 5 07:24:56 2000 ++++ PseudocylindricalProjection.cpp Fri Apr 27 19:07:04 2001 +@@ -7,6 +7,7 @@ + #include "PseudocylindricalProjection.h" + #include "DatumConvertor.h" + ++#include <stdio.h> + // GCTPC includes + #include "gctpc/gctpc.h" + #include "gctpc/proj.h" diff --git a/misc/projectionlib/files/patch-ai b/misc/projectionlib/files/patch-ai new file mode 100644 index 000000000000..ce3a9ab915df --- /dev/null +++ b/misc/projectionlib/files/patch-ai @@ -0,0 +1,11 @@ +diff -ruN ORIG/StatePlaneProjection.cpp StatePlaneProjection.cpp +--- ORIG/StatePlaneProjection.cpp Fri May 5 07:24:56 2000 ++++ StatePlaneProjection.cpp Fri Apr 27 19:06:46 2001 +@@ -7,6 +7,7 @@ + #include "StatePlaneProjection.h" + #include "DatumConvertor.h" + ++#include <stdio.h> + // GCTPC includes + #include "gctpc/gctp.h" + #include "gctpc/gctpc.h" diff --git a/misc/projectionlib/files/patch-aj b/misc/projectionlib/files/patch-aj new file mode 100644 index 000000000000..30cd0551f47c --- /dev/null +++ b/misc/projectionlib/files/patch-aj @@ -0,0 +1,11 @@ +diff -ruN ORIG/TransverseMercatorProjection.cpp TransverseMercatorProjection.cpp +--- ORIG/TransverseMercatorProjection.cpp Fri May 5 07:24:56 2000 ++++ TransverseMercatorProjection.cpp Fri Apr 27 19:07:00 2001 +@@ -7,6 +7,7 @@ + #include "TransverseMercatorProjection.h" + #include "DatumConvertor.h" + ++#include <stdio.h> + // GCTPC includes + #include "gctpc/gctpc.h" + #include "gctpc/gctp.h" diff --git a/misc/projectionlib/files/patch-ak b/misc/projectionlib/files/patch-ak new file mode 100644 index 000000000000..2938eb5853fd --- /dev/null +++ b/misc/projectionlib/files/patch-ak @@ -0,0 +1,11 @@ +diff -ruN ORIG/UTMProjection.cpp UTMProjection.cpp +--- ORIG/UTMProjection.cpp Fri May 5 07:24:56 2000 ++++ UTMProjection.cpp Fri Apr 27 19:06:57 2001 +@@ -7,6 +7,7 @@ + #include "UTMProjection.h" + #include "DatumConvertor.h" + ++#include <stdio.h> + // GCTPC includes + #include "gctpc/gctpc.h" + #include "gctpc/gctp.h" diff --git a/misc/projectionlib/pkg-comment b/misc/projectionlib/pkg-comment new file mode 100644 index 000000000000..8e511b6b174f --- /dev/null +++ b/misc/projectionlib/pkg-comment @@ -0,0 +1 @@ +A C++ wrapper for the USGS GCTP projection library diff --git a/misc/projectionlib/pkg-descr b/misc/projectionlib/pkg-descr new file mode 100644 index 000000000000..f053bc978165 --- /dev/null +++ b/misc/projectionlib/pkg-descr @@ -0,0 +1,6 @@ +C++ wrapper for the USGS GCTP projection library. + +This library is delivered as part of the USGS dlgv32 application used +for viewing Digital Line Graph products. + +WWW: http://mcmcweb.er.usgs.gov/viewers/dlg_view.html diff --git a/misc/projectionlib/pkg-plist b/misc/projectionlib/pkg-plist new file mode 100644 index 000000000000..ced004405903 --- /dev/null +++ b/misc/projectionlib/pkg-plist @@ -0,0 +1,34 @@ +include/ProjectionLib/AlaskaConformalProjection.h +include/ProjectionLib/AlbersConicProjection.h +include/ProjectionLib/AzimuthalEquidistantProjection.h +include/ProjectionLib/AzimuthalProjection.h +include/ProjectionLib/ConicProjection.h +include/ProjectionLib/DatumConvertor.h +include/ProjectionLib/EquidistantConicProjection.h +include/ProjectionLib/EquirectangularProjection.h +include/ProjectionLib/GeographicProjection.h +include/ProjectionLib/GnomonicProjection.h +include/ProjectionLib/HotineObliqueMercatorProjection.h +include/ProjectionLib/LambertAzimuthalProjection.h +include/ProjectionLib/LambertConformalConicProjection.h +include/ProjectionLib/MercatorProjection.h +include/ProjectionLib/MillerCylindricalProjection.h +include/ProjectionLib/OrthographicProjection.h +include/ProjectionLib/PolarStereographicProjection.h +include/ProjectionLib/PolyconicProjection.h +include/ProjectionLib/Projection.h +include/ProjectionLib/ProjectionTypes.h +include/ProjectionLib/PseudocylindricalProjection.h +include/ProjectionLib/RobinsonProjection.h +include/ProjectionLib/SinusoidalProjection.h +include/ProjectionLib/StatePlaneProjection.h +include/ProjectionLib/StereographicProjection.h +include/ProjectionLib/TransverseMercatorProjection.h +include/ProjectionLib/UTMProjection.h +include/ProjectionLib/UnknownProjection.h +include/ProjectionLib/VanDerGrintenProjection.h +include/ProjectionLib/ZonedProjection.h +lib/libprojection.a +lib/libprojection.so +lib/libprojection.so.1 +@dirrm include/ProjectionLib |