Subject: pkg/16498: proj4 upgrade/missing data files
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 04/25/2002 12:19:35
>Number: 16498
>Category: pkg
>Synopsis: upgrade/missing data files
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 25 12:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Wolfgang Rupprecht
>Release: NetBSD 1.5ZC
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Environment:
>Description:
pkgsrc/proj4 is missing some important data files.
>How-To-Repeat:
inspection. Read a cryptic note hidden away in a proj4
subdirectory. ;-)
>Fix:
I couldn't decide if "ln" or "cp" or "rm && cp" etc was the
stylistically correct pkgsrc idiom for the post-extract rule.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/misc/proj/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 2001/04/20 20:38:16 1.4
+++ Makefile 2002/04/25 19:11:53
@@ -1,5 +1,7 @@
# $NetBSD: Makefile,v 1.4 2001/04/20 20:38:16 jtb Exp $
+# added nad27 high-accuracy conversion data -wsr
+
DISTNAME= proj-4.4.3
CATEGORIES= misc
MASTER_SITES= ftp://ftp.remotesensing.org/pub/proj/
@@ -13,6 +15,20 @@
USE_GMAKE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+#
+# NAD27 data that is needed for correct nad27-wgs84 calculations
+# without this data the code uses a rude-and-crude approximation. -wsr
+#
+NAD27_SRCS= proj-nad27-1.1.tar.gz
+DISTFILES+= ${NAD27_SRCS}
+NAD27_FILES=FL.lla MD.lla README.NADUS TN.lla WI.lla WO.lla alaska.lla \
+ conus.lla hawaii.lla ntv1_can.dat prvi.lla stgeorge.lla \
+ stlrnc.lla stpaul.lla
+
+post-extract:
+ ( cd ${WRKDIR} && \
+ ${LN} ${NAD27_FILES} ${WRKDIR}/${DISTNAME}/nad )
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/proj
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/misc/proj/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST 2001/11/01 01:29:16 1.1
+++ PLIST 2002/04/25 19:11:54
@@ -23,12 +23,25 @@
share/doc/proj/PROJ.4.3.I2.pdf
share/doc/proj/PROJ.4.3.pdf
share/doc/proj/SWISS.pdf
+share/proj/FL
share/proj/GL27
+share/proj/MD
+share/proj/TN
+share/proj/WI
+share/proj/WO
+share/proj/alaska
+share/proj/conus
share/proj/epsg
+share/proj/hawaii
share/proj/nad.lst
share/proj/nad27
share/proj/nad83
+share/proj/ntv1_can.dat
share/proj/proj_def.dat
+share/proj/prvi
+share/proj/stgeorge
+share/proj/stlrnc
+share/proj/stpaul
share/proj/world
@dirrm share/doc/proj
@dirrm share/proj
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/misc/proj/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo 2001/04/20 20:38:16 1.3
+++ distinfo 2002/04/25 19:11:54
@@ -4,3 +4,5 @@
Size (proj-4.4.3.tar.gz) = 282160 bytes
SHA1 (proj-pdf-docs.tar.gz) = c83a154ac00058fba5097eb39cfc8d27706be4d8
Size (proj-pdf-docs.tar.gz) = 6918448 bytes
+SHA1 (proj-nad27-1.1.tar.gz) = 0885c8ca5c9311bbe9c99faf8c2c51ded3b7dd23
+Size (proj-nad27-1.1.tar.gz) = 1816642 bytes
>Release-Note:
>Audit-Trail:
>Unformatted:
System: NetBSD capsicum.wsrcc.com 1.5ZC NetBSD 1.5ZC (WSRCC_ATHLON) #75: Sun Apr 14 08:04:22 PDT 2002 wolfgang@capsicum.wsrcc.com:/v/src/netbsd/src/sys/arch/i386/compile/WSRCC_ATHLON i386
Architecture: i386
Machine: i386