- Update for enabled GNM support in gdal

- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-12-21 20:46:11 +00:00
parent a9dec75f22
commit 847ded5230
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429114
2 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -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