diff --git a/comms/xastir/Makefile b/comms/xastir/Makefile index d85f37cfcc8f..38db1fe46280 100644 --- a/comms/xastir/Makefile +++ b/comms/xastir/Makefile @@ -1,93 +1,93 @@ # Created by: Carl Makin PORTNAME= xastir DISTVERSIONPREFIX= Release- DISTVERSION= 2.1.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= comms hamradio MAINTAINER= carl@stagecraft.cx COMMENT= X Amateur Station Tracking and Information Reporting LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xfontsel:x11-fonts/xfontsel RUN_DEPENDS= wget:ftp/wget LIB_DEPENDS= libfreetype.so:print/freetype2 \ libjasper.so:graphics/jasper \ libjbig.so:graphics/jbigkit \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libshp.so:devel/shapelib \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ libwebpmux.so:graphics/webp \ libwmflite.so:graphics/libwmf \ libpcre.so:devel/pcre USES= autoreconf gmake gnome jpeg motif shebangfix xorg USE_XORG= ice sm x11 xext xt USE_GNOME+= libxml2 GNU_CONFIGURE= yes SHEBANG_FILES= scripts/gpx2shape SHEBANG_REGEX= ./scripts/.*\.(sh|pl|py) USE_GITHUB= yes GH_ACCOUNT= Xastir GH_PROJECT= Xastir SUB_FILES= pkg-message OPTIONS_DEFINE= BDB CURL DAVIS ERRORPOP FESTIVAL GEOTIFF GPSMAN OPTIONS_RADIO= MGG OPTIONS_RADIO_MGG= GMAGICK IMAGICK DAVIS_DESC= Include Davis Weatherstation Support CURL_DESC= Include CURL Internet Image support GEOTIFF_DESC= Include GeoTIFF Support GPSMAN_DESC= Include GPSMAN Support FESTIVAL_DESC= Include Festival Voice Synthesis Support ERRORPOP_DESC= Send error popups to stderr BDB_DESC= Tiger Map Caching using Berkeley DB MGG_DESC= Image library for raster map processing IMAGICK_DESC= ImageMagick (Version 6) GMAGICK_DESC= GraphicsMagick (Needs GCC to compile) OPTIONS_DEFAULT= BDB CURL GMAGICK DAVIS_CONFIGURE_ON= --enable-davis IMAGICK_USES= magick:6 IMAGICK_CONFIGURE_WITH= imagemagick GMAGICK_LIB_DEPENDS= libGraphicsMagickWand.so:graphics/GraphicsMagick GMAGICK_CONFIGURE_WITH= graphicsmagick GMAGICK_USES= compiler:gcc-c++11-lib CURL_LIB_DEPENDS= libcurl.so:ftp/curl GEOTIFF_LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff 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} post-extract: @${REINPLACE_CMD} -e 's|2>&1||g' ${WRKSRC}/acinclude.m4 .include diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile index 3478e5579929..e8359b086278 100644 --- a/graphics/GraphicsMagick/Makefile +++ b/graphics/GraphicsMagick/Makefile @@ -1,109 +1,110 @@ # Created by: Ron van Daal PORTNAME= GraphicsMagick PORTVERSION= 1.3.38 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast image processing tools based on ImageMagick LICENSE= MIT USES= cpe libtool localbase pathfix tar:bzip2 CONFIGURE_ARGS= --enable-shared --enable-static \ --with-windows-font-dir=${WINDOWS_FONT_DIR} \ --without-perl --without-trio CONFIGURE_ENV= PTHREAD_LIBS=-lpthread GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check USE_LDCONFIG= yes # Use fonts installed by x11-fonts/webfonts by default WINDOWS_FONT_DIR?= ${LOCALBASE}/share/fonts/webfonts OPTIONS_DEFINE= BZIP2 DOCS FPX FREETYPE JASPER JBIG JPEG LCMS2 LZMA OPENMP Q8BIT PNG SSE TEST TIFF UMEM WEBP WMF X11 XML ZLIB ZSTD OPTIONS_DEFAULT=BZIP2 FREETYPE JASPER JBIG JPEG LCMS2 LZMA OPENMP PNG TIFF WEBP WMF X11 XML ZLIB Q8BIT_DESC= Use 8-bit pixels (speed) instead of 16-bit (quality) UMEM_DESC= UMEM memory allocation library support TEST_DESC= Run bundled self-tests after build BZIP2_CONFIGURE_WITH= bzlib FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx FREETYPE_CONFIGURE_WITH=ttf FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 JASPER_CONFIGURE_WITH= jp2 JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg LCMS2_CONFIGURE_WITH= lcms2 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LZMA_CONFIGURE_WITH= lzma OPENMP_CONFIGURE_OFF= --disable-openmp --without-threads OPENMP_CONFIGURE_ON= --disable-openmp-slow --enable-openmp --with-threads PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png Q8BIT_CONFIGURE_OFF= --with-quantum-depth=16 Q8BIT_CONFIGURE_ON= --with-quantum-depth=8 Q8BIT_PLIST_SUB= Q=8 Q8BIT_PLIST_SUB_OFF= Q=16 TEST_BUILD_DEPENDS= webfonts>=0:x11-fonts/webfonts TEST_RUN_DEPENDS= webfonts>=0:x11-fonts/webfonts TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff UMEM_CONFIGURE_WITH= umem WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf X11_CONFIGURE_OFF= ac_cv_lib_ICE_IceConnectionNumber=no X11_CONFIGURE_WITH= x X11_USES= xorg X11_USE= XORG=ice,sm,x11,xext XML_CONFIGURE_WITH= xml XML_USE= GNOME=libxml2 XML_USES= gnome ZLIB_CONFIGURE_WITH= zlib ZSTD_CONFIGURE_WITH= zstd ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd .include .if ${PORT_OPTIONS:MOPENMP} .if ${ARCH} != aarch64 && ${ARCH} != amd64 && ${ARCH} != powerpc64 && ${ARCH} != powerpc64le USES+= compiler:gcc-c++11-lib .endif .endif .if ${PORT_OPTIONS:MSSE} .if ${MACHINE_CPU:Msse} CFLAGS+= -msse .endif .if ${MACHINE_CPU:Msse2} CFLAGS+= -msse2 .endif .if ${MACHINE_CPU:Msse3} CFLAGS+= -msse3 .endif .endif .if ${PORT_OPTIONS:MWMF} .if ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libwmflite.so:graphics/libwmf .else LIB_DEPENDS+= libwmflite.so:graphics/libwmf-nox11 .endif .endif post-install-Q8BIT-off: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/GraphicsMagick/modules-Q16/coders ${STAGEDIR}${PREFIX}/lib/GraphicsMagick/modules-Q16/filters post-install-Q8BIT-on: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/GraphicsMagick/modules-Q8/coders ${STAGEDIR}${PREFIX}/lib/GraphicsMagick/modules-Q8/filters .include diff --git a/graphics/aaphoto/Makefile b/graphics/aaphoto/Makefile index f6d67a94764c..2bef710582a1 100644 --- a/graphics/aaphoto/Makefile +++ b/graphics/aaphoto/Makefile @@ -1,37 +1,37 @@ # Created by: Andras Horvath PORTNAME= aaphoto PORTVERSION= 0.43.1 DISTVERSIONPREFIX= v -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= graphics MAINTAINER= mail@log69.com COMMENT= Auto Adjust Photo, automatic color correction of photos LICENSE= GPLv3 LIB_DEPENDS= libjasper.so:graphics/jasper \ libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= log69 GNU_CONFIGURE= yes USES= jpeg CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/aaphoto .include .if (${ARCH} == amd64 || ${ARCH} == i386) CFLAGS+= -fopenmp -D__OPENMP__ .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/aaphoto ${STAGEDIR}${PREFIX}/bin .include diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index c46e3910bbbd..b6716a8d18ec 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -1,164 +1,164 @@ # Created by: Alexey Dokuchaev PORTNAME= darktable PORTVERSION= 3.8.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ MAINTAINER= dumbbell@FreeBSD.org COMMENT= Virtual lighttable and darkroom for photographers LICENSE= GPLv3 ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le ONLY_FOR_ARCHS_REASON= uses 64-bit address space BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ ${P5_POD_PARSER} \ po4a-translate:textproc/po4a \ xsltproc:textproc/libxslt \ bash:shells/bash LIB_DEPENDS= libcolord-gtk.so:graphics/colord-gtk \ libcolord.so:graphics/colord \ libcurl.so:ftp/curl \ libexiv2.so:graphics/exiv2 \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libicui18n.so:devel/icu \ libjasper.so:graphics/jasper \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libpng.so:graphics/png \ libpugixml.so:textproc/pugixml \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff # Fix build against cmake-3.21: the ninja generator in 3.21 suffers a # regression (see https://gitlab.kitware.com/cmake/cmake/-/issues/22487) # appending an invalid "-Wl,--no-as-needed" to the linker arguments for static # libraries. Once this regression has been fixed upstream, this can be # switched back to USES=cmake, and LTO can be re-enabled. USES= cmake compiler:c++14-lang desktop-file-utils gl gnome jpeg \ perl5 pkgconfig sdl shebangfix sqlite tar:xz xorg OPTIONS_EXCLUDE=LTO USE_GL= gl USE_GNOME= cairo gtk30 intltool librsvg2 libxml2 USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} USE_SDL= sdl2 USE_XORG= ice sm x11 xext xrandr SHEBANG_FILES= tools/*.sh CMAKE_ARGS+= -DBINARY_PACKAGE_BUILD=1 \ -DBUILD_CMSTEST:BOOL=ON \ -DUSE_KWALLET:BOOL=ON CFLAGS+= -fopenmp LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/} OPTIONS_DEFINE= AVIF DOCS GEO GPHOTO GMIC GRAPHMAGICK HEIF LIBSECRET LTO \ LUA NLS OPENEXR OPENJPEG PRINT TOOLS WEBP OPTIONS_DEFAULT= AVIF GEO GPHOTO HEIF LUA OPENEXR OPENJPEG PRINT WEBP OPTIONS_SUB= yes GEO_DESC= Support geotagging GMIC_DESC= Support G'Mic-compressed LUT in lut3d LIBSECRET_DESC= Support libsecret as password backend GEO_LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map GEO_CMAKE_BOOL= USE_MAP GMIC_LIB_DEPENDS= libgmic.so:graphics/gmic GMIC_CMAKE_BOOL= USE_GMIC GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 GPHOTO_CMAKE_BOOL= USE_CAMERA_SUPPORT GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GRAPHMAGICK_CMAKE_BOOL= USE_GRAPHICSMAGICK AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_CMAKE_BOOL= USE_AVIF LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret LIBSECRET_CMAKE_BOOL= USE_LIBSECRET LTO_CMAKE_BOOL= RAWSPEED_ENABLE_LTO LUA_USES= lua:54 LUA_CMAKE_BOOL= USE_LUA # FIXME: Even with NLS turned off, darktable(1) is still linked to # libintl.so. NLS_USES= gettext NLS_USES_OFF= gettext-runtime NLS_CMAKE_BOOL= USE_NLS NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENEXR_CMAKE_BOOL= USE_OPENEXR OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= USE_OPENJPEG PRINT_LIB_DEPENDS= libcups.so:print/cups PRINT_CMAKE_BOOL= BUILD_PRINT TOOLS_DESC= Install additional scripts TOOLS_BUILD_DEPENDS= exiftool:graphics/p5-Image-ExifTool TOOLS_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= USE_WEBP .include .if ${ARCH} == aarch64 || ${ARCH} == powerpc64le CMAKE_ARGS+= -DUSE_OPENCL:BOOL=OFF CXXFLAGS+= -DGDK_DISABLE_DEPRECATED PLIST_SUB+= NO_OPENCL="@comment " .else PLIST_SUB+= NO_OPENCL="" .endif .include .if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD || ${ARCH} == "i386" LLVM_DEFAULT= 13 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} LD= ${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} BINARY_ALIAS+= ld.lld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} BINARY_ALIAS+= llvm-objcopy=${LOCALBASE}/bin/llvm-objcopy${LLVM_DEFAULT} .endif # work around CMAKE/CCACHE flaw (cmake stomps over ccache) .if "${WITH_CCACHE_BUILD}" == "yes" && !defined(NO_CCACHE) CMAKE_ARGS+= -DCMAKE_C_COMPILER_LAUNCHER=${CCACHE_BIN} \ -DCMAKE_CXX_COMPILER_LAUNCHER=${CCACHE_BIN} .endif .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif # darktable defines the __XOPEN_SOURCE preprocessor macro, which # restricts symbol visibility on FreeBSD and causes compilation failures # on, for instance, the cups_print module, because u_char remains # undefined. Remove _XOPEN_SOURCE maro definitions. post-patch: ${REINPLACE_CMD} '/add_definitions."-D_XOPEN_SOURCE=.*"/d' ${WRKSRC}/CMakeLists.txt post-install-TOOLS-off: @${RM} -f ${STAGEDIR}${DATADIR}/tools/extract_wb_from_images.sh .include diff --git a/graphics/dcraw-m/Makefile b/graphics/dcraw-m/Makefile index 216d9da706fe..177f9a2e2ed7 100644 --- a/graphics/dcraw-m/Makefile +++ b/graphics/dcraw-m/Makefile @@ -1,39 +1,39 @@ # Created by: "Waitman Gobble" PORTNAME= dcraw-m PORTVERSION= 9.22 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MAINTAINER= waitman@waitman.net COMMENT= Modified Decoder for RAW files from digital cameras LICENSE= GPLv2 LIB_DEPENDS= libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 USE_GITHUB= yes GH_ACCOUNT= waitman GH_TAGNAME= 1392579 USES= jpeg magick:6 pkgconfig CFLAGS+= -Wall -I${LOCALBASE}/include \ `MagickWand-config --cflags --cppflags` \ -DMAGICKCORE_HDRI_ENABLE=0 \ -DMAGICKCORE_QUANTUM_DEPTH=16 LDFLAGS+= `MagickWand-config --ldflags --libs` -lm -llcms2 -ljpeg \ -ljasper LIBS+= -L${LOCALBASE}/lib PLIST_FILES= bin/dcraw-m do-build: ( cd ${WRKSRC} ; \ ${CC} ${CFLAGS} ${LIBS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/graphics/dcraw/Makefile b/graphics/dcraw/Makefile index 42cff776f5c0..4054dc866215 100644 --- a/graphics/dcraw/Makefile +++ b/graphics/dcraw/Makefile @@ -1,64 +1,64 @@ # Created by: Arjan van Leeuwen PORTNAME= dcraw PORTVERSION= 9.28 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Decoder for RAW files from digital cameras LICENSE= GPLv2+ LIB_DEPENDS= libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 USES= cpe jpeg localbase tar:xz CPPFLAGS+= -I${LOCALBASE}/include/jasper LIBS+= -ljasper -ljpeg -llcms2 -lm CONFLICTS_INSTALL= ufraw PLIST_FILES= bin/dcraw \ share/man/man1/dcraw.1.gz CPE_VENDOR= dcraw_project do-build: @cd ${WRKSRC}/ && ${CC} -o dcraw ${CPPFLAGS} ${CFLAGS} dcraw.c ${LDFLAGS} ${LIBS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dcraw ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/dcraw.1 ${STAGEDIR}${PREFIX}/share/man/man1/ # maintainer section: MS_DIFF= ${MS_WRKSRC}/dcraw.c.diff MS_VERSION= `${CAT} ${MS_VERSIONFILE}` MS_VERSIONFILE= ${MS_WRKSRC}/.version MS_WRKSRC= ${WRKSRC}/tmp MS_MASTER_SITE= https://www.dechifro.org/dcraw/ MS_DISTFILES= dcraw.1 dcraw.c maketar: do-clean extract @${MKDIR} ${MS_WRKSRC}/ .for file in ${MS_DISTFILES} @${FETCH_CMD} -o ${MS_WRKSRC}/${file} ${MS_MASTER_SITE}${file} .endfor @${GREP} '^#define DCRAW_VERSION' ${MS_WRKSRC}/dcraw.c | cut -d'"' -f2 > ${MS_VERSIONFILE} @${MKDIR} -m 755 ${MS_WRKSRC}/dcraw-${MS_VERSION}/ @cd ${MS_WRKSRC}/ && ${CHMOD} 644 ${MS_DISTFILES} && ${MV} ${MS_DISTFILES} dcraw-${MS_VERSION}/ @(${DIFF} -u ${WRKSRC}/dcraw.c ${MS_WRKSRC}/dcraw-${MS_VERSION}/dcraw.c > ${MS_DIFF}) || ${TRUE} @if [ -s ${MS_DIFF} ]; then \ cd ${MS_WRKSRC}/ && ${TAR} -Jcf dcraw-${MS_VERSION}.tar.xz dcraw-${MS_VERSION}/; \ sudo ${INSTALL} -m 644 ${MS_WRKSRC}/dcraw-${MS_VERSION}.tar.xz ${DISTDIR}/; \ ${SED} -i '' -e '/^PORTVERSION=/ s|${PORTVERSION}|'${MS_VERSION}'|; /^PORTREVISION=/d' ${.CURDIR}/Makefile; \ cd ${.CURDIR}/ && ${MAKE_CMD} makesum; \ ${ECHO_MSG} "*** Update from ${PORTVERSION} to ${MS_VERSION}, diff: ${MS_DIFF} ***"; \ else \ ${ECHO_MSG} "*** ${MS_MASTER_SITE}dcraw.c is unchanged (${PORTVERSION}) ***"; \ fi .include diff --git a/graphics/devil/Makefile b/graphics/devil/Makefile index e128496b4369..3901209ae0fd 100644 --- a/graphics/devil/Makefile +++ b/graphics/devil/Makefile @@ -1,70 +1,71 @@ PORTNAME= devil DISTVERSIONPREFIX= v DISTVERSION= 1.8.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= Cross-platform image library LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= DentonW GH_PROJECT= DevIL USE_LDCONFIG= yes PORTDOCS= * PORTEXAMPLES= * CMAKE_SOURCE_PATH= ${WRKSRC}/DevIL OPTIONS_DEFINE= JPEG JASPER LCMS2 LIBMNG PNG TIFF SQUISH DOCS EXAMPLES OPTIONS_DEFAULT=JPEG JASPER LCMS2 LIBMNG PNG TIFF SQUISH JPEG_USES= jpeg JPEG_CMAKE_OFF= -DIL_NO_JPG=1 JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_CMAKE_OFF= -DIL_NO_JP2=1 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CMAKE_OFF= -DIL_NO_LCMS=1 LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBMNG_CMAKE_OFF= -DIL_NO_MNG=1 PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_OFF= -DIL_NO_PNG=1 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_OFF= -DIL_NO_TIF=1 # With OPENEXR the library is not usable from plain C (instant segfault) # (but need to recheck with 1.8.0), also the detection is broken #OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr #OPENEXR_CMAKE_OFF= -DIL_NO_EXR=1 CMAKE_ARGS+= -DIL_NO_EXR=1 SQUISH_DESC= Enable DXT compression via libsquish SQUISH_LIB_DEPENDS= libsquish.so:graphics/squish SQUISH_CMAKE_BOOL= IL_USE_DXTC_SQUISH # Fails to build with NVTT, uses not installed header # (and NVTT is deprecated anyway) #NVTT_DESC= Enable NVidia texture tools support #NVTT_BROKEN= does not build #NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools #NVTT_CMAKE_BOOL= IL_USE_DXTC_NVIDIA CMAKE_ARGS+= -DIL_USE_DXTC_NVIDIA=0 post-install-DOCS-on: cd ${WRKSRC}/DevIL-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/DevIL && ${INSTALL_DATA} CREDITS NEWS README.md TODO ${STAGEDIR}${DOCSDIR}/ post-install-EXAMPLES-on: cd ${WRKSRC}/DevIL/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/graphics/digikam/Makefile b/graphics/digikam/Makefile index f6d183009734..fdd4e40c85f4 100644 --- a/graphics/digikam/Makefile +++ b/graphics/digikam/Makefile @@ -1,103 +1,103 @@ PORTNAME= digikam DISTVERSION= 7.6.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= KDE/digikam/${PORTVERSION} # One bit changed in the naming convention .. DISTFILES= digiKam-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} MAINTAINER= kde@FreeBSD.org COMMENT= KDE digital photo management application LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libKF5Sane.so:graphics/libksane \ libboost_graph.so:devel/boost-libs \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libgphoto2.so:graphics/libgphoto2 \ libicalss.so:devel/libical \ libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ liblqr-1.so:graphics/liblqr-1 \ libopencv_core.so:graphics/opencv \ libpgf.so:graphics/libpgf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libx265.so:multimedia/x265 USES= bison cmake compiler:c++11-lib desktop-file-utils eigen:3 gl \ gnome jpeg kde:5 magick pkgconfig qt:5 shebangfix tar:xz xorg USE_GL= gl glu USE_GNOME= glib20 libxml2 libxslt USE_KDE= archive auth bookmarks calendarcore codecs completion config \ configwidgets coreaddons crash doctools ecm filemetadata \ guiaddons i18n iconthemes itemmodels itemviews jobwidgets kdelibs4support \ kio marble libkipi notifications notifyconfig parts service \ solid sonnet textwidgets threadweaver unitconversion \ widgetsaddons windowsystem xmlgui USE_QT= concurrent core dbus declarative gui location network opengl \ printsupport sql webchannel widgets x11extras xml xmlpatterns \ sql-sqlite3_run \ buildtools_build qmake_build USE_XORG= ice sm x11 xext USE_LDCONFIG= yes SHEBANG_FILES= core/data/scripts/digitaglinktree/digitaglinktree # Disable kipiplugins, as they are built in their own port: graphics/kipiplugins. # Remember to keep that port in sync with this one. CMAKE_ON= DIGIKAMSC_COMPILE_DIGIKAM OPTIONS_DEFINE= DOCS DOXYGEN KDEPIM KVKONTAKTE MEDIAPLAYER MYSQL NLS WEBENGINE OPTIONS_DEFAULT= ${OPTIONS_DEFINE:NWEBENGINE} OPTIONS_SUB= yes DOCS_DESC= Digikam documentation DOCS_CMAKE_BOOL= DIGIKAMSC_COMPILE_DOC DOCS_USES= gettext DOCS_USE= KDE=doctools DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS KDEPIM_DESC= KDEPim Addressbook support KDEPIM_USE= KDE=akonadi,akonadicontacts,contacts,grantleetheme KDEPIM_USES= grantlee:5 KDEPIM_CMAKE_BOOL= ENABLE_AKONADICONTACTSUPPORT KDEPIM_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5AkonadiContact MEDIAPLAYER_DESC= Enable mediaplayer MEDIAPLAYER_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libQtAV.so:multimedia/QtAV MEDIAPLAYER_CMAKE_BOOL= ENABLE_MEDIAPLAYER MEDIAPLAYER_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_FFmpeg \ CMAKE_DISABLE_FIND_PACKAGE_QtAV MYSQL_USES= mysql:server MYSQL_USE= QT=sql-mysql_run MYSQL_CMAKE_BOOL= ENABLE_INTERNALMYSQL \ ENABLE_MYSQLSUPPORT MYSQL_CMAKE_ON= -DMYSQLD_PATH:PATH=${LOCALBASE}/libexec \ -DMYSQL_TOOLS_PATH:PATH=${LOCALBASE}/bin KVKONTAKTE_DESC= vk.com Plugin KVKONTAKTE_LIB_DEPENDS= libKF5Vkontakte.so:net/libkvkontakte KVKONTAKTE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5Vkontakte NLS_DESC= Digikam i18n translations NLS_CMAKE_BOOL= DIGIKAMSC_COMPILE_PO NLS_USES= gettext NLS_USE= KDE=i18n WEBENGINE_DESC= Use Qt WebEngine instead of WebKit WEBENGINE_USE= QT=webengine WEBENGINE_USE_OFF= QT=webkit WEBENGINE_CMAKE_BOOL= ENABLE_QWEBENGINE PLIST_SUB= SHLIB_VER=${DISTVERSION} .include diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index cc5fbbab3962..0c5d3b2c8baf 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -1,211 +1,211 @@ # Created by: Randall Hopper PORTNAME= gdal PORTVERSION= 3.4.2 -PORTREVISION= 1 +PORTREVISION= 2 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 BUILD_DEPENDS= libgeotiff>=1.5.0:graphics/libgeotiff \ proj>=6,1:graphics/proj LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff \ libgif.so:graphics/giflib \ libjson-c.so:devel/json-c \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libqhull_r.so:math/qhull \ libtiff.so:graphics/tiff OPTIONS_DEFINE= ARMADILLO BRUNSLI CFITSIO CHARLS CRYPTOPP CURL DEFLATE DODS ECW EXPAT EXR FREEXL GEOS GTA HDF5 HEIF JASPER KML LERC LIBXML2 LZ4 MYSQL NETCDF ODBC OPENJPEG PCRE PCRE2 PGSQL RASTERLITE2 SFCGAL SPATIALITE SQLITE TILEDB WEBP XERCES ZSTD OPTIONS_RADIO= PDF OPTIONS_RADIO_PDF= PODOFO POPPLER OPTIONS_DEFAULT=CURL EXPAT FREEXL GEOS JASPER LIBXML2 LZ4 OPENJPEG PCRE2 PGSQL POPPLER WEBP ZSTD \ HDF5 KML NETCDF SPATIALITE SFCGAL SQLITE XERCES OPTIONS_SUB= yes BRUNSLI_DESC= Brunsli support via libbrunsli library CHARLS_DESC= JPEG-Lossless support via charls CRYPTOPP_DESC= Cryptopp support DEFLATE_DESC= Faster deflate support via libdeflate library DODS_DESC= DODS/OPeNDAP support EXR_DESC= EXR support via OpenEXR library HEIF_DESC= HEIF support via libheif library LERC_DESC= LERC (Limited Error Raster Compression) support PCRE_DESC= Regular expression support for SQLite PCRE2_DESC= Regular expression support for SQLite RASTERLITE2_DESC= RasterLite2 support TILEDB_DESC= TileDB support USES= compiler:c++17-lang cpe gmake iconv jpeg localbase pkgconfig ssl tar:xz CFLAGS+= -fPIC CONFIGURE_ARGS= --datadir=${PREFIX}/share \ --enable-static=yes \ --with-cpp14 \ --with-crypto=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-msg=no \ --with-pcidsk=internal \ --with-pcraster=internal \ --with-png=yes \ --with-proj=yes \ --with-qhull=yes \ --with-threads=yes \ --without-jpeg12 \ --without-libtool \ ${ICONV_CONFIGURE_ARG} GNU_CONFIGURE= yes LDFLAGS+= ${ICONV_LIB} MAKEFILE= GNUmakefile USE_CXXSTD= c++17 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} SLAVEDIRS= graphics/p5-Geo-GDAL graphics/py-gdal CPE_VENDOR= osgeo 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_OFF=--with-armadillo=no ARMADILLO_CONFIGURE_ON= --with-armadillo=${LOCALBASE} ARMADILLO_LIB_DEPENDS= libarmadillo.so:math/armadillo BRUNSLI_CONFIGURE_WITH= brunsli BRUNSLI_LIB_DEPENDS= libbrunslidec-c.so:graphics/brunsli CFITSIO_CONFIGURE_WITH= cfitsio CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio CHARLS_CONFIGURE_WITH= charls CHARLS_LIB_DEPENDS= libcharls.so:graphics/charls CRYPTOPP_CONFIGURE_OFF= --with-cryptopp=no CRYPTOPP_CONFIGURE_ON= --with-cryptopp=${LOCALBASE} CRYPTOPP_LIB_DEPENDS= libcryptopp.so:security/cryptopp CURL_CONFIGURE_OFF= --with-curl=no CURL_CONFIGURE_ON= --with-curl=${LOCALBASE}/bin/curl-config CURL_LIB_DEPENDS= libcurl.so:ftp/curl DEFLATE_CONFIGURE_WITH= libdeflate DEFLATE_LIB_DEPENDS= libdeflate.so:archivers/libdeflate DODS_CONFIGURE_OFF= --with-dods-root=no DODS_CONFIGURE_ON= --with-dods-root=${LOCALBASE} DODS_LIB_DEPENDS= libdap.so:devel/libdap ECW_CONFIGURE_WITH= ecw ECW_LIB_DEPENDS= libNCSEcw.so:graphics/libecwj2 EXPAT_CONFIGURE_WITH= expat EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 EXR_CONFIGURE_WITH= exr EXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr EXR_CFLAGS= -DInt64=uint64_t 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 HEIF_CONFIGURE_WITH= heif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif JASPER_CONFIGURE_WITH= jasper JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper KML_CONFIGURE_WITH= libkml KML_LIB_DEPENDS= libkmlbase.so:science/libkml LERC_CONFIGURE_OFF= --with-lerc=no LERC_CONFIGURE_ON= --with-lerc=${LOCALBASE} LERC_LIB_DEPENDS= libLerc.so:graphics/lerc LIBXML2_CONFIGURE_OFF= --with-xml2=no LIBXML2_CONFIGURE_ON= --with-xml2=yes LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 LZ4_CONFIGURE_OFF= --with-lz4=no LZ4_CONFIGURE_ON= --with-lz4=yes LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 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_BUILD_DEPENDS= openjpeg>=2.1.0:graphics/openjpeg OPENJPEG_CONFIGURE_WITH=openjpeg OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PCRE_CONFIGURE_WITH= pcre PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE2_CONFIGURE_WITH= pcre2 PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PGSQL_CONFIGURE_WITH= pg 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 RASTERLITE2_CONFIGURE_OFF= --with-rasterlite2=no RASTERLITE2_CONFIGURE_ON= --with-rasterlite2=${LOCALBASE} RASTERLITE2_LIB_DEPENDS=librasterlite2.so:graphics/librasterlite2 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 TILEDB_CONFIGURE_OFF= --with-tiledb=no TILEDB_CONFIGURE_ON= --with-tiledb=${LOCALBASE} TILEDB_LIB_DEPENDS= libtiledb.so:databases/tiledb 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: # Clean up bundled libraries @${RM} -r ${WRKSRC}/alg/internal_libqhull/ @${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/ @${RM} -r ${WRKSRC}/third_party/LercLib/ post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/scripts/gdal-bash-completion.sh ${STAGEDIR}${PREFIX}/etc/bash_completion.d cd ${WRKSRC}/ && ${INSTALL_DATA} ${HEADER_FILES} ${STAGEDIR}${PREFIX}/include/ ${INSTALL_DATA} ${WRKSRC}/libgdal.a ${STAGEDIR}${PREFIX}/lib/ ${INSTALL_DATA} ${WRKSRC}/GDALmake.opt ${STAGEDIR}${DATADIR}/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdal.so .include diff --git a/graphics/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile index 187a93018a81..9ecca68293f9 100644 --- a/graphics/gdk-pixbuf2/Makefile +++ b/graphics/gdk-pixbuf2/Makefile @@ -1,54 +1,54 @@ # Created by: Ade Lovett PORTNAME= gdk-pixbuf PORTVERSION= 2.40.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= GNOME PKGNAMESUFFIX= 2 DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Graphic library for GTK+ LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl USES= cpe gettext gnome localbase:ldflags meson pkgconfig \ python:3.4+,build shared-mime-info tar:xz trigger CPE_VENDOR= gnome USE_GNOME= glib20 introspection:build libxslt:build USE_LDCONFIG= yes MESON_ARGS= -Dman=true TRIGGERS= gdk-pixbuf-query-loaders SUB_LIST= GTK2_VERSION=${GTK2_VERSION} BINARY_ALIAS= python3=${PYTHON_VERSION} OPTIONS_SUB= yes OPTIONS_DEFINE= JASPER JPEG PNG TIFF X11 OPTIONS_DEFAULT=JPEG PNG TIFF X11 JASPER_MESON_TRUE= jasper JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JPEG_MESON_TRUE= jpeg JPEG_USES= jpeg PNG_MESON_TRUE= png PNG_LIB_DEPENDS= libpng.so:graphics/png TIFF_MESON_TRUE= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff X11_MESON_TRUE= x11 X11_USES= xorg X11_USE= xorg=x11 post-install: ${RM} -rf ${STAGEDIR}${PREFIX}/libexec/installed-tests ${RM} -rf ${STAGEDIR}${PREFIX}/share/installed-tests .include diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile index 9e63a9ca0227..834d13b33d52 100644 --- a/graphics/gegl/Makefile +++ b/graphics/gegl/Makefile @@ -1,140 +1,140 @@ # Created by: Pietro Cerutti PORTNAME= gegl PORTVERSION= 0.4.34 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= GIMP MAINTAINER= gnome@FreeBSD.org COMMENT= Graph based image processing framework LICENSE= BSD3CLAUSE GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libjson-glib-1.0.so:devel/json-glib \ libfribidi.so:converters/fribidi \ libnsgif.so:graphics/libnsgif \ libpng.so:graphics/png USES= compiler:c++14-lang cpe gettext gnome jpeg localbase \ meson pkgconfig shebangfix uniquefiles tar:xz USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Ddocs=false \ -Dworkshop=false \ -Dintrospection=true \ -Dlensfun=disabled \ -Dlibjpeg=enabled \ -Dlibpng=enabled \ -Dmrg=disabled \ -Dpygobject=disabled \ -Dlua=disabled GEGL_SHLIB= 0.433.1 GEGL_VER= 0.4 PLIST_SUB+= GEGL_SHLIB=${GEGL_SHLIB} GEGL_VER=${GEGL_VER} SHEBANG_FILES= tools/xml_insert.sh OPTIONS_SUB= yes OPTIONS_DEFINE= CAIRO ENSCRIPT FFMPEG PIXBUF GRAPHVIZ JASPER LCMS2 \ OPENEXR RAW PANGO POPPLER LIBRSVG2 SDL SPIRO V4L \ WEBP TIFF GEXIV2 VAPI OPTIONS_DEFAULT=CAIRO ENSCRIPT GEXIV2 PIXBUF GRAPHVIZ JASPER LCMS2 \ OPENEXR RAW PANGO POPPLER LIBRSVG2 SDL SPIRO V4L WEBP TIFF VAPI PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= gdk-pixbuf CAIRO_USE= GNOME=cairo CAIRO_MESON_ENABLED= cairo PANGO_USE= GNOME=pango PANGO_MESON_ENABLED= pango POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_MESON_ENABLED= poppler ENSCRIPT_DESC= Enscript support ENSCRIPT_BUILD_DEPENDS= enscript:print/enscript-a4 FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg FFMPEG_MESON_ENABLED= libav GRAPHVIZ_LIB_DEPENDS= libcgraph.so:graphics/graphviz GRAPHVIZ_MESON_ENABLED= graphviz JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_MESON_ENABLED= jasper LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_MESON_ENABLED= openexr RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_ENABLED= libraw LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= librsvg SDL_USE= SDL=sdl2 SDL_USES= sdl SDL_MESON_ENABLED= sdl2 SPIRO_DESC= Spiro support SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro SPIRO_MESON_ENABLED= libspiro V4L_BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_MESON_ENABLED= libv4l2 V4L_VARS= LICENSE+=LGPL20+ WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_ENABLED= webp # UMFPACK has two "problems" # 1) it build with port gcc 2) needed libs aren't recorded in the libraries. #UMFPACK_DESC= UMFpack support #UMFPACK_LIB_DEPENDS= libumfpack.so:math/suitesparse #UMFPACK_MESON_ENABLED= umfpack MESON_ARGS+= -Dumfpack=disabled GEXIV2_DESC= EXIF and IPTC metadata support via gexiv2 GEXIV2_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 GEXIV2_MESON_ENABLED= gexiv2 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= libtiff VAPI_BUILD_DEPENDS= vapigen:lang/vala VAPI_MESON_ENABLED= vapigen .include .if ${PORT_OPTIONS:MPANGO} && ${PORT_OPTIONS:MCAIRO} PLIST_SUB+= PANGOCAIRO="" MESON_ARGS+= -Dpangocairo=enabled .else MESON_ARGS+= -Dpangocairo=disabled PLIST_SUB+= PANGOCAIRO="@comment " .endif .if defined(WITH_DEBUG) LDFLAGS+= -lexecinfo .endif post-patch: .if ${CHOSEN_COMPILER_TYPE} == clang ${REINPLACE_CMD} -e '/altivec.h/d' ${WRKSRC}/gegl/opencl/cl_platform.h .endif .include diff --git a/graphics/libkdcraw/Makefile b/graphics/libkdcraw/Makefile index 7daa4b79bd02..b718fe088edf 100644 --- a/graphics/libkdcraw/Makefile +++ b/graphics/libkdcraw/Makefile @@ -1,24 +1,24 @@ PORTNAME= libkdcraw DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= LibRaw interface for KDE LICENSE= GPLv2+ LIB_DEPENDS= libjasper.so:graphics/jasper \ liblcms.so:graphics/lcms \ libxml2.so:textproc/libxml2 \ libraw.so:graphics/libraw USES= cmake compiler:c++11-lang jpeg kde:5 pkgconfig qt:5 tar:xz USE_KDE= ecm USE_QT= core gui \ buildtools_build qmake_build USE_LDCONFIG= yes CMAKE_ARGS= -DWITH_OpenMP:BOOL=False \ -DENABLE_RAWSPEED=True .include diff --git a/graphics/libraw/Makefile b/graphics/libraw/Makefile index 58c89fd37c21..cbd40c4938a3 100644 --- a/graphics/libraw/Makefile +++ b/graphics/libraw/Makefile @@ -1,67 +1,67 @@ # Created by: Sergey A. Osokin PORTNAME= libraw PORTVERSION= 0.20.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= http://www.libraw.org/data/ DISTNAME= LibRaw-${PORTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= Library for manipulating raw images LICENSE= LGPL21 CDDL LICENSE_COMB= dual USES= cpe libtool localbase pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-examples INSTALL_TARGET= install-strip PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES JASPER JPEG LCMS2 OPENMP OPTIMIZED_CFLAGS \ RPIRAW X3F OPTIONS_DEFAULT= JPEG LCMS2 JASPER_CONFIGURE_ENABLE= jasper JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JPEG_CONFIGURE_ENABLE= jpeg JPEG_USES= jpeg LCMS2_CONFIGURE_ENABLE= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 OPENMP_DESC= OpenMP support (implies GCC) OPENMP_CONFIGURE_ENABLE= openmp OPENMP_LDFLAGS+= -lomp RPIRAW_DESC= Raspberry Pi RAW+JPEG support RPIRAW_CPPFLAGS= -DUSE_6BY9RPI X3F_DESC= X3F (Foveon) support X3F_CPPFLAGS= -DUSE_X3FTOOLS OPTIMIZED_CFLAGS_CFLAGS= -O3 post-patch: @${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/*.pc.in @${TOUCH} -r ${WRKSRC}/configure.ac ${WRKSRC}/aclocal.m4 # Use "\*" instead of "." in COPYTREE_SHARE commands as "." has # the undesired effect of copying ".deps" directory post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/samples && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/graphics/mtpaint/Makefile b/graphics/mtpaint/Makefile index 7d033b2d568a..83ee6b6fc4ef 100644 --- a/graphics/mtpaint/Makefile +++ b/graphics/mtpaint/Makefile @@ -1,71 +1,72 @@ # Created by: Andrew Pantyukhin PORTNAME= mtpaint DISTVERSION= 3.50.09 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= eduardo@FreeBSD.org COMMENT= Simple painting program LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 USES= desktop-file-utils gmake gnome iconv jpeg pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= wjaguar GH_PROJECT= mtPaint GH_TAGNAME= 4ea607e USE_GNOME= cairo gdkpixbuf2 gtk30 USE_XORG= x11 HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/share/man/man1 \ --localedir=${PREFIX}/share/locale \ asneeded gtk3 cflags ft jpeg man tiff CFLAGS+= -fcommon LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} PORTDOCS= NEWS README OPTIONS_DEFINE= DOCS LCMS2 NLS OPENJPEG WEBP OPTIONS_DEFAULT= LCMS2 OPENJPEG WEBP OPTIONS_SUB= yes LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_ON= lcms2 LCMS2_CONFIGURE_OFF= nolcms NLS_USES= gettext NLS_CONFIGURE_ON= intl OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_LIB_DEPENDS_OFF=libjasper.so:graphics/jasper OPENJPEG_CONFIGURE_ON= jp2v2 OPENJPEG_CONFIGURE_OFF= jasper WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ON= webp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} do-install-NLS-on: .for lang in cs de es fr gl hu it ja kab nl pl pt pt_BR ru sk sv tl tr zh_CN zh_TW @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/mtpaint.mo .endfor .include diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index d57c02afa30c..f547194ea1f5 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -1,141 +1,142 @@ # Created by: Jean-Marc Zucconi PORTNAME= netpbm DISTVERSION= 10.91.01 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/t6/netpbm/releases/download/v${DISTVERSION}/ MAINTAINER= leres@FreeBSD.org COMMENT= Toolkit for conversion of images between different formats LICENSE= GPLv2 IJG LGPL21 MIT PD LICENSE_COMB= multi LICENSE_NAME_IJG= Independent JPEG Group License LICENSE_FILE_IJG= ${WRKSRC}/doc/copyright_summary LICENSE_PERMS_IJG= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept TEST_DEPENDS= bash:shells/bash # The port follows the advanced release series. Upstream does not # create tarballs for them, so we have to roll our own. See # http://netpbm.sourceforge.net/getting_netpbm.php. To checkout the # sources yourself see the netpbm-version-check and netpbm-fetch # targets below. USES= cpe ghostscript:test gmake perl5 shebangfix tar:xz USE_LDCONFIG= yes USE_PERL5= build test CPE_VENDOR= netpbm_project SHEBANG_FILES= buildtools/makeman converter/pbm/pbmtox10bm editor/pnmflip \ editor/pnmquant editor/ppmfade editor/ppmquant editor/ppmshadow \ generator/ppmrainbow test/*.test test/Available-Testprog \ test/Execute-Tests MAKEFILE= GNUmakefile MAKE_ARGS= BINMODE=${BINMODE} \ CC=${CC} \ DATADIR=${DATADIR} \ DATAMODE=${_SHAREMODE} \ DIRMODE=755 \ MANMODE=${MANMODE} \ pkgdir=${STAGEDIR}${PREFIX} \ SHAREMODE=${SHAREMODE} INSTALL_TARGET= install.bin install.lib install.data install.hdr \ install.staticlib TEST_ARGS= pkgdir="${STAGEDIR}${PREFIX}" \ resultdir="${WRKDIR}/tests" \ RGBDEF="${STAGEDIR}${PREFIX}/share/netpbm/rgb.txt" TEST_TARGET= check # Disable fragile tests. tiff-flate-lzw-roundtrip's checksums are # different on FreeBSD so the test fails. The resulting and # intermediary images look fine in spite of this. _DISABLE_TESTS= all-in-place palm-roundtrip pamdice pamexec pamhue \ pammixmulti-identity pamtopdbimg pamvalidate pj-roundtrip \ ps-alt-roundtrip tiff-flate-lzw-roundtrip OPTIONS_DEFINE= MANPAGES PERL STATIC SVGTOPAM X11 OPTIONS_DEFAULT= MANPAGES PERL OPTIONS_SUB= yes SVGTOPAM_DESC= Build svgtopam X11_DESC= Build pamx PERL_USE= PERL5=run STATIC_BUILD_DEPENDS= jasper>0:graphics/jasper \ jbigkit>0:graphics/jbigkit \ png>0:graphics/png \ tiff>0:graphics/tiff STATIC_LIB_DEPENDS_OFF= libjasper.so:graphics/jasper \ libjbig.so:graphics/jbigkit \ libpng.so:graphics/png \ libtiff.so:graphics/tiff STATIC_USES= jpeg:build STATIC_USES_OFF= jpeg SVGTOPAM_USES= gnome SVGTOPAM_USE= GNOME=libxml2 SVGTOPAM_VARS_OFF= _DISABLE_TESTS+=svgtopam X11_USES= xorg X11_USE= XORG=x11,xau,xcb,xdmcp post-patch: @${REINPLACE_CMD} -e 's|misc|share/netpbm|g' ${WRKSRC}/common.mk @${REINPLACE_CMD} -e 's|pkg-config|false|g' ${WRKSRC}/GNUmakefile @${REINPLACE_CMD} ${_DISABLE_TESTS:@.test.@-e '/${.test.}/d'@} \ ${WRKSRC}/test/Test-Order post-patch-STATIC-on: @${REINPLACE_CMD} -e 's|$$(LD)|$$(LD) -static|g' \ -e 's@$$(NETPBMLIBFNAME)@libnetpbm.a@' \ ${WRKSRC}/common.mk # Disable building svgtopam by default. It is the only program that # requires libxml2 and it is not useful in this day and age according # to the author. See the top of converter/other/svgtopam.c for more # details. post-patch-SVGTOPAM-off: @${REINPLACE_CMD} '/svgtopam/d' ${WRKSRC}/converter/other/Makefile post-patch-X11-off: @${REINPLACE_CMD} '/pamx/d' ${WRKSRC}/other/Makefile do-configure: @${CAT} ${WRKSRC}/config.mk.in ${FILESDIR}/config.mk > ${WRKSRC}/config.mk post-install: @cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libnetpbm.so.11 libnetpbm.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnetpbm.so @${RM} ${STAGEDIR}${PREFIX}/bin/manweb ${INSTALL_DATA} ${WRKSRC}/lib/util/pm_c_util.h ${WRKSRC}/pm_config.h \ ${STAGEDIR}${PREFIX}/include/netpbm ${MV} ${STAGEDIR}${PREFIX}/staticlink/libnetpbm.a ${STAGEDIR}${PREFIX}/lib ${RMDIR} ${STAGEDIR}${PREFIX}/sharedlink ${STAGEDIR}${PREFIX}/staticlink post-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/*.3 ${STAGEDIR}${PREFIX}/man/man3 ${INSTALL_MAN} ${WRKSRC}/man/*.5 ${STAGEDIR}${PREFIX}/man/man5 .if defined(DEVELOPER) # A lot of this is stolen from the netpbm OpenBSD port NETPBM_REPO= https://svn.code.sf.net/p/netpbm/code NETPBM_SERIES= advanced netpbm-version-check: @REV=`svnlite info ${NETPBM_REPO}/${NETPBM_SERIES}/version.mk | ${SED} -n 's/Last Changed Rev: //p'`; \ VERSION=`(svnlite cat -r$$REV ${NETPBM_REPO}/${NETPBM_SERIES}/version.mk; \ echo 'all:'; \ echo ' @printf "%02d.%02d.%02d" \'; \ echo ' $${NETPBM_MAJOR_RELEASE} \' ; \ echo ' $${NETPBM_MINOR_RELEASE} \' ; \ echo ' $${NETPBM_POINT_RELEASE} \' ; \ ) | make -f -`; \ case `pkg version -t ${PORTVERSION} $$VERSION` in \ '>') echo "Port version is greater than latest release $$VERSION"; exit 1 ;; \ '<') echo "Run 'make NETPBM_REV=$$REV netpbm-fetch' to download netpbm $$VERSION" ;; \ esac netpbm-fetch: @svnlite export --force -r${NETPBM_REV} ${NETPBM_REPO}/${NETPBM_SERIES} netpbm-r${NETPBM_REV} .endif .include diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index 09329cf67920..621a9ec4b41e 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -1,237 +1,237 @@ PORTNAME= opencv DISTVERSION= 4.5.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MAINTAINER= desktop@FreeBSD.org COMMENT= Open Source Computer Vision library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libharfbuzz.so:print/harfbuzz \ libhdf5.so:science/hdf5 USES= cmake compiler:c++14-lang cpe localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= WeChatCV:wechat GH_PROJECT= opencv_contrib:contrib \ ade:ade \ opencv_3rdparty:extra_mod_3rdparty_boost_descr \ opencv_3rdparty:extra_mod_3rdparty_vgg \ opencv_3rdparty:wechat \ opencv_3rdparty:face \ opencv_3rdparty:ippicv GH_TAGNAME= v0.1.1f:ade \ 34e4206aef44d50e6bbcd0ab06354b52e7466d26:extra_mod_3rdparty_boost_descr \ fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d:extra_mod_3rdparty_vgg \ a8b69ccc738421293254aec5ddb38bd523503252:wechat \ 8afa57abc8229d611c4937165d20e2a2d9fc5a12:face \ a56b6ac6f030c312b2dce17430eef13aed9af274:ippicv CMAKE_ON= OPENCV_GENERATE_PKGCONFIG CMAKE_OFF= OPENCV_GENERATE_SETUPVARS \ BUILD_opencv_python2 \ BUILD_TESTS CMAKE_ARGS= -DOPENCV_EXTRA_MODULES_PATH="${WRKSRC}/contrib/modules" DATADIR= ${PREFIX}/share/${PORTNAME}4 PLIST_SUB= SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL \ PATENTED PROTOBUF PYTHON TBB TESSERACT OPTIONS_GROUP= GUI IMAGE VIDEO OPTIONS_GROUP_GUI= GTK3 VTK OPTIONS_GROUP_IMAGE= GPHOTO2 JPEG OPENEXR PNG TIFF OPTIONS_GROUP_VIDEO= DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE OPTIONS_SINGLE= BLAS OPTIONS_SINGLE_BLAS= ATLAS OPENBLAS NOBLAS OPTIONS_RADIO= JPEG2K OPTIONS_RADIO_JPEG2K= JASPER OPENJPEG OPTIONS_DEFAULT= EIGEN GDAL GDCM OPENCL PROTOBUF PYTHON \ DC1394 GSTREAMER V4L VULKAN WEBP \ GPHOTO2 JPEG OPENEXR PNG TIFF \ OPENBLAS \ OPENJPEG OPTIONS_SUB= yes # Normal options (EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL PATENTED PROTOBUF PYTHON TBB) EIGEN_DESC= Add Eigen v3 Support, builds sfm modules EIGEN_CMAKE_BOOL= WITH_EIGEN EIGEN_USES= eigen:3 GDAL_DESC= Add Geospatial Data Abstraction Library Support GDAL_CMAKE_BOOL= WITH_GDAL GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDCM_DESC= Add Open source DICOM library Support GDCM_CMAKE_BOOL= WITH_GDCM GDCM_LIB_DEPENDS= libgdcmMSFF.so:devel/gdcm HARDENING_DESC= Enables Build Hardening HARDENING_CMAKE_BOOL= ENABLE_BUILD_HARDENING JAVA_DESC= Enable Java Support JAVA_BUILD_DEPENDS= ant:devel/apache-ant JAVA_CMAKE_BOOL= BUILD_opencv_java BUILD_opencv_java_bindings_generator BUILD_JAVA JAVA_MAKE_ENV= JAVACMD=${JAVA} JAVA_USE= JAVA=yes LTO_DESC= Enables Link Time Optimizations LTO_CMAKE_BOOL= ENABLE_THIN_LTO OPENCL_DESC= Add OpenCL Support OPENCL_CMAKE_BOOL= WITH_OPENCL OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl OPENCL_RUN_DEPENDS= opencl>=0:devel/opencl PATENTED_DESC= Enable patented 2d feature detection USE AT OWN RISK PATENTED_CMAKE_BOOL= OPENCV_ENABLE_NONFREE PROTOBUF_DESC= Enable protobuf support, builds dnn modules PROTOBUF_CMAKE_BOOL= WITH_PROTOBUF PROTOBUF_LIB_DEPENDS= libprotobuf.so:devel/protobuf PYTHON_DESC= Enable Python Support 3.6 or greater PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_USES= python:3.6+ PYTHON_CMAKE_BOOL= BUILD_opencv_python3 PYTHON_CMAKE_ON= -DOPENCV_PYTHON3_INSTALL_PATH=${PYTHON_SITELIBDIR} TBB_DESC= Add Intel Threading Building Blocks Support TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/tbb TESSERACT_DESC= Add Tesseract-based OCR TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CMAKE_BOOL= WITH_TESSERACT ### # GUI group options (GTK3 VTK) GTK3_USES= gnome GTK3_USE= gnome=gtk30 GTK3_CMAKE_BOOL= WITH_GTK VTK_DESC= Include VTK library support (build opencv_viz module) VTK_CMAKE_BOOL= WITH_VTK VTK_LIB_DEPENDS= libvtkCommonCore-9.1.so:math/vtk9 VTK_USES= qt:5 VTK_USE= QT=buildtools_build,qmake_build ### # IMAGE group options (GPHOTO2 JPEG OPENEXR PNG TIFF) GPHOTO2_DESC= Add Gphoto2 Support GPHOTO2_CMAKE_BOOL= WITH_GPHOTO2 GPHOTO2_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 JPEG_DESC= Add LibJpeg Support JPEG_CMAKE_BOOL= WITH_JPEG JPEG_USES= jpeg OPENEXR_DESC= Add OpenEXR Support OPENEXR_CMAKE_BOOL= WITH_OPENEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr PNG_DESC= Add LibPNG Support PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DEPENDS= libpng16.so:graphics/png TIFF_DESC= Add LibTIFF Support TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff ### # VIDEO group options (DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE) DC1394_DESC= IEEE 1394 camera support DC1394_CMAKE_BOOL= WITH_1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 FFMPEG_DESC= Link with ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg GSTREAMER_DESC= Add GSTREAMER Support GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER GSTREAMER_USE= GSTREAMER1=yes V4L_DESC= Enable support for Video for Linux V4L_CMAKE_BOOL= WITH_V4L WITH_LIBV4L V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l VULKAN_DESC= Add Vulkan Support VULKAN_CMAKE_BOOL= WITH_VULKAN VULKAN_CMAKE_ON= -DVULKAN_INCLUDE_DIRS=${LOCALBASE}/include VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers WEBP_DESC= Add Webp Support WEBP_CMAKE_BOOL= WITH_WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XINE_DESC= Add Xine Support XINE_CMAKE_BOOL= WITH_XINE XINE_LIB_DEPENDS= libxine.so:multimedia/libxine ### # BLAS group options (ATLAS OPENBLAS NOBLAS) ATLAS_DESC= ATLAS blas implementation with lapacke ATLAS_USES= blaslapack:atlas ATLAS_LIB_DEPENDS= liblapacke.so:math/lapacke OPENBLAS_DESC= OpenBLAS blas implementation with lapacke OPENBLAS_USES= blaslapack:openblas OPENBLAS_LIB_DEPENDS= liblapacke.so:math/lapacke NOBLAS_DESC= Disable support for lapack/blas NOBLAS_CMAKE_BOOL_OFF= WITH_LAPACK ### # JPEG2K group options (JASPER OPENJPEG) JASPER_DESC= Add Jasper Support for JPEG2000 JASPER_CMAKE_BOOL= WITH_JASPER JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper OPENJPEG_DESC= Add OpenJPEG Support for JPEG2000, OpenCV preferred OPENJPEG_CMAKE_BOOL= WITH_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg ### _IPPICV_i386= ippicv/ippicv_2020_lnx_ia32_20191018_general.tgz _IPPICV_amd64= ippicv/ippicv_2020_lnx_intel64_20191018_general.tgz post-extract: # Handle contrib ${MV} ${WRKSRC_contrib} ${WRKSRC}/contrib # Handle prefetched ade modul ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ade ${MV} ${WRKSRC_ade} ${BUILD_WRKSRC}/3rdparty/ade # Handle prefetched xfeatures2d ${MKDIR} ${BUILD_WRKSRC}/downloads/xfeatures2d ${CP} ${WRKSRC_extra_mod_3rdparty_boost_descr}/* ${BUILD_WRKSRC}/downloads/xfeatures2d ${CP} ${WRKSRC_extra_mod_3rdparty_vgg}/* ${BUILD_WRKSRC}/downloads/xfeatures2d # Handle prefetched wechat ${MKDIR} ${BUILD_WRKSRC}/downloads/wechat_qrcode ${CP} ${WRKSRC_wechat}/* ${BUILD_WRKSRC}/downloads/wechat_qrcode/ # Handle Face ${MKDIR} ${BUILD_WRKSRC}/share/opencv4/testdata/cv/face ${CP} ${WRKSRC_face}/* ${BUILD_WRKSRC}/share/opencv4/testdata/cv/face # Handle ippicv .if defined(_IPPICV_${ARCH}) ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ippicv (cd ${BUILD_WRKSRC}/3rdparty/ippicv && ${EXTRACT_CMD} -xf ${WRKSRC_ippicv}/${_IPPICV_${ARCH}}) .endif post-patch: ${REINPLACE_CMD} -e 's|/usr/lib/atlas-base|${LOCALBASE}/lib|g' ${WRKSRC}/cmake/OpenCVFindAtlas.cmake ${REINPLACE_CMD} -e 's|/usr/include/atlas|${LOCALBASE}/include|g' ${WRKSRC}/cmake/OpenCVFindAtlas.cmake .include diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile index ede7f80a6748..9ddcfd08defe 100644 --- a/graphics/osg/Makefile +++ b/graphics/osg/Makefile @@ -1,160 +1,160 @@ # Created by: Randall Hopper PORTNAME= osg PORTVERSION= 3.6.5 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 35 +PORTREVISION= 36 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USE_GITHUB= yes GH_ACCOUNT= openscenegraph GH_PROJECT= OpenSceneGraph CONFLICTS_INSTALL=osg34 USES= alias cmake compiler:c11 jpeg gl pkgconfig xorg USE_GL= gl USE_XORG= x11 USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include/Imath -DInt64=uint64_t PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=161 \ OPENTHREADS_VERSION=3.3.1 \ OPENTHREADS_SHLIBVER=21 OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA \ JASPER LIBLAS LUA NVTT OPENEXR PDF SDL ASIO \ SVG VNC XRANDR XINERAMA FONTCONFIG DCMTK COLLADA OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR XINERAMA FONTCONFIG OPTIONS_SUB= yes ASIO_DESC= ASIO support (resthttp plugin) GDAL_DESC= GDAL support GTA_DESC= GTA file format support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support OPENCASCADE_DESC= OpenCASCADE format support DCMTK_DESC= DICOM format support COLLADA_DESC= COLLADA (dae) format support CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CMAKE_BOOL= OSG_TEXT_USE_FONTCONFIG GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USES= gnome GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes GSTREAMER_VARS= FORCE_REQUIRE+="GStreamer GLIB" GSTREAMER_VARS_OFF= FORCE_IGNORE+="GStreamer GLIB" GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USES= gnome PDF_USE= GNOME=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib SDL_USES= sdl SDL_USE= SDL=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_USES= gnome SVG_USE= GNOME=cairo,librsvg2 SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XRANDR_CMAKE_BOOL= OSGVIEWER_USE_XRANDR XRANDR_USE= XORG=xrandr XINERAMA_CMAKE_BOOL= OSGVIEWER_USE_XINERAMA XINERAMA_USE= XORG=xinerama #OPENCASCADE_LIB_DEPENDS=libTKBRep.so:cad/opencascade #OPENCASCADE_VARS= FORCE_REQUIRE+=OpenCascade #OPENCASCADE_VARS_OFF= FORCE_IGNORE+=OpenCascade #OPENCASCADE_CMAKE_ARGS= -DOPENCASCADE_LIBRARY_TYPE="Shared" DCMTK_LIB_DEPENDS= libdcmrt.so:graphics/dcmtk \ libxml2.so:textproc/libxml2 \ libicuuc.so:devel/icu DCMTK_USES= ssl DCMTK_VARS= FORCE_REQUIRE+=DCMTK DCMTK_VARS_OFF= FORCE_IGNORE+=DCMTK #ILMBASE_LIB_DEPENDS= ${LOCALBASE}/lib/libImath.so:graphics/ilmbase #ILMBASE_VARS= FORCE_REQUIRE+=ilmbase #ILMBASE_VARS_OFF= FORCE_IGNORE+=ilmbase COLLADA_LIB_DEPENDS= libcollada-dom2.5-dp.so:devel/collada-dom \ libboost_filesystem.so:devel/boost-libs COLLADA_VARS= FORCE_REQUIRE+=COLLADA COLLADA_VARS_OFF= FORCE_IGNORE+=COLLADA ASIO_BUILD_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio ASIO_VARS= FORCE_REQUIRE+=Asio ASIO_VARS_OFF= FORCE_IGNORE+=Asio # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK FOX wxWidgets GtkGl SDL2 # only for examples FORCE_IGNORE+= FBX Inventor # not in ports FORCE_IGNORE+= ilmbase # not used FORCE_IGNORE+= OpenCascade # detection broken FORCE_IGNORE+= ZeroConf # no avahi support yet FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d; \ s|-pedantic||' ${WRKSRC}/CMakeLists.txt .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include diff --git a/graphics/osg34/Makefile b/graphics/osg34/Makefile index c0013688caab..46415789828f 100644 --- a/graphics/osg34/Makefile +++ b/graphics/osg34/Makefile @@ -1,151 +1,151 @@ # Created by: Randall Hopper PORTNAME= osg PORTVERSION= 3.4.1 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 34 +PORTREVISION= 35 CATEGORIES= graphics PKGNAMESUFFIX= 34 MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USE_GITHUB= yes GH_ACCOUNT= openscenegraph GH_PROJECT= OpenSceneGraph CONFLICTS_INSTALL=osg USES= alias cmake compiler:c++11-lang gl jpeg pkgconfig xorg USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes # needed to ensure build on gcc-based archs; harmless otherwise CXXFLAGS+= -Wno-narrowing -I${LOCALBASE}/include/Imath -DInt64=uint64_t PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=131 \ OPENTHREADS_VERSION=3.3.0 \ OPENTHREADS_SHLIBVER=20 PORTSCOUT= limitw:1,even OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA \ JASPER LIBLAS LUA NVTT OPENEXR PDF QT5 SDL \ SVG VNC XINE XRANDR OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR GDAL_DESC= GDAL support GTA_DESC= GTA file format support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support OPTIONS_SUB= yes CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes GSTREAMER_VARS= FORCE_REQUIRE+=GStreamer GSTREAMER_VARS_OFF= FORCE_IGNORE+=GStreamer GSTREAMER_BROKEN= fails when linking gstreamer plugin, with error cannot find -lgstreamer-1.0 GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USE= gnome=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib QT5_USES= qt:5 QT5_USE= qt=buildtools_build,core,gui,opengl,qmake_build,webkit,widgets QT5_CMAKE_ON= -DDESIRED_QT_VERSION=5 QT5_VARS= FORCE_REQUIRE+="Qt5Widgets Qt5WebKitWidgets" QT5_VARS_OFF= FORCE_IGNORE+="Qt5Widgets Qt5WebKitWidgets" SDL_USES= sdl SDL_USE= sdl=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_USES= gnome SVG_USE= gnome=cairo,librsvg2 SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_VARS= FORCE_REQUIRE+=Xine XINE_VARS_OFF= FORCE_IGNORE+=Xine XRANDR_CMAKE_ON= -DOSGVIEWER_USE_XRANDR:BOOL=ON XRANDR_CMAKE_OFF= -DOSGVIEWER_USE_XRANDR:BOOL=OFF XRANDR_USE= xorg=xrandr # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK GLUT FOX Qt3 wxWidgets OpenAL GtkGl SDL2 # only for examples FORCE_IGNORE+= COLLADA Performer OurDCMTK XUL FBX # not in ports FORCE_IGNORE+= OpenVRML # ports version too old FORCE_IGNORE+= ITK # ports version doesn't build on 10.x FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include .if ${PORT_OPTIONS:MQT5} CMAKE_ARGS+= -DOSG_USE_QT:BOOL=ON PLIST_SUB+= QT="" .else CMAKE_ARGS+= -DOSG_USE_QT:BOOL=OFF PLIST_SUB+= QT="@comment " .endif post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d' \ ${WRKSRC}/CMakeLists.txt .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include diff --git a/graphics/qt5-imageformats/Makefile b/graphics/qt5-imageformats/Makefile index f341aee8eaf5..b162cc84f564 100644 --- a/graphics/qt5-imageformats/Makefile +++ b/graphics/qt5-imageformats/Makefile @@ -1,17 +1,18 @@ PORTNAME= imageformats PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= graphics PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt plugins for additional image formats LIB_DEPENDS= libjasper.so:graphics/jasper \ libmng.so:graphics/libmng \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= compiler:c++11-lang localbase qmake qt-dist:5,imageformats USE_QT= core gui buildtools_build .include diff --git a/graphics/simage/Makefile b/graphics/simage/Makefile index 8f4a899e4ae8..269fd6df3d84 100644 --- a/graphics/simage/Makefile +++ b/graphics/simage/Makefile @@ -1,33 +1,33 @@ # Created by: roland.jesse@gmx.net PORTNAME= simage PORTVERSION= 1.7.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/Coin3D/coin/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= Library with image format loaders and front-ends LICENSE= MIT unknown LICENSE_COMB= dual LICENSE_NAME_unknown= mpeg2enc LICENSE_TEXT_unknown= ${FILESDIR}/LICENSE.mpeg2enc LICENSE_PERMS_unknown= no-dist-sell no-pkg-sell LIB_DEPENDS= libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ libjasper.so:graphics/jasper \ libgif.so:graphics/giflib \ libpng.so:graphics/png USES= jpeg libtool pathfix GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-mpeg2enc INSTALL_TARGET= install-strip USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .include diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile index 5ef3fd8778b9..7c7b07064b96 100644 --- a/graphics/ufraw/Makefile +++ b/graphics/ufraw/Makefile @@ -1,80 +1,80 @@ # Created by: Mark Murray PORTNAME= ufraw PORTVERSION= 0.22.20210424 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= rodrigo@FreeBSD.org COMMENT= Read and manipulate raw images from various digital cameras LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= autoreconf compiler:c++11-lang desktop-file-utils gettext \ gmake gnome jpeg pkgconfig USE_GITHUB= yes GH_ACCOUNT= sergiomb2 GH_TAGNAME= f34669b USE_GNOME+= cairo gdkpixbuf2 glib20 gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-extras \ --enable-jasper CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib CONFLICTS_INSTALL= dcraw OPTIONS_DEFINE= CONTRAST DST EXIV2 FITS GIMP GNOME GTK2 LENSFUN OPTIONS_DEFAULT= CONTRAST EXIV2 GTK2 LENSFUN OPTIONS_SUB= yes CONTRAST_DESC= Enable contrast setting option DST_DESC= Use local time for timestamps FITS_DESC= FITS output support GIMP_DESC= Install GIMP plugin CONTRAST_CONFIGURE_ENABLE= contrast DST_CONFIGURE_ENABLE= dst-correction EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2 FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio FITS_CONFIGURE_WITH= cfitsio GIMP_IMPLIES= GTK2 GIMP_LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libgegl-0.4.so:graphics/gegl \ libgimp-2.0.so:graphics/gimp-app \ libjson-glib-1.0.so:devel/json-glib GIMP_CONFIGURE_WITH= gimp GNOME_USE= GNOME=gconf2 GNOME_CONFIGURE_ENABLE= mime GNOME_VARS= CATEGORIES+=gnome \ GCONF_SCHEMAS=${PORTNAME}.schemas GTK2_LIB_DEPENDS= libgtkimageview.so:x11-toolkits/gtkimageview GTK2_CONFIGURE_WITH= gtk LENSFUN_LIB_DEPENDS= liblensfun.so:graphics/lensfun post-patch: ${GREP} -Ilrs 'default(none)' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's/default(none)//g' @${REINPLACE_CMD} -e 's|$$(datadir)/gconf/schemas|${PREFIX}/etc/gconf/schemas|g' \ ${WRKSRC}/Makefile.am post-patch-EXIV2-off: @${REINPLACE_CMD} -e 's|exiv2 >= 0.20|exiv2 < 0|g' \ ${WRKSRC}/configure.ac post-patch-LENSFUN-off: @${REINPLACE_CMD} -e 's|lensfun >= 0.2.5|lensfun < 0|g' \ ${WRKSRC}/configure.ac post-install: ${INSTALL_DATA} ${WRKSRC}/ufraw.desktop ${STAGEDIR}${DESKTOPDIR} .include diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index 4998e169a6ed..70bd7273ded5 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -1,73 +1,73 @@ # Created by: smace PORTNAME= xv PORTVERSION= 3.10a -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES+= graphics MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/:base \ SF/png-mng/XV%20jumbo%20patches/20070520 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:base \ ${DISTNAME}-jumbo-patches-20070520.tar.gz DIST_SUBDIR= ${PORTNAME} PATCH_SITES= http://www.gregroelofs.com/code/ PATCHFILES= xv-3.10a-enhancements.20070520-20081216.diff MAINTAINER?= dinoex@FreeBSD.org COMMENT?= X11 program that displays images of various formats LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libjasper.so:graphics/jasper USES= cpe imake jpeg xorg USE_XORG= xext x11 xt CPE_VENDOR= xv_project OPTIONS_DEFINE= M17N DOCS M17N_DESC= build with Multilingualization support .include .if defined(CC) && ${CC:T:Mclang} # Optimizer crashes with # Assertion failed: (isPtrIV == IndVar->getType()->isPointerTy() && "IndVar type must match IVInit type") CFLAGS:= ${CFLAGS:S/-O2//g} .endif .if ${PORT_OPTIONS:MM17N} MAKE_ENV= LOCALE_EXTENSION=-DTV_MULTILINGUAL DESCR= ${FILESDIR}/pkg-descr CONFLICTS_INSTALL= xv .else CONFLICTS_INSTALL= xv-m17n .endif pre-patch: ${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS} -p1 < ${WRKDIR}/xv-3.10a-jumbo-fix-enh-patch-20070520.txt post-patch: ${REINPLACE_CMD} -e "s@%%LOCALBASE%%@${LOCALBASE}@" \ ${WRKSRC}/config.h .for i in bggen.1 vdcomp.1 xcmap.1 xv.1 xvp2p.1 ${CP} ${WRKSRC}/docs/${i:R}.man ${WRKSRC} .endfor post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/README.jumbo ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/README.pcd ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/docs/epsf.ps ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/docs/xpm.ps ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/docs/xvdocs.ps ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/docs/xvtitle.ps ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/docs/help ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/docs/bmp.doc ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/docs/gif* ${STAGEDIR}${DOCSDIR}/ .endif .include diff --git a/math/saga/Makefile b/math/saga/Makefile index 59c1aa8d5937..cdc29dba9da9 100644 --- a/math/saga/Makefile +++ b/math/saga/Makefile @@ -1,97 +1,98 @@ # Created by: Rainer Hurling PORTNAME= saga PORTVERSION= 8.2.0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= System for Automated Geoscientific Analyses LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} \ swig:devel/swig LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libgdal.so:graphics/gdal \ libhdf5.so:science/hdf5 \ libhpdf.so:print/libharu \ libjasper.so:graphics/jasper \ libodbc.so:databases/unixODBC \ libopencv_core.so:graphics/opencv \ libpdal_base.so:math/pdal \ libproj.so:graphics/proj \ libqhull_r.so:math/qhull \ libsvm.so:science/libsvm \ libsz.so:science/szip \ libtiff.so:graphics/tiff RUN_DEPENDS:= swig:devel/swig USES= cmake compiler:c++11-lib dos2unix gnome \ iconv:wchar_t libtool localbase pkgconfig python DOS2UNIX_GLOB= *.cpp *.h USE_LDCONFIG= yes USE_WX= 3.1+ CMAKE_ARGS+= -DSVM_INCLUDE:PATH=${LOCALBASE}/include/svm.h CMAKE_ON= WITH_DEV_TOOLS WITH_EXCERCISES WITH_MRMR WITH_SYSTEM_SVM CMAKE_ON+= CMAKE_VERBOSE_MAKEFILE CMAKE_OFF+= WITH_TOOLS_LAS WITH_TRIANGLE WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/saga-gis PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= PGSQL OPENMP VIGRA OPTIONS_DEFAULT= PGSQL VIGRA OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_i386= OPENMP NO_OPTIONS_SORT= yes OPTIONS_SUB= yes OPENMP_DESC= Enable Multiprocessing (only amd64 and i386) VIGRA_DESC= Enable 'Vision with Generic Algorithms' Library OPENMP_CONFIGURE_ENABLE= openmp PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgresql VIGRA_BUILD_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra VIGRA_RUN_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra .include # make describe needs them here CPP= clang-cpp${LLVM_DEFAULT} CC= clang${LLVM_DEFAULT} CXX= clang++${LLVM_DEFAULT} SUB_FILES= pkg-message post-patch: .if ${ARCH} == "powerpc" @${REINPLACE_CMD} -e 's|typedef unsigned long DWORD;|typedef unsigned int DWORD;|' \ ${WRKSRC}/src/saga_core/saga_api/api_core.h .endif @${REINPLACE_CMD} -e 's|PORTVERSION|${PORTVERSION}|' \ ${WRKSRC}/src/saga_core/saga_gui/dlg_about.cpp @${REINPLACE_CMD} -e 's|-lgomp|-lomp|' \ ${WRKSRC}/src/accessories/templates/template4saga-tools/my_tool_library/Makefile @${REINPLACE_CMD} -e 's|COMMAND python -c|COMMAND python${PYTHON_VER} -c|' \ ${WRKSRC}/src/saga_core/saga_api/saga_api_python/CMakeLists.txt post-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga*.txt ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga.png ${STAGEDIR}${DATADIR} ${RM} ${STAGEDIR}${DATADIR}/saga_dic.txt ${STAGEDIR}${DATADIR}/saga_srs.txt # toolchains dir was moved in r2805 (and followups r2810,r2811,r2820) (cd ${WRKSRC}/src/accessories && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${RM} -R ${STAGEDIR}${DATADIR}/CMakeLists.txt ${RM} -R ${STAGEDIR}${DATADIR}/templates/template4saga-tools/my_tool_library/Makefile.bak ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ # library helper files are not needed and cripple some math/qgis extensions @${RM} ${STAGEDIR}${PREFIX}/lib/saga/*.la .include diff --git a/net-im/kopete/Makefile b/net-im/kopete/Makefile index 4f63985bb8b9..daaef173b78e 100644 --- a/net-im/kopete/Makefile +++ b/net-im/kopete/Makefile @@ -1,36 +1,36 @@ PORTNAME= kopete PORTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-im kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= KDE multi-protocol instant messenger BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat LIB_DEPENDS= libidn.so:dns/libidn \ libjasper.so:graphics/jasper \ libotr.so:security/libotr \ libv4l2.so:multimedia/libv4l USES= cmake compiler:c++11-lang desktop-file-utils gnome jpeg kde:5 \ qca qt:5 shebangfix tar:xz USE_GNOME= libxml2 libxslt USE_KDE= archive auth bookmarks codecs completion config configwidgets \ coreaddons crash dbusaddons dnssd emoticons guiaddons i18n \ iconthemes itemviews jobwidgets js kcmutils kdelibs4support \ khtml kio notifications notifyconfig parts service solid sonnet \ syntaxhighlighting texteditor textwidgets unitconversion wallet widgetsaddons \ windowsystem xmlgui \ ecm_build # KDE PIM components USE_KDE+= contacts identitymanagement libkleo pimtextedit USE_QT= concurrent core dbus gui network phonon4 printsupport sql widgets xml \ buildtools_build qmake_build testlib_build SHEBANG_FILES= protocols/winpopup/winpopup-install \ protocols/winpopup/winpopup-send \ kopete/kconf_update/*.pl OPTIONS_DEFINE= DOCS .include diff --git a/print/ghostscript8-base/Makefile b/print/ghostscript8-base/Makefile index 3a259878cccb..41e596233501 100644 --- a/print/ghostscript8-base/Makefile +++ b/print/ghostscript8-base/Makefile @@ -1,152 +1,152 @@ # Created by: Andreas Klemm PORTNAME= ghostscript PORTVERSION= 8.71 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ http://www.humblesoft.com/pub/:epag PKGNAMESUFFIX= 8-base DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Ghostscript 8.x PostScript interpreter, base part LICENSE= GPLv3 LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libjasper.so:graphics/jasper \ libjbig2dec.so:graphics/jbig2dec \ libpaper.so:print/libpaper \ libpng.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:print/gsfonts CONFLICTS_INSTALL= ghostscript*-base # CHECK USES= autoreconf cpe gmake pkgconfig shebangfix tar:xz USE_LDCONFIG= yes CPE_VENDOR= artifex SHEBANG_FILES= ${WRKSRC}/lib/fixmswrd.pl EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} GNU_CONFIGURE= yes DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION} MAKE_JOBS_UNSAFE= yes MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".so" \ SOC_LOADER="dxmainc.c" CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-contrib \ --enable-dynamic \ --with-ijs \ --with-jasper \ --with-libpaper \ --without-x \ --disable-gtk \ --with-drivers="" CPPFLAGS+= -DUPD_SIGNAL=0 \ -DJBIG_NO_MEMENTO \ -I. \ -I${WRKSRC}/jasper/src/libjasper/include \ -I${LOCALBASE}/include/freetype2 \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XCFLAGS= -DA4 XLDFLAGS= -lpthread ALL_TARGET= so INSTALL_TARGET= soinstall PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" \ GS_VERSION="${PORTVERSION}" SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS CAIRO CUPS FONTCONFIG ICONV OPTIONS_DEFAULT=CAIRO CUPS FONTCONFIG ICONV OPTIONS_SUB= yes FONTCONFIG_DESC=Enable fontconfig support FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_ENABLE= fontconfig NO_OPTIONS_SORT=yes EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib .include "Makefile.drivers" .include .include "files/Makefile.drivers_post" PORTDOCS= japanese chp2200 epson740 lxm3200-tweaked md2k_md5k PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \ japanese/cdj880.txt japanese/dj505j.txt japanese/djgpp.txt \ japanese/gdev10v.txt japanese/gdevalps.txt \ japanese/gdevcd8.txt japanese/gdevdmpr.txt \ japanese/gdevfmlbp.txt japanese/gdevj100.txt \ japanese/gdevlbp3.txt japanese/gdevmag.txt \ japanese/gdevmd2k.txt japanese/gdevmjc.txt \ japanese/gdevml6.txt japanese/gdevp201.txt japanese/gs261j.euc \ japanese/gs261j.txt chp2200/AUTHORS chp2200/INSTALL \ epson740/README epson740/upp-HowTo-to-be \ lxm3200-tweaked/LICENSE lxm3200-tweaked/README \ lxm3200-tweaked/RELEASE_NOTES \ lxm3200-tweaked/Z12-Z31-QuickSetup md2k_md5k/README.jis post-patch: ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/contrib/japanese/dmp_site.ps pre-build-drivers.mak: @${ECHO_CMD} '# automatically generated' > ${WRKSRC}/base/drivers.mak .for N in ${DEVS_LIST} @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/base/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} .if ${PORT_OPTIONS:MGS_${D}} .if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}} .for X in ${DEVICE_${N}:M${D}.dev} @${ECHO_CMD} 'DEVICE_${N}+= $$(DD)${D}.dev' >> ${WRKSRC}/base/drivers.mak .endfor .endif .endif .endfor .endfor pre-build: pre-build-drivers.mak ${MKDIR} ${WRKSRC}/obj ${WRKSRC}/bin ${WRKSRC}/freetype/include ${LN} -s -f ${LOCALBASE}/include/ft2build.h \ ${WRKSRC}/freetype/include/ft2build.h ${LN} -s -f ${LOCALBASE}/include/freetype2/freetype \ ${WRKSRC}/freetype/include/freetype ${MKDIR} ${WRKSRC}/freetype/objs ${LN} -s -f ${LOCALBASE}/lib/libfreetype.so \ ${WRKSRC}/freetype/objs/freetype214MT_D.so pre-install: cd ${WRKSRC}/Resource/Init && ${RM} \ gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig ${MKDIR} ${STAGEDIR}${DATADIR} post-install-DOCS-on: post-install-docs ${MKDIR} ${WRKSRC}/contrib/japanese ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* \ ${WRKSRC}/contrib/japanese ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/contrib && \ ${TAR} -cf - ${PORTDOC_FILES} | \ (cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof -) post-install: ${INSTALL_DATA} ${WRKSRC}/lib/FAPIcidfmap \ ${WRKSRC}/lib/FAPIconfig ${WRKSRC}/lib/FAPIfontmap \ ${STAGEDIR}${DATADIR}/Resource/Init ${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \ ${STAGEDIR}${DATADIR}/Resource/CIDFont .include diff --git a/science/cdo/Makefile b/science/cdo/Makefile index 2847d63b673d..76e9c7cab525 100644 --- a/science/cdo/Makefile +++ b/science/cdo/Makefile @@ -1,80 +1,81 @@ # Created by: Sunpoet Po-Chuan Hsieh PORTNAME= cdo PORTVERSION= 2.0.4 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://code.mpimet.mpg.de/attachments/download/26761/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Climate Data Operators LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= CGRIBEX ECCODES HDF5 JASPER NETCDF PROJ SZIP UDUNITS UUID OPTIONS_DEFAULT=CGRIBEX ECCODES HDF5 JASPER NETCDF PROJ SZIP UDUNITS UUID OPTIONS_SUB= yes CGRIBEX_DESC= Use CGRIBEX library for GRIB1 files ECCODES_DESC= Use ecCodes for GRIB files HDF5_IMPLIES= SZIP NETCDF_IMPLIES= HDF5 UUID_DESC= UUID support PORTSCOUT= site:https://code.mpimet.mpg.de/projects/cdo/files USES= compiler:c++14-lang gmake libtool localbase pathfix CONFIGURE_ARGS= --disable-data \ --disable-extra \ --disable-fortran \ --disable-ieg \ --disable-openmp \ --disable-service \ --enable-cdi-lib \ --program-transform-name="" \ --with-zlib=/usr GNU_CONFIGURE= yes INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes TEST_TARGET= check USE_CXXSTD= c++14 USE_LDCONFIG= yes CGRIBEX_CONFIGURE_WITH= cgribex CGRIBEX_LIB_DEPENDS= libcgribex.so:science/cgribex ECCODES_CONFIGURE_WITH= eccodes ECCODES_LIB_DEPENDS= libeccodes.so:science/eccodes HDF5_CONFIGURE_WITH= hdf5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 JASPER_CONFIGURE_WITH= jasper JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper NETCDF_CONFIGURE_WITH= netcdf NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf PROJ_CONFIGURE_WITH= proj PROJ_LIB_DEPENDS= libproj.so:graphics/proj SZIP_CONFIGURE_WITH= szlib SZIP_LIB_DEPENDS= libsz.so:science/szip UDUNITS_CONFIGURE_WITH= udunits2 UDUNITS_LIB_DEPENDS= libudunits2.so:science/udunits UUID_CONFIGURE_OFF= ac_cv_func_uuid_create=no ac_cv_have_decl_uuid_create=no ac_cv_have_decl_uuid_generate=no ac_cv_lib_uuid_uuid_generate=no UUID_LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid .include .if ${ARCH} != "sparc64" CFLAGS+= -DPTHREAD_MUTEXATTR .endif post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS = / s| contrib||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|$$(libdir)/\($$$$pkgconfigfile\)|${PREFIX}/libdata/\1|' ${WRKSRC}/libcdi/src/Makefile.in @${REINPLACE_CMD} -e 's|unsigned32 |uint32_t |' ${WRKSRC}/libcdi/src/cdilib.c ${WRKSRC}/libcdi/src/util.c post-install: ${INSTALL_DATA} ${WRKSRC}/libcdi/src/cdi.inc ${STAGEDIR}${PREFIX}/include/cdi.inc test-NETCDF-on: @cd ${WRKSRC}/ && ${SETENV} CDO_PATH=src/cdo src/cdotest .include diff --git a/science/cgribex/Makefile b/science/cgribex/Makefile index 5c8148f47dee..3cd45742337a 100644 --- a/science/cgribex/Makefile +++ b/science/cgribex/Makefile @@ -1,38 +1,39 @@ # Created by: Sunpoet Po-Chuan Hsieh PORTNAME= cgribex PORTVERSION= 1.9.4 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://code.mpimet.mpg.de/attachments/download/21178/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Lightweight GRIBEX in C with portable Fortran interface LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= libtool CPPFLAGS+= -DgFortran GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes OPTIONS_DEFINE= GRIB_API JASPER SZIP OPTIONS_DEFAULT=JASPER SZIP GRIB_API_CONFIGURE_WITH=grib_api=${LOCALBASE} GRIB_API_LIB_DEPENDS= libgrib_api.so:science/grib_api JASPER_CONFIGURE_WITH= jasper=${LOCALBASE} JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper SZIP_CONFIGURE_WITH= szlib=${LOCALBASE} SZIP_LIB_DEPENDS= libsz.so:science/szip post-configure: @${REINPLACE_CMD} -e 's|-Ino/include||g; s|-Lno/lib||g' ${WRKSRC}/Makefile ${WRKSRC}/*/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgribex.so .include diff --git a/science/eccodes/Makefile b/science/eccodes/Makefile index 6608f00230b7..a6569b920605 100644 --- a/science/eccodes/Makefile +++ b/science/eccodes/Makefile @@ -1,58 +1,58 @@ # Created by: Po-Chuan Hsieh PORTNAME= eccodes PORTVERSION= 2.24.2 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONSUFFIX= -Source CATEGORIES= science MASTER_SITES= https://confluence.ecmwf.int/download/attachments/45757960/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= ECMWF API for WMO FM-92 GRIB and FM-94 BUFR messages LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libnetcdf.so:science/netcdf \ libpng.so:graphics/png USES= cmake perl5 shebangfix CMAKE_ARGS= -DBUILD_SHARED_LIBS=BOTH CMAKE_OFF= ENABLE_ALIGN_MEMORY \ ENABLE_ECCODES_OMP_THREADS \ ENABLE_EXTRA_TESTS \ ENABLE_FORTRAN \ ENABLE_GRIB_TIMER \ ENABLE_MEMFS \ ENABLE_MEMORY_MANAGEMENT \ ENABLE_PYTHON CMAKE_ON= ECCODES_INSTALL_EXTRA_TOOLS \ ENABLE_ECCODES_THREADS \ ENABLE_EXAMPLES \ ENABLE_INSTALL_ECCODES_DEFINITIONS \ ENABLE_NETCDF \ ENABLE_PNG USE_CSTD= c99 USE_LDCONFIG= yes CONFLICTS_INSTALL= grib_api PORTSCOUT= site:https://confluence.ecmwf.int/display/ECC/Releases SHEBANG_FILES= tools/bufr_compare_dir OPTIONS_DEFINE= AEC OPTIONS_SINGLE= JPEG OPTIONS_SINGLE_JPEG= JASPER OPENJPEG OPTIONS_DEFAULT=OPENJPEG AEC_DESC= Adaptive Entropy Coding support AEC_CMAKE_BOOL= ENABLE_AEC AEC_LIB_DEPENDS= libaec.so:science/libaec JASPER_CMAKE_BOOL= ENABLE_JPG JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg .include diff --git a/science/grib_api/Makefile b/science/grib_api/Makefile index 871f9e667ccb..3d3832f212d3 100644 --- a/science/grib_api/Makefile +++ b/science/grib_api/Makefile @@ -1,44 +1,44 @@ # Created by: Sunpoet Po-Chuan Hsieh PORTNAME= grib_api PORTVERSION= 1.28.0 DISTVERSIONSUFFIX= -Source -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= science MASTER_SITES= https://confluence.ecmwf.int/download/attachments/3473437/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= ECMWF API for WMO FM-92 GRIB messages LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libnetcdf.so:science/netcdf \ libpng.so:graphics/png CONFLICTS_INSTALL= eccodes OPTIONS_SINGLE= JPEG OPTIONS_SINGLE_JPEG= JASPER OPENJPEG OPTIONS_DEFAULT=OPENJPEG PORTSCOUT= site:https://software.ecmwf.int/wiki/display/GRIB/Releases USES= libtool pathfix CONFIGURE_ARGS= --enable-pthread --with-netcdf=${LOCALBASE} --with-png-support GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes JASPER_CONFIGURE_ON= --with-jasper=${LOCALBASE} JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper OPENJPEG_CFLAGS= -I${LOCALBASE}/include/openjpeg-1.5 OPENJPEG_CONFIGURE_ON= --with-openjpeg=${LOCALBASE} OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 post-install: ${INSTALL_SCRIPT} ${WRKSRC}/tools/grib1to2 ${STAGEDIR}${PREFIX}/bin/grib1to2 .include