Standalone GRASS 6 Drivers for GDAL and OGR

===========================================

This package contains standalone drivers for GRASS raster and vector
files that can be built after GDAL has been built and installed as an
"autoload" driver.

This is particularly useful in resolving problems with GRASS depending
on GDAL, but GDAL with GRASS support depending on GRASS.  With this
package you can configure and install GDAL normally (--without-grass), then
build and install GRASS normally and finally build and install this driver.

See also:

  http://www.gdal.org/
  http://grass.itc.it/
This commit is contained in:
Brook Milligan 2006-11-01 22:26:59 +00:00 committed by Thomas Klausner
parent 9b6bfe670f
commit f97a339b5d
5 changed files with 70 additions and 0 deletions

16
gdal-grass/DESCR Normal file
View file

@ -0,0 +1,16 @@
Standalone GRASS 6 Drivers for GDAL and OGR
===========================================
This package contains standalone drivers for GRASS raster and vector
files that can be built after GDAL has been built and installed as an
"autoload" driver.
This is particularly useful in resolving problems with GRASS depending
on GDAL, but GDAL with GRASS support depending on GRASS. With this
package you can configure and install GDAL normally (--without-grass), then
build and install GRASS normally and finally build and install this driver.
See also:
http://www.gdal.org/
http://grass.itc.it/

26
gdal-grass/Makefile Normal file
View file

@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.1 2006/11/01 22:26:59 brook1 Exp $
#
DISTNAME= gdal-grass-1.3.1.2
CATEGORIES= geography
MASTER_SITES= http://www.gdal.org/dl/
MAINTAINER= brook@nmsu.edu
HOMEPAGE= http://www.gdal.org/dl/
COMMENT= Standalone GRASS 6 drivers for GDAL and OGR
.include "../../wip/grass/Makefile.common"
WRKSRC= ${WRKDIR}/gdal-grass-1.3.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-gdal=${LOCALBASE}/bin/gdal-config
CONFIGURE_ARGS+= --with-grass=${GRASS_HOME}
USE_LANGUAGES+= c++
BUILD_TARGET= default
BUILDLINK_PASSTHRU_RPATHDIRS+= ${GRASS_HOME}/lib
.include "../../wip/gdal-lib/buildlink3.mk"
.include "../../wip/grass/buildlink3.mk"
.include "../../misc/proj/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

6
gdal-grass/PLIST Normal file
View file

@ -0,0 +1,6 @@
@comment $NetBSD: PLIST,v 1.1 2006/11/01 22:26:59 brook1 Exp $
lib/gdalplugins/gdal_GRASS.so
lib/gdalplugins/ogr_GRASS.so
share/gdal/grass/etc/datum.table
share/gdal/grass/etc/ellipse.table
@dirrm lib/gdalplugins

6
gdal-grass/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2006/11/01 22:26:59 brook1 Exp $
SHA1 (gdal-grass-1.3.1.2.tar.gz) = bd1f0d6e961f93702dd3e728460b2bd24ffaf218
RMD160 (gdal-grass-1.3.1.2.tar.gz) = c7747492875a4ada04bc23e77a1d310987773f21
Size (gdal-grass-1.3.1.2.tar.gz) = 75034 bytes
SHA1 (patch-aa) = dc16d7ab9f19abe6c0c8cd1cc164d56b60659203

View file

@ -0,0 +1,16 @@
$NetBSD: patch-aa,v 1.1 2006/11/01 22:26:59 brook1 Exp $
--- Makefile.in.orig
+++ Makefile.in
@@ -9,9 +9,9 @@
RANLIB = @RANLIB@
SO_EXT = @SO_EXT@
-LD_SHARED = @LD_SHARED@
+LD_SHARED = @LD_SHARED@
-LIBS = @LIBS@
+LIBS = --verbose -t -Wl,-rpath,@GRASS_GISBASE@/lib -Wl,-rpath,@prefix@/lib @LIBS@
GRASSTABLES_DIR = @prefix@/share/gdal/grass