summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-04-16 00:04:44 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-04-16 00:04:44 +0000
commit2c231a624077c5a6e2defc8ce12367af4b84e579 (patch)
tree71fd435f577741a2c1840505451e1385673a12d0 /graphics
parent- Make portlint happy (diff)
Add gdal-grass 1.3.1.2, GDAL drivers for GRASS raster and vector files.
PR: ports/93856 Submitted by: Laurent Courty
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/gdal-grass/Makefile44
-rw-r--r--graphics/gdal-grass/distinfo3
-rw-r--r--graphics/gdal-grass/pkg-descr6
-rw-r--r--graphics/gdal-grass/pkg-plist7
5 files changed, 61 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index d6b995d24060..a3e3d925f24a 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -138,6 +138,7 @@
SUBDIR += gcolor2
SUBDIR += gd
SUBDIR += gdal
+ SUBDIR += gdal-grass
SUBDIR += gdchart
SUBDIR += gdk-pixbuf
SUBDIR += gdtclft
diff --git a/graphics/gdal-grass/Makefile b/graphics/gdal-grass/Makefile
new file mode 100644
index 000000000000..a3eb27c6647a
--- /dev/null
+++ b/graphics/gdal-grass/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: gdal-grass
+# Date created: Feb 2006
+# Whom: Laurent Courty
+#
+# $FreeBSD$
+#
+
+PORTNAME= gdal-grass
+PORTVERSION= 1.3.1.2
+CATEGORIES= graphics
+MASTER_SITES= http://www.gdal.org/dl/ \
+ ftp://ftp.remotesensing.org/gdal/ \
+ http://gdal.maptools.org/dl/
+
+MAINTAINER= lrntct@gmail.org
+COMMENT= GDAL drivers for GRASS raster and vector files
+
+LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal
+BUILD_DEPENDS= grass60:${PORTSDIR}/databases/grass
+RUN_DEPENDS= grass60:${PORTSDIR}/databases/grass
+
+GRASS_INST_DIR= grass
+WRKSRC= ${WRKDIR}/${PORTNAME}-1.3.1
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-gdal=${LOCALBASE}/bin/gdal-config \
+ --with-grass=${LOCALBASE}/${GRASS_INST_DIR} \
+ --with-autoload=${GDAL_AUTOLOAD_DIR}
+ALL_TARGET=
+
+.include <bsd.port.pre.mk>
+
+pre-install:
+ ${MKDIR} ${PREFIX}/share/gdal
+
+.if !defined(GDAL_AUTOLOAD_DIR)
+GDAL_AUTOLOAD_DIR=${PREFIX}/lib/gdalplugins
+.endif
+
+.if !defined (GRASS_INST_DIR)
+GRASS_INST_DIR= grass
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/gdal-grass/distinfo b/graphics/gdal-grass/distinfo
new file mode 100644
index 000000000000..1cc5c7951022
--- /dev/null
+++ b/graphics/gdal-grass/distinfo
@@ -0,0 +1,3 @@
+MD5 (gdal-grass-1.3.1.2.tar.gz) = b756dceb21e5be765b1ffd63534e7b30
+SHA256 (gdal-grass-1.3.1.2.tar.gz) = 7fc7ae37f96ede2acc920b21d2d890e35f8e62daaab08f192d419f58e436045f
+SIZE (gdal-grass-1.3.1.2.tar.gz) = 75034
diff --git a/graphics/gdal-grass/pkg-descr b/graphics/gdal-grass/pkg-descr
new file mode 100644
index 000000000000..b7ccf81cfbd2
--- /dev/null
+++ b/graphics/gdal-grass/pkg-descr
@@ -0,0 +1,6 @@
+ GDAL-GRASS
+
+Standalone GDAL drivers for GRASS raster and vector files that
+are installed as an "autoload" driver.
+
+WWW: http://www.gdal.org/
diff --git a/graphics/gdal-grass/pkg-plist b/graphics/gdal-grass/pkg-plist
new file mode 100644
index 000000000000..8fb0ed016692
--- /dev/null
+++ b/graphics/gdal-grass/pkg-plist
@@ -0,0 +1,7 @@
+lib/gdalplugins/gdal_GRASS.so
+lib/gdalplugins/ogr_GRASS.so
+share/gdal/grass/etc/datum.table
+share/gdal/grass/etc/ellipse.table
+@dirrmtry lib/gdalplugins
+@dirrm share/gdal/grass/etc
+@dirrm share/gdal/grass