aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-12-22 04:46:11 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-12-22 04:46:11 +0800
commit458f5a81732598da4a1bdf7415b6412d494e61e2 (patch)
tree5c7260ae3749f62aebd9cbe1e1fd4e6e79378de2 /graphics
parent427026a0002344ad067ac31836edb83ea9e8da3e (diff)
downloadfreebsd-ports-gnome-458f5a81732598da4a1bdf7415b6412d494e61e2.tar.gz
freebsd-ports-gnome-458f5a81732598da4a1bdf7415b6412d494e61e2.tar.zst
freebsd-ports-gnome-458f5a81732598da4a1bdf7415b6412d494e61e2.zip
- Update for enabled GNM support in gdal
- Bump PORTREVISION for package change
Diffstat (limited to 'graphics')
-rw-r--r--graphics/p5-Geo-GDAL/Makefile4
-rw-r--r--graphics/p5-Geo-GDAL/pkg-plist1
2 files changed, 2 insertions, 3 deletions
diff --git a/graphics/p5-Geo-GDAL/Makefile b/graphics/p5-Geo-GDAL/Makefile
index 5b813ad43d7e..d5edad28288d 100644
--- a/graphics/p5-Geo-GDAL/Makefile
+++ b/graphics/p5-Geo-GDAL/Makefile
@@ -3,7 +3,7 @@
PORTNAME= Geo-GDAL
PORTVERSION= 2.1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics perl5
MASTER_SITES= http://download.osgeo.org/gdal/${PORTVERSION}/ \
ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \
@@ -29,8 +29,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|(const char \*)""|(char \*)""|' ${WRKSRC}/gdal_wrap.cpp ${WRKSRC}/ogr_wrap.cpp
post-install:
-# Add %%SITE_ARCH%%/Geo/GNM.pm to PLIST if GNM is enabled
- @-${GREP} "GNM_ENABLED = yes" ${LOCALBASE}/share/gdal/GDALmake.opt && ${ECHO_CMD} "${SITE_ARCH_REL}/Geo/GNM.pm" >> ${TMPPLIST}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/GDAL/Const/Const.so ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/*/*.so
.include <bsd.port.mk>
diff --git a/graphics/p5-Geo-GDAL/pkg-plist b/graphics/p5-Geo-GDAL/pkg-plist
index 9ac174f45853..87413e3569f4 100644
--- a/graphics/p5-Geo-GDAL/pkg-plist
+++ b/graphics/p5-Geo-GDAL/pkg-plist
@@ -1,5 +1,6 @@
%%SITE_ARCH%%/Geo/GDAL.pm
%%SITE_ARCH%%/Geo/GDAL/Const.pm
+%%SITE_ARCH%%/Geo/GNM.pm
%%SITE_ARCH%%/Geo/OGR.pm
%%SITE_ARCH%%/Geo/OSR.pm
%%SITE_ARCH%%/auto/Geo/GDAL/Const/Const.so