blob: cc855d6027451003a57cdb3233b5c87fcd752a61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Laurent Courty
# $FreeBSD$
PORTNAME= gdal-grass
PORTVERSION= 1.4.3
PORTREVISION= 11
CATEGORIES= graphics
MASTER_SITES= http://download.osgeo.org/gdal/
MAINTAINER= ports@FreeBSD.org
COMMENT= GDAL drivers for GRASS raster and vector files
LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal
BUILD_DEPENDS= grass>6:${PORTSDIR}/databases/grass
RUN_DEPENDS= grass>6:${PORTSDIR}/databases/grass
GRASS_INST_DIR= grass-6.4.2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
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=
NO_STAGE= yes
.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>
|