ports/93856: New port : graphics/gdal-grass GRASS data support for GDAL
Laurent Courty
lrntct at gmail.com
Tue Feb 28 20:10:17 UTC 2006
The following reply was made to PR ports/93856; it has been noted by GNATS.
From: Laurent Courty <lrntct at gmail.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/93856: New port : graphics/gdal-grass GRASS data support
for GDAL
Date: Tue, 28 Feb 2006 21:02:21 +0100
This is a multi-part message in MIME format.
--------------010509050509010900040205
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
A little fix allowing user to set GRASS_INST_DIR without editing the
makefile.
--------------010509050509010900040205
Content-Type: application/x-shar;
name="gdal-grass-1.3.1.1.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="gdal-grass-1.3.1.1.shar"
# 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:
#
# gdal-grass/
# gdal-grass/distinfo
# gdal-grass/pkg-descr
# gdal-grass/Makefile
# gdal-grass/pkg-plist
#
echo c - gdal-grass/
mkdir -p gdal-grass/ > /dev/null 2>&1
echo x - gdal-grass/distinfo
sed 's/^X//' >gdal-grass/distinfo << 'END-of-gdal-grass/distinfo'
XMD5 (gdal-grass-1.3.1.1.tar.gz) = dd62c70000fd10f9b014c7c9b1197269
XSHA256 (gdal-grass-1.3.1.1.tar.gz) = 5e5fcdc7a635d7f1ce5a05f6c858928d11fa43659d44e8a3c5e3a988384efa39
XSIZE (gdal-grass-1.3.1.1.tar.gz) = 74436
END-of-gdal-grass/distinfo
echo x - gdal-grass/pkg-descr
sed 's/^X//' >gdal-grass/pkg-descr << 'END-of-gdal-grass/pkg-descr'
X GDAL-GRASS
X
XStandalone drivers for GRASS raster and vector files that are installed as an
X"autoload" driver.
X
XWWW: http://www.gdal.org/
END-of-gdal-grass/pkg-descr
echo x - gdal-grass/Makefile
sed 's/^X//' >gdal-grass/Makefile << 'END-of-gdal-grass/Makefile'
X# New ports collection makefile for: gdal-grass
X# Date created: Feb 2006
X# Whom: Laurent Courty
X#
X# $FreeBSD$
X#
X
XPORTNAME= gdal-grass
XPORTVERSION= 1.3.1.1
XCATEGORIES= graphics
XMASTER_SITES= http://www.gdal.org/dl/ \
X ftp://ftp.remotesensing.org/gdal/ \
X http://gdal.maptools.org/dl/
X
XMAINTAINER= lrntct at gmail.org
XCOMMENT= GDAL drivers for GRASS raster and vector files
X
XBUILD_DEPENDS= ${LOCALBASE}/bin/gdal-config:${PORTSDIR}/graphics/gdal \
X ${LOCALBASE}/bin/grass60:${PORTSDIR}/databases/grass
X
XGRASS_INST_DIR= grass
XWRKSRC= ${WRKDIR}/${PORTNAME}-1.3.1
XUSE_GMAKE= yes
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS= --with-gdal=${LOCALBASE}/bin/gdal-config \
X --with-grass=${LOCALBASE}/${GRASS_INST_DIR} \
X --with-autoload=${GDAL_AUTOLOAD_DIR}
XALL_TARGET=
X
X.include <bsd.port.pre.mk>
X
Xpre-install:
X test -d ${PREFIX}/share/gdal || ${MKDIR} ${PREFIX}/share/gdal
X
X.if !defined(GDAL_AUTOLOAD_DIR)
XGDAL_AUTOLOAD_DIR=${PREFIX}/lib/gdalplugins
X.endif
X
X.if !defined (GRASS_INST_DIR)
XGRASS_INST_DIR= grass
X.endif
X
X.include <bsd.port.post.mk>
END-of-gdal-grass/Makefile
echo x - gdal-grass/pkg-plist
sed 's/^X//' >gdal-grass/pkg-plist << 'END-of-gdal-grass/pkg-plist'
Xlib/gdalplugins/gdal_GRASS.so
Xlib/gdalplugins/ogr_GRASS.so
Xshare/gdal/grass/etc/datum.table
Xshare/gdal/grass/etc/ellipse.table
X at dirrm share/gdal/grass/etc
X at dirrm share/gdal/grass
END-of-gdal-grass/pkg-plist
exit
--------------010509050509010900040205--
More information about the freebsd-ports-bugs
mailing list