View | Details | Raw Unified | Return to bug 199234
Collapse All | Expand All

(-)graphics/gdal-grass/Makefile (-10 / +12 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/graphics/gdal-grass/Makefile 367888 2014-09-10 20:50:31Z gerald $
2
# $FreeBSD: head/graphics/gdal-grass/Makefile 367888 2014-09-10 20:50:31Z gerald $
3
3
4
PORTNAME=	gdal-grass
4
PORTNAME=	gdal-grass
5
PORTVERSION=	1.4.3
5
PORTVERSION=	1.11.2
6
PORTREVISION=	17
7
CATEGORIES=	graphics
6
CATEGORIES=	graphics
8
MASTER_SITES=	http://download.osgeo.org/gdal/
7
MASTER_SITES=	http://download.osgeo.org/gdal/
9
8
Lines 13-34 Link Here
13
LICENSE=	MIT
12
LICENSE=	MIT
14
13
15
BUILD_DEPENDS=	grass>=6:${PORTSDIR}/databases/grass
14
BUILD_DEPENDS=	grass>=6:${PORTSDIR}/databases/grass
16
LIB_DEPENDS=	libgdal.so:${PORTSDIR}/graphics/gdal \
15
LIB_DEPENDS=	libgrass_gis.so:${PORTSDIR}/databases/grass \
17
		libgrass_gis.so:${PORTSDIR}/databases/grass
16
		libgdal.so:${PORTSDIR}/graphics/gdal
18
RUN_DEPENDS=	grass>=6:${PORTSDIR}/databases/grass
17
RUN_DEPENDS=	grass>=6:${PORTSDIR}/databases/grass
19
18
20
ALL_TARGET=	# empty
19
USES=		gmake
20
USE_GCC=	yes	# from databases/grass
21
GNU_CONFIGURE=	yes
21
CONFIGURE_ARGS=	--with-autoload=${PREFIX}/lib/gdalplugins \
22
CONFIGURE_ARGS=	--with-autoload=${PREFIX}/lib/gdalplugins \
22
		--with-gdal=${LOCALBASE}/bin/gdal-config \
23
		--with-gdal=${LOCALBASE}/bin/gdal-config \
23
		--with-grass=${LOCALBASE}/${GRASS_INST_DIR}
24
		--with-grass=${LOCALBASE}/${GRASS_INST_DIR}
24
GNU_CONFIGURE=	yes
25
ALL_TARGET=	default
25
USE_GCC=	yes	# from databases/grass
26
USES=		gmake
27
26
28
GRASS_INST_DIR!=${MAKE} -C ${.CURDIR}/../../databases/grass/ -V GRASS_INST_DIR
27
GRASS_INST_DIR!=${MAKE} -C ${.CURDIR}/../../databases/grass/ -V GRASS_INST_DIR
29
28
30
pre-install:
29
pre-install:
31
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/gdalplugins/
30
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gdalplugins
32
	${MKDIR} ${STAGEDIR}${PREFIX}/share/gdal/
31
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/gdal
32
33
post-install:
34
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gdalplugins/*_GRASS.so
33
35
34
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)graphics/gdal-grass/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (gdal-grass-1.4.3.tar.gz) = ea18d1e773e8875aaf3261a6ccd2a5fa22d998f064196399dfe73d991688f1dd
1
SHA256 (gdal-grass-1.11.2.tar.gz) = 08473ade53d699e1292c54a4271ed0108ec39e0b3a5ebfea04dc88d31e44bd1b
2
SIZE (gdal-grass-1.4.3.tar.gz) = 47527
2
SIZE (gdal-grass-1.11.2.tar.gz) = 50456

Return to bug 199234