ports/118619: Update port: graphics/gdal to 1.4.3
KATO Tsuguru
tkato432 at yahoo.com
Wed Dec 12 18:30:16 UTC 2007
>Number: 118619
>Category: ports
>Synopsis: Update port: graphics/gdal to 1.4.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 12 18:30:16 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 6.2-RELEASE-p8 i386
>Organization:
>Environment:
>Description:
- Update to version 1.4.3
Remove file:
files/patch-frmts__fit__fitdataset.cpp
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/gdal/Makefile graphics/gdal/Makefile
--- /usr/ports/graphics/gdal/Makefile Mon Jul 23 19:05:26 2007
+++ graphics/gdal/Makefile Sun Nov 11 00:01:23 2007
@@ -6,47 +6,88 @@
#
PORTNAME= gdal
-PORTVERSION= 1.3.1
-PORTREVISION= 1
+PORTVERSION= 1.4.3
CATEGORIES= graphics geography
-MASTER_SITES= ftp://ftp.remotesensing.org/pub/gdal/ \
- http://www.gdal.org/dl/ \
- http://dl.maptools.org/dl/gdal/
+MASTER_SITES= http://download.osgeo.org/gdal/
MAINTAINER= ports at FreeBSD.org
COMMENT= A translator library for geospatial data formats
-BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
LIB_DEPENDS= jasper.4:${PORTSDIR}/graphics/jasper \
- png.5:${PORTSDIR}/graphics/png \
- tiff.4:${PORTSDIR}/graphics/tiff \
- geotiff.1:${PORTSDIR}/graphics/libgeotiff \
jpeg.9:${PORTSDIR}/graphics/jpeg \
- ungif.5:${PORTSDIR}/graphics/libungif
+ geotiff.1:${PORTSDIR}/graphics/libgeotiff \
+ ungif.5:${PORTSDIR}/graphics/libungif \
+ png.5:${PORTSDIR}/graphics/png \
+ tiff.4:${PORTSDIR}/graphics/tiff
-USE_AUTOTOOLS= libtool:15
+USE_GNOME= gnometarget
USE_PYTHON= yes
USE_GMAKE= yes
-GNU_CONFIGURE= yes
+USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= --with-libz=/usr \
--with-png=${LOCALBASE} \
--with-libtiff=${LOCALBASE} \
- --with-libgeotiff=${LOCALBASE} \
- --with-libjpeg=${LOCALBASE} \
- --with-libgif=${LOCALBASE} \
- --with-jasper=${LOCALBASE} \
+ --with-geotiff=${LOCALBASE} \
+ --with-jpeg=${LOCALBASE} \
+ --with-gif=${LOCALBASE} \
--with-python
MAKEFILE= GNUmakefile
USE_LDCONFIG= yes
-MAN1= gdal-config.1 gdal_utilities.1 gdalwarp.1 ogrtindex.1 \
- gdal_contour.1 gdaladdo.1 ogr2ogr.1 pct2rgb.py.1 \
- gdal_merge.py.1 gdalinfo.1 ogr_utilities.1 rgb2pct.py.1 \
- gdal_translate.1 gdaltindex.1 ogrinfo.1
+MAN1= gdal-config.1 gdal_contour.1 gdal_merge.1 gdal_rasterize.1 \
+ gdal_translate.1 gdal_utilities.1 gdaladdo.1 gdalinfo.1 \
+ gdaltindex.1 gdalwarp.1 ogr2ogr.1 ogr_utilities.1 \
+ ogrinfo.1 ogrtindex.1 pct2rgb.1 rgb2pct.1
.include <bsd.port.pre.mk>
+.if defined(WITH_CFITSIO)
+LIB_DEPENDS+= cfitsio.0:${PORTSDIR}/astro/cfitsio
+CONFIGURE_ARGS+= --with-cfitsio=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --with-cfitsio=no
+.endif
+
+.if defined(WITH_CURL)
+LIB_DEPENDS+= curl.4:{PORTSDIR}/ftp/curl
+.else
+CONFIGURE_ARGS+= --with-curl=no
+.endif
+
+.if defined(WITH_NETCDF)
+LIB_DEPENDS+= netcdf.4:${PORTSDIR}/science/netcdf
+CONFIGURE_ARGS+= --with-netcdf=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --with-netcdf=no
+.endif
+
+.if defined(WITH_MYSQL)
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}/bin/mysql_config
+.else
+CONFIGURE_ARGS+= --with-mysql=no
+.endif
+
+.if defined(WITH_PGSQL)
+USE_PGSQL= yes
+CONFIGURE_ARGS+= --with-pg=${LOCALBASE}/bin/pg_config
+.else
+CONFIGURE_ARGS+= --with-pg=no
+.endif
+
+.if defined(WITH_SQLITE)
+USE_SQLITE= 3
+CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --with-sqlite=no
+.endif
+
+
+
post-patch:
- @${REINPLACE_CMD} -e 's|6LIBZ|6|;;s|lgif|lungif|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|lgif|lungif|g ; \
+ s|== no|= no|g ; \
+ s|== yes|= yes|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|) docs|) # docs|g' ${WRKSRC}/ogr/GNUmakefile
.include <bsd.port.post.mk>
diff -urN /usr/ports/graphics/gdal/distinfo graphics/gdal/distinfo
--- /usr/ports/graphics/gdal/distinfo Sat Dec 10 14:45:50 2005
+++ graphics/gdal/distinfo Sat Nov 3 03:12:06 2007
@@ -1,3 +1,3 @@
-MD5 (gdal-1.3.1.tar.gz) = 7ff1ceff745ee011793e1f860c02c172
-SHA256 (gdal-1.3.1.tar.gz) = 4f8f3c462f9174e1dd99f7bfa2abe010aa129e04c08a242a3c63c1a9e5078753
-SIZE (gdal-1.3.1.tar.gz) = 6856011
+MD5 (gdal-1.4.3.tar.gz) = d2b0d428edab7895aa53c7d827094a09
+SHA256 (gdal-1.4.3.tar.gz) = 1462a77aa5df322b95f594bfe70e04747cc944cd1e02c6d44abc2ddc1dcc04d2
+SIZE (gdal-1.4.3.tar.gz) = 7393960
diff -urN /usr/ports/graphics/gdal/files/patch-frmts__fit__fitdataset.cpp graphics/gdal/files/patch-frmts__fit__fitdataset.cpp
--- /usr/ports/graphics/gdal/files/patch-frmts__fit__fitdataset.cpp Wed Apr 4 21:46:50 2007
+++ graphics/gdal/files/patch-frmts__fit__fitdataset.cpp Thu Jan 1 09:00:00 1970
@@ -1,11 +0,0 @@
---- ./frmts/fit/fitdataset.cpp.orig Wed Apr 4 16:33:12 2007
-+++ ./frmts/fit/fitdataset.cpp Wed Apr 4 16:33:23 2007
-@@ -174,7 +174,7 @@
-
- public:
-
-- FITRasterBand::FITRasterBand( FITDataset *, int );
-+ FITRasterBand( FITDataset *, int );
- ~FITRasterBand();
-
- // should override RasterIO eventually.
diff -urN /usr/ports/graphics/gdal/pkg-plist graphics/gdal/pkg-plist
--- /usr/ports/graphics/gdal/pkg-plist Sat Dec 10 14:45:50 2005
+++ graphics/gdal/pkg-plist Sat Nov 3 03:12:06 2007
@@ -5,6 +5,7 @@
bin/gdal2xyz.py
bin/gdal_contour
bin/gdal_merge.py
+bin/gdal_rasterize
bin/gdal_translate
bin/gdaladdo
bin/gdalchksum.py
@@ -28,7 +29,9 @@
include/cpl_port.h
include/cpl_string.h
include/cpl_vsi.h
-include/cpl_vsi_private.h
+include/cpl_vsi_virtual.h
+include/cpl_win32ce_api.h
+include/cpl_wince.h
include/gdal.h
include/gdal_alg.h
include/gdal_frmts.h
@@ -55,7 +58,18 @@
lib/libgdal.a
lib/libgdal.la
lib/libgdal.so
-lib/libgdal.so.10
+lib/libgdal.so.12
+%%PYTHON_SITELIBDIR%%/_gdalmodule.a
+%%PYTHON_SITELIBDIR%%/_gdalmodule.la
+%%PYTHON_SITELIBDIR%%/_gdalmodule.so
+%%PYTHON_SITELIBDIR%%/gdal.py
+%%PYTHON_SITELIBDIR%%/gdalconst.py
+%%PYTHON_SITELIBDIR%%/gdalnumeric.py
+%%PYTHON_SITELIBDIR%%/ogr.py
+%%PYTHON_SITELIBDIR%%/osr.py
+%%DATADIR%%/GDALLogoBW.svg
+%%DATADIR%%/GDALLogoColor.svg
+%%DATADIR%%/GDALLogoGS.svg
%%DATADIR%%/cubewerx_extra.wkt
%%DATADIR%%/ecw_cs.dat
%%DATADIR%%/ellipsoid.csv
@@ -67,6 +81,7 @@
%%DATADIR%%/pcs.csv
%%DATADIR%%/prime_meridian.csv
%%DATADIR%%/projop_wparm.csv
+%%DATADIR%%/s57agencies.csv
%%DATADIR%%/s57attributes.csv
%%DATADIR%%/s57attributes_aml.csv
%%DATADIR%%/s57attributes_iw.csv
@@ -78,12 +93,4 @@
%%DATADIR%%/seed_3d.dgn
%%DATADIR%%/stateplane.csv
%%DATADIR%%/unit_of_measure.csv
-%%PYTHON_SITELIBDIR%%/_gdalmodule.so
-%%PYTHON_SITELIBDIR%%/_gdalmodule.la
-%%PYTHON_SITELIBDIR%%/_gdalmodule.a
-%%PYTHON_SITELIBDIR%%/gdal.py
-%%PYTHON_SITELIBDIR%%/ogr.py
-%%PYTHON_SITELIBDIR%%/osr.py
-%%PYTHON_SITELIBDIR%%/gdalconst.py
-%%PYTHON_SITELIBDIR%%/gdalnumeric.py
@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list