Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2023 13:04:31 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 227c8e35fd81 - main - graphics/gdal-grass: Add gdal-grass 1.0.2
Message-ID:  <202301301304.30UD4VZq050903@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=227c8e35fd8182c009df8b199a055ed230516ea4

commit 227c8e35fd8182c009df8b199a055ed230516ea4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:20:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:58:44 +0000

    graphics/gdal-grass: Add gdal-grass 1.0.2
    
    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.
---
 MOVED                         |  1 -
 graphics/Makefile             |  1 +
 graphics/gdal-grass/Makefile  | 30 ++++++++++++++++++++++++++++++
 graphics/gdal-grass/distinfo  |  3 +++
 graphics/gdal-grass/pkg-descr |  7 +++++++
 5 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 52b8104b2b28..f0eb4136e0d0 100644
--- a/MOVED
+++ b/MOVED
@@ -7737,7 +7737,6 @@ audio/cmus-post.fm||2015-10-31|Has expired: Broken for more than 6 months
 devel/libphish||2015-10-31|Has expired: Broken for more than 6 months
 devel/rubygem-debugger||2015-10-31|Has expired: This port is for Ruby 1.9 only, upstream stopped maintenance
 games/linux-ningpo-demo||2015-10-31|Has expired: Broken for more than 6 months
-graphics/gdal-grass||2015-10-31|Has expired: Superseded by gdal-2.0.0
 graphics/picviz||2015-10-31|Has expired: Broken for more than 6 months
 irc/weechat-devel|irc/weechat|2015-10-31|Has expired: far behind stable irc/weechat (use it instead)
 mail/cucipop||2015-10-31|Has expired: Broken for more than 6 months
diff --git a/graphics/Makefile b/graphics/Makefile
index e02deaf1b3b0..70d6c13748ea 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -235,6 +235,7 @@
     SUBDIR += gcolor3
     SUBDIR += gd
     SUBDIR += gdal
+    SUBDIR += gdal-grass
     SUBDIR += gdchart
     SUBDIR += gdk-pixbuf2
     SUBDIR += gdk-pixbuf2-xlib
diff --git a/graphics/gdal-grass/Makefile b/graphics/gdal-grass/Makefile
new file mode 100644
index 000000000000..cdb9ff57bb33
--- /dev/null
+++ b/graphics/gdal-grass/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	gdal-grass
+PORTVERSION=	1.0.2
+CATEGORIES=	graphics
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Standalone GRASS Drivers for GDAL and OGR
+WWW=		https://github.com/OSGeo/gdal-grass
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	grass8>=8.2<8.3:databases/grass8
+LIB_DEPENDS=	libgdal.so:graphics/gdal \
+		libgrass_gis.so:databases/grass8
+
+USES=		gmake
+
+ALL_TARGET=	default
+CFLAGS+=	-fPIC
+CONFIGURE_ARGS=	--with-autoload=${PREFIX}/lib/gdalplugins \
+		--with-gdal=${LOCALBASE}/bin/gdal-config \
+		--with-grass=${LOCALBASE}/grass82
+GNU_CONFIGURE=	yes
+
+PLIST_FILES=	lib/gdalplugins/gdal_GRASS.so \
+		lib/gdalplugins/ogr_GRASS.so
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	OSGeo
+
+.include <bsd.port.mk>
diff --git a/graphics/gdal-grass/distinfo b/graphics/gdal-grass/distinfo
new file mode 100644
index 000000000000..ec9a213c8f11
--- /dev/null
+++ b/graphics/gdal-grass/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674588036
+SHA256 (OSGeo-gdal-grass-1.0.2_GH0.tar.gz) = 91c45b3c316ed923f4fccb7e7e88fba131c883a6c92f950ec0c1a8b04a7bd851
+SIZE (OSGeo-gdal-grass-1.0.2_GH0.tar.gz) = 58045
diff --git a/graphics/gdal-grass/pkg-descr b/graphics/gdal-grass/pkg-descr
new file mode 100644
index 000000000000..85dc74de1710
--- /dev/null
+++ b/graphics/gdal-grass/pkg-descr
@@ -0,0 +1,7 @@
+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.



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