mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
61a8320e09
- Bump PORTREVISION for package change - Bump PORTREVISION for graphics/gdal shlib change [1] Approved by: portmgr (implicit) [1]
35 lines
917 B
Makefile
35 lines
917 B
Makefile
# Created by: Laurent Courty
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gdal-grass
|
|
PORTVERSION= 1.4.3
|
|
PORTREVISION= 16
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://download.osgeo.org/gdal/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GDAL drivers for GRASS raster and vector files
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= grass>=6:${PORTSDIR}/databases/grass
|
|
LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal \
|
|
libgrass_gis.so:${PORTSDIR}/databases/grass
|
|
RUN_DEPENDS= grass>=6:${PORTSDIR}/databases/grass
|
|
|
|
ALL_TARGET= # empty
|
|
CONFIGURE_ARGS= --with-autoload=${PREFIX}/lib/gdalplugins \
|
|
--with-gdal=${LOCALBASE}/bin/gdal-config \
|
|
--with-grass=${LOCALBASE}/${GRASS_INST_DIR}
|
|
GNU_CONFIGURE= yes
|
|
USE_GCC= yes # from databases/grass
|
|
USES= gmake
|
|
|
|
GRASS_INST_DIR!=${MAKE} -C ${.CURDIR}/../../databases/grass/ -V GRASS_INST_DIR
|
|
|
|
pre-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/lib/gdalplugins/
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/gdal/
|
|
|
|
.include <bsd.port.mk>
|