blob: fc09da52da9c5f5534fef7b30aac395bad946999 (
plain)
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
|
PORTNAME= gdal-grass
PORTVERSION= 1.0.2
PORTEPOCH= 1
CATEGORIES= graphics
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Standalone GRASS Drivers for GDAL and OGR
WWW= https://github.com/OSGeo/gdal-grass
LICENSE= MIT
BUILD_DEPENDS= grass8>=8.2<8.3:databases/grass8
LIB_DEPENDS= libgdal.so:graphics/gdal \
libgrass_gis.so:databases/grass8
USES= gmake
ALL_TARGET= default
CFLAGS+= -fPIC
CONFIGURE_ARGS= --with-autoload=${PREFIX}/lib/gdalplugins \
--with-gdal=${LOCALBASE}/bin/gdal-config \
--with-grass=${LOCALBASE}/grass82
GNU_CONFIGURE= yes
PLIST_FILES= lib/gdalplugins/gdal_GRASS.so \
lib/gdalplugins/ogr_GRASS.so
USE_GITHUB= yes
GH_ACCOUNT= OSGeo
.include <bsd.port.mk>
|