View | Details | Raw Unified | Return to bug 231629
Collapse All | Expand All

(-)graphics/gdal/Makefile (-15 / +33 lines)
Lines 2-12 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	gdal
4
PORTNAME=	gdal
5
PORTVERSION=	2.2.4
5
PORTVERSION=	2.4.0
6
PORTREVISION=	1
7
CATEGORIES=	graphics geography
6
CATEGORIES=	graphics geography
8
MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
7
MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
9
		ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \
10
		LOCAL/sunpoet
8
		LOCAL/sunpoet
11
9
12
MAINTAINER=	sunpoet@FreeBSD.org
10
MAINTAINER=	sunpoet@FreeBSD.org
Lines 22-37 Link Here
22
		libproj.so:graphics/proj \
20
		libproj.so:graphics/proj \
23
		libtiff.so:graphics/tiff
21
		libtiff.so:graphics/tiff
24
22
25
OPTIONS_DEFINE=	ARMADILLO CFITSIO CURL ECW EXPAT FREEXL GEOS GTA HDF5 JASPER \
23
USES=		compiler:c++11-lib gmake iconv jpeg localbase pkgconfig ssl tar:xz
26
		KML LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL SFCGAL \
24
USE_CXXSTD=	c++11
27
		SPATIALITE SQLITE WEBP XERCES
25
USE_LDCONFIG=	yes
28
OPTIONS_DEFAULT=JASPER
29
OPTIONS_RADIO=	PDF
30
OPTIONS_RADIO_PDF=	PODOFO POPPLER
31
OPTIONS_SUB=	yes
32
PCRE_DESC=	Regular expression support for SQLite
33
26
34
CFLAGS+=	-fPIC
35
CONFIGURE_ARGS=	--datadir=${DATADIR} \
27
CONFIGURE_ARGS=	--datadir=${DATADIR} \
36
		--enable-static=yes \
28
		--enable-static=yes \
37
		--with-geotiff=yes \
29
		--with-geotiff=yes \
Lines 48-63 Link Here
48
		--without-libtool \
40
		--without-libtool \
49
		${ICONV_CONFIGURE_ARG}
41
		${ICONV_CONFIGURE_ARG}
50
GNU_CONFIGURE=	yes
42
GNU_CONFIGURE=	yes
43
CFLAGS+=	-fPIC
51
LDFLAGS+=	${ICONV_LIB}
44
LDFLAGS+=	${ICONV_LIB}
52
MAKE_JOBS_UNSAFE=	yes
45
MAKE_JOBS_UNSAFE=	yes
53
MAKEFILE=	GNUmakefile
46
MAKEFILE=	GNUmakefile
54
USE_LDCONFIG=	yes
55
USES=		gmake iconv jpeg localbase tar:xz
56
47
48
OPTIONS_DEFINE=	ARMADILLO CFITSIO CURL ECW EXPAT FREEXL GEOS GTA HDF5 JASPER \
49
		KML LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL SFCGAL \
50
		SPATIALITE SQLITE WEBP XERCES ZSTD
51
OPTIONS_DEFAULT=JASPER
52
OPTIONS_RADIO=	PDF
53
OPTIONS_RADIO_PDF=	PODOFO POPPLER
54
OPTIONS_SUB=	yes
55
PCRE_DESC=	Regular expression support for SQLite
56
57
PLIST_SUB=	PORTVERSION=${PORTVERSION}
57
PLIST_SUB=	PORTVERSION=${PORTVERSION}
58
58
59
SLAVEDIRS=	graphics/p5-Geo-GDAL graphics/py-gdal
59
SLAVEDIRS=	graphics/p5-Geo-GDAL graphics/py-gdal
60
60
61
HEADER_FILES=	alg/gdalwarpkernel_opencl.h \
62
		alg/gvgcpfit.h \
63
		alg/internal_qhull_headers.h \
64
		alg/thinplatespline.h\
65
		gcore/gdalexif.h \
66
		gcore/gdaljp2metadatagenerator.h \
67
		gcore/gdalsse_priv.h \
68
		gnm/gnm_priv.h \
69
		port/cpl_aws.h \
70
		port/cpl_cpu_features.h \
71
		port/cpl_google_cloud.h \
72
		port/cpl_sha1.h \
73
		port/cpl_sha256.h \
74
		port/cpl_vsil_curl_priv.h \
75
		port/cpl_worker_thread_pool.h
76
61
ARMADILLO_CONFIGURE_WITH=	armadillo
77
ARMADILLO_CONFIGURE_WITH=	armadillo
62
ARMADILLO_LIB_DEPENDS=	libarmadillo.so:math/armadillo
78
ARMADILLO_LIB_DEPENDS=	libarmadillo.so:math/armadillo
63
CFITSIO_CONFIGURE_WITH=	cfitsio
79
CFITSIO_CONFIGURE_WITH=	cfitsio
Lines 114-119 Link Here
114
WEBP_LIB_DEPENDS=	libwebp.so:graphics/webp
130
WEBP_LIB_DEPENDS=	libwebp.so:graphics/webp
115
XERCES_CONFIGURE_WITH=	xerces
131
XERCES_CONFIGURE_WITH=	xerces
116
XERCES_LIB_DEPENDS=	libxerces-c.so:textproc/xerces-c3
132
XERCES_LIB_DEPENDS=	libxerces-c.so:textproc/xerces-c3
133
ZSTD_CONFIGURE_WITH=	zstd
134
ZSTD_LIB_DEPENDS=	libzstd.so:archivers/zstd
117
135
118
post-patch:
136
post-patch:
119
	@${REINPLACE_CMD} -e '/^#GDAL_SLIB_SONAME/ s|^#||' ${WRKSRC}/GDALmake.opt.in
137
	@${REINPLACE_CMD} -e '/^#GDAL_SLIB_SONAME/ s|^#||' ${WRKSRC}/GDALmake.opt.in
Lines 130-136 Link Here
130
	@${RM} -r ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/
148
	@${RM} -r ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/
131
149
132
post-install:
150
post-install:
133
	cd ${WRKSRC}/gnm/ && ${INSTALL_DATA} gnm.h gnm_api.h gnm_priv.h gnmgraph.h ${STAGEDIR}${PREFIX}/include/
151
	cd ${WRKSRC}/ && ${INSTALL_DATA} ${HEADER_FILES} ${STAGEDIR}${PREFIX}/include/
134
	${INSTALL_DATA} ${WRKSRC}/libgdal.a ${STAGEDIR}${PREFIX}/lib/
152
	${INSTALL_DATA} ${WRKSRC}/libgdal.a ${STAGEDIR}${PREFIX}/lib/
135
	${TOUCH} ${STAGEDIR}${PREFIX}/lib/gdalplugins/.keepme
153
	${TOUCH} ${STAGEDIR}${PREFIX}/lib/gdalplugins/.keepme
136
	${INSTALL_DATA} ${WRKSRC}/GDALmake.opt ${STAGEDIR}${DATADIR}/
154
	${INSTALL_DATA} ${WRKSRC}/GDALmake.opt ${STAGEDIR}${DATADIR}/
(-)graphics/gdal/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1521659854
1
TIMESTAMP = 1546347714
2
SHA256 (gdal-2.2.4.tar.xz) = 441eb1d1acb35238ca43a1a0a649493fc91fdcbab231d0747e9d462eea192278
2
SHA256 (gdal-2.4.0.tar.xz) = c3791dcc6d37e59f6efa86e2df2a55a4485237b0a48e330ae08949f0cdf00f27
3
SIZE (gdal-2.2.4.tar.xz) = 8255840
3
SIZE (gdal-2.4.0.tar.xz) = 8874628
(-)graphics/gdal/files/patch-apps_GNUmakefile (-2 / +2 lines)
Lines 1-4 Link Here
1
--- apps/GNUmakefile.orig	2016-10-24 11:00:31 UTC
1
--- apps/GNUmakefile.orig	2018-05-04 16:05:45 UTC
2
+++ apps/GNUmakefile
2
+++ apps/GNUmakefile
3
@@ -215,7 +215,7 @@ gdal-config-inst:	gdal-config.in ../GDAL
3
@@ -215,7 +215,7 @@ gdal-config-inst:	gdal-config.in ../GDAL
4
 
4
 
Lines 5-11 Link Here
5
 
5
 
6
 install: default
6
 install: default
7
-	for f in $(BIN_LIST) ; do $(INSTALL) $$f $(DESTDIR)$(INST_BIN) ; done
7
-	for f in $(BIN_LIST) ; do $(INSTALL) $$f $(DESTDIR)$(INST_BIN) ; done
8
-	$(INSTALL) gdal_utils.h $(DESTDIR)$(INST_INCLUDE)
8
-	$(INSTALL_DATA) gdal_utils.h $(DESTDIR)$(INST_INCLUDE)
9
-	$(INSTALL) gdal-config-inst $(DESTDIR)$(INST_BIN)/gdal-config
9
-	$(INSTALL) gdal-config-inst $(DESTDIR)$(INST_BIN)/gdal-config
10
+	for f in $(BIN_LIST) ; do $(BSD_INSTALL_PROGRAM) $$f $(DESTDIR)$(INST_BIN) ; done
10
+	for f in $(BIN_LIST) ; do $(BSD_INSTALL_PROGRAM) $$f $(DESTDIR)$(INST_BIN) ; done
11
+	$(BSD_INSTALL_DATA) gdal_utils.h $(DESTDIR)$(INST_INCLUDE)
11
+	$(BSD_INSTALL_DATA) gdal_utils.h $(DESTDIR)$(INST_INCLUDE)
(-)graphics/gdal/files/patch-frmts-pdf-pdfdataset.cpp (+20 lines)
Line 0 Link Here
1
--- frmts/pdf/pdfdataset.cpp.orig	2018-12-14 22:37:15.000000000 +0100
2
+++ frmts/pdf/pdfdataset.cpp	2019-01-01 18:27:35.072882000 +0100
3
@@ -3459,7 +3459,7 @@
4
 #endif
5
             if( ocg != nullptr && ocg->getName() != nullptr )
6
             {
7
-                const char* pszLayerName = (const char*)ocg->getName()->getCString();
8
+                const char* pszLayerName = (const char*)ocg->getName()->c_str();
9
                 AddLayer(pszLayerName);
10
                 oLayerOCGMapPoppler[pszLayerName] = ocg;
11
             }
12
@@ -4787,7 +4787,7 @@
13
     GooString* poMetadata = poCatalogPoppler->readMetadata();
14
     if (poMetadata)
