ports/93856: New port : graphics/gdal-grass GRASS data support for GDAL
Laurent Courty
lrntct at gmail.com
Sun Feb 26 14:00:15 UTC 2006
>Number: 93856
>Category: ports
>Synopsis: New port : graphics/gdal-grass GRASS data support for GDAL
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 26 14:00:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Laurent Courty
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System:
>Description:
Drivers for GRASS raster and vector files.
>How-To-Repeat:
>Fix:
# 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/doxygen:${PORTSDIR}/devel/doxygen \
X ${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.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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list