aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-21 20:46:11 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-21 20:46:11 +0000
commit847ded52307773677c5bbf7f28e41f9c9ac50ba3 (patch)
tree5c7260ae3749f62aebd9cbe1e1fd4e6e79378de2
parenta9dec75f22319e9bf0140b072ff03e83e5fd4560 (diff)
downloadports-847ded52307773677c5bbf7f28e41f9c9ac50ba3.tar.gz
ports-847ded52307773677c5bbf7f28e41f9c9ac50ba3.zip
Notes
-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