Index: head/comms/xastir/Makefile =================================================================== --- head/comms/xastir/Makefile (revision 505218) +++ head/comms/xastir/Makefile (revision 505219) @@ -1,94 +1,94 @@ # Created by: Carl Makin # $FreeBSD$ PORTNAME= xastir DISTVERSIONPREFIX= Release- DISTVERSION= 2.1.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= comms hamradio MAINTAINER= carl@stagecraft.cx COMMENT= X Amateur Station Tracking and Information Reporting LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN= magick/image-private.h: No such file or directory BUILD_DEPENDS= xfontsel:x11-fonts/xfontsel RUN_DEPENDS= wget:ftp/wget LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libjbig.so:graphics/jbigkit \ libwebp.so:graphics/webp \ libwebpmux.so:graphics/webp \ liblcms2.so:graphics/lcms2 \ libfreetype.so:print/freetype2 \ libjasper.so:graphics/jasper \ libwmflite.so:graphics/libwmf GNU_CONFIGURE= yes USES= gettext gmake jpeg motif python:run shebangfix USE_GCC= yes USE_XORG= x11 xt xext sm ice USE_GNOME+= libxml2 SHEBANG_FILES= scripts/gpx2shape scripts/values.pl.in SHEBANG_REGEX= ./scripts/.*\.(sh|pl|py) USE_GITHUB= yes GH_ACCOUNT= Xastir GH_PROJECT= Xastir SUB_FILES= pkg-message OPTIONS_DEFINE= DAVIS SHAPELIB DBFAWK MAGICK CURL GEOTIFF GDAL GPSMAN FESTIVAL \ RTREE ERRORPOP BDB DAVIS_DESC= Include Davis Weatherstation Support SHAPELIB_DESC= Include Shapelib support DBFAWK_DESC= Include DBFAWK Support MAGICK_DESC= Include GraphicsMagick Support CURL_DESC= Include CURL Internet Image support GEOTIFF_DESC= Include GeoTIFF Support GDAL_DESC= Include GDAL Support GPSMAN_DESC= Include GPSMAN Support FESTIVAL_DESC= Include Festival Voice Synthesis Support RTREE_DESC= Enable spatial indexing of shapefiles ERRORPOP_DESC= Send error popups to stderr BDB_DESC= Tiger Map Caching using Berkeley DB OPTIONS_DEFAULT= SHAPELIB DBFAWK MAGICK CURL RTREE BDB DAVIS_CONFIGURE_ON= --enable-davis SHAPELIB_LIB_DEPENDS= libshp.so:devel/shapelib SHAPELIB_CONFIGURE_WITH= shapelib MAGICK_LIB_DEPENDS= libGraphicsMagickWand.so:graphics/GraphicsMagick MAGICK_CONFIGURE_WITH= imagemagick graphicsmagick DBFAWK_LIB_DEPENDS= libpcre.so:devel/pcre DBFAWK_CONFIGURE_WITH= dbfawk CURL_LIB_DEPENDS= libcurl.so:ftp/curl GEOTIFF_LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_CONFIGURE_WITH= gdal GPSMAN_BUILD_DEPENDS= ${LOCALBASE}/share/doc/gpsmanshp/GPSManSHP.pdf:graphics/gpsmanshp GPSMAN_IMPLIES= SHAPELIB GPSMAN_CONFIGURE_WITH= gpsman FESTIVAL_BUILD_DEPENDS= festival:audio/festival FESTIVAL_CONFIGURE_WITH=festival RTREE_CONFIGURE_WITH= rtree ERRORPOP_CONFIGURE_WITH= errorpopups BDB_USES= bdb BDB_CONFIGURE_ON= --with-bdb-incdir=${BDB_INCLUDE_DIR} --with-bdb-libdir=${BDB_LIB_DIR} .include Index: head/databases/grass7/Makefile =================================================================== --- head/databases/grass7/Makefile (revision 505218) +++ head/databases/grass7/Makefile (revision 505219) @@ -1,197 +1,197 @@ # Created by: Mikael URANKAR and Loïc BARTOLETTI # $FreeBSD$ PORTNAME= grass PORTVERSION= 7.6.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases geography MASTER_SITES= https://grass.osgeo.org/%SUBDIR%/ \ http://grass.cict.fr/%SUBDIR%/ \ http://grass.fbk.eu/%SUBDIR%/ \ http://grass.gis-lab.info/%SUBDIR%/ \ http://grass.meteo.uni.wroc.pl/%SUBDIR%/ \ http://grass.polytechnic.edu.na/%SUBDIR%/ \ http://grass.unibuc.ro/%SUBDIR%/ \ http://mirrors.ibiblio.org/grass/%SUBDIR%/ \ http://pinus.gntech.ac.kr/grass/%SUBDIR%/ \ http://wgbis.ces.iisc.ernet.in/grass/%SUBDIR%/ \ http://wgrass.media.osaka-cu.ac.jp/grassh/%SUBDIR%/ MASTER_SITE_SUBDIR= grass${VER}/source PKGNAMESUFFIX= 7 MAINTAINER= lbartoletti@tuxfamily.org COMMENT= Open source Geographical Information System (GIS) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL.TXT BROKEN_sparc64= Does not configure on sparc64 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2:math/py-numpy@${PY_FLAVOR} LIB_DEPENDS= libgdal.so:graphics/gdal \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgeos.so:graphics/geos RUN_DEPENDS= bash:shells/bash USES= blaslapack compiler:openmp fortran gettext gmake gl iconv \ jpeg perl5 pkgconfig python:2.7 readline shebangfix tk SHEBANG_LANG= nviz nviz_OLD_CMD= nviz nviz_CMD= ${PREFIX}/${GRASS_INST_DIR}/bin/nviz USE_XORG= sm ice x11 xext xi xmu xrender xt USE_GL= gl glu USE_GNOME= cairo USE_WX= 3.0 WX_COMPS= wx:build python:run USE_GCC= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-includes=${LOCALBASE}/include \ --with-libs=${LOCALBASE}/lib \ --with-opengl-includes=${LOCALBASE}/include/ \ --with-opengl-libs=${LOCALBASE}/lib/ \ --with-freetype \ --with-freetype-includes=${LOCALBASE}/include/freetype2 \ --with-blas \ --with-lapack \ --with-cairo \ --with-nls \ --with-readline \ --enable-largefile \ --with-wxwidgets=${WX_CONFIG} \ --with-proj-share=${LOCALBASE}/share/proj \ --with-geos=${LOCALBASE}/bin/geos-config \ --with-gdal=${LOCALBASE}/bin/gdal-config \ --with-pthread=yes \ --with-openmp ALL_TARGET= default USE_LDCONFIG= ${PREFIX}/${GRASS_INST_DIR}/lib MAKE_ENV+= TARGET="${CONFIGURE_TARGET}" VER= ${PORTVERSION:R:C/\.//} PLIST_SUB= GRASS_INST_DIR="${GRASS_INST_DIR}" \ VERSION="${PORTVERSION}" VERS="${PORTVERSION:C/([0-9]+).([0-9]+)(.*)/\1.\2/}" \ VER="${VER}" MAJVER="${PKGNAMESUFFIX}" OPTIONS_DEFINE= LAS MOTIF NETCDF PDAL OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL ODBC PGSQL SQLITE #OPTIONS_SINGLE= BLAS #OPTIONS_SINGLE_BLAS= ATLAS NETLIB GOTOBLAS OPENBLAS OPTIONS_DEFAULT= LAS PDAL PGSQL SQLITE NETLIB MOTIF NETCDF MYSQL ODBC OPTIONS_SUB= yes #BLAS_DESC= BLAS/LAPACK support #GOTOBLAS_DESC= GotoBLAS implementationS LAS_DESC= Enable LiDAR modules PDAL_DESC= Enable points cloud data modules #ATLAS_USES= blaslapack:atlas #NETLIB_USES= blaslapack #GOTOBLAS_USES= blaslapack:gotoblas #OPENBLAS_USES= blaslapack:openblas DB_DESC= Database support LAS_CONFIGURE_ON= --with-liblas=yes LAS_LIB_DEPENDS= liblas.so:devel/liblas \ libboost_program_options.so:devel/boost-libs \ libboost_thread.so:devel/boost-libs \ libgeotiff.so:graphics/libgeotiff MOTIF_USES= motif MOTIF_USE= GL=glw MOTIF_CONFIGURE_ON= --with-motif --with-glw MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-mysql \ --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libs=${LOCALBASE}/lib/mysql NETCDF_CONFIGURE_ON= --with-netcdf=${LOCALBASE}/bin/nc-config NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_ON= --with-odbc PDAL_CONFIGURE_ON= --with-pdal=${LOCALBASE}/bin/pdal-config PDAL_LIB_DEPENDS= libpdal_base.so:math/pdal PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-postgres SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-sqlite SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} .include .if !defined (GRASS_INST_DIR) GRASS_INST_DIR= ${PORTNAME}${VER} .endif MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1 post-patch: ${REINPLACE_CMD} -e \ 's|-lblas|${BLASLIB}|g ; \ s|-llapack|${LAPACKLIB}|g ; \ s|g2c|f2c|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e \ 's|make -C|$$(MAKE) -C| ; \ /^BINDIR/s|=.*|= $${DESTDIR}$${UNIX_BIN}| ; \ /test /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /tar /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /chmod /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /tar /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /rm /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /$$(MAKE) /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /^$$(INST_DIR)\//s|$$(INST_DIR)|$${DESTDIR}$${INST_DIR}|g ; \ s|> $$(INST_DIR)|> $${DESTDIR}$${INST_DIR}|' ${WRKSRC}/include/Make/Install.make ${REINPLACE_CMD} \ 's|= python|= ${PYTHON_CMD:T}|' ${WRKSRC}/include/Make/Platform.make.in ${REINPLACE_CMD} \ "s|'make'|'gmake'|g" ${WRKSRC}/scripts/g.extension/g.extension.py ${REINPLACE_CMD} \ 's|$$(ARCH)|$$(TARGET)|g' ${WRKSRC}/include/Make/Grass.make # Replace hardcoded python interpreter to PYTHON_CMD ${REINPLACE_CMD} "s|'GRASS_PYTHON', 'python'|'GRASS_PYTHON', \'${PYTHON_CMD}\'|g" \ ${WRKSRC}/scripts/wxpyimgview/wxpyimgview.py ${REINPLACE_CMD} 's|GRASS_PYTHON=python|GRASS_PYTHON=${PYTHON_CMD}|g' \ ${WRKSRC}/lib/init/grass.sh ${REINPLACE_CMD} \ "s|environ\['GRASS_PYTHON'\] = "'"python"'"|environ['GRASS_PYTHON'] = "'"${PYTHON_CMD}"'"|g" \ ${WRKSRC}/lib/python/script/setup.py cd ${WRKSRC}; \ for i in `${FIND} . -type f -print`; do \ ${REINPLACE_CMD} \ 's|#!/usr/bin/env python|#!/usr/bin/env ${PYTHON_CMD}|' $$i; \ done post-install: ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/demolocation/PERMANENT/.tmp/ ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/docs/html/colortables/*bak.png ${MKDIR} ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html/ .for file in i_atcorr_B02_atcorr.png \ i_ortho_photo_step1.png \ i_ortho_photo_step5.png \ i_ortho_photo_step6.png \ i_ortho_photo_step7.png \ i_ortho_photo_step8.png \ r.viewshed.png \ rterraflow_accumulation.png \ rterraflow_dir2.png \ rterraflow_dir3.png \ sweep1.png \ sweep2.png ${TOUCH} ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html/${file} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/driver/db/* .for i in clean_temp current_time_s_ms echo i.find lock run r.watershed/seg r.watershed/ram ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/${i} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/lister/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/lib/libgrass_*.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/tools/g.echo ${LN} -sf ${PORTNAME}${VER} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} ${LN} -s ${PORTNAME}${VER} \ ${STAGEDIR}${PREFIX}/${PORTNAME}-${PORTVERSION} .include Index: head/devel/liblas/Makefile =================================================================== --- head/devel/liblas/Makefile (revision 505218) +++ head/devel/liblas/Makefile (revision 505219) @@ -1,27 +1,27 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= liblas PORTVERSION= 1.8.1 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= devel MAINTAINER= wen@FreeBSD.org COMMENT= Library For Reading And Writing LAS-Format Data LICENSE= BSD2CLAUSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libgeotiff.so:graphics/libgeotiff PORTSCOUT= skipv:progress-20071229 USES= cmake compiler:c++11-lang libtool LDFLAGS+= -lpthread GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= libLAS GH_PROJECT= ${GH_ACCOUNT} .include Index: head/graphics/gdal/Makefile =================================================================== --- head/graphics/gdal/Makefile (revision 505218) +++ head/graphics/gdal/Makefile (revision 505219) @@ -1,159 +1,159 @@ # Created by: Randall Hopper # $FreeBSD$ PORTNAME= gdal PORTVERSION= 2.4.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics geography MASTER_SITES= https://download.osgeo.org/gdal/${PORTVERSION}/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Translator library for raster geospatial data formats LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff \ libgif.so:graphics/giflib \ libjson-c.so:devel/json-c \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff OPTIONS_DEFINE= ARMADILLO CFITSIO CURL ECW EXPAT FREEXL GEOS GTA HDF5 JASPER \ KML LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL SFCGAL \ SPATIALITE SQLITE WEBP XERCES ZSTD OPTIONS_DEFAULT=JASPER OPTIONS_RADIO= PDF OPTIONS_RADIO_PDF= PODOFO POPPLER OPTIONS_SUB= yes PCRE_DESC= Regular expression support for SQLite USES= compiler:c++11-lang gmake iconv jpeg localbase pkgconfig ssl tar:xz CFLAGS+= -fPIC CONFIGURE_ARGS= --datadir=${DATADIR} \ --enable-static=yes \ --with-geotiff=yes \ --with-gif=yes \ --with-gnm=yes \ --with-jpeg=yes \ --with-libjson-c=yes \ --with-liblzma=yes \ --with-libtiff=yes \ --with-libz=/usr \ --with-png=yes \ --with-proj=yes \ --with-threads=yes \ --without-libtool \ ${ICONV_CONFIGURE_ARG} GNU_CONFIGURE= yes LDFLAGS+= ${ICONV_LIB} MAKE_JOBS_UNSAFE= yes MAKEFILE= GNUmakefile USE_CXXSTD= c++11 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} SLAVEDIRS= graphics/p5-Geo-GDAL graphics/py-gdal HEADER_FILES= alg/gdalwarpkernel_opencl.h \ alg/gvgcpfit.h \ alg/internal_qhull_headers.h \ alg/thinplatespline.h\ gcore/gdalexif.h \ gcore/gdaljp2metadatagenerator.h \ gcore/gdalsse_priv.h \ gnm/gnm_priv.h \ port/cpl_aws.h \ port/cpl_cpu_features.h \ port/cpl_google_cloud.h \ port/cpl_sha1.h \ port/cpl_sha256.h \ port/cpl_vsil_curl_priv.h \ port/cpl_worker_thread_pool.h ARMADILLO_CONFIGURE_WITH= armadillo ARMADILLO_LIB_DEPENDS= libarmadillo.so:math/armadillo CFITSIO_CONFIGURE_WITH= cfitsio CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio CURL_CONFIGURE_OFF= --with-curl=no CURL_CONFIGURE_ON= --with-curl=${LOCALBASE}/bin/curl-config CURL_LIB_DEPENDS= libcurl.so:ftp/curl ECW_CONFIGURE_WITH= ecw ECW_LIB_DEPENDS= libNCSEcw.so:graphics/libecwj2 EXPAT_CONFIGURE_WITH= expat EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 FREEXL_CONFIGURE_WITH= freexl FREEXL_LIB_DEPENDS= libfreexl.so:textproc/freexl GEOS_CONFIGURE_OFF= --with-geos=no GEOS_CONFIGURE_ON= --with-geos=${LOCALBASE}/bin/geos-config GEOS_LIB_DEPENDS= libgeos.so:graphics/geos GTA_CONFIGURE_WITH= gta GTA_LIB_DEPENDS= libgta.so:devel/libgta HDF5_CONFIGURE_WITH= hdf5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 JASPER_CONFIGURE_WITH= jasper JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper KML_CONFIGURE_WITH= libkml KML_LIB_DEPENDS= libkmlbase.so:science/libkml LIBXML2_CONFIGURE_OFF= --with-xml2=no LIBXML2_CONFIGURE_ON= --with-xml2=${LOCALBASE}/bin/xml2-config LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 MYSQL_CONFIGURE_OFF= --with-mysql=no MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config MYSQL_USES= mysql NETCDF_CONFIGURE_WITH= netcdf NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf ODBC_CONFIGURE_WITH= odbc ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC OPENJPEG_CONFIGURE_WITH=openjpeg OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PCRE_CONFIGURE_WITH= pcre PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PGSQL_CONFIGURE_OFF= --with-pg=no PGSQL_CONFIGURE_ON= --with-pg=${LOCALBASE}/bin/pg_config PGSQL_USES= pgsql PODOFO_CONFIGURE_WITH= podofo PODOFO_LIB_DEPENDS= libpodofo.so:graphics/podofo POPPLER_CONFIGURE_WITH= poppler=${LOCALBASE} POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler SFCGAL_CONFIGURE_OFF= --with-sfcgal=no SFCGAL_CONFIGURE_ON= --with-sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal SPATIALITE_CONFIGURE_WITH= spatialite SPATIALITE_LIB_DEPENDS= libspatialite.so:databases/spatialite SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES= sqlite WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XERCES_CONFIGURE_WITH= xerces XERCES_LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 ZSTD_CONFIGURE_WITH= zstd ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd post-patch: @${REINPLACE_CMD} -e '/^#GDAL_SLIB_SONAME/ s|^#||' ${WRKSRC}/GDALmake.opt.in @${REINPLACE_CMD} -e 's|$$(INST_LIB)/pkgconfig|${PREFIX}/libdata/pkgconfig|; s| LICENSE.TXT||' ${WRKSRC}/GNUmakefile @${REINPLACE_CMD} -e 's|-lminizip|-lkmlminizip|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|getCString()|c_str()|' ${WRKSRC}/frmts/pdf/pdfdataset.cpp ${WRKSRC}/frmts/pdf/pdfobject.cpp # Clean up bundled libraries @${RM} -r ${WRKSRC}/frmts/gif/giflib/ @${RM} -r ${WRKSRC}/frmts/gtiff/libgeotiff/ @${RM} -r ${WRKSRC}/frmts/gtiff/libtiff/ @${RM} -r ${WRKSRC}/frmts/jpeg/libjpeg/ @${RM} -r ${WRKSRC}/frmts/jpeg/libjpeg12/ @${RM} -r ${WRKSRC}/frmts/png/libpng/ @${RM} -r ${WRKSRC}/frmts/zlib/ @${RM} -r ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/ post-install: cd ${WRKSRC}/ && ${INSTALL_DATA} ${HEADER_FILES} ${STAGEDIR}${PREFIX}/include/ ${INSTALL_DATA} ${WRKSRC}/libgdal.a ${STAGEDIR}${PREFIX}/lib/ ${TOUCH} ${STAGEDIR}${PREFIX}/lib/gdalplugins/.keepme ${INSTALL_DATA} ${WRKSRC}/GDALmake.opt ${STAGEDIR}${DATADIR}/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdal.so.${PORTVERSION} .include Index: head/graphics/libgaiagraphics/Makefile =================================================================== --- head/graphics/libgaiagraphics/Makefile (revision 505218) +++ head/graphics/libgaiagraphics/Makefile (revision 505219) @@ -1,26 +1,26 @@ # Created by: lbartoletti # $FreeBSD$ PORTNAME= libgaiagraphics PORTVERSION= 0.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ MAINTAINER= lbartoletti@tuxfamily.org COMMENT= Library supporting common-utility raster handling methods LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libgeotiff.so:graphics/libgeotiff \ libcairo.so:graphics/cairo USES= gmake iconv jpeg pathfix pkgconfig libtool USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes CONFIGURE_ARGS= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" .include Index: head/graphics/libgeotiff/Makefile =================================================================== --- head/graphics/libgeotiff/Makefile (revision 505218) +++ head/graphics/libgeotiff/Makefile (revision 505219) @@ -1,36 +1,36 @@ # Created by: Sam Lawrance # $FreeBSD$ PORTNAME= libgeotiff -PORTVERSION= 1.4.3 +PORTVERSION= 1.5.1 CATEGORIES= graphics MASTER_SITES= https://download.osgeo.org/geotiff/libgeotiff/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for reading and writing GeoTIFF information tags LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libjbig.so:graphics/jbigkit \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff USES= jpeg libtool CONFIGURE_ARGS= --datadir=${DATADIR} \ --disable-doxygen-doc \ --disable-doxygen-dot \ --disable-doxygen-html \ --disable-doxygen-man \ --with-jpeg=${LOCALBASE} \ --with-proj=${LOCALBASE} \ --with-libtiff=${LOCALBASE} \ --with-zlib=/usr CPPFLAGS+= -fPIC GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes .include Index: head/graphics/libgeotiff/distinfo =================================================================== --- head/graphics/libgeotiff/distinfo (revision 505218) +++ head/graphics/libgeotiff/distinfo (revision 505219) @@ -1,3 +1,3 @@ -TIMESTAMP = 1546194150 -SHA256 (libgeotiff-1.4.3.tar.gz) = b8510d9b968b5ee899282cdd5bef13fd02d5a4c19f664553f81e31127bc47265 -SIZE (libgeotiff-1.4.3.tar.gz) = 1864829 +TIMESTAMP = 1561510414 +SHA256 (libgeotiff-1.5.1.tar.gz) = f9e99733c170d11052f562bcd2c7cb4de53ed405f7acdde4f16195cd3ead612c +SIZE (libgeotiff-1.5.1.tar.gz) = 528083 Index: head/graphics/libgeotiff/pkg-plist =================================================================== --- head/graphics/libgeotiff/pkg-plist (revision 505218) +++ head/graphics/libgeotiff/pkg-plist (revision 505219) @@ -1,68 +1,32 @@ bin/applygeo bin/geotifcp bin/listgeo include/cpl_serv.h include/epsg_datum.inc include/epsg_ellipse.inc include/epsg_gcs.inc include/epsg_pcs.inc include/epsg_pm.inc include/epsg_proj.inc include/epsg_units.inc include/epsg_vertcs.inc include/geo_config.h include/geo_ctrans.inc -include/geo_incode_defs.h include/geo_keyp.h include/geo_normalize.h include/geo_simpletags.h include/geo_tiffp.h include/geokeys.h include/geokeys.inc include/geonames.h include/geotiff.h include/geotiffio.h include/geovalues.h include/xtiffio.h lib/libgeotiff.a lib/libgeotiff.so -lib/libgeotiff.so.2 -lib/libgeotiff.so.2.2.0 +lib/libgeotiff.so.5 +lib/libgeotiff.so.5.0.0 man/man1/applygeo.1.gz man/man1/geotifcp.1.gz man/man1/listgeo.1.gz -%%DATADIR%%/epsg_csv/alias.csv -%%DATADIR%%/epsg_csv/area.csv -%%DATADIR%%/epsg_csv/change.csv -%%DATADIR%%/epsg_csv/compdcs.csv -%%DATADIR%%/epsg_csv/coordinate_axis.csv -%%DATADIR%%/epsg_csv/coordinate_axis_name.csv -%%DATADIR%%/epsg_csv/coordinate_operation.csv -%%DATADIR%%/epsg_csv/coordinate_operation_method.csv -%%DATADIR%%/epsg_csv/coordinate_operation_parameter.csv -%%DATADIR%%/epsg_csv/coordinate_operation_parameter_value.csv -%%DATADIR%%/epsg_csv/coordinate_operation_path.csv -%%DATADIR%%/epsg_csv/coordinate_reference_system.csv -%%DATADIR%%/epsg_csv/coordinate_system.csv -%%DATADIR%%/epsg_csv/csv2c.py -%%DATADIR%%/epsg_csv/csv_tools.py -%%DATADIR%%/epsg_csv/datum.csv -%%DATADIR%%/epsg_csv/datum_shift.csv -%%DATADIR%%/epsg_csv/datum_shift_pref.csv -%%DATADIR%%/epsg_csv/deprecation.csv -%%DATADIR%%/epsg_csv/ellipsoid.csv -%%DATADIR%%/epsg_csv/esri_datum_override.csv -%%DATADIR%%/epsg_csv/gcs.csv -%%DATADIR%%/epsg_csv/gcs.override.csv -%%DATADIR%%/epsg_csv/geoccs.csv -%%DATADIR%%/epsg_csv/naming_system.csv -%%DATADIR%%/epsg_csv/pcs.csv -%%DATADIR%%/epsg_csv/pcs.override.csv -%%DATADIR%%/epsg_csv/prime_meridian.csv -%%DATADIR%%/epsg_csv/projop_wparm.csv -%%DATADIR%%/epsg_csv/stateplane.csv -%%DATADIR%%/epsg_csv/supersession.csv -%%DATADIR%%/epsg_csv/unit_of_measure.csv -%%DATADIR%%/epsg_csv/version_history.csv -%%DATADIR%%/epsg_csv/vertcs.csv -%%DATADIR%%/epsg_csv/vertcs.override.csv Index: head/graphics/librasterlite/Makefile =================================================================== --- head/graphics/librasterlite/Makefile (revision 505218) +++ head/graphics/librasterlite/Makefile (revision 505219) @@ -1,34 +1,34 @@ # Created by: lbartoletti # $FreeBSD$ PORTNAME= librasterlite PORTVERSION= 1.1g -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/librasterlite-sources/ MAINTAINER= lbartoletti@tuxfamily.org COMMENT= Library that stores and retrieves raster coverages using a SpatiaLite LICENSE= MPL11 GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= libspatialite.so:databases/spatialite \ libsqlite3.so:databases/sqlite3 \ libgeotiff.so:graphics/libgeotiff \ libjbig.so:graphics/jbigkit \ libpng.so:graphics/png \ libgeos.so:graphics/geos \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libfreexl.so:textproc/freexl GNU_CONFIGURE= yes USES= gmake iconv jpeg libtool pathfix pkgconfig USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lsqlite3 -lm .include Index: head/graphics/librasterlite2/Makefile =================================================================== --- head/graphics/librasterlite2/Makefile (revision 505218) +++ head/graphics/librasterlite2/Makefile (revision 505219) @@ -1,45 +1,45 @@ # Created by: lbartoletti # $FreeBSD$ PORTNAME= librasterlite2 PORTVERSION= 1.0.0 DISTVERSIONSUFFIX=-rc0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ MAINTAINER= lbartoletti@tuxfamily.org COMMENT= Library that stores and retrieves raster coverages using a SpatiaLite LICENSE= MPL11 GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= libspatialite.so:databases/spatialite \ libsqlite3.so:databases/sqlite3 \ libgeotiff.so:graphics/libgeotiff \ libjbig.so:graphics/jbigkit \ libpng.so:graphics/png \ libgif.so:graphics/giflib \ libgeos.so:graphics/geos \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libfreexl.so:textproc/freexl \ libwebp.so:graphics/webp \ libcairo.so:graphics/cairo \ libcurl.so:ftp/curl GNU_CONFIGURE= yes USES= gmake iconv jpeg libtool pathfix pkgconfig USE_LDCONFIG= yes INSTALL_TARGET= install-strip # Work around PKG_CHECK_MODULES before base r276898 .if !exists(/usr/libdata/pkgconfig/liblzma.pc) CONFIGURE_ENV+= LIBLZMA_CFLAGS=" " LIBLZMA_LIBS="-llzma" .endif CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -lsqlite3 -lm .include Index: head/graphics/libreatlas/Makefile =================================================================== --- head/graphics/libreatlas/Makefile (revision 505218) +++ head/graphics/libreatlas/Makefile (revision 505219) @@ -1,52 +1,52 @@ # Created by: lbartoletti # $FreeBSD$ PORTNAME= libreatlas PORTVERSION= 1.0.0a -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= graphics geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ MAINTAINER= lbartoletti@tuxfamily.org COMMENT= Open Source Geography Education application LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs LIB_DEPENDS= libmspack.so:archivers/libmspack \ libspatialite.so:databases/spatialite \ libsqlite3.so:databases/sqlite3 \ libpcre.so:devel/pcre \ libcairo.so:graphics/cairo \ libgeos.so:graphics/geos \ libjbig.so:graphics/jbigkit \ libgeotiff.so:graphics/libgeotiff \ librasterlite.so:graphics/librasterlite \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfreexl.so:textproc/freexl \ libfontconfig.so:x11-fonts/fontconfig GNU_CONFIGURE= yes USES= compiler:c++11-lang gettext gmake iconv jpeg pathfix pkgconfig USE_XORG= ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp xext \ xfixes xi xinerama xrandr xrender xxf86vm USE_GNOME= atk gdkpixbuf2 glib20 gtk20 pango USE_WX= 2.8 CPPFLAGS+= -I${LOCALBASE}/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -lgeos_c -lsqlite3 PLIST_FILES= bin/LibreAtlas DESKTOP_ENTRIES="LibreAtlas" "${COMMENT}" "" "LibreAtlas" \ "Graphics;Viewer;" true post-patch: @${REINPLACE_CMD} -e 's|wx-config|$${WX_CONFIG}|' ${WRKSRC}/configure .include Index: head/graphics/mapcache/Makefile =================================================================== --- head/graphics/mapcache/Makefile (revision 505218) +++ head/graphics/mapcache/Makefile (revision 505219) @@ -1,82 +1,82 @@ # Created by: Ryan Melcer # $FreeBSD$ PORTNAME= mapcache DISTVERSION= 1.4.0-94 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONSUFFIX= -g732b3fd CATEGORIES= graphics MAINTAINER= gf-admins@iteris.com COMMENT= Server that implements tile caching to speed up access to WMS layers LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png \ libapr-1.so:devel/apr1 \ libaprutil-1.so:devel/apr1 \ libpixman-1.so:x11/pixman USE_GITHUB= yes GH_ACCOUNT= mapserver USES= cmake jpeg localbase USE_LDCONFIG= yes CMAKE_ARGS+= -DWITH_OGR=1 -DWITH_PIXMAN=1 -DWITH_BERKELEY_DB=0 OPTIONS_DEFINE= APACHE FASTCGI SQLITE MEMCACHE TIFF TIFF_WRITE \ GEOTIFF PCRE GDAL GEOS OPTIONS_DEFAULT= APACHE FASTCGI SQLITE GEOS GDAL OPTIONS_SUB= yes APACHE_DESC= Native apache module APACHE_USES= apache:2.2+ APACHE_CMAKE_ON= -DWITH_APACHE=1 \ -DAPACHE_INCLUDE_DIR=${LOCALBASE}/${APACHEINCLUDEDIR} \ -DAPACHE_MODULE_DIR=${LOCALBASE}/${APACHEMODDIR} APACHE_CMAKE_OFF= -DWITH_APACHE=0 FASTCGI_LIB_DEPENDS= libfcgi.so:www/fcgi FASTCGI_CMAKE_ON= -DWITH_FCGI=1 FASTCGI_CMAKE_OFF= -DWITH_FCGI=0 SQLITE_DESC= Use sqlite as a cache backend SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 SQLITE_CMAKE_ON= -DWITH_SQLITE=1 SQLITE_CMAKE_OFF= -DWITH_SQLITE=0 MEMCACHE_DESC= Use memcache as a cache backend MEMCACHE_CMAKE_ON= -DWITH_MEMCACHE=1 MEMCACHE_CMAKE_OFF= -DWITH_MEMCACHE=0 TIFF_DESC= Use TIFFs as a cache backend TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_ON= -DWITH_TIFF=1 TIFF_CMAKE_OFF= -DWITH_TIFF=0 TIFF_WRITE_DESC= Support for writable TIFF cache backends (implies TIFF) TIFF_WRITE_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_WRITE_CMAKE_ON= -DWITH_TIFF_WRITE_SUPPORT=1 TIFF_WRITE_CMAKE_OFF= -DWITH_TIFF_WRITE_SUPPORT=0 TIFF_WRITE_IMPLIES= TIFF GEOTIFF_DESC= GeoTIFF metadata creation for TIFF cache backends GEOTIFF_LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff GEOTIFF_CMAKE_ON= -DWITH_GEOTIFF=1 GEOTIFF_CMAKE_OFF= -DWITH_GEOTIFF=0 PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_CMAKE_ON= -DWITH_PCRE=1 PCRE_CMAKE_OFF= -DWITH_PCRE=0 GDAL_DESC= GDAL library support GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_CMAKE_ON= -DWITH_GDAL=1 -DWITH_OGR=1 GDAL_CMAKE_OFF= -DWITH_GDAL=0 -DWITH_OGR=0 GEOS_LIB_DEPENDS= libgeos_c.so:graphics/geos GEOS_CMAKE_ON= -DWITH_GEOS=1 GEOS_CMAKE_OFF= -DWITH_GEOS=0 .include Index: head/graphics/ossim/Makefile =================================================================== --- head/graphics/ossim/Makefile (revision 505218) +++ head/graphics/ossim/Makefile (revision 505219) @@ -1,35 +1,36 @@ # $FreeBSD$ PORTNAME= ossim DISTVERSIONPREFIX= Laguna- DISTVERSION= 2.8.0 +PORTREVISION= 1 CATEGORIES= graphics geography MAINTAINER= lbartoletti@tuxfamily.org COMMENT= Powerful suite of geospatial libraries and applications LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/bin/git:devel/git LIB_DEPENDS= libgeos.so:graphics/geos \ libgeotiff.so:graphics/libgeotiff \ libjsoncpp.so:devel/jsoncpp \ libtiff.so:graphics/tiff \ libopenjp2.so:graphics/openjpeg \ libfreetype.so:print/freetype2 \ libOpenThreads.so:graphics/osg USES= cmake compiler:c++11-lang jpeg localbase USE_GITHUB= yes GH_ACCOUNT= ossimlabs USE_LDCONFIG= yes CMAKE_OFF= BUILD_OSSIM_APPS CMAKE_ARGS= -DBUILD_LIBRARY_DIR:STRING=lib \ -DLIBSUFFIX:STRING="" \ -DINSTALL_ARCHIVE_DIR:STRING=lib \ -DINSTALL_LIBRARY_DIR:STRING=lib \ -DOSSIM_INCLUDE_DIR:STRING=${WRKSRC}/include .include Index: head/math/pdal/Makefile =================================================================== --- head/math/pdal/Makefile (revision 505218) +++ head/math/pdal/Makefile (revision 505219) @@ -1,85 +1,86 @@ # Created by: bart # $FreeBSD$ PORTNAME= pdal DISTVERSION= 1.9.1 +PORTREVISION= 1 CATEGORIES= math databases graphics MAINTAINER= lbartoletti@tuxfamily.org COMMENT= Library for translating and manipulating point cloud data LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libboost_thread.so:devel/boost-libs \ libcurl.so:ftp/curl \ libgeotiff.so:graphics/libgeotiff \ libxml2.so:textproc/libxml2 \ liblaszip.so:archivers/laszip \ libjsoncpp.so:devel/jsoncpp USES= cmake compiler:c++11-lib pathfix pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:tu} GH_PROJECT= ${GH_ACCOUNT} # Unhide std::to_string() to fix build with GCC (see ports/193528 for details). CXXFLAGS+= -D_GLIBCXX_USE_C99 CMAKE_ON= WITH_LASZIP #LASZIP is recommended OPTIONS_DEFINE= BASH \ ICEBRIDGE PGPOINTCLOUD SQLITE MBIO \ PYTHON TESTS OPTIONS_DEFAULT= PYTHON PGPOINTCLOUD SQLITE #Option without port #lazperf #Plugins with lib not in port: #RivLib, Matlab, MrSID, CPD, GeoWave, GreyHound, HexBin, NITF (nitro) OPTIONS_SUB= yes PGPOINTCLOUD_DESC= Enable Coherent PostgreSQL Point Cloud plugin PGPOINTCLOUD_CMAKE_ON= -DBUILD_PLUGIN_PGPOINTCLOUD:BOOL=TRUE PGPOINTCLOUD_USES= pgsql PGPOINTCLOUD_CMAKE_OFF= -DBUILD_PLUGIN_PGPOINTCLOUD:BOOL=FALSE SQLITE_DESC= Enable SQLite plugin SQLITE_CMAKE_ON= -DBUILD_PLUGIN_SQLITE:BOOL=TRUE SQLITE_USES= sqlite SQLITE_CMAKE_OFF= -DBUILD_PLUGIN_SQLITE:BOOL=FALSE PYTHON_DESC= Enable Python plugin PYTHON_CMAKE_ON= -DBUILD_PLUGIN_PYTHON:BOOL=TRUE PYTHON_USES= python PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_CMAKE_OFF= -DBUILD_PLUGIN_PYTHON:BOOL=FALSE TESTS_DESC= Enable Tests TESTS_CMAKE_ON= -DBUILD_PLUGIN_TESTS:BOOL=TRUE TESTS_CMAKE_OFF= DBUILD_PLUGIN_TESTS:BOOL=FALSE ICEBRIDGE_DESC= Enable Icebridge plugin ICEBRIDGE_LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/szip ICEBRIDGE_CMAKE_ON= -DBUILD_PLUGIN_ICEBRIDGE:BOOL=TRUE ICEBRIDGE_CMAKE_OFF= -DBUILD_PLUGIN_ICEBRIDGE:BOOL=FALSE MBIO_DESC= Enable MBIO plugin MBIO_CMAKE_ON= -DBUILD_PLUGIN_MBIO:BOOL=TRUE MBIO_CMAKE_OFF= -DBUILD_PLUGIN_MBIO:BOOL=FALSE BASH_DESC= BASH completion BASH_CMAKE_ON= -DWITH_COMPLETION:BOOL=TRUE BASH_RUN_DEPENDS= bash:shells/bash BASH_CMAKE_OFF= -DWITH_COMPLETION:BOOL=FALSE post-install-BASH-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions ${INSTALL_DATA} ${WRKSRC}/scripts/bash-completion/pdal \ ${STAGEDIR}${PREFIX}/share/bash-completion/completions .include Index: head/science/gnudatalanguage/Makefile =================================================================== --- head/science/gnudatalanguage/Makefile (revision 505218) +++ head/science/gnudatalanguage/Makefile (revision 505219) @@ -1,154 +1,154 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= gnudatalanguage PORTVERSION= 0.9.9 DISTVERSIONPREFIX= v -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= science lang .if defined(BUILD_PYTHON_MODULE) PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} .endif MAINTAINER= thierry@FreeBSD.org COMMENT?= GDL, a free IDL compatible incremental compiler LICENSE= GPLv2 LIB_DEPENDS+= libgeotiff.so:graphics/libgeotiff\ libplplot.so:math/plplot \ libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libsz.so:science/szip \ libps.so:print/pslib \ libgsl.so:math/gsl USE_GITHUB= yes GH_PROJECT= gdl USES= cmake compiler:c++11-lang fortran ncurses pkgconfig readline tar:tgz USE_WX= 3.0+ USE_XORG= x11 sm ice xext # On FreeBSD < 11 libc++ lacks support for sized delete operators. # GCC dropped the builtin version of these operators in 6+ by # defaulting to gnu++14. Force c++11 instead. # For a more detailed discussion see: # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219484 USE_CXXSTD= gnu++11 # Disable ncurses and readline from ports # Disable ImageMagick (does'nt work with plplot because dynamic drivers # are enabled by default) # TODO: add a slave port for mpich # TODO: create a port for Cmsvlib http://cow.physics.wisc.edu/~craigm/idl/down/cmsvlib.tar.gz # TODO: create a port for Astron http://idlastro.gsfc.nasa.gov/ftp/astron.tar.gz # TODO: create a port for TexToIdl http://physics.mnstate.edu/mcraig/textoidl/textoidl-2-1-2.tar CMAKE_ARGS= -DREADLINEDIR:STRING="/usr" \ -DOPENMP:BOOL=NO \ -DNCURSESDIR:STRING="/usr" \ -DMAGICK:BOOL=OFF CPPFLAGS+= ${CFLAGS} -fno-inline -DNPY_NO_DEPRECATED_API -DNPY_1_7_API_VERSION CXXFLAGS+= -std=gnu++11 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 LDFLAGS+= -lpthread -L${LOCALBASE}/lib SLAVEDIRS= science/py-gnudatalanguage OPTIONS_DEFINE= EIGEN EXAMPLES FFTW GLPK GRAPHICSMAGICK GRIB HDF5 LIBPROJ4 MPI NETCDF PYTHON UDUNITS OPTIONS_DEFAULT=EIGEN FFTW GLPK GRAPHICSMAGICK GRIB HDF5 LIBPROJ4 NETCDF PYTHON UDUNITS EIGEN_DESC= Eigen3 support (boost performance) EIGEN_USES= eigen:3 EIGEN_CMAKE_ON= -DEIGEN3:BOOL=YES EIGEN_CMAKE_OFF= -DEIGEN3:BOOL=NO FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW_CMAKE_ON= -DFFTW:BOOL=YES FFTW_CMAKE_OFF= -DFFTW:BOOL=NO GLPK_DESC= Support GLPK for Simplex (Linear programming) GLPK_LIB_DEPENDS= libglpk.so:math/glpk GLPK_CMAKE_ON= -DGLPK=ON:BOOL=YES GLPK_CMAKE_OFF= -DGLPK=OFF:BOOL=NO GRAPHICSMAGICK_DESC= Support GraphicsMagick GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick GRAPHICSMAGICK_CMAKE_ON= -DGRAPHICSMAGICK:BOOL=YES GRAPHICSMAGICK_CMAKE_OFF= -DGRAPHICSMAGICK:BOOL=NO GRIB_DESC= Support GRIB messages GRIB_LIB_DEPENDS= libgrib_api.so:science/grib_api GRIB_CMAKE_ON= -DGRIB:BOOL=YES GRIB_CMAKE_OFF= -DGRIB:BOOL=NO HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_CMAKE_ON= -DHDF5:BOOL=YES HDF5_CMAKE_OFF= -DHDF5:BOOL=NO -DHDF:BOOL=NO LIBPROJ4_DESC= Support cartographic processes LIBPROJ4_LIB_DEPENDS= libproj.so:graphics/proj LIBPROJ4_CMAKE_ON= -DLIBPROJ4:BOOL=YES LIBPROJ4_CMAKE_OFF= -DLIBPROJ4:BOOL=NO MPI_LIB_DEPENDS= libmpich.so:net/mpich MPI_CMAKE_ON= -DMPICH:BOOL=ON MPI_CMAKE_OFF= -DMPICH:BOOL=OFF NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NETCDF_CMAKE_ON= -DNETCDF:BOOL=YES -DHDF:BOOL=NO NETCDF_CMAKE_OFF= -DNETCDF:BOOL=NO PYTHON_USES= python:2.7 PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} PYTHON_CMAKE_ON= -DPYTHON:BOOL=YES -DPYTHONVERSION:STRING="${PYTHON_VER}" PYTHON_CMAKE_OFF= -DPYTHON:BOOL=NO # QHULL IS NOT NEEDED YET! #QHULL_DESC= Enable Triangulate and Qhull support #QHULL_LIB_DEPENDS= libqhull.so:math/qhull #QHULL_CMAKE_ON= -DQHULL:BOOL=YES #QHULL_CMAKE_OFF= -DQHULL:BOOL=NO UDUNITS_LIB_DEPENDS= libudunits2.so:science/udunits UDUNITS_CMAKE_ON= -DUDUNITS:BOOL=YES UDUNITS_CMAKE_OFF= -DUDUNITS:BOOL=NO .if defined(BUILD_PYTHON_MODULE) CATEGORIES+= python CMAKE_ARGS+= -DPYTHON_MODULE:BOOL=YES PLIST= ${.CURDIR}/pkg-plist.pymod .else CMAKE_ARGS+= -DPYTHON_MODULE:BOOL=NO .endif .if defined(BUILD_PYTHON_MODULE) do-install: ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/src/GDL.so ${STAGEDIR}${PYTHON_SITELIBDIR}/ .endif .if !defined(BUILD_PYTHON_MODULE) post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/testsuite (cd ${WRKSRC}/testsuite && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/testsuite/) .endif .if defined(MAINTAINER_MODE) regression-test: install . if defined(BUILD_PYTHON_MODULE) @${ECHO_CMD} 'import GDL' > ${WRKDIR}/testgdl.py @${ECHO_CMD} 'print GDL.function("sin",(1,))' >> ${WRKDIR}/testgdl.py ${PYTHON_CMD} ${WRKDIR}/testgdl.py . else @${ECHO_CMD} ".RUN ${EXAMPLESDIR}/testsuite/test_suite.pro" \ > ${WRKDIR}/testgdl @${ECHO_CMD} "exit" >> ${WRKDIR}/testgdl ${PREFIX}/bin/gdl < ${WRKDIR}/testgdl . endif .endif .include