Lines 3-38
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= gdal-grass |
4 |
PORTNAME= gdal-grass |
5 |
PORTVERSION= 1.4.3 |
5 |
PORTVERSION= 1.4.3 |
6 |
PORTREVISION= 13 |
6 |
PORTREVISION= 14 |
7 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
8 |
MASTER_SITES= http://download.osgeo.org/gdal/ |
8 |
MASTER_SITES= http://download.osgeo.org/gdal/ |
9 |
|
9 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT= GDAL drivers for GRASS raster and vector files |
11 |
COMMENT= GDAL drivers for GRASS raster and vector files |
12 |
|
12 |
|
13 |
BROKEN= Fails to configure |
|
|
14 |
|
15 |
BUILD_DEPENDS= grass>6:${PORTSDIR}/databases/grass |
13 |
BUILD_DEPENDS= grass>6:${PORTSDIR}/databases/grass |
16 |
LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal |
14 |
LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal |
17 |
RUN_DEPENDS= grass>6:${PORTSDIR}/databases/grass |
15 |
RUN_DEPENDS= grass>6:${PORTSDIR}/databases/grass |
18 |
|
16 |
|
19 |
GRASS_INST_DIR= grass-6.4.2 |
17 |
GRASS_INST_DIR= grass-6.4.3 |
20 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
21 |
USES= gmake |
19 |
USES= gmake |
22 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
23 |
CONFIGURE_ARGS= --with-gdal=${LOCALBASE}/bin/gdal-config \ |
21 |
CONFIGURE_ARGS= --with-gdal=${LOCALBASE}/bin/gdal-config \ |
24 |
--with-grass=${LOCALBASE}/${GRASS_INST_DIR} \ |
22 |
--with-grass=${LOCALBASE}/${GRASS_INST_DIR} \ |
25 |
--with-autoload=${GDAL_AUTOLOAD_DIR} |
23 |
--with-autoload=${GDAL_AUTOLOAD_DIR} |
|
|
24 |
USE_GCC= yes |
25 |
|
26 |
ALL_TARGET= |
26 |
ALL_TARGET= |
27 |
NO_STAGE= yes |
|
|
28 |
|
27 |
|
29 |
.include <bsd.port.pre.mk> |
28 |
.include <bsd.port.pre.mk> |
30 |
|
29 |
|
31 |
pre-install: |
30 |
pre-install: |
32 |
${MKDIR} ${PREFIX}/share/gdal |
31 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/gdal |
33 |
|
32 |
|
34 |
.if !defined(GDAL_AUTOLOAD_DIR) |
33 |
.if !defined(GDAL_AUTOLOAD_DIR) |
35 |
GDAL_AUTOLOAD_DIR=${PREFIX}/lib/gdalplugins |
34 |
GDAL_AUTOLOAD_DIR=${STAGEDIR}${PREFIX}/lib/gdalplugins |
36 |
.endif |
35 |
.endif |
37 |
|
36 |
|
38 |
.if !defined (GRASS_INST_DIR) |
37 |
.if !defined (GRASS_INST_DIR) |