aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-02-15 20:45:53 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-02-15 20:45:53 +0800
commitc6ce47cb5c84870db7b882a10c42e48cbe433ca0 (patch)
treef68d3a5be3137913ee1750cf677f6666b1e74c12
parentdc896cc94a735ad6bac2c042ae24058ce677d637 (diff)
downloadfreebsd-ports-gnome-c6ce47cb5c84870db7b882a10c42e48cbe433ca0.tar.gz
freebsd-ports-gnome-c6ce47cb5c84870db7b882a10c42e48cbe433ca0.tar.zst
freebsd-ports-gnome-c6ce47cb5c84870db7b882a10c42e48cbe433ca0.zip
Do not install LICENSE_FILE to DATADIR
- Bump PORTREVISION for package change
-rw-r--r--graphics/gdal/Makefile6
-rw-r--r--graphics/gdal/pkg-plist3
2 files changed, 4 insertions, 5 deletions
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 3b05281a5a6b..22fea647e1ec 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -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/
diff --git a/graphics/gdal/pkg-plist b/graphics/gdal/pkg-plist
index 1e1b79ca0398..e4babb6ab12f 100644
--- a/graphics/gdal/pkg-plist
+++ b/graphics/gdal/pkg-plist
@@ -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