Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2001 15:21:18 -0400 (EDT)
From:      aa8vb@nc.rr.com
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        aa8vb@nc.rr.com
Subject:   ports/26928: (NEW PORT) ProjectionLib - C++ wrapper for the USGS GCTP projection library
Message-ID:  <200104281921.f3SJLIw08949@stealth.dummynet>

next in thread | raw e-mail | index | archive | help

>Number:         26928
>Category:       ports
>Synopsis:       (NEW PORT) ProjectionLib - C++ wrapper for the USGS GCTP projection library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 28 12:20:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Randall Hopper
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
self
>Environment:

	Stock 4.2-RELEASE

>Description:

	Attached shar adds ProjectionLib, a C++ wrapper for the USGS
	General Cartographic Transformation Package (GCTPC) projection
	library.

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	projectionlib
#	projectionlib/Makefile
#	projectionlib/distinfo
#	projectionlib/pkg-comment
#	projectionlib/pkg-descr
#	projectionlib/pkg-plist
#	projectionlib/files
#	projectionlib/files/patch-aa
#
echo c - projectionlib
mkdir -p projectionlib > /dev/null 2>&1
echo x - projectionlib/Makefile
sed 's/^X//' >projectionlib/Makefile << 'END-of-projectionlib/Makefile'
X# New ports collection makefile for:	ProjectionLib library from VTP
X# Date created:		26 Apr 2001
X# Whom:			Randall Hopper
X#
X# $FreeBSD: ports/devel/libgetline/Makefile,v 1.9 2000/09/23 18:47:27 will Exp $
X#
X
XPORTNAME=	projectionlib
XPORTVERSION=	3.7
XCATEGORIES=	devel
XMASTER_SITES=	ftp://ftpmcmc.er.usgs.gov/release/viewers/dlgv32/source/
XDISTNAME=	Dlgv32v37
XUSE_ZIP=	yes
X
XMAINTAINER=	aa8vb@nc.rr.com
X
XLIB_DEPENDS=	gctpc.1:${PORTSDIR}/devel/gctpc
XWRKSRC=		${WRKDIR}/dlgv32/ProjectionLib
XINSTALLS_SHLIB=	yes
X
Xdo-build:
X	cd ${WRKSRC} \
X	&& ${CXX} -c -O -I${PREFIX}/include *.cpp \
X	&& ar ruv libprojection.a *.o && \
X	&& ld -shared -o libprojection.so.1 *.o
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/libprojection.a ${PREFIX}/lib/
X	${INSTALL_DATA} ${WRKSRC}/libprojection.so.1 ${PREFIX}/lib/
X	${LN} -sf libprojection.so.1 ${PREFIX}/lib/libprojection.so
X	${MKDIR} ${PREFIX}/include/ProjectionLib
X	${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/ProjectionLib
X
X.include <bsd.port.mk>
X
END-of-projectionlib/Makefile
echo x - projectionlib/distinfo
sed 's/^X//' >projectionlib/distinfo << 'END-of-projectionlib/distinfo'
XMD5 (Dlgv32v37.zip) = 067dcd5a9b7be359b3275cf16d45ab17
END-of-projectionlib/distinfo
echo x - projectionlib/pkg-comment
sed 's/^X//' >projectionlib/pkg-comment << 'END-of-projectionlib/pkg-comment'
XC++ wrapper for the USGS GCTP projection library
END-of-projectionlib/pkg-comment
echo x - projectionlib/pkg-descr
sed 's/^X//' >projectionlib/pkg-descr << 'END-of-projectionlib/pkg-descr'
XC++ wrapper for the USGS GCTP projection library.
X
XThis library is delivered as part of the USGS dlgv32 application used
Xfor viewing Digital Line Graph products.
X
Xhttp://mcmcweb.er.usgs.gov/viewers/dlg_view.html
X
END-of-projectionlib/pkg-descr
echo x - projectionlib/pkg-plist
sed 's/^X//' >projectionlib/pkg-plist << 'END-of-projectionlib/pkg-plist'
Xinclude/ProjectionLib/AlaskaConformalProjection.h
Xinclude/ProjectionLib/AlbersConicProjection.h
Xinclude/ProjectionLib/AzimuthalEquidistantProjection.h
Xinclude/ProjectionLib/AzimuthalProjection.h
Xinclude/ProjectionLib/ConicProjection.h
Xinclude/ProjectionLib/DatumConvertor.h
Xinclude/ProjectionLib/EquidistantConicProjection.h
Xinclude/ProjectionLib/EquirectangularProjection.h
Xinclude/ProjectionLib/GeographicProjection.h
Xinclude/ProjectionLib/GnomonicProjection.h
Xinclude/ProjectionLib/HotineObliqueMercatorProjection.h
Xinclude/ProjectionLib/LambertAzimuthalProjection.h
Xinclude/ProjectionLib/LambertConformalConicProjection.h
Xinclude/ProjectionLib/MercatorProjection.h
Xinclude/ProjectionLib/MillerCylindricalProjection.h
Xinclude/ProjectionLib/OrthographicProjection.h
Xinclude/ProjectionLib/PolarStereographicProjection.h
Xinclude/ProjectionLib/PolyconicProjection.h
Xinclude/ProjectionLib/Projection.h
Xinclude/ProjectionLib/ProjectionTypes.h
Xinclude/ProjectionLib/PseudocylindricalProjection.h
Xinclude/ProjectionLib/RobinsonProjection.h
Xinclude/ProjectionLib/SinusoidalProjection.h
Xinclude/ProjectionLib/StatePlaneProjection.h
Xinclude/ProjectionLib/StereographicProjection.h
Xinclude/ProjectionLib/TransverseMercatorProjection.h
Xinclude/ProjectionLib/UTMProjection.h
Xinclude/ProjectionLib/UnknownProjection.h
Xinclude/ProjectionLib/VanDerGrintenProjection.h
Xinclude/ProjectionLib/ZonedProjection.h
Xlib/libprojection.a
Xlib/libprojection.so
Xlib/libprojection.so.1
END-of-projectionlib/pkg-plist
echo c - projectionlib/files
mkdir -p projectionlib/files > /dev/null 2>&1
echo x - projectionlib/files/patch-aa
sed 's/^X//' >projectionlib/files/patch-aa << 'END-of-projectionlib/files/patch-aa'
Xdiff -ruN ORIG/AlaskaConformalProjection.cpp AlaskaConformalProjection.cpp
X--- ORIG/AlaskaConformalProjection.cpp	Fri May  5 07:24:56 2000
X+++ AlaskaConformalProjection.cpp	Fri Apr 27 19:07:38 2001
X@@ -8,6 +8,7 @@
X #include "AlaskaConformalProjection.h"
X #include "DatumConvertor.h"
X 
X+#include <stdio.h>
X // GCTPC includes
X #include "gctpc/gctpc.h"
X #include "gctpc/gctp.h"
Xdiff -ruN ORIG/AzimuthalProjection.cpp AzimuthalProjection.cpp
X--- ORIG/AzimuthalProjection.cpp	Fri May  5 07:24:56 2000
X+++ AzimuthalProjection.cpp	Fri Apr 27 19:07:35 2001
X@@ -7,6 +7,7 @@
X #include "AzimuthalProjection.h"
X #include "DatumConvertor.h"
X 
X+#include <stdio.h>
X // GCTPC includes
X #include "gctpc/gctpc.h"
X #include "gctpc/proj.h"
X@@ -257,4 +258,4 @@
X   {
X     return true;
X   }
X-}
X+}
Xdiff -ruN ORIG/ConicProjection.cpp ConicProjection.cpp
X--- ORIG/ConicProjection.cpp	Fri May  5 07:24:56 2000
X+++ ConicProjection.cpp	Fri Apr 27 19:07:21 2001
X@@ -7,6 +7,7 @@
X #include "ConicProjection.h"
X #include "DatumConvertor.h"
X 
X+#include <stdio.h>
X // GCTPC includes
X #include "gctpc/gctpc.h"
X #include "gctpc/proj.h"
Xdiff -ruN ORIG/HotineObliqueMercatorProjection.cpp HotineObliqueMercatorProjection.cpp
X--- ORIG/HotineObliqueMercatorProjection.cpp	Fri May  5 07:24:56 2000
X+++ HotineObliqueMercatorProjection.cpp	Fri Apr 27 19:07:19 2001
X@@ -5,6 +5,7 @@
X //////////////////////////////////////////////////////////////////////
X 
X #include "HotineObliqueMercatorProjection.h"
X+#include <stdio.h>
X 
X //////////////////////////////////////////////////////////////////////
X // Construction/Destruction
Xdiff -ruN ORIG/MercatorProjection.cpp MercatorProjection.cpp
X--- ORIG/MercatorProjection.cpp	Fri May  5 07:24:56 2000
X+++ MercatorProjection.cpp	Fri Apr 27 19:07:15 2001
X@@ -7,6 +7,7 @@
X #include "MercatorProjection.h"
X #include "DatumConvertor.h"
X 
X+#include <stdio.h>
X // GCTPC includes
X #include "gctpc/gctpc.h"
X #include "gctpc/proj.h"
X@@ -240,4 +241,4 @@
X     }
X 
X     return ( latitude >= -86.0 && latitude <= 86.0 );
X-}
X+}
Xdiff -ruN ORIG/PolarStereographicProjection.cpp PolarStereographicProjection.cpp
X--- ORIG/PolarStereographicProjection.cpp	Fri May  5 07:24:56 2000
X+++ PolarStereographicProjection.cpp	Fri Apr 27 19:07:11 2001
X@@ -4,6 +4,7 @@
X //      Started: 2/26/98
X 
X #include "PolarStereographicProjection.h"
X+#include <stdio.h>
X 
X PolarStereographicProjection::PolarStereographicProjection( double longPole, double trueScale,
X                                                             double sMajor, double sMinor,
Xdiff -ruN ORIG/Projection.cpp Projection.cpp
X--- ORIG/Projection.cpp	Fri May  5 07:24:56 2000
X+++ Projection.cpp	Fri Apr 27 19:07:08 2001
X@@ -9,6 +9,8 @@
X #include "GeographicProjection.h"
X #include "gctpc/untfz.h"
X 
X+#include <stdio.h>
X+
X #ifndef NULL
X #define NULL 0
X #endif
X@@ -238,4 +240,4 @@
X     longitude /= factor;
X 
X     return bResult;
X-}
X+}
Xdiff -ruN ORIG/PseudocylindricalProjection.cpp PseudocylindricalProjection.cpp
X--- ORIG/PseudocylindricalProjection.cpp	Fri May  5 07:24:56 2000
X+++ PseudocylindricalProjection.cpp	Fri Apr 27 19:07:04 2001
X@@ -7,6 +7,7 @@
X #include "PseudocylindricalProjection.h"
X #include "DatumConvertor.h"
X 
X+#include <stdio.h>
X // GCTPC includes
X #include "gctpc/gctpc.h"
X #include "gctpc/proj.h"
Xdiff -ruN ORIG/StatePlaneProjection.cpp StatePlaneProjection.cpp
X--- ORIG/StatePlaneProjection.cpp	Fri May  5 07:24:56 2000
X+++ StatePlaneProjection.cpp	Fri Apr 27 19:06:46 2001
X@@ -7,6 +7,7 @@
X #include "StatePlaneProjection.h"
X #include "DatumConvertor.h"
X 
X+#include <stdio.h>
X // GCTPC includes
X #include "gctpc/gctp.h"
X #include "gctpc/gctpc.h"
Xdiff -ruN ORIG/TransverseMercatorProjection.cpp TransverseMercatorProjection.cpp
X--- ORIG/TransverseMercatorProjection.cpp	Fri May  5 07:24:56 2000
X+++ TransverseMercatorProjection.cpp	Fri Apr 27 19:07:00 2001
X@@ -7,6 +7,7 @@
X #include "TransverseMercatorProjection.h"
X #include "DatumConvertor.h"
X 
X+#include <stdio.h>
X // GCTPC includes
X #include "gctpc/gctpc.h"
X #include "gctpc/gctp.h"
Xdiff -ruN ORIG/UTMProjection.cpp UTMProjection.cpp
X--- ORIG/UTMProjection.cpp	Fri May  5 07:24:56 2000
X+++ UTMProjection.cpp	Fri Apr 27 19:06:57 2001
X@@ -7,6 +7,7 @@
X #include "UTMProjection.h"
X #include "DatumConvertor.h"
X 
X+#include <stdio.h>
X // GCTPC includes
X #include "gctpc/gctpc.h"
X #include "gctpc/gctp.h"
END-of-projectionlib/files/patch-aa
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104281921.f3SJLIw08949>