svn commit: r461891 - head/graphics/gdal
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Feb 15 12:45:54 UTC 2018
Author: sunpoet
Date: Thu Feb 15 12:45:53 2018
New Revision: 461891
URL: https://svnweb.freebsd.org/changeset/ports/461891
Log:
Do not install LICENSE_FILE to DATADIR
- Bump PORTREVISION for package change
Modified:
head/graphics/gdal/Makefile
head/graphics/gdal/pkg-plist
Modified: head/graphics/gdal/Makefile
==============================================================================
--- head/graphics/gdal/Makefile Thu Feb 15 12:41:45 2018 (r461890)
+++ head/graphics/gdal/Makefile Thu Feb 15 12:45:53 2018 (r461891)
@@ -3,7 +3,7 @@
PORTNAME= gdal
PORTVERSION= 2.2.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics geography
MASTER_SITES= http://download.osgeo.org/gdal/${PORTVERSION}/ \
ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \
@@ -54,7 +54,7 @@ MAKEFILE= GNUmakefile
USE_LDCONFIG= yes
USES= gmake iconv jpeg localbase tar:xz
-PLIST_SUB= MAJOR_VER=${PORTVERSION:R:R} PORTVERSION=${PORTVERSION}
+PLIST_SUB= PORTVERSION=${PORTVERSION} SHLIB_VER=${PORTVERSION:R:R}
SLAVEDIRS= graphics/p5-Geo-GDAL graphics/php-gdal graphics/py-gdal
@@ -117,7 +117,7 @@ XERCES_LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3
post-patch:
@${REINPLACE_CMD} -e '/^#GDAL_SLIB_SONAME/ s|^#||' ${WRKSRC}/GDALmake.opt.in
- @${REINPLACE_CMD} -e 's|$$(INST_LIB)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/GNUmakefile
+ @${REINPLACE_CMD} -e 's|$$(INST_LIB)/pkgconfig|${PREFIX}/libdata/pkgconfig|; s| LICENSE.TXT||' ${WRKSRC}/GNUmakefile
@${REINPLACE_CMD} -e 's|-lminizip|-lkmlminizip|' ${WRKSRC}/configure
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/frmts/gif/giflib/
Modified: head/graphics/gdal/pkg-plist
==============================================================================
--- head/graphics/gdal/pkg-plist Thu Feb 15 12:41:45 2018 (r461890)
+++ head/graphics/gdal/pkg-plist Thu Feb 15 12:45:53 2018 (r461891)
@@ -105,14 +105,13 @@ include/vrtdataset.h
lib/gdalplugins/.keepme
lib/libgdal.a
lib/libgdal.so
-lib/libgdal.so.%%MAJOR_VER%%
+lib/libgdal.so.%%SHLIB_VER%%
lib/libgdal.so.%%PORTVERSION%%
libdata/pkgconfig/gdal.pc
%%DATADIR%%/GDALLogoBW.svg
%%DATADIR%%/GDALLogoColor.svg
%%DATADIR%%/GDALLogoGS.svg
%%DATADIR%%/GDALmake.opt
-%%DATADIR%%/LICENSE.TXT
%%DATADIR%%/compdcs.csv
%%DATADIR%%/coordinate_axis.csv
%%DATADIR%%/cubewerx_extra.wkt
More information about the svn-ports-head
mailing list