aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2019-01-12 04:16:57 +0800
committersunpoet <sunpoet@FreeBSD.org>2019-01-12 04:16:57 +0800
commit3c3ff36778329c0a8e63835aa5792c8cabf15e33 (patch)
treefe84532052940ba92d31ca851f1c83be09321711 /graphics
parentf1d348a055dd7ba6942461a345528617cbc492d1 (diff)
downloadfreebsd-ports-gnome-3c3ff36778329c0a8e63835aa5792c8cabf15e33.tar.gz
freebsd-ports-gnome-3c3ff36778329c0a8e63835aa5792c8cabf15e33.tar.zst
freebsd-ports-gnome-3c3ff36778329c0a8e63835aa5792c8cabf15e33.zip
Update to 2.4.0
- Update MASTER_SITES Changes: https://trac.osgeo.org/gdal/wiki/Release/2.3.0-News https://trac.osgeo.org/gdal/wiki/Release/2.3.1-News https://trac.osgeo.org/gdal/wiki/Release/2.3.2-News https://trac.osgeo.org/gdal/wiki/Release/2.3.3-News https://trac.osgeo.org/gdal/wiki/Release/2.4.0-News PR: 231629 Exp-run by: antoine
Diffstat (limited to 'graphics')
-rw-r--r--graphics/p5-Geo-GDAL/Makefile11
-rw-r--r--graphics/p5-Geo-GDAL/distinfo6
2 files changed, 10 insertions, 7 deletions
diff --git a/graphics/p5-Geo-GDAL/Makefile b/graphics/p5-Geo-GDAL/Makefile
index 46cf2fcc04ca..de04e36a1937 100644
--- a/graphics/p5-Geo-GDAL/Makefile
+++ b/graphics/p5-Geo-GDAL/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= Geo-GDAL
-PORTVERSION= 2.2.4
+PORTVERSION= 2.4.0
CATEGORIES= graphics perl5
MASTER_SITES= https://download.osgeo.org/gdal/${PORTVERSION}/ \
- ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \
LOCAL/sunpoet
PKGNAMEPREFIX= p5-
DISTNAME= gdal-${PORTVERSION}
@@ -19,14 +18,18 @@ LICENSE_FILE= ${WRKSRC}/../../LICENSE.TXT
BUILD_DEPENDS= p5-Capture-Tiny>=0:devel/p5-Capture-Tiny
LIB_DEPENDS= libgdal.so:graphics/gdal
-USES= perl5 tar:xz
+USES= compiler:c++11-lang perl5 tar:xz
+USE_CXXSTD= c++11
WRKSRC_SUBDIR= swig/perl
post-patch:
@${LN} -s ${LOCALBASE}/bin/gdal-config ${WRKSRC}/../../apps/gdal-config
@${REINPLACE_CMD} -e 's| INSTALL_BASE=.*||; s| install| pure_install|' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's|(const char \*)""|(char \*)""|' ${WRKSRC}/gdal_wrap.cpp ${WRKSRC}/ogr_wrap.cpp
+
+# GDALmake.opt is not available until configure phase
+post-configure:
+ @${SED} -e '/^GDAL_ROOT/d' ${LOCALBASE}/share/gdal/GDALmake.opt > ${WRKSRC}/../../GDALmake.opt
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/GDAL/Const/Const.so ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/*/*.so
diff --git a/graphics/p5-Geo-GDAL/distinfo b/graphics/p5-Geo-GDAL/distinfo
index bb1c445178ac..30c8492eccaf 100644
--- a/graphics/p5-Geo-GDAL/distinfo
+++ b/graphics/p5-Geo-GDAL/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1521659854
-SHA256 (gdal-2.2.4.tar.xz) = 441eb1d1acb35238ca43a1a0a649493fc91fdcbab231d0747e9d462eea192278
-SIZE (gdal-2.2.4.tar.xz) = 8255840
+TIMESTAMP = 1546772828
+SHA256 (gdal-2.4.0.tar.xz) = c3791dcc6d37e59f6efa86e2df2a55a4485237b0a48e330ae08949f0cdf00f27
+SIZE (gdal-2.4.0.tar.xz) = 8874628