# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem          1.0

name                gdal-grass
version             1.4.3
platforms           darwin
categories          gis
maintainers         nomaintainer

description         OGR/GRASS plugin for GDAL
long_description    A plugin which allows GDAL to access GRASS databases.

homepage            http://www.gdal.org/
master_sites        http://www.gdal.org/dl \
                    http://download.osgeo.org/gdal/

checksums           md5 2bfb7640e03b4d9d012f1a5d62c0351d

depends_lib         port:gdal \
                    port:grass

configure.args \
    --with-grass=${prefix}/share/grass-6.3.0 \
    --with-autoload=${prefix}/lib/gdalplugins

build.target        default

pre-destroot {
    file mkdir ${destroot}/${prefix}/share/gdal/grass
}