15
     {
16
-        const char* pszContent = poMetadata->getCString();
17
+        const char* pszContent = poMetadata->c_str();
18
         if (pszContent != nullptr &&
19
             STARTS_WITH(pszContent, "<?xpacket begin="))
20
         {
(-)graphics/gdal/files/patch-frmts-pdf-pdfobject.cpp (+20 lines)
Line 0 Link Here
1
--- frmts/pdf/pdfobject.cpp.orig	2018-12-14 22:37:15.000000000 +0100
2
+++ frmts/pdf/pdfobject.cpp	2019-01-01 19:10:48.643844000 +0100
3
@@ -1061,7 +1061,7 @@
4
 #else
5
         GooString* gooString = m_po->getString();
6
 #endif
7
-        return (osStr = GDALPDFGetUTF8StringFromBytes(reinterpret_cast<const GByte*>(gooString->getCString()),
8
+        return (osStr = GDALPDFGetUTF8StringFromBytes(reinterpret_cast<const GByte*>(gooString->c_str()),
9
                                                       static_cast<int>(gooString->getLength())));
10
     }
11
     else
12
@@ -1422,7 +1422,7 @@
13
         char* pszContent = (char*) VSIMalloc(m_nLength + 1);
14
         if (pszContent)
15
         {
16
-            memcpy(pszContent, gstr->getCString(), m_nLength);
17
+            memcpy(pszContent, gstr->c_str(), m_nLength);
18
             pszContent[m_nLength] = '\0';
19
         }
20
         delete gstr;
(-)graphics/gdal/files/patch-ogr-ogrsf_frmts-cad-libopencad-cadheader.cpp (-81 lines)
Lines 1-81 Link Here
1
Obtained from:	https://github.com/nextgis-borsch/lib_opencad/commit/f40ce46804f1612fbeb035d0be5a746105cfc17e
2
3
--- ogr/ogrsf_frmts/cad/libopencad/cadheader.cpp.orig	2017-04-28 16:07:33 UTC
4
+++ ogr/ogrsf_frmts/cad/libopencad/cadheader.cpp
5
@@ -310,14 +310,22 @@ CADVariant::CADVariant( const string& va
6
 {
7
 }
8
 
9
-CADVariant::CADVariant( time_t val ) :
10
+CADVariant::CADVariant( long julianday, long milliseconds ) :
11
     type        ( DataType::DATETIME ),
12
     decimalVal  ( 0 ),
13
     xVal        ( 0 ),
14
     yVal        ( 0 ),
15
-    zVal        ( 0 ),
16
-    dateTimeVal ( val )
17
+    zVal        ( 0 )
18
 {
19
+    // unix -> julian        return ( unixSecs / 86400.0 ) + 2440587.5;
20
+    // julian -> unix        return (julian - 2440587.5) * 86400.0
21
+
22
+    double dfSeconds = double( milliseconds ) / 1000;
23
+    double dfUnix = 0;
24
+    if(julianday != 0)
25
+        dfUnix = ( double( julianday ) - 2440587.5 ) * 86400.0;
26
+    dateTimeVal = static_cast<time_t>( dfUnix + dfSeconds );
27
+
28
     char str_buff[256];
29
     strftime(str_buff, 255, "%Y-%m-%d %H:%M:%S", localtime(&dateTimeVal));
30
     stringVal = str_buff;
31
@@ -335,33 +343,6 @@ CADVariant::CADVariant( const CADHandle&
32
 {
33
 }
34
 
35
-CADVariant::CADVariant( const CADVariant& orig ) :
36
-    type        ( orig.type ),
37
-    decimalVal  ( orig.decimalVal ),
38
-    xVal        ( orig.xVal ),
39
-    yVal        ( orig.yVal ),
40
-    zVal        ( orig.zVal ),
41
-    stringVal   ( orig.stringVal ),
42
-    handleVal   ( orig.handleVal ),
43
-    dateTimeVal ( orig.dateTimeVal )
44
-{
45
-}
46
-
47
-CADVariant& CADVariant::operator=( const CADVariant& orig )
48
-{
49
-    if( this == & orig )
50
-        return * this;
51
-    type        = orig.type;
52
-    stringVal   = orig.stringVal;
53
-    decimalVal  = orig.decimalVal;
54
-    xVal        = orig.xVal;
55
-    yVal        = orig.yVal;
56
-    zVal        = orig.zVal;
57
-    handleVal   = orig.handleVal;
58
-    dateTimeVal = orig.dateTimeVal;
59
-    return * this;
60
-}
61
-
62
 long CADVariant::getDecimal() const
63
 {
64
     return decimalVal;
65
@@ -461,15 +442,7 @@ int CADHeader::addValue( short code, dou
66
 
67
 int CADHeader::addValue( short code, long julianday, long milliseconds )
68
 {
69
-    // unix -> julian        return ( unixSecs / 86400.0 ) + 2440587.5;
70
-    // julian -> unix        return (julian - 2440587.5) * 86400.0
71
-
72
-    double dfSeconds = double( milliseconds ) / 1000;
73
-    double dfUnix = 0;
74
-    if(julianday != 0)
75
-        dfUnix = ( double( julianday ) - 2440587.5 ) * 86400.0;
76
-    time_t fullSeconds = static_cast<time_t>( dfUnix + dfSeconds );
77
-    return addValue( code, CADVariant( fullSeconds ) );
78
+    return addValue( code, CADVariant( julianday, milliseconds ) );
79
 }
80
 
81
 int CADHeader::getGroupCode( short code )
(-)graphics/gdal/files/patch-ogr-ogrsf_frmts-cad-libopencad-cadheader.h (-17 lines)
Lines 1-17 Link Here
1
Obtained from:	https://github.com/nextgis-borsch/lib_opencad/commit/f40ce46804f1612fbeb035d0be5a746105cfc17e
2
3
--- ogr/ogrsf_frmts/cad/libopencad/cadheader.h.orig	2017-04-28 16:07:33 UTC
4
+++ ogr/ogrsf_frmts/cad/libopencad/cadheader.h
5
@@ -79,10 +79,8 @@ public:
6
     // cppcheck-suppress noExplicitConstructor
7
     CADVariant( const std::string& val );
8
     // cppcheck-suppress noExplicitConstructor
9
-    CADVariant( time_t val );
10
-public:
11
-    CADVariant( const CADVariant& orig );
12
-    CADVariant& operator=( const CADVariant& orig );
13
+    CADVariant( long julianday, long milliseconds );
14
+
15
 public:
16
     long                getDecimal() const;
17
     double              getReal() const;
(-)graphics/gdal/files/patch-ogr-ogrsf_frmts-cad-libopencad-opencad.h (-17 lines)
Lines 1-17 Link Here
1
Obtained from:	https://github.com/nextgis-borsch/lib_opencad/commit/f40ce46804f1612fbeb035d0be5a746105cfc17e
2
3
--- ogr/ogrsf_frmts/cad/libopencad/opencad.h.orig	2017-04-28 16:07:33 UTC
4
+++ ogr/ogrsf_frmts/cad/libopencad/opencad.h
5
@@ -31,10 +31,10 @@
6
 #ifndef OPENCAD_H
7
 #define OPENCAD_H
8
 
9
-#define OCAD_VERSION    "0.3.2"
10
+#define OCAD_VERSION    "0.3.3"
11
 #define OCAD_VERSION_MAJOR 0
12
 #define OCAD_VERSION_MINOR 3
13
-#define OCAD_VERSION_REV   2
14
+#define OCAD_VERSION_REV   3
15
 
16
 #ifndef OCAD_COMPUTE_VERSION
17
 #define OCAD_COMPUTE_VERSION(maj,min,rev) ((maj)*10000+(min)*100+rev) // maj - any, min < 99, rev < 99
(-)graphics/gdal/pkg-plist (+6 lines)
Lines 25-30 Link Here
25
bin/testepsg
25
bin/testepsg
26
etc/bash_completion.d/gdal-bash-completion.sh
26
etc/bash_completion.d/gdal-bash-completion.sh
27
include/cpl_atomic_ops.h
27
include/cpl_atomic_ops.h
28
include/cpl_auto_close.h
28
include/cpl_aws.h
29
include/cpl_aws.h
29
include/cpl_config.h
30
include/cpl_config.h
30
include/cpl_config_extras.h
31
include/cpl_config_extras.h
Lines 35-40 Link Here
35
include/cpl_google_cloud.h
36
include/cpl_google_cloud.h
36
include/cpl_hash_set.h
37
include/cpl_hash_set.h
37
include/cpl_http.h
38
include/cpl_http.h
39
include/cpl_json.h
38
include/cpl_list.h
40
include/cpl_list.h
39
include/cpl_minixml.h
41
include/cpl_minixml.h
40
include/cpl_minizip_ioapi.h
42
include/cpl_minizip_ioapi.h
Lines 112-117 Link Here
112
%%DATADIR%%/GDALLogoColor.svg
114
%%DATADIR%%/GDALLogoColor.svg
113
%%DATADIR%%/GDALLogoGS.svg
115
%%DATADIR%%/GDALLogoGS.svg
114
%%DATADIR%%/GDALmake.opt
116
%%DATADIR%%/GDALmake.opt
117
%%DATADIR%%/bag_template.xml
115
%%DATADIR%%/compdcs.csv
118
%%DATADIR%%/compdcs.csv
116
%%DATADIR%%/coordinate_axis.csv
119
%%DATADIR%%/coordinate_axis.csv
117
%%DATADIR%%/cubewerx_extra.wkt
120
%%DATADIR%%/cubewerx_extra.wkt
Lines 118-127 Link Here
118
%%DATADIR%%/datum_shift.csv
121
%%DATADIR%%/datum_shift.csv
119
%%DATADIR%%/default.rsc
122
%%DATADIR%%/default.rsc
120
%%DATADIR%%/ecw_cs.wkt
123
%%DATADIR%%/ecw_cs.wkt
124
%%DATADIR%%/eedaconf.json
121
%%DATADIR%%/ellipsoid.csv
125
%%DATADIR%%/ellipsoid.csv
122
%%DATADIR%%/epsg.wkt
126
%%DATADIR%%/epsg.wkt
123
%%DATADIR%%/esri_StatePlane_extra.wkt
127
%%DATADIR%%/esri_StatePlane_extra.wkt
124
%%DATADIR%%/esri_Wisconsin_extra.wkt
128
%%DATADIR%%/esri_Wisconsin_extra.wkt
129
%%DATADIR%%/esri_epsg.wkt
125
%%DATADIR%%/esri_extra.wkt
130
%%DATADIR%%/esri_extra.wkt
126
%%DATADIR%%/gcs.csv
131
%%DATADIR%%/gcs.csv
127
%%DATADIR%%/gcs.override.csv
132
%%DATADIR%%/gcs.override.csv
Lines 177-182 Link Here
177
%%DATADIR%%/pci_ellips.txt
182
%%DATADIR%%/pci_ellips.txt
178
%%DATADIR%%/pcs.csv
183
%%DATADIR%%/pcs.csv
179
%%DATADIR%%/pcs.override.csv
184
%%DATADIR%%/pcs.override.csv
185
%%DATADIR%%/pds4_template.xml
180
%%DATADIR%%/plscenesconf.json
186
%%DATADIR%%/plscenesconf.json
181
%%DATADIR%%/prime_meridian.csv
187
%%DATADIR%%/prime_meridian.csv
182
%%DATADIR%%/projop_wparm.csv
188
%%DATADIR%%/projop_wparm.csv
(-)graphics/p5-Geo-GDAL/Makefile (-4 / +7 lines)
Lines 2-11 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	Geo-GDAL
4
PORTNAME=	Geo-GDAL
5
PORTVERSION=	2.2.4
5
PORTVERSION=	2.4.0
6
CATEGORIES=	graphics perl5
6
CATEGORIES=	graphics perl5
7
MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
7
MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
8
		ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \
9
		LOCAL/sunpoet
8
		LOCAL/sunpoet
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
DISTNAME=	gdal-${PORTVERSION}
10
DISTNAME=	gdal-${PORTVERSION}
Lines 19-33 Link Here
19
BUILD_DEPENDS=	p5-Capture-Tiny>=0:devel/p5-Capture-Tiny
18
BUILD_DEPENDS=	p5-Capture-Tiny>=0:devel/p5-Capture-Tiny
20
LIB_DEPENDS=	libgdal.so:graphics/gdal
19
LIB_DEPENDS=	libgdal.so:graphics/gdal
21
20
22
USES=		perl5 tar:xz
21
USES=		compiler:c++11-lib perl5 tar:xz
23
22
23
USE_CXXSTD=	c++11
24
WRKSRC_SUBDIR=	swig/perl
24
WRKSRC_SUBDIR=	swig/perl
25
25
26
post-patch:
26
post-patch:
27
	@${LN} -s ${LOCALBASE}/bin/gdal-config ${WRKSRC}/../../apps/gdal-config
27
	@${LN} -s ${LOCALBASE}/bin/gdal-config ${WRKSRC}/../../apps/gdal-config
28
	@${REINPLACE_CMD} -e 's| INSTALL_BASE=.*||; s| install| pure_install|' ${WRKSRC}/Makefile
28
	@${REINPLACE_CMD} -e 's| INSTALL_BASE=.*||; s| install| pure_install|' ${WRKSRC}/Makefile
29
	@${REINPLACE_CMD} -e 's|(const char \*)""|(char \*)""|' ${WRKSRC}/gdal_wrap.cpp ${WRKSRC}/ogr_wrap.cpp
30
29
30
# GDALmake.opt is not available until configure phase
31
post-configure:
32
	@${SED} -e '/^GDAL_ROOT/d' ${LOCALBASE}/share/gdal/GDALmake.opt > ${WRKSRC}/../../GDALmake.opt
33
31
post-install:
34
post-install:
32
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/GDAL/Const/Const.so ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/*/*.so
35
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/GDAL/Const/Const.so ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/*/*.so
33
36
(-)graphics/p5-Geo-GDAL/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1521659854
1
TIMESTAMP = 1546353726
2
SHA256 (gdal-2.2.4.tar.xz) = 441eb1d1acb35238ca43a1a0a649493fc91fdcbab231d0747e9d462eea192278
2
SHA256 (gdal-2.4.0.tar.xz) = c3791dcc6d37e59f6efa86e2df2a55a4485237b0a48e330ae08949f0cdf00f27
3
SIZE (gdal-2.2.4.tar.xz) = 8255840
3
SIZE (gdal-2.4.0.tar.xz) = 8874628
(-)graphics/py-gdal/Makefile (-5 / +3 lines)
Lines 2-12 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	gdal
4
PORTNAME=	gdal
5
PORTVERSION=	2.2.4
5
PORTVERSION=	2.4.0
6
PORTREVISION=	2
7
CATEGORIES=	graphics python
6
CATEGORIES=	graphics python
8
MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
7
MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
9
		ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \
10
		LOCAL/sunpoet
8
		LOCAL/sunpoet
11
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
12
10
Lines 21-29 Link Here
21
OPTIONS_DEFINE=	NUMPY
19
OPTIONS_DEFINE=	NUMPY
22
NUMPY_DESC=	Enable array support via NumPy
20
NUMPY_DESC=	Enable array support via NumPy
23
21
22
USES=		compiler:c++11-lib python shebangfix tar:xz
24
USE_PYTHON=	autoplist concurrent distutils
23
USE_PYTHON=	autoplist concurrent distutils
25
USES=		python shebangfix tar:xz
26
24
25
USE_CXXSTD=	c++11
27
WRKSRC_SUBDIR=	swig/python
26
WRKSRC_SUBDIR=	swig/python
28
27
29
SHEBANG_FILES=	scripts/*.py
28
SHEBANG_FILES=	scripts/*.py
Lines 33-39 Link Here
33
NUMPY_USES=		fortran
32
NUMPY_USES=		fortran
34
33
35
post-install:
34
post-install:
36
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.py ${STAGEDIR}${PREFIX}/bin/
37
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/osgeo/*.so
35
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/osgeo/*.so
38
36
39
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)graphics/py-gdal/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1521659854
1
TIMESTAMP = 1546353451
2
SHA256 (gdal-2.2.4.tar.xz) = 441eb1d1acb35238ca43a1a0a649493fc91fdcbab231d0747e9d462eea192278
2
SHA256 (gdal-2.4.0.tar.xz) = c3791dcc6d37e59f6efa86e2df2a55a4485237b0a48e330ae08949f0cdf00f27
3
SIZE (gdal-2.2.4.tar.xz) = 8255840
3
SIZE (gdal-2.4.0.tar.xz) = 8874628
(-)graphics/py-gdal/pkg-plist (-25 lines)
Lines 1-25 Link Here
1
bin/epsg_tr.py
2
bin/esri2wkt.py
3
bin/gcps2vec.py
4
bin/gcps2wld.py
5
bin/gdal2tiles.py
6
bin/gdal2xyz.py
7
bin/gdal_auth.py
8
bin/gdal_calc.py
9
bin/gdal_edit.py
10
bin/gdal_fillnodata.py
11
bin/gdal_merge.py
12
bin/gdal_pansharpen.py
13
bin/gdal_polygonize.py
14
bin/gdal_proximity.py
15
bin/gdal_retile.py
16
bin/gdal_sieve.py
17
bin/gdalchksum.py
18
bin/gdalcompare.py
19
bin/gdalident.py
20
bin/gdalimport.py
21
bin/gdalmove.py
22
bin/mkgraticule.py
23
bin/ogrmerge.py
24
bin/pct2rgb.py
25
bin/rgb2pct.py

Return to bug 231629