diff --git a/accessibility/caribou/Makefile b/accessibility/caribou/Makefile index fbb3fec7da7d..babc08530271 100644 --- a/accessibility/caribou/Makefile +++ b/accessibility/caribou/Makefile @@ -1,51 +1,52 @@ PORTNAME= caribou DISTVERSION= 0.4.21-78 +PORTREVISION= 1 DISTVERSIONSUFFIX= -g9c900f0 CATEGORIES= accessibility gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome On-Screen keyboard WWW= https://live.gnome.org/Caribou LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gnome-autogen.sh:devel/gnome-common LIB_DEPENDS= libclutter-glx-1.0.so:graphics/clutter \ libgee-0.8.so:devel/libgee \ libxklavier.so:x11/libxklavier \ libcogl-path.so:graphics/cogl \ libjson-glib-1.0.so:devel/json-glib \ libatspi.so:accessibility/at-spi2-core \ libdbus-1.so:devel/dbus RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atspi>=2.1.91:accessibility/py-atspi@${PY_FLAVOR} USES= autoreconf:2.69 gettext gl gmake gnome libtool localbase pathfix \ pkgconfig python shebangfix vala:build xorg USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org/ GL_ACCOUNT= Archive USE_GNOME= cairo gdkpixbuf gtk30 intlhack introspection:build libxml2 \ libxslt:build pygobject3 GLIB_SCHEMAS= org.gnome.caribou.gschema.xml \ org.gnome.antler.gschema.xml SHEBANG_GLOB= *.py* USE_GL= egl USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr xtst GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk2-module INSTALL_TARGET= install-strip .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/astro/foxtrotgps/Makefile b/astro/foxtrotgps/Makefile index fa06183322eb..f2cab11fa914 100644 --- a/astro/foxtrotgps/Makefile +++ b/astro/foxtrotgps/Makefile @@ -1,46 +1,46 @@ PORTNAME= foxtrotgps PORTVERSION= 1.2.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= astro geography MASTER_SITES= http://www.foxtrotgps.org/releases/ MAINTAINER= crwhipp@gmail.com COMMENT= Lightweight opensource gps moving map application WWW= https://www.foxtrotgps.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libexif.so:graphics/libexif \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgps.so:astro/gpsd \ libsoup-2.4.so:devel/libsoup USES= compiler:c++11-lang gettext gmake gnome pkgconfig python \ shebangfix sqlite:3 USE_GNOME= cairo gtk20 intltool libglade2 libxml2 GLIB_SCHEMAS= org.foxtrotgps.gschema.xml SHEBANG_FILES= contrib/convert2gpx \ contrib/convert2osm \ contrib/georss2foxtrotgps-poi\ contrib/gpx2osm \ contrib/osb2foxtrot \ contrib/poi2osm GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-schemas-install CONFIGURE_ENV= DATADIRNAME=share INFO= foxtrotgps .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif .include diff --git a/astro/gpscorrelate/Makefile b/astro/gpscorrelate/Makefile index 2e666ccc448b..5fdfb43d9dea 100644 --- a/astro/gpscorrelate/Makefile +++ b/astro/gpscorrelate/Makefile @@ -1,62 +1,62 @@ PORTNAME= gpscorrelate PORTVERSION= 1.6.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= astro geography MAINTAINER= ports@FreeBSD.org COMMENT= Correlate digital camera photos with GPS data in GPX format WWW= http://freefoote.dview.net/linux_gpscorr.html LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libgtkmm-2.4.so:x11-toolkits/gtkmm24 LIB_DEPENDS+= libatk-1.0.so:accessibility/at-spi2-core LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig LIB_DEPENDS+= libfreetype.so:print/freetype2 LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz USES= compiler:c++11-lang gettext-runtime gmake gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= freefoote USE_GNOME= cairo gdkpixbuf glib20 gtk20 libxml2 pango PLIST_FILES= bin/gpscorrelate bin/gpscorrelate-gui \ share/man/man1/gpscorrelate.1.gz share/man/man1/gpscorrelate-gui.1.gz PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|^CFLAGS|#CFLAGS| ; \ s|^override CFLAGS|override IFLAGS| ; \ s|gtk+-2.0)|gtk+-2.0 exiv2)| ; \ s|-I/usr/include/exiv2|| ; \ s|-lexiv2|| ; \ /^all:/s|gpscorrelate.1|| ; \ s|g++ $$(OFLAGS)|$$(CXX) $$(OFLAGS)| ; \ s|g++ $$(CFLAGS)|$$(CXX) $$(CXXFLAGS) $$(IFLAGS)| ; \ s|gcc $$(CFLAGS)|$$(CC) $$(CFLAGS) $$(IFLAGS)|' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gpscorrelate ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/gpscorrelate-gui ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/gpscorrelate.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${LN} -sf gpscorrelate.1 \ ${STAGEDIR}${PREFIX}/share/man/man1/gpscorrelate-gui.1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/RELEASES ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR}/html .include diff --git a/audio/aqualung/Makefile b/audio/aqualung/Makefile index 1c41d4e44fdf..8f73dfe59bdf 100644 --- a/audio/aqualung/Makefile +++ b/audio/aqualung/Makefile @@ -1,73 +1,73 @@ PORTNAME= aqualung DISTVERSION= 1.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= audio MAINTAINER= portmaster@BSDforge.com COMMENT= Music player with rich features WWW= https://aqualung.jeremyevans.net/ PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= a991c13d0df734a5d0fea7db6b181176858f3e58.patch:-p1 # Support newer audio/mac PATCHFILES+= d2c88317b6042a05c236faf3c09f600337c6379e.patch:-p1 # Support newer audio/mac PATCHFILES+= 1c2a295a72e1e3abc6df40714d9753e311541550.patch:-p1 # Support newer audio/mac LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libFLAC.so:audio/flac \ libmp3lame.so:audio/lame \ libmad.so:audio/libmad \ libmodplug.so:audio/libmodplug \ libogg.so:audio/libogg \ liboggz.so:audio/liboggz \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ libMAC.so:audio/mac \ libspeex.so:audio/speex \ libwavpack.so:audio/wavpack \ libavcodec.so:multimedia/ffmpeg \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libcdio.so:sysutils/libcdio \ libcdio_paranoia.so:sysutils/libcdio-paranoia \ liblrdf.so:textproc/liblrdf \ libfontconfig.so:x11-fonts/fontconfig USES= autoreconf compiler:c++11-lang cpe gettext gnome localbase lua:52 pkgconfig USE_GNOME= cairo gdkpixbuf gtk20 libxml2 libxslt USE_GITHUB= yes GH_ACCOUNT= jeremyevans GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cddb=no \ --with-ifp=no \ --with-mpc=no DESKTOP_ENTRIES="Aqualung" "" "${DATADIR}/general.png" "aqualung" \ "Audio;AudioVideo;GTK;" "" OPTIONS_DEFINE= ALSA DOCS JACK PULSEAUDIO SNDIO ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-alsa=yes ALSA_CONFIGURE_OFF= --with-alsa=no JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ON= --with-jack=yes JACK_CONFIGURE_OFF= --with-jack=no PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ON= --with-pulse=yes PULSEAUDIO_CONFIGURE_OFF= --with-pulse=no SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ON= --with-sndio=yes SNDIO_CONFIGURE_OFF= --with-sndio=no post-patch: # Remove unused duplicate global symbols (-fno-common) @${REINPLACE_CMD} -E '/^g?char command/d' \ ${WRKSRC}/src/gui_main.c .include diff --git a/audio/ardour/Makefile b/audio/ardour/Makefile index 891e3435278d..dbbe00b93340 100644 --- a/audio/ardour/Makefile +++ b/audio/ardour/Makefile @@ -1,128 +1,128 @@ PORTNAME= ardour DISTVERSION= 8.12.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio # Official source download is tailored to browsers, downloads from github are # deliberately made empty. Put the badly named distfile into a subdirectory. MASTER_SITES= https://community.ardour.org/download/release/ DISTNAME= Ardour-${DISTVERSION} DISTFILES= 610 DIST_SUBDIR= ${DISTNAME} MAINTAINER= dev@submerge.ch COMMENT= Multichannel digital audio workstation WWW= https://ardour.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ lv2>=1.18.0:audio/lv2 \ itstool>2.0.0:textproc/itstool \ ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= as:devel/binutils LIB_DEPENDS= libserd-0.so:devel/serd \ libsord-0.so:devel/sord \ libsratom-0.so:audio/sratom \ liblilv-0.so:audio/lilv \ libsuil-0.so:audio/suil \ libaubio.so:audio/aubio \ librubberband.so:audio/rubberband \ liblo.so:audio/liblo \ liblrdf.so:textproc/liblrdf \ libjack.so:audio/jack \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libvamp-hostsdk.so:audio/vamp-plugin-sdk \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libtag.so:audio/taglib \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libcurl.so:ftp/curl \ libogg.so:audio/libogg \ libFLAC.so:audio/flac \ libwebsockets.so:net/libwebsockets USES= compiler:c++14-lang desktop-file-utils gettext gnome \ libarchive pkgconfig python:build readline ssl tar:bzip2 \ waf xorg shared-mime-info USE_CXXSTD= c++14 USE_GNOME= atk cairo cairomm gdkpixbuf glib20 glibmm gtk20 gtkmm24 libxml2 pango USE_LDCONFIG= yes USE_XORG= x11 CONFIGURE_ARGS= --optimize --ptformat --freedesktop --no-phone-home \ --with-backends=jack,dummy --internal-shared-libs --no-ytk \ ${CONFIGURE_ARGS_${ARCH}} CONFIGURE_ARGS_amd64= --arch='-msse -mfpmath=sse -DARCH_X86' --dist-target=x86_64 # only support for i686 or better CONFIGURE_ARGS_i386= --arch='-msse -mfpmath=sse -march=i686 -DARCH_X86' --dist-target=i686 CONFIGURE_ENV+= PYTHONDONTWRITEBYTECODE=1 MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 LDFLAGS_powerpc= -Wl,-z,notext ARDOUR_MAJOR= ardour8 ETCDIR= ${PREFIX}/etc/${ARDOUR_MAJOR} DATADIR= ${PREFIX}/share/${ARDOUR_MAJOR} BINARY_ALIAS+= gas=${CC} PLIST_SUB+= VERSION=${PORTVERSION} \ ARDOUR_MAJOR=${ARDOUR_MAJOR} OPTIONS_DEFINE= VST3 OPTIONS_SUB= yes VST3_DESC= Build with VST3 plugin support VST3_BUILD_DEPENDS= vst3sdk>0:audio/vst3sdk VST3_CONFIGURE_OFF= --no-vst3 post-patch: @${REINPLACE_CMD} -e 's/obj\.use = '\''libsmf libpbd'\''/obj\.use = '\''libsmf_internal libpbd'\''/g' ${WRKSRC}/libs/evoral/wscript @${REINPLACE_CMD} -e 's/libsmf\.name = '\''libsmf'\''/libsmf\.name = '\''libsmf_internal'\''/g' ${WRKSRC}/libs/evoral/wscript @${REINPLACE_CMD} -e 's/libsmf\.target = '\''smf'\''/libsmf\.target = '\''smf_internal'\''/g' ${WRKSRC}/libs/evoral/wscript post-install: @${FIND} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR} \ -name '*.so*' -exec ${STRIP_CMD} {} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/sanityCheck @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/utils/${ARDOUR_MAJOR}-copy-mixer @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/utils/${ARDOUR_MAJOR}-export @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/utils/${ARDOUR_MAJOR}-new_empty_session @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/utils/${ARDOUR_MAJOR}-new_session @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/ardour-exec-wrapper @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/ardour-vst-scanner @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/ardour-${PORTVERSION} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/hardour-${PORTVERSION} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/luasession @${LN} -sf ../lib/${ARDOUR_MAJOR}/utils/ardour-util.sh \ ${STAGEDIR}${PREFIX}/bin/${ARDOUR_MAJOR}-new_session @${LN} -sf ../lib/${ARDOUR_MAJOR}/utils/ardour-util.sh \ ${STAGEDIR}${PREFIX}/bin/${ARDOUR_MAJOR}-copy-mixer @${LN} -sf ../lib/${ARDOUR_MAJOR}/utils/ardour-util.sh \ ${STAGEDIR}${PREFIX}/bin/${ARDOUR_MAJOR}-export @${LN} -sf ../lib/${ARDOUR_MAJOR}/utils/ardour-util.sh \ ${STAGEDIR}${PREFIX}/bin/${ARDOUR_MAJOR}-new_empty_session @${LN} -sf ffmpeg ${STAGEDIR}${PREFIX}/bin/ffmpeg_harvid @${LN} -sf ffprobe ${STAGEDIR}${PREFIX}/bin/ffprobe_harvid post-install-VST3-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${ARDOUR_MAJOR}/ardour-vst3-scanner .include # Some peripheral libraries are only built with libusb-1.0 >= 1.0.16 .if ${OPSYS} == FreeBSD && \ (${OSVERSION} <= 1304500 \ || 1400000 <= ${OSVERSION} && ${OSVERSION} <= 1401502 \ || 1500000 <= ${OSVERSION} && ${OSVERSION} <= 1500019) PLIST_SUB+= LIBUSB="@comment " .else PLIST_SUB+= LIBUSB="" .endif .include diff --git a/audio/ario/Makefile b/audio/ario/Makefile index e0f09e3fc304..dab331ba83ad 100644 --- a/audio/ario/Makefile +++ b/audio/ario/Makefile @@ -1,58 +1,58 @@ PORTNAME= ario PORTVERSION= 1.6 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= SF/ario-player/ario-player/${PORTVERSION} MAINTAINER= alfix86@gmail.com COMMENT= GTK client for MPD WWW= https://ario-player.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= intltoolize:textproc/intltool LIB_DEPENDS= libcurl.so:ftp/curl GNU_CONFIGURE= yes USES= gmake gnome libtool pkgconfig USE_LDCONFIG= yes USE_GNOME= gtk30 pango atk cairo gdkpixbuf glib20 libxml2 INSTALL_TARGET= install-strip OPTIONS_DEFINE= AVAHI DBUS DEBUG LIBMPDCLIENT2 MPDIDLE NLS PLAYLISTS SEARCH TAGLIB OPTIONS_SUB= yes LIBMPDCLIENT2_DESC= API library for interfacing MPD MPDIDLE_DESC= MPD idle mode support PLAYLISTS_DESC= Playlists support SEARCH_DESC= Search view support TAGLIB_DESC= Manage ID3 tags and Ogg comments OPTIONS_DEFAULT= DBUS LIBMPDCLIENT2 MPDIDLE PLAYLISTS SEARCH TAGLIB AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CONFIGURE_ENABLE= avahi DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus libdbus-glib-1.so:devel/dbus-glib DBUS_CONFIGURE_ENABLE= dbus DEBUG_CONFIGURE_ENABLE= debug LIBMPDCLIENT2_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient LIBMPDCLIENT2_CONFIGURE_ENABLE= libmpdclient2 MPDIDLE_CONFIGURE_ENABLE= mpdidle NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PLAYLISTS_CONFIGURE_ENABLE= playlists SEARCH_CONFIGURE_ENABLE= search TAGLIB_LIB_DEPENDS= libtag_c.so:audio/taglib libtag.so:audio/taglib TAGLIB_CONFIGURE_ENABLE= taglib .include diff --git a/audio/denemo/Makefile b/audio/denemo/Makefile index 990f896ef641..3dd14cc6f44d 100644 --- a/audio/denemo/Makefile +++ b/audio/denemo/Makefile @@ -1,113 +1,113 @@ PORTNAME= denemo PORTVERSION= 2.0.6 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= audio MASTER_SITES= GNU MAINTAINER= multimedia@FreeBSD.org COMMENT= Graphical score editor WWW= http://www.denemo.org/ LICENSE= GPLv3+ BROKEN_mips= fails to package: tar: Pathname cannot be converted from UTF-8 to current locale LIB_DEPENDS= libaubio.so:audio/aubio \ libfluidsynth.so:audio/fluidsynth \ libjack.so:audio/jack \ libsmf.so:audio/libsmf \ libsndfile.so:audio/libsndfile \ libportaudio.so:audio/portaudio \ librubberband.so:audio/rubberband \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libsamplerate.so:audio/libsamplerate \ libfftw3.so:math/fftw3 RUN_DEPENDS= xdg-open:devel/xdg-utils EXTRACT_BEFORE_ARGS=\ -s '!\(/Clarinet in B\).*\(\.denemo\)$$!\1b\2!p' -xf USES= bison:alias compiler:c++11-lang desktop-file-utils gettext gmake \ gnome guile:1.8 localbase:ldflags pkgconfig USE_GNOME= cairo intltool librsvg2 libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-jack \ --disable-alsa \ --disable-portmidi \ --disable-gtk-doc \ --disable-gtk-doc-html \ --disable-gtk-doc-pdf \ --enable-guile_1_8 CFLAGS+= -Wno-error=return-type OPTIONS_DEFINE= DOCS EXAMPLES LILYPOND PDF OPTIONS_SINGLE= TOOLKIT OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3 OPTIONS_DEFAULT= GTK3 GTK2_USE= gnome=gtk20,gtksourceview2 GTK2_CONFIGURE_ON= --enable-gtk2 GTK3_USE= gnome=gtk30,gtksourceview3 LILYPOND_DESC= Install LilyPond (Printing) LILYPOND_RUN_DEPENDS= lilypond:print/lilypond PDF_CONFIGURE_OFF= --disable-evince TOOLKIT_DESC= GTK toolkit .include .if ${PORT_OPTIONS:MGTK3} && ${PORT_OPTIONS:MPDF} LIB_DEPENDS+= libevview3.so:graphics/evince .endif .if ${PORT_OPTIONS:MGTK2} && ${PORT_OPTIONS:MPDF} LIB_DEPENDS+= libatrilview.so:graphics/atril .endif .include .if ${COMPILER_TYPE} == clang CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e \ 's|-lpthread|-pthread| ; \ /^CFLAGS=/s|_LIBS|_CFLAGS| ; \ s|evince-view-2.30 >= 2.|atril-view-1.5.|' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/) install-data-hook/s|^|#|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ '/^docdir/s|$$(datadir)/$${PACKAGE}|@docdir@|' \ ${WRKSRC}/docs/Makefile.in @${REINPLACE_CMD} -e \ '/^imagedir/s|$$(datadir)/$${PACKAGE}|@docdir@|' \ ${WRKSRC}/docs/images/Makefile.in @${REINPLACE_CMD} -e \ 's|"firefox"|"xdg-open"|' ${WRKSRC}/src/core/prefops.c .if ${PORT_OPTIONS:MGTK2} && ${PORT_OPTIONS:MPDF} @${FIND} ${WRKSRC}/src -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \ '/^#include/s|evince|atril|' .endif post-install: @(cd ${WRKSRC} && ${COPYTREE_SHARE} "actions templates" \ ${STAGEDIR}${DATADIR}) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS ChangeLog NEWS (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor .for i in DESIGN DESIGN.lilypond GOALS TODO (cd ${WRKSRC}/docs && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${INSTALL_DATA} *.denemo \ ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/audio/ezstream/Makefile b/audio/ezstream/Makefile index 2d720c2784c3..79ef89064e20 100644 --- a/audio/ezstream/Makefile +++ b/audio/ezstream/Makefile @@ -1,59 +1,59 @@ PORTNAME= ezstream PORTVERSION= 0.5.6 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= audio MASTER_SITES= https://downloads.xiph.org/releases/ezstream/ \ https://ftp.osuosl.org/pub/xiph/releases/ezstream/ MAINTAINER= ayu@commun.jp COMMENT= Command line utility for streaming to icecast servers WWW= http://www.icecast.org/ezstream.php LIB_DEPENDS= libshout.so:audio/libshout \ libvorbis.so:audio/libvorbis OPTIONS_DEFINE= TAGLIB DOCS EXAMPLES OPTIONS_DEFAULT= TAGLIB TAGLIB_DESC= TagLib support USES= gnome iconv pkgconfig USE_GNOME= libxml2 USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share PORTDOCS= NEWS README PORTEXAMPLES= ezstream_metadata.xml ezstream_mp3.xml \ ezstream_reencode_mp3.xml ezstream_reencode_theora.xml \ ezstream_reencode_vorbis.xml ezstream_stdin_vorbis.xml \ ezstream_vorbis.xml meta.sh play.sh PLIST_FILES= bin/ezstream bin/ezstream-file.sh etc/ezstream/ezstream.xml \ share/man/man1/ezstream-file.sh.1.gz share/man/man1/ezstream.1.gz CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib TAGLIB_CONFIGURE_OFF= --without-taglib TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib TAGLIB_CONFIGURE_ON= --with-taglib=${LOCALBASE} .include post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s|examples||g ; \ s|: install-dist_docDATA|:|g' ${WRKSRC}/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}/ .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}/ .endfor @${MKDIR} ${STAGEDIR}${ETCDIR}/ ${INSTALL_DATA} ${WRKSRC}/examples/ezstream_vorbis.xml ${STAGEDIR}${ETCDIR}/ezstream.xml .include diff --git a/audio/gsequencer/Makefile b/audio/gsequencer/Makefile index 3ab8d4b137e3..3c69463668d0 100644 --- a/audio/gsequencer/Makefile +++ b/audio/gsequencer/Makefile @@ -1,84 +1,85 @@ PORTNAME= gsequencer DISTVERSION= 7.5.5 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Advanced Gtk+ sequencer WWW= https://nongnu.org/gsequencer/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= dssi>0:audio/dssi \ gtkdocize:textproc/gtk-doc \ lv2>0:audio/lv2 BUILD_DEPENDS+= p5-File-Find-Rule>0:devel/p5-File-Find-Rule # only for bsd steps in custom configure LIB_DEPENDS= libfftw3.so:math/fftw3 \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz \ libinstpatch-1.0.so:audio/libinstpatch \ libjson-glib-1.0.so:devel/json-glib \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libsoup-3.0.so:devel/libsoup3 \ libuuid.so:misc/e2fsprogs-libuuid \ libvulkan.so:graphics/vulkan-loader \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 RUN_DEPENDS= dssi>0:audio/dssi USES= autoreconf desktop-file-utils gettext-runtime gettext-tools gmake gnome gstreamer \ libtool localbase:ldflags perl5 pkgconfig shared-mime-info USE_GNOME= cairo gdkpixbuf glib20 gtk40 libxml2 pango USE_XORG= x11 USE_CSTD= gnu99 USE_LDCONFIG= yes USE_PERL5= build # only for custom bsd steps in configure USE_GITHUB= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV= CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ INTROSPECTION_SCANNER=g-ir-scanner INTROSPECTION_COMPILER=g-ir-compiler MAKE=${GMAKE} CC=${CC} CXX=${CXX} LD=clang CONFIGURE_ARGS= --disable-alsa --enable-oss --enable-introspection --disable-rt CPPFLAGS+= -DAGS_LICENSE_FILENAME=\\\"${LOCALBASE}/share/licenses/${PKGNAME}/${LICENSE}\\\" \ -DAGS_LOGO_FILENAME=\\\"${DATADIR}/images/ags.png\\\" # there should be no need to supply AGS_LOGO_FILENAME here since the app knows its location LDFLAGS+= -luuid INSTALL_TARGET= install-strip PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DOCS JACK PULSEAUDIO X11 OPTIONS_DEFAULT= X11 DOCS_CONFIGURE_ON= HTMLHELP_XSL=${LOCALBASE}/share/xsl/docbook/htmlhelp/htmlhelp.xsl --docdir=${DOCSDIR} --enable-single-docdir DOCS_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl DOCS_USE= GNOME=libxslt:build DOCS_ALL_TARGET= html DOCS_INSTALL_TARGET= install-html JACK_CONFIGURE_ENABLE= jack # the JACK option is probably broken, see https://github.com/gsequencer/gsequencer/issues/62 JACK_LIB_DEPENDS= libjack.so:audio/jack PULSEAUDIO_CONFIGURE_ENABLE= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio X11_CONFIGURE_ENABLE= x11 # not sure what does X11 support realy mean, because it also shows the window wuth X11=OFF X11_USES= xorg PORTDOCS= * post-extract: @${RM} ${WRKSRC}/configure.ac.orig do-configure: # it fails to build with clang without this custom configure step @${ECHO} "==> Configure, patch symbols, and re-run configure again" @cd ${WRKSRC} && \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} && \ ${MAKE_CMD} gen-symbols-all-bsd && \ ${MAKE_CMD} fix-symbols-all-bsd && \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} .include diff --git a/audio/gtkpod/Makefile b/audio/gtkpod/Makefile index cf84be45e0c0..33771209e248 100644 --- a/audio/gtkpod/Makefile +++ b/audio/gtkpod/Makefile @@ -1,63 +1,63 @@ PORTNAME= gtkpod PORTVERSION= 1.0.0 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= GUI for Apple iPod using GTK2 WWW= http://www.gtkpod.org/ LICENSE= GPLv2 LIB_DEPENDS= libid3tag.so:audio/libid3tag \ libgpod.so:audio/libgpod USES= gettext gmake gnome pkgconfig python:run shebangfix SHEBANG_FILES= scripts/mab2vcard scripts/sync-evolution.sh \ scripts/sync-knotes.sh scripts/sync-ldif.sh \ scripts/sync-palm-jppy.py USE_GNOME= gtk20 intltool libglade2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= ChangeLog NEWS README TODOandBUGS.txt TROUBLESHOOTING OPTIONS_DEFINE= VORBIS FLAC CURL DOCS OPTIONS_DEFAULT= VORBIS FLAC CURL CURL_DESC= Cover art download support via libcurl VORBIS_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis VORBIS_CONFIGURE_OFF= --without-ogg FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_OFF= --without-flac CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_OFF= --without-curl post-patch: # Install locale files correctly (to share dir instead of lib dir) @${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' \ ${WRKSRC}/configure # FreeBSD does not have separate libdl.so @${REINPLACE_CMD} -e 's| -ldl||' ${WRKSRC}/src/Makefile.in # Fix location of the header @${REINPLACE_CMD} -e 's|endian\.h|sys/&|' ${WRKSRC}/configure \ ${WRKSRC}/src/mp4file.c # Fix the build with -fno-common (for Clang 11 and GCC 10) @${REINPLACE_CMD} -e '/main_window_xml/s|^|extern |' \ ${WRKSRC}/src/display.h @${REINPLACE_CMD} -e '51s|^|GladeXML *main_window_xml;|' \ ${WRKSRC}/src/display.c @${REINPLACE_CMD} -e 's|} CONF_ID|}|' ${WRKSRC}/src/confirmation.h post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/icecast/Makefile b/audio/icecast/Makefile index 5bc6691c8820..eef46995c6e3 100644 --- a/audio/icecast/Makefile +++ b/audio/icecast/Makefile @@ -1,45 +1,45 @@ PORTNAME= icecast PORTVERSION= 2.4.4 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= audio net MASTER_SITES= https://downloads.xiph.org/releases/icecast/:source \ https://ftp.osuosl.org/pub/xiph/releases/icecast/:source \ LOCAL/sunpoet/icecast:icon,source \ https://github.com/xiph/Icecast-Server/raw/master/web/:icon DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source \ favicon.ico:icon DIST_SUBDIR= icecast EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Streaming mp3/ogg-vorbis audio server WWW= https://icecast.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libogg.so:audio/libogg \ libspeex.so:audio/speex \ libtheora.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis USES= cpe gmake gnome localbase pkgconfig ssl USE_GNOME= libxml2 libxslt GNU_CONFIGURE= yes USE_RC_SUBR= icecast CONFLICTS_INSTALL= icecast-kh SUB_FILES= pkg-message CPE_VENDOR= xiph OPTIONS_DEFINE= DOCS post-install: ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/favicon.ico ${STAGEDIR}${DATADIR}/web/ .include diff --git a/audio/ices/Makefile b/audio/ices/Makefile index acc4c100a90c..657727de6293 100644 --- a/audio/ices/Makefile +++ b/audio/ices/Makefile @@ -1,34 +1,34 @@ PORTNAME= ices PORTVERSION= 2.0.3 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= audio net MASTER_SITES= https://downloads.xiph.org/releases/ices/ \ https://ftp.osuosl.org/pub/xiph/releases/ices/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Vorbis streaming source client for icecast 2 WWW= https://icecast.org/ices/ \ https://gitlab.xiph.org/xiph/icecast-ices LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libogg.so:audio/libogg \ libshout.so:audio/libshout \ libspeex.so:audio/speex \ libtheora.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis USES= gmake gnome iconv pkgconfig tar:bzip2 USE_GNOME= libxml2 CONFIGURE_ARGS= --disable-roaraudio --disable-sun-audio GNU_CONFIGURE= yes OPTIONS_DEFINE= ALSA ALSA_CONFIGURE_ENABLE= alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib .include diff --git a/audio/lash/Makefile b/audio/lash/Makefile index 1aa2511532d0..8cd86337d724 100644 --- a/audio/lash/Makefile +++ b/audio/lash/Makefile @@ -1,58 +1,58 @@ PORTNAME= lash PORTVERSION= 0.5.4 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= audio MASTER_SITES= SAVANNAH MAINTAINER= ports@FreeBSD.org COMMENT= Session management system for JACK audio applications WWW= https://www.nongnu.org/lash/ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libjack.so:audio/jack \ libdssialsacompat.so:audio/libdssialsacompat \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libuuid.so:misc/e2fsprogs-libuuid USES= gmake gnome libtool pathfix pkgconfig USE_GNOME= gtk20 libxml2 gdkpixbuf cairo GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa-midi USE_LDCONFIG= yes LIBS= -luuid INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include/dssi -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -pthread OPTIONS_DEFINE= READLINE PYTHON DOCS OPTIONS_DEFAULT=READLINE OPTIONS_SUB= yes PYTHON_DESC= Build pylash PYTHON_USES= python PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_CONFIGURE_ENABLE=pylash PYTHON_BROKEN= Does not package READLINE_USES= readline READLINE_CONFIGURE_ENV_OFF= vl_cv_lib_readline=no DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_CONFIGURE_ENV_OFF= ac_cv_prog_lash_texi2html=no post-patch: @${REINPLACE_CMD} -e \ '/if test/s|==|=|' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/texi2html/s|--number||' ${WRKSRC}/docs/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/lash-manual-html-one-page/lash-manual.html \ ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/libgpod/Makefile b/audio/libgpod/Makefile index a0f643cfd4d7..ee5f158a2fb5 100644 --- a/audio/libgpod/Makefile +++ b/audio/libgpod/Makefile @@ -1,57 +1,57 @@ PORTNAME= libgpod PORTVERSION= 0.8.3 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= audio MASTER_SITES= SF/gtkpod/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} MAINTAINER?= ports@FreeBSD.org COMMENT?= Library for direct access to iPod contents WWW= http://www.gtkpod.org/wiki/Libgpod LICENSE= LGPL20 LIB_DEPENDS= libplist-2.0.so:devel/libplist \ libtag.so:audio/taglib \ libsgutils2.so:sysutils/sg3_utils USES= compiler:c++11-lang gettext gmake gnome libtool localbase \ pathfix pkgconfig sqlite:3 tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-udev --without-hal \ --without-python \ --with-html-dir="${DOCSDIR:H}" USE_CSTD= gnu89 USE_GNOME= gdkpixbuf intltool libxml2 INSTALL_TARGET= install-strip USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS IMOBILE OPTIONS_DEFAULT=IMOBILE OPTIONS_SUB= yes IMOBILE_DESC= Apple iPhone/iPod Touch support IMOBILE_LIB_DEPENDS= libimobiledevice-1.0.so:comms/libimobiledevice IMOBILE_CONFIGURE_WITH= libimobiledevice PORTDOCS= ChangeLog NEWS README* .include .if ${PORT_OPTIONS:MIMOBILE} COMMENT:= ${COMMENT:S,iPod,&/iPhone,} .endif post-patch: @${REINPLACE_CMD} -e 's|libplist >= 1\.0|libplist-2.0 >= 2.0|g' \ ${WRKSRC}/configure post-install: ${INSTALL_PROGRAM} ${WRKSRC}/tools/ipod-time-sync \ ${STAGEDIR}${PREFIX}/bin @${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libgpod-sharp.pc post-install-DOCS-on: ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/libmusicbrainz5/Makefile b/audio/libmusicbrainz5/Makefile index 9a3309b36cbe..4e34b53bb530 100644 --- a/audio/libmusicbrainz5/Makefile +++ b/audio/libmusicbrainz5/Makefile @@ -1,31 +1,32 @@ PORTNAME= libmusicbrainz DISTVERSIONPREFIX= release- DISTVERSION= 5.1.0-41 +PORTREVISION= 1 DISTVERSIONSUFFIX= -g4655b57 CATEGORIES= audio PKGNAMESUFFIX= 5 MAINTAINER= jhale@FreeBSD.org COMMENT= MusicBrainz client library for audio metadata lookup WWW= https://musicbrainz.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.txt LIB_DEPENDS= libneon.so:www/neon USES= cmake compiler:c++11-lang gnome iconv:build pathfix pkgconfig USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= metabrainz post-patch: ${REINPLACE_CMD} -e 's|%%ICONV_PREFIX%%|${ICONV_PREFIX}|g' \ ${WRKSRC}/src/CMakeLists.txt ${RM} ${WRKSRC}/cmake/modules/FindLibXml2.cmake ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/cmake/modules/*.cmake .include diff --git a/audio/mate-media/Makefile b/audio/mate-media/Makefile index 522e5b7a12eb..fcd319a6d96c 100644 --- a/audio/mate-media/Makefile +++ b/audio/mate-media/Makefile @@ -1,34 +1,35 @@ PORTNAME= mate-media PORTVERSION= 1.28.1 +PORTREVISION= 1 CATEGORIES= audio mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Multimedia applications for the MATE desktop WWW= https://mate-desktop.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libstartup-notification-1.so:x11/startup-notification \ libunique-3.0.so:x11-toolkits/libunique3 PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool localbase mate pathfix \ pkgconfig tar:xz xorg USE_MATE= desktop mixer panel USE_GNOME= cairo glib20 gtk30 intlhack libxml2 USE_XORG= x11 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip .include diff --git a/audio/owntone/Makefile b/audio/owntone/Makefile index b308e0f52a76..64ee3ce35813 100644 --- a/audio/owntone/Makefile +++ b/audio/owntone/Makefile @@ -1,86 +1,86 @@ PORTNAME= owntone DISTVERSION= 28.12 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://github.com/owntone/owntone-server/releases/download/${DISTVERSION}/ MAINTAINER= dinoex@FreeBSD.org COMMENT= DAAP (iTunes), MPD (Music Player Daemon) and RSP (Roku) media server WWW= https://github.com/owntone/owntone-server LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libavahi-client.so:net/avahi-app \ libavcodec.so:multimedia/ffmpeg \ libconfuse.so:devel/libconfuse \ libcurl.so:ftp/curl \ libevent_pthreads.so:devel/libevent \ libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libgpg-error.so:security/libgpg-error \ libjson-c.so:devel/json-c \ libinotify.so:devel/libinotify \ libmxml.so:textproc/mxml \ libplist-2.0.so:devel/libplist \ libsodium.so:security/libsodium \ libunistring.so:devel/libunistring \ libprotobuf-c.so:devel/protobuf-c \ libuuid.so:misc/e2fsprogs-libuuid USES= tar:xz localbase libtool iconv:wchar_t pkgconfig gnome gmake \ gperf sqlite gnome pathfix USE_GNOME= libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-install_systemd \ --with-owntone-user=${OWNTONE_USER} \ --with-owntone-group=${OWNTONE_USER} GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message OWNTONE_USER?= daapd USERS?= daapd GROUPS?= daapd OPTIONS_DEFINE= ITUNES MPD AIRPLAY2 CHROMECAST WEBINTERFACE \ ALSA PULSEAUDIO NLS DOCS OPTIONS_DEFAULT= ITUNES MPD AIRPLAY2 CHROMECAST WEBINTERFACE \ ALSA NLS DOCS NO_OPTIONS_SORT=yes OPTIONS_SUB=yes AIRPLAY2_DESC= Prefer AirPlay 2 ITUNES_DESC= iTunes XML support CHROMECAST_DESC= Chromecast support MPD_DESC= Music Player Daemon protocol support WEBINTERFACE_DESC= Install web interface AIRPLAY2_CONFIGURE_ENABLE= preferairplay2 ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa ITUNES_CONFIGURE_ENABLE= itunes CHROMECAST_CONFIGURE_ENABLE= chromecast MPD_CONFIGURE_ENABLE= mpd PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio WEBINTERFACE_CONFIGURE_ENABLE= webinterface WEBINTERFACE_CONFIGURE_WITH= libwebsockets WEBINTERFACE_LIB_DEPENDS= libwebsockets.so:net/libwebsockets NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/owntone/owntone-sqlext.so ${MV} ${STAGEDIR}${PREFIX}/etc/owntone.conf \ ${STAGEDIR}${PREFIX}/etc/owntone.conf.sample .include diff --git a/audio/paman/Makefile b/audio/paman/Makefile index c803afe025f9..ac2aa3bd266f 100644 --- a/audio/paman/Makefile +++ b/audio/paman/Makefile @@ -1,20 +1,20 @@ PORTNAME= paman PORTVERSION= 0.9.4 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= audio MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/ MAINTAINER= romain@FreeBSD.org COMMENT= Gtk frontend for PulseAudio WWW= https://0pointer.de/lennart/projects/paman/ LIB_DEPENDS= libglademm-2.4.so:devel/libglademm24 \ libpulse.so:audio/pulseaudio GNU_CONFIGURE= yes USES= compiler:c++11-lang gmake pathfix pkgconfig USE_CXXSTD= c++11 CONFIGURE_ARGS= --disable-lynx .include diff --git a/audio/psindustrializer/Makefile b/audio/psindustrializer/Makefile index 8b28e98e0b7b..6ccea0d9b12c 100644 --- a/audio/psindustrializer/Makefile +++ b/audio/psindustrializer/Makefile @@ -1,50 +1,50 @@ PORTNAME= psindustrializer DISTVERSION= 0.2.7 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= audio MASTER_SITES= SF/industrializer/ MAINTAINER= yuri@FreeBSD.org COMMENT= Percussion sounds synthesizer using physical modelling WWW= https://sourceforge.net/projects/industrializer/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libharfbuzz.so:print/harfbuzz USES= gettext-runtime gl gmake gnome libtool pkgconfig tar:xz xorg USE_GNOME= atk cairo gdkpixbuf gtk20 libxml2 pango pangox-compat USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa INSTALL_TARGET= install-strip OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= JACK PULSE OPTIONS_DEFAULT= PULSE BACKEND_DESC= Audio Backend JACK_CONFIGURE_ENABLE= jack JACK_LIB_DEPENDS= libjack.so:audio/jack PULSE_DESC= PulseAudio support PULSE_CONFIGURE_ENABLE= pulse PULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile index 7a4e578ec20d..a66ac2ffdd05 100644 --- a/audio/rhythmbox/Makefile +++ b/audio/rhythmbox/Makefile @@ -1,69 +1,69 @@ PORTNAME= rhythmbox PORTVERSION= 3.4.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Audio player for GNOME WWW= https://wiki.gnome.org/Apps/Rhythmbox LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ itstool:textproc/itstool LIB_DEPENDS= libtotem-plparser.so:multimedia/totem-pl-parser \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libsoup-3.0.so:devel/libsoup3 \ libpeas-1.0.so:devel/libpeas1 \ libjson-glib-1.0.so:devel/json-glib \ libsecret-1.so:security/libsecret \ libgudev-1.0.so:devel/libgudev \ libtdb.so:databases/tdb USES= desktop-file-utils gettext gnome gstreamer localbase:ldflags meson \ pkgconfig tar:xz vala:build xorg USE_GNOME= cairo gdkpixbuf glib20 gtk30 introspection libxml2 USE_XORG= ice x11 xorgproto USE_GSTREAMER= flac lame jpeg cdparanoia vorbis MESON_ARGS= -Dapidoc=false \ -Dtests=disabled USE_LDCONFIG= yes GLIB_SCHEMAS= org.gnome.rhythmbox.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= BRASERO DAAP DOCS GRILO IPOD LIRC MTP NLS NOTIFY PYTHON OPTIONS_DEFAULT=BRASERO NOTIFY PYTHON BRASERO_DESC= Brasero disc burning support BRASERO_MESON_ENABLED= brasero BRASERO_LIB_DEPENDS= libbrasero-media3.so:sysutils/brasero DAAP_DESC= DAAP support DAAP_MESON_ENABLED= daap DAAP_LIB_DEPENDS= libdmapsharing-4.0.so:net/libdmapsharing GRILO_DESC= Media discovery with Grilo GRILO_MESON_ENABLED= grilo GRILO_BUILD_DEPENDS= grilo>=0.3.1:net/grilo GRILO_LIB_DEPENDS= libgrilo-0.3.so:net/grilo GRILO_RUN_DEPENDS= grilo-plugins>=0.3.2:net/grilo-plugins IPOD_DESC= iPod support IPOD_MESON_ENABLED= ipod IPOD_LIB_DEPENDS= libgpod.so:audio/libgpod \ libplist-2.0.so:devel/libplist \ libimobiledevice-1.0.so:comms/libimobiledevice LIRC_MESON_ENABLED= lirc LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc MTP_MESON_ENABLED= mtp MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp NOTIFY_MESON_ENABLED= libnotify NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify PYTHON_MESON_ENABLED= plugins_python PYTHON_USES= python PYTHON_USE= gnome=pygobject3 PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas1>=0:devel/py-libpeas1@${PY_FLAVOR} PYTHON_BINARY_ALIAS= python3=${PYTHON_CMD} .include diff --git a/audio/soundtracker/Makefile b/audio/soundtracker/Makefile index fecdd07abb1b..eda4ceccb8a3 100644 --- a/audio/soundtracker/Makefile +++ b/audio/soundtracker/Makefile @@ -1,51 +1,51 @@ PORTNAME= soundtracker DISTVERSION= 1.0.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Pattern-oriented music editor WWW= https://sourceforge.net/projects/soundtracker/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsndfile.so:audio/libsndfile RUN_DEPENDS= bash:shells/bash USES= desktop-file-utils gettext gmake gnome pkgconfig shebangfix tar:xz xorg USE_GNOME= cairo gdkpixbuf glib20 gtk20 libxml2 pango USE_XORG= x11 SHEBANG_FILES= soundtracker_convert_config CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl2-config GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --disable-alsa OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= JACK OSS PULSEAUDIO SDL OPTIONS_DEFAULT= OSS PULSEAUDIO SDL # JACK BACKEND_DESC= Audio backends: JACK_CONFIGURE_ENABLE= jack JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_BROKEN= # 2023-10-02: JACK option is be broken because the build doesn't use Jack when the option is set OSS_CONFIGURE_ENABLE= oss PULSEAUDIO_CONFIGURE_ENABLE= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio SDL_CONFIGURE_ENABLE= sdl SDL_USES= sdl SDL_USE= SDL=sdl2 .include diff --git a/biology/libcombine/Makefile b/biology/libcombine/Makefile index 81ed203b5b35..1111c30ed2de 100644 --- a/biology/libcombine/Makefile +++ b/biology/libcombine/Makefile @@ -1,30 +1,31 @@ PORTNAME= libcombine DISTVERSIONPREFIX= v DISTVERSION= 0.2.20 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library for working with the COMBINE archive format WWW= https://sbml.org/software/libsbml/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libsbml.so:biology/libsbml USES= cmake:testing compiler:c++11-lang gnome localbase:ldflags USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= sbmlteam GH_PROJECT= libCombine GH_TUPLE= fbergmann:zipper:c56a27f:zipper/submodules/zipper \ sebastiandev:minizip:e3a8cb7:zipper_minizip/submodules/zipper/minizip CMAKE_OFF= BUILD_TEST CMAKE_TESTING_ON= BUILD_TEST # tests fail to build, see https://github.com/sbmlteam/libCombine/issues/58 LDFLAGS+= -lsbml # FindSBML.cmake fails to set this link flag .include diff --git a/biology/libnuml/Makefile b/biology/libnuml/Makefile index b978d8f8bc4d..5eaa62c672c8 100644 --- a/biology/libnuml/Makefile +++ b/biology/libnuml/Makefile @@ -1,30 +1,31 @@ PORTNAME= libnuml DISTVERSIONPREFIX= v DISTVERSION= 1.1.7 +PORTREVISION= 1 CATEGORIES= biology devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library for Numerical Markup Language WWW= https://github.com/NuML/NuML LICENSE= LGPL21 LIB_DEPENDS= libsbml.so:biology/libsbml USES= cmake gnome USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= NuML GH_PROJECT= NuML WRKSRC_SUBDIR= ${PORTNAME} post-install: # no need to install LICENSE, README, VERSION @${RM} -r ${STAGEDIR}${DATADIR} # workaround for https://github.com/NuML/NuML/issues/26 ${RM} -r ${STAGEDIR}${PREFIX}/share/cmake .include diff --git a/biology/libsbml/Makefile b/biology/libsbml/Makefile index fec0997b39be..6e771892526e 100644 --- a/biology/libsbml/Makefile +++ b/biology/libsbml/Makefile @@ -1,78 +1,79 @@ PORTNAME= libsbml PORTVERSION= 5.20.5 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= biology devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= API Library for Working with SBML File WWW= https://sbml.org/software/libsbml/ \ https://synonym.caltech.edu/ \ https://github.com/sbmlteam/libsbml LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.txt USES= cmake:testing iconv:build pathfix CMAKE_OFF= EXIT_ON_ERROR \ LIBSBML_SKIP_SHARED_LIBRARY \ LIBSBML_SKIP_STATIC_LIBRARY \ LIBSBML_USE_STRICT_INCLUDES \ PYTHON_USE_API2_WARNINGS \ WITH_ALL_PACKAGES \ WITH_CHECK \ WITH_CPP_NAMESPACE \ WITH_CSHARP \ WITH_DOXYGEN \ WITH_JAVA \ WITH_JAVASCRIPT \ WITH_MATLAB \ WITH_OCTAVE \ WITH_PERL \ WITH_PHP \ WITH_R \ WITH_STABLE_PACKAGES \ WITH_WALL CMAKE_ON= LIBSBML_SHARED_VERSION \ WITH_BZIP2 \ WITH_SWIG \ WITH_THREADSAFE_PARSER \ WITH_ZLIB CMAKE_TESTING_ON= WITH_CHECK USE_CXXSTD= c++98 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} USE_GITHUB= yes GH_ACCOUNT= sbmlteam OPTIONS_DEFINE= EXAMPLES PYTHON RUBY OPTIONS_SINGLE= XML OPTIONS_SINGLE_XML= EXPAT LIBXML2 XERCES OPTIONS_DEFAULT=LIBXML2 PYTHON OPTIONS_SUB= yes EXAMPLES_CMAKE_BOOL= WITH_EXAMPLES EXPAT_CMAKE_BOOL= WITH_EXPAT EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 LIBXML2_CMAKE_BOOL= WITH_LIBXML LIBXML2_USE= GNOME=libxml2 LIBXML2_USES= gnome PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_CMAKE_BOOL= WITH_PYTHON PYTHON_USES= python PYTHON_CMAKE_ON= WITH_SWIG RUBY_BUILD_DEPENDS= swig:devel/swig RUBY_CMAKE_BOOL= WITH_RUBY RUBY_USES= ruby XERCES_CMAKE_BOOL= WITH_XERCES XERCES_LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt post-install-EXAMPLES-on: ${MV} ${STAGEDIR}${DATADIR}examples ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/biology/libsedml/Makefile b/biology/libsedml/Makefile index cb2c3d8df493..7d464c557f5e 100644 --- a/biology/libsedml/Makefile +++ b/biology/libsedml/Makefile @@ -1,39 +1,40 @@ PORTNAME= libsedml DISTVERSIONPREFIX= v DISTVERSION= 2.0.33 +PORTREVISION= 1 CATEGORIES= biology devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ SED-ML library WWW= https://github.com/fbergmann/libSEDML LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= libsbml>0:biology/libsbml \ libnuml>0:biology/libnuml # statically linked, even into a shared library, see https://github.com/fbergmann/libSEDML/issues/155 RUN_DEPENDS= libsbml>0:biology/libsbml \ libnuml>0:biology/libnuml # when static lib libnuml.a is fixed these should be run-time dependency USES= cmake:testing compiler:c++11-lang gnome USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= fbergmann GH_PROJECT= libSEDML CMAKE_OFF= BUILD_TESTS CMAKE_TESTING_ON= BUILD_TESTS post-install: # no need to install LICENSE, README, VERSION @${RM} -r ${STAGEDIR}${DATADIR} # workaround for https://github.com/fbergmann/libSEDML/issues/163 ${RM} -r ${STAGEDIR}${PREFIX}/share/cmake # the project builds static libs with -fPIC, see https://github.com/fbergmann/libSEDML/issues/155 # tests as of 2.0.33: All tests passed (351 assertions in 33 test cases) .include diff --git a/cad/ifcopenshell/Makefile b/cad/ifcopenshell/Makefile index 811fc86d8d69..8810fd67d676 100644 --- a/cad/ifcopenshell/Makefile +++ b/cad/ifcopenshell/Makefile @@ -1,54 +1,54 @@ PORTNAME= ifcopenshell PORTVERSION= 0.7.0.231127 -PORTREVISION= 3 +PORTREVISION= 4 DISTVERSIONPREFIX= v CATEGORIES= cad PATCH_SITES= https://github.com/IfcOpenShell/IfcOpenShell/commit/ PATCHFILES= 589b98053e62ee14b6817e7d2b9f5b6b527310b7.patch:-p1 \ 1fe168d331123920eeb9a96e542fcc1453de57fe.patch:-p1 \ 0f87bd8206a50d186621c2511d2e907bcf438968.patch:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Open source IFC library and geometry engine WWW= https://ifcopenshell.org/ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= ${LOCALBASE}/include/CGAL/Cartesian.h:math/cgal \ ${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json \ ${LOCALBASE}/include/svgpp/svgpp.hpp:graphics/svgpp LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libgmp.so:math/gmp libmpfr.so:math/mpfr \ libTKernel.so:cad/opencascade740 USES= cmake compiler:c++11-lang eigen:3 gnome USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= IfcOpenShell GH_PROJECT= IfcOpenShell svgfill:sf GH_TAGNAME= 4d2aa7a:sf GH_SUBDIR= src/svgfill:sf PORTSCOUT= limit:^[0-9\.v]+$$ OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= BUILD_IFCPYTHON PYTHON_USES= python PYTHON_BUILD_DEPENDS= swig>=3.0.0:devel/swig CMAKE_SOURCE_PATH= ${WRKSRC}/cmake CMAKE_OFF= COLLADA_SUPPORT HDF5_SUPPORT CMAKE_ON= BUILD_SHARED_LIBS GLTF_SUPPORT CMAKE_ARGS= -DJSON_INCLUDE_DIR:PATH=${LOCALBASE}/include \ -DOCC_INCLUDE_DIR:PATH=${LOCALBASE}/include/OpenCASCADE \ -DGMP_LIBRARY_DIR:PATH=${LOCALBASE}/lib \ -DMPFR_LIBRARY_DIR:PATH=${LOCALBASE}/lib .include diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile index 8e7966ee9ba4..5ceb64708105 100644 --- a/cad/openvsp/Makefile +++ b/cad/openvsp/Makefile @@ -1,84 +1,85 @@ PORTNAME= openvsp DISTVERSIONPREFIX= ${GH_PROJECT}_ DISTVERSION= 3.43.0 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= fernape@FreeBSD.org COMMENT= Create a 3D model of an aircraft defined by engineering parameters WWW= http://www.openvsp.org/ LICENSE= NOSA13 LICENSE_NAME= NASA Open Source Agreement version 1.3 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= fails to compile: invokes x86 asm BUILD_DEPENDS= ${LOCALBASE}/lib/libopenNURBS.a:graphics/opennurbs \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ pandoc:textproc/hs-pandoc LIB_DEPENDS= libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfltk.so:x11-toolkits/fltk \ libcpptest.so:devel/cpptest MAKE_JOBS_UNSAFE=yes USES= cmake:noninja localbase \ gl gnome jpeg xorg .if !exists(/usr/include/omp.h) CXXFLAGS+= -fpermissive USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++11-lang .endif USE_GITHUB= yes GH_ACCOUNT= ${GH_PROJECT} GH_PROJECT= OpenVSP BINARY_ALIAS= fltk::fluid=fluid USE_GL= gl glew glu USE_GNOME= libxml2 USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft \ xinerama xrender xxf86vm CMAKE_ARGS= -DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \ -DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \ -DVSP_USE_SYSTEM_CODEELI:BOOLEAN=no \ -DVSP_USE_SYSTEM_EIGEN:BOOLEAN=no \ -DVSP_USE_SYSTEM_LIBXML2:BOOLEAN=yes \ -DVSP_USE_SYSTEM_FLTK:boolean=no \ -DCMAKE_PREFIX_PATH=/usr/local \ -DVSP_USE_SYSTEM_CMINPACK:boolean=no \ -DVSP_USE_SYSTEM_GLM:BOOLEAN=yes \ -DVSP_USE_SYSTEM_GLEW:BOOLEAN=yes CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} CMAKE_SOURCE_PATH= ${WRKSRC}/SuperProject BUILD_PREFIX= OpenVSP-prefix/src/OpenVSP-build/_CPack_Packages/FreeBSD/ZIP/OpenVSP-${DISTVERSION}-FreeBSD CXXFLAGS_powerpc64= -mvsx post-patch: @${REINPLACE_CMD} 's/fltk::gl/fltk_gl/' ${WRKSRC}/src/CMakeLists.txt \ ${WRKSRC}/src/vsp_aero/Viewer/CMakeLists.txt do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/${BUILD_PREFIX}/vspIcon.png ${STAGEDIR}${DATADIR} ${RM} ${STAGEDIR}${PREFIX}/vspIcon.png ${BUILD_WRKSRC}/${BUILD_PREFIX}/vspIcon.png .for f in vsp vspaero vspaero_adjoint vspaero_complex vspaero_opt vsploads vspscript vspviewer ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${BUILD_PREFIX}/${f} ${STAGEDIR}${PREFIX}/bin ${RM} ${STAGEDIR}${PREFIX}/${f} .endfor .for d in CustomScripts airfoil matlab scripts textures (cd ${BUILD_WRKSRC}/${BUILD_PREFIX}/${d} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${RM} -rf ${STAGEDIR}${PREFIX}/${d} .endfor ${CP} ${BUILD_WRKSRC}/${BUILD_PREFIX}/LICENSE ${STAGEDIR}${DATADIR} ${RM} ${STAGEDIR}${PREFIX}/LICENSE .include diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile index fb3124e7d5ff..04d8535804ea 100644 --- a/cad/oregano/Makefile +++ b/cad/oregano/Makefile @@ -1,41 +1,41 @@ PORTNAME= oregano DISTVERSIONPREFIX= v DISTVERSION= 0.84.43 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= cad MASTER_SITES= https://waf.io/:new_waf # for Python-3.11 compatibility DISTFILES= waf-2.1.1:new_waf EXTRACT_ONLY= ${GH_ACCOUNT}-${GH_PROJECT}-${DISTVERSIONFULL}_GH0${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Schematic capture and circuit simulator WWW= https://ahoi.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= nroff:textproc/groff LIB_DEPENDS= libgoocanvas-2.0.so:graphics/goocanvas2 USES= compiler:c11 desktop-file-utils gettext gnome pkgconfig \ shared-mime-info waf USE_GITHUB= yes GH_ACCOUNT= drahnr USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 gtksourceview3 intltool libxml2 pango GLIB_SCHEMAS= io.ahoi.oregano.gschema.xml .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: # use newer waf that is Python-3.11 compatible @${CP} ${DISTDIR}/waf-2.1.1 ${WRKSRC}/waf post-stage: @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/oregano bin/microtests ${RM} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/gschemas.compiled .include diff --git a/cad/pcb-rnd/Makefile b/cad/pcb-rnd/Makefile index 577c90d59d89..a00ec5804c9c 100644 --- a/cad/pcb-rnd/Makefile +++ b/cad/pcb-rnd/Makefile @@ -1,48 +1,49 @@ PORTNAME= pcb-rnd DISTVERSION= 3.1.6 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://www.repo.hu/projects/pcb-rnd/releases/ MAINTAINER= hasdalcodes@gmail.com COMMENT= Flexible, modular Printed Circuit Board editor WWW= http://www.repo.hu/projects/pcb-rnd/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfungw.so:devel/fungw \ libfreetype.so:print/freetype2 \ libgd.so:graphics/gd \ libgenht.so:devel/genht \ librnd-hid.so:cad/librnd USES= gmake gnome pkgconfig tar:bz2 USE_GNOME= libxml2 HAS_CONFIGURE= yes CONFIGURE_ARGS= --cflags/libs/sul/freetype2="-I${LOCALBASE}/include/freetype2 -I${LOCALBASE}/include/freetype2/freetype" \ --ldflags/libs/sul/freetype2=-L${LOCALBASE}/lib \ ${WITH_DEBUG:D--debug} \ --CC=${CC} \ --CFLAGS='${CFLAGS}' \ --LDFLAGS='${LDFLAGS}' TEST_TARGET= test BINARY_ALIAS= make=${MAKE_CMD} OPTIONS_DEFINE= DOCS TESTING_UNSAFE= yes # ld: error: unable to find library -lrnd-3rd post-patch: @${ECHO_CMD} 'USER_CFLAGS += -DSCCONFIG_ACCEPT_IMPLICIT' \ >> ${WRKSRC}/scconfig/Makefile post-install: .for f in bxl2txt gsch2pcb-rnd pcb-rnd txt2bxl ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/$f .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pcb-rnd/plugins/*.so .include diff --git a/cad/repsnapper/Makefile b/cad/repsnapper/Makefile index a7ef51ebd375..b2368922ab11 100644 --- a/cad/repsnapper/Makefile +++ b/cad/repsnapper/Makefile @@ -1,37 +1,38 @@ PORTNAME= repsnapper DISTVERSION= 2.5a5 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= martin.dieringer@gmx.de COMMENT= Controller and GCode generator for RepRap 3D printers WWW= https://reprap.org/wiki/RepSnapper_Manual:Introduction LICENSE= BSD3CLAUSE GPLv2 MIT LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/licenses/GPL-2.0.txt LICENSE_FILE_MIT= ${WRKSRC}/licenses/MIT.txt LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libgtkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm \ libpolyclipping.so:graphics/polyclipping \ libzip.so:archivers/libzip USES= autoreconf compiler:c++11-lib gettext gl gmake gnome libtool \ localbase perl5 pkgconfig USE_GITHUB= yes GH_ACCOUNT= timschmidt USE_GL= gl glu USE_GNOME= gtkmm24 intltool libxml++26 pangox-compat USE_PERL5= build USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/xdg/repsnapper/repsnapper.conf \ ${STAGEDIR}${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample .include diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile index c26906bcea2a..b4325328cf44 100644 --- a/chinese/fcitx/Makefile +++ b/chinese/fcitx/Makefile @@ -1,116 +1,116 @@ PORTNAME= fcitx PORTVERSION= 4.2.9.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= chinese x11 MASTER_SITES= http://download.fcitx-im.org/fcitx/:fcitx \ http://download.fcitx-im.org/data/:data DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:fcitx \ en_dict-${_DICT_VER}.tar.gz:data \ pinyin.tar.gz:data \ py_stroke-${_PYSTROKE_VER}.tar.gz:data \ py_table-${_PYTABLE_VER}.tar.gz:data \ table.tar.gz:data DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= lichray@gmail.com COMMENT= Flexible Input Method Framework WWW= https://fcitx-im.org/wiki/Fcitx LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ bash:shells/bash \ ${LOCALBASE}/libdata/pkgconfig/xkeyboard-config.pc:x11/xkeyboard-config LIB_DEPENDS= libcairo.so:graphics/cairo \ libdbus-1.so:devel/dbus \ libenchant-2.so:textproc/enchant2 \ libjson-c.so:devel/json-c \ libXfixes.so:x11/libXfixes \ libXinerama.so:x11/libXinerama \ libXrender.so:x11/libXrender \ libxkbcommon.so:x11/libxkbcommon \ libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= xdg-open:devel/xdg-utils \ xkeyboard-config>=0:x11/xkeyboard-config SUB_FILES= pkg-message SUB_LIST+= PORTSDIR=${PORTSDIR} CONFLICTS_INSTALL= fcitx5 zh-fcitx5-chinese-addons # bin/createPYMB share/icons/hicolor/128x128/apps/fcitx.png share/icons/hicolor/16x16/apps/fcitx-fullwidth-active.png USE_GNOME= pango intltool libxml2 introspection USE_KDE= ecm USE_XORG= x11 xext xkbfile sm ice USE_LDCONFIG= yes USES= compiler:c++11-lang gnome tar:xz cmake:noninja desktop-file-utils \ gettext-tools:build,run gettext-runtime iconv:wchar_t \ kde:5 pkgconfig shared-mime-info compiler:c++14-lang xorg OPTIONS_DEFINE= GTK2 GTK3 OPENCC TPUNC DOCS OPTIONS_DEFAULT=GTK2 GTK3 OPTIONS_SUB= yes GTK2_DESC= Enable Gtk2 IM module GTK2_USE= GNOME=gtk20 GTK2_CMAKE_ON= -DENABLE_GTK2_IM_MODULE=ON GTK3_DESC= Enable Gtk3 IM module GTK3_USE= GNOME=gtk30 GTK3_CMAKE_ON= -DENABLE_GTK3_IM_MODULE=ON OPENCC_DESC= Enable OpenCC for Chinese Transform TPUNC_DESC= Use traditional quotation marks .include KDE_MAN_PREFIX= ${PREFIX}/share/man CMAKE_ARGS+= -DENABLE_XDGAUTOSTART=OFF -DFORCE_ENCHANT=ON \ -DLIBICONV_LIBC_HAS_ICONV_OPEN=OFF \ -DDATADIR=${DATADIR} \ -DDOCSDIR=${DOCSDIR} \ -DGOBJECT_INTROSPECTION_GIRDIR=${PREFIX}/share/gir-1.0 \ -DGOBJECT_INTROSPECTION_TYPELIBDIR=${PREFIX}/lib/girepository-1.0 \ -DPREFIX=${PREFIX} \ -DENABLE_QT=OFF -DENABLE_QT_IM_MODULE=OFF -DENABLE_QT_GUI=OFF .if ${PORT_OPTIONS:MGTK2} SUB_LIST+= GTK2_IM=fcitx .else SUB_LIST+= GTK2_IM=xim .endif .if ${PORT_OPTIONS:MGTK3} PLIST_SUB+= GTK3="" SUB_LIST+= GTK3_IM=fcitx .else PLIST_SUB+= GTK3="@comment " SUB_LIST+= GTK3_IM=xim .endif .if ${PORT_OPTIONS:MOPENCC} LIB_DEPENDS+= libopencc.so:chinese/opencc .else CMAKE_ARGS+= -DENABLE_OPENCC=OFF .endif .if ${PORT_OPTIONS:MTPUNC} EXTRA_PATCHES+= ${FILESDIR}/tpunc-data_punc.mb.zh_CN .endif .if defined(WITH_DEBUG) CMAKE_ARGS+= -DENABLE_DEBUG=ON .endif _DICT_VER= 20121020 _PYSTROKE_VER= 20121124 _PYTABLE_VER= 20121124 post-patch: @${CP} ${_DISTDIR}/en_dict-${_DICT_VER}.tar.gz ${WRKSRC}/src/module/spell/dict/. @${CP} ${_DISTDIR}/pinyin.tar.gz ${WRKSRC}/src/im/pinyin/data/. @${CP} ${_DISTDIR}/py_stroke-${_PYSTROKE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/. @${CP} ${_DISTDIR}/py_table-${_PYTABLE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/. @${CP} ${_DISTDIR}/table.tar.gz ${WRKSRC}/src/im/table/data/. .include diff --git a/comms/gnocky/Makefile b/comms/gnocky/Makefile index 2a90616d01fd..a498f6ae44fc 100644 --- a/comms/gnocky/Makefile +++ b/comms/gnocky/Makefile @@ -1,25 +1,25 @@ PORTNAME= gnocky PORTVERSION= 0.0.7 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= comms MASTER_SITES= http://www.gnokii.org/download/gnocky/ MAINTAINER= ports@FreeBSD.org COMMENT= Graphical (GTK 2) frontend for gnokii WWW= http://wiki.gnokii.org/index.php/Gnocky LIB_DEPENDS= libgnokii.so:comms/gnokii USES= gnome pkgconfig tar:bzip2 USE_GNOME= gtk20 libglade2 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/comms/sigdigger/Makefile b/comms/sigdigger/Makefile index 030315177902..4cfc7f490538 100644 --- a/comms/sigdigger/Makefile +++ b/comms/sigdigger/Makefile @@ -1,37 +1,37 @@ PORTNAME= sigdigger DISTVERSIONPREFIX= v DISTVERSION= 0.3.0-1 DISTVERSIONSUFFIX= -gb4b4045 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms hamradio MAINTAINER= yuri@FreeBSD.org COMMENT= Qt-based digital signal analyzer WWW= https://batchdrake.github.io/SigDigger/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libportaudio.so:audio/portaudio \ libsigutils.so:comms/sigutils \ libsuscan.so:comms/suscan \ libsuwidgets.so:comms/suwidgets \ libsndfile.so:audio/libsndfile \ libSoapySDR.so:misc/soapysdr \ libvolk.so:devel/volk USES= desktop-file-utils gl gnome pkgconfig qmake qt:5 USE_QT= core gui network opengl widgets buildtools:build USE_GNOME= libxml2 USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= BatchDrake GH_PROJECT= SigDigger QMAKE_ARGS= SUWIDGETS_PREFIX=${LOCALBASE} .include diff --git a/comms/suscan/Makefile b/comms/suscan/Makefile index 58aee8e50673..366fb318ea29 100644 --- a/comms/suscan/Makefile +++ b/comms/suscan/Makefile @@ -1,29 +1,29 @@ PORTNAME= suscan DISTVERSIONPREFIX= v DISTVERSION= 0.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms hamradio MAINTAINER= yuri@FreeBSD.org COMMENT= Channel scanner based on sigutils library WWW= https://github.com/BatchDrake/suscan LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= \ libasound.so:audio/alsa-lib \ libfftw3f.so:math/fftw3-float \ libsigutils.so:comms/sigutils \ libsndfile.so:audio/libsndfile \ libSoapySDR.so:misc/soapysdr \ libvolk.so:devel/volk USES= cmake:noninja gnome pkgconfig # build breaks with ninja USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= BatchDrake .include diff --git a/comms/xastir/Makefile b/comms/xastir/Makefile index 24c090344e03..65b13100d701 100644 --- a/comms/xastir/Makefile +++ b/comms/xastir/Makefile @@ -1,88 +1,88 @@ PORTNAME= xastir DISTVERSIONPREFIX= Release- DISTVERSION= 2.2.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= comms hamradio MAINTAINER= carl@stagecraft.cx COMMENT= X Amateur Station Tracking and Information Reporting WWW= http://www.xastir.org/ 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 \ libpcre2-8.so:devel/pcre2 \ libjxl.so:graphics/libjxl \ libjxl_threads.so:graphics/libjxl USES= autoreconf gmake gnome jpeg motif shebangfix xorg USE_XORG= ice sm x11 xext xt USE_GNOME+= libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share SHEBANG_FILES= scripts/gpx2shape SHEBANG_REGEX= ./scripts/.*\.(sh|pl|py) USE_GITHUB= yes GH_ACCOUNT= Xastir GH_PROJECT= Xastir SUB_FILES= pkg-message CONFIGURE_ARGS= --without-map-cache OPTIONS_DEFINE= 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 MGG_DESC= Image library for raster map processing IMAGICK_DESC= ImageMagick (Version 6) GMAGICK_DESC= GraphicsMagick (Needs GCC to compile) OPTIONS_DEFAULT= 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 .include diff --git a/converters/xml2c/Makefile b/converters/xml2c/Makefile index cbd9e1ccd8c7..7cc91f13b82d 100644 --- a/converters/xml2c/Makefile +++ b/converters/xml2c/Makefile @@ -1,26 +1,26 @@ PORTNAME= xml2c PORTVERSION= 20151019 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= converters MASTER_SITES= https://acme.com/software/xml2c/ DISTNAME= xml2c_19Oct2015 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Convert an XML file into C struct/string declarations WWW= https://acme.com/software/xml2c/ LICENSE= BSD2CLAUSE USES= gnome USE_GNOME= libxml2 WRKSRC= ${WRKDIR}/xml2c PLIST_FILES= bin/xml2c \ share/man/man1/xml2c.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xml2c ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/xml2c.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/databases/akonadi/Makefile b/databases/akonadi/Makefile index 60f5b9fb2739..8d003ecddac1 100644 --- a/databases/akonadi/Makefile +++ b/databases/akonadi/Makefile @@ -1,61 +1,62 @@ PORTNAME= akonadi DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= databases kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Storage server for KDE-Pim WWW= https://community.kde.org/KDE_PIM/Akonadi LICENSE= LGPL21 LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libkaccounts6.so:net-im/kaccounts-integration \ libaccounts-qt6.so:net-im/libaccounts-qt@qt6 # Let process generate meaningful backtrace on core dump. BUILD_DEPENDS= xsltproc:textproc/libxslt USES= cmake compiler:c++11-lib gettext gnome kde:6 qt:6 \ shared-mime-info sqlite:3 tar:xz xorg USE_GNOME= libxml2 USE_KDE= auth codecs completion config configwidgets coreaddons crash \ dbusaddons guiaddons i18n iconthemes itemmodels itemviews kio \ service widgetsaddons windowsystem xmlgui \ ecm:build USE_QT= base \ sqldriver-sqlite:run USE_XORG= x11 CMAKE_ARGS+= -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" \ -DMYSQLD_EXECUTABLE:FILEPATH="${LOCALBASE}/libexec/mysqld" \ -DMYSQLD_SCRIPTS_PATH:PATH="${LOCALBASE}/bin" \ -DPOSTGRES_PATH:FILEPATH="${LOCALBASE}/bin/pg_ctl" USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS OPTIONS_GROUP= DB OPTIONS_GROUP_DB= MYSQL PGSQL OPTIONS_DEFAULT= MYSQL MYSQL_DESC= Install MySQL Qt plugin and server MYSQL_USES= mysql:server MYSQL_USE= QT=sqldriver-mysql:run PGSQL_DESC= Install PostgreSQL Qt plugin PGSQL_USE= QT=sqldriver-psql:run .include .if ${PORT_OPTIONS:MMYSQL} CMAKE_ARGS+= -DDATABASE_BACKEND:STRING="MYSQL" .elif ${PORT_OPTIONS:MPGSQL} CMAKE_ARGS+= -DDATABASE_BACKEND:STRING="POSTGRES" .endif post-patch: # To avoid overflow, MySQL settings need to be lower than # INT_MAX / kern.hz. This setting assumes kern.hz=2000, and # it's nothing but a temporary hack. ${REINPLACE_CMD} -e '/wait_timeout/ s|31536000|1073741|' \ ${PATCH_WRKSRC}/src/server/storage/*.conf .include diff --git a/databases/evolution-data-server/Makefile b/databases/evolution-data-server/Makefile index 99d7156d2cff..0851e4fa27a6 100644 --- a/databases/evolution-data-server/Makefile +++ b/databases/evolution-data-server/Makefile @@ -1,76 +1,77 @@ PORTNAME= evolution-data-server DISTVERSION= 3.56.2 +PORTREVISION= 1 CATEGORIES= databases gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Centralized access to appointments and contacts WWW= https://gnome.pages.gitlab.gnome.org/evolution-data-server/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3 \ libgoa-1.0.so:net/gnome-online-accounts \ libical.so:devel/libical \ libnss3.so:security/nss \ libicudata.so:devel/icu \ libwebkit2gtk-4.1.so:www/webkit2-gtk@41 \ libwebkitgtk-6.0.so:www/webkit2-gtk@60 \ libjson-glib-1.0.so:devel/json-glib \ libnspr4.so:devel/nspr \ libsecret-1.so:security/libsecret \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libuuid.so:misc/e2fsprogs-libuuid \ libvulkan.so:graphics/vulkan-loader \ libgraphene-1.0.so:graphics/graphene USES= cmake cpe desktop-file-utils gettext \ gnome gperf iconv:wchar_t localbase pathfix pkgconfig \ python:build sqlite tar:xz xorg USE_CXXSTD= gnu++17 USE_GNOME= glib20 gtk30 gtk40 introspection:build libxml2 USE_XORG= x11 USE_LDCONFIG= yes CPE_VENDOR= gnome LDFLAGS= -L${LOCALBASE}/lib CMAKE_OFF= CMAKE_CXX_EXTENSIONS CMAKE_ARGS= -DENABLE_INTROSPECTION=ON \ -DWITH_LIBDB=OFF \ -DENABLE_EXAMPLES=OFF \ -DENABLED_INSTALLED_TESTS=OFF \ -DWITH_SYSTEMDUSERUNITDIR=no GLIB_SCHEMAS= org.gnome.evolution-data-server.addressbook.gschema.xml \ org.gnome.evolution-data-server.calendar.gschema.xml \ org.gnome.evolution-data-server.gschema.xml \ org.gnome.Evolution.DefaultSources.gschema.xml \ org.gnome.evolution.eds-shell.gschema.xml \ org.gnome.evolution.shell.network-config.gschema.xml PLIST_SUB= EVO_VERSION="1.2" CAL_API_VERSION="2.0" OPTIONS_SUB= yes OPTIONS_DEFINE= VAPI WEATHER KERBEROS LDAP OPTIONS_DEFAULT= VAPI WEATHER KERBEROS LDAP VAPI_USES= vala:build VAPI_CMAKE_BOOL= ENABLE_VALA_BINDINGS WEATHER_DESC= Weather calendar backend WEATHER_LIB_DEPENDS= libgweather-4.so:net/libgweather4 WEATHER_CMAKE_BOOL= ENABLE_WEATHER KERBEROS_CMAKE_ON= -DWITH_KRB5=/usr KERBEROS_CMAKE_OFF= -DWITH_KRB5=OFF KERBEROS_USES= ssl LDAP_CMAKE_ON= -DWITH_OPENLDAP=${LOCALBASE} LDAP_CMAKE_OFF= -DWITH_OPENLDAP=OFF LDAP_USES= ldap .include diff --git a/databases/grass8/Makefile b/databases/grass8/Makefile index 152a89a39c59..18bf9f88e692 100644 --- a/databases/grass8/Makefile +++ b/databases/grass8/Makefile @@ -1,152 +1,152 @@ PORTNAME= grass DISTVERSION= 8.4.1 -PORTREVISION= 3 +PORTREVISION= 4 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= 8 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Open source Geographical Information System (GIS) WWW= https://grass.osgeo.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL.TXT BUILD_DEPENDS= ${PY_NUMPY} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} LIB_DEPENDS= libgdal.so:graphics/gdal \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libgeotiff.so:graphics/libgeotiff \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgeos.so:graphics/geos \ libzstd.so:archivers/zstd RUN_DEPENDS= ${PY_NUMPY} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} USES= blaslapack compiler:c11 gl gmake gnome iconv \ jpeg perl5 pkgconfig python readline shebangfix sqlite xorg SHEBANG_GLOB= *.py 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.2 WX_COMPS= wx python:run 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-readline \ --enable-largefile \ --with-wxwidgets=${WX_CONFIG} \ --with-proj-share=${LOCALBASE}/share/proj \ --with-proj-includes=${LOCALBASE}/include \ --with-proj-libs=${LOCALBASE}/lib \ --with-proj=${LOCALBASE}/bin/proj \ --with-geos=${LOCALBASE}/bin/geos-config \ --with-gdal=${LOCALBASE}/bin/gdal-config \ --with-pthread=yes \ --prefix=${LOCALBASE} \ --exec-prefix=${LOCALBASE} CFLAGS+= -std=c11 SUB_LIST= PYTHON_CMD=${PYTHON_CMD} BINARY_ALIAS= python3=${PYTHON_CMD} 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= NETCDF NLS PDAL OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL ODBC PGSQL OPTIONS_DEFAULT= NETCDF NLS PDAL PGSQL OPTIONS_SUB= yes PDAL_DESC= Enable points cloud data modules DB_DESC= Database support 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 NLS_CONFIGURE_WITH= nls NLS_USES= gettext ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_WITH= odbc PDAL_CONFIGURE_ON= --with-pdal=${LOCALBASE}/bin/pdal-config PDAL_LIB_DEPENDS= libpdalcpp.so:math/pdal PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgres .if exists(/usr/include/omp.h) CONFIGURE_ARGS+= --with-openmp .endif .include .if !defined (GRASS_INST_DIR) GRASS_INST_DIR= ${PORTNAME}${VER} .endif MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1 post-patch: ${REINPLACE_CMD} \ 's|= python3|= ${PYTHON_CMD:T}|' ${WRKSRC}/include/Make/Platform.make.in ${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|environ\["GRASS_PYTHON"\] = "python3"|environ["GRASS_PYTHON"] = "${PYTHON_CMD}"|g' \ ${WRKSRC}/python/grass/script/setup.py post-install: ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/demolocation/PERMANENT/.tmp/ # STRIP PART ${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 lister/vector lister/cell ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/${i} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/lib/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/utils/g.echo # symlink grass8 ${LN} -sf ${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} .include diff --git a/databases/libgda5-jdbc/Makefile b/databases/libgda5-jdbc/Makefile index 7c4ffcf24df0..56124434faed 100644 --- a/databases/libgda5-jdbc/Makefile +++ b/databases/libgda5-jdbc/Makefile @@ -1,15 +1,15 @@ -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases gnome PKGNAMESUFFIX= 5-jdbc MAINTAINER= gnome@FreeBSD.org COMMENT= Provides Java DB Connector backend for the libgda5 library MASTERDIR= ${.CURDIR}/../libgda5 BUILD_WRKSRC= ${WRKSRC}/providers/jdbc INSTALL_WRKSRC= ${BUILD_WRKSRC} PLIST= ${.CURDIR}/pkg-plist LIBGDA5_SLAVE= jdbc .include "${MASTERDIR}/Makefile" diff --git a/databases/libgda5-ldap/Makefile b/databases/libgda5-ldap/Makefile index f7250e2c5061..3970b61f1bf5 100644 --- a/databases/libgda5-ldap/Makefile +++ b/databases/libgda5-ldap/Makefile @@ -1,15 +1,15 @@ -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= databases gnome PKGNAMESUFFIX= 5-ldap MAINTAINER= gnome@FreeBSD.org COMMENT= Provides ldap access for the libgda5 library MASTERDIR= ${.CURDIR}/../libgda5 BUILD_WRKSRC= ${WRKSRC}/providers/ldap/ INSTALL_WRKSRC= ${BUILD_WRKSRC} PLIST= ${.CURDIR}/pkg-plist LIBGDA5_SLAVE= ldap .include "${MASTERDIR}/Makefile" diff --git a/databases/libgda5-postgresql/Makefile b/databases/libgda5-postgresql/Makefile index e87277922bed..3355e687a4a0 100644 --- a/databases/libgda5-postgresql/Makefile +++ b/databases/libgda5-postgresql/Makefile @@ -1,15 +1,15 @@ -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases gnome PKGNAMESUFFIX= 5-postgresql MAINTAINER= gnome@FreeBSD.org COMMENT= Provides postgresql access for the libgda5 library MASTERDIR= ${.CURDIR}/../libgda5 BUILD_WRKSRC= ${WRKSRC}/providers/postgres/ INSTALL_WRKSRC= ${BUILD_WRKSRC} PLIST= ${.CURDIR}/pkg-plist LIBGDA5_SLAVE= postgresql .include "${MASTERDIR}/Makefile" diff --git a/databases/libgda5-ui/Makefile b/databases/libgda5-ui/Makefile index 60ea296df428..c6b4348a91dc 100644 --- a/databases/libgda5-ui/Makefile +++ b/databases/libgda5-ui/Makefile @@ -1,25 +1,25 @@ -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= databases gnome PKGNAMESUFFIX= 5-ui MAINTAINER= gnome@FreeBSD.org COMMENT= The libgda 5 ui library MASTERDIR= ${.CURDIR}/../libgda5 PLIST= ${.CURDIR}/pkg-plist #CONFLICTS= libgda4-4.* LIBGDA5_SLAVE= ui do-build: @cd ${WRKSRC}/libgda-ui && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} @cd ${WRKSRC}/control-center && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} @cd ${WRKSRC}/tools/browser && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} do-install: @cd ${WRKSRC}/libgda-ui && ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} ${MAKE_CMD} ${INSTALL_TARGET} @cd ${WRKSRC}/control-center && ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} ${MAKE_CMD} ${INSTALL_TARGET} @cd ${WRKSRC}/tools/browser && ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} ${MAKE_CMD} ${INSTALL_TARGET} .include "${MASTERDIR}/Makefile" diff --git a/databases/libgda5/Makefile b/databases/libgda5/Makefile index d824f80236b9..d59f66c9381b 100644 --- a/databases/libgda5/Makefile +++ b/databases/libgda5/Makefile @@ -1,145 +1,145 @@ PORTNAME= libgda DISTVERSION?= 5.2.10 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= databases gnome MASTER_SITES= GNOME PKGNAMESUFFIX?= 5 DIST_SUBDIR= gnome MAINTAINER?= gnome@FreeBSD.org COMMENT?= Provides uniform access to different kinds of data sources WWW= https://www.gnome-db.org/ LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING.LIB USES= cpe python readline shebangfix sqlite tar:xz CPE_VENDOR= gnome LIBGDA5_SLAVE?= no SHEBANG_FILES= libgda-report/RML/*/*.py BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ USES+= gettext gmake gnome libtool localbase pathfix pkgconfig USE_GNOME= glib20 libxslt intlhack introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip #MAKE_JOBS_UNSAFE=yes CONFIGURE_ARGS= --without-oracle \ --disable-crypto \ --disable-default-binary \ --enable-introspection \ --without-bdb \ --without-mdb .include VERSION= 5.0 PLIST_SUB+= VERSION=${VERSION} .if ${LIBGDA5_SLAVE}!="no" USE_GNOME+= libgda5 .endif .if ${LIBGDA5_SLAVE}==ui LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error CONFIGURE_ARGS+=--with-ui USE_GNOME+= cairo gtk30 .else CONFIGURE_ARGS+=--without-ui .endif .if ${LIBGDA5_SLAVE}==ldap USES+= ldap CONFIGURE_ARGS+= --with-ldap=${LOCALBASE} .else CONFIGURE_ARGS+= --without-ldap .endif .if ${LIBGDA5_SLAVE}==mysql USES+= mysql IGNORE_WITH_MYSQL= 80 CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} .else CONFIGURE_ARGS+= --without-mysql .endif .if ${LIBGDA5_SLAVE}==postgresql USES+= pgsql CONFIGURE_ARGS+= --with-postgres=${LOCALBASE} .else CONFIGURE_ARGS+= --without-postgres .endif .if ${LIBGDA5_SLAVE}==jdbc USES+= java JAVA_VENDOR= openjdk CFLAGS+= -I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd .else CONFIGURE_ARGS+= --without-java .endif .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|-ldl||g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|"db.h|"db${BDB_VER}/db.h|g' \ -e 's|ldb47|l${BDB_LIB_NAME}|g' \ -e 's|ldb|l${BDB_LIB_NAME}|g' \ -e 's|libdb|lib${BDB_LIB_NAME}|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/providers/bdb/gda-bdb-provider.c \ ${WRKSRC}/providers/bdb/gda-bdb-test.c .if ${LIBGDA5_SLAVE} == jdbc @${REINPLACE_CMD} -e 's|lib/amd64|lib/${ARCH:S/powerpc/ppc/}|g' \ ${WRKSRC}/getsp.java .endif .if ${LIBGDA5_SLAVE}!="no" @${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} \ -e 's|$$(top_builddir)/libgda/libgda-5.0.la|-lgda-5.0|g' \ -e 's|../libgda/libgda-5.0.la|-lgda-5.0|g' \ -e '/LIBS =/s|-lgda-5.0|gda-5.0|g' \ {} \; .endif .if ${LIBGDA5_SLAVE} == jdbc pre-configure: @cd ${WRKSRC} && ${LOCALBASE}/bin/javac getsp.java .endif pre-build: .if ${LIBGDA5_SLAVE}==postgresql cd ${WRKSRC}/providers/reuseable/postgres && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libgda-postgres.la .endif .if ${LIBGDA5_SLAVE}==mysql cd ${WRKSRC}/providers/reuseable/mysql && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libgda-mysql.la .endif .if ${LIBGDA5_SLAVE}==ui cd ${WRKSRC}/libgda && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} gda-enum-types.h .endif .if ${LIBGDA5_SLAVE}==no post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/libgda-${VERSION}/config \ ${STAGEDIR}${PREFIX}/etc/libgda-${VERSION}/config.sample .endif .if ${LIBGDA5_SLAVE}==ui post-install: ${INSTALL_DATA} ${WRKSRC}/libgda-ui-5.0.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ .endif .include diff --git a/databases/libgda6/Makefile b/databases/libgda6/Makefile index 81bd5911dcd6..ff8464227af3 100644 --- a/databases/libgda6/Makefile +++ b/databases/libgda6/Makefile @@ -1,41 +1,42 @@ PORTNAME= libgda DISTVERSION= 6.0.1.g${SNAPDATE} +PORTREVISION= 1 CATEGORIES= databases gnome PKGNAMESUFFIX= 6 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Database access library WWW= https://gitlab.gnome.org/GNOME/libgda LICENSE= LGPL20+ BUILD_DEPENDS= iso-codes>0:misc/iso-codes LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libgcrypt.so:security/libgcrypt \ libsecret-1.so:security/libsecret USES= cpe gettext meson gnome pkgconfig python:build shebangfix \ sqlite ssl tar:bz2 vala:build CPE_VENDOR= gnome USE_GNOME= glib20 gtk30 intltool:build introspection:build libxml2 \ libxslt SHEBANG_FILES= providers/raw_spec.py # Or use patch from https://gitlab.gnome.org/GNOME/libgda/-/merge_requests/208 CFLAGS= -Wno-deprecated-non-prototype MESON_ARGS= -Dui=false \ -Dhelp=false \ -Dsqlcipher=false \ -Dlibsoup=false \ -Dlibsecret=true \ -Dpostgres=false \ -Dmysql=false USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= GNOME GL_TAGNAME= c149606b SNAPDATE= 20250302 .include diff --git a/databases/libgdamm5/Makefile b/databases/libgdamm5/Makefile index f2579ce488f7..72c539df497d 100644 --- a/databases/libgdamm5/Makefile +++ b/databases/libgdamm5/Makefile @@ -1,33 +1,33 @@ PORTNAME= libgdamm PORTVERSION= 4.99.11 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= C++ wrapper for libgda5 library WWW= https://www.gtkmm.org/ USES= gmake libtool pathfix pkgconfig tar:xz compiler:c++11-lang gnome USE_CXXSTD= c++11 USE_GNOME= libgda5 glibmm GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-documentation BINARY_WRAPPERS= gm4 OPTIONS_DEFINE= BDB .include .if ${PORT_OPTIONS:MBDB} || exists(${LOCALBASE}/libdata/pkgconfig/libgda-bdb-5.0.pc) BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/libgda-bdb-5.0.pc:databases/libgda5-bdb RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/libgda-bdb-5.0.pc:databases/libgda5-bdb PLIST_SUB+= BDB="" .else PLIST_SUB+= BDB="" .endif .include diff --git a/databases/mariadb1011-server/Makefile b/databases/mariadb1011-server/Makefile index cd9a634056ef..2a7b81c2d1e7 100644 --- a/databases/mariadb1011-server/Makefile +++ b/databases/mariadb1011-server/Makefile @@ -1,298 +1,298 @@ PORTNAME?= mariadb PORTVERSION= 10.11.13 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= databases MASTER_SITES= https://mirror.nodesdirect.com/${SITESDIR}/ \ https://mirror.one.com/${SITESDIR}/ \ https://ftp.nluug.nl/db/${SITESDIR}/ \ https://ftp.icm.edu.pl/pub/unix/database/${SITESDIR}/ \ https://mirror.truenetwork.ru/${SITESDIR}/ \ https://mirrors.aliyun.com/${SITESDIR}/ \ https://ftp.ubuntu-tw.org/mirror/${SITESDIR}/ \ https://mirror.kku.ac.th/${SITESDIR}/ \ https://espejito.fder.edu.uy/${SITESDIR}/ \ https://ftp.osuosl.org/pub/${SITESDIR}/ \ https://downloads.mariadb.org/rest-api/mariadb/${PORTVERSION}/ PKGNAMESUFFIX?= 1011-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) WWW= https://mariadb.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING #EXPIRATION_DATE= 2028-02-01 LIB_DEPENDS+= libfmt.so:devel/libfmt \ liblz4.so:archivers/liblz4 \ libpcre2-8.so:devel/pcre2 \ libzstd.so:archivers/zstd # Ugly workaround for MariaDB/CMake library detection LDFLAGS+= -L${LOCALBASE}/lib USES= bison:build cmake:insource compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES= scripts/*.sh support-files/*.sh SITESDIR= mariadb/mariadb-${PORTVERSION}/source DOCSDIR= ${PREFIX}/share/doc/mysql MARIADB_USER?= mysql MARIADB_GROUP?= mysql MARIADB_DBDIR?= /var/db/mysql MARIADB_RUNDIR?= /var/run/mysql MARIADB_SOCK?= mysql.sock MARIADB_LOGDIR?= /var/log/mysql USERS= ${MARIADB_USER} GROUPS= ${MARIADB_GROUP} OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_DEFAULT= GSSAPI_BASE .if ${PKGNAMESUFFIX:M*-server} # MySQL-Server options OPTIONS_DEFAULT+= AWS_KEY_MGMT CONNECT_EXTRA HASHICORP_VAULT INNOBASE SPHINX SPIDER WSREP OPTIONS_GROUP= COMPRESSION ENGINES GROONGA OPTIONS_DEFINE= AWS_KEY_MGMT CONNECT_EXTRA DOCS HASHICORP_VAULT OPTIONS_DEFINE_amd64= WSREP OPTIONS_DEFINE_aarch64= WSREP OPTIONS_DEFINE_powerpc64le= WSREP OPTIONS_DEFINE_powerpc64= WSREP OPTIONS_DEFINE_riscv64= WSREP OPTIONS_GROUP_COMPRESSION= LZO SNAPPY OPTIONS_GROUP_ENGINES= COLUMNSTORE INNOBASE MROONGA OQGRAPH ROCKSDB S3 SPHINX SPIDER OPTIONS_GROUP_GROONGA= ZMQ MSGPACK OPTIONS_EXCLUDE_i386= ROCKSDB AWS_KEY_MGMT_DESC= AWS Encryption Key Management Plugin COLUMNSTORE_DESC= Columnar storage egine CONNECT_EXTRA_DESC= Enable ODBC and XML in CONNECT engine COMPRESSION_DESC= Optional page compression ENGINES_DESC= Optional MariaDB storage engines GROONGA_DESC= Optional Mroonga features HASHICORP_VAULT_DESC= Enable HashiCorp vault key-storage plugin INNOBASE_DESC= InnoDB default engine MROONGA_DESC= Mroonga Full Text Search engine MSGPACK_DESC= MsgPack support OQGRAPH_DESC= Open Query Graph Computation engine ROCKSDB_DESC= RocksDB LSM engine S3_DESC= S3 storage engine (Gamma) SPHINX_DESC= SphinxSE engine SPIDER_DESC= Partitioning and XA-transactions engine WSREP_DESC= Build wsrep clustering ZMQ_DESC= ZeroMQ support .endif CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${PREFIX} \ -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="share/man" \ -DINSTALL_MYSQLDATADIR="${MARIADB_DBDIR}" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DINSTALL_SYSCONFDIR="${ETCDIR}" \ -DINSTALL_SYSCONF2DIR="${ETCDIR}/conf.d" \ -DINSTALL_UNIX_ADDRDIR="${MARIADB_RUNDIR}/${MARIADB_SOCK}" \ -DWITH_PCRE=system \ -DPCRE_LIBRARY_DIRS=${PREFIX}/lib \ -DWITH_LIBFMT=system \ -DLIBFMT_INCLUDE_DIR=${PREFIX}/include \ -DHAVE_SYSTEM_LIBFMT=yes \ -DWITH_SSL="${OPENSSLBASE}" \ -DGRN_WITH_LZ4=ON -DWITH_INNODB_LZ4=ON -DWITH_ROCKSDB_LZ4=ON \ -DCURSES_CURSES_LIBRARY="/usr/lib/libcurses.so" \ -DCURSES_FORM_LIBRARY="/usr/lib/libform.so" \ -DCURSES_CURSES_LIBRARY="/usr/lib/libncurses.so" \ -DKRB5_CONFIG="${KRB5CONFIG}" \ -DCURSES_NCURSES_LIBRARY="${NCURSESLIB}/libncurses.so" \ -DCOMPILATION_COMMENT="FreeBSD Ports" \ -DPLUGIN_AUTH_TEST_PLUGIN=NO CMAKE_OFF+= CONC_WITH_UNIT_TESTS CONNECT_WITH_MONGO WITH_UNIT_TESTS CMAKE_ON+= WITH_LIBWRAP WITHOUT_DOCS DISABLED_PLUGINS+= AUTH_TEST_PLUGIN DAEMON_EXAMPLE DIALOG_EXAMPLES \ EXAMPLE EXAMPLE_KEY_MANAGEMENT FTEXAMPLE DATADIR= ${PREFIX}/share/mysql ETCDIR= ${PREFIX}/etc/mysql CONFLICTS_INSTALL= mariadb10[0-57-9]-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysqlwsrep* \ percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mytop FASTMTX_CMAKE_BOOL= WITH_FAST_MUTEXES GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI_CLIENT=OFF OPTIONS_SUB= yes SUB_LIST+= MARIADB_RUNDIR="${MARIADB_RUNDIR}" \ MARIADB_SOCK="${MARIADB_SOCK}" .if ${PKGNAMESUFFIX:M*-client} # MySQL-Client part CMAKE_ON+= CONC_WITH_MYSQLCOMPAT WITHOUT_SERVER CMAKE_OFF+= WITH_WSREP USES+= readline USE_LDCONFIG= ${PREFIX}/lib/mysql SUB_FILES+= my.cnf.sample client.cnf.sample .else # ! ${PKGNAMESUFFIX:M*-client} # MySQL-Server part USES+= mysql:1011m USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin USE_RC_SUBR= mysql-server CMAKE_ON+= CMAKE_SKIP_BUILD_RPATH WITH_EMBEDDED_SERVER CMAKE_OFF+= WITH_CLIENT SUB_FILES+= server.cnf.sample SUB_LIST+= MARIADB_DBDIR="${MARIADB_DBDIR}" \ MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ MARIADB_USER="${MARIADB_USER}" PLIST_SUB+= MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ MARIADB_USER="${MARIADB_USER}" \ MARIADB_GROUP="${MARIADB_GROUP}" .for ENGINE in ${OPTIONS_GROUP_ENGINES:NINNOBASE} ${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO ${ENGINE}_CMAKE_ON= -DPLUGIN_${ENGINE}=DYNAMIC .endfor AWS_KEY_MGMT_CMAKE_ON= -DPLUGIN_AWS_KEY_MANAGEMENT=ON INNOBASE_VARS_OFF= disabled_plugins+=INNOBASE COLUMNSTORE_BROKEN= ColumnStore engine build failure "fatal error: 'sys/prctl.h' file not found" CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC CONNECT_EXTRA_USE= gnome=libxml2 CONNECT_EXTRA_USES= gnome CONNECT_EXTRA_CMAKE_BOOL= CONNECT_WITH_LIBXML2 CONNECT_WITH_ODBC GSSAPI_NONE_VARS= disabled_plugins+=AUTH_GSSAPI HASHICORP_VAULT_CMAKE_OFF= -DPLUGIN_HASHICORP_KEY_MANAGEMENT=NO HASHICORP_VAULT_LIB_DEPENDS= libcurl.so:ftp/curl LZO_CMAKE_ON= -DWITH_INNODB_LZO=ON LZO_CMAKE_OFF= -DWITH_INNODB_LZO=OFF LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack-c OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libJudy.so:devel/judy ROCKSDB_BROKEN= RocksDB engine build failyure "jemalloc_helper.h:65:61: error: use of undeclared identifier 'nothrow'; did you mean 'std::nothrow'?" ROCKSDB_USES= python ROCKSDB_CMAKE_ON= -DPYTHON_SHEBANG=${PYTHON_CMD} -DWITH_ROCKSDB_zstd=ON S3_LIB_DEPENDS= libcurl.so:ftp/curl SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON -DWITH_ROCKSDB_snappy=ON SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF -DWITH_ROCKSDB_snappy=OFF SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy WSREP_CMAKE_BOOL= WITH_WSREP WSREP_LIB_DEPENDS= libgalera.so:databases/galera26 WSREP_RUN_DEPENDS= bash:shells/bash \ rsync:net/rsync \ #stunnel:security/stunnel WSREP_SHEBANG_FILES= bin/wsrep_sst_rsync ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 .for PLUGIN in ${DISABLED_PLUGINS} CMAKE_ARGS+= -DPLUGIN_${PLUGIN}=NO .endfor .endif # ${PKGNAMESUFFIX:M*-client} .include .if ${OPSYS} == FreeBSD SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" .else SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " .endif .if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} GSSAPI_BASE_IGNORE= GSSAPI_BASE is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system .endif .if ${SSL_DEFAULT:Mlibressl*} CFLAGS+= -Wno-incompatible-function-pointer-types .warning HELLO FROM MAKE LIBRESSL .endif .if ${ARCH} != amd64 && ${ARCH} != aarch64 PLIST_SUB+= WSREP="@comment " .endif post-patch: .if ${OPSYS} == DragonFly ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ ${WRKSRC}/cmake/os/DragonFly.cmake .endif post-configure: ${REINPLACE_CMD} -Ee 's|(#define INCLUDE.*)"$$|\1 -I${PREFIX}/include"|' \ -e 's|(#define LIBS .*)"$$|\1 -L${PREFIX}/lib"|' \ ${WRKSRC}/libmariadb/mariadb_config/mariadb_config.c ${REINPLACE_CMD} 's|%%LOCALBASE%%|${PREFIX}|' \ ${WRKSRC}/scripts/mysql_config.sh pre-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d .if ${PKGNAMESUFFIX:M*-client} post-install: ${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample ${INSTALL_DATA} ${WRKDIR}/client.cnf.sample \ ${STAGEDIR}${ETCDIR}/conf.d/client.cnf.sample ${RM} -r ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${PREFIX}/include/mysql/server \ ${STAGEDIR}${ETCDIR}/init.d \ ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig post-install-GSSAPI_NONE-off: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/plugin/auth_gssapi_client.so .else # ! ${PKGNAMESUFFIX:M*-client} post-install: ${INSTALL_DATA} ${WRKDIR}/server.cnf.sample \ ${STAGEDIR}${ETCDIR}/conf.d/server.cnf.sample ${MV} ${STAGEDIR}${PREFIX}/share/user_map.conf \ ${STAGEDIR}${PREFIX}/etc/mysql/user_map.conf.sample ${MV} ${STAGEDIR}${PREFIX}/share/pam_user_map.so \ ${STAGEDIR}${PREFIX}/lib/mysql/ ${RM} -r ${STAGEDIR}${PREFIX}/share/mysql/policy \ ${STAGEDIR}${PREFIX}/include/mysql/server/private \ ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig \ ${STAGEDIR}${PREFIX}/libexec/rcmysql \ ${STAGEDIR}/suite \ ${STAGEDIR}${ETCDIR}/init.d \ ${STAGEDIR}${ETCDIR}/logrotate.d \ ${STAGEDIR}${DOCSDIR}/COPYING ${MKDIR} ${STAGEDIR}${MARIADB_LOGDIR} ${SED} '/%%/d;/^@comment /d;s/^/@comment /' ${PORTSDIR}/${CATEGORIES:[1]}/${PORTNAME}${PKGNAMESUFFIX:S/-server/-client/}/pkg-plist \ >> ${TMPPLIST} post-install-MROONGA-on: ${MV} ${STAGEDIR}${PREFIX}/share/groonga ${STAGEDIR}${DOCSDIR}/ ${RM} ${STAGEDIR}${DOCSDIR}/groonga/COPYING \ ${STAGEDIR}${DATADIR}/mroonga/COPYING post-install-SPIDER-on: ${MV} ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf.sample post-install-WSREP-on: ${MV} ${STAGEDIR}${DATADIR}/wsrep.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/wsrep.cnf.sample .endif # ${PKGNAMESUFFIX:M*-client} .include diff --git a/databases/mariadb105-server/Makefile b/databases/mariadb105-server/Makefile index 93c3741194fb..8a845f4f8d0d 100644 --- a/databases/mariadb105-server/Makefile +++ b/databases/mariadb105-server/Makefile @@ -1,287 +1,287 @@ PORTNAME?= mariadb PORTVERSION= 10.5.29 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= databases MASTER_SITES= \ https://mirror.nodesdirect.com/${SITESDIR}/ \ https://mirror.one.com/${SITESDIR}/ \ https://ftp.nluug.nl/db/${SITESDIR}/ \ https://ftp.icm.edu.pl/pub/unix/database/${SITESDIR}/ \ https://mirror.truenetwork.ru/${SITESDIR}/ \ https://mirrors.aliyun.com/${SITESDIR}/ \ https://ftp.ubuntu-tw.org/mirror/${SITESDIR}/ \ https://mirror.kku.ac.th/${SITESDIR}/ \ https://espejito.fder.edu.uy/${SITESDIR}/ \ https://ftp.osuosl.org/pub/${SITESDIR}/ \ https://downloads.mariadb.org/rest-api/mariadb/${PORTVERSION}/ PKGNAMESUFFIX?= 105-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) WWW= https://mariadb.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING #EXPIRATION_DATE= 2025-06-01 LIB_DEPENDS+= libpcre2-8.so:devel/pcre2 # Ugly workaround for MariaDB/CMake library detection LDFLAGS+= -L${LOCALBASE}/lib USES= bison:build cmake:insource,noninja compiler:c++11-lib cpe iconv:translit libedit ncurses pkgconfig shebangfix ssl SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES= scripts/*.sh SITESDIR= mariadb/mariadb-${PORTVERSION}/source DOCSDIR= ${PREFIX}/share/doc/mysql MARIADB_USER?= mysql MARIADB_GROUP?= mysql MARIADB_DBDIR?= /var/db/mysql MARIADB_RUNDIR?= /var/run/mysql MARIADB_SOCK?= mysql.sock MARIADB_LOGDIR?= /var/log/mysql USERS= ${MARIADB_USER} GROUPS= ${MARIADB_GROUP} OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_DEFAULT= GSSAPI_BASE .if ${PKGNAMESUFFIX:M*-server} # MySQL-Server options OPTIONS_DEFAULT+= CONNECT_EXTRA INNOBASE SPHINX SPIDER WSREP OPTIONS_GROUP= COMPRESSION ENGINES GROONGA OPTIONS_DEFINE= CONNECT_EXTRA DOCS OPTIONS_DEFINE_amd64= WSREP OPTIONS_DEFINE_aarch64= WSREP OPTIONS_DEFINE_powerpc64le= WSREP OPTIONS_DEFINE_powerpc64= WSREP OPTIONS_DEFINE_riscv64= WSREP OPTIONS_GROUP_COMPRESSION= LZ4 LZO SNAPPY OPTIONS_GROUP_ENGINES= COLUMNSTORE INNOBASE MROONGA OQGRAPH ROCKSDB S3 SPHINX SPIDER OPTIONS_GROUP_GROONGA= ZMQ MSGPACK OPTIONS_EXCLUDE_i386= ROCKSDB COLUMNSTORE_DESC= Columnar storage egine (BETA) CONNECT_EXTRA_DESC= Enable ODBC and XML in CONNECT engine COMPRESSION_DESC= Optional page compression ENGINES_DESC= Optional MariaDB storage engines GROONGA_DESC= Optional Mroonga features INNOBASE_DESC= InnoDB default engine MROONGA_DESC= Mroonga Full Text Search engine MSGPACK_DESC= MsgPack support OQGRAPH_DESC= Open Query Graph Computation engine ROCKSDB_DESC= RocksDB LSM engine S3_DESC= S3 storage engine (Alpha) SPHINX_DESC= SphinxSE engine SPIDER_DESC= Partitioning and XA-transactions engine WSREP_DESC= Build wsrep clustering ZMQ_DESC= ZeroMQ support .endif CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${PREFIX} \ -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="share/man" \ -DINSTALL_MYSQLDATADIR="${MARIADB_DBDIR}" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DINSTALL_SYSCONFDIR="${ETCDIR}" \ -DINSTALL_SYSCONF2DIR="${ETCDIR}/conf.d" \ -DINSTALL_UNIX_ADDRDIR="${MARIADB_RUNDIR}/${MARIADB_SOCK}" \ -DWITH_PCRE=system \ -DWITH_SSL="${OPENSSLBASE}" \ -DCURSES_CURSES_LIBRARY="/usr/lib/libcurses.so" \ -DCURSES_FORM_LIBRARY="/usr/lib/libform.so" \ -DCURSES_CURSES_LIBRARY="/usr/lib/libncurses.so" \ -DKRB5_CONFIG="${KRB5CONFIG}" \ -DCURSES_NCURSES_LIBRARY="${NCURSESLIB}/libncurses.so" \ -DCOMPILATION_COMMENT="FreeBSD Ports" \ -DPLUGIN_AUTH_TEST_PLUGIN=NO CMAKE_OFF+= CONC_WITH_UNIT_TESTS CONNECT_WITH_MONGO WITH_UNIT_TESTS CMAKE_ON+= WITH_LIBWRAP WITHOUT_DOCS DISABLED_PLUGINS+= AUTH_TEST_PLUGIN DAEMON_EXAMPLE DIALOG_EXAMPLES \ EXAMPLE EXAMPLE_KEY_MANAGEMENT FTEXAMPLE TOKUDB DATADIR= ${PREFIX}/share/mysql ETCDIR= ${PREFIX}/etc/mysql CONFLICTS_INSTALL= mariadb10[0-46-9]-${PKGNAMESUFFIX:C/^[0-9]*-//} \ mariadb1011-${PKGNAMESUFFIX:C/^[0-9]*-//} \ mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//} \ mysqlwsrep*-server \ percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//} \ mytop FASTMTX_CMAKE_BOOL= WITH_FAST_MUTEXES GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI_CLIENT=OFF OPTIONS_SUB= yes SUB_LIST+= MARIADB_RUNDIR="${MARIADB_RUNDIR}" \ MARIADB_SOCK="${MARIADB_SOCK}" .if ${PKGNAMESUFFIX:M*-client} # MySQL-Client part CMAKE_ON+= CONC_WITH_MYSQLCOMPAT WITHOUT_SERVER CMAKE_OFF+= WITH_WSREP USES+= readline USE_LDCONFIG= ${PREFIX}/lib/mysql SUB_FILES+= my.cnf.sample client.cnf.sample .else # ! ${PKGNAMESUFFIX:M*-client} # MySQL-Server part USES+= mysql:105m USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin USE_RC_SUBR= mysql-server CMAKE_ON+= CMAKE_SKIP_BUILD_RPATH WITH_EMBEDDED_SERVER CMAKE_OFF+= WITH_CLIENT SUB_FILES+= server.cnf.sample SUB_LIST+= MARIADB_DBDIR="${MARIADB_DBDIR}" \ MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ MARIADB_USER="${MARIADB_USER}" PLIST_SUB+= MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ MARIADB_USER="${MARIADB_USER}" \ MARIADB_GROUP="${MARIADB_GROUP}" .for ENGINE in ${OPTIONS_GROUP_ENGINES:NINNOBASE} ${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO ${ENGINE}_CMAKE_ON= -DPLUGIN_${ENGINE}=DYNAMIC .endfor INNOBASE_VARS_OFF= disabled_plugins+=INNOBASE #COLUMNSTORE_BROKEN= ColumnStore build failure "'swap' is missing exception specification" CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC CONNECT_EXTRA_USE= gnome=libxml2 CONNECT_EXTRA_USES= gnome CONNECT_EXTRA_CMAKE_BOOL= CONNECT_WITH_LIBXML2 CONNECT_WITH_ODBC GSSAPI_NONE_VARS= disabled_plugins+=AUTH_GSSAPI LZ4_CMAKE_ON= -DGRN_WITH_LZ4=ON -DWITH_INNODB_LZ4=ON -DWITH_ROCKSDB_LZ4=ON LZ4_CMAKE_OFF= -DGRN_WITH_LZ4=OFF -DWITH_INNODB_LZ4=OFF -DWITH_ROCKSDB_LZ4=OFF LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZO_CMAKE_ON= -DWITH_INNODB_LZO=ON LZO_CMAKE_OFF= -DWITH_INNODB_LZO=OFF LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 MROONGA_IMPLIES= LZ4 MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack-c OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libJudy.so:devel/judy #ROCKSDB_BROKEN= RocksDB build failure "incompatible pointer to integer conversion assigning to 'size_t'" ROCKSDB_USES= python ROCKSDB_CMAKE_ON= -DPYTHON_SHEBANG=${PYTHON_CMD} ROCKSDB_LIB_DEPENDS= libzstd.so:archivers/zstd SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON -DWITH_ROCKSDB_snappy=ON SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF -DWITH_ROCKSDB_snappy=OFF SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy WSREP_CMAKE_BOOL= WITH_WSREP WSREP_LIB_DEPENDS= libgalera.so:databases/galera26 WSREP_RUN_DEPENDS= bash:shells/bash \ rsync:net/rsync \ #stunnel:security/stunnel WSREP_SHEBANG_FILES= bin/wsrep_sst_rsync ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 .for PLUGIN in ${DISABLED_PLUGINS} CMAKE_ARGS+= -DPLUGIN_${PLUGIN}=NO .endfor .endif # ${PKGNAMESUFFIX:M*-client} .include .if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} GSSAPI_BASE_IGNORE= GSSAPI_BASE is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system .endif .if ${SSL_DEFAULT:Mlibressl*} CFLAGS+= -Wno-incompatible-function-pointer-types .endif .if ${ARCH} != amd64 && ${ARCH} != aarch64 PLIST_SUB+= WSREP="@comment " .endif .if ${ARCH} == i386 USE_GCC= yes CFLAGS+= -latomic -fasynchronous-unwind-tables .endif post-patch: .if ${OPSYS} == DragonFly ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ ${WRKSRC}/cmake/os/DragonFly.cmake .endif pre-configure: ${REINPLACE_CMD} 's|\(CHECK_LIBRARY_EXISTS.*\) "" HAVE_|\1 ${LOCALBASE}/lib HAVE_|' \ ${WRKSRC}/cmake/pcre.cmake \ ${WRKSRC}/storage/innobase/*.cmake post-configure: ${REINPLACE_CMD} -Ee 's|(#define INCLUDE.*)"$$|\1 -I${PREFIX}/include"|' \ -e 's|(#define LIBS .*)"$$|\1 -L${PREFIX}/lib"|' \ ${WRKSRC}/libmariadb/mariadb_config/mariadb_config.c ${REINPLACE_CMD} 's|%%LOCALBASE%%|${PREFIX}|' \ ${WRKSRC}/scripts/mysql_config.sh pre-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d .if ${PKGNAMESUFFIX:M*-client} post-install: ${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample ${INSTALL_DATA} ${WRKDIR}/client.cnf.sample \ ${STAGEDIR}${ETCDIR}/conf.d/client.cnf.sample ${MV} ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig/mariadb.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/mariadb.pc ${RM} -r ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${PREFIX}/include/mysql/server \ ${STAGEDIR}${ETCDIR}/init.d \ ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig post-install-GSSAPI_NONE-off: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/plugin/auth_gssapi_client.so .else # ! ${PKGNAMESUFFIX:M*-client} post-install: ${INSTALL_DATA} ${WRKDIR}/server.cnf.sample \ ${STAGEDIR}${ETCDIR}/conf.d/server.cnf.sample ${MV} ${STAGEDIR}${PREFIX}/share/user_map.conf \ ${STAGEDIR}${PREFIX}/etc/mysql/user_map.conf.sample ${MV} ${STAGEDIR}${PREFIX}/share/pam_user_map.so \ ${STAGEDIR}${PREFIX}/lib/mysql/ ${RM} -r ${STAGEDIR}${PREFIX}/share/mysql/policy \ ${STAGEDIR}${PREFIX}/include/mysql/server/private \ ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig \ ${STAGEDIR}/suite \ ${STAGEDIR}${ETCDIR}/init.d \ ${STAGEDIR}${ETCDIR}/logrotate.d ${MKDIR} ${STAGEDIR}${MARIADB_LOGDIR} post-install-WSREP-on: ${MV} ${STAGEDIR}${DATADIR}/wsrep.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/wsrep.cnf.sample post-install-SPIDER-on: ${MV} ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf.sample .endif # ${PKGNAMESUFFIX:M*-client} .include diff --git a/databases/mariadb106-server/Makefile b/databases/mariadb106-server/Makefile index 55209c823032..b8a509d8421a 100644 --- a/databases/mariadb106-server/Makefile +++ b/databases/mariadb106-server/Makefile @@ -1,294 +1,294 @@ PORTNAME?= mariadb PORTVERSION= 10.6.22 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= databases MASTER_SITES= https://mirror.nodesdirect.com/${SITESDIR}/ \ https://mirror.one.com/${SITESDIR}/ \ https://ftp.nluug.nl/db/${SITESDIR}/ \ https://ftp.icm.edu.pl/pub/unix/database/${SITESDIR}/ \ https://mirror.truenetwork.ru/${SITESDIR}/ \ https://mirrors.aliyun.com/${SITESDIR}/ \ https://ftp.ubuntu-tw.org/mirror/${SITESDIR}/ \ https://mirror.kku.ac.th/${SITESDIR}/ \ https://espejito.fder.edu.uy/${SITESDIR}/ \ https://ftp.osuosl.org/pub/${SITESDIR}/ \ https://downloads.mariadb.org/rest-api/mariadb/${PORTVERSION}/ PKGNAMESUFFIX?= 106-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) WWW= https://mariadb.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING #EXPIRATION_DATE= 2026-07-01 LIB_DEPENDS+= libpcre2-8.so:devel/pcre2 \ libzstd.so:archivers/zstd # Ugly workaround for MariaDB/CMake library detection LDFLAGS+= -L${LOCALBASE}/lib USES= bison:build cmake:insource compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES= scripts/*.sh SITESDIR= mariadb/mariadb-${PORTVERSION}/source DOCSDIR= ${PREFIX}/share/doc/mysql MARIADB_USER?= mysql MARIADB_GROUP?= mysql MARIADB_DBDIR?= /var/db/mysql MARIADB_RUNDIR?= /var/run/mysql MARIADB_SOCK?= mysql.sock MARIADB_LOGDIR?= /var/log/mysql USERS= ${MARIADB_USER} GROUPS= ${MARIADB_GROUP} OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_DEFAULT= GSSAPI_BASE .if ${PKGNAMESUFFIX:M*-server} # MySQL-Server options OPTIONS_DEFAULT+= CONNECT_EXTRA INNOBASE SPHINX SPIDER WSREP OPTIONS_GROUP= COMPRESSION ENGINES GROONGA OPTIONS_DEFINE= CONNECT_EXTRA DOCS OPTIONS_DEFINE_amd64= WSREP OPTIONS_DEFINE_aarch64= WSREP OPTIONS_DEFINE_powerpc64le= WSREP OPTIONS_DEFINE_powerpc64= WSREP OPTIONS_DEFINE_riscv64= WSREP OPTIONS_GROUP_COMPRESSION= LZ4 LZO SNAPPY OPTIONS_GROUP_ENGINES= COLUMNSTORE INNOBASE MROONGA OQGRAPH ROCKSDB S3 SPHINX SPIDER OPTIONS_GROUP_GROONGA= ZMQ MSGPACK OPTIONS_EXCLUDE_i386= ROCKSDB COLUMNSTORE_DESC= Columnar storage egine (BETA) CONNECT_EXTRA_DESC= Enable ODBC and XML in CONNECT engine COMPRESSION_DESC= Optional page compression ENGINES_DESC= Optional MariaDB storage engines GROONGA_DESC= Optional Mroonga features INNOBASE_DESC= InnoDB default engine MROONGA_DESC= Mroonga Full Text Search engine MSGPACK_DESC= MsgPack support OQGRAPH_DESC= Open Query Graph Computation engine ROCKSDB_DESC= RocksDB LSM engine S3_DESC= S3 storage engine (Alpha) SPHINX_DESC= SphinxSE engine SPIDER_DESC= Partitioning and XA-transactions engine WSREP_DESC= Build wsrep clustering ZMQ_DESC= ZeroMQ support .endif CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${PREFIX} \ -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="share/man" \ -DINSTALL_MYSQLDATADIR="${MARIADB_DBDIR}" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DINSTALL_SYSCONFDIR="${ETCDIR}" \ -DINSTALL_SYSCONF2DIR="${ETCDIR}/conf.d" \ -DINSTALL_UNIX_ADDRDIR="${MARIADB_RUNDIR}/${MARIADB_SOCK}" \ -DWITH_PCRE=system \ -DPCRE_LIBRARY_DIRS=${PREFIX}/lib \ -DWITH_SSL="${OPENSSLBASE}" \ -DCURSES_CURSES_LIBRARY="/usr/lib/libcurses.so" \ -DCURSES_FORM_LIBRARY="/usr/lib/libform.so" \ -DCURSES_CURSES_LIBRARY="/usr/lib/libncurses.so" \ -DKRB5_CONFIG="${KRB5CONFIG}" \ -DCURSES_NCURSES_LIBRARY="${NCURSESLIB}/libncurses.so" \ -DCOMPILATION_COMMENT="FreeBSD Ports" \ -DPLUGIN_AUTH_TEST_PLUGIN=NO CMAKE_OFF+= CONC_WITH_UNIT_TESTS CONNECT_WITH_MONGO WITH_UNIT_TESTS CMAKE_ON+= WITH_LIBWRAP WITHOUT_DOCS DISABLED_PLUGINS+= AUTH_TEST_PLUGIN DAEMON_EXAMPLE DIALOG_EXAMPLES \ EXAMPLE EXAMPLE_KEY_MANAGEMENT FTEXAMPLE DATADIR= ${PREFIX}/share/mysql ETCDIR= ${PREFIX}/etc/mysql CONFLICTS_INSTALL= mariadb10[0-57-9]-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mariadb1011-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysqlwsrep* \ percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mytop FASTMTX_CMAKE_BOOL= WITH_FAST_MUTEXES GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI_CLIENT=OFF OPTIONS_SUB= yes SUB_LIST+= MARIADB_RUNDIR="${MARIADB_RUNDIR}" \ MARIADB_SOCK="${MARIADB_SOCK}" .if ${PKGNAMESUFFIX:M*-client} # MySQL-Client part CMAKE_ON+= CONC_WITH_MYSQLCOMPAT WITHOUT_SERVER CMAKE_OFF+= WITH_WSREP USES+= readline USE_LDCONFIG= ${PREFIX}/lib/mysql SUB_FILES+= my.cnf.sample client.cnf.sample .else # ! ${PKGNAMESUFFIX:M*-client} # MySQL-Server part USES+= mysql:106m USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin USE_RC_SUBR= mysql-server CMAKE_ON+= CMAKE_SKIP_BUILD_RPATH WITH_EMBEDDED_SERVER CMAKE_OFF+= WITH_CLIENT SUB_FILES+= server.cnf.sample SUB_LIST+= MARIADB_DBDIR="${MARIADB_DBDIR}" \ MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ MARIADB_USER="${MARIADB_USER}" PLIST_SUB+= MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ MARIADB_USER="${MARIADB_USER}" \ MARIADB_GROUP="${MARIADB_GROUP}" .for ENGINE in ${OPTIONS_GROUP_ENGINES:NINNOBASE} ${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO ${ENGINE}_CMAKE_ON= -DPLUGIN_${ENGINE}=DYNAMIC .endfor INNOBASE_VARS_OFF= disabled_plugins+=INNOBASE #COLUMNSTORE_BROKEN= error: __float128 is not supported on this target CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC CONNECT_EXTRA_USE= gnome=libxml2 CONNECT_EXTRA_USES= gnome CONNECT_EXTRA_CMAKE_BOOL= CONNECT_WITH_LIBXML2 CONNECT_WITH_ODBC GSSAPI_NONE_VARS= disabled_plugins+=AUTH_GSSAPI LZ4_CMAKE_ON= -DGRN_WITH_LZ4=ON -DWITH_INNODB_LZ4=ON -DWITH_ROCKSDB_LZ4=ON LZ4_CMAKE_OFF= -DGRN_WITH_LZ4=OFF -DWITH_INNODB_LZ4=OFF -DWITH_ROCKSDB_LZ4=OFF LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZO_CMAKE_ON= -DWITH_INNODB_LZO=ON LZO_CMAKE_OFF= -DWITH_INNODB_LZO=OFF LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 MROONGA_IMPLIES= LZ4 MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack-c OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libJudy.so:devel/judy ROCKSDB_USES= python ROCKSDB_CMAKE_ON= -DPYTHON_SHEBANG=${PYTHON_CMD} -DWITH_ROCKSDB_zstd=ON SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON -DWITH_ROCKSDB_snappy=ON SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF -DWITH_ROCKSDB_snappy=OFF SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy WSREP_CMAKE_BOOL= WITH_WSREP WSREP_LIB_DEPENDS= libgalera.so:databases/galera26 WSREP_RUN_DEPENDS= bash:shells/bash \ rsync:net/rsync \ #stunnel:security/stunnel WSREP_SHEBANG_FILES= bin/wsrep_sst_rsync ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 .for PLUGIN in ${DISABLED_PLUGINS} CMAKE_ARGS+= -DPLUGIN_${PLUGIN}=NO .endfor .endif # ${PKGNAMESUFFIX:M*-client} .include .if ${OPSYS} == FreeBSD SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" .else SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " .endif .if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} GSSAPI_BASE_IGNORE= GSSAPI_BASE is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system .endif .if ${SSL_DEFAULT:Mlibressl*} CFLAGS+= -Wno-incompatible-function-pointer-types .endif .if ${ARCH} != amd64 && ${ARCH} != aarch64 PLIST_SUB+= WSREP="@comment " .endif post-patch: .if ${OPSYS} == DragonFly ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ ${WRKSRC}/cmake/os/DragonFly.cmake .endif pre-configure: ${REINPLACE_CMD} 's|\(CHECK_LIBRARY_EXISTS.*\) "" HAVE_|\1 ${LOCALBASE}/lib HAVE_|' \ ${WRKSRC}/cmake/pcre.cmake \ ${WRKSRC}/storage/innobase/*.cmake post-configure: ${REINPLACE_CMD} -Ee 's|(#define INCLUDE.*)"$$|\1 -I${PREFIX}/include"|' \ -e 's|(#define LIBS .*)"$$|\1 -L${PREFIX}/lib"|' \ ${WRKSRC}/libmariadb/mariadb_config/mariadb_config.c ${REINPLACE_CMD} 's|%%LOCALBASE%%|${PREFIX}|' \ ${WRKSRC}/scripts/mysql_config.sh pre-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d .if ${PKGNAMESUFFIX:M*-client} post-install: ${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample ${INSTALL_DATA} ${WRKDIR}/client.cnf.sample \ ${STAGEDIR}${ETCDIR}/conf.d/client.cnf.sample ${RM} -r ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${PREFIX}/include/mysql/server \ ${STAGEDIR}${ETCDIR}/init.d \ ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig post-install-GSSAPI_NONE-off: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/plugin/auth_gssapi_client.so .else # ! ${PKGNAMESUFFIX:M*-client} post-install: ${INSTALL_DATA} ${WRKDIR}/server.cnf.sample \ ${STAGEDIR}${ETCDIR}/conf.d/server.cnf.sample ${MV} ${STAGEDIR}${PREFIX}/share/user_map.conf \ ${STAGEDIR}${PREFIX}/etc/mysql/user_map.conf.sample ${MV} ${STAGEDIR}${PREFIX}/share/pam_user_map.so \ ${STAGEDIR}${PREFIX}/lib/mysql/ ${RM} -r ${STAGEDIR}${PREFIX}/share/mysql/policy \ ${STAGEDIR}${PREFIX}/include/mysql/server/private \ ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig \ ${STAGEDIR}${PREFIX}/libexec/rcmysql \ ${STAGEDIR}/suite \ ${STAGEDIR}${ETCDIR}/init.d \ ${STAGEDIR}${ETCDIR}/logrotate.d \ ${STAGEDIR}${DOCSDIR}/COPYING ${MKDIR} ${STAGEDIR}${MARIADB_LOGDIR} ${SED} '/%%/d;/^@comment /d;s/^/@comment /' ${PORTSDIR}/${CATEGORIES:[1]}/${PORTNAME}${PKGNAMESUFFIX:S/-server/-client/}/pkg-plist \ >> ${TMPPLIST} post-install-MROONGA-on: ${MV} ${STAGEDIR}${PREFIX}/share/groonga ${STAGEDIR}${DOCSDIR} ${RM} ${STAGEDIR}${DOCSDIR}/groonga/COPYING \ ${STAGEDIR}${DATADIR}/mroonga/COPYING post-install-SPIDER-on: ${MV} ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf.sample post-install-WSREP-on: ${MV} ${STAGEDIR}${DATADIR}/wsrep.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/wsrep.cnf.sample .endif # ${PKGNAMESUFFIX:M*-client} .include diff --git a/databases/mariadb114-server/Makefile b/databases/mariadb114-server/Makefile index 5e58466692c5..b55d9d26bf1a 100644 --- a/databases/mariadb114-server/Makefile +++ b/databases/mariadb114-server/Makefile @@ -1,306 +1,306 @@ PORTNAME?= mariadb PORTVERSION= 11.4.7 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= databases MASTER_SITES= https://mirror.nodesdirect.com/${SITESDIR}/ \ https://mirror.one.com/${SITESDIR}/ \ https://ftp.nluug.nl/db/${SITESDIR}/ \ https://ftp.icm.edu.pl/pub/unix/database/${SITESDIR}/ \ https://mirror.truenetwork.ru/${SITESDIR}/ \ https://mirrors.aliyun.com/${SITESDIR}/ \ https://ftp.ubuntu-tw.org/mirror/${SITESDIR}/ \ https://mirror.kku.ac.th/${SITESDIR}/ \ https://espejito.fder.edu.uy/${SITESDIR}/ \ https://ftp.osuosl.org/pub/${SITESDIR}/ \ https://downloads.mariadb.org/rest-api/mariadb/${PORTVERSION}/ PKGNAMESUFFIX?= 114-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) WWW= https://mariadb.org/ LICENSE= GPLv2 LICENSE_FILE?= ${WRKSRC}/COPYING #EXPIRATION_DATE= 2029-05-30 LIB_DEPENDS+= libfmt.so:devel/libfmt \ liblz4.so:archivers/liblz4 \ libpcre2-8.so:devel/pcre2 \ libzstd.so:archivers/zstd # Ugly workaround for MariaDB/CMake library detection LDFLAGS+= -L${LOCALBASE}/lib USES= bison:build cmake:insource compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES?= scripts/*.sh support-files/*.sh SITESDIR= mariadb/mariadb-${PORTVERSION}/source DOCSDIR= ${PREFIX}/share/doc/mysql MARIADB_USER?= mysql MARIADB_GROUP?= mysql MARIADB_DBDIR?= /var/db/mysql MARIADB_RUNDIR?= /var/run/mysql MARIADB_SOCK?= mysql.sock MARIADB_LOGDIR?= /var/log/mysql USERS= ${MARIADB_USER} GROUPS= ${MARIADB_GROUP} OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_DEFAULT= GSSAPI_BASE .if ${PKGNAMESUFFIX:M*-server} # MySQL-Server options OPTIONS_DEFAULT+= AWS_KEY_MGMT CONNECT_EXTRA HASHICORP_VAULT INNOBASE SPHINX SPIDER WSREP OPTIONS_GROUP= COMPRESSION ENGINES GROONGA OPTIONS_DEFINE= AWS_KEY_MGMT CONNECT_EXTRA DOCS HASHICORP_VAULT OPTIONS_DEFINE_amd64= WSREP OPTIONS_DEFINE_aarch64= WSREP OPTIONS_DEFINE_powerpc64le= WSREP OPTIONS_DEFINE_powerpc64= WSREP OPTIONS_DEFINE_riscv64= WSREP OPTIONS_GROUP_COMPRESSION= LZO SNAPPY OPTIONS_GROUP_ENGINES= COLUMNSTORE INNOBASE MROONGA OQGRAPH ROCKSDB S3 SPHINX SPIDER OPTIONS_GROUP_GROONGA= ZMQ MSGPACK OPTIONS_EXCLUDE_i386= ROCKSDB OPTIONS_SUB= yes AWS_KEY_MGMT_DESC= AWS Encryption Key Management Plugin COLUMNSTORE_DESC= Columnar storage egine CONNECT_EXTRA_DESC= Enable ODBC and XML in CONNECT engine COMPRESSION_DESC= Optional page compression ENGINES_DESC= Optional MariaDB storage engines GROONGA_DESC= Optional Mroonga features HASHICORP_VAULT_DESC= Enable HashiCorp vault key-storage plugin INNOBASE_DESC= InnoDB default engine MROONGA_DESC= Mroonga Full Text Search engine MSGPACK_DESC= MsgPack support OQGRAPH_DESC= Open Query Graph Computation engine ROCKSDB_DESC= RocksDB LSM engine S3_DESC= S3 storage engine (Gamma) SPHINX_DESC= SphinxSE engine SPIDER_DESC= Partitioning and XA-transactions engine WSREP_DESC= Build wsrep clustering ZMQ_DESC= ZeroMQ support .endif CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${PREFIX} \ -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="share/man" \ -DINSTALL_MYSQLDATADIR="${MARIADB_DBDIR}" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DINSTALL_SYSCONFDIR="${ETCDIR}" \ -DINSTALL_SYSCONF2DIR="${ETCDIR}/conf.d" \ -DINSTALL_UNIX_ADDRDIR="${MARIADB_RUNDIR}/${MARIADB_SOCK}" \ -DWITH_PCRE=system \ -DPCRE_LIBRARY_DIRS=${PREFIX}/lib \ -DPCRE_FOUND=true \ -DWITH_LIBFMT=system \ -DLIBFMT_INCLUDE_DIR=${PREFIX}/include \ -DHAVE_SYSTEM_LIBFMT=yes \ -DWITH_SSL="${OPENSSLBASE}" \ -DGRN_WITH_LZ4=ON -DWITH_INNODB_LZ4=ON -DWITH_ROCKSDB_LZ4=ON \ -DCURSES_CURSES_LIBRARY="/usr/lib/libcurses.so" \ -DCURSES_FORM_LIBRARY="/usr/lib/libform.so" \ -DCURSES_CURSES_LIBRARY="/usr/lib/libncurses.so" \ -DKRB5_CONFIG="${KRB5CONFIG}" \ -DCURSES_NCURSES_LIBRARY="${NCURSESLIB}/libncurses.so" \ -DCOMPILATION_COMMENT="FreeBSD Ports" \ -DPLUGIN_AUTH_TEST_PLUGIN=NO CMAKE_OFF+= CONC_WITH_UNIT_TESTS CONNECT_WITH_MONGO WITH_UNIT_TESTS CMAKE_ON+= WITH_LIBWRAP WITHOUT_DOCS DISABLED_PLUGINS+= AUTH_TEST_PLUGIN DAEMON_EXAMPLE DIALOG_EXAMPLES \ EXAMPLE EXAMPLE_KEY_MANAGEMENT FTEXAMPLE DATADIR= ${PREFIX}/share/mysql ETCDIR= ${PREFIX}/etc/mysql CONFLICTS_INSTALL= mariadb10[0-57-9]-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysqlwsrep* \ percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mytop FASTMTX_CMAKE_BOOL= WITH_FAST_MUTEXES GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI_CLIENT=OFF OPTIONS_SUB= yes SUB_LIST+= MARIADB_RUNDIR="${MARIADB_RUNDIR}" \ MARIADB_SOCK="${MARIADB_SOCK}" .if ${PKGNAMESUFFIX:M*-connector-c} WRKSRC= ${WRKDIR}/mariadb-${PORTVERSION}/libmariadb .elif ${PKGNAMESUFFIX:M*-client} # MySQL-Client part CMAKE_ON+= CONC_WITH_MYSQLCOMPAT WITHOUT_SERVER CMAKE_OFF+= WITH_WSREP USES+= readline USE_LDCONFIG= ${PREFIX}/lib/mysql SUB_FILES+= my.cnf.sample client.cnf.sample .else # ! ${PKGNAMESUFFIX:M*-client} # MySQL-Server part USES+= mysql:114m USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin USE_RC_SUBR= mysql-server CMAKE_ON+= CMAKE_SKIP_BUILD_RPATH WITH_EMBEDDED_SERVER CMAKE_OFF+= WITH_CLIENT SUB_FILES+= server.cnf.sample SUB_LIST+= MARIADB_DBDIR="${MARIADB_DBDIR}" \ MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ MARIADB_USER="${MARIADB_USER}" PLIST_SUB+= MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ MARIADB_USER="${MARIADB_USER}" \ MARIADB_GROUP="${MARIADB_GROUP}" .for ENGINE in ${OPTIONS_GROUP_ENGINES:NINNOBASE} ${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO ${ENGINE}_CMAKE_ON= -DPLUGIN_${ENGINE}=DYNAMIC .endfor AWS_KEY_MGMT_CMAKE_ON= -DPLUGIN_AWS_KEY_MANAGEMENT=ON INNOBASE_VARS_OFF= disabled_plugins+=INNOBASE COLUMNSTORE_BROKEN= ColumnStore engine build failure "fatal error: 'sys/prctl.h' file not found" CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC CONNECT_EXTRA_USE= gnome=libxml2 CONNECT_EXTRA_USES= gnome CONNECT_EXTRA_CMAKE_BOOL= CONNECT_WITH_LIBXML2 CONNECT_WITH_ODBC GSSAPI_NONE_VARS= disabled_plugins+=AUTH_GSSAPI HASHICORP_VAULT_CMAKE_OFF= -DPLUGIN_HASHICORP_KEY_MANAGEMENT=NO HASHICORP_VAULT_LIB_DEPENDS= libcurl.so:ftp/curl LZO_CMAKE_ON= -DWITH_INNODB_LZO=ON LZO_CMAKE_OFF= -DWITH_INNODB_LZO=OFF LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack-c OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libJudy.so:devel/judy ROCKSDB_BROKEN= RocksDB engine build failyure "jemalloc_helper.h:65:61: error: use of undeclared identifier 'nothrow'" ROCKSDB_USES= python ROCKSDB_CMAKE_ON= -DPYTHON_SHEBANG=${PYTHON_CMD} -DWITH_ROCKSDB_zstd=ON S3_LIB_DEPENDS= libcurl.so:ftp/curl SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON -DWITH_ROCKSDB_snappy=ON SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF -DWITH_ROCKSDB_snappy=OFF SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy WSREP_CMAKE_BOOL= WITH_WSREP WSREP_LIB_DEPENDS= libgalera.so:databases/galera26 WSREP_RUN_DEPENDS= bash:shells/bash \ rsync:net/rsync \ #stunnel:security/stunnel WSREP_SHEBANG_FILES= bin/wsrep_sst_rsync ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 .for PLUGIN in ${DISABLED_PLUGINS} CMAKE_ARGS+= -DPLUGIN_${PLUGIN}=NO .endfor .endif # ${PKGNAMESUFFIX:M*-client} .include .if ${OPSYS} == FreeBSD SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" .else SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " .endif .if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} GSSAPI_BASE_IGNORE= GSSAPI_BASE is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system .endif .if ${SSL_DEFAULT:Mlibressl*} CFLAGS+= -Wno-incompatible-function-pointer-types .warning HELLO FROM MAKE LIBRESSL .endif .if ${ARCH} != amd64 && ${ARCH} != aarch64 PLIST_SUB+= WSREP="@comment " .endif post-patch: .if ${OPSYS} == DragonFly ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ ${WRKSRC}/cmake/os/DragonFly.cmake .endif pre-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d .if ${PKGNAMESUFFIX:M*-client} post-install: ${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample ${INSTALL_DATA} ${WRKDIR}/client.cnf.sample \ ${STAGEDIR}${ETCDIR}/conf.d/client.cnf.sample ${RM} -r ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${PREFIX}/include/mysql/server \ ${STAGEDIR}${ETCDIR}/init.d \ ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig post-install-GSSAPI_NONE-off: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/plugin/auth_gssapi_client.so .else # ! ${PKGNAMESUFFIX:M*-client} post-install: ${INSTALL_DATA} ${WRKDIR}/server.cnf.sample \ ${STAGEDIR}${ETCDIR}/conf.d/server.cnf.sample ${MV} ${STAGEDIR}${PREFIX}/share/user_map.conf \ ${STAGEDIR}${PREFIX}/etc/mysql/user_map.conf.sample ${MV} ${STAGEDIR}${PREFIX}/share/pam_user_map.so \ ${STAGEDIR}${PREFIX}/lib/mysql/ ${RM} -r ${STAGEDIR}${PREFIX}/share/mysql/policy \ ${STAGEDIR}${PREFIX}/include/mysql/server/private \ ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig \ ${STAGEDIR}${PREFIX}/libexec/rcmysql \ ${STAGEDIR}/suite \ ${STAGEDIR}${ETCDIR}/init.d \ ${STAGEDIR}${ETCDIR}/logrotate.d \ ${STAGEDIR}${DOCSDIR}/COPYING ${MV} ${STAGEDIR}${ETCDIR}/conf.d/mysql-clients.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/mysql-clients.cnf.sample ${MKDIR} ${STAGEDIR}${MARIADB_LOGDIR} ${SED} '/%%/d;/^@comment /d;s/^/@comment /' ${PORTSDIR}/${CATEGORIES:[1]}/${PORTNAME}${PKGNAMESUFFIX:S/-server/-client/}/pkg-plist \ >> ${TMPPLIST} post-install-HASHICORP_VAULT-on: ${MV} ${STAGEDIR}${ETCDIR}/conf.d/hashicorp_key_management.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/hashicorp_key_management.cnf.sample post-install-MROONGA-on: ${MV} ${STAGEDIR}${PREFIX}/share/groonga/README.md ${STAGEDIR}${DOCSDIR}/README-groonga.md ${RM} -r ${STAGEDIR}${PREFIX}/share/groonga ${RM} ${STAGEDIR}${DATADIR}/mroonga/COPYING post-install-S3-on: ${MV} ${STAGEDIR}${ETCDIR}/conf.d/s3.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/s3.cnf.sample post-install-SPIDER-on: ${MV} ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf.sample post-install-WSREP-on: ${MV} ${STAGEDIR}${DATADIR}/wsrep.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/wsrep.cnf.sample .endif # ${PKGNAMESUFFIX:M*-client} .include diff --git a/databases/mariadb118-server/Makefile b/databases/mariadb118-server/Makefile index 5f56cd090ed2..3ee447a4114b 100644 --- a/databases/mariadb118-server/Makefile +++ b/databases/mariadb118-server/Makefile @@ -1,306 +1,306 @@ PORTNAME?= mariadb PORTVERSION= 11.8.2 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= databases MASTER_SITES= https://mirror.nodesdirect.com/${SITESDIR}/ \ https://mirror.one.com/${SITESDIR}/ \ https://ftp.nluug.nl/db/${SITESDIR}/ \ https://ftp.icm.edu.pl/pub/unix/database/${SITESDIR}/ \ https://mirror.truenetwork.ru/${SITESDIR}/ \ https://mirrors.aliyun.com/${SITESDIR}/ \ https://ftp.ubuntu-tw.org/mirror/${SITESDIR}/ \ https://mirror.kku.ac.th/${SITESDIR}/ \ https://espejito.fder.edu.uy/${SITESDIR}/ \ https://ftp.osuosl.org/pub/${SITESDIR}/ \ https://downloads.mariadb.org/rest-api/mariadb/${PORTVERSION}/ PKGNAMESUFFIX?= 118-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) WWW= https://mariadb.org/ LICENSE= GPLv2 LICENSE_FILE?= ${WRKSRC}/COPYING #EXPIRATION_DATE= 2030-05-30 LIB_DEPENDS+= libfmt.so:devel/libfmt \ liblz4.so:archivers/liblz4 \ libpcre2-8.so:devel/pcre2 \ libzstd.so:archivers/zstd # Ugly workaround for MariaDB/CMake library detection LDFLAGS+= -L${LOCALBASE}/lib USES= bison:build cmake:insource compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES?= scripts/*.sh support-files/*.sh SITESDIR= mariadb/mariadb-${PORTVERSION}/source DOCSDIR= ${PREFIX}/share/doc/mysql MARIADB_USER?= mysql MARIADB_GROUP?= mysql MARIADB_DBDIR?= /var/db/mysql MARIADB_RUNDIR?= /var/run/mysql MARIADB_SOCK?= mysql.sock MARIADB_LOGDIR?= /var/log/mysql USERS= ${MARIADB_USER} GROUPS= ${MARIADB_GROUP} OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_DEFAULT= GSSAPI_BASE .if ${PKGNAMESUFFIX:M*-server} # MySQL-Server options OPTIONS_DEFAULT+= AWS_KEY_MGMT CONNECT_EXTRA HASHICORP_VAULT INNOBASE SPHINX SPIDER WSREP OPTIONS_GROUP= COMPRESSION ENGINES GROONGA OPTIONS_DEFINE= AWS_KEY_MGMT CONNECT_EXTRA DOCS HASHICORP_VAULT OPTIONS_DEFINE_amd64= WSREP OPTIONS_DEFINE_aarch64= WSREP OPTIONS_DEFINE_powerpc64le= WSREP OPTIONS_DEFINE_powerpc64= WSREP OPTIONS_DEFINE_riscv64= WSREP OPTIONS_GROUP_COMPRESSION= LZO SNAPPY OPTIONS_GROUP_ENGINES= COLUMNSTORE INNOBASE MROONGA OQGRAPH ROCKSDB S3 SPHINX SPIDER OPTIONS_GROUP_GROONGA= ZMQ MSGPACK OPTIONS_EXCLUDE_i386= ROCKSDB OPTIONS_SUB= yes AWS_KEY_MGMT_DESC= AWS Encryption Key Management Plugin COLUMNSTORE_DESC= Columnar storage egine CONNECT_EXTRA_DESC= Enable ODBC and XML in CONNECT engine COMPRESSION_DESC= Optional page compression ENGINES_DESC= Optional MariaDB storage engines GROONGA_DESC= Optional Mroonga features HASHICORP_VAULT_DESC= Enable HashiCorp vault key-storage plugin INNOBASE_DESC= InnoDB default engine MROONGA_DESC= Mroonga Full Text Search engine MSGPACK_DESC= MsgPack support OQGRAPH_DESC= Open Query Graph Computation engine ROCKSDB_DESC= RocksDB LSM engine S3_DESC= S3 storage engine (Gamma) SPHINX_DESC= SphinxSE engine SPIDER_DESC= Partitioning and XA-transactions engine WSREP_DESC= Build wsrep clustering ZMQ_DESC= ZeroMQ support .endif CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${PREFIX} \ -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="share/man" \ -DINSTALL_MYSQLDATADIR="${MARIADB_DBDIR}" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DINSTALL_SYSCONFDIR="${ETCDIR}" \ -DINSTALL_SYSCONF2DIR="${ETCDIR}/conf.d" \ -DINSTALL_UNIX_ADDRDIR="${MARIADB_RUNDIR}/${MARIADB_SOCK}" \ -DWITH_PCRE=system \ -DPCRE_LIBRARY_DIRS=${PREFIX}/lib \ -DPCRE_FOUND=true \ -DWITH_LIBFMT=system \ -DLIBFMT_INCLUDE_DIR=${PREFIX}/include \ -DHAVE_SYSTEM_LIBFMT=yes \ -DWITH_SSL="${OPENSSLBASE}" \ -DGRN_WITH_LZ4=ON -DWITH_INNODB_LZ4=ON -DWITH_ROCKSDB_LZ4=ON \ -DCURSES_CURSES_LIBRARY="/usr/lib/libcurses.so" \ -DCURSES_FORM_LIBRARY="/usr/lib/libform.so" \ -DCURSES_CURSES_LIBRARY="/usr/lib/libncurses.so" \ -DKRB5_CONFIG="${KRB5CONFIG}" \ -DCURSES_NCURSES_LIBRARY="${NCURSESLIB}/libncurses.so" \ -DCOMPILATION_COMMENT="FreeBSD Ports" \ -DPLUGIN_AUTH_TEST_PLUGIN=NO CMAKE_OFF+= CONC_WITH_UNIT_TESTS CONNECT_WITH_MONGO WITH_UNIT_TESTS CMAKE_ON+= WITH_LIBWRAP WITHOUT_DOCS DISABLED_PLUGINS+= AUTH_TEST_PLUGIN DAEMON_EXAMPLE DIALOG_EXAMPLES \ EXAMPLE EXAMPLE_KEY_MANAGEMENT FTEXAMPLE DATADIR= ${PREFIX}/share/mysql ETCDIR= ${PREFIX}/etc/mysql CONFLICTS_INSTALL= mariadb10[0-57-9]-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysqlwsrep* \ percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mytop FASTMTX_CMAKE_BOOL= WITH_FAST_MUTEXES GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI_CLIENT=OFF OPTIONS_SUB= yes SUB_LIST+= MARIADB_RUNDIR="${MARIADB_RUNDIR}" \ MARIADB_SOCK="${MARIADB_SOCK}" .if ${PKGNAMESUFFIX:M*-connector-c} WRKSRC= ${WRKDIR}/mariadb-${PORTVERSION}/libmariadb .elif ${PKGNAMESUFFIX:M*-client} # MySQL-Client part CMAKE_ON+= CONC_WITH_MYSQLCOMPAT WITHOUT_SERVER CMAKE_OFF+= WITH_WSREP USES+= readline USE_LDCONFIG= ${PREFIX}/lib/mysql SUB_FILES+= my.cnf.sample client.cnf.sample .else # ! ${PKGNAMESUFFIX:M*-client} # MySQL-Server part USES+= mysql:118m USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin USE_RC_SUBR= mysql-server CMAKE_ON+= CMAKE_SKIP_BUILD_RPATH WITH_EMBEDDED_SERVER CMAKE_OFF+= WITH_CLIENT SUB_FILES+= server.cnf.sample SUB_LIST+= MARIADB_DBDIR="${MARIADB_DBDIR}" \ MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ MARIADB_USER="${MARIADB_USER}" PLIST_SUB+= MARIADB_LOGDIR="${MARIADB_LOGDIR}" \ MARIADB_USER="${MARIADB_USER}" \ MARIADB_GROUP="${MARIADB_GROUP}" .for ENGINE in ${OPTIONS_GROUP_ENGINES:NINNOBASE} ${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO ${ENGINE}_CMAKE_ON= -DPLUGIN_${ENGINE}=DYNAMIC .endfor AWS_KEY_MGMT_CMAKE_ON= -DPLUGIN_AWS_KEY_MANAGEMENT=ON INNOBASE_VARS_OFF= disabled_plugins+=INNOBASE COLUMNSTORE_BROKEN= ColumnStore engine build failure "fatal error: 'sys/prctl.h' file not found" CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC CONNECT_EXTRA_USE= gnome=libxml2 CONNECT_EXTRA_USES= gnome CONNECT_EXTRA_CMAKE_BOOL= CONNECT_WITH_LIBXML2 CONNECT_WITH_ODBC GSSAPI_NONE_VARS= disabled_plugins+=AUTH_GSSAPI HASHICORP_VAULT_CMAKE_OFF= -DPLUGIN_HASHICORP_KEY_MANAGEMENT=NO HASHICORP_VAULT_LIB_DEPENDS= libcurl.so:ftp/curl LZO_CMAKE_ON= -DWITH_INNODB_LZO=ON LZO_CMAKE_OFF= -DWITH_INNODB_LZO=OFF LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack-c OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libJudy.so:devel/judy ROCKSDB_BROKEN= RocksDB engine build failyure "jemalloc_helper.h:65:61: error: use of undeclared identifier 'nothrow'" ROCKSDB_USES= python ROCKSDB_CMAKE_ON= -DPYTHON_SHEBANG=${PYTHON_CMD} -DWITH_ROCKSDB_zstd=ON S3_LIB_DEPENDS= libcurl.so:ftp/curl SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON -DWITH_ROCKSDB_snappy=ON SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF -DWITH_ROCKSDB_snappy=OFF SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy WSREP_CMAKE_BOOL= WITH_WSREP WSREP_LIB_DEPENDS= libgalera.so:databases/galera26 WSREP_RUN_DEPENDS= bash:shells/bash \ rsync:net/rsync \ #stunnel:security/stunnel WSREP_SHEBANG_FILES= bin/wsrep_sst_rsync ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 .for PLUGIN in ${DISABLED_PLUGINS} CMAKE_ARGS+= -DPLUGIN_${PLUGIN}=NO .endfor .endif # ${PKGNAMESUFFIX:M*-client} .include .if ${OPSYS} == FreeBSD SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" .else SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " .endif .if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} GSSAPI_BASE_IGNORE= GSSAPI_BASE is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system .endif .if ${SSL_DEFAULT:Mlibressl*} CFLAGS+= -Wno-incompatible-function-pointer-types .warning HELLO FROM MAKE LIBRESSL .endif .if ${ARCH} != amd64 && ${ARCH} != aarch64 PLIST_SUB+= WSREP="@comment " .endif post-patch: .if ${OPSYS} == DragonFly ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ ${WRKSRC}/cmake/os/DragonFly.cmake .endif pre-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d .if ${PKGNAMESUFFIX:M*-client} post-install: ${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample ${INSTALL_DATA} ${WRKDIR}/client.cnf.sample \ ${STAGEDIR}${ETCDIR}/conf.d/client.cnf.sample ${RM} -r ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${PREFIX}/include/mysql/server \ ${STAGEDIR}${ETCDIR}/init.d \ ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig post-install-GSSAPI_NONE-off: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/plugin/auth_gssapi_client.so .else # ! ${PKGNAMESUFFIX:M*-client} post-install: ${INSTALL_DATA} ${WRKDIR}/server.cnf.sample \ ${STAGEDIR}${ETCDIR}/conf.d/server.cnf.sample ${MV} ${STAGEDIR}${PREFIX}/share/user_map.conf \ ${STAGEDIR}${PREFIX}/etc/mysql/user_map.conf.sample ${MV} ${STAGEDIR}${PREFIX}/share/pam_user_map.so \ ${STAGEDIR}${PREFIX}/lib/mysql/ ${RM} -r ${STAGEDIR}${PREFIX}/share/mysql/policy \ ${STAGEDIR}${PREFIX}/include/mysql/server/private \ ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig \ ${STAGEDIR}${PREFIX}/libexec/rcmysql \ ${STAGEDIR}/suite \ ${STAGEDIR}${ETCDIR}/init.d \ ${STAGEDIR}${ETCDIR}/logrotate.d \ ${STAGEDIR}${DOCSDIR}/COPYING ${MV} ${STAGEDIR}${ETCDIR}/conf.d/mysql-clients.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/mysql-clients.cnf.sample ${MKDIR} ${STAGEDIR}${MARIADB_LOGDIR} ${SED} '/%%/d;/^@comment /d;s/^/@comment /' ${PORTSDIR}/${CATEGORIES:[1]}/${PORTNAME}${PKGNAMESUFFIX:S/-server/-client/}/pkg-plist \ >> ${TMPPLIST} post-install-HASHICORP_VAULT-on: ${MV} ${STAGEDIR}${ETCDIR}/conf.d/hashicorp_key_management.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/hashicorp_key_management.cnf.sample post-install-MROONGA-on: ${MV} ${STAGEDIR}${PREFIX}/share/groonga/README.md ${STAGEDIR}${DOCSDIR}/README-groonga.md ${RM} -r ${STAGEDIR}${PREFIX}/share/groonga ${RM} ${STAGEDIR}${DATADIR}/mroonga/COPYING post-install-S3-on: ${MV} ${STAGEDIR}${ETCDIR}/conf.d/s3.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/s3.cnf.sample post-install-SPIDER-on: ${MV} ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/spider.cnf.sample post-install-WSREP-on: ${MV} ${STAGEDIR}${DATADIR}/wsrep.cnf \ ${STAGEDIR}${ETCDIR}/conf.d/wsrep.cnf.sample .endif # ${PKGNAMESUFFIX:M*-client} .include diff --git a/databases/pgadmin3/Makefile b/databases/pgadmin3/Makefile index 38f6b6177f11..db605f28de27 100644 --- a/databases/pgadmin3/Makefile +++ b/databases/pgadmin3/Makefile @@ -1,57 +1,58 @@ PORTNAME= pgadmin3 DISTVERSION= 1.23.0.20230324 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= vvd@FreeBSD.org COMMENT= PostgreSQL database design and management system WWW= https://github.com/allentc/pgadmin3-lts/ LICENSE= PostgreSQL LIB_DEPENDS= libssh2.so:security/libssh2 USES= autoreconf:build compiler:c++11-lib gmake gnome pgsql USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= allentc GH_PROJECT= ${PORTNAME}-lts GH_TAGNAME= 1935837 USE_GNOME= libxml2 libxslt USE_WX= 3.0 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-databasedesigner --with-openssl --with-wx-version=${USE_WX} CXXFLAGS+= -Wno-c++11-narrowing ICON_SIZES= 16 32 PLIST_FILES= bin/pgadmin3 share/applications/pgadmin3.desktop .for SZ in ${ICON_SIZES} PLIST_FILES+= share/icons/hicolor/${SZ}x${SZ}/apps/pgAdmin3.png .endfor PORTDATA= * OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx DOCS_CONFIGURE_OFF= --without-sphinx-build pre-configure: @cd ${WRKSRC} ; ./bootstrap @${REINPLACE_CMD} -e 's,/wx-config,/${WX_CONFIG:T},' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,wxrc ,${WXRC_CMD:T} ,' ${WRKSRC}/pgadmin/ui/embed-xrc @${REINPLACE_CMD} -e 's,/usr/bin/xterm,${LOCALBASE}/bin/xterm,' ${WRKSRC}/plugins.d/plugins.ini @${REINPLACE_CMD} -e 's,Exec=/usr/bin/pgadmin3,Exec=${LOCALBASE}/bin/pgadmin3,'\ -e 's,Icon=/usr/share/pgadmin3/pgAdmin3.png,Icon=pgAdmin3,'\ -e '/^MimeType=/d'\ -e '/^DocPath=/d'\ ${WRKSRC}/pkg/pgadmin3.desktop post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/pkg/pgadmin3.desktop ${STAGEDIR}${PREFIX}/share/applications .for SZ in ${ICON_SIZES} ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps ${INSTALL_DATA} ${WRKSRC}/pgadmin/include/images/pgAdmin3-${SZ}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/pgAdmin3.png .endfor .include diff --git a/databases/pgbackrest/Makefile b/databases/pgbackrest/Makefile index 1a8feab6df19..9c2c3bbbfbcd 100644 --- a/databases/pgbackrest/Makefile +++ b/databases/pgbackrest/Makefile @@ -1,39 +1,40 @@ PORTNAME= pgbackrest DISTVERSIONPREFIX= release/ DISTVERSION= 2.55.1 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= schoutm@gmail.com COMMENT= Reliable PostgreSQL Backup & Restore WWW= https://pgbackrest.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libyaml.so:textproc/libyaml USES= gnome meson pgsql pkgconfig python ssl USE_GITHUB= yes USE_GNOME= libxml2 MESON_ARGS+= -Dconfigdir="${LOCALBASE}/etc/pgbackrest" BINARY_ALIAS= python3=${PYTHON_CMD} OPTIONS_DEFINE= SFTP ZSTD SFTP_DESC= Enable SFTP storage support SFTP_LIB_DEPENDS= libssh2.so:security/libssh2 SFTP_MESON_ON= -Dlibssh2=enabled SFTP_MESON_OFF= -Dlibssh2=disabled ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_MESON_ON= -Dlibzstd=enabled ZSTD_MESON_OFF= -Dlibzstd=disabled post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/pgbackrest .include diff --git a/databases/pgmodeler/Makefile b/databases/pgmodeler/Makefile index ada30cfa48d3..240d7c91adf0 100644 --- a/databases/pgmodeler/Makefile +++ b/databases/pgmodeler/Makefile @@ -1,28 +1,29 @@ PORTNAME= pgmodeler PORTVERSION= 1.1.6 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= databases MAINTAINER= lbartoletti@FreeBSD.org COMMENT= PostgreSQL Database Modeler WWW= http://pgmodeler.com.br/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lib gl gmake gnome pgsql pkgconfig qmake qt:6 \ xorg USE_GITHUB= yes USE_GNOME= libxml2 USE_GL= gl USE_QT= base svg tools USE_XORG= x11 xext USE_LDCONFIG= yes QMAKE_SOURCE_PATH= ${WRKSRC}/${PORTNAME}.pro post-patch: @${REINPLACE_CMD} -e 's|linux|unix|g' ${WRKSRC}/${PORTNAME}.pri .include diff --git a/databases/pointcloud/Makefile b/databases/pointcloud/Makefile index 428b8b193ffd..0737a6d9db4e 100644 --- a/databases/pointcloud/Makefile +++ b/databases/pointcloud/Makefile @@ -1,28 +1,29 @@ PORTNAME= pointcloud DISTVERSIONPREFIX= v DISTVERSION= 1.2.5 +PORTREVISION= 1 CATEGORIES= databases geography MAINTAINER= lbartoletti@FreeBSD.org COMMENT= LIDAR types for PostgreSQL WWW= https://github.com/pgpointcloud/pointcloud/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= liblazperf.so:archivers/lazperf USES= autoreconf compiler:c++0x gmake gnome pgsql GNU_CONFIGURE= yes WANT_PGSQL= server USE_GITHUB= yes GH_ACCOUNT= pgpointcloud USE_GNOME= libxml2 USE_LDCONFIG= yes CONFIGURE_ARGS= --with-lazperf=${LOCALBASE} post-install: ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/postgresql/pointcloud-${DISTVERSION:R}.so .include diff --git a/databases/postgis33/Makefile b/databases/postgis33/Makefile index 2771a6783720..7b951527b7f1 100644 --- a/databases/postgis33/Makefile +++ b/databases/postgis33/Makefile @@ -1,90 +1,90 @@ PORTNAME= postgis DISTVERSION= 3.3.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 33 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal \ libpcre2-8.so:devel/pcre2 USES= alias compiler:c++14-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} USE_CXXSTD= c++14 SHEBANG_FILES= extensions/address_standardizer/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support NLS_DESC= Enable international language support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support WAGYU_DESC= Enable WAGYU support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_LIB_DEPENDS= libpcre.so:devel/pcre ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c LOADERGUI_USE= GNOME=gtk20 LOADERGUI_USES= desktop-file-utils NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology WAGYU_CONFIGURE_WITH= wagyu RASTER_CONFIGURE_WITH= raster CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ VER=${VER} .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgs* ${STAGEDIR}${PREFIX}/bin/rast* ${STAGEDIR}${PREFIX}/bin/shp* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/postgis34/Makefile b/databases/postgis34/Makefile index fe713c48bd03..4e7c8dfc4d52 100644 --- a/databases/postgis34/Makefile +++ b/databases/postgis34/Makefile @@ -1,87 +1,87 @@ PORTNAME= postgis DISTVERSION= 3.4.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 34 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal \ libpcre2-8.so:devel/pcre2 USES= alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SHEBANG_FILES= extensions/address_standardizer/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl loader/postgis.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY LOADERGUI OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support NLS_DESC= Enable international language support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c LOADERGUI_USE= GNOME=gtk20 LOADERGUI_USES= desktop-file-utils NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology RASTER_CONFIGURE_WITH= raster CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ VER=${VER} .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgs* ${STAGEDIR}${PREFIX}/bin/rast* ${STAGEDIR}${PREFIX}/bin/shp* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/postgis35/Makefile b/databases/postgis35/Makefile index a441e8c6eff9..2d4b40eb1575 100644 --- a/databases/postgis35/Makefile +++ b/databases/postgis35/Makefile @@ -1,87 +1,87 @@ PORTNAME= postgis DISTVERSION= 3.5.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 35 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal \ libpcre2-8.so:devel/pcre2 USES= alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SHEBANG_FILES= extensions/address_standardizer/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl loader/postgis.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY LOADERGUI OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support NLS_DESC= Enable international language support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c LOADERGUI_USE= GNOME=gtk20 LOADERGUI_USES= desktop-file-utils NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology RASTER_CONFIGURE_WITH= raster CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ VER=${VER} .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgs* ${STAGEDIR}${PREFIX}/bin/rast* ${STAGEDIR}${PREFIX}/bin/shp* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/postgresql13-contrib/Makefile b/databases/postgresql13-contrib/Makefile index ad8a568951ee..7bac5c915b90 100644 --- a/databases/postgresql13-contrib/Makefile +++ b/databases/postgresql13-contrib/Makefile @@ -1,41 +1,41 @@ PORTNAME= postgresql -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= pgsql@FreeBSD.org COMMENT= The contrib utilities from the PostgreSQL distribution MASTERDIR= ${.CURDIR}/../postgresql13-server USES= bison pgsql:${PORTVERSION:R} BUILD_DIRS= src/port src/include src/common contrib INSTALL_DIRS= contrib # this port fails to build in parallel MAKE_JOBS_UNSAFE= yes SLAVE_ONLY= yes COMPONENT= -contrib CONFIGURE_ARGS= --disable-nls --with-uuid=bsd LDFLAGS+= -lpthread -L${PREFIX}/lib OPTIONS_DEFINE= DOCS OPENSSL XML OPTIONS_DEFAULT=OPENSSL XML OPTIONS_SUB= yes OPENSSL_DESC= Build with OpenSSL support OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= openssl XML_CONFIGURE_WITH= libxslt libxml XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \ libxml2.so:textproc/libxml2 post-configure: @cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} symlinks post-install: @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README .include "${MASTERDIR}/Makefile" diff --git a/databases/postgresql13-server/Makefile b/databases/postgresql13-server/Makefile index ae0b013f11c0..df8969e7cece 100644 --- a/databases/postgresql13-server/Makefile +++ b/databases/postgresql13-server/Makefile @@ -1,24 +1,24 @@ DISTVERSION?= 13.21 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. -PORTREVISION?= 0 +PORTREVISION?= 1 MAINTAINER?= pgsql@FreeBSD.org INSTALL_DIRS?= src/common src/timezone src/backend \ src/backend/utils/mb/conversion_procs \ src/backend/snowball src/backend/replication/libpqwalreceiver \ src/backend/replication/pgoutput \ src/bin/initdb src/bin/pg_ctl \ src/bin/pg_archivecleanup src/bin/pg_basebackup \ src/bin/pg_checksums \ src/bin/pg_controldata src/bin/pg_resetwal src/pl \ src/bin/pg_rewind \ src/bin/pg_test_fsync src/bin/pg_test_timing \ src/bin/pg_waldump src/bin/pg_upgrade PG_USER?= postgres PG_GROUP?= postgres PG_UID?= 770 .include "${.CURDIR}/../postgresql16-server/Makefile" diff --git a/databases/postgresql14-contrib/Makefile b/databases/postgresql14-contrib/Makefile index e60bf88b53b4..f0c2e269585d 100644 --- a/databases/postgresql14-contrib/Makefile +++ b/databases/postgresql14-contrib/Makefile @@ -1,41 +1,41 @@ PORTNAME= postgresql -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= pgsql@FreeBSD.org COMMENT= The contrib utilities from the PostgreSQL distribution MASTERDIR= ${.CURDIR}/../postgresql14-server USES= bison pgsql:${PORTVERSION:R} BUILD_DIRS= src/port src/include src/common contrib INSTALL_DIRS= contrib # this port fails to build in parallel MAKE_JOBS_UNSAFE= yes SLAVE_ONLY= yes COMPONENT= -contrib CONFIGURE_ARGS= --disable-nls --with-uuid=bsd LDFLAGS+= -lpthread -L${PREFIX}/lib OPTIONS_DEFINE= DOCS OPENSSL XML OPTIONS_DEFAULT=OPENSSL XML OPTIONS_SUB= yes OPENSSL_DESC= Build with OpenSSL support OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= openssl XML_CONFIGURE_WITH= libxslt libxml XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \ libxml2.so:textproc/libxml2 post-configure: @cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} symlinks post-install: @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README .include "${MASTERDIR}/Makefile" diff --git a/databases/postgresql14-server/Makefile b/databases/postgresql14-server/Makefile index 4fc3988300f0..d72b1bd1c81b 100644 --- a/databases/postgresql14-server/Makefile +++ b/databases/postgresql14-server/Makefile @@ -1,24 +1,24 @@ DISTVERSION?= 14.18 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. -PORTREVISION?= 0 +PORTREVISION?= 1 MAINTAINER?= pgsql@FreeBSD.org INSTALL_DIRS?= src/common src/timezone src/backend \ src/backend/utils/mb/conversion_procs \ src/backend/snowball src/backend/replication/libpqwalreceiver \ src/backend/replication/pgoutput \ src/bin/initdb src/bin/pg_ctl \ src/bin/pg_archivecleanup src/bin/pg_basebackup \ src/bin/pg_checksums \ src/bin/pg_controldata src/bin/pg_resetwal src/pl \ src/bin/pg_rewind \ src/bin/pg_test_fsync src/bin/pg_test_timing \ src/bin/pg_waldump src/bin/pg_upgrade PG_USER?= postgres PG_GROUP?= postgres PG_UID?= 770 .include "${.CURDIR}/../postgresql16-server/Makefile" diff --git a/databases/postgresql15-contrib/Makefile b/databases/postgresql15-contrib/Makefile index 8d8803e14f03..029971d32399 100644 --- a/databases/postgresql15-contrib/Makefile +++ b/databases/postgresql15-contrib/Makefile @@ -1,41 +1,41 @@ PORTNAME= postgresql -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= pgsql@FreeBSD.org COMMENT= The contrib utilities from the PostgreSQL distribution MASTERDIR= ${.CURDIR}/../postgresql15-server USES= bison pgsql:${PORTVERSION:R} BUILD_DIRS= src/port src/include src/common contrib INSTALL_DIRS= contrib # this port fails to build in parallel MAKE_JOBS_UNSAFE= yes SLAVE_ONLY= yes COMPONENT= -contrib CONFIGURE_ARGS= --disable-nls --with-uuid=bsd LDFLAGS+= -lpthread -L${PREFIX}/lib OPTIONS_DEFINE= DOCS OPENSSL XML OPTIONS_DEFAULT=OPENSSL XML OPTIONS_SUB= yes OPENSSL_DESC= Build with OpenSSL support OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= openssl XML_CONFIGURE_WITH= libxslt libxml XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \ libxml2.so:textproc/libxml2 post-configure: @cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} symlinks post-install: @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README .include "${MASTERDIR}/Makefile" diff --git a/databases/postgresql15-server/Makefile b/databases/postgresql15-server/Makefile index 09077a1fcb18..1489747d17ec 100644 --- a/databases/postgresql15-server/Makefile +++ b/databases/postgresql15-server/Makefile @@ -1,24 +1,24 @@ DISTVERSION?= 15.13 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. -PORTREVISION?= 0 +PORTREVISION?= 1 MAINTAINER?= pgsql@FreeBSD.org INSTALL_DIRS?= src/common src/timezone src/backend \ src/backend/utils/mb/conversion_procs \ src/backend/snowball src/backend/replication/libpqwalreceiver \ src/backend/replication/pgoutput \ src/bin/initdb src/bin/pg_ctl \ src/bin/pg_archivecleanup src/bin/pg_basebackup \ src/bin/pg_checksums \ src/bin/pg_controldata src/bin/pg_resetwal src/pl \ src/bin/pg_rewind \ src/bin/pg_test_fsync src/bin/pg_test_timing \ src/bin/pg_waldump src/bin/pg_upgrade PG_USER?= postgres PG_GROUP?= postgres PG_UID?= 770 .include "${.CURDIR}/../postgresql16-server/Makefile" diff --git a/databases/postgresql16-contrib/Makefile b/databases/postgresql16-contrib/Makefile index cd8376580200..e68f712cb309 100644 --- a/databases/postgresql16-contrib/Makefile +++ b/databases/postgresql16-contrib/Makefile @@ -1,41 +1,41 @@ PORTNAME= postgresql -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= pgsql@FreeBSD.org COMMENT= The contrib utilities from the PostgreSQL distribution MASTERDIR= ${.CURDIR}/../postgresql16-server USES= bison pgsql:${PORTVERSION:R} BUILD_DIRS= src/port src/include src/common contrib INSTALL_DIRS= contrib # this port fails to build in parallel MAKE_JOBS_UNSAFE= yes SLAVE_ONLY= yes COMPONENT= -contrib CONFIGURE_ARGS= --disable-nls --with-uuid=bsd LDFLAGS+= -lpthread -L${PREFIX}/lib OPTIONS_DEFINE= DOCS OPENSSL XML OPTIONS_DEFAULT=OPENSSL XML OPTIONS_SUB= yes OPENSSL_DESC= Build with OpenSSL support OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= openssl XML_CONFIGURE_WITH= libxslt libxml XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \ libxml2.so:textproc/libxml2 post-configure: @cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} generated-headers post-install: @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README .include "${MASTERDIR}/Makefile" diff --git a/databases/postgresql16-server/Makefile b/databases/postgresql16-server/Makefile index a2258f336743..1e20ce62ed3c 100644 --- a/databases/postgresql16-server/Makefile +++ b/databases/postgresql16-server/Makefile @@ -1,242 +1,242 @@ PORTNAME?= postgresql DISTVERSION?= 16.9 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= databases MASTER_SITES= PGSQL/source/v${DISTVERSION} PKGNAMESUFFIX?= ${PORTVERSION:R}${COMPONENT} MAINTAINER?= pgsql@FreeBSD.org COMMENT?= PostgreSQL is the most advanced open-source database available anywhere WWW= https://www.postgresql.org/ LICENSE= PostgreSQL CONFLICTS+= ${PORTNAME}1[^${PORTVERSION:R:C/.*([0-9]$)/\\1/}]* WRKSRC= ${WRKDIR}/postgresql-${DISTVERSION} DIST_SUBDIR= postgresql OPTIONS_SUB= yes PKGINSTALL?= ${PKGDIR}/pkg-install${COMPONENT} USES+= tar:bzip2 cpe .if !defined(NO_BUILD) USES+= gmake GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share .endif PG_USER?= postgres PG_GROUP?= postgres PG_UID?= 770 LDFLAGS+= -L${LOCALBASE}/lib INCLUDES+= -I${LOCALBASE}/include CONFIGURE_ARGS+=--with-libraries=${PREFIX}/lib \ --with-includes=${PREFIX}/include \ --enable-thread-safety CONFIGURE_ENV+= INCLUDES="${INCLUDES}" \ PTHREAD_LIBS="-lpthread" \ LDFLAGS_SL="${LDFLAGS_SL}" LDFLAGS+= -lpthread MAKE_ENV= MAKELEVEL=0 PLIST= ${PKGDIR}/pkg-plist${COMPONENT} INSTALL_DIRS?= src/common src/timezone src/backend \ src/backend/utils/mb/conversion_procs \ src/backend/snowball src/backend/replication/libpqwalreceiver \ src/backend/replication/pgoutput \ src/bin/initdb src/bin/pg_ctl \ src/bin/pg_archivecleanup src/bin/pg_basebackup \ src/bin/pg_checksums \ src/bin/pg_controldata src/bin/pg_resetwal src/pl \ src/bin/pg_rewind \ src/bin/pg_test_fsync src/bin/pg_test_timing \ src/bin/pg_waldump src/bin/pg_upgrade BUILD_DIRS?= src/port ${INSTALL_DIRS} INSTALL_TARGET?=install-strip .if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY) SERVER_ONLY= yes COMPONENT= -server USE_RC_SUBR= postgresql USES+= pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g} USERS= ${PG_USER} GROUPS= ${PG_GROUP} SUB_FILES+= 502.pgsql .endif MAKE_ENV+= PATH=${PREFIX}/bin:${PATH} CONFIGURE_ENV+= PATH=${PREFIX}/bin:${PATH} .if defined(SERVER_ONLY) OPTIONS_DEFINE= DTRACE LDAP TZDATA XML DOCS OPTIONS_DEFAULT+=XML LDAP_DESC= Build with LDAP authentication support TZDATA_DESC= Use internal timezone database XML_DESC= Build with XML data type DTRACE_CONFIGURE_ENABLE=dtrace DTRACE_LDFLAGS= -lelf DTRACE_INSTALL_TARGET= install . if ${DISTVERSION:C/([0-9][0-9]).*/\1/g} >= 14 OPTIONS_DEFINE+= LZ4 OPTIONS_DEFAULT+= LZ4 LZ4_DESC= Build with LZ4 compression support LZ4_CONFIGURE_WITH= lz4 LZ4_LIB_DEPENDS+= liblz4.so:archivers/liblz4 . endif . if ${DISTVERSION:C/([0-9][0-9]).*/\1/g} >= 15 OPTIONS_DEFINE+= ZSTD OPTIONS_DEFAULT+= ZSTD ZSTD_DESC= Build with ZSTD compression support ZSTD_CONFIGURE_WITH= zstd ZSTD_LIB_DEPENDS+= libzstd.so:archivers/zstd . endif OPTIONS_DEFINE+= LLVM OPTIONS_DEFAULT+= LLVM LLVM_DESC= Build with support for JIT-compiling expressions LLVM_CONFIGURE_WITH= llvm LLVM_CONFIGURE_ENV= LLVM_CONFIG=${LLVM_CONFIG} \ CLANG=${LOCALBASE}/bin/clang${LLVM_VERSION} LLVM_USES= llvm:min=11,lib CONFIGURE_ARGS+= --with-icu LIB_DEPENDS+= libicudata.so:devel/icu USES+= pkgconfig .else CONFIGURE_ARGS+= --without-icu .endif .if !defined(SLAVE_ONLY) OPTIONS_DEFINE+= NLS PAM GSSAPI OPTIMIZED_CFLAGS DEBUG DOCS SSL NLS_DESC= Use internationalized messages PAM_DESC= Build with PAM Support GSSAPI_DESC= Build with GSSAPI from base (security/krb5) OPTIMIZED_CFLAGS_DESC= Builds with compiler optimizations (-O3) SSL_DESC= Build with OpenSSL support OPTIONS_DEFAULT+= SSL GSSAPI_USES= gssapi:mit GSSAPI_CONFIGURE_WITH= gssapi .endif # !SLAVE_ONLY SSL_USES= ssl SSL_CONFIGURE_WITH= openssl PAM_CONFIGURE_WITH= pam XML_CONFIGURE_WITH= libxml XML_LIB_DEPENDS= libxml2.so:textproc/libxml2 TZDATA_CONFIGURE_OFF= --with-system-tzdata=/usr/share/zoneinfo NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext LDAP_CONFIGURE_WITH= ldap LDAP_USES= ldap OPTIMIZED_CFLAGS_CFLAGS=-O3 -funroll-loops DEBUG_CONFIGURE_ENABLE= debug PLIST_SUB+= PG_VERSION=${PORTVERSION:R} \ PG_USER=${PG_USER} \ PG_USER_regex=[[:<:]]${PG_USER}[[:>:]] \ PG_GROUP=${PG_GROUP} \ PG_GROUP_regex=[[:<:]]${PG_GROUP}[[:>:]] SUB_LIST+= PG_VERSION=${PORTVERSION:R} \ PG_GROUP=${PG_GROUP} \ PG_USER=${PG_USER} \ PG_UID=${PG_UID} .include # i386 older than Pentium lacks SSE2 so the binary will not run if we build with clang -msse2 # For such ancient CPUs, gcc must be used to build PostgreSQL. # https://www.postgresql.org/message-id/20190307140421.GA8362%40gate.oper.dinoex.org .if ${ARCH} == "i386" CFLAGS+= -msse2 .endif .if !defined(SLAVE_ONLY) PATCH_DIST_STRIP=-p1 .endif # !SLAVE_ONLY # For testing files in FILESDIR .include .if ${PORT_OPTIONS:MLLVM} INSTALL_DIRS+= src/backend/jit/llvm .endif .if defined(SERVER_ONLY) pre-build: @${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL .endif .if !defined(NO_BUILD) && !target(do-build) do-build: @ cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} generated-headers @ for dir in ${BUILD_DIRS}; do \ cd ${WRKSRC}/$${dir} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ; \ done . if exists(${FILESDIR}/pkg-message${COMPONENT}.in) SUB_FILES+= pkg-message${COMPONENT} PKGMESSAGE= ${WRKSRC}/pkg-message${COMPONENT} . endif . if exists(${FILESDIR}/pkg-install${COMPONENT}.in) SUB_FILES+= pkg-install${COMPONENT} . endif post-patch: . if defined(CLIENT_ONLY) && !defined(OPENSSL_PORT) @${REINPLACE_CMD} \ -e '/^PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto/d' \ ${WRKSRC}/src/interfaces/libpq/Makefile . endif do-install: @for dir in ${INSTALL_DIRS}; do \ cd ${WRKSRC}/$${dir} && \ ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${INSTALL_TARGET}; \ done . if defined(SERVER_ONLY) @ ${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql ;\ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ;\ ${INSTALL_SCRIPT} ${WRKDIR}/502.pgsql \ ${STAGEDIR}${PREFIX}/etc/periodic/daily . endif # SERVER_ONLY . if defined(CLIENT_ONLY) @ cd ${WRKSRC}/src && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-local . endif @ if [ -r ${PKGMESSAGE} ]; then \ ${MKDIR} ${STAGEDIR}${DOCSDIR} ;\ ${INSTALL_DATA} ${PKGMESSAGE} ${STAGEDIR}${DOCSDIR}/README${COMPONENT} ;\ fi .endif # !NO_BUILD .if defined(SERVER_ONLY) check: @if [ `id -u` != 0 ] ; then \ ${ECHO} "Running postgresql regressions tests" ;\ cd ${WRKSRC}; ${MAKE_CMD} check ;\ else \ ${ECHO} "You cannot run regression tests when postgresql is built as user root." ; \ ${ECHO} "Clean and rebuild the port as a regular user to run the tests." ;\ fi .endif .include diff --git a/databases/postgresql17-contrib/Makefile b/databases/postgresql17-contrib/Makefile index 1a55a4cc9a46..001c798933c8 100644 --- a/databases/postgresql17-contrib/Makefile +++ b/databases/postgresql17-contrib/Makefile @@ -1,41 +1,41 @@ PORTNAME= postgresql -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= pgsql@FreeBSD.org COMMENT= The contrib utilities from the PostgreSQL distribution MASTERDIR= ${.CURDIR}/../postgresql17-server USES= bison pgsql:${PORTVERSION:R} BUILD_DIRS= src/port src/include src/common contrib INSTALL_DIRS= contrib # this port fails to build in parallel MAKE_JOBS_UNSAFE= yes SLAVE_ONLY= yes COMPONENT= -contrib CONFIGURE_ARGS= --disable-nls --with-uuid=bsd LDFLAGS+= -lpthread -L${PREFIX}/lib OPTIONS_DEFINE= DOCS OPENSSL XML OPTIONS_DEFAULT=OPENSSL XML OPTIONS_SUB= yes OPENSSL_DESC= Build with OpenSSL support OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= openssl XML_CONFIGURE_WITH= libxslt libxml XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \ libxml2.so:textproc/libxml2 post-configure: @cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} generated-headers post-install: @- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README .include "${MASTERDIR}/Makefile" diff --git a/databases/postgresql17-server/Makefile b/databases/postgresql17-server/Makefile index 9ffd292e7e70..1513d79a35d9 100644 --- a/databases/postgresql17-server/Makefile +++ b/databases/postgresql17-server/Makefile @@ -1,245 +1,245 @@ PORTNAME?= postgresql DISTVERSION?= 17.5 # PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and # not their own. Probably best to keep it at ?=0 when reset here too. -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= databases MASTER_SITES= PGSQL/source/v${DISTVERSION} #DISTFILES+= ${PORTNAME}-${DISTVERSION}-docs.tar.bz:docs PKGNAMESUFFIX?= ${PORTVERSION:R}${COMPONENT} MAINTAINER?= pgsql@FreeBSD.org COMMENT?= PostgreSQL is the most advanced open-source database available anywhere WWW= https://www.postgresql.org/ LICENSE= PostgreSQL CONFLICTS+= ${PORTNAME}1[^${PORTVERSION:R:C/.*([0-9]$)/\\1/}]* WRKSRC= ${WRKDIR}/postgresql-${DISTVERSION} DIST_SUBDIR= postgresql OPTIONS_SUB= yes PKGINSTALL?= ${PKGDIR}/pkg-install${COMPONENT} USES+= bison perl5 tar:bzip2 cpe USE_PERL5= build .if !defined(NO_BUILD) USES+= gmake GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share .endif PG_USER?= postgres PG_GROUP?= postgres PG_UID?= 770 LDFLAGS+= -L${LOCALBASE}/lib INCLUDES+= -I${LOCALBASE}/include CONFIGURE_ARGS+=--with-libraries=${PREFIX}/lib \ --with-includes=${PREFIX}/include \ --enable-thread-safety CONFIGURE_ENV+= INCLUDES="${INCLUDES}" \ PTHREAD_LIBS="-lpthread" \ LDFLAGS_SL="${LDFLAGS_SL}" LDFLAGS+= -lpthread MAKE_ENV= MAKELEVEL=0 PLIST= ${PKGDIR}/pkg-plist${COMPONENT} INSTALL_DIRS?= src/common src/timezone src/backend \ src/backend/utils/mb/conversion_procs \ src/backend/snowball src/backend/replication/libpqwalreceiver \ src/backend/replication/pgoutput \ src/bin/initdb src/bin/pg_ctl \ src/bin/pg_archivecleanup src/bin/pg_basebackup \ src/bin/pg_checksums \ src/bin/pg_controldata src/bin/pg_resetwal src/pl \ src/bin/pg_rewind \ src/bin/pg_test_fsync src/bin/pg_test_timing \ src/bin/pg_waldump src/bin/pg_upgrade BUILD_DIRS?= src/port ${INSTALL_DIRS} INSTALL_TARGET?=install-strip .if !defined(CLIENT_ONLY) && !defined(SLAVE_ONLY) SERVER_ONLY= yes COMPONENT= -server USE_RC_SUBR= postgresql USES+= pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g} USERS= ${PG_USER} GROUPS= ${PG_GROUP} SUB_FILES+= 502.pgsql .endif MAKE_ENV+= PATH=${PREFIX}/bin:${PATH} CONFIGURE_ENV+= PATH=${PREFIX}/bin:${PATH} .if defined(SERVER_ONLY) OPTIONS_DEFINE= DTRACE LDAP TZDATA XML DOCS OPTIONS_DEFAULT+=XML LDAP_DESC= Build with LDAP authentication support TZDATA_DESC= Use internal timezone database XML_DESC= Build with XML data type DTRACE_CONFIGURE_ENABLE=dtrace DTRACE_LDFLAGS= -lelf DTRACE_INSTALL_TARGET= install . if ${DISTVERSION:C/([0-9][0-9]).*/\1/g} >= 14 OPTIONS_DEFINE+= LZ4 OPTIONS_DEFAULT+= LZ4 LZ4_DESC= Build with LZ4 compression support LZ4_CONFIGURE_WITH= lz4 LZ4_LIB_DEPENDS+= liblz4.so:archivers/liblz4 . endif . if ${DISTVERSION:C/([0-9][0-9]).*/\1/g} >= 15 OPTIONS_DEFINE+= ZSTD OPTIONS_DEFAULT+= ZSTD ZSTD_DESC= Build with ZSTD compression support ZSTD_CONFIGURE_WITH= zstd ZSTD_LIB_DEPENDS+= libzstd.so:archivers/zstd . endif OPTIONS_DEFINE+= LLVM OPTIONS_DEFAULT+= LLVM LLVM_DESC= Build with support for JIT-compiling expressions LLVM_CONFIGURE_WITH= llvm LLVM_CONFIGURE_ENV= LLVM_CONFIG=${LLVM_CONFIG} \ CLANG=${LOCALBASE}/bin/clang${LLVM_VERSION} LLVM_USES= llvm:min=11,lib CONFIGURE_ARGS+= --with-icu LIB_DEPENDS+= libicudata.so:devel/icu USES+= pkgconfig .else CONFIGURE_ARGS+= --without-icu .endif .if !defined(SLAVE_ONLY) OPTIONS_DEFINE+= NLS PAM GSSAPI OPTIMIZED_CFLAGS DEBUG DOCS SSL NLS_DESC= Use internationalized messages PAM_DESC= Build with PAM Support GSSAPI_DESC= Build with GSSAPI from base (security/krb5) OPTIMIZED_CFLAGS_DESC= Builds with compiler optimizations (-O3) SSL_DESC= Build with OpenSSL support OPTIONS_DEFAULT+= SSL GSSAPI_USES= gssapi:mit GSSAPI_CONFIGURE_WITH= gssapi PATCH_DIST_STRIP=-p1 .endif # !SLAVE_ONLY SSL_USES= ssl SSL_CONFIGURE_WITH= openssl PAM_CONFIGURE_WITH= pam XML_CONFIGURE_WITH= libxml XML_LIB_DEPENDS= libxml2.so:textproc/libxml2 TZDATA_CONFIGURE_OFF= --with-system-tzdata=/usr/share/zoneinfo NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext LDAP_CONFIGURE_WITH= ldap LDAP_USES= ldap OPTIMIZED_CFLAGS_CFLAGS=-O3 -funroll-loops DEBUG_CONFIGURE_ENABLE= debug PLIST_SUB+= PG_VERSION=${PORTVERSION:R} \ PG_USER=${PG_USER} \ PG_USER_regex=[[:<:]]${PG_USER}[[:>:]] \ PG_GROUP=${PG_GROUP} \ PG_GROUP_regex=[[:<:]]${PG_GROUP}[[:>:]] SUB_LIST+= PG_VERSION=${PORTVERSION:R} \ PG_GROUP=${PG_GROUP} \ PG_USER=${PG_USER} \ PG_UID=${PG_UID} .include # i386 older than Pentium lacks SSE2 so the binary will not run if we build with clang -msse2 # For such ancient CPUs, gcc must be used to build PostgreSQL. # https://www.postgresql.org/message-id/20190307140421.GA8362%40gate.oper.dinoex.org .if ${ARCH} == "i386" CFLAGS+= -msse2 .endif # For testing files in FILESDIR .include .if ${PORT_OPTIONS:MLLVM} INSTALL_DIRS+= src/backend/jit/llvm .endif .if defined(SERVER_ONLY) pre-build: @${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL .endif .if !defined(NO_BUILD) && !target(do-build) do-build: @ cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} generated-headers @ for dir in ${BUILD_DIRS}; do \ cd ${WRKSRC}/$${dir} && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ; \ done . if defined(CLIENT_ONLY) @ cd ${WRKSRC}/doc && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} man . endif . if exists(${FILESDIR}/pkg-message${COMPONENT}.in) SUB_FILES+= pkg-message${COMPONENT} PKGMESSAGE= ${WRKSRC}/pkg-message${COMPONENT} . endif . if exists(${FILESDIR}/pkg-install${COMPONENT}.in) SUB_FILES+= pkg-install${COMPONENT} . endif post-patch: . if defined(CLIENT_ONLY) && !defined(OPENSSL_PORT) @${REINPLACE_CMD} \ -e '/^PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto/d' \ ${WRKSRC}/src/interfaces/libpq/Makefile . endif do-install: @for dir in ${INSTALL_DIRS}; do \ cd ${WRKSRC}/$${dir} && \ ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${INSTALL_TARGET}; \ done . if defined(SERVER_ONLY) @ ${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql ;\ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ;\ ${INSTALL_SCRIPT} ${WRKDIR}/502.pgsql \ ${STAGEDIR}${PREFIX}/etc/periodic/daily . endif # SERVER_ONLY . if defined(CLIENT_ONLY) @ cd ${WRKSRC}/src && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-local @ cd ${WRKSRC}/doc/src/sgml && ${COPYTREE_SHARE} "man1 man3 man7" ${STAGEDIR}${PREFIX}/share/man . endif @ if [ -r ${PKGMESSAGE} ]; then \ ${MKDIR} ${STAGEDIR}${DOCSDIR} ;\ ${INSTALL_DATA} ${PKGMESSAGE} ${STAGEDIR}${DOCSDIR}/README${COMPONENT} ;\ fi .endif # !NO_BUILD .if defined(SERVER_ONLY) check: @if [ `id -u` != 0 ] ; then \ ${ECHO} "Running postgresql regressions tests" ;\ cd ${WRKSRC}; ${MAKE_CMD} check ;\ else \ ${ECHO} "You cannot run regression tests when postgresql is built as user root." ; \ ${ECHO} "Clean and rebuild the port as a regular user to run the tests." ;\ fi .endif .include diff --git a/databases/qof/Makefile b/databases/qof/Makefile index 293cec83b14d..22419f62765b 100644 --- a/databases/qof/Makefile +++ b/databases/qof/Makefile @@ -1,45 +1,45 @@ PORTNAME= qof PORTVERSION= 0.8.8 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= databases MASTER_SITES= DEBIAN_POOL DISTNAME= qof_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Query Object Framework WWW= https://alioth.debian.org/projects/qof/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Host is no longer resolvable using multiple different resolver CONFLICTS_INSTALL= gnotime-2.[0-3]* gnotime-2.4.0* gnotime-2.4.1 gnotime-2.4.1_[12]* GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-doxygen --disable-gdasql --disable-sqlite CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip USES= gmake gnome libtool pathfix pkgconfig USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e '/CFLAGS=/s|-g2||' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|__isleap|qof_date_isleap|' \ ${WRKSRC}/qof/qofdate.c @${REINPLACE_CMD} -e '/^AM_CFLAGS =/s|-g||' \ ${WRKSRC}/lib/libsql/Makefile.in \ ${WRKSRC}/qof/Makefile.in @${REINPLACE_CMD} -e '/^sql_parse_test_DEPENDENCIES =/s/$$/ libqofsql.la/' \ ${WRKSRC}/lib/libsql/Makefile.in .include diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile index 4db263ee0466..1279dbec7188 100644 --- a/databases/rrdtool/Makefile +++ b/databases/rrdtool/Makefile @@ -1,102 +1,103 @@ PORTNAME= rrdtool DISTVERSION= 1.9.0 +PORTREVISION= 1 CATEGORIES= databases graphics MASTER_SITES= https://github.com/oetiker/rrdtool-1.x/releases/download/v${DISTVERSION}/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Round Robin Database Tools WWW= https://oss.oetiker.ch/rrdtool/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe gmake gnome libtool pathfix pkgconfig shebangfix CPE_VENDOR= rrdtool_project USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes USE_RC_SUBR= rrdcached SHEBANG_FILES= examples/rrdcached/rrdcached-size.pl examples/stripes.py GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-tcl CONFIGURE_ENV= RRDDOCDIR=${DOCSDIR:Q} INSTALL_TARGET= install-strip # Some symbols in the linker version script librrd.sym are undefined when the # CACHE option is off. Suppress errors with lld >= 17 due to these undefined # symbols. LDFLAGS+= -Wl,--undefined-version CONFLICTS= rrdtool12 PORTDOCS= * PORTEXAMPLES= cgi-demo.cgi OPTIONS_DEFINE= DEJAVU DOCS EXAMPLES GRAPH LOCKTIMEOUT MMAP NLS PERL \ PYTHON RUBY OPTIONS_DEFAULT= DEJAVU GRAPH MMAP PERL OPTIONS_SUB= yes DEJAVU_DESC= Use DejaVu fonts (requires X11) GRAPH_DESC= Enable the rrdtool graph command (needs cairo) LOCKTIMEOUT_DESC= Enable the patch for lock timeout MMAP_DESC= Use mmap in rrd_update PERL_DESC= Build PERL module PYTHON_DESC= Build PYTHON bindings RUBY_DESC= Build RUBY bindings DEJAVU_RUN_DEPENDS= dejavu>0:x11-fonts/dejavu DOCS_USES= groff DOCS_CONFIGURE_ENABLE= docs EXAMPLES_CONFIGURE_ENABLE= examples GRAPH_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libpng16.so:graphics/png GRAPH_USE= GNOME=cairo,pango GRAPH_CONFIGURE_OFF= --disable-rrd_graph \ --disable-rrdcgi LOCKTIMEOUT_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-locktimeout MMAP_CONFIGURE_ENABLE= mmap NLS_USES= gettext localbase NLS_USE= GNOME=intltool NLS_CONFIGURE_ENABLE= nls PERL_USES= perl5 PERL_CONFIGURE_ON= --enable-perl \ --enable-perl-site-install PERL_CONFIGURE_OFF= --disable-perl PERL_MAKE_ARGS= PERL_MAKE_OPTIONS='PREFIX="${PREFIX}" INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib"' PERL_PORTEXAMPLES= 4charts.pl bigtops.pl minmax.pl perftest.pl \ piped-demo.pl rrdcached/rrdcached-size.pl \ rrdcached/RRDCached.pm shared-demo.pl \ stripes.pl PYTHON_BUILD_DEPENDS= ${PY_SETUPTOOLS} PYTHON_USES= python PYTHON_USE= PYTHON=flavors,optsuffix PYTHON_CONFIGURE_ENABLE= python PYTHON_PORTEXAMPLES= stripes.py RUBY_USES= ruby RUBY_CONFIGURE_ENABLE= ruby post-extract: @${REINPLACE_CMD} -E 's|(^rrdtool_LDADD = librrd.la)|\1 $$\(ALL_LIBS\)|' \ ${WRKSRC}/src/Makefile.in post-install-EXAMPLES-on: .if !defined(BATCH) @${ECHO_MSG} "" @${ECHO_MSG} "############################################################################" @${ECHO_MSG} "# See ${EXAMPLESDIR} for some demonstration code #" @${ECHO_MSG} "############################################################################" .endif post-install-PERL-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/RRDs/RRDs.so post-install-PERL-off: ${RM} ${STAGEDIR}${EXAMPLESDIR}/*.pl ${RM} -r ${STAGEDIR}${EXAMPLESDIR}/rrdcached post-install-PYTHON-on: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/rrdtool*.so post-install-PYTHON-off: ${RM} ${STAGEDIR}${EXAMPLESDIR}/stripes.py post-install-RUBY-on: ${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}/RRD.so .include diff --git a/databases/spatialite-tools/Makefile b/databases/spatialite-tools/Makefile index d3347d655708..1fae531ad338 100644 --- a/databases/spatialite-tools/Makefile +++ b/databases/spatialite-tools/Makefile @@ -1,28 +1,28 @@ PORTNAME= spatialite-tools PORTVERSION= 5.0.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= databases geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Collection of CLI tools supporting SpatiaLite WWW= http://www.gaia-gis.it/fossil/spatialite-tools/index LICENSE= GPLv3 LIB_DEPENDS= libgeos_c.so:graphics/geos \ libproj.so:graphics/proj \ libfreexl.so:textproc/freexl \ libexpat.so:textproc/expat2 \ libspatialite.so:databases/spatialite \ libreadosm.so:astro/readosm GNU_CONFIGURE= yes USES= gmake gnome iconv minizip pkgconfig sqlite USE_GNOME= libxml2 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" .include diff --git a/databases/spatialite/Makefile b/databases/spatialite/Makefile index 842498ac355d..fc65877bdd56 100644 --- a/databases/spatialite/Makefile +++ b/databases/spatialite/Makefile @@ -1,35 +1,35 @@ PORTNAME= spatialite PORTVERSION= 5.1.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= databases geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/libspatialite-sources/ DISTNAME= lib${PORTNAME}-${PORTVERSION} MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Spatial Extensions for SQLite WWW= https://www.gaia-gis.it/gaia-sins/ LICENSE= GPLv2 # Only GPLv2 since we enable rttopo and gcp LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgeos_c.so:graphics/geos \ libproj.so:graphics/proj \ libfreexl.so:textproc/freexl \ librttopo.so:devel/librttopo GNU_CONFIGURE= yes USES= gmake gnome iconv libtool pathfix minizip pkgconfig sqlite USE_GNOME= libxml2 CFLAGS+= -I${WRKSRC}/src/headers -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} CONFIGURE_ARGS+= --enable-gcp=yes --enable-libxml2=yes --enable-rttopo=yes \ CFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" USE_LDCONFIG= yes INSTALL_TARGET=install-strip #post-patch: # @${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/configure .include diff --git a/databases/spatialite_gui/Makefile b/databases/spatialite_gui/Makefile index 6399298ca38b..bcad5147258d 100644 --- a/databases/spatialite_gui/Makefile +++ b/databases/spatialite_gui/Makefile @@ -1,37 +1,37 @@ PORTNAME= spatialite_gui DISTVERSION= 2.1.0 -PORTREVISION= 16 +PORTREVISION= 17 DISTVERSIONSUFFIX= -beta1 CATEGORIES= databases geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/ MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Graphical User Interface (GUI) tool supporting SpatiaLite WWW= https://www.gaia-gis.it/fossil/spatialite_gui/index LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= librasterlite2.so:graphics/librasterlite2 \ libfreexl.so:textproc/freexl \ libspatialite.so:databases/spatialite \ libxlsxwriter.so:math/libxlsxwriter \ libvirtualpg.so:databases/virtualpg \ librttopo.so:devel/librttopo \ libcurl.so:ftp/curl \ libminizip.so:archivers/minizip \ libproj.so:graphics/proj \ libgeos_c.so:graphics/geos USES= compiler:c++11-lang gmake gnome iconv localbase:ldflags \ pgsql pkgconfig sqlite USE_WX= 3.0 GNU_CONFIGURE= yes USE_GNOME= libxml2 CPPFLAGS+= `${WX_CONFIG} --cppflags` LDFLAGS+= ${ICONV_LIB} `${WX_CONFIG} --libs` -lsqlite3 CONFIGURE_ARGS= CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ --with-wxconfig=${WX_CONFIG} .include diff --git a/databases/sqliteodbc/Makefile b/databases/sqliteodbc/Makefile index f17414096a8f..78d65dc75416 100644 --- a/databases/sqliteodbc/Makefile +++ b/databases/sqliteodbc/Makefile @@ -1,42 +1,43 @@ PORTNAME= sqliteodbc PORTVERSION= 0.99991 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://www.ch-werner.de/sqliteodbc/ MAINTAINER?= ports@FreeBSD.org COMMENT?= ODBC driver for SQLite 3 WWW= http://www.ch-werner.de/sqliteodbc/ LICENSE= SQLITEODBC LICENSE_NAME= sqliteodbc own licensing terms (BSD style) LICENSE_FILE= ${WRKSRC}/license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libodbc.so:databases/unixODBC GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-sqlite4 USE_LDCONFIG= yes USES= cpe libtool CPE_VENDOR= sqliteodbc_project PLIST_SUB+= VER="${PORTVERSION}" .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-sqlite2" PLIST_SUB+= SQLITE2="" SQLITE3="@comment " USES+= sqlite:2 CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE} \ --with-sqlite3=/tmp .else PLIST_SUB+= SQLITE2="@comment " SQLITE3="" USES+= sqlite:3 CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE} \ --with-sqlite=/tmp LIB_DEPENDS+= libxml2.so:textproc/libxml2 .endif post-build: @${STRIP_CMD} ${WRKSRC}/.libs/libsqlite*${PORTVERSION}.so .include diff --git a/databases/xrootd/Makefile b/databases/xrootd/Makefile index d0e4124e86d7..852733b788d9 100644 --- a/databases/xrootd/Makefile +++ b/databases/xrootd/Makefile @@ -1,61 +1,62 @@ PORTNAME= xrootd DISTVERSION= 5.6.9 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= https://xrootd.slac.stanford.edu/download/v${DISTVERSION}/ PATCH_SITES= https://github.com/xrootd/xrootd/commit/ PATCHFILES= f9d573417e1abc263115a34fd5f95dca505379e5.patch:-p1 MAINTAINER= yuri@FreeBSD.org COMMENT= Framework for fast, low latency, scalable data access WWW= https://xrootd.slac.stanford.edu/index.html LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LGPL BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libcurl.so:ftp/curl \ libtinyxml.so:textproc/tinyxml \ libuuid.so:misc/e2fsprogs-libuuid TEST_DEPENDS= cppunit>0:devel/cppunit \ googletest>0:devel/googletest USES= cmake:testing compiler:c++14-lang cpe gnome localbase:ldflags pkgconfig readline shebangfix ssl SHEBANG_GLOB= *.sh SHEBANG_FILES= utils/cms_monPerf USE_GNOME= libxml2 USE_LDCONFIG= yes # options are defined in cmake/XRootDDefaults.cmake CMAKE_ON= FORCE_ENABLED CMAKE_OFF= ENABLE_PYTHON \ ENABLE_SCITOKENS \ ENABLE_FUSE CMAKE_TESTING_ON= ENABLE_TESTS CXXFLAGS+= -Ddirent64=dirent LDFLAGS+= -lexecinfo TESTING_UNSAFE= some tests hang on accept() OPTIONS_DEFINE= KERBEROS5 OPTIONS_GROUP= PLUGINS OPTIONS_GROUP_PLUGINS= MACAROONS XRDCLHTTP OPTIONS_DEFAULT= KERBEROS5 XRDCLHTTP # MACAROONS OPTIONS_SUB= yes KERBEROS5_CMAKE_BOOL= ENABLE_KRB5 KERBEROS5_BUILD_DEPENDS= ${LOCALBASE}/lib/libkrb5.so:security/krb5 KERBEROS5_RUN_DEPENDS= ${LOCALBASE}/lib/libkrb5.so:security/krb5 MACAROONS_DESC= Macaroons plugin MACAROONS_CMAKE_BOOL= ENABLE_MACAROONS MACAROONS_BROKEN= https://github.com/xrootd/xrootd/issues/2230 XRDCLHTTP_DESC= xrdcl-http plugin XRDCLHTTP_CMAKE_BOOL= ENABLE_XRDCLHTTP XRDCLHTTP_LIB_DEPENDS= libdavix.so:www/davix .include diff --git a/deskutils/alarm-clock-applet/Makefile b/deskutils/alarm-clock-applet/Makefile index 15f2016e6386..e0b9b8ab1701 100644 --- a/deskutils/alarm-clock-applet/Makefile +++ b/deskutils/alarm-clock-applet/Makefile @@ -1,32 +1,32 @@ PORTNAME= alarm-clock-applet PORTVERSION= 0.3.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= deskutils MASTER_SITES= http://launchpad.net/alarm-clock/trunk/0.3.4/+download/ MAINTAINER= iluxa@ex.ua COMMENT= Fully-featured alarm clock WWW= http://alarm-clock.pseudoberries.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libnotify.so:devel/libnotify \ libunique-1.0.so:x11-toolkits/unique \ libgstreamer-1.0.so:multimedia/gstreamer1 BUILD_DEPENDS= gnome-icon-theme>0:misc/gnome-icon-theme RUN_DEPENDS= gnome-icon-theme>0:misc/gnome-icon-theme GNU_CONFIGURE= yes USES= gettext-tools gmake gnome gstreamer pkgconfig USE_GNOME= cairo gconf2 gtk20 intltool GCONF_SCHEMAS= alarm-clock.schemas OPTIONS_DEFINE= NLS NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls .include diff --git a/deskutils/bijiben/Makefile b/deskutils/bijiben/Makefile index 22d58909aa63..0e6731e01253 100644 --- a/deskutils/bijiben/Makefile +++ b/deskutils/bijiben/Makefile @@ -1,34 +1,34 @@ PORTNAME= bijiben PORTVERSION= 40.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= deskutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Note editor designed to remain simple to use WWW= https://wiki.gnome.org/Apps/Bijiben LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libtinysparql-3.0.so:devel/tinysparql \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 \ libgoa-1.0.so:net/gnome-online-accounts \ libical.so:devel/libical \ libuuid.so:misc/e2fsprogs-libuuid \ libhandy-1.so:x11-toolkits/libhandy PORTSCOUT= limitw:1,even USES= compiler:c++11-lib desktop-file-utils gettext gnome \ localbase meson pkgconfig python:build \ shared-mime-info shebangfix tar:xz USE_LDCONFIG= yes USE_GNOME= cairo evolutiondataserver3 intltool SHEBANG_FILES= ${WRKSRC}/build-aux/meson_post_install.py GLIB_SCHEMAS= org.gnome.Notes.gschema.xml .include diff --git a/deskutils/bookworm/Makefile b/deskutils/bookworm/Makefile index 9b29df8ce134..3baecdaf8e85 100644 --- a/deskutils/bookworm/Makefile +++ b/deskutils/bookworm/Makefile @@ -1,61 +1,61 @@ PORTNAME= bookworm DISTVERSION= 1.1.2 -PORTREVISION= 24 +PORTREVISION= 25 CATEGORIES= deskutils MAINTAINER= miguel@gocobachi.dev COMMENT= Simple, focused ebook reader WWW= https://babluboy.github.io/bookworm/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= curl>0:ftp/curl \ html2text>0:textproc/html2text LIB_DEPENDS= libappstream-glib.so:devel/appstream-glib \ libgee-0.8.so:devel/libgee \ libgranite.so:x11-toolkits/granite \ libpoppler-glib.so:graphics/poppler-glib \ libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 RUN_DEPENDS= bash:shells/bash \ pdftohtml:graphics/poppler-utils \ unar:archivers/unarchiver \ unzip:archivers/unzip USES= desktop-file-utils gettext gnome meson pkgconfig \ python shebangfix sqlite vala:build USE_GITHUB= yes GH_ACCOUNT= babluboy USE_GNOME= gdkpixbuf glib20 gtk30 libxml2 pango GLIB_SCHEMAS= com.github.babluboy.bookworm.gschema.xml SHEBANG_FILES= data/scripts/com.github.babluboy.bookworm.search.sh \ data/scripts/mobi_lib/mobi_dict.py \ data/scripts/mobi_lib/mobi_html.py \ data/scripts/mobi_lib/mobi_index.py \ data/scripts/mobi_lib/mobi_k8proc.py \ data/scripts/mobi_lib/mobi_ncx.py \ data/scripts/mobi_lib/mobi_opf.py \ data/scripts/mobi_lib/mobi_split.py \ data/scripts/mobi_lib/mobi_uncompress.py \ data/scripts/mobi_lib/mobi_unpack.py \ data/scripts/mobi_lib/mobi_utils.py MESON_BUILD_DIR= build PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-configure: @${MKDIR} ${WRKSRC}/${MESON_BUILD_DIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} do-test: cd ${WRKSRC}/${MESON_BUILD_DIR} && ${LOCALBASE}/bin/ninja test .include diff --git a/deskutils/cairo-dock-plugins/Makefile b/deskutils/cairo-dock-plugins/Makefile index a54c3b67a38b..c48ec46cc6e5 100644 --- a/deskutils/cairo-dock-plugins/Makefile +++ b/deskutils/cairo-dock-plugins/Makefile @@ -1,111 +1,112 @@ PORTNAME= cairo-dock-plugins DISTVERSION= 3.5.2 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= nxjoseph@protonmail.com COMMENT= Cairo-Dock-Plugins for Cairo-Dock WWW= https://www.glx-dock.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libdbusmenu-glib.so:devel/libdbusmenu \ libdbusmenu-gtk3.so:devel/libdbusmenu \ libgldi.so:deskutils/cairo-dock \ libharfbuzz.so:print/harfbuzz \ libwayland-client.so:graphics/wayland RUN_DEPENDS= wget:ftp/wget USES= cmake gettext-tools gl gnome localbase:ldflags pkgconfig python \ ssl xorg USE_GITHUB= yes GH_ACCOUNT= Cairo-Dock GH_PROJECT= cairo-dock-plug-ins USE_GL= gl glu opengl USE_GNOME= cairo glib20 gtk30 librsvg2 libxml2 vte3 USE_XORG= x11 xcomposite xrandr xrender xtst CMAKE_ARGS= -Denable-mono-interface:BOOL=FALSE \ -Denable-python-interface:BOOL=FALSE \ -Denable-ruby-interface:BOOL=FALSE \ -Denable-vala-interface:BOOL=FALSE \ -Denable-weblets:BOOL=FALSE \ -DROOT_PREFIX:PATH=${STAGEDIR} DATADIR= ${PREFIX}/share/cairo-dock OPTIONS_DEFAULT= GMENU OPTIONS_GROUP= ADDON INTEGR PLUGINS OPTIONS_GROUP_ADDON= EXIF ICAL UPOWER OPTIONS_GROUP_INTEGR= GNOME_INTEGRATION XFCE_INTEGRATION OPTIONS_GROUP_PLUGINS= ALSA_MIXER GMENU IMPULSE KEYBOARD_INDICATOR MAIL \ SOUND_EFFECTS XGAMMA ZEITGEIST OPTIONS_SUB= yes ADDON_DESC= Add On ALSA_MIXER_DESC= Alsa-Mixer applet EXIF_DESC= Read file meta-data GMENU_DESC= GMenu applet GNOME_INTEGRATION_DESC= GNOME integration support ICAL_DESC= IETF Calendaring and Scheduling protocols IMPULSE_DESC= Impulse applet INTEGR_DESC= Integration plug-ins KEYBOARD_INDICATOR_DESC= Keyboard-indicator applet MAIL_DESC= Mail applet PLUGINS_DESC= Plug-ins SOUND_EFFECTS_DESC= Sound Effects applet UPOWER_DESC= D-Bus daemon for power management tasks XFCE_INTEGRATION_DESC= XFCE integration support XGAMMA_DESC= Xgamma applet ZEITGEIST_DESC= User logs activities ALSA_MIXER_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MIXER_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_MIXER_CMAKE_BOOL= enable-alsa-mixer EXIF_LIB_DEPENDS= libexif.so:graphics/libexif EXIF_CMAKE_BOOL= enable-exif-support GMENU_LIB_DEPENDS= libgnome-menu-3.so:x11/gnome-menus GMENU_CMAKE_BOOL= enable-gmenu GNOME_INTEGRATION_CMAKE_BOOL= enable-gnome-integration ICAL_LIB_DEPENDS= libical.so:devel/libical ICAL_CMAKE_BOOL= enable-ical-support IMPULSE_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libpulse.so:audio/pulseaudio IMPULSE_CMAKE_BOOL= enable-impulse KEYBOARD_INDICATOR_LIB_DEPENDS= libexif.so:graphics/libexif \ libxklavier.so:x11/libxklavier KEYBOARD_INDICATOR_CMAKE_BOOL= enable-keyboard-indicator MAIL_BUILD_DEPENDS= libetpan>=1.9.4:mail/libetpan MAIL_LIB_DEPENDS= libetpan.so:mail/libetpan MAIL_CMAKE_BOOL= enable-mail SOUND_EFFECTS_LIB_DEPENDS= libasound.so:audio/alsa-lib SOUND_EFFECTS_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins SOUND_EFFECTS_CMAKE_BOOL= enable-sound-effects UPOWER_LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit \ libupower-glib.so:sysutils/upower UPOWER_CMAKE_BOOL= enable-upower-support XFCE_INTEGRATION_LIB_DEPENDS= libexif.so:graphics/libexif XFCE_INTEGRATION_CMAKE_BOOL= enable-xfce-integration XGAMMA_LIB_DEPENDS= libXxf86vm.so:x11/libXxf86vm XGAMMA_RUN_DEPENDS= xgamma:x11/xgamma XGAMMA_CMAKE_BOOL= enable-xgamma ZEITGEIST_LIB_DEPENDS= libzeitgeist-2.0.so:sysutils/zeitgeist ZEITGEIST_CMAKE_BOOL= enable-recent-events .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/env python3|${PYTHON_CMD}|g' \ ${WRKSRC}/Dbus/data/cairo-dock-launcher-API-daemon.py @${FIND} ${WRKSRC} -type f \( -name "*.c" -o -name "*.conf" -o -name netspeed \ -o -name nvidia-config -o -name "*.sh" -o -name "*.rb" \) | \ ${XARGS} ${REINPLACE_CMD} -i.orig -e 's|/bin/bash|${LOCALBASE}/bin/bash|g; s|/usr/bin/python|${PYTHON_CMD}|g; s|/usr/bin/ruby|${LOCALBASE}/bin/ruby|g; s|/usr/share/applications|${LOCALBASE}/share/applications|g; s|/usr/share/cairo-dock|${LOCALBASE}/share/cairo-dock|g' .include diff --git a/deskutils/cairo-dock/Makefile b/deskutils/cairo-dock/Makefile index 44563ca4e7ab..302b1a5202cc 100644 --- a/deskutils/cairo-dock/Makefile +++ b/deskutils/cairo-dock/Makefile @@ -1,73 +1,74 @@ PORTNAME= cairo-dock DISTVERSION= 3.5.2 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= nxjoseph@protonmail.com COMMENT= Lightweight and eye-candy dock (program launcher) WWW= https://www.glx-dock.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= bash:shells/bash \ compiz:x11-wm/compiz \ sox:audio/sox USES= cmake gettext-tools gl gnome localbase:ldflags pathfix \ pkgconfig shebangfix USE_GITHUB= yes GH_ACCOUNT= Cairo-Dock GH_PROJECT= ${PORTNAME}-core USE_GL= glu USE_GNOME= cairo glib20 gtk30 librsvg2 libxml2 USE_LDCONFIG= yes SHEBANG_FILES= data/scripts/cairo-dock-package-theme.sh \ data/scripts/help_scripts.sh data/scripts/initial-setup.sh LDFLAGS+= -lm OPTIONS_DEFINE= WAYLAND X11 OPTIONS_DEFAULT= EGL WAYLAND X11 OPTIONS_RADIO= GL OPTIONS_RADIO_GL= EGL GLX EGL_DESC= ${GLX_DESC:S/X11/Native/} EGL_USE= GL=egl EGL_CMAKE_BOOL= enable-egl-support GLX_IMPLIES= X11 GLX_USE= GL=gl WAYLAND_IMPLIES= EGL WAYLAND_CATEGORIES= wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_USE= GL=egl WAYLAND_CMAKE_BOOL= enable-wayland-support X11_USES= xorg X11_USE= XORG=x11,xcomposite,xinerama,xrandr,xrender,xtst X11_CMAKE_BOOL= enable-x11-support post-patch: @${REINPLACE_CMD} -e 's|/usr/share/pixmaps|${LOCALBASE}/share/pixmaps|g' \ ${WRKSRC}/data/cairo-dock \ ${WRKSRC}/src/gldit/cairo-dock-gui-factory.c @${REINPLACE_CMD} -e 's|/usr/share/icons|${LOCALBASE}/share/icons|g' \ ${WRKSRC}/src/gldit/cairo-dock-gui-factory.c \ ${WRKSRC}/src/cairo-dock-user-menu.c @${REINPLACE_CMD} -e 's|/usr/share/applications|${LOCALBASE}/share/applications|g' \ ${WRKSRC}/src/gldit/cairo-dock-class-manager.c @${FIND} ${WRKSRC} -type f -name "*.desktop" ! -exec ${GREP} -q "${SHAREDIR}/applications" \ {} \; | \ ${XARGS} ${REINPLACE_CMD} -e 's|/usr/share/applications|${LOCALBASE}/share/applications|g' @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g' \ ${WRKSRC}/data/desktop-manager/cairo-dock-session @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g' \ ${WRKSRC}/data/cairo-dock post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgldi.so .include diff --git a/deskutils/cherrytree/Makefile b/deskutils/cherrytree/Makefile index e9570922e56b..87bd67487166 100644 --- a/deskutils/cherrytree/Makefile +++ b/deskutils/cherrytree/Makefile @@ -1,46 +1,46 @@ PORTNAME= cherrytree PORTVERSION= 1.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils MASTER_SITES= https://www.giuspen.com/software/ \ https://github.com/giuspen/cherrytree/releases/download/v${PORTVERSION}/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Advanced hierarchical note-taking application WWW= https://www.giuspen.com/cherrytree/ LICENSE= GPLv3+ LIB_DEPENDS= libcurl.so:ftp/curl \ libenchant-2.so:textproc/enchant2 \ libfmt.so:devel/libfmt \ libfribidi.so:converters/fribidi \ libgspell-1.so:textproc/gspell \ libharfbuzz.so:print/harfbuzz \ libspdlog.so:devel/spdlog \ libuchardet.so:textproc/uchardet USES= cmake compiler:c++17-lang desktop-file-utils gnome \ pkgconfig python:build sqlite tar:xz USE_GNOME= gtkmm30 gtksourceview4 libxml++26 CMAKE_ARGS= -DPYTHON_EXEC:FILEPATH=${PYTHON_CMD} \ -DBUILD_TESTING:BOOL=OFF OPTIONS_DEFINE= DOCS NLS VTE OPTIONS_SUB= yes NLS_USES= gettext-tools NLS_CMAKE_OFF= -DUSE_NLS:BOOL=OFF VTE_DESC= Virtual terminal support VTE_USE= GNOME=vte3 VTE_CMAKE_OFF= -DUSE_VTE:BOOL=OFF post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/changelog.txt ${WRKSRC}/docs/* \ ${STAGEDIR}${DOCSDIR} .include diff --git a/deskutils/glabels/Makefile b/deskutils/glabels/Makefile index 221d514bd720..7b534a1f1c34 100644 --- a/deskutils/glabels/Makefile +++ b/deskutils/glabels/Makefile @@ -1,31 +1,31 @@ PORTNAME= glabels PORTVERSION= 3.4.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= deskutils MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Program to create labels and business cards WWW= http://snaught.com/glabels/ BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup USES= desktop-file-utils gettext gmake gnome libtool pathfix \ pkgconfig shared-mime-info tar:xz USE_GNOME= cairo gdkpixbuf gtk30 intltool librsvg2 INSTALL_TARGET= install-strip USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share GLIB_SCHEMAS= org.gnome.glabels-3.gschema.xml OPTIONS_DEFINE= EVOLUTION EVOLUTION_DESC= Support evolution data server EVOLUTION_USE= GNOME=evolutiondataserver3 EVOLUTION_CONFIGURE_WITH= libebook .include diff --git a/deskutils/gnome-maps/Makefile b/deskutils/gnome-maps/Makefile index 5202df1c1117..222dd87ac143 100644 --- a/deskutils/gnome-maps/Makefile +++ b/deskutils/gnome-maps/Makefile @@ -1,33 +1,34 @@ PORTNAME= gnome-maps DISTVERSION= 47.7 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Map application for GNOME WWW= https://apps.gnome.org/Maps/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= geoclue>=0:net/geoclue LIB_DEPENDS= libgeocode-glib-2.so:net/geocode-glib2 \ libgjs.so:lang/gjs \ libgweather-4.so:net/libgweather4 \ librest-1.0.so:net/librest1 \ libshumate-1.0.so:x11-toolkits/libshumate \ libsoup-3.0.so:devel/libsoup3 \ libportal.so:deskutils/libportal \ libportal-gtk4.so:deskutils/libportal-gtk4 \ libjson-glib-1.0.so:devel/json-glib RUN_DEPENDS= geoclue>=0:net/geoclue USES= desktop-file-utils gettext gnome meson pkgconfig tar:xz USE_GNOME= cairo glib20 gtk40 introspection:build libadwaita \ libxml2 librsvg2 USE_LDCONFIG= yes GLIB_SCHEMAS= org.gnome.Maps.gschema.xml .include diff --git a/deskutils/gnome-planner/Makefile b/deskutils/gnome-planner/Makefile index af1245ad5d8f..5f992f371e89 100644 --- a/deskutils/gnome-planner/Makefile +++ b/deskutils/gnome-planner/Makefile @@ -1,40 +1,40 @@ PORTNAME= gnome-planner PORTVERSION= 0.14.6.20220531 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= deskutils gnome DIST_SUBDIR= gnome MAINTAINER= rodrigo@FreeBSD.org COMMENT= Project management tool based on the Work breakdown structure WWW= https://wiki.gnome.org/Apps/Planner LICENSE= GPLv3 BUILD_DEPENDS= appstream-util:devel/appstream-glib \ itstool>0:textproc/itstool LIB_DEPENDS= libgoa-1.0.so:net/gnome-online-accounts \ libgraphene-1.0.so:graphics/graphene \ libical.so:devel/libical \ libpeas-1.0.so:devel/libpeas1 \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ libgda-5.0.so:databases/libgda5 USES= desktop-file-utils gettext pathfix \ shared-mime-info tar:xz meson pkgconfig USE_GNOME= gnomeprefix intlhack libgnomeui libgnomeprintui \ libgsf USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World GL_PROJECT= planner GL_TAGNAME= 88e86815960a9f66e6f512d4d38d5119ffee3b90 USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include -DGLIB_COMPILATION LIBS+= -L${LOCALBASE}/lib GLIB_SCHEMAS= planner.gschema .include diff --git a/deskutils/gnome-shell-extension-manager/Makefile b/deskutils/gnome-shell-extension-manager/Makefile index accaf57cb62d..b031040ba7a9 100644 --- a/deskutils/gnome-shell-extension-manager/Makefile +++ b/deskutils/gnome-shell-extension-manager/Makefile @@ -1,39 +1,40 @@ PORTNAME= extension-manager DISTVERSIONPREFIX= v DISTVERSION= 0.6.3 +PORTREVISION= 1 CATEGORIES= deskutils gnome PKGNAMEPREFIX= gnome-shell- MAINTAINER= tagattie@FreeBSD.org COMMENT= Browse, install, and manage GNOME extensions with ease WWW= https://mattjakeman.com/apps/extension-manager LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= appstreamcli:devel/appstream \ blueprint-compiler:devel/blueprint-compiler LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libbacktrace.so:devel/libbacktrace \ libsoup-3.0.so:devel/libsoup3 \ libxml2.so:textproc/libxml2 RUN_DEPENDS= ${LOCALBASE}/bin/unzip:archivers/unzip USES= desktop-file-utils gettext-tools gnome localbase:ldflags meson \ pkgconfig USE_GITHUB= yes GH_ACCOUNT= mjakeman USE_GNOME= glib20 gtk40 libadwaita GLIB_SCHEMAS= com.mattjakeman.ExtensionManager.gschema.xml PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/deskutils/gnote/Makefile b/deskutils/gnote/Makefile index 655d09461513..e429ea0dab78 100644 --- a/deskutils/gnote/Makefile +++ b/deskutils/gnote/Makefile @@ -1,30 +1,31 @@ PORTNAME= gnote PORTVERSION= 47.2 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= C++ version of Tomboy, note taking application WWW= https://gitlab.gnome.org/GNOME/gnote LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libsecret-1.so:security/libsecret \ libuuid.so:misc/e2fsprogs-libuuid PORTSCOUT= limit:^47\. USES= compiler:c++17-lang desktop-file-utils gettext gnome localbase \ meson pkgconfig python:build tar:xz USE_GNOME= glib20 gtkmm40 libadwaita libxml2 libxslt USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_VERSION} GLIB_SCHEMAS= org.gnome.gnote.gschema.xml PLIST_SUB= VERSION=${PORTVERSION:R} .include diff --git a/deskutils/gnotime/Makefile b/deskutils/gnotime/Makefile index 43a0cace6aa8..ff6e405408e3 100644 --- a/deskutils/gnotime/Makefile +++ b/deskutils/gnotime/Makefile @@ -1,48 +1,48 @@ PORTNAME= gnotime DISTVERSION= g20231022 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= deskutils gnome MAINTAINER= truckman@FreeBSD.org COMMENT= Time tracker for GTK 3/WebkitGTK WWW= https://github.com/GnoTime/gnotime LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive \ scrollkeeper-config:textproc/rarian LIB_DEPENDS= libqof.so:databases/qof \ libgc-threaded.so:devel/boehm-gc-threaded \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libsoup-2.4.so:devel/libsoup \ libguile-2.2.so:lang/guile2 \ libharfbuzz.so:print/harfbuzz \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 USES= autoreconf desktop-file-utils gettext gmake gnome libtool pathfix pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= GnoTime GH_PROJECT= gnotime GH_TAGNAME= ee0ddbcb8945fc6b11a49b107b738e3c934357a1 USE_XORG= sm ice xscrnsaver x11 USE_GNOME= cairo gconf2 gdkpixbuf glib20 gtk30 libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip INSTALLS_OMF= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= gnotime.schemas #post-patch: # @${REINPLACE_CMD} -e \ # '/^install-data-am/s|install-data-local||' \ # ${WRKSRC}/gconf/Makefile.in # @${REINPLACE_CMD} -e \ # '/^AM_CFLAGS =/s|-g||' ${WRKSRC}/src/Makefile.in .include diff --git a/deskutils/growl-for-linux/Makefile b/deskutils/growl-for-linux/Makefile index 176e17033660..a4dee9fb60e3 100644 --- a/deskutils/growl-for-linux/Makefile +++ b/deskutils/growl-for-linux/Makefile @@ -1,50 +1,50 @@ PORTNAME= growl-for-linux PORTVERSION= 0.8.5 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= deskutils MAINTAINER= nivit@FreeBSD.org COMMENT= Notification system compatible with Growl WWW= http://mattn.github.com/growl-for-linux/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= desktop-file-install:devel/desktop-file-utils LIB_DEPENDS= libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 CONFIGURE_ARGS= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" GH_ACCOUNT= mattn GNU_CONFIGURE= yes INSTALL_TARGET= install-strip LIBNOTIFY_DESC= Use notify-osd for libnotify display plugin LIBNOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify LIBNOTIFY_RUN_DEPENDS= notify-osd>=0.9.29_3:deskutils/notify-osd OPTIONS_DEFAULT=LIBNOTIFY OPTIONS_DEFINE= LIBNOTIFY PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,} USES= autoreconf compiler:nestedfct gnome libtool pkgconfig sqlite:3 \ ssl USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf gtk20 libxml2 USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}/display \ ${PREFIX}/lib/${PORTNAME}/subscribe post-patch: @${REINPLACE_CMD} '/^gol_LDADD =/s/$$/ -lgmodule-2.0/' \ ${WRKSRC}/Makefile.am post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/libgolplug.a .include diff --git a/deskutils/mate-notification-daemon/Makefile b/deskutils/mate-notification-daemon/Makefile index 020fcbcfc0c6..1885ec5c316e 100644 --- a/deskutils/mate-notification-daemon/Makefile +++ b/deskutils/mate-notification-daemon/Makefile @@ -1,38 +1,38 @@ PORTNAME= mate-notification-daemon PORTVERSION= 1.28.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Send small notifications to your desktop WWW= https://mate-desktop.org/ LICENSE= GPLv2+ GPLv3+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libmate-desktop-2.so:x11/mate-desktop \ libmate-panel-applet-4.so:x11/mate-panel \ libnotify.so:devel/libnotify PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz \ xorg USE_XORG= x11 USE_GNOME= cairo glib20 gtk30 intlhack librsvg2 libwnck3 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-static \ --with-dbus-services=${PREFIX}/share/dbus-1/services INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.NotificationDaemon.gschema.xml .include diff --git a/deskutils/pinot/Makefile b/deskutils/pinot/Makefile index ce1037427066..619fcdcd8c97 100644 --- a/deskutils/pinot/Makefile +++ b/deskutils/pinot/Makefile @@ -1,91 +1,91 @@ PORTNAME= pinot PORTVERSION= 1.22 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= deskutils MAINTAINER= thierry@FreeBSD.org COMMENT= Personal search and metasearch for the Free Desktop WWW= https://github.com/FabriceColin/pinot/ LICENSE= GPLv2 BUILD_DEPENDS= desktop-file-install:devel/desktop-file-utils \ update-mime-database:misc/shared-mime-info LIB_DEPENDS= libxapian.so:databases/xapian-core \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libexttextcat-2.0.so:textproc/libexttextcat \ libdbus-1.so:devel/dbus \ libxml++-3.0.so:textproc/libxml++30 \ libboost_thread.so:devel/boost-libs \ libharfbuzz.so:print/harfbuzz \ libnotify.so:devel/libnotify \ libexif.so:graphics/libexif \ libexiv2.so:graphics/exiv2 \ libgmime-2.6.so:mail/gmime26 \ libtag.so:audio/taglib \ libcurl.so:ftp/curl RUN_DEPENDS= update-mime-database:misc/shared-mime-info \ antiword:textproc/antiword \ xdg-open:devel/xdg-utils \ catppt:textproc/catdoc \ unrtf:textproc/unrtf \ catdvi:print/catdvi \ bash:shells/bash \ ${LOCALBASE}/libexec/xpdf/pdftotext:graphics/xpdf USE_GITHUB= yes GH_ACCOUNT= FabriceColin USES= compiler:c++11-lang autoreconf gettext gnome libarchive \ libtool pkgconfig python shebangfix sqlite:3 ssl xorg USE_CXXSTD= c++11 USE_XORG= pixman USE_GNOME= atkmm cairo cairomm gdkpixbuf glibmm gtk30 gtkmm30 \ libsigc++20 libxml2 pangomm USE_LDCONFIG= ${PREFIX}/lib/pinot/backends ${PREFIX}/lib/pinot/filters SHEBANG_FILES= scripts/bash/*.sh GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-http=curl --with-ssl=${OPENSSLBASE} --enable-libarchive \ --enable-mempool=no --enable-libnotify CONFIGURE_ENV= MKDIR_P="${MKDIR}" TEXTCAT_LIBS="-lexttextcat-2.0" CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lboost_system OPTIONS_DEFINE= DEBUG CHMLIB DOCS OPTIONS_SUB= yes DEBUG_CONFIGURE_ON= --enable-debug=yes CHMLIB_DESC= Support of Microsoft ITSS/CHM files CHMLIB_CONFIGURE_ON= --enable-chmlib=yes CHMLIB_CONFIGURE_OFF= --disable-chmlib CHMLIB_LIB_DEPENDS= libchm.so:misc/chmlib INSTALL_TARGET= install-strip DOCS= AUTHORS ChangeLog ChangeLog-dijon INSTALL NEWS README TODO LM2FIX= Core/pinot-index.cpp Core/pinot-index.1 Makefile.am \ textcat31_conf.txt aclocal.m4 textcat3_conf.txt \ textcat_conf.txt textcat32_conf.txt SHR2FIX= Core/pinot-search.1 UL2FIX= Utils/xdgmime/xdgmime.c pre-configure: ${REINPLACE_CMD} -e \ '//s|pdftotext|${LOCALBASE}/libexec/xpdf/pdftotext|' \ ${WRKSRC}/Tokenize/filters/external-filters.xml ${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \ ${LM2FIX:S|^|${WRKSRC}/|} ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${SHR2FIX:S|^|${WRKSRC}/|} post-install: ${TOUCH} ${STAGEDIR}${DATADIR}/stopwords/.empty_file post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/deskutils/recoll/Makefile b/deskutils/recoll/Makefile index 86e1f1ccb305..2200bcd040e6 100644 --- a/deskutils/recoll/Makefile +++ b/deskutils/recoll/Makefile @@ -1,90 +1,90 @@ PORTNAME= recoll PORTVERSION= 1.33.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= deskutils MASTER_SITES= ${WWW} MAINTAINER= danfe@FreeBSD.org COMMENT= Personal full-text search package, based on Xapian WWW= https://www.recoll.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PY_SETUPTOOLS} LIB_DEPENDS= libxapian.so:databases/xapian-core RUN_DEPENDS= antiword:textproc/antiword \ catdoc:textproc/catdoc \ unrar:archivers/unrar \ unrtf:textproc/unrtf \ wpd2html:textproc/libwpd010 USES= bison compiler:c++11-lang gmake gnome iconv libtool localbase \ pkgconfig python shebangfix USE_GNOME= libxslt USE_LDCONFIG= yes USE_PYTHON= py3kplist SHEBANG_FILES= desktop/hotrecoll.py filters/*.py filters/rclimg GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-recollq --enable-xadump MAKE_ENV= PYTHON_CMD=${PYTHON_CMD} BINARY_ALIAS= python2=${FALSE} python3=${PYTHON_CMD} PYDISTUTILS_PKGNAME= Recoll PYDISTUTILS_PKGVERSION= 1.0 PLIST_SUB= PYDISTUTILS_EGGINFO="${PYDISTUTILS_EGGINFO}" \ VERSION="${PORTVERSION}" OPTIONS_DEFINE= ASPELL CHM DJVU IMAGE LATEX PDF PS QT5 SOUND X11MON OPTIONS_DEFAULT= ASPELL CHM IMAGE PDF PS QT5 SOUND X11MON OPTIONS_SUB= yes ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell ASPELL_CONFIGURE_OFF= --without-aspell CHM_DESC= Python bindings for Microsoft ITSS/CHM format CHM_LIB_DEPENDS= libchm.so:misc/chmlib CHM_CONFIGURE_OFF= --disable-python-chm DJVU_RUN_DEPENDS= djvutxt:graphics/djvulibre IMAGE_DESC= Store personal tags or textual descriptions in images IMAGE_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool LATEX_USES= tex LATEX_USE= TEX=dvipsk:run,latex:run PDF_RUN_DEPENDS= pdftotext:graphics/poppler-utils PS_RUN_DEPENDS= pstotext:print/pstotext QT5_USES= gl qt:5 QT5_USE= GL=gl QT=buildtools:build,qmake:build \ QT=core,gui,printsupport,widgets,xml QT5_CONFIGURE_ENV= QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}" \ QTDIR="${PREFIX}" QT5_CONFIGURE_ON= --disable-webkit QT5_CONFIGURE_OFF= --disable-qtgui SOUND_RUN_DEPENDS= mutagen-pony-${PYTHON_VER}:audio/py-mutagen@${PY_FLAVOR} X11MON_DESC= X11 session monitoring support X11MON_USES= fam xorg X11MON_USE= XORG=ice,sm,x11 X11MON_CONFIGURE_OFF= --disable-x11mon X11MON_CONFIGURE_ON= --with-fam post-patch: @${REINPLACE_CMD} -e 's|@QMAKE@|${TRUE}|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|/usr/local/lib|${LOCALBASE}/lib|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|override const|const override|' \ ${WRKSRC}/index/rclmonrcv.cpp pre-build-QT5-on: @cd ${WRKSRC}/qtgui && \ ${SETENV} ${QMAKE_ENV} ${QMAKE} ${QMAKE_ARGS} recoll.pro post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/recoll/*.so \ ${STAGEDIR}${PREFIX}/lib/recoll/*.so # Remove systemd unit files (useless on FreeBSD) @${RM} ${STAGEDIR}${DATADIR}/examples/recollindex*.service post-install-CHM-on: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/recollchm/*.so .include diff --git a/deskutils/subsurface/Makefile b/deskutils/subsurface/Makefile index 1f9ca9b68092..3b261e3eef78 100644 --- a/deskutils/subsurface/Makefile +++ b/deskutils/subsurface/Makefile @@ -1,55 +1,55 @@ PORTNAME= subsurface DISTVERSIONPREFIX=v DISTVERSION= 5.0.10 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= deskutils MAINTAINER= romain@FreeBSD.org COMMENT= Manage and display dive computer data WWW= https://subsurface-divelog.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libdivecomputer.so:comms/libdc \ libzip.so:archivers/libzip \ libgit2.so:devel/libgit2 \ libcurl.so:ftp/curl \ libssh2.so:security/libssh2 USES= cmake:noninja desktop-file-utils gl gmake pkgconfig qt:5 gnome \ qmake:no_configure sqlite ssl USE_GITHUB= yes USE_GL= gl GH_TUPLE= subsurface:googlemaps:7ce7124b385b2ebac0f72c38b094f436d4fe5c58:subsurface/googlemaps USE_GNOME= libxml2 libxslt USE_QT= buildtools:build concurrent connectivity core declarative \ declarative-test:build gui linguisttools:build location network \ quickcontrols2 svg testlib:build widgets # Disable the built-in user manual and printing support which require qt5-webkit CMAKE_ON= NO_PRINTING \ NO_USERMANUAL MAKE_ENV+= DESTDIR=${STAGEDIR} pre-configure: (cd ${WRKSRC}/googlemaps && ${QMAKE}) pre-build: (cd ${WRKSRC}/googlemaps && ${MAKE}) pre-install: (cd ${WRKSRC}/googlemaps && ${SETENV} INSTALL_ROOT=${STAGEDIR} make install) post-build: ${MV} ${WRKSRC}/Documentation/user-manual.html.git ${BUILD_WRKSRC}/Documentation/user-manual.html dxo-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/subsurface ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/subsurface.desktop ${STAGEDIR}${PREFIX}/share/applications ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/icons/subsurface-icon.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "Documentation theme printing_templates translations" ${STAGEDIR}${DATADIR}) .include diff --git a/deskutils/synapse/Makefile b/deskutils/synapse/Makefile index ee7a5d95ac8b..5d829f280313 100644 --- a/deskutils/synapse/Makefile +++ b/deskutils/synapse/Makefile @@ -1,36 +1,36 @@ PORTNAME= synapse DISTVERSION= 0.2.99.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= deskutils MASTER_SITES= https://launchpadlibrarian.net/363823069/ MAINTAINER= danilo@FreeBSD.org COMMENT= Semantic application launcher written in Vala WWW= https://launchpad.net/synapse-project LICENSE= GPLv2 LGPL21 GPLv3 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL2 LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL2.1 LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LIB_DEPENDS= libzeitgeist-2.0.so:sysutils/zeitgeist \ libgee-0.8.so:devel/libgee \ libjson-glib-1.0.so:devel/json-glib \ libkeybinder-3.0.so:x11/keybinder-gtk3 \ libnotify.so:devel/libnotify \ librest-0.7.so:devel/librest \ libsoup-2.4.so:devel/libsoup USES= gettext-tools gmake gnome pkgconfig tar:xz vala:build xorg GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GNOME= cairo gdkpixbuf glib20 gtk30 libxml2 pango USE_XORG= x11 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_OFF= --disable-nls .include diff --git a/deskutils/xfce4-tumbler/Makefile b/deskutils/xfce4-tumbler/Makefile index 43afeffcfbef..a709d70eda13 100644 --- a/deskutils/xfce4-tumbler/Makefile +++ b/deskutils/xfce4-tumbler/Makefile @@ -1,72 +1,72 @@ PORTNAME= tumbler PORTVERSION= 4.20.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= deskutils xfce MASTER_SITES= XFCE PKGNAMEPREFIX= xfce4- DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Thumbnail service for Xfce desktop WWW= https://git.xfce.org/xfce/tumbler/ LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LIB_DEPENDS= libpng16.so:graphics/png USES= compiler:c11 gettext-tools gmake gnome libtool \ localbase:ldflags pathfix pkgconfig tar:bzip2 xfce USE_GNOME= cairo gdkpixbuf glib20 libgsf USE_LDCONFIG= yes USE_XFCE= libutil GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk-doc-html \ --enable-pixbuf-thumbnailer \ --enable-xdg-cache \ --without-html-dir INSTALL_TARGET= install-strip PORTSCOUT= limitw:1,even SUB_FILES= pkg-message OPTIONS_DEFINE= COVER EPUB FFMPEG FONTS GSTREAMER JPEG NLS ODF POPPLER OPTIONS_DEFAULT= EPUB FONTS GSTREAMER JPEG ODF POPPLER OPTIONS_SUB= yes COVER_DESC= Open Movie Database plugin (check pkg-message) EPUB_DESC= EPUB thumbnailer plugin FONTS_DESC= Fonts thumbnailer plugin GSTREAMER_DESC= GStreamer thumbnailer plugin COVER_LIB_DEPENDS= libcurl.so:ftp/curl COVER_CONFIGURE_ENABLE= cover-thumbnailer EPUB_LIB_DEPENDS= libgepub-0.7.so:textproc/libgepub EPUB_CONFIGURE_ENABLE= gepub-thumbnailer FFMPEG_LIB_DEPENDS= libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer FFMPEG_CONFIGURE_ENABLE= ffmpeg-thumbnailer FONTS_LIB_DEPENDS= libfreetype.so:print/freetype2 FONTS_CONFIGURE_ENABLE= font-thumbnailer GSTREAMER_USES= gstreamer GSTREAMER_CONFIGURE_ENABLE= gstreamer-thumbnailer JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpeg-thumbnailer NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls ODF_USE= GNOME=libgsf ODF_CONFIGURE_ENABLE= odf-thumbnailer POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_CONFIGURE_ENABLE= poppler-thumbnailer .include diff --git a/devel/aegis/Makefile b/devel/aegis/Makefile index d732f87a015d..543ed3295bd4 100644 --- a/devel/aegis/Makefile +++ b/devel/aegis/Makefile @@ -1,66 +1,66 @@ PORTNAME= aegis PORTVERSION= 4.25 DISTVERSIONSUFFIX= .D510 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= aryeh.friedman@gmail.com COMMENT= Transaction-based software configuration management system WWW= https://aegis.sourceforge.net/ DEPRECATED= Abandoned upstream, last release in 2012 EXPIRATION_DATE=2025-07-31 LICENSE= GPLv3 LIB_DEPENDS= libcurl.so:ftp/curl RUN_DEPENDS= tkdiff:textproc/tkdiff USES= cpe gettext ghostscript gnome groff perl5 tk bison USE_GNOME= libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CPPFLAGS+= "-I${LOCALBASE}/include" CONFIGURE_ARGS= --with-nlsdir="${PREFIX}/share/locale" CONFIGURE_ENV= WISH="${WISH}" LDFLAGS+= -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes # XXX Manpages are installed into ${DATADIR} too -- there's no easy way to # stop this because we don't have Makefile.am provided. Maintainer will # sort this with upstream. PORTDATA= * PORTDOCS= * .include post-patch: # Avoid "2>/dev/null" redirect in csh (ends up with empty manpath). @${REINPLACE_CMD} -Ee 's|(MANPATH_PROG) 2>/dev/null|\1|' \ ${WRKSRC}/configure # Fix path to Tk interpreter. @cd ${WRKSRC}/script && ${REINPLACE_CMD} -e 's|wish |${WISH} |' \ aebuffy.in aecomp.in aexver.in tkaeca.in tkaegis.in tkaenc.in \ tkaepa.in tkaer.in xaegis.in # Import global variable "datadir" inside function (not found otherwise). @${REINPLACE_CMD} -e 's|global lib|& datadir|' \ ${WRKSRC}/script/xaegis.in post-configure: .if empty(PORT_OPTIONS:MNLS) ${REINPLACE_CMD} -e 's|HAVE_MSGFMT = yes|HAVE_MSGFMT = no|' \ ${WRKSRC}/Makefile .endif post-install: ${MKDIR} -p ${STAGEDIR}${PREFIX}/com/aegis # Fails to reinstall because keeps track of created directories, so make it # forget that, by recreating them on each install. @${FIND} ${WRKSRC} -type f -name ".*dir" -delete .include diff --git a/devel/appstream/Makefile b/devel/appstream/Makefile index 16ff0cdf57c7..b3c44af477cc 100644 --- a/devel/appstream/Makefile +++ b/devel/appstream/Makefile @@ -1,49 +1,49 @@ # Some knobs are defined with ?= and += to allow them # being overriden by devel/appstream-qt slave port PORTNAME?= AppStream DISTVERSION= 1.0.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= https://www.freedesktop.org/software/${PORTNAME:tl}/releases/ MAINTAINER= desktop@FreeBSD.org COMMENT?= Machine-readable software metadata for desktop environments WWW= https://www.freedesktop.org/wiki/Distributions/AppStream/ LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl \ gperf>0:devel/gperf \ itstool:textproc/itstool \ lmdb>0:databases/lmdb LIB_DEPENDS?= libcurl.so:ftp/curl \ libstemmer.so:textproc/snowballstemmer \ libxmlb.so:textproc/libxmlb \ libyaml.so:textproc/libyaml \ libzstd.so:archivers/zstd USES+= gettext gnome localbase:ldflags meson pkgconfig \ python:build tar:xz vala:build USE_GNOME+= glib20 libxml2 introspection:build libxslt:build USE_LDCONFIG= yes MESON_ARGS+= -Dstemming=true \ -Dvapi=true \ -Dapidocs=false \ -Dinstall-docs=false \ -Dsystemd=false post-patch: ${REINPLACE_CMD} \ -e 's|APPLICATIONS_DIR = "/usr/share/applications"|APPLICATIONS_DIR = "${LOCALBASE}/share/applications"|' \ -e 's|METAINFO_DIR = "/usr/share/metainfo"|METAINFO_DIR = "${LOCALBASE}/share/metainfo"|' \ -e 's|"/usr/share",|"${LOCALBASE}/share",|' \ ${WRKSRC}/src/as-pool.c ${REINPLACE_CMD} \ -e 's|"/usr/share";|"${LOCALBASE}/share";|' \ ${WRKSRC}/src/as-utils.c .include diff --git a/devel/art/Makefile b/devel/art/Makefile index 41891448a876..296a233a4eef 100644 --- a/devel/art/Makefile +++ b/devel/art/Makefile @@ -1,37 +1,38 @@ PORTNAME= art PORTVERSION= 0.9.02 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/art-project/src/ MAINTAINER= virtual.lark@gmail.com COMMENT= Resource tracing, debugging, and profiling tool WWW= https://github.com/larkvirtual/restracer/ LICENSE= GPLv3 LIB_DEPENDS= libxml++-2.6.so:textproc/libxml++26 USES= compiler:c++11-lang gmake pkgconfig USE_CXXSTD= c++11 TEST_TARGET= test OPTIONS_DEFINE= DOCS post-patch: @${FIND} ${WRKSRC} -type f -name Makefile | ${XARGS} \ ${REINPLACE_CMD} -e '/$$(CXX)/s,CFLAGS,CXXFLAGS,' \ -e 's,^CFLAGS+=,CXXFLAGS+=,' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/artlibgen/src/artlibgen \ ${WRKSRC}/artrepgen/artrepgen ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docs in posix-gcc-mt-file-lint.xml posix-gcc-mt-netw-lint.xml \ posix-gcc-mt-file-special.xml ${INSTALL_DATA} ${WRKSRC}/artlibgen/templates/${docs} \ ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/autogen/Makefile b/devel/autogen/Makefile index e6a98824f42c..ae4750a2ad65 100644 --- a/devel/autogen/Makefile +++ b/devel/autogen/Makefile @@ -1,38 +1,38 @@ PORTNAME= autogen PORTVERSION= 5.18.16 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= GNU/autogen/rel${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tool designed to simplify the creation and maintenance of programs WWW= https://www.gnu.org/software/autogen/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${RUN_DEPENDS} \ gmktemp:sysutils/coreutils RUN_DEPENDS= bash:shells/bash USES= gmake gnome guile:2.2 libtool pathfix perl5 pkgconfig shebangfix tar:xz USE_GNOME= libxml2 USE_PERL5= build BINARY_ALIAS= mktemp=gmktemp CONFIGURE_ARGS= --datadir=${PREFIX}/share \ --disable-dependency-tracking \ --with-libguile=yes --with-libxml2=yes CONFIGURE_ENV= CONFIG_SHELL=${LOCALBASE}/bin/bash GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check USE_LDCONFIG= yes INFO= autogen CONFLICTS_INSTALL= columns # bin/columns SHEBANG_FILES= autoopts/tpl/*.pl .include diff --git a/devel/collada-dom/Makefile b/devel/collada-dom/Makefile index e2e0bccdf1b8..1299e8c43181 100644 --- a/devel/collada-dom/Makefile +++ b/devel/collada-dom/Makefile @@ -1,27 +1,27 @@ PORTNAME= collada-dom DISTVERSIONPREFIX= v DISTVERSION= 2.5.0 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= devel MAINTAINER= trueos@norwegianrockcat.com COMMENT= COLLADA Document Object Model (DOM) C++ Library WWW= https://github.com/rdiankov/collada-dom LICENSE= MIT LIB_DEPENDS= libpcre.so:devel/pcre \ libboost_filesystem.so:devel/boost-libs \ libboost_system.so:devel/boost-libs USES= cmake gnome minizip pkgconfig USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= rdiankov USE_GNOME= libxml2 USE_LDCONFIG= yes # LLVM15+ workaround CFLAGS= -Wno-int-conversion .include diff --git a/devel/csoap/Makefile b/devel/csoap/Makefile index 85cce46166bd..382468527f3a 100644 --- a/devel/csoap/Makefile +++ b/devel/csoap/Makefile @@ -1,20 +1,20 @@ PORTNAME= csoap PORTVERSION= 1.1.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel net www MASTER_SITES= SF/${PORTNAME}/libsoap/${PORTVERSION} DISTNAME= libsoap-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Client/server SOAP library written in pure C WWW= https://csoap.sourceforge.net/ GNU_CONFIGURE= yes USES= gnome libtool pathfix USE_GNOME= libxml2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/libsoap-${PORTVERSION} .include diff --git a/devel/dia2code/Makefile b/devel/dia2code/Makefile index ad4d356c677b..019379f8cea8 100644 --- a/devel/dia2code/Makefile +++ b/devel/dia2code/Makefile @@ -1,31 +1,31 @@ PORTNAME= dia2code PORTVERSION= 0.8.8 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= bofh@FreeBSD.org COMMENT= Small utility used to generate code from a Dia diagram WWW= https://dia2code.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limit:^0\. USES= gnome iconv USE_GNOME= libxml2 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFLICTS_INSTALL= dia2code+ PLIST_FILES= bin/dia2code \ share/man/man1/dia2code.1.gz post-install: ${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/devel/electron35/Makefile b/devel/electron35/Makefile index a9fcafbe1640..26b698e1b5fc 100644 --- a/devel/electron35/Makefile +++ b/devel/electron35/Makefile @@ -1,459 +1,460 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER} +PORTREVISION= 1 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= devel MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v35.2.0/:chromium \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.0:chromium \ chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.1:chromium \ chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.2:chromium \ pulseaudio-${PULSEV}.tar.gz:pulseaudio \ electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX}:prefetch DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= chromium-${CHROMIUM_VER}${EXTRACT_SUFX} \ ${DISTFILES:C/:[^:]+$//:C/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}\.[0-9]//} MAINTAINER= tagattie@FreeBSD.org COMMENT= Build cross-platform desktop apps with JavaScript, HTML, and CSS WWW= https://electronjs.org/ LICENSE= BSD3CLAUSE LGPL21 MPL11 MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/electron/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 FETCH_DEPENDS= yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} EXTRACT_DEPENDS=yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} PATCH_DEPENDS= git:devel/git \ jq:textproc/jq BUILD_DEPENDS= gperf:devel/gperf \ bindgen:devel/rust-bindgen-cli \ yasm:devel/yasm \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ rustc:lang/rust \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libdbus-1.so:devel/dbus \ libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libva.so:multimedia/libva \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils TEST_DEPENDS= git:devel/git \ ${PYTHON_PKGNAMEPREFIX}python-dbusmock>0:devel/py-python-dbusmock@${PY_FLAVOR} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} USES= bison compiler:c++17-lang cpe gettext-tools gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja nodejs:22,build \ pkgconfig python:build,test shebangfix tar:xz xorg CPE_VENDOR= electronjs USE_GITHUB= yes GH_TUPLE= nodejs:node:v${NODE_VER}:node \ nodejs:nan:${NAN_VER}:nan \ Squirrel:Squirrel.Mac:${SQUIRREL_MAC_VER}:squirrel_mac \ ReactiveCocoa:ReactiveObjC:${REACTIVEOBJC_VER}:reactiveobjc \ Mantle:Mantle:${MANTLE_VER}:mantle \ EngFlow:reclient-configs:${ENGFLOW_RECLIENT_CONFIGS_VER}:reclient_configs USE_GL= gbm gl glesv2 USE_GNOME= atk cairo gdkpixbuf gtk30 libxml2 libxslt pango USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xrandr \ xrender xscrnsaver xtst SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include ALL_TARGET= electron electron:node_headers POST_BUILD_TARGETS= licenses version POST_BUILD_DIST_TARGETS=electron_dist_zip electron_chromedriver_zip \ electron_mksnapshot_zip DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} BINARY_ALIAS= python3=${PYTHON_CMD} BUNDLE_LIBS= yes NO_WRKSUBDIR= yes WRKSRC_SUBDIR= src GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_nacl=false \ enable_remoting=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ chrome_pgo_phase=0 \ extra_cflags="${CFLAGS}" \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" \ override_electron_version="${ELECTRON_VER}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles PLIST_SUB= ELECTRON_VER=${ELECTRON_VER} \ ELECTRON_VER_MAJOR=${ELECTRON_VER_MAJOR} OPTIONS_DEFINE= CODECS CUPS DEBUG DIST DRIVER KERBEROS LTO PIPEWIRE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE ALSA PULSEAUDIO SNDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DIST_DESC= Build distribution zip files DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) PIPEWIRE_DESC= Screen capture via PipeWire ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_MAKE_ENV= ELECTRON_OUT_DIR=Debug DEBUG_MAKE_ENV_OFF= ELECTRON_OUT_DIR=Release DEBUG_VARS= BUILDTYPE=Debug \ GN_FILE=testing.gn \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_FILE=release.gn \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DIST_IMPLIES= DRIVER DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb5.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb5.so.3:security/krb5 PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER CHROMIUM_VER= 134.0.6998.205 # See ${WRKSRC}/electron/DEPS for NODE_VER NODE_VER= 22.15.1 # See ${WRKSRC}/electron/DEPS for NAN_VER NAN_VER= e14bdcd1f72d62bca1d541b66da43130384ec213 # See ${WRKSRC}/electron/DEPS for SQUIRREL_MAC_VER SQUIRREL_MAC_VER= 0e5d146ba13101a1302d59ea6e6e0b3cace4ae38 # See ${WRKSRC}/electron/DEPS for REACTIVEOBJC_VER REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 # See ${WRKSRC}/electron/DEPS for ENGFLOW_RECLIENT_CONFIGS_VER ENGFLOW_RECLIENT_CONFIGS_VER= 955335c30a752e9ef7bff375baab5e0819b6c00d YARN_TIMESTAMP= 61171200 .include "Makefile.version" .include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 19 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} CFLAGS+= -Wno-error=implicit-function-declaration .if ${ARCH} == "aarch64" PLIST_SUB+= AARCH64="" \ AMD64="@comment " \ I386="@comment " \ NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == "amd64" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="" \ I386="@comment " \ NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="@comment " \ I386="" \ NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build electron, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-fetch: @${MKDIR} ${DISTDIR}/${DIST_SUBDIR} if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} ]; \ then ${MKDIR} ${WRKDIR}; \ ${ECHO_CMD} 'yarn-offline-mirror "./yarn-offline-cache"' >> \ ${WRKDIR}/.yarnrc; \ ${CP} ${FILESDIR}/package.json ${FILESDIR}/yarn.lock ${WRKDIR}; \ cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache \ yarn --frozen-lockfile --ignore-scripts; \ ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \ @yarn-offline-cache.mtree; \ ${RM} -r ${WRKDIR}; \ fi post-fetch: @if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX} ]; then \ ${CAT} ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}.? > \ ${DISTDIR}/${DIST_SUBDIR}/chromium-${CHROMIUM_VER}${EXTRACT_SUFX}; \ fi post-extract: # Move extracted sources to appropriate locations ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/chromium-${CHROMIUM_VER} ${WRKSRC} ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${PORTNAME}-${ELECTRON_VER} ${WRKSRC}/electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_nan}-${NAN_VER} \ ${WRKSRC}/third_party/nan ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_node}-${NODE_VER} \ ${WRKSRC}/third_party/electron_node ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_squirrel_mac}-${SQUIRREL_MAC_VER} \ ${WRKSRC}/third_party/squirrel.mac ${MKDIR} ${WRKSRC}/third_party/squirrel.mac/vendor ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reactiveobjc}-${REACTIVEOBJC_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/ReactiveObjC ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_mantle}-${MANTLE_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/Mantle ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reclient_configs}-${ENGFLOW_RECLIENT_CONFIGS_VER} \ ${WRKSRC}/third_party/engflow-reclient-configs # Install node modules for electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/yarn-offline-cache ${WRKDIR} ${ECHO_CMD} 'yarn-offline-mirror "../../../yarn-offline-cache"' >> ${WRKSRC}/electron/.yarnrc ${MV} ${WRKSRC}/electron/package.json ${WRKSRC}/electron/package.json.bak ${CP} ${FILESDIR}/package.json ${WRKSRC}/electron cd ${WRKSRC}/electron && \ ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache yarn --frozen-lockfile --offline pre-patch: ${SH} ${FILESDIR}/apply-electron-patches.sh ${WRKSRC} # ${FIND} ${WRKSRC} -type f -name '*.orig' -print -delete # ${FIND} ${WRKSRC} -type f -name '*~' -print -delete pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig harfbuzz-ng libdrm libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/rust/rust_bindgen.gni \ ${WRKSRC}/build/rust/rust_bindgen_generator.gni do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn gen out/${BUILDTYPE} \ --args='import("//electron/build/args/${GN_FILE}") ${GN_ARGS}' # Make GN available to python scripts called during build ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKDIR}/.bin # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_TARGETS} post-build-DIST-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_DIST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${CP} chromedriver.zip chromedriver-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} dist.zip electron-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} mksnapshot.zip mksnapshot-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${SHA256} -r *-v${ELECTRON_VER}-freebsd-*.zip | ${SED} -e 's/ / */' > SHASUMS256.txt do-install: ${MKDIR} ${STAGEDIR}${DATADIR} .for f in electron mksnapshot v8_context_snapshot_generator ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in libEGL.so libGLESv2.so libffmpeg.so libvk_swiftshader.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 ${STAGEDIR}${DATADIR}/libvulkan.so .for f in LICENSE LICENSES.chromium.html snapshot_blob.bin v8_context_snapshot.bin version vk_swiftshader_icd.json ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in chrome_100_percent.pak chrome_200_percent.pak resources.pak ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/locales ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/locales/*.pak ${STAGEDIR}${DATADIR}/locales ${MKDIR} ${STAGEDIR}${DATADIR}/resources .for f in default_app.asar ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/resources/${f} ${STAGEDIR}${DATADIR}/resources .endfor cd ${WRKSRC}/out/${BUILDTYPE}/gen && ${COPYTREE_SHARE} node_headers ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/electron/buildflags ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/v8/embedded.S ${STAGEDIR}${DATADIR} ${RLN} ${STAGEDIR}${DATADIR}/electron ${STAGEDIR}${PREFIX}/bin/electron${PKGNAMESUFFIX} post-install-DIST-on: ${MKDIR} ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/SHASUMS256.txt ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*-v${ELECTRON_VER}-freebsd-*.zip ${STAGEDIR}${DATADIR}/releases post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${DATADIR}/chromedriver do-test: # Note 1: "npm install" will run before actual tests are executed # Note 2: Xvfb or something similar is necessary for headless testing cd ${WRKSRC}/electron && \ ${SETENV} ${TEST_ENV} ELECTRON_OUT_DIR=${BUILDTYPE} LOCAL_GIT_DIRECTORY=${LOCALBASE} \ npm run test -- --ci .include diff --git a/devel/gconf2/Makefile b/devel/gconf2/Makefile index 331d91800a31..80ec97c759ca 100644 --- a/devel/gconf2/Makefile +++ b/devel/gconf2/Makefile @@ -1,42 +1,42 @@ PORTNAME= gconf2 PORTVERSION= 3.2.6 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= devel gnome MASTER_SITES= GNOME DISTNAME= GConf-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= desktop@FreeBSD.org COMMENT= Configuration database system for GNOME WWW= https://www.gnome.org/projects/gconf/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING USES= tar:xz LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib USES+= gettext gmake gnome libtool pathfix pkgconfig python:run \ shebangfix localbase USE_GNOME= libxml2 dconf intltool introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ --with-gtk=2.0 \ --without-openldap \ --disable-gtk \ --disable-gtk-doc-html \ --disable-gtk-doc \ --disable-orbit \ --disable-defaults-service INSTALL_TARGET= install-strip SHEBANG_FILES= gsettings/gsettings-schema-convert DOCSDIR= ${PREFIX}/share/doc/gconf post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/gconf/gconf.xml.system .include diff --git a/devel/geany-plugin-pretty-printer/Makefile b/devel/geany-plugin-pretty-printer/Makefile index 02edf40a093f..b7cc8c75960e 100644 --- a/devel/geany-plugin-pretty-printer/Makefile +++ b/devel/geany-plugin-pretty-printer/Makefile @@ -1,12 +1,13 @@ PORTNAME= geany-plugin-pretty-printer PORTVERSION= ${GEANY_VER} +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= madpilot@FreeBSD.org COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC} WWW= https://plugins.geany.org/pretty-printer.html USE_GNOME= libxml2 .include "${.CURDIR}/../geany-plugins/files/Makefile.common" .include diff --git a/devel/gitg/Makefile b/devel/gitg/Makefile index c6ad411ddf99..9b5bee6bdf15 100644 --- a/devel/gitg/Makefile +++ b/devel/gitg/Makefile @@ -1,54 +1,54 @@ PORTNAME= gitg PORTVERSION= 41 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= devel deskutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/ PATCHFILES+= 1978973b1284.patch:-p1 # https://gitlab.gnome.org/GNOME/gitg/-/merge_requests/175 MAINTAINER= kwm@FreeBSD.org COMMENT= GTK-based git repository viewer WWW= https://wiki.gnome.org/Apps/Gitg LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libenchant.so:textproc/enchant \ libgee-0.8.so:devel/libgee \ libgit2.so:devel/libgit2 \ libgit2-glib-1.0.so:devel/libgit2-glib \ libjson-glib-1.0.so:devel/json-glib \ libpeas-1.0.so:devel/libpeas1 \ libgspell-1.so:textproc/gspell \ libdazzle-1.0.so:x11-toolkits/libdazzle \ libsecret-1.so:security/libsecret RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas CONFLICTS= gitg0 PORTSCOUT= limitw:1,even USES= compiler:c11 desktop-file-utils gettext gnome localbase \ meson pathfix pkgconfig python:build tar:xz vala:build USE_GNOME= cairo gdkpixbuf gtk30 gtksourceview4 intltool introspection USE_LDCONFIG= yes GLIB_SCHEMAS= org.gnome.gitg.gschema.xml BINARY_ALIAS= python3=${PYTHON_VERSION} OPTIONS_DEFINE= PYTHON OPTIONS_SUB= yes PYTHON_USES= python PYTHON_MESON_TRUE= python PYTHON_USE= GNOME=pygobject3 post-install-PYTHON-on: (cd ${STAGEDIR}${PREFIX} \ && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) .include diff --git a/devel/glade/Makefile b/devel/glade/Makefile index d6c2da4178f8..4ec2c4fc1695 100644 --- a/devel/glade/Makefile +++ b/devel/glade/Makefile @@ -1,47 +1,47 @@ PORTNAME= glade PORTVERSION= 3.40.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= User interface builder for GTK 3 WWW= https://glade.gnome.org/ LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.GPL LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LGPL BUILD_DEPENDS= itstool:textproc/itstool \ docbook-xsl>=0:textproc/docbook-xsl \ xsltproc:textproc/libxslt CONFLICTS= glade3-3.* PORTSCOUT= limitw:1,even USES= compiler:c11 desktop-file-utils gettext gnome \ localbase:ldflags meson pathfix pkgconfig tar:xz USE_GNOME= cairo gtk30 intlhack introspection:build DOCSDIR= ${PREFIX}/share/doc/gladeui-2 OPTIONS_SUB= yes OPTIONS_DEFINE= GJS PYTHON WEBKIT OPTIONS_DEFAULT= GJS PYTHON WEBKIT GJS_DESC= GJS (JavaScript) support GJS_MESON_ENABLED= gjs GJS_LIB_DEPENDS= libgjs.so:lang/gjs PYTHON_MESON_ENABLED= python PYTHON_USES= python PYTHON_USE= GNOME=pygobject3 WEBKIT_DESC= Webkit glade support WEBKIT_MESON_ENABLED= webkit2gtk WEBKIT_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 .include diff --git a/devel/gnome-builder/Makefile b/devel/gnome-builder/Makefile index e83e4b24cc9e..16a53ae53c56 100644 --- a/devel/gnome-builder/Makefile +++ b/devel/gnome-builder/Makefile @@ -1,89 +1,90 @@ PORTNAME= gnome-builder PORTVERSION= 47.2 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= IDE for writing software for GNOME WWW= https://apps.gnome.org/Builder LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcmark.so:textproc/cmark \ libgit2-glib-1.0.so:devel/libgit2-glib \ libgit2.so:devel/libgit2 \ libjson-glib-1.0.so:devel/json-glib \ libjsonrpc-glib-1.0.so:devel/jsonrpc-glib \ libpeas-2.so:devel/libpeas \ libportal.so:deskutils/libportal \ libportal-gtk4.so:deskutils/libportal-gtk4 \ libtemplate_glib-1.0.so:devel/template-glib \ libdex-1.so:devel/libdex \ libpanel-1.so:x11-toolkits/libpanel \ libspelling-1.so:x11-toolkits/libspelling \ libeditorconfig.so:editors/editorconfig-core-c RUN_DEPENDS= d-spy:devel/d-spy PORTSCOUT= limit:^47\. USES= compiler:c++11-lang desktop-file-utils gettext gnome \ localbase:lfdlags meson pkgconfig python:build shebangfix \ tar:xz USE_GNOME= glib20 gtk40 gtksourceview5 introspection libadwaita \ libxml2 vte3 SHEBANG_FILES= ${WRKSRC}/build-aux/meson/post_install.py USE_LDCONFIG= yes MESON_ARGS= -Dwebkit=disabled \ -Dplugin_sphinx_preview=false \ -Dplugin_markdown_preview=false \ -Dplugin_html_preview=false \ -Dplugin_manuals=false \ -Dplugin_flatpak=false \ -Dplugin_jhbuild=false \ -Dplugin_qemu=false \ -Dplugin_sysprof=false \ -Dplugin_swift=false \ -Dplugin_swiftformat=false \ -Dplugin_swiftlint=false \ -Dplugin_update_manager=false \ -Dplugin_waf=false PLIST_SUB= VERSION=${PORTVERSION:C/^([0-9]+)\..*/\1/} GLIB_SCHEMAS= org.gnome.builder.build.gschema.xml \ org.gnome.builder.clang.gschema.xml \ org.gnome.builder.code-insight.gschema.xml \ org.gnome.builder.copyright.gschema.xml \ org.gnome.builder.debug.gschema.xml \ org.gnome.builder.editor.gschema.xml \ org.gnome.builder.editor.language.gschema.xml \ org.gnome.builder.extension-type.gschema.xml \ org.gnome.builder.gschema.xml \ org.gnome.builder.plugin.gschema.xml \ org.gnome.builder.project-tree.gschema.xml \ org.gnome.builder.project.gschema.xml \ org.gnome.builder.shellcmd.command.gschema.xml \ org.gnome.builder.shellcmd.gschema.xml \ org.gnome.builder.spelling.gschema.xml \ org.gnome.builder.terminal.gschema.xml \ org.gnome.builder.valgrind.gschema.xml OPTIONS_SUB= YES OPTIONS_DEFINE= CLANG OPTIONS_DEFAULT= CLANG # track the latest llvm/clang version, the config script picks the newest available CLANG_DESC= Build the clang plugin CLANG_MESON_TRUE= plugin_clang CLANG_USES= llvm:build,run CLANG_CONFIGURE_ENV= LLVM_CONFIG=${LLVM_CONFIG} # 11.1 and older has issues with vala generated code. post-patch: ${REINPLACE_CMD} -e '/-Werror=return-type/d' \ ${WRKSRC}/meson.build .include diff --git a/devel/goffice/Makefile b/devel/goffice/Makefile index 1908f3102c6a..662310e9a159 100644 --- a/devel/goffice/Makefile +++ b/devel/goffice/Makefile @@ -1,38 +1,39 @@ PORTNAME= goffice PORTVERSION= 0.10.59 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= GLib/GTK set of document centric objects and utilities WWW= http://live.gnome.org/libgoffice LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libspectre.so:print/libspectre \ libfribidi.so:converters/fribidi USES= gettext gmake gnome libtool pathfix perl5 pkgconfig \ shebangfix tar:xz xorg USE_GNOME= cairo gtk30 intlhack introspection:build libgsf librsvg2 libxslt USE_XORG= xrender xext GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip CONFIGURE_ARGS= --with-lasem=no --with-config-backend=gsettings \ --enable-compile-warnings=no \ --enable-introspection USE_PERL5= build SHEBANG_FILES= ${WRKSRC}/tools/introspection-identifier-filter PLIST_SUB= VERSION=${PORTVERSION} SHORT_VER=${PORTVERSION:R} LIB_VER=${PORTVERSION:E} post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/goffice/${SHORT_VER}/plugins @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgoffice-0.10.so.* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/goffice/${PORTVERSION}/plugins/*/*.so .include diff --git a/devel/gtranslator/Makefile b/devel/gtranslator/Makefile index 9224457e04d1..13559ea07597 100644 --- a/devel/gtranslator/Makefile +++ b/devel/gtranslator/Makefile @@ -1,33 +1,34 @@ PORTNAME= gtranslator DISTVERSION= 47.1 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME application for creating GNU gettext translation files WWW= https://gitlab.gnome.org/GNOME/gtranslator LICENSE= GPLv3+ PORTSCOUT= limit:^47\. BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3 \ libjson-glib-1.0.so:devel/json-glib \ libgettextpo.so:devel/gettext-tools \ libspelling-1.so:x11-toolkits/libspelling RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= cpe desktop-file-utils gettext gnome localbase:ldflags \ meson pkgconfig tar:xz CPE_VENDOR= gtranslate CPE_PRODUCT= google_language_translator USE_GNOME= cairo glib20 gtk40 gtksourceview5 libadwaita libgda6 libxml2 USE_LDCONFIG= yes GLIB_SCHEMAS= org.gnome.Gtranslator.gschema.xml \ org.gnome.gtranslator.plugins.translation-memory.gschema.xml .include diff --git a/devel/hwloc/Makefile b/devel/hwloc/Makefile index 5ed7d0b8724a..d353eb29acef 100644 --- a/devel/hwloc/Makefile +++ b/devel/hwloc/Makefile @@ -1,50 +1,50 @@ PORTNAME= hwloc PORTVERSION= 1.11.13 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= http://www.open-mpi.org/software/hwloc/v${PORTVERSION:R}/downloads/ \ http://icl.cs.utk.edu/open-mpi/software/hwloc/v${PORTVERSION:R}/downloads/ MAINTAINER= phd_kimberlite@yahoo.co.jp COMMENT= Portable Hardware Locality software package WWW= https://www.open-mpi.org/projects/hwloc/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le powerpcspe ONLY_FOR_ARCHS_REASON= has not been ported to this architecture LIB_DEPENDS= libpciaccess.so:devel/libpciaccess USES= iconv libtool gnome pathfix pkgconfig tar:bzip2 USE_GNOME= libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-static \ --disable-opencl \ --disable-cuda \ --disable-nvml \ --disable-gl INSTALL_TARGET= install-strip USE_LDCONFIG= yes CONFLICTS_INSTALL= hwloc2 PORTDOCS= * OPTIONS_DEFINE= CAIRO DOCS OPTIONS_SUB= yes CAIRO_CONFIGURE_OFF= --disable-cairo --without-x CAIRO_CONFIGURE_ON= --enable-cairo --with-x CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo CAIRO_USES= xorg CAIRO_USE= XORG=x11 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/doxygen-doc/html/* ${STAGEDIR}${DOCSDIR}/html/ .include diff --git a/devel/hwloc2/Makefile b/devel/hwloc2/Makefile index 7f26e23d8ceb..b220ed0915b4 100644 --- a/devel/hwloc2/Makefile +++ b/devel/hwloc2/Makefile @@ -1,67 +1,68 @@ PORTNAME= hwloc DISTVERSION= 2.12.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://download.open-mpi.org/release/hwloc/v${DISTVERSION:R}/ PKGNAMESUFFIX= 2 MAINTAINER= phd_kimberlite@yahoo.co.jp COMMENT= Portable Hardware Locality software package WWW= https://www.open-mpi.org/projects/hwloc/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpciaccess.so:devel/libpciaccess USES= cpe gnome iconv libtool pathfix pkgconfig tar:bzip2 CPE_VENDOR= open-mpi USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-cuda \ --disable-gl \ --disable-opencl \ --disable-nvml \ --enable-static INSTALL_TARGET= install-strip TEST_TARGET= check CONFLICTS_INSTALL= hwloc PORTDOCS= * OPTIONS_DEFINE= CAIRO DEBUG DOCS L0 OPTIONS_DEFAULT= L0 OPTIONS_SUB= yes L0_DESC= oneAPI Level Zero device discovery CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo CAIRO_USES= xorg CAIRO_USE= XORG=x11 CAIRO_CONFIGURE_ON= --enable-cairo --with-x CAIRO_CONFIGURE_OFF= --disable-cairo --without-x # 'lstopo -' prints a lot of debug details when debug is enabled, # this is separate from WITH_DEBUG=yes DEBUG_CONFIGURE_ENABLE= debug L0_LIB_DEPENDS= libze_loader.so:devel/level-zero L0_CONFIGURE_ENABLE= levelzero .include .if ${ARCH} != amd64 && ${ARCH} != i386 PLIST_SUB+= X86="@comment " .else PLIST_SUB+= X86="" .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/doxygen-doc/html/* \ ${STAGEDIR}${DOCSDIR}/html/ .include diff --git a/devel/kf5-kdoctools/Makefile b/devel/kf5-kdoctools/Makefile index b579018aa45a..2ad8609ce868 100644 --- a/devel/kf5-kdoctools/Makefile +++ b/devel/kf5-kdoctools/Makefile @@ -1,21 +1,22 @@ PORTNAME= kdoctools DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= devel kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= KF5 documentation generation from docbook BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \ docbook-xml>0:textproc/docbook-xml \ p5-URI>=0:net/p5-URI RUN_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \ docbook-xml>0:textproc/docbook-xml USES= cmake compiler:c++11-lib gettext gnome kde:5 qt:5 tar:xz USE_GNOME= libxml2 libxslt USE_KDE= archive i18n \ ecm:build USE_QT= core \ buildtools:build qmake:build .include diff --git a/devel/kf5-kio/Makefile b/devel/kf5-kio/Makefile index edab8f2a7e23..0a6fb63f48ef 100644 --- a/devel/kf5-kio/Makefile +++ b/devel/kf5-kio/Makefile @@ -1,28 +1,28 @@ PORTNAME= kio DISTVERSION= ${KDE_FRAMEWORKS_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= KF5 resource and network access abstraction DEPRECATED= has its functionality stripped compared to a kf6 variant USES= cmake compiler:c++11-lib desktop-file-utils \ gettext gnome kde:5 cpe qt:5 ssl tar:xz xorg USE_GNOME= libxml2 libxslt USE_KDE= archive auth bookmarks codecs completion config \ configwidgets coreaddons crash dbusaddons doctools guiaddons \ i18n iconthemes itemviews jobwidgets kded \ notifications service solid sonnet textwidgets wallet \ widgetsaddons windowsystem xmlgui \ doctools:build ecm:build USE_QT= concurrent core dbus declarative gui network \ widgets x11extras xml \ buildtools:build qmake:build testlib:build USE_XORG= x11 # KF6 coinstallability CMAKE_ON= KF6_COMPAT_BUILD .include diff --git a/devel/kf6-kdoctools/Makefile b/devel/kf6-kdoctools/Makefile index 57bdb2eb47a0..7abd5cbebd4c 100644 --- a/devel/kf6-kdoctools/Makefile +++ b/devel/kf6-kdoctools/Makefile @@ -1,20 +1,21 @@ PORTNAME= kdoctools DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= devel kde kde-frameworks COMMENT= Create documentation from DocBook MAINTAINER= kde@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \ docbook-xml>0:textproc/docbook-xml \ p5-URI>=0:net/p5-URI RUN_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \ docbook-xml>0:textproc/docbook-xml USES= cmake gettext gnome kde:6 qt:6 tar:xz USE_GNOME= libxml2 libxslt USE_KDE= archive i18n \ ecm:build USE_QT= base .include diff --git a/devel/kf6-kio/Makefile b/devel/kf6-kio/Makefile index 831cc93d7d85..b316e00368f7 100644 --- a/devel/kf6-kio/Makefile +++ b/devel/kf6-kio/Makefile @@ -1,22 +1,23 @@ PORTNAME= kio DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= devel kde kde-frameworks COMMENT= Network transparent access to files and data MAINTAINER= kde@FreeBSD.org LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon USES= cmake desktop-file-utils gettext gl gnome kde:6 qt:6 ssl \ tar:xz xorg USE_GL= gl opengl USE_GNOME= libxml2 libxslt USE_KDE= archive auth bookmarks colorscheme completion config \ configwidgets coreaddons crash dbusaddons doctools guiaddons \ i18n iconthemes itemviews jobwidgets notifications service \ solid wallet widgetsaddons windowsystem \ ecm:build USE_QT= 5compat base USE_XORG= x11 .include diff --git a/devel/libabigail/Makefile b/devel/libabigail/Makefile index a3870ccc5518..1517ce2e2bb1 100644 --- a/devel/libabigail/Makefile +++ b/devel/libabigail/Makefile @@ -1,23 +1,23 @@ PORTNAME= libabigail DISTVERSION= 2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= SOURCEWARE/${PORTNAME}/ MAINTAINER= adridg@FreeBSD.org COMMENT= ABI Generic Analysis and Instrumentation Library WWW= https://sourceware.org/libabigail/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libdw.so:devel/elfutils USES= compiler:c++11-lang gmake gnome libtool localbase pkgconfig \ python USE_GNOME= libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-cxx11=yes .include diff --git a/devel/libaravis/Makefile b/devel/libaravis/Makefile index c0267f8591e4..285316a4b110 100644 --- a/devel/libaravis/Makefile +++ b/devel/libaravis/Makefile @@ -1,44 +1,45 @@ PORTNAME= libaravis DISTVERSION= 0.8.34 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= ports@FreeBSD.org COMMENT= Camera control and image acquisition library WWW= https://github.com/AravisProject/aravis/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome libtool meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= AravisProject GH_PROJECT= aravis USE_GNOME= glib20 intltool introspection:build libxml2 USE_LDCONFIG= yes MESON_ARGS= -Dgst-plugin=disabled \ -Dintrospection=enabled \ -Dpacket-socket=disabled \ -Dtests=false \ -Dviewer=disabled INSTALL_TARGET= install-strip DOCSDIR= ${PREFIX}/share/doc/aravis-0.8 PLIST_SUB= SOVERSION=${DISTVERSION} OPTIONS_DEFINE= DOCS FAST_HEARTBEAT NLS USB OPTIONS_DEFAULT= USB OPTIONS_SUB= yes FAST_HEARTBEAT_DESC= build with extremely fast heartbeat USB_DESC= build with USB support DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen DOCS_MESON_ENABLED= documentation FAST_HEARTBEAT_MESON_TRUE= fast-heartbeat NLS_USES= gettext USB_MESON_ENABLED= usb .include diff --git a/devel/libassetml/Makefile b/devel/libassetml/Makefile index b364d6940e4d..71e12ef3ce12 100644 --- a/devel/libassetml/Makefile +++ b/devel/libassetml/Makefile @@ -1,30 +1,30 @@ PORTNAME= libassetml PORTVERSION= 1.2.1 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= devel gnome MASTER_SITES= SF/ofset/${PORTNAME}/${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= Library to share image and audio files between projects WWW= http://www.ofset.org/assetml/ BUILD_DEPENDS= texi2html:textproc/texi2html LIB_DEPENDS= libpopt.so:devel/popt USES= gettext gmake gnome libtool:keepla makeinfo pathfix pkgconfig USE_GNOME= gnomeprefix glib20 libxml2 GNU_CONFIGURE= yes USE_LDCONFIG= yes LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include INSTALL_TARGET= install-strip INFO= libassetml post-patch: @${REINPLACE_CMD} -e 's,libdir)/locale,datadir)/locale,g' ${WRKSRC}/po/Makefile.in.in post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/assetml .include diff --git a/devel/libdap/Makefile b/devel/libdap/Makefile index 2dff673f7c19..fcf65e9cf847 100644 --- a/devel/libdap/Makefile +++ b/devel/libdap/Makefile @@ -1,27 +1,28 @@ PORTNAME= libdap PORTVERSION= 3.21.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://www.opendap.org/pub/source/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= SDK which contains an implementation of DAP 2.0 and 4.0 WWW= https://www.opendap.org/software/libdap \ https://github.com/OPENDAP/libdap4 LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libuuid.so:misc/e2fsprogs-libuuid USES= bison:wrapper charsetfix gmake gnome libtool localbase pathfix ssl USE_GNOME= libxml2 CONFIGURE_ARGS= ac_cv_lib_crypto_OpenSSL_add_all_algorithms=yes \ ac_cv_type_max_align_t=yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes .include diff --git a/devel/libdatovka/Makefile b/devel/libdatovka/Makefile index 22080cd43adf..d19c3b822f39 100644 --- a/devel/libdatovka/Makefile +++ b/devel/libdatovka/Makefile @@ -1,36 +1,37 @@ PORTNAME= libdatovka DISTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://secure.nic.cz/files/datove_schranky/libdatovka/ MAINTAINER= freebsd@sysctl.cz COMMENT= ISDS client library WWW= https://gitlab.nic.cz/datovka/libdatovka LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl \ gpgme>=0:security/gpgme \ libgcrypt>=0:security/libgcrypt \ libgpg-error>=0:security/libgpg-error \ xsltproc:textproc/libxslt LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 RUN_DEPENDS= gpgme>=0:security/gpgme \ libgcrypt>=0:security/libgcrypt \ libgpg-error>=0:security/libgpg-error USES= autoreconf gettext gmake gnome iconv libtool localbase \ pkgconfig ssl tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-fatalwarnings \ --enable-openssl-backend \ --with-docbook-xsl-stylesheets=${LOCALBASE}/share/xsl/docbook INSTALL_TARGET= install-strip .include diff --git a/devel/libgdata/Makefile b/devel/libgdata/Makefile index 6cd1232a42af..06e7f6df8f68 100644 --- a/devel/libgdata/Makefile +++ b/devel/libgdata/Makefile @@ -1,26 +1,26 @@ PORTNAME= libgdata PORTVERSION= 0.18.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= GNOME MAINTAINER= kwm@FreeBSD.org COMMENT= GLib-based implementation of the GData protocol WWW= https://live.gnome.org/libgdata LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= uhttpmock0>0:net/uhttpmock0 LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libjson-glib-1.0.so:devel/json-glib \ libp11-kit.so:security/p11-kit \ libgoa-1.0.so:net/gnome-online-accounts \ libgcr-base-3.so:security/gcr3 \ liboauth.so:net/liboauth USES= gettext gnome localbase meson pkgconfig tar:xz vala:build USE_GNOME= glib20 introspection:build libxml2 USE_LDCONFIG= yes .include diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile index 5a815f5d1afe..6180cea31dc0 100644 --- a/devel/libglade2/Makefile +++ b/devel/libglade2/Makefile @@ -1,43 +1,43 @@ PORTNAME= libglade2 PORTVERSION= 2.6.4 -PORTREVISION?= 13 +PORTREVISION?= 14 CATEGORIES= devel gnome MASTER_SITES= GNOME DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME glade library LICENSE= LGPL20 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= tar:bzip2 RUN_DEPENDS= xmlcatmgr:textproc/xmlcatmgr USES+= gmake gnome libtool pathfix pkgconfig localbase USE_GNOME= cairo gdkpixbuf libxml2 gtk20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ --disable-gtk-doc \ --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports PLIST_SUB= XMLCATALOG="${LOCALBASE}/bin/xmlcatalog" \ CATALOG_PORTS_XML="${LOCALBASE}/share/xml/catalog.ports" post-patch: @${REINPLACE_CMD} -e 's|glib-2.0|gmodule-2.0 glib-2.0|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -E 's/in (python.*)+ none/in none/' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e "s/ doc / /g" ${WRKSRC}/Makefile.in post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/libglade/2.0 .include diff --git a/devel/libglademm24/Makefile b/devel/libglademm24/Makefile index 9268d196df9d..afe4325c71cc 100644 --- a/devel/libglademm24/Makefile +++ b/devel/libglademm24/Makefile @@ -1,35 +1,35 @@ PORTNAME= libglademm PORTVERSION= 2.6.7 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= C++ wrapper for libglade2 library WWW= http://gtkmm.sourceforge.net/ OPTIONS_DEFINE= DOCS LIB_DEPENDS= libgtkmm-2.4.so:x11-toolkits/gtkmm24 USES= compiler:c++11-lang gmake gnome libtool:keepla pathfix \ pkgconfig tar:bzip2 xorg USE_CXXSTD= c++11 USE_XORG= x11 ice USE_GNOME= libglade2 GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-static INSTALL_TARGET= install-strip BINARY_WRAPPERS= gm4 PLIST_SUB= VERSION="2.4" API_VERSION="2.4" post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|\(-lglibmm\)|-L\$$(GMM_PROCDIR)/../.. \1|" \ ${WRKSRC}/tools/extra_defs_gen/Makefile.in .include diff --git a/devel/libgnt/Makefile b/devel/libgnt/Makefile index 04f44cf36e17..a1bedeffd5aa 100644 --- a/devel/libgnt/Makefile +++ b/devel/libgnt/Makefile @@ -1,23 +1,23 @@ PORTNAME= libgnt PORTVERSION= 2.14.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= SF/pidgin/${PORTNAME}/${PORTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Toolkit based on glib and ncurses for text-mode user interfaces WWW= https://keep.imfreedom.org/libgnt/libgnt/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc LIB_DEPENDS= libffi.so:devel/libffi USES= gettext-runtime gnome iconv:wchar_t meson pkgconfig tar:xz USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes MESON_ARGS= -Dpython2=false .include diff --git a/devel/libgsf/Makefile b/devel/libgsf/Makefile index 29295bb7474d..d50eafd07824 100644 --- a/devel/libgsf/Makefile +++ b/devel/libgsf/Makefile @@ -1,35 +1,36 @@ PORTNAME= libgsf DISTVERSION= 1.14.53 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Structured file library from GNOME WWW= https://gitlab.gnome.org/GNOME/libgsf/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gmake gnome libtool localbase pathfix pkgconfig tar:xz CPE_VENDOR= gnome USE_GNOME= gdkpixbuf glib20 libxml2 introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-introspection INSTALL_TARGET= install-strip PLIST_SUB+= LIBMINORVER=${DISTVERSION:E} \ LIBSHORTVER=${DISTVERSION:R:S/.//} OPTIONS_DEFINE= NLS OPTIONS_DEFAULT=NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/devel/libical/Makefile b/devel/libical/Makefile index 2c1bd790162c..0da77141ada1 100644 --- a/devel/libical/Makefile +++ b/devel/libical/Makefile @@ -1,54 +1,55 @@ PORTNAME= libical DISTVERSION= 3.0.20 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://github.com/libical/libical/releases/download/v${DISTVERSION}/ MAINTAINER= desktop@FreeBSD.org COMMENT= Implementation of the IETF Calendaring and Scheduling protocols WWW= https://github.com/libical/libical LICENSE= LGPL21 MPL20 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libicuuc.so:devel/icu USES= cmake:testing compiler:c++11-lib cpe gnome pathfix perl5 \ pkgconfig CPE_VENDOR= libical_project USE_LDCONFIG= yes USE_PERL5= build CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_BerkeleyDB \ CMAKE_DISABLE_FIND_PACKAGE_Doxygen CMAKE_OFF= LIBICAL_BUILD_TESTING CMAKE_TESTING_ON= LIBICAL_BUILD_TESTING DOCSDIR= ${PREFIX}/share/gtk-doc/html/libical-glib PLIST_SUB= VERSION=${DISTVERSION} OPTIONS_DEFINE= ALLOWEMPTY DOCS GLIB INTROSPECTION VAPI OPTIONS_DEFAULT= GLIB INTROSPECTION VAPI OPTIONS_SUB= yes ALLOWEMPTY_DESC= Prevent empty properties from being replaced with X-LIC-ERROR GLIB_DESC= Build GLib bindings INTROSPECTION_DESC= Build GObject Introspection ALLOWEMPTY_CMAKE_BOOL= ICAL_ALLOW_EMPTY_PROPERTIES DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc DOCS_CMAKE_BOOL= ICAL_BUILD_DOCS GLIB_USE= GNOME=glib20,libxml2 GLIB_CMAKE_BOOL= ICAL_GLIB INTROSPECTION_USE= GNOME=introspection:build INTROSPECTION_CMAKE_BOOL= GOBJECT_INTROSPECTION VAPI_IMPLIES= INTROSPECTION VAPI_USES= vala:build VAPI_CMAKE_BOOL= ICAL_GLIB_VAPI .include diff --git a/devel/liblangtag/Makefile b/devel/liblangtag/Makefile index ae49a3eec586..54af461800e3 100644 --- a/devel/liblangtag/Makefile +++ b/devel/liblangtag/Makefile @@ -1,22 +1,23 @@ PORTNAME= liblangtag PORTVERSION= 0.6.7 +PORTREVISION= 1 CATEGORIES= devel textproc MASTER_SITES= https://bitbucket.org/tagoh/liblangtag/downloads/ \ LOCAL/jkim MAINTAINER= office@FreeBSD.org COMMENT= Interface library to access tags for identifying languages WWW= https://bitbucket.org/tagoh/liblangtag/wiki/Home LICENSE= LGPL3 MPL20 LICENSE_COMB= dual GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= iconv gnome libtool pathfix pkgconfig tar:bzip2 USE_GNOME= libxml2 INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-introspection .include diff --git a/devel/libosinfo/Makefile b/devel/libosinfo/Makefile index b0785d008965..1d781a71e1dd 100644 --- a/devel/libosinfo/Makefile +++ b/devel/libosinfo/Makefile @@ -1,44 +1,44 @@ PORTNAME= libosinfo DISTVERSION= 1.12.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= https://releases.pagure.org/${PORTNAME}/ PATCH_SITES= https://gitlab.com/libosinfo/libosinfo/-/commit/ PATCHFILES+= 0adf385.patch:-p1 MAINTAINER= novel@FreeBSD.org COMMENT= Library for managing OS information for virtualization WWW= https://libosinfo.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsoup-2.4.so:devel/libsoup BUILD_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:misc/pciids \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids RUN_DEPENDS= ${BUILD_DEPENDS} \ osinfo-db-import:sysutils/osinfo-db-tools \ ${LOCALBASE}/share/osinfo/VERSION:misc/osinfo-db USES= gettext gnome meson perl5 pkgconfig tar:xz USE_GNOME= glib20 introspection:build libxml2 libxslt introspection:build USE_PERL5= build USE_LDCONFIG= yes MESON_ARGS= -Dlibsoup-abi=2.4 \ -Denable-vala=disabled \ -Dwith-usb-ids-path=${LOCALBASE}/share/usbids/usb.ids \ -Dwith-pci-ids-path=${LOCALBASE}/share/pciids/pci.ids SHLIB_VER= 0.1012.0 PLIST_SUB= SHLIB_VER=${SHLIB_VER} OPTIONS_DEFINE= GTKDOC OPTIONS_DEFAULT=GTKDOC OPTIONS_SUB= yes GTKDOC_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc GTKDOC_MESON_TRUE= enable-gtk-doc .include diff --git a/devel/librcc/Makefile b/devel/librcc/Makefile index aeafaddd9c16..702008d203d4 100644 --- a/devel/librcc/Makefile +++ b/devel/librcc/Makefile @@ -1,75 +1,75 @@ PORTNAME= librcc DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 0.2.13 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MAINTAINER= ports@FreeBSD.org COMMENT= Library used by rusxmms for language autodetection WWW= https://rusxmms.sourceforge.net LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= librcd.so:devel/librcd \ libenca.so:converters/enca \ libaspell.so:textproc/aspell USES= autoreconf compiler:c++11-lang gmake gnome iconv libtool \ localbase:ldflags pathfix pkgconfig USE_GITHUB= yes USE_GNOME= libxml2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip GH_ACCOUNT= RusXMMS GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk1 OPTIONS_DEFINE= BDB TRANSLATE TOOLS GTK2 GTK3 OPTIONS_DEFAULT=TOOLS GTK3 OPTIONS_SUB= yes BDB_DESC= Translation database support BDB_CONFIGURE_ENABLE= bdb BDB_CPPFLAGS= -I${BDB_INCLUDE_DIR} BDB_LDFLAGS= -L${BDB_LIB_DIR} BDB_USES= bdb TRANSLATE_DESC= Online translation support TRANSLATE_CONFIGURE_ENABLE= libtranslate TRANSLATE_LIB_DEPENDS= libtranslate.so:textproc/libtranslate TOOLS_DESC= Recode configuration utility TOOLS_EXTRA_PATCHES= ${FILESDIR}/extrapatch-rcc-config GTK2_CONFIGURE_ENABLE= gtk2 GTK2_USE= GNOME=gtk20 GTK3_CONFIGURE_ENABLE= gtk3 GTK3_USE= GNOME=gtk30 .include .if empty(ICONV_LIB) CONFIGURE_ARGS+=--enable-force-system-iconv .endif .if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK3} CONFIGURE_ARGS+=--enable-glib2 PLIST_SUB+= WITH_GLIB2="" .else CONFIGURE_ARGS+=--disable-glib2 PLIST_SUB+= WITH_GLIB2="@comment " .endif pre-everything:: .if ${ARCH} == "i386" .if ${PORT_OPTIONS:MBDB} || ${PORT_OPTIONS:MTRANSLATE} @${ECHO} 'BDB/LibTranslate support may cause breakages in depended apps on ${ARCH}' @${ECHO} 'Use it with caution' .endif .endif .include diff --git a/devel/librest/Makefile b/devel/librest/Makefile index cdf593c342e9..d0656c616cf7 100644 --- a/devel/librest/Makefile +++ b/devel/librest/Makefile @@ -1,38 +1,38 @@ PORTNAME= rest PORTVERSION= 0.8.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel www MASTER_SITES= GNOME MAINTAINER= cmt@burggraben.net COMMENT= Easy access to RESTful web services WWW= https://wiki.gnome.org/Projects/Librest LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ca_root_nss>0:security/ca_root_nss LIB_DEPENDS= libsoup-2.4.so:devel/libsoup RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gmake gnome libtool pathfix pkgconfig tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt USE_LDCONFIG= yes USE_GNOME= glib20 libxml2 introspection:build INSTALL_TARGET= install-strip TEST_TARGET= check PORTEXAMPLES= *.c OPTIONS_DEFINE= EXAMPLES post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-0.7.so.0 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-extras-0.7.so.0 post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/devel/libsmpp34/Makefile b/devel/libsmpp34/Makefile index 168d836171b6..f8e4ac5eaccd 100644 --- a/devel/libsmpp34/Makefile +++ b/devel/libsmpp34/Makefile @@ -1,30 +1,30 @@ PORTNAME= libsmpp34 PORTVERSION= 1.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= http://chaosophia.net/downloads/osmocom/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Provide an implementation of SMPP-3.4 protocol for PDUs handling WWW= https://c-open-smpp-34.sourceforge.net/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf gnome libtool pathfix USE_GNOME= libxml2 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} 's|malloc.h|stdlib.h|' \ ${WRKSRC}/src/smpp34_dumpBuf.c \ ${WRKSRC}/src/smpp34_dumpPdu.c \ ${WRKSRC}/src/smpp34_pack.c \ ${WRKSRC}/src/smpp34_params.c \ ${WRKSRC}/src/smpp34_structs.c \ ${WRKSRC}/src/smpp34_unpack.c @${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version .include diff --git a/devel/libsoup/Makefile b/devel/libsoup/Makefile index 59bcca0f360e..ca818a1e099c 100644 --- a/devel/libsoup/Makefile +++ b/devel/libsoup/Makefile @@ -1,79 +1,80 @@ PORTNAME= libsoup DISTVERSION= 2.74.3 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= SOAP (Simple Object Access Protocol) implementation in C WWW= https://libsoup.org/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= glib-networking>=2.29.18:net/glib-networking LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libpsl.so:dns/libpsl RUN_DEPENDS= glib-networking>=2.29.18:net/glib-networking USES= cpe gettext gnome localbase meson \ pkgconfig python:build sqlite ssl tar:xz USE_GNOME= glib20 intlhack introspection:build \ libxml2 USE_LDCONFIG= yes CPE_VENDOR= gnome OPTIONS_DEFINE= DOCS SMB OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_DEFAULT= SMB GSSAPI_${${SSL_DEFAULT} == base :?BASE :NONE} DOCS_MESON_TRUE= gtk_doc DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc DOCSDIR= ${PREFIX}/share/gtk-doc/html/${PORTNAME}-${RELVERSION} # Circular dependency samba -> tracker -> libsoup if the SPOTLIGHT # option is turned on in samba. Since samba is a **runtime** only # dependency, we can just tell it to be used. However, the Meson # build does a **build** time check for samba (even though the code does # a run-time check, too). # # Runtime deps still trigger a build / a dependency cycle, so as # a stopgap, patch it in, don't build anything, and inform the # user via pkg-message. # SMB_USES= samba:run SMB_MESON_ENABLED= ntlm GSSAPI_BASE_USES= gssapi GSSAPI_BASE_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG} GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_HEIMDAL_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG} GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG} GSSAPI_NONE_MESON_DISABLED= gssapi MESON_ARGS= -Dvapi=disabled \ -Dsysprof=disabled \ -Dtests=false \ -Dgnome=true \ -Dbrotli=disabled # RELVERSION also used in DOCSDIR, above RELVERSION= 2.4 LIBVERSION= 1.11.2 PLIST_SUB= VERSION=${RELVERSION} LIBVERSION=${LIBVERSION} PORTSCOUT= limit:^2\.[0-9]?[02468]\. post-patch: ${REINPLACE_CMD} \ -e 's+@@NTLM_AUTH@@+${LOCALBASE}/bin/ntlm_auth+' \ ${WRKSRC}/meson.build post-install-DOCS-on: ${INSTALL_MAN} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/NEWS .include diff --git a/devel/libvirt-glib/Makefile b/devel/libvirt-glib/Makefile index 0cd9987e2369..8c5600d6471f 100644 --- a/devel/libvirt-glib/Makefile +++ b/devel/libvirt-glib/Makefile @@ -1,37 +1,38 @@ PORTNAME= libvirt-glib PORTVERSION= 5.0.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://download.libvirt.org/glib/ MAINTAINER= novel@FreeBSD.org COMMENT= Glib bindings for Libvirt virtualization API WWW= https://www.libvirt.org LICENSE= GPLv2 LIB_DEPENDS= libvirt.so:devel/libvirt USES= gettext gmake gnome meson pathfix pkgconfig \ python tar:xz OPTIONS_DEFINE= DOCS VAPI OPTIONS_DEFAULT= DOCS VAPI OPTIONS_SUB= yes DOCS_MESON_ENABLED= docs DOCS_BUILD_DEPENDS= gtk-doc>=0:textproc/gtk-doc VAPI_MESON_ENABLED= vapi VAPI_USES= vala:build MESON_ARGS+= -Dintrospection=enabled -Dgit_werror=disabled USE_LDCONFIG= yes USE_GNOME= intlhack introspection libxml2 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -fstack-protector LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip SHLIB_VER= ${PORTVERSION:C/(^[0-9])\./0.\100/} PLIST_SUB= VERSION=1.0 \ SHLIB_VER=${SHLIB_VER} .include diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile index bf560c512e90..be2274d1e127 100644 --- a/devel/libvirt/Makefile +++ b/devel/libvirt/Makefile @@ -1,219 +1,220 @@ PORTNAME= libvirt DISTVERSION= 11.4.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://libvirt.org/sources/ \ ftp://libvirt.org/libvirt/ MAINTAINER= novel@FreeBSD.org COMMENT= Toolkit to interact with virtualization capabilities WWW= https://libvirt.org/ LICENSE= LGPL3 LIB_DEPENDS= libcurl.so:ftp/curl \ libgnutls.so:security/gnutls BUILD_DEPENDS= dnsmasq:dns/dnsmasq \ ggrep:textproc/gnugrep \ gsed:textproc/gsed \ rst2html:textproc/py-docutils@${PY_FLAVOR} \ xsltproc:textproc/libxslt RUN_DEPENDS= dnsmasq:dns/dnsmasq OPTIONS_DEFINE= DOCS NLS NSS QEMU READLINE SASL LIBSSH LIBSSH2 ZFS OPTIONS_DEFAULT= READLINE LIBSSH LIBSSH2 ZFS OPTIONS_DEFINE_amd64= XEN .if exists(/usr/sbin/bhyveload) OPTIONS_DEFINE+= BHYVE OPTIONS_DEFAULT+= BHYVE .else PLIST_SUB+= BHYVE="@comment " SUB_LIST+= BHYVE="@comment " MESON_ARGS+= -Ddriver_bhyve=disabled .endif QEMU_DESC= QEMU driver BHYVE_DESC= bhyve driver XEN_DESC= Xen support via libxl NSS_DESC= Name Service Switch plugin LIBSSH_DESC= libssh remote transport LIBSSH2_DESC= libssh2 remote transport ZFS_DESC= ZFS storage driver OPTIONS_SUB= yes BHYVE_MESON_ENABLED= driver_bhyve QEMU_MESON_ENABLED= driver_qemu QEMU_RUN_DEPENDS= dmidecode:sysutils/dmidecode \ qemu-io:emulators/qemu NLS_USES= gettext NLS_MESON_ENABLED= nls NLS_CFLAGS= -I${LOCALBASE}/include NSS_MESON_ENABLED= nss READLINE_MESON_ENABLED= readline READLINE_USES= readline SASL_MESON_ENABLED= sasl SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 XEN_MESON_ENABLED= driver_libxl XEN_CFLAGS= -I${LOCALBASE}/include XEN_LIB_DEPENDS= libxenlight.so:sysutils/xen-tools LIBSSH_MESON_ENABLED= libssh LIBSSH_LIB_DEPENDS= libssh.so:security/libssh LIBSSH2_MESON_ENABLED= libssh2 LIBSSH2_LIB_DEPENDS= libssh2.so:security/libssh2 ZFS_MESON_ENABLED= storage_zfs MESON_ARGS+= \ -Dapparmor=disabled \ -Dapparmor_profiles=disabled \ -Dattr=disabled \ -Daudit=disabled \ -Dblkid=disabled \ -Dcapng=disabled \ -Ddriver_ch=disabled \ -Ddriver_hyperv=disabled \ -Ddriver_interface=disabled \ -Ddriver_libxl=disabled \ -Ddriver_lxc=disabled \ -Ddriver_openvz=disabled \ -Ddriver_remote=enabled \ -Ddriver_vz=disabled \ -Dfirewalld=disabled \ -Dfirewalld_zone=disabled \ -Dfuse=disabled \ -Dglusterfs=disabled \ -Dlibiscsi=disabled \ -Dlibnl=disabled \ -Dlibpcap=disabled \ -Dnumactl=disabled \ -Dnumad=disabled \ -Dopenwsman=disabled \ -Dpciaccess=disabled \ -Dpolkit=disabled \ -Dsanlock=disabled \ -Dsecdriver_apparmor=disabled \ -Dsecdriver_selinux=disabled \ -Dselinux=disabled \ -Dssh_proxy=disabled \ -Dstorage_disk=disabled \ -Dstorage_fs=disabled \ -Dstorage_gluster=disabled \ -Dstorage_iscsi=disabled \ -Dstorage_iscsi_direct=disabled \ -Dstorage_lvm=disabled \ -Dstorage_mpath=disabled \ -Dstorage_rbd=disabled \ -Dstorage_vstorage=disabled \ -Dudev=disabled \ -Dnetcf=disabled \ -Dsysctl_config=disabled \ -Dnbdkit=disabled \ -Dnbdkit_config_default=disabled \ -Dlogin_shell=disabled \ -Dwireshark_dissector=disabled \ -Dinit_script=none \ -Dbash_completion=disabled \ -Duserfaultfd_sysctl=disabled \ -Drunstatedir=/var/run # random_data fix can be removed when 8.x is eol CONFIGURE_ENV= ac_cv_type_struct_random_data="" # limit production release x.x.x PORTSCOUT= limit:\d+\.\d+\.\d+$$ LDFLAGS+= -L${LOCALBASE}/lib -fstack-protector USES= gnome charsetfix compiler:c++0x cpe gettext-runtime gmake \ meson pathfix perl5 python:build pkgconfig shebangfix tar:xz USE_GNOME= glib20 libxml2 USE_RC_SUBR= libvirtd virtlogd CPE_VENDOR= redhat USE_PERL5= build USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check SHLIB_VER= 0.11004.0 PLIST_SUB+= SHLIB_VER=${SHLIB_VER} PORTDOCS= * #SHEBANG_FILES= src/keycodemapdb/tools/keymap-gen BINARY_ALIAS= python3=${PYTHON_CMD} SUB_FILES= pkg-message .include .if ${PORT_OPTIONS:MQEMU} || ${PORT_OPTIONS:MNSS} LIB_DEPENDS+= libjson-c.so:devel/json-c MESON_ARGS+= -Djson_c=enabled .else MESON_ARGS+= -Djson_c=disabled .endif .if !${PLIST_SUB:MXEN} PLIST_SUB+= XEN="@comment " .endif CONF_FILES= \ bhyve.conf \ libvirt-admin.conf \ libvirt.conf \ libvirtd.conf \ libxl.conf \ network.conf \ qemu.conf \ virtbhyved.conf \ virtlockd.conf \ virtlogd.conf \ virtnetworkd.conf \ virtproxyd.conf \ virtqemud.conf \ virtsecretd.conf \ virtstoraged.conf \ virtvboxd.conf \ virtxend.conf post-install: @${MKDIR} ${STAGEDIR}${ETCDIR}/qemu/networks/autostart @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS.rst NEWS.rst README.rst ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .for dir in run/libvirt/network \ run/libvirt/qemu \ run/libvirt/lockd \ log/libvirt/uml \ log/libvirt/qemu \ log/libvirt/lxc \ lib/libvirt/boot \ lib/libvirt/lockd/files \ lib/libvirt/images \ lib/libvirt/dnsmasq \ lib/libvirt/filesystems \ lib/libvirt/network \ lib/libvirt/qemu/channel/target \ cache/libvirt/qemu @${MKDIR} "${STAGEDIR}/var/${dir}" .endfor .for file in ${CONF_FILES} @if test -f ${STAGEDIR}${ETCDIR}/${file}; then \ ${MV} ${STAGEDIR}${ETCDIR}/${file} \ ${STAGEDIR}${ETCDIR}/${file}.sample; fi .endfor .include .if ${ARCH} == amd64 || ${ARCH} == i386 RUN_DEPENDS+= dmidecode:sysutils/dmidecode .endif .include diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile index c47df090efac..dd29f0714961 100644 --- a/devel/llvm-devel/Makefile +++ b/devel/llvm-devel/Makefile @@ -1,540 +1,540 @@ PORTNAME= llvm PORTVERSION= ${LLVM_MAJOR}.0.d${SNAPDATE} -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel lang PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang WWW= https://llvm.org/ .include "Makefile.LICENSE" LIB_DEPENDS= libzstd.so:archivers/zstd FLAVORS= default lite FLAVOR?= ${FLAVORS:[1]} lite_PKGNAMESUFFIX= ${LLVM_SUFFIX}-lite LLVM_MAJOR_MINOR=${LLVM_RELEASE:C/\.[0-9]$//} LLVM_SUFFIX= -devel LLVM_DIR= llvm${LLVM_SUFFIX} LLVM_PREFIX= ${PREFIX}/${LLVM_DIR} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} USES= cmake compiler:c++17-lang cpe shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= \ clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py \ clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py \ clang-tools-extra/clang-tidy/tool/run-clang-tidy.py \ clang/tools/clang-format/clang-format-diff.py \ clang/tools/clang-format/git-clang-format \ clang/tools/scan-build-py/bin/analyze-build \ clang/tools/scan-build-py/bin/intercept-build \ clang/tools/scan-build-py/bin/scan-build \ clang/tools/scan-build-py/libexec/analyze-c++ \ clang/tools/scan-build-py/libexec/analyze-cc \ clang/tools/scan-build-py/libexec/intercept-c++ \ clang/tools/scan-build-py/libexec/intercept-cc \ clang/tools/scan-view/bin/scan-view \ clang/utils/hmaptool/hmaptool \ llvm/tools/opt-viewer/opt-diff.py \ llvm/tools/opt-viewer/opt-stats.py \ llvm/tools/opt-viewer/opt-viewer.py \ llvm/tools/opt-viewer/optrecord.py \ llvm/utils/lit/lit.py \ llvm/utils/llvm-lit/llvm-lit.in LIT_MOD_NAME= lit${LLVM_SUFFIX:S/-/_/g} SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_SOURCE_PATH= ${WRKSRC}/llvm CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON CMAKE_ARGS+= -DLLVM_LINK_LLVM_DYLIB=ON CMAKE_ARGS+= -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON CMAKE_ARGS+= -DLLVM_ENABLE_RTTI=ON CMAKE_ARGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_HOST_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_PARALLEL_LINK_JOBS=1 CMAKE_ARGS+= -DLLVM_ENABLE_Z3_SOLVER=OFF CMAKE_ARGS+= -DLLVM_ENABLE_LIBXML2=OFF CMAKE_ARGS+= -DLLVM_ENABLE_LIBEDIT=OFF CMAKE_ARGS+= -DLLVM_ENABLE_ASSERTIONS=ON USE_GITHUB= yes GH_PROJECT= llvm-project GH_TAGNAME= ${LLVM_PROJECT_COMMIT} .include "Makefile.snapshot" OPTIONS_DEFINE= CLANG COMPILER_RT DOCS LLD STATIC_LIBS OPTIONS_DEFAULT= CLANG LLD OPTIONS_EXCLUDE_armv6= COMPILER_RT OPTIONS_EXCLUDE_armv7= COMPILER_RT OPTIONS_SUB= yes .if !${FLAVOR:Mlite} OPTIONS_DEFINE+= EXTRAS FLANG LIT LLDB MLIR OPENMP POLLY OPTIONS_DEFINE_amd64= GOLD OPTIONS_DEFINE_powerpc= GOLD OPTIONS_DEFINE_powerpc64= GOLD OPTIONS_DEFINE_powerpc64le= GOLD OPTIONS_DEFAULT+= COMPILER_RT EXTRAS FLANG LIT LLDB MLIR OPENMP POLLY \ STATIC_LIBS OPTIONS_DEFAULT_amd64= GOLD OPTIONS_DEFAULT_powerpc= GOLD OPTIONS_DEFAULT_powerpc64= GOLD OPTIONS_DEFAULT_powerpc64le= GOLD # COMPILER_RT disabled due to https://github.com/llvm/llvm-project/issues/63418 OPTIONS_EXCLUDE_aarch64= COMPILER_RT FLANG OPENMP OPTIONS_EXCLUDE_armv6+= FLANG OPENMP OPTIONS_EXCLUDE_armv7+= FLANG OPENMP OPTIONS_EXCLUDE_i386= FLANG OPENMP OPTIONS_EXCLUDE_powerpc= FLANG OPENMP OPTIONS_EXCLUDE_riscv64= LLDB .endif _ALL_OPTIONS= CLANG COMPILER_RT DOCS EXTRAS FLANG GOLD LIT LLD LLDB MLIR \ OPENMP POLLY STATIC_LIBS CLANG_DESC= Build clang CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_PLIST_FILES= share/toolchains/llvm${LLVM_SUFFIX}.mk CLANG_SUB_FILES= xtoolchain.mk CLANG_SUB_LIST= XCC=clang${LLVM_SUFFIX} \ XCXX=clang++${LLVM_SUFFIX} \ XCPP=clang-cpp${LLVM_SUFFIX} \ XLD=ld.lld${LLVM_SUFFIX} \ X_COMPILER_TYPE=clang CLANG_USES= perl5 .if ${FLAVOR:Mlite} # scan-build does require perl, but lite users can install it manually. CLANG_USE= PERL5=build .endif COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_IMPLIES= CLANG COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS} COMPILER_RT_CONFLICTS_BUILD=${ARCH}-binutils DOCS_BUILD_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}myst-parser>0:textproc/py-myst-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}recommonmark>=0.0.20180530:textproc/py-recommonmark@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-markdown-tables>=0:textproc/py-sphinx-markdown-tables@${PY_FLAVOR} DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= \ -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_EXECUTABLE=${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|share/man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_PLIST_DIRS= ${LLVM_DIR}/include/clang-tidy/plugin FLANG_DESC= Flang FORTRAN compiler FLANG_IMPLIES= MLIR FLANG_PORTDOCS= flang FLANG_PLIST_DIRS= ${LLVM_DIR}/include/flang/Config GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils GOLD_PLIST_FILES= ${LLVM_DIR}/lib/LLVMgold.so LIT_DESC= Install lit and FileCheck test tools LIT_VARS= _USES_PYTHON=python LIT_PLIST_SUB= LIT_MOD_NAME=${LIT_MOD_NAME} LLD_DESC= Install lld, the LLVM linker LLDB_BUILD_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \ swig:devel/swig LLDB_DESC= Install lldb, the LLVM debugger LLDB_IMPLIES= CLANG LLDB_PLIST_SUB= PYTHON_ABIVER=${PYTHON_ABIVER} LLDB_USES= lua:54 libedit LLDB_USE= GNOME=libxml2 LLDB_VARS= _USES_PYTHON=python MLIR_DESC= Multi-Level Intermediate Representation OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_CMAKE_ON= \ -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB=OFF \ -DLIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR="" \ -DLIBOMPTARGET_DEP_LIBFFI_LIBRARIES="" POLLY_DESC= Polyhedral loop and data-locality optimizer POLLY_PORTDOCS= polly STATIC_LIBS_DESC= Install static libraries (does not effect sanitizers) CONFLICTS_INSTALL= ${PORTNAME}${LLVM_SUFFIX} ${PORTNAME}${LLVM_SUFFIX}-lite PLIST_SUB+= CONFIGURE_TARGET=${CONFIGURE_TARGET} \ LLVM_MAJOR_MINOR=${LLVM_MAJOR_MINOR} \ LLVM_MAJOR=${LLVM_MAJOR} \ LLVM_RELEASE=${LLVM_RELEASE} COMMANDS= ${LLVM_COMMANDS} FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} MAN1SRCS+= ${LLVM_MAN1SRCS} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_LIBS= \ libclangApplyReplacements \ libclangChangeNamespace \ libclangDaemon \ libclangDoc \ libclangIncludeCleaner \ libclangIncludeFixer \ libclangMove \ libclangPseudo \ libclangQuery \ libclangRename \ libclangReorderFields \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_FILES= index.js EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g}|${EXTRAS_FILES:tW:C/ */|/g} FLANG_PATTERN= ${FLANG_COMMANDS:S/^/bin./:tW:C/ */|/g}|flang|libCUF|libFIR|libFlang|libFortran|libHLFIR|ISO_Fortran_binding.h MLIR_PATTERN= ${MLIR_COMMANDS:S/^/bin./:tW:C/ */|/g}|mlir|libMLIR|obj.MLIRCAP .include # keep in sync with /usr/src/lib/clang/clang.build.mk # ----------- start of sync block ------------------ # Armv6 and armv7 uses hard float abi, unless the CPUTYPE has soft in it. # arm (for armv4 and armv5 CPUs) always uses the soft float ABI. # For all other targets, we stick with 'unknown'. .if ${ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") TARGET_ABI= -gnueabihf .elif ${ARCH:Marm*} TARGET_ABI= -gnueabi .else TARGET_ABI= .endif CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-portbld-${OPSYS:tl}${OSREL}${TARGET_ABI} # ----------- end of sync block -------------------- .if ${PORT_OPTIONS:MCLANG} LLVM_ENABLE_PROJECTS+= clang COMMANDS+= ${CLANG_COMMANDS} MAN1SRCS+= ${CLANG_MAN1SRCS} CLANG_PATTERN= (amdgpu-arch|c-index-test|clang|diagtool|hmaptool|intercept-|libear|libscanbuild|nvptx-arch|analyze-|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|c..-analyzer|AnalyzerPlugin.so) USES+= gnome .endif .if ${PORT_OPTIONS:MCOMPILER_RT} LLVM_ENABLE_RUNTIMES+= compiler-rt COMPILER_RT_PATTERN= (sanitizer|include.xray|include\/(fuzzer|orc)|profile\/InstrProfData.inc|profile\/instr_prof_interface.h) .endif .if ${PORT_OPTIONS:MEXTRAS} LLVM_ENABLE_PROJECTS+= clang-tools-extra COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= ${EXTRAS_MAN1SRCS} PORTDOCS+= clang-tools .endif .if ${PORT_OPTIONS:MFLANG} LLVM_ENABLE_PROJECTS+= flang LLVM_ENABLE_RUNTIMES+= flang-rt COMMANDS+= ${FLANG_COMMANDS} .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= ${LIT_MAN1SRCS} .endif .if ${PORT_OPTIONS:MLLD} LLVM_ENABLE_PROJECTS+= lld COMMANDS+= ${LLD_COMMANDS} PORTDOCS+= lld .endif .if ${PORT_OPTIONS:MLLDB} LLVM_ENABLE_PROJECTS+= lldb MAN1SRCS+= ${LLDB_MAN1SRCS} COMMANDS+= ${LLDB_COMMANDS} .endif .if ${PORT_OPTIONS:MMLIR} LLVM_ENABLE_PROJECTS+= mlir MAN1SRCS+= ${MLIR_MAN1SRCS} COMMANDS+= ${MLIR_COMMANDS} .endif .if ${PORT_OPTIONS:MOPENMP} LLVM_ENABLE_RUNTIMES+= openmp USE_LDCONFIG+= ${LLVM_PREFIX}/lib/${CONFIGURE_TARGET} MAN1SRCS+= ${OPENMP_MAN1SRCS} COMMANDS+= ${OPENMP_COMMANDS} .endif #OPENMP_PATTERN= ${OPENMP_COMMANDS:tW:C/ */|/g}|cmake\/openmp|libarcher|lib[ig]*omp|omp.h|ompt.h|ompt-multiplex.h|ompx.h|omp-tools.h|omp_lib OPENMP_PATTERN= cmake\/openmp|libarcher|lib[ig]*omp|omp.h|ompt.h|ompt-multiplex.h|ompx.h|omp-tools.h|omp_lib .if ${PORT_OPTIONS:MPOLLY} LLVM_ENABLE_PROJECTS+= polly MAN1SRCS+= ${POLLY_MAN1SRCS} .endif POLLY_PATTERN= include\/polly|cmake\/polly|LLVMPolly.so|libPolly .if defined(LLVM_ENABLE_PROJECTS) CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}" .endif .if defined(LLVM_ENABLE_RUNTIMES) CMAKE_ARGS+= -DLLVM_ENABLE_RUNTIMES="${LLVM_ENABLE_RUNTIMES:ts;}" .endif .include .include "${.CURDIR}/Makefile.COMMANDS" .include "${.CURDIR}/Makefile.MAN1SRCS" .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif .if ${ARCH} == "aarch64" COMPILER_RT_ARCHS= aarch64 .elif ${ARCH} == "amd64" COMPILER_RT_ARCHS= x86_64 .if exists(/usr/lib32/libc.so.7) COMPILER_RT_ARCHS+= i386 .endif .elif ${ARCH} == "i386" COMPILER_RT_ARCHS= i386 .elif ${ARCH} == "powerpc" COMPILER_RT_ARCHS= powerpc .elif ${ARCH} == "powerpc64" COMPILER_RT_ARCHS= powerpc64 .if exists(/usr/lib32/libc.so.7) COMPILER_RT_ARCHS+= powerpc .endif .elif ${ARCH} == "powerpc64le" COMPILER_RT_ARCHS= powerpc64le .elif ${ARCH} == "riscv64" COMPILER_RT_ARCHS= riscv64 .endif _CRTBASEDIR= ${LLVM_DIR}/lib/clang/${LLVM_MAJOR} _CRTILDIR= ${_CRTBASEDIR}/share .if ${ARCH} != powerpc COMPILER_RT_PLIST_FILES+= ${COMPILER_RT_IGNORELISTS:S|^|${_CRTILDIR}/|} .endif _CRTLIBDIR= ${_CRTBASEDIR}/lib .include "Makefile.RUNTIMES" _COMPILER_RT_LIBS= .for CRT_ARCH in ${COMPILER_RT_ARCHS} _COMPILER_RT_LIBS:= ${_COMPILER_RT_LIBS} ${COMPILER_RT_LIBS_${CRT_ARCH}:S|^|${_CRTLIBDIR}/${CRT_ARCH}-portbld-${OPSYS:tl}${OSREL}/|} .endfor COMPILER_RT_IGNORELISTS= .for RT in asan cfi msan .if ${_COMPILER_RT_LIBS:M*/libclang_rt.${RT}.a} COMPILER_RT_IGNORELISTS:= ${COMPILER_RT_IGNORELISTS} ${RT}_ignorelist.txt .endif .endfor # Strip empty element COMPILER_RT_IGNORELISTS:=${COMPILER_RT_IGNORELISTS:N^$$} # Comment out plist entries for unsupported options. .for opt in ${_ALL_OPTIONS} .if !${OPTIONS_DEFINE:M${opt}} PLIST_SUB+= ${opt}="@comment " .endif .endfor post-patch: ${REINPLACE_CMD} -e 's|import lit|import ${LIT_MOD_NAME}|' \ -e 's|from lit|from ${LIT_MOD_NAME}|' \ -e 's|lit\.|${LIT_MOD_NAME}.|g' \ ${WRKSRC}/llvm/utils/lit/lit.py \ ${WRKSRC}/llvm/utils/lit/lit/*.py \ ${WRKSRC}/llvm/utils/lit/lit/builtin_commands/*.py \ ${WRKSRC}/llvm/utils/lit/lit/formats/*.py \ ${WRKSRC}/llvm/utils/lit/lit/llvm/*.py post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${WRKSRC}/clang/lib/Driver/ToolChains/CommonArgs.cpp ${REINPLACE_CMD} -e 's|%%LLVM_SUFFIX%%|${LLVM_SUFFIX}|' \ ${WRKSRC}/clang/tools/clang-format/clang-format.py \ ${WRKSRC}/clang/tools/clang-format/clang-format-sublime.py \ ${WRKSRC}/clang/tools/clang-format/git-clang-format post-patch-LLD-on: ${REINPLACE_CMD} -e "s|'indexsidebar.html'|['indexsidebar.html']|" \ ${WRKSRC}/lld/docs/conf.py post-install: ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${RM} -r ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc/LLVM/* ${STAGEDIR}${DOCSDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc/LLVM ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RM} "${STAGEDIR}${LLVM_PREFIX}/share/man/man1/tblgen Family.1" ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${MKDIR} ${STAGEDIR}${PREFIX}/share/toolchains/ ${INSTALL_DATA} ${WRKDIR}/xtoolchain.mk \ ${STAGEDIR}${PREFIX}/share/toolchains/llvm${LLVM_SUFFIX}.mk ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/clang/Basic/Target/MSP430/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/clang/Basic/Target/ post-install-EXTRAS-on: ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/clang-tidy/misc/ConfusableTable post-install-FLANG-on: ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/CodeGen/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/Dialect/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/Dialect/CUF/Attributes/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/Dialect/CUF/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/HLFIR/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/OpenMP/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/Transforms/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/CMakeFiles post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/llvm/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -fs ../${LLVM_DIR}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -fs ../${LLVM_DIR}/bin/llvm-lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${LIT_MOD_NAME} ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${LIT_MOD_NAME} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${LIT_MOD_NAME}/builtin_commands ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/builtin_commands/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${LIT_MOD_NAME}/builtin_commands/ ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${LIT_MOD_NAME}/formats ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${LIT_MOD_NAME}/formats/ ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${LIT_MOD_NAME}/llvm ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/llvm/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${LIT_MOD_NAME}/llvm/ ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -fs ../${LLVM_DIR}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} post-install-LLD-on: ${LN} -s ld.lld ${STAGEDIR}${LLVM_PREFIX}/bin/ld TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' do-test: if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi post-install-STATIC_LIBS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/lib*.a build-plist: @[ -d ${STAGEDIR} ] || (echo "Can't make plist before package is staged ${STAGEDIR}" && exit 1) ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_DIR}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '_ignorelist.txt$$' | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' \ -e 's|${PYTHON_TAG:C/\./\\./g}${PYTHON_ABIVER}|%%PYTHON_TAG%%%%PYTHON_ABIVER%%|' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR_MINOR:C/\./\\./}git|%%LLVM_MAJOR_MINOR%%git|' \ -e 's|${LLVM_MAJOR}git|%%LLVM_MAJOR%%git|' \ -e 's|/${LLVM_MAJOR}/|/%%LLVM_MAJOR%%/|' \ -e 's|\([-./]\)${LLVM_MAJOR:C/\./\\./}$$|\1%%LLVM_MAJOR%%|' \ -e 's|${CONFIGURE_TARGET}|%%CONFIGURE_TARGET%%|' \ | ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/${LIT_MOD_NAME} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LIT_MOD_NAME}|%%LIT_MOD_NAME%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR}|%%LLVM_MAJOR%%|' | \ ${SORT} >> ${PLIST}.tmp ${AWK} '{ \ if ($$0 ~ /lib.lib[a-zA-Z].*\.a$$/) {printf "%%%%STATIC_LIBS%%%%"} \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /${OPENMP_PATTERN}|${EXTRAS_PATTERN}|${COMPILER_RT_PATTERN}|lib[a-z]*_rt/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /(${FLANG_PATTERN})/) {printf "%%%%FLANG%%%%"} \ if ($$0 ~ /(bin\/(ld|lld|wasm-ld))|liblld[^b]|\/lld\// && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /(${MLIR_PATTERN})/) {printf "%%%%MLIR%%%%"} \ if ($$0 ~ /(${OPENMP_PATTERN})/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /(${POLLY_PATTERN})/) {printf "%%%%POLLY%%%%"} \ if ($$0 !~ /(lib[a-z]*_rt|LLVMgold)/) {print} \ if ($$0 ~ /libflang_rt.runtime.a/) {print} \ }' ${PLIST}.tmp >> ${PLIST} ${ECHO_CMD} '@postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi' >> ${PLIST} ${ECHO_CMD} '@postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi' >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .include diff --git a/devel/llvm11/Makefile b/devel/llvm11/Makefile index 776ca462744e..d4a40bf20e4d 100644 --- a/devel/llvm11/Makefile +++ b/devel/llvm11/Makefile @@ -1,590 +1,590 @@ PORTNAME= llvm DISTVERSION= 11.0.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= devel lang MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \ https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} DISTNAME= ${PORTNAME}-${DISTVERSION}.src DISTFILES= ${PORTNAME}-${DISTVERSION}.src${EXTRACT_SUFX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang WWW= https://llvm.org/ LICENSE_DIR= ${WRKSRC} LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" LLVM_RELEASE= ${DISTVERSION:C/rc.*//} LLVM_MAJOR= ${LLVM_RELEASE:C/\.[0-9]\.[0-9]$//} LLVM_SUFFIX= ${LLVM_MAJOR} PRE_= ${DISTVERSION:C/.*rc.*/pre/:N*[0-9]*} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} LLVM_DIR= llvm${LLVM_SUFFIX} LLVM_PREFIX= ${PREFIX}/${LLVM_DIR} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} USES= cmake compiler:c++11-lib cpe libedit perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in \ tools/opt-viewer/optrecord.py \ tools/opt-viewer/opt-diff.py \ tools/opt-viewer/opt-stats.py \ tools/opt-viewer/opt-viewer.py SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON CMAKE_ARGS+= -DLLVM_ENABLE_RTTI=ON CMAKE_ARGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_HOST_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_PARALLEL_LINK_JOBS=1 CMAKE_ARGS+= -DLLVM_ENABLE_Z3_SOLVER=OFF # LLVM likes to pick up ${LOCALBASE}/lib/libtinfo.so.* CMAKE_ARGS+= -DLLVM_ENABLE_TERMINFO=OFF OPTIONS_DEFINE= BE_AMDGPU BE_WASM CLANG DOCS EXTRAS LIT LLD LLDB PYCLANG OPTIONS_DEFINE_aarch64= OPENMP OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPENMP OPTIONS_DEFINE_powerpc= GOLD OPTIONS_DEFINE_powerpc64= GOLD OPENMP OPTIONS_DEFINE_powerpc64le= GOLD OPENMP OPTIONS_DEFAULT= BE_AMDGPU BE_STANDARD BE_WASM CLANG EXTRAS LIT LLD LLDB PYCLANG OPTIONS_DEFAULT_aarch64= OPENMP OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP OPTIONS_DEFAULT_powerpc= GOLD OPTIONS_DEFAULT_powerpc64= GOLD OPENMP OPTIONS_DEFAULT_powerpc64le= GOLD OPENMP OPTIONS_SINGLE= BACKENDS OPTIONS_SINGLE_BACKENDS=BE_FREEBSD BE_NATIVE BE_STANDARD OPTIONS_SUB= yes BE_AMDGPU_DESC= AMD GPU backend (required by mesa) BE_FREEBSD_DESC= Backends for FreeBSD architectures BE_FREEBSD_CMAKE_ON= -DLLVM_TARGETS_TO_BUILD="${FREEBSD_BACKENDS:ts;}" BE_NATIVE_DESC= Backend(s) for this architecture (${_NATIVE_BACKENDS}) BE_NATIVE_CMAKE_ON= -DLLVM_TARGETS_TO_BUILD="${NATIVE_BACKENDS:ts;}" BE_STANDARD_DESC= All non-experimental backends BE_WASM_DESC= WebAssembly backend (required by firefox via wasi) .for BE in FREEBSD NATIVE STANDARD BE_${BE}_PLIST_FILES= ${_BE_LIBS_${BE}:O:S/$/.a/:S|^|${LLVM_DIR}/lib/libLLVM|} .endfor CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= ${PATCHDIR}/clang CLANG_DISTFILES= clang-${DISTVERSION}.src${EXTRACT_SUFX} CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_PLIST_FILES= share/toolchains/llvm${LLVM_SUFFIX}.mk CLANG_SUB_FILES= xtoolchain.mk CLANG_SUB_LIST= XCC=clang${LLVM_SUFFIX} \ XCXX=clang++${LLVM_SUFFIX} \ XCPP=clang-cpp${LLVM_SUFFIX} \ XLD=ld.lld${LLVM_SUFFIX} \ X_COMPILER_TYPE=clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_DISTFILES= compiler-rt-${DISTVERSION}.src${EXTRACT_SUFX} COMPILER_RT_EXTRA_PATCHES= ${PATCHDIR}/compiler-rt COMPILER_RT_CMAKE_ON= \ -DCOMPILER_RT_INSTALL_PATH=${LLVM_PREFIX}/lib/clang/${LLVM_RELEASE} COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} \ ${_COMPILER_RT_BLACKLISTS:S|^|${_CRTBLDIR}/|} DOCS_BUILD_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}recommonmark>=0.0.20180530:textproc/py-recommonmark@${PY_FLAVOR} DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= \ -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_EXECUTABLE=${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|share/man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_EXTRA_PATCHES= ${PATCHDIR}/extras EXTRAS_IMPLIES= CLANG EXTRAS_DISTFILES= clang-tools-extra-${DISTVERSION}.src${EXTRACT_SUFX} GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils LIT_DESC= Install lit and FileCheck test tools LIT_VARS= _USES_PYTHON=python LLD_DESC= Install lld, the LLVM linker LLD_DISTFILES= lld-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_BINARY_ALIAS= swig=swig40 LLDB_BUILD_DEPENDS= swig40:devel/swig40 LLDB_CMAKE_ON= \ -DLUA_INCLUDE_DIR=${LOCALBASE}/include/lua${LUA_VER_STR} \ -DLUA_LIBRARY=${LOCALBASE}/lib/liblua-${LUA_VER}.so \ -DCURSES_INCLUDE_PATH=/usr/include \ -DCURSES_CURSES_LIBRARY=/usr/lib/libcurses.so \ -DCURSES_FORM_LIBRARY=/usr/lib/libform.so \ -DCURSES_NCURSES_LIBRARY=/usr/lib/libncurses.so \ -DPANEL_LIBRARIES=/usr/lib/libpanel.so LLDB_DESC= Install lldb, the LLVM debugger LLDB_DISTFILES= lldb-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_EXTRA_PATCHES= ${PATCHDIR}/lldb LLDB_IMPLIES= CLANG LLDB_PORTDOCS= lldb LLDB_VARS= _USES_PYTHON=python OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_CMAKE_ON= \ -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR="/usr/include/libelf.h" \ -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES="/usr/lib/libelf.so" \ -DLIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR="" \ -DLIBOMPTARGET_DEP_LIBFFI_LIBRARIES="" OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp PYCLANG_DESC= Install python bindings to libclang PYCLANG_IMPLIES= CLANG PYCLANG_VARS= _USES_PYTHON=python PYCLANG_CMAKE_ON= -DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_VER} .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif # Emulate USE_GITHUB's ${WRKSRC_tag} to reduce diffs to ../llvm-devel .for option in CLANG COMPILER_RT EXTRAS LLD LLDB OPENMP WRKSRC_${option:tl}= ${WRKDIR}/${${option}_DISTFILES:S/${EXTRACT_SUFX}//} .endfor PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} \ LLVM_SUFFIX=${LLVM_SUFFIX} \ LLVM_MAJOR=${LLVM_MAJOR} COMMANDS= ${LLVM_COMMANDS} FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} MAN1SRCS+= ${LLVM_MAN1SRCS} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_LIBS= libclangApplyReplacements \ libclangChangeNamespace \ libclangDaemon \ libclangDoc \ libclangIncludeFixer \ libclangMove \ libclangQuery \ libclangRename \ libclangReorderFields \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_FILES= index.js EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g}|${EXTRAS_FILES:tW:C/ */|/g} .include # keep in sync with /usr/src/lib/clang/clang.build.mk # ----------- start of sync block ------------------ # Armv6 and armv7 uses hard float abi, unless the CPUTYPE has soft in it. # arm (for armv4 and armv5 CPUs) always uses the soft float ABI. # For all other targets, we stick with 'unknown'. .if ${ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") TARGET_ABI= -gnueabihf .elif ${ARCH:Marm*} TARGET_ABI= -gnueabi .else TARGET_ABI= .endif CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-portbld-${OPSYS:tl}${OSREL}${TARGET_ABI} # ----------- end of sync block -------------------- .if ${PORT_OPTIONS:MCLANG} COMMANDS+= ${CLANG_COMMANDS} MAN1SRCS+= ${CLANG_MAN1SRCS} CLANG_PATTERN= (c-index-test|clang|diagtool|hmaptool|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer|AnalyzerPlugin.so) SHEBANG_FILES+= tools/clang/tools/scan-view/bin/scan-view \ tools/clang/tools/clang-format/clang-format-diff.py \ tools/clang/tools/clang-format/git-clang-format \ tools/clang/utils/hmaptool/hmaptool USES+= gnome .endif .if ${PORT_OPTIONS:MCOMPILER_RT} COMPILER_RT_PATTERN= (sanitizer|include.xray|include\/fuzzer|profile\/InstrProfData.inc) .endif .if ${PORT_OPTIONS:MEXTRAS} COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= ${EXTRAS_MAN1SRCS} PORTDOCS+= clang-tools PLIST_DIRS+= ${LLVM_DIR}/include/clang-tidy/plugin SHEBANG_FILES+= tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py \ tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py \ tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= ${LIT_MAN1SRCS} .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= ${LLD_COMMANDS} PORTDOCS+= lld .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= ${LLDB_COMMANDS} MAN1SRCS+= ${LLDB_MAN1SRCS} USES+= lua .endif OPENMP_PATTERN= libarcher|lib[ig]*omp|omp.h|ompt.h|ompt-multiplex.h|omp-tools.h .if ${PORT_OPTIONS:MPYCLANG} PYCLANG_PATTERN= (clang\/(__init__|cindex|enumerations).py)$$ .endif .include .include "${.CURDIR}/Makefile.COMMANDS" .include "${.CURDIR}/Makefile.MAN1SRCS" _FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV X86 FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS} .if ${ARCH} == amd64 _NATIVE_BACKENDS= X86 .elif ${ARCH} == aarch64 _NATIVE_BACKENDS= AArch64 .elif ${ARCH:Marmv*} _NATIVE_BACKENDS= ARM .elif ${ARCH} == i386 _NATIVE_BACKENDS= X86 .elif ${ARCH:Mmips*} _NATIVE_BACKENDS= Mips .elif ${ARCH:Mpowerpc*} _NATIVE_BACKENDS= PowerPC .elif ${ARCH:Mriscv*} _NATIVE_BACKENDS= RISCV .endif NATIVE_BACKENDS= ${_NATIVE_BACKENDS} .if ${PORT_OPTIONS:MBE_AMDGPU} FREEBSD_BACKENDS+= AMDGPU NATIVE_BACKENDS+= AMDGPU .endif .if ${PORT_OPTIONS:MBE_WASM} FREEBSD_BACKENDS+= WebAssembly NATIVE_BACKENDS+= WebAssembly .endif STANDARD_BACKENDS= ${_FREEBSD_BACKENDS} AMDGPU AVR BPF Hexagon Lanai \ MSP430 NVPTX Sparc SystemZ WebAssembly XCore _BE_LIBS_COMMON= CodeGen Desc Info _BE_LIBS_AArch64= AsmParser Disassembler Utils _BE_LIBS_AMDGPU= AsmParser Disassembler Utils _BE_LIBS_ARM= AsmParser Disassembler Utils _BE_LIBS_AVR= AsmParser Disassembler _BE_LIBS_BPF= AsmParser Disassembler _BE_LIBS_Hexagon= AsmParser Disassembler _BE_LIBS_Lanai= AsmParser Disassembler _BE_LIBS_MSP430= AsmParser Disassembler _BE_LIBS_Mips= AsmParser Disassembler _BE_LIBS_PowerPC= AsmParser Disassembler _BE_LIBS_RISCV= AsmParser Disassembler Utils _BE_LIBS_Sparc= AsmParser Disassembler _BE_LIBS_SystemZ= AsmParser Disassembler _BE_LIBS_WebAssembly= AsmParser Disassembler _BE_LIBS_X86= AsmParser Disassembler _BE_LIBS_XCore= Disassembler .for BE in FREEBSD NATIVE STANDARD .for BE_ARCH in ${${BE}_BACKENDS} _BE_LIBS_${BE}+= ${_BE_LIBS_COMMON:S/^/${BE_ARCH}/} \ ${_BE_LIBS_${BE_ARCH}:S/^/${BE_ARCH}/} .endfor .endfor BE_PATTERN=${_BE_LIBS_STANDARD:O:S/$/.a/:ts|} _CRTLIBDIR= ${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/lib/freebsd _CRTBLDIR= ${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/share _COMPILER_RT_BLACKLISTS= cfi_blacklist.txt .if ${ARCH} == "amd64" _COMPILER_RT_BLACKLISTS+= asan_blacklist.txt _COMPILER_RT_BLACKLISTS+= msan_blacklist.txt _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.cfi-x86_64.a \ libclang_rt.cfi_diag-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.fuzzer-x86_64.a \ libclang_rt.fuzzer_no_main-x86_64.a \ libclang_rt.msan-x86_64.a \ libclang_rt.msan-x86_64.a.syms \ libclang_rt.msan_cxx-x86_64.a \ libclang_rt.msan_cxx-x86_64.a.syms \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_minimal-x86_64.a \ libclang_rt.ubsan_minimal-x86_64.a.syms \ libclang_rt.ubsan_minimal-x86_64.so \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.so \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms \ libclang_rt.xray-basic-x86_64.a \ libclang_rt.xray-fdr-x86_64.a \ libclang_rt.xray-profiling-x86_64.a \ libclang_rt.xray-x86_64.a .endif .if ${ARCH} == "i386" _COMPILER_RT_BLACKLISTS+= asan_blacklist.txt _COMPILER_RT_LIBS+= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.cfi-i386.a \ libclang_rt.cfi_diag-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_minimal-i386.a \ libclang_rt.ubsan_minimal-i386.so \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone-i386.so \ libclang_rt.ubsan_standalone_cxx-i386.a .endif .if ${ARCH} == "armv6" BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif .if ! ${OPTIONS_DEFINE:MCOMPILER_RT} # Hack to disable COMPILER_RT in plist of unsupported architectures PLIST_SUB+= COMPILER_RT="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MGOLD} # Hack to disable GOLD in plist of unsupported architectures PLIST_SUB+= GOLD="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-EXTRAS-on: ${MV} ${WRKSRC_extras} ${PATCH_WRKSRC}/tools/clang/tools/extra post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb post-extract-OPENMP-on: # FreeBSD/aarch64 needs same va_list handling as Linux/aarch64 # see https://reviews.freebsd.org/D21167 ${REINPLACE_CMD} -e 's/KMP_ARCH_AARCH64) && KMP_OS_LINUX/KMP_ARCH_AARCH64)/' \ ${WRKSRC_openmp}/runtime/src/kmp.h \ ${WRKSRC_openmp}/runtime/src/kmp_csupport.cpp \ ${WRKSRC_openmp}/runtime/src/kmp_runtime.cpp \ ${WRKSRC_openmp}/runtime/src/kmp_gsupport.cpp ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/projects/openmp post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|g' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${PATCH_WRKSRC}/tools/clang/lib/Driver/ToolChains/CommonArgs.cpp ${REINPLACE_CMD} -e 's|%%LLVM_SUFFIX%%|${LLVM_SUFFIX}|' \ ${PATCH_WRKSRC}/tools/clang/tools/clang-format/clang-format.py \ ${PATCH_WRKSRC}/tools/clang/tools/clang-format/clang-format-sublime.py \ ${PATCH_WRKSRC}/tools/clang/tools/clang-format/git-clang-format post-patch-LLD-on: ${REINPLACE_CMD} -e "s|'indexsidebar.html'|['indexsidebar.html']|" \ ${PATCH_WRKSRC}/tools/lld/docs/conf.py post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} \ -DLLVM_CONFIG_PATH=${CONFIGURE_WRKSRC}/bin/llvm-config \ ${WRKSRC_compiler_rt} && \ ${MAKE_ENV} ${MAKE_CMD} post-install: ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/toolchains/ ${INSTALL_DATA} ${WRKDIR}/xtoolchain.mk \ ${STAGEDIR}${PREFIX}/share/toolchains/llvm${LLVM_SUFFIX}.mk post-install-COMPILER_RT-on: cd ${WRKDIR}/compiler-rt-build && \ ${MAKE_ENV} ${MAKE_CMD} ${INSTALL_TARGET} .if ${ARCH} == "amd64" ${RM} ${STAGEDIR}${PREFIX}/${_CRTLIBDIR}/libclang_rt*i386* .endif ${MKDIR} ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -fs ../${LLVM_DIR}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -fs ../${LLVM_DIR}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/builtin_commands ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/builtin_commands/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/builtin_commands ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -fs ../${LLVM_DIR}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} post-install-LLD-on: ${LN} -s ld.lld ${STAGEDIR}${LLVM_PREFIX}/bin/ld TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' do-test: if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_DIR:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '_blacklist.txt$$' | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_SUFFIX:C/\./\\./g}|%%LLVM_SUFFIX%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}$$|\1%%LLVM_MAJOR%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}\([^0-9]\)|\1%%LLVM_MAJOR%%\2|' \ | ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_SUFFIX:C/\./\\./g}|%%LLVM_SUFFIX%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}$$|\1%%LLVM_MAJOR%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}\([^0-9]\)|\1%%LLVM_MAJOR%%\2|' \ | ${SORT} >> ${PLIST}.tmp ${AWK} '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /(${OPENMP_PATTERN}|${EXTRAS_PATTERN}|libclang_rt|${PYCLANG_PATTERN})/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /(bin\/(ld|lld|wasm-ld))|liblld[^b]|\/lld\// && $$0 !~ /(lldb)/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /(${OPENMP_PATTERN})/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /(LLVMgold)/) {printf "%%%%GOLD%%%%"} \ if ($$0 ~ /${PYCLANG_PATTERN}/) {printf "%%%%PYCLANG%%%%"} \ if ($$0 !~ /(libclang_rt)/ && $$0 !~ /(${BE_PATTERN})$$/) {print}}' ${PLIST}.tmp >> ${PLIST} ${ECHO_CMD} '@postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi' >> ${PLIST} ${ECHO_CMD} '@postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi' >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .include diff --git a/devel/llvm12/Makefile b/devel/llvm12/Makefile index 99f1ce281056..1e90d4901914 100644 --- a/devel/llvm12/Makefile +++ b/devel/llvm12/Makefile @@ -1,550 +1,550 @@ PORTNAME= llvm DISTVERSION= 12.0.1 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= devel lang MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \ https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} DISTNAME= llvm-project-${DISTVERSION}.src DISTFILES= llvm-project-${DISTVERSION}.src${EXTRACT_SUFX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang WWW= https://llvm.org/ LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" LLVM_RELEASE= ${DISTVERSION:C/rc.*//} LLVM_MAJOR= ${LLVM_RELEASE:C/\.[0-9]\.[0-9]$//} LLVM_SUFFIX= ${LLVM_MAJOR} PRE_= ${DISTVERSION:C/.*rc.*/pre/:N*[0-9]*} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} LLVM_DIR= llvm${LLVM_SUFFIX} LLVM_PREFIX= ${PREFIX}/${LLVM_DIR} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} USES= cmake compiler:c++11-lib cpe perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= llvm/utils/lit/lit.py llvm/utils/llvm-lit/llvm-lit.in \ llvm/tools/opt-viewer/optrecord.py \ llvm/tools/opt-viewer/opt-diff.py \ llvm/tools/opt-viewer/opt-stats.py \ llvm/tools/opt-viewer/opt-viewer.py \ clang/tools/scan-view/bin/scan-view \ clang/tools/clang-format/clang-format-diff.py \ clang/tools/clang-format/git-clang-format \ clang/utils/hmaptool/hmaptool \ clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py \ clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py \ clang-tools-extra/clang-tidy/tool/run-clang-tidy.py SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_SOURCE_PATH= ${WRKSRC}/llvm CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON CMAKE_ARGS+= -DLLVM_ENABLE_RTTI=ON CMAKE_ARGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_HOST_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_PARALLEL_LINK_JOBS=1 CMAKE_ARGS+= -DLLVM_ENABLE_Z3_SOLVER=OFF CMAKE_ARGS+= -DLLVM_ENABLE_LIBEDIT=OFF # LLVM likes to pick up ${LOCALBASE}/lib/libtinfo.so.* CMAKE_ARGS+= -DLLVM_ENABLE_TERMINFO=OFF OPTIONS_DEFINE= BE_AMDGPU BE_WASM CLANG DOCS EXTRAS LIT LLD PYCLANG OPTIONS_DEFINE_aarch64= OPENMP OPTIONS_DEFINE_amd64= COMPILER_RT GOLD LLDB OPENMP OPTIONS_DEFINE_i386= COMPILER_RT LLDB OPENMP OPTIONS_DEFINE_powerpc= GOLD OPTIONS_DEFINE_powerpc64= GOLD OPENMP OPTIONS_DEFINE_powerpc64le= GOLD OPENMP OPTIONS_DEFINE_riscv64= OPENMP OPTIONS_DEFAULT= BE_AMDGPU BE_STANDARD BE_WASM CLANG EXTRAS LIT LLD PYCLANG OPTIONS_DEFAULT_aarch64= OPENMP OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD LLDB OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT LLDB OPENMP OPTIONS_DEFAULT_powerpc= GOLD OPTIONS_DEFAULT_powerpc64= GOLD OPENMP OPTIONS_DEFAULT_powerpc64le= GOLD OPENMP OPTIONS_DEFAULT_riscv64= OPENMP OPTIONS_SINGLE= BACKENDS OPTIONS_SINGLE_BACKENDS=BE_FREEBSD BE_NATIVE BE_STANDARD OPTIONS_SUB= yes # All non-backend options _ALL_OPTIONS= CLANG COMPILER_RT DOCS EXTRAS GOLD LIT LLD LLDB PYCLANG OPENMP BE_AMDGPU_DESC= AMD GPU backend (required by mesa) BE_FREEBSD_DESC= Backends for FreeBSD architectures BE_FREEBSD_CMAKE_ON= -DLLVM_TARGETS_TO_BUILD="${FREEBSD_BACKENDS:ts;}" BE_NATIVE_DESC= Backend(s) for this architecture (${_NATIVE_BACKENDS}) BE_NATIVE_CMAKE_ON= -DLLVM_TARGETS_TO_BUILD="${NATIVE_BACKENDS:ts;}" BE_STANDARD_DESC= All non-experimental backends BE_WASM_DESC= WebAssembly backend (required by firefox via wasi) .for BE in FREEBSD NATIVE STANDARD BE_${BE}_PLIST_FILES= ${_BE_LIBS_${BE}:O:S/$/.a/:S|^|${LLVM_DIR}/lib/libLLVM|} .endfor CLANG_DESC= Build clang CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_PLIST_FILES= share/toolchains/llvm${LLVM_SUFFIX}.mk CLANG_SUB_FILES= xtoolchain.mk CLANG_SUB_LIST= XCC=clang${LLVM_SUFFIX} \ XCXX=clang++${LLVM_SUFFIX} \ XCPP=clang-cpp${LLVM_SUFFIX} \ XLD=ld.lld${LLVM_SUFFIX} \ X_COMPILER_TYPE=clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_CMAKE_ON= \ -DCOMPILER_RT_INSTALL_PATH=${LLVM_PREFIX}/lib/clang/${LLVM_RELEASE} COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} \ ${_COMPILER_RT_BLACKLISTS:S|^|${_CRTBLDIR}/|} DOCS_BUILD_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}recommonmark>=0.0.20180530:textproc/py-recommonmark@${PY_FLAVOR} DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= \ -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_EXECUTABLE=${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|share/man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils LIT_DESC= Install lit and FileCheck test tools LIT_VARS= _USES_PYTHON=python LLD_DESC= Install lld, the LLVM linker LLDB_BUILD_DEPENDS= swig:devel/swig LLDB_CMAKE_ON= \ -DLUA_INCLUDE_DIR=${LOCALBASE}/include/lua${LUA_VER_STR} \ -DLUA_LIBRARY=${LOCALBASE}/lib/liblua-${LUA_VER}.so \ -DCURSES_INCLUDE_PATH=/usr/include \ -DCURSES_CURSES_LIBRARY=/usr/lib/libcurses.so \ -DCURSES_FORM_LIBRARY=/usr/lib/libform.so \ -DCURSES_NCURSES_LIBRARY=/usr/lib/libncurses.so \ -DPANEL_LIBRARIES=/usr/lib/libpanel.so LLDB_DESC= Install lldb, the LLVM debugger LLDB_IMPLIES= CLANG LLDB_USES= lua:53 libedit LLDB_VARS= _USES_PYTHON=python OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_CMAKE_ON= \ -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR="/usr/include/libelf.h" \ -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES="/usr/lib/libelf.so" \ -DLIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR="" \ -DLIBOMPTARGET_DEP_LIBFFI_LIBRARIES="" OPENMP_PORTDOCS= openmp PYCLANG_DESC= Install python bindings to libclang PYCLANG_IMPLIES= CLANG PYCLANG_VARS= _USES_PYTHON=python PYCLANG_CMAKE_ON= -DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_VER} .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} \ LLVM_SUFFIX=${LLVM_SUFFIX} \ LLVM_MAJOR=${LLVM_MAJOR} COMMANDS= ${LLVM_COMMANDS} FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} MAN1SRCS+= ${LLVM_MAN1SRCS} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_LIBS= libclangApplyReplacements \ libclangChangeNamespace \ libclangDaemon \ libclangDoc \ libclangIncludeFixer \ libclangMove \ libclangQuery \ libclangRename \ libclangReorderFields \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_FILES= index.js EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g}|${EXTRAS_FILES:tW:C/ */|/g} .include # keep in sync with /usr/src/lib/clang/clang.build.mk # ----------- start of sync block ------------------ # Armv6 and armv7 uses hard float abi, unless the CPUTYPE has soft in it. # arm (for armv4 and armv5 CPUs) always uses the soft float ABI. # For all other targets, we stick with 'unknown'. .if ${ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") TARGET_ABI= -gnueabihf .elif ${ARCH:Marm*} TARGET_ABI= -gnueabi .else TARGET_ABI= .endif CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-portbld-${OPSYS:tl}${OSREL}${TARGET_ABI} # ----------- end of sync block -------------------- .if ${PORT_OPTIONS:MCLANG} LLVM_ENABLE_PROJECTS+= clang COMMANDS+= ${CLANG_COMMANDS} MAN1SRCS+= ${CLANG_MAN1SRCS} CLANG_PATTERN= (c-index-test|clang|diagtool|hmaptool|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer|AnalyzerPlugin.so) USES+= gnome .endif .if ${PORT_OPTIONS:MCOMPILER_RT} LLVM_ENABLE_PROJECTS+= compiler-rt COMPILER_RT_PATTERN= (sanitizer|include.xray|include\/fuzzer|profile\/InstrProfData.inc) .endif .if ${PORT_OPTIONS:MEXTRAS} LLVM_ENABLE_PROJECTS+= clang-tools-extra COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= ${EXTRAS_MAN1SRCS} PORTDOCS+= clang-tools PLIST_DIRS+= ${LLVM_DIR}/include/clang-tidy/plugin .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= ${LIT_MAN1SRCS} .endif .if ${PORT_OPTIONS:MLLD} LLVM_ENABLE_PROJECTS+= lld COMMANDS+= ${LLD_COMMANDS} PORTDOCS+= lld .endif .if ${PORT_OPTIONS:MLLDB} LLVM_ENABLE_PROJECTS+= lldb COMMANDS+= ${LLDB_COMMANDS} .endif .if ${PORT_OPTIONS:MOPENMP} LLVM_ENABLE_PROJECTS+= openmp MAN1SRCS+= ${OPENMP_MAN1SRCS} .endif OPENMP_PATTERN= libarcher|lib[ig]*omp|omp.h|ompt.h|ompt-multiplex.h|omp-tools.h .if ${PORT_OPTIONS:MPYCLANG} PYCLANG_PATTERN= (clang\/(__init__|cindex|enumerations).py)$$ .endif .if defined(LLVM_ENABLE_PROJECTS) CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}" .endif .include .include "${.CURDIR}/Makefile.COMMANDS" .include "${.CURDIR}/Makefile.MAN1SRCS" _FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV X86 FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS} .if ${ARCH} == amd64 _NATIVE_BACKENDS= X86 .elif ${ARCH} == aarch64 _NATIVE_BACKENDS= AArch64 .elif ${ARCH:Marmv*} _NATIVE_BACKENDS= ARM .elif ${ARCH} == i386 _NATIVE_BACKENDS= X86 .elif ${ARCH:Mmips*} _NATIVE_BACKENDS= Mips .elif ${ARCH:Mpowerpc*} _NATIVE_BACKENDS= PowerPC .elif ${ARCH:Mriscv*} _NATIVE_BACKENDS= RISCV .endif NATIVE_BACKENDS= ${_NATIVE_BACKENDS} .if ${PORT_OPTIONS:MBE_AMDGPU} FREEBSD_BACKENDS+= AMDGPU NATIVE_BACKENDS+= AMDGPU .endif .if ${PORT_OPTIONS:MBE_WASM} FREEBSD_BACKENDS+= WebAssembly NATIVE_BACKENDS+= WebAssembly .endif STANDARD_BACKENDS= ${_FREEBSD_BACKENDS} AMDGPU AVR BPF Hexagon Lanai \ MSP430 NVPTX Sparc SystemZ WebAssembly XCore _BE_LIBS_COMMON= CodeGen Desc Info _BE_LIBS_AArch64= AsmParser Disassembler Utils _BE_LIBS_AMDGPU= AsmParser Disassembler Utils _BE_LIBS_ARM= AsmParser Disassembler Utils _BE_LIBS_AVR= AsmParser Disassembler _BE_LIBS_BPF= AsmParser Disassembler _BE_LIBS_Hexagon= AsmParser Disassembler _BE_LIBS_Lanai= AsmParser Disassembler _BE_LIBS_MSP430= AsmParser Disassembler _BE_LIBS_Mips= AsmParser Disassembler _BE_LIBS_PowerPC= AsmParser Disassembler _BE_LIBS_RISCV= AsmParser Disassembler _BE_LIBS_Sparc= AsmParser Disassembler _BE_LIBS_SystemZ= AsmParser Disassembler _BE_LIBS_WebAssembly= AsmParser Disassembler _BE_LIBS_X86= AsmParser Disassembler _BE_LIBS_XCore= Disassembler .for BE in FREEBSD NATIVE STANDARD .for BE_ARCH in ${${BE}_BACKENDS} _BE_LIBS_${BE}+= ${_BE_LIBS_COMMON:S/^/${BE_ARCH}/} \ ${_BE_LIBS_${BE_ARCH}:S/^/${BE_ARCH}/} .endfor .endfor BE_PATTERN=${_BE_LIBS_STANDARD:O:S/$/.a/:ts|} _CRTLIBDIR= ${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/lib/freebsd _CRTBLDIR= ${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/share _COMPILER_RT_BLACKLISTS= cfi_blacklist.txt _COMPILER_RT_LIBS_i386= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.cfi-i386.a \ libclang_rt.cfi_diag-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_minimal-i386.a \ libclang_rt.ubsan_minimal-i386.so \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone-i386.so \ libclang_rt.ubsan_standalone_cxx-i386.a .if ${ARCH} == "amd64" _COMPILER_RT_BLACKLISTS+= asan_blacklist.txt _COMPILER_RT_BLACKLISTS+= msan_blacklist.txt _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.cfi-x86_64.a \ libclang_rt.cfi_diag-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.fuzzer_interceptors-x86_64.a \ libclang_rt.fuzzer_no_main-x86_64.a \ libclang_rt.fuzzer-x86_64.a \ libclang_rt.msan-x86_64.a \ libclang_rt.msan-x86_64.a.syms \ libclang_rt.msan_cxx-x86_64.a \ libclang_rt.msan_cxx-x86_64.a.syms \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_minimal-x86_64.a \ libclang_rt.ubsan_minimal-x86_64.a.syms \ libclang_rt.ubsan_minimal-x86_64.so \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.so \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms \ libclang_rt.xray-basic-x86_64.a \ libclang_rt.xray-fdr-x86_64.a \ libclang_rt.xray-profiling-x86_64.a \ libclang_rt.xray-x86_64.a .if exists(/usr/lib32/libc.so.7) _COMPILER_RT_LIBS+= ${_COMPILER_RT_LIBS_i386} .endif .endif .if ${ARCH} == "i386" _COMPILER_RT_BLACKLISTS+= asan_blacklist.txt _COMPILER_RT_LIBS+= ${_COMPILER_RT_LIBS_i386} .endif .if ${ARCH} == "armv6" BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif # Comment out plist entries for unsupported options. .for opt in ${_ALL_OPTIONS} .if !${OPTIONS_DEFINE:M${opt}} PLIST_SUB+= ${opt}="@comment " .endif .endfor post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|g' \ ${WRKSRC}/llvm/utils/lit/lit.py \ ${WRKSRC}/llvm/utils/lit/lit/*.py \ ${WRKSRC}/llvm/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/llvm/CMakeLists.txt post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${WRKSRC}/clang/lib/Driver/ToolChains/CommonArgs.cpp ${REINPLACE_CMD} -e 's|%%LLVM_SUFFIX%%|${LLVM_SUFFIX}|' \ ${WRKSRC}/clang/tools/clang-format/clang-format.py \ ${WRKSRC}/clang/tools/clang-format/clang-format-sublime.py \ ${WRKSRC}/clang/tools/clang-format/git-clang-format post-patch-LLD-on: ${REINPLACE_CMD} -e "s|'indexsidebar.html'|['indexsidebar.html']|" \ ${WRKSRC}/lld/docs/conf.py post-install: ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${RM} -r ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc/* ${STAGEDIR}${DOCSDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/toolchains/ ${INSTALL_DATA} ${WRKDIR}/xtoolchain.mk \ ${STAGEDIR}${PREFIX}/share/toolchains/llvm${LLVM_SUFFIX}.mk post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/llvm/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -fs ../${LLVM_DIR}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -fs ../${LLVM_DIR}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/builtin_commands ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/builtin_commands/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/builtin_commands ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -fs ../${LLVM_DIR}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} post-install-LLD-on: ${LN} -s ld.lld ${STAGEDIR}${LLVM_PREFIX}/bin/ld TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' do-test: if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_DIR:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '_blacklist.txt$$' | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_SUFFIX:C/\./\\./g}|%%LLVM_SUFFIX%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}$$|\1%%LLVM_MAJOR%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}\([^0-9]\)|\1%%LLVM_MAJOR%%\2|' \ | ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_SUFFIX:C/\./\\./g}|%%LLVM_SUFFIX%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}$$|\1%%LLVM_MAJOR%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}\([^0-9]\)|\1%%LLVM_MAJOR%%\2|' \ | ${SORT} >> ${PLIST}.tmp ${AWK} '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /(${OPENMP_PATTERN}|${EXTRAS_PATTERN}|libclang_rt|${PYCLANG_PATTERN})/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /(bin\/(ld|lld|wasm-ld))|liblld[^b]|\/lld\// && $$0 !~ /(lldb)/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /(${OPENMP_PATTERN})/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /(LLVMgold)/) {printf "%%%%GOLD%%%%"} \ if ($$0 ~ /${PYCLANG_PATTERN}/) {printf "%%%%PYCLANG%%%%"} \ if ($$0 !~ /(libclang_rt)/ && $$0 !~ /(${BE_PATTERN})$$/) {print}}' ${PLIST}.tmp >> ${PLIST} ${ECHO_CMD} '@postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi' >> ${PLIST} ${ECHO_CMD} '@postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi' >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .include diff --git a/devel/llvm13/Makefile b/devel/llvm13/Makefile index 2404d7dd0ab1..04e1325b5fae 100644 --- a/devel/llvm13/Makefile +++ b/devel/llvm13/Makefile @@ -1,610 +1,610 @@ PORTNAME= llvm DISTVERSION= 13.0.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= devel lang MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \ https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} DISTNAME= llvm-project-${DISTVERSION}.src DISTFILES= llvm-project-${DISTVERSION}.src${EXTRACT_SUFX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang WWW= https://llvm.org/ LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" LLVM_RELEASE= ${DISTVERSION:C/rc.*//} LLVM_MAJOR= ${LLVM_RELEASE:C/\.[0-9]\.[0-9]$//} LLVM_SUFFIX= ${LLVM_MAJOR} PRE_= ${DISTVERSION:C/.*rc.*/pre/:N*[0-9]*} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} LLVM_DIR= llvm${LLVM_SUFFIX} LLVM_PREFIX= ${PREFIX}/${LLVM_DIR} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} USES= cmake compiler:c++11-lib cpe perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= \ clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py \ clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py \ clang-tools-extra/clang-tidy/tool/run-clang-tidy.py \ clang/tools/clang-format/clang-format-diff.py \ clang/tools/clang-format/git-clang-format \ clang/tools/scan-build-py/bin/analyze-build \ clang/tools/scan-build-py/bin/intercept-build \ clang/tools/scan-build-py/bin/scan-build \ clang/tools/scan-build-py/libexec/analyze-cc \ clang/tools/scan-build-py/libexec/analyze-c++ \ clang/tools/scan-build-py/libexec/intercept-cc \ clang/tools/scan-build-py/libexec/intercept-c++ \ clang/tools/scan-view/bin/scan-view \ clang/utils/hmaptool/hmaptool \ llvm/tools/opt-viewer/opt-diff.py \ llvm/tools/opt-viewer/opt-stats.py \ llvm/tools/opt-viewer/opt-viewer.py \ llvm/tools/opt-viewer/optrecord.py \ llvm/utils/lit/lit.py \ llvm/utils/llvm-lit/llvm-lit.in SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_SOURCE_PATH= ${WRKSRC}/llvm CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON CMAKE_ARGS+= -DLLVM_ENABLE_RTTI=ON CMAKE_ARGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_HOST_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_PARALLEL_LINK_JOBS=1 CMAKE_ARGS+= -DLLVM_ENABLE_Z3_SOLVER=OFF CMAKE_ARGS+= -DLLVM_ENABLE_LIBEDIT=OFF # LLVM likes to pick up ${LOCALBASE}/lib/libtinfo.so.* CMAKE_ARGS+= -DLLVM_ENABLE_TERMINFO=OFF OPTIONS_DEFINE= BE_AMDGPU BE_WASM CLANG DOCS EXTRAS FLANG LIT LLD LLDB MLIR PYCLANG OPTIONS_DEFINE_aarch64= OPENMP OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPENMP OPTIONS_DEFINE_powerpc= GOLD OPTIONS_DEFINE_powerpc64= GOLD OPENMP OPTIONS_DEFINE_powerpc64le= GOLD OPENMP OPTIONS_DEFINE_riscv64= OPENMP OPTIONS_DEFAULT= BE_AMDGPU BE_STANDARD BE_WASM CLANG EXTRAS FLANG LIT LLD LLDB MLIR PYCLANG OPTIONS_DEFAULT_aarch64= OPENMP OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP OPTIONS_DEFAULT_powerpc= GOLD OPTIONS_DEFAULT_powerpc64= GOLD OPENMP OPTIONS_DEFAULT_powerpc64le= GOLD OPENMP OPTIONS_DEFAULT_riscv64= OPENMP OPTIONS_EXCLUDE_armv6= FLANG OPTIONS_EXCLUDE_armv7= FLANG OPTIONS_EXCLUDE_i386= FLANG OPTIONS_EXCLUDE_powerpc= FLANG OPTIONS_EXCLUDE_riscv64= LLDB OPTIONS_SINGLE= BACKENDS OPTIONS_SINGLE_BACKENDS=BE_FREEBSD BE_NATIVE BE_STANDARD OPTIONS_SUB= yes # All non-backend options _ALL_OPTIONS= CLANG COMPILER_RT DOCS EXTRAS FLANG GOLD LIT LLD LLDB MLIR OPENMP PYCLANG BE_AMDGPU_DESC= AMD GPU backend (required by mesa) BE_FREEBSD_DESC= Backends for FreeBSD architectures BE_FREEBSD_CMAKE_ON= -DLLVM_TARGETS_TO_BUILD="${FREEBSD_BACKENDS:ts;}" BE_NATIVE_DESC= Backend(s) for this architecture (${_NATIVE_BACKENDS}) BE_NATIVE_CMAKE_ON= -DLLVM_TARGETS_TO_BUILD="${NATIVE_BACKENDS:ts;}" BE_STANDARD_DESC= All non-experimental backends BE_WASM_DESC= WebAssembly backend (required by firefox via wasi) .for BE in FREEBSD NATIVE STANDARD BE_${BE}_PLIST_FILES= ${_BE_LIBS_${BE}:O:S/$/.a/:S|^|${LLVM_DIR}/lib/libLLVM|} .endfor CLANG_DESC= Build clang CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_PLIST_FILES= share/toolchains/llvm${LLVM_SUFFIX}.mk CLANG_SUB_FILES= xtoolchain.mk CLANG_SUB_LIST= XCC=clang${LLVM_SUFFIX} \ XCXX=clang++${LLVM_SUFFIX} \ XCPP=clang-cpp${LLVM_SUFFIX} \ XLD=ld.lld${LLVM_SUFFIX} \ X_COMPILER_TYPE=clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_CMAKE_ON= \ -DCOMPILER_RT_INSTALL_PATH=${LLVM_PREFIX}/lib/clang/${LLVM_RELEASE} COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} \ ${_COMPILER_RT_BLACKLISTS:S|^|${_CRTBLDIR}/|} DOCS_BUILD_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}sphinx-markdown-tables>=0:textproc/py-sphinx-markdown-tables@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}recommonmark>=0.0.20180530:textproc/py-recommonmark@${PY_FLAVOR} DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= \ -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_EXECUTABLE=${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|share/man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_PLIST_DIRS+= ${LLVM_DIR}/include/clang-tidy/plugin FLANG_DESC= Flang FORTRAN compiler FLANG_IMPLIES= MLIR FLANG_PORTDOCS= flang FLANG_PLIST_DIRS= ${LLVM_DIR}/include/flang/Config GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils LIT_DESC= Install lit and FileCheck test tools LIT_VARS= _USES_PYTHON=python LLD_DESC= Install lld, the LLVM linker LLDB_BUILD_DEPENDS= swig:devel/swig LLDB_CMAKE_ON= \ -DLUA_INCLUDE_DIR=${LOCALBASE}/include/lua${LUA_VER_STR} \ -DLUA_LIBRARY=${LOCALBASE}/lib/liblua-${LUA_VER}.so \ -DCURSES_INCLUDE_PATH=/usr/include \ -DCURSES_CURSES_LIBRARY=/usr/lib/libcurses.so \ -DCURSES_FORM_LIBRARY=/usr/lib/libform.so \ -DCURSES_NCURSES_LIBRARY=/usr/lib/libncurses.so \ -DPANEL_LIBRARIES=/usr/lib/libpanel.so LLDB_DESC= Install lldb, the LLVM debugger LLDB_IMPLIES= CLANG LLDB_USES= lua:53 libedit LLDB_VARS= _USES_PYTHON=python MLIR_DESC= Multi-Level Intermediate Representation OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_CMAKE_ON= \ -DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=OFF \ -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR="/usr/include/libelf.h" \ -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES="/usr/lib/libelf.so" \ -DLIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR="" \ -DLIBOMPTARGET_DEP_LIBFFI_LIBRARIES="" OPENMP_PORTDOCS= openmp PYCLANG_DESC= Install python bindings to libclang PYCLANG_IMPLIES= CLANG PYCLANG_VARS= _USES_PYTHON=python PYCLANG_CMAKE_ON= -DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_VER} .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} \ LLVM_SUFFIX=${LLVM_SUFFIX} \ LLVM_MAJOR=${LLVM_MAJOR} COMMANDS= ${LLVM_COMMANDS} FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} MAN1SRCS+= ${LLVM_MAN1SRCS} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_LIBS= libclangApplyReplacements \ libclangChangeNamespace \ libclangDaemon \ libclangDoc \ libclangIncludeFixer \ libclangMove \ libclangQuery \ libclangRename \ libclangReorderFields \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_FILES= index.js EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g}|${EXTRAS_FILES:tW:C/ */|/g} FLANG_PATTERN= ${FLANG_COMMANDS:S/^/bin./:tW:C/ */|/g}|flang|libFIROptimizer|libFortran MLIR_PATTERN= ${MLIR_COMMANDS:S/^/bin./:tW:C/ */|/g}|mlir|libMLIR .include # keep in sync with /usr/src/lib/clang/clang.build.mk # ----------- start of sync block ------------------ # Armv6 and armv7 uses hard float abi, unless the CPUTYPE has soft in it. # arm (for armv4 and armv5 CPUs) always uses the soft float ABI. # For all other targets, we stick with 'unknown'. .if ${ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") TARGET_ABI= -gnueabihf .elif ${ARCH:Marm*} TARGET_ABI= -gnueabi .else TARGET_ABI= .endif CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-portbld-${OPSYS:tl}${OSREL}${TARGET_ABI} # ----------- end of sync block -------------------- .if ${PORT_OPTIONS:MCLANG} LLVM_ENABLE_PROJECTS+= clang COMMANDS+= ${CLANG_COMMANDS} MAN1SRCS+= ${CLANG_MAN1SRCS} CLANG_PATTERN= (c-index-test|clang|diagtool|hmaptool|intercept-|libear|libscanbuild|analyze-|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer|AnalyzerPlugin.so) USES+= gnome .endif .if ${PORT_OPTIONS:MCOMPILER_RT} LLVM_ENABLE_PROJECTS+= compiler-rt COMPILER_RT_PATTERN= (sanitizer|include.xray|include\/fuzzer|profile\/InstrProfData.inc) .endif .if ${PORT_OPTIONS:MEXTRAS} LLVM_ENABLE_PROJECTS+= clang-tools-extra COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= ${EXTRAS_MAN1SRCS} PORTDOCS+= clang-tools .endif .if ${PORT_OPTIONS:MFLANG} LLVM_ENABLE_PROJECTS+= flang COMMANDS+= ${FLANG_COMMANDS} .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= ${LIT_MAN1SRCS} .endif .if ${PORT_OPTIONS:MLLD} LLVM_ENABLE_PROJECTS+= lld COMMANDS+= ${LLD_COMMANDS} PORTDOCS+= lld .endif .if ${PORT_OPTIONS:MLLDB} LLVM_ENABLE_PROJECTS+= lldb MAN1SRCS+= ${LLDB_MAN1SRCS} COMMANDS+= ${LLDB_COMMANDS} .endif .if ${PORT_OPTIONS:MMLIR} LLVM_ENABLE_PROJECTS+= mlir MAN1SRCS+= ${MLIR_MAN1SRCS} COMMANDS+= ${MLIR_COMMANDS} .endif .if ${PORT_OPTIONS:MOPENMP} LLVM_ENABLE_PROJECTS+= openmp MAN1SRCS+= ${OPENMP_MAN1SRCS} COMMANDS+= ${OPENMP_COMMANDS} .endif OPENMP_PATTERN= ${OPENMP_COMMANDS:tW:C/ */|/g}|cmake\/openmp|libarcher|lib[ig]*omp|omp.h|ompt.h|ompt-multiplex.h|omp-tools.h .if ${PORT_OPTIONS:MPYCLANG} PYCLANG_PATTERN= (clang\/(__init__|cindex|enumerations).py)$$ .endif .if defined(LLVM_ENABLE_PROJECTS) CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}" .endif .include .include "${.CURDIR}/Makefile.COMMANDS" .include "${.CURDIR}/Makefile.MAN1SRCS" _FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV X86 FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS} .if ${ARCH} == amd64 _NATIVE_BACKENDS= X86 .elif ${ARCH} == aarch64 _NATIVE_BACKENDS= AArch64 ARM .elif ${ARCH:Marmv*} _NATIVE_BACKENDS= ARM .elif ${ARCH} == i386 _NATIVE_BACKENDS= X86 .elif ${ARCH:Mmips*} _NATIVE_BACKENDS= Mips .elif ${ARCH:Mpowerpc*} _NATIVE_BACKENDS= PowerPC .elif ${ARCH:Mriscv*} _NATIVE_BACKENDS= RISCV .endif NATIVE_BACKENDS= ${_NATIVE_BACKENDS} .if ${PORT_OPTIONS:MBE_AMDGPU} FREEBSD_BACKENDS+= AMDGPU NATIVE_BACKENDS+= AMDGPU .endif .if ${PORT_OPTIONS:MBE_WASM} FREEBSD_BACKENDS+= WebAssembly NATIVE_BACKENDS+= WebAssembly .endif STANDARD_BACKENDS= ${_FREEBSD_BACKENDS} AMDGPU AVR BPF Hexagon Lanai \ MSP430 NVPTX Sparc SystemZ WebAssembly XCore _BE_LIBS_COMMON= CodeGen Desc Info _BE_LIBS_AArch64= AsmParser Disassembler Utils _BE_LIBS_BACKWARDS_AArch64=Exegesis _BE_LIBS_AMDGPU= AsmParser Disassembler Utils _BE_LIBS_BACKWARDS_AMDGPU=MCACustomBehaviour _BE_LIBS_ARM= AsmParser Disassembler Utils _BE_LIBS_AVR= AsmParser Disassembler _BE_LIBS_BPF= AsmParser Disassembler _BE_LIBS_Hexagon= AsmParser Disassembler _BE_LIBS_Lanai= AsmParser Disassembler _BE_LIBS_MSP430= AsmParser Disassembler _BE_LIBS_Mips= AsmParser Disassembler _BE_LIBS_BACKWARDS_Mips=Exegesis _BE_LIBS_PowerPC= AsmParser Disassembler _BE_LIBS_BACKWARDS_PowerPC=Exegesis _BE_LIBS_RISCV= AsmParser Disassembler _BE_LIBS_Sparc= AsmParser Disassembler _BE_LIBS_SystemZ= AsmParser Disassembler _BE_LIBS_WebAssembly= AsmParser Disassembler Utils _BE_LIBS_X86= AsmParser Disassembler _BE_LIBS_BACKWARDS_X86=Exegesis _BE_LIBS_XCore= Disassembler .for BE in FREEBSD NATIVE STANDARD .for BE_ARCH in ${${BE}_BACKENDS} _BE_LIBS_${BE}+= ${_BE_LIBS_COMMON:S/^/${BE_ARCH}/} \ ${_BE_LIBS_${BE_ARCH}:S/^/${BE_ARCH}/} \ ${_BE_LIBS_BACKWARDS_${BE_ARCH}:S/$/${BE_ARCH}/} .endfor .endfor BE_PATTERN=${_BE_LIBS_STANDARD:O:S/$/.a/:ts|} _CRTLIBDIR= ${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/lib/freebsd _CRTBLDIR= ${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/share _COMPILER_RT_BLACKLISTS= cfi_ignorelist.txt _COMPILER_RT_LIBS_i386= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.cfi-i386.a \ libclang_rt.cfi_diag-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_minimal-i386.a \ libclang_rt.ubsan_minimal-i386.so \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone-i386.so \ libclang_rt.ubsan_standalone_cxx-i386.a .if ${ARCH} == "amd64" _COMPILER_RT_BLACKLISTS+= asan_ignorelist.txt _COMPILER_RT_BLACKLISTS+= msan_ignorelist.txt _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.cfi-x86_64.a \ libclang_rt.cfi_diag-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.fuzzer_interceptors-x86_64.a \ libclang_rt.fuzzer_no_main-x86_64.a \ libclang_rt.fuzzer-x86_64.a \ libclang_rt.msan-x86_64.a \ libclang_rt.msan-x86_64.a.syms \ libclang_rt.msan_cxx-x86_64.a \ libclang_rt.msan_cxx-x86_64.a.syms \ libclang_rt.orc-x86_64.a \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_minimal-x86_64.a \ libclang_rt.ubsan_minimal-x86_64.a.syms \ libclang_rt.ubsan_minimal-x86_64.so \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.so \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms \ libclang_rt.xray-basic-x86_64.a \ libclang_rt.xray-fdr-x86_64.a \ libclang_rt.xray-profiling-x86_64.a \ libclang_rt.xray-x86_64.a .if exists(/usr/lib32/libc.so.7) _COMPILER_RT_LIBS+= ${_COMPILER_RT_LIBS_i386} .endif .endif .if ${ARCH} == "i386" _COMPILER_RT_BLACKLISTS+= asan_ignorelist.txt _COMPILER_RT_LIBS+= ${_COMPILER_RT_LIBS_i386} .endif .if ${ARCH} == "armv6" BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif # Comment out plist entries for unsupported options. .for opt in ${_ALL_OPTIONS} .if !${OPTIONS_DEFINE:M${opt}} PLIST_SUB+= ${opt}="@comment " .endif .endfor post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|g' \ ${WRKSRC}/llvm/utils/lit/lit.py \ ${WRKSRC}/llvm/utils/lit/lit/*.py \ ${WRKSRC}/llvm/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/llvm/CMakeLists.txt post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${WRKSRC}/clang/lib/Driver/ToolChains/CommonArgs.cpp ${REINPLACE_CMD} -e 's|%%LLVM_SUFFIX%%|${LLVM_SUFFIX}|' \ ${WRKSRC}/clang/tools/clang-format/clang-format.py \ ${WRKSRC}/clang/tools/clang-format/clang-format-sublime.py \ ${WRKSRC}/clang/tools/clang-format/git-clang-format post-patch-LLD-on: ${REINPLACE_CMD} -e "s|'indexsidebar.html'|['indexsidebar.html']|" \ ${WRKSRC}/lld/docs/conf.py post-install: ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${RM} -r ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc/* ${STAGEDIR}${DOCSDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif .if ! ${PORT_OPTIONS:MLLDB} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lldb-tblgen.1 .endif .if ! ${PORT_OPTIONS:MMLIR} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/mlir-tblgen.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/toolchains/ ${INSTALL_DATA} ${WRKDIR}/xtoolchain.mk \ ${STAGEDIR}${PREFIX}/share/toolchains/llvm${LLVM_SUFFIX}.mk post-install-FLANG-on: ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/CodeGen/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/Dialect/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/Transforms/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/CMakeFiles post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/llvm/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -fs ../${LLVM_DIR}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -fs ../${LLVM_DIR}/bin/llvm-lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/builtin_commands ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/builtin_commands/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/builtin_commands ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -fs ../${LLVM_DIR}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} post-install-LLD-on: ${LN} -s ld.lld ${STAGEDIR}${LLVM_PREFIX}/bin/ld TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' do-test: if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: @[ -d ${STAGEDIR} ] || (echo "Can't make plist before package is staged ${STAGEDIR}" && exit 1) ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_DIR:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '_ignorelist.txt$$' | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_SUFFIX:C/\./\\./g}|%%LLVM_SUFFIX%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}$$|\1%%LLVM_MAJOR%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}\([^0-9]\)|\1%%LLVM_MAJOR%%\2|' \ | ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_SUFFIX:C/\./\\./g}|%%LLVM_SUFFIX%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}$$|\1%%LLVM_MAJOR%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}\([^0-9]\)|\1%%LLVM_MAJOR%%\2|' \ | ${SORT} >> ${PLIST}.tmp ${AWK} '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /(${OPENMP_PATTERN}|${EXTRAS_PATTERN}|libclang_rt|${PYCLANG_PATTERN})/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /(${FLANG_PATTERN})/) {printf "%%%%FLANG%%%%"} \ if ($$0 ~ /(bin\/(ld|lld|wasm-ld))|liblld[^b]|\/lld\// && $$0 !~ /(lldb)/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /(${MLIR_PATTERN})/) {printf "%%%%MLIR%%%%"} \ if ($$0 ~ /(${OPENMP_PATTERN})/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /(LLVMgold)/) {printf "%%%%GOLD%%%%"} \ if ($$0 ~ /${PYCLANG_PATTERN}/) {printf "%%%%PYCLANG%%%%"} \ if ($$0 !~ /(libclang_rt)/ && $$0 !~ /(${BE_PATTERN})$$/) {print}}' ${PLIST}.tmp >> ${PLIST} ${ECHO_CMD} '@postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi' >> ${PLIST} ${ECHO_CMD} '@postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi' >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .include diff --git a/devel/llvm14/Makefile b/devel/llvm14/Makefile index 316859638628..3bd8e12252b2 100644 --- a/devel/llvm14/Makefile +++ b/devel/llvm14/Makefile @@ -1,652 +1,652 @@ PORTNAME= llvm DISTVERSION= 14.0.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel lang MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \ https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} DISTNAME= llvm-project-${DISTVERSION}.src DISTFILES= llvm-project-${DISTVERSION}.src${EXTRACT_SUFX} PATCH_SITES= https://github.com/llvm/llvm-project/commit/ PATCHFILES+= llvmorg-18-init-1760-g68744ffbdd7d.patch:-p1 # https://reviews.llvm.org/D157589 PATCHFILES+= llvmorg-18-init-15199-gb9935bb02a50.patch:-p1 # https://github.com/llvm/llvm-project/pull/75748 PATCHFILES+= llvmorg-18-init-15680-g966d564e43e6.patch:-p1 # https://github.com/llvm/llvm-project/pull/76185 MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang WWW= https://llvm.org/ LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE" LLVM_RELEASE= ${DISTVERSION:C/rc.*//} LLVM_MAJOR= ${LLVM_RELEASE:C/\.[0-9]\.[0-9]$//} LLVM_SUFFIX= ${LLVM_MAJOR} PRE_= ${DISTVERSION:C/.*rc.*/pre/:N*[0-9]*} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} LLVM_DIR= llvm${LLVM_SUFFIX} LLVM_PREFIX= ${PREFIX}/${LLVM_DIR} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} USES= cmake compiler:c++11-lib cpe perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= \ clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py \ clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py \ clang-tools-extra/clang-tidy/tool/run-clang-tidy.py \ clang/tools/clang-format/clang-format-diff.py \ clang/tools/clang-format/git-clang-format \ clang/tools/scan-build-py/bin/analyze-build \ clang/tools/scan-build-py/bin/intercept-build \ clang/tools/scan-build-py/bin/scan-build \ clang/tools/scan-build-py/libexec/analyze-c++ \ clang/tools/scan-build-py/libexec/analyze-cc \ clang/tools/scan-build-py/libexec/intercept-c++ \ clang/tools/scan-build-py/libexec/intercept-cc \ clang/tools/scan-view/bin/scan-view \ clang/utils/hmaptool/hmaptool \ llvm/tools/opt-viewer/opt-diff.py \ llvm/tools/opt-viewer/opt-stats.py \ llvm/tools/opt-viewer/opt-viewer.py \ llvm/tools/opt-viewer/optrecord.py \ llvm/utils/lit/lit.py \ llvm/utils/llvm-lit/llvm-lit.in SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_SOURCE_PATH= ${WRKSRC}/llvm CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON CMAKE_ARGS+= -DLLVM_ENABLE_RTTI=ON CMAKE_ARGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_HOST_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_PARALLEL_LINK_JOBS=1 CMAKE_ARGS+= -DLLVM_ENABLE_Z3_SOLVER=OFF CMAKE_ARGS+= -DLLVM_ENABLE_LIBEDIT=OFF # LLVM likes to pick up ${LOCALBASE}/lib/libtinfo.so.* CMAKE_ARGS+= -DLLVM_ENABLE_TERMINFO=OFF OPTIONS_DEFINE= BE_AMDGPU BE_WASM CLANG DOCS EXTRAS FLANG LIT LLD LLDB MLIR PYCLANG OPTIONS_DEFINE_aarch64= OPENMP OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPENMP OPTIONS_DEFINE_powerpc= COMPILER_RT GOLD OPTIONS_DEFINE_powerpc64= GOLD OPENMP OPTIONS_DEFINE_powerpc64le= GOLD OPENMP OPTIONS_DEFINE_riscv64= COMPILER_RT OPENMP OPTIONS_DEFAULT= BE_AMDGPU BE_STANDARD BE_WASM CLANG EXTRAS FLANG LIT LLD LLDB MLIR PYCLANG OPTIONS_DEFAULT_aarch64= OPENMP OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP OPTIONS_DEFAULT_powerpc= COMPILER_RT GOLD OPTIONS_DEFAULT_powerpc64= GOLD OPENMP OPTIONS_DEFAULT_powerpc64le= GOLD OPENMP OPTIONS_DEFAULT_riscv64= COMPILER_RT OPENMP OPTIONS_EXCLUDE_armv6= FLANG OPTIONS_EXCLUDE_armv7= FLANG OPTIONS_EXCLUDE_i386= FLANG OPTIONS_EXCLUDE_powerpc= FLANG OPTIONS_EXCLUDE_riscv64= LLDB OPTIONS_SINGLE= BACKENDS OPTIONS_SINGLE_BACKENDS=BE_FREEBSD BE_NATIVE BE_STANDARD OPTIONS_SUB= yes # All non-backend options _ALL_OPTIONS= CLANG COMPILER_RT DOCS EXTRAS FLANG GOLD LIT LLD LLDB MLIR OPENMP PYCLANG BE_AMDGPU_DESC= AMD GPU backend (required by mesa) BE_FREEBSD_DESC= Backends for FreeBSD architectures BE_FREEBSD_CMAKE_ON= -DLLVM_TARGETS_TO_BUILD="${FREEBSD_BACKENDS:ts;}" BE_NATIVE_DESC= Backend(s) for this architecture (${_NATIVE_BACKENDS}) BE_NATIVE_CMAKE_ON= -DLLVM_TARGETS_TO_BUILD="${NATIVE_BACKENDS:ts;}" BE_STANDARD_DESC= All non-experimental backends BE_WASM_DESC= WebAssembly backend (required by firefox via wasi) .for BE in FREEBSD NATIVE STANDARD BE_${BE}_PLIST_FILES= \ ${_BE_LIBS_${BE}:O:S/$/.a/:S|^|${LLVM_DIR}/lib/libLLVM|} \ ${_BE_INCS_${BE}:S|^|${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/include/|:N${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/include/$} .endfor CLANG_DESC= Build clang CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_PLIST_FILES= share/toolchains/llvm${LLVM_SUFFIX}.mk CLANG_SUB_FILES= xtoolchain.mk CLANG_SUB_LIST= XCC=clang${LLVM_SUFFIX} \ XCXX=clang++${LLVM_SUFFIX} \ XCPP=clang-cpp${LLVM_SUFFIX} \ XLD=ld.lld${LLVM_SUFFIX} \ X_COMPILER_TYPE=clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_CMAKE_ON= -DCOMPILER_RT_INSTALL_PATH=${LLVM_PREFIX}/lib/clang/${LLVM_RELEASE} COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} \ ${_COMPILER_RT_BLACKLISTS:S|^|${_CRTBLDIR}/|} DOCS_BUILD_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}sphinx-markdown-tables>=0:textproc/py-sphinx-markdown-tables@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}recommonmark>=0.0.20180530:textproc/py-recommonmark@${PY_FLAVOR} DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= \ -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_EXECUTABLE=${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|share/man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_PLIST_DIRS+= ${LLVM_DIR}/include/clang-tidy/plugin FLANG_DESC= Flang FORTRAN compiler FLANG_IMPLIES= MLIR FLANG_PORTDOCS= flang FLANG_PLIST_DIRS= ${LLVM_DIR}/include/flang/Config GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils LIT_DESC= Install lit and FileCheck test tools LIT_VARS= _USES_PYTHON=python LLD_DESC= Install lld, the LLVM linker LLDB_BUILD_DEPENDS= swig:devel/swig LLDB_CMAKE_ON= \ -DLUA_INCLUDE_DIR=${LOCALBASE}/include/lua${LUA_VER_STR} \ -DLUA_LIBRARY=${LOCALBASE}/lib/liblua-${LUA_VER}.so \ -DCURSES_INCLUDE_PATH=/usr/include \ -DCURSES_CURSES_LIBRARY=/usr/lib/libcurses.so \ -DCURSES_FORM_LIBRARY=/usr/lib/libform.so \ -DCURSES_NCURSES_LIBRARY=/usr/lib/libncurses.so \ -DPANEL_LIBRARIES=/usr/lib/libpanel.so LLDB_DESC= Install lldb, the LLVM debugger LLDB_IMPLIES= CLANG LLDB_PLIST_SUB= PYTHON_ABIVER=${PYTHON_ABIVER} LLDB_USES= lua:53 libedit LLDB_VARS= _USES_PYTHON=python MLIR_DESC= Multi-Level Intermediate Representation OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_CMAKE_ON= \ -DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=OFF \ -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB=OFF \ -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR="/usr/include/libelf.h" \ -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES="/usr/lib/libelf.so" \ -DLIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR="" \ -DLIBOMPTARGET_DEP_LIBFFI_LIBRARIES="" OPENMP_PORTDOCS= openmp PYCLANG_DESC= Install python bindings to libclang PYCLANG_IMPLIES= CLANG PYCLANG_VARS= _USES_PYTHON=python PYCLANG_CMAKE_ON= -DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_VER} .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} \ LLVM_SUFFIX=${LLVM_SUFFIX} \ LLVM_MAJOR=${LLVM_MAJOR} COMMANDS= ${LLVM_COMMANDS} FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} MAN1SRCS+= ${LLVM_MAN1SRCS} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_LIBS= libclangApplyReplacements \ libclangChangeNamespace \ libclangDaemon \ libclangDoc \ libclangIncludeFixer \ libclangMove \ libclangQuery \ libclangRename \ libclangReorderFields \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_FILES= index.js EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g}|${EXTRAS_FILES:tW:C/ */|/g} FLANG_PATTERN= ${FLANG_COMMANDS:S/^/bin./:tW:C/ */|/g}|flang|libFIR|libFortran MLIR_PATTERN= ${MLIR_COMMANDS:S/^/bin./:tW:C/ */|/g}|mlir|libMLIR|obj.MLIRCAP .include # keep in sync with /usr/src/lib/clang/clang.build.mk # ----------- start of sync block ------------------ # Armv6 and armv7 uses hard float abi, unless the CPUTYPE has soft in it. # arm (for armv4 and armv5 CPUs) always uses the soft float ABI. # For all other targets, we stick with 'unknown'. .if ${ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") TARGET_ABI= -gnueabihf .elif ${ARCH:Marm*} TARGET_ABI= -gnueabi .else TARGET_ABI= .endif CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-portbld-${OPSYS:tl}${OSREL}${TARGET_ABI} # ----------- end of sync block -------------------- .if ${PORT_OPTIONS:MCLANG} LLVM_ENABLE_PROJECTS+= clang COMMANDS+= ${CLANG_COMMANDS} MAN1SRCS+= ${CLANG_MAN1SRCS} CLANG_PATTERN= (c-index-test|clang|diagtool|hmaptool|intercept-|libear|libscanbuild|analyze-|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer|AnalyzerPlugin.so) USES+= gnome .endif .if ${PORT_OPTIONS:MCOMPILER_RT} LLVM_ENABLE_PROJECTS+= compiler-rt COMPILER_RT_PATTERN= (sanitizer|include.xray|include\/fuzzer|profile\/InstrProfData.inc) .endif .if ${PORT_OPTIONS:MEXTRAS} LLVM_ENABLE_PROJECTS+= clang-tools-extra COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= ${EXTRAS_MAN1SRCS} PORTDOCS+= clang-tools .endif .if ${PORT_OPTIONS:MFLANG} LLVM_ENABLE_PROJECTS+= flang COMMANDS+= ${FLANG_COMMANDS} .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= ${LIT_MAN1SRCS} .endif .if ${PORT_OPTIONS:MLLD} LLVM_ENABLE_PROJECTS+= lld COMMANDS+= ${LLD_COMMANDS} PORTDOCS+= lld .endif .if ${PORT_OPTIONS:MLLDB} LLVM_ENABLE_PROJECTS+= lldb MAN1SRCS+= ${LLDB_MAN1SRCS} COMMANDS+= ${LLDB_COMMANDS} .endif .if ${PORT_OPTIONS:MMLIR} LLVM_ENABLE_PROJECTS+= mlir MAN1SRCS+= ${MLIR_MAN1SRCS} COMMANDS+= ${MLIR_COMMANDS} .endif .if ${PORT_OPTIONS:MOPENMP} LLVM_ENABLE_PROJECTS+= openmp MAN1SRCS+= ${OPENMP_MAN1SRCS} COMMANDS+= ${OPENMP_COMMANDS} .endif OPENMP_PATTERN= ${OPENMP_COMMANDS:tW:C/ */|/g}|cmake\/openmp|libarcher|lib[ig]*omp|omp.h|ompt.h|ompt-multiplex.h|omp-tools.h .if ${PORT_OPTIONS:MPYCLANG} PYCLANG_PATTERN= (clang\/(__init__|cindex|enumerations).py)$$ .endif .if defined(LLVM_ENABLE_PROJECTS) CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}" .endif .include .include "${.CURDIR}/Makefile.COMMANDS" .include "${.CURDIR}/Makefile.MAN1SRCS" _FREEBSD_BACKENDS= AArch64 ARM Mips PowerPC RISCV X86 FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS} .if ${ARCH} == amd64 _NATIVE_BACKENDS= X86 .elif ${ARCH} == aarch64 _NATIVE_BACKENDS= AArch64 ARM .elif ${ARCH:Marmv*} _NATIVE_BACKENDS= ARM .elif ${ARCH} == i386 _NATIVE_BACKENDS= X86 .elif ${ARCH:Mmips*} _NATIVE_BACKENDS= Mips .elif ${ARCH:Mpowerpc*} _NATIVE_BACKENDS= PowerPC .elif ${ARCH:Mriscv*} _NATIVE_BACKENDS= RISCV .endif NATIVE_BACKENDS= ${_NATIVE_BACKENDS} .if ${PORT_OPTIONS:MBE_AMDGPU} FREEBSD_BACKENDS+= AMDGPU NATIVE_BACKENDS+= AMDGPU .endif .if ${PORT_OPTIONS:MBE_WASM} FREEBSD_BACKENDS+= WebAssembly NATIVE_BACKENDS+= WebAssembly .endif STANDARD_BACKENDS= ${_FREEBSD_BACKENDS} AMDGPU AVR BPF Hexagon Lanai \ MSP430 NVPTX Sparc SystemZ VE WebAssembly XCore _BE_LIBS_COMMON= CodeGen Desc Info _BE_LIBS_AArch64= AsmParser Disassembler Utils _BE_LIBS_BACKWARDS_AArch64=Exegesis _BE_LIBS_AMDGPU= AsmParser Disassembler TargetMCA Utils _BE_INCS_ARM= arm_bf16.h arm_cde.h arm_fp16.h arm_mve.h arm_neon.h arm_sve.h _BE_LIBS_ARM= AsmParser Disassembler Utils _BE_LIBS_AVR= AsmParser Disassembler _BE_LIBS_BPF= AsmParser Disassembler _BE_LIBS_Hexagon= AsmParser Disassembler _BE_LIBS_Lanai= AsmParser Disassembler _BE_LIBS_MSP430= AsmParser Disassembler _BE_LIBS_Mips= AsmParser Disassembler _BE_LIBS_BACKWARDS_Mips=Exegesis _BE_LIBS_PowerPC= AsmParser Disassembler _BE_LIBS_BACKWARDS_PowerPC=Exegesis _BE_INCS_RISCV= riscv_vector.h _BE_LIBS_RISCV= AsmParser Disassembler _BE_LIBS_Sparc= AsmParser Disassembler _BE_LIBS_SystemZ= AsmParser Disassembler _BE_LIBS_VE= AsmParser Disassembler _BE_LIBS_WebAssembly= AsmParser Disassembler Utils _BE_LIBS_X86= AsmParser Disassembler TargetMCA _BE_LIBS_BACKWARDS_X86=Exegesis _BE_LIBS_XCore= Disassembler .for BE in FREEBSD NATIVE STANDARD .for BE_ARCH in ${${BE}_BACKENDS} _BE_LIBS_${BE}+= ${_BE_LIBS_COMMON:S/^/${BE_ARCH}/} \ ${_BE_LIBS_${BE_ARCH}:S/^/${BE_ARCH}/} \ ${_BE_LIBS_BACKWARDS_${BE_ARCH}:S/$/${BE_ARCH}/} _BE_INCS_${BE}+= ${_BE_INCS_${BE_ARCH}} .endfor .endfor BE_PATTERN=${_BE_LIBS_STANDARD:O:S/$/.a/:ts|}|${_BE_INCS_STANDARD:ts|} _CRTLIBDIR= ${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/lib/freebsd _CRTBLDIR= ${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/share _COMPILER_RT_LIBS_i386= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_static-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.cfi-i386.a \ libclang_rt.cfi_diag-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_minimal-i386.a \ libclang_rt.ubsan_minimal-i386.so \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone-i386.so \ libclang_rt.ubsan_standalone_cxx-i386.a .if ${ARCH} == "amd64" _COMPILER_RT_BLACKLISTS= cfi_ignorelist.txt _COMPILER_RT_BLACKLISTS+= asan_ignorelist.txt _COMPILER_RT_BLACKLISTS+= msan_ignorelist.txt _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.asan_static-x86_64.a \ libclang_rt.builtins-x86_64.a \ libclang_rt.cfi-x86_64.a \ libclang_rt.cfi_diag-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.fuzzer_interceptors-x86_64.a \ libclang_rt.fuzzer_no_main-x86_64.a \ libclang_rt.fuzzer-x86_64.a \ libclang_rt.msan-x86_64.a \ libclang_rt.msan-x86_64.a.syms \ libclang_rt.msan_cxx-x86_64.a \ libclang_rt.msan_cxx-x86_64.a.syms \ libclang_rt.orc-x86_64.a \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan-x86_64.so \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_minimal-x86_64.a \ libclang_rt.ubsan_minimal-x86_64.a.syms \ libclang_rt.ubsan_minimal-x86_64.so \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.so \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms \ libclang_rt.xray-basic-x86_64.a \ libclang_rt.xray-fdr-x86_64.a \ libclang_rt.xray-profiling-x86_64.a \ libclang_rt.xray-x86_64.a .if exists(/usr/lib32/libc.so.7) _COMPILER_RT_LIBS+= ${_COMPILER_RT_LIBS_i386} .endif .elif ${ARCH} == "i386" _COMPILER_RT_BLACKLISTS= cfi_ignorelist.txt _COMPILER_RT_BLACKLISTS+= asan_ignorelist.txt _COMPILER_RT_LIBS+= ${_COMPILER_RT_LIBS_i386} .elif ${ARCH} == "powerpc" _COMPILER_RT_LIBS= \ libclang_rt.builtins-powerpc.a \ libclang_rt.profile-powerpc.a .elif ${ARCH} == "riscv64" _COMPILER_RT_BLACKLISTS= asan_ignorelist.txt _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-riscv64.a \ libclang_rt.asan-riscv64.a \ libclang_rt.asan-riscv64.a.syms \ libclang_rt.asan-riscv64.so \ libclang_rt.asan_cxx-riscv64.a \ libclang_rt.asan_cxx-riscv64.a.syms \ libclang_rt.asan_static-riscv64.a \ libclang_rt.builtins-riscv64.a \ libclang_rt.stats-riscv64.a \ libclang_rt.stats_client-riscv64.a \ libclang_rt.ubsan_minimal-riscv64.a \ libclang_rt.ubsan_minimal-riscv64.a.syms \ libclang_rt.ubsan_minimal-riscv64.so \ libclang_rt.ubsan_standalone-riscv64.a \ libclang_rt.ubsan_standalone-riscv64.a.syms \ libclang_rt.ubsan_standalone-riscv64.so \ libclang_rt.ubsan_standalone_cxx-riscv64.a \ libclang_rt.ubsan_standalone_cxx-riscv64.a.syms .endif .if ${ARCH} == "armv6" BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif # Comment out plist entries for unsupported options. .for opt in ${_ALL_OPTIONS} .if !${OPTIONS_DEFINE:M${opt}} PLIST_SUB+= ${opt}="@comment " .endif .endfor post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|g' \ ${WRKSRC}/llvm/utils/lit/lit.py \ ${WRKSRC}/llvm/utils/lit/lit/*.py \ ${WRKSRC}/llvm/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/llvm/CMakeLists.txt post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${WRKSRC}/clang/lib/Driver/ToolChains/CommonArgs.cpp ${REINPLACE_CMD} -e 's|%%LLVM_SUFFIX%%|${LLVM_SUFFIX}|' \ ${WRKSRC}/clang/tools/clang-format/clang-format.py \ ${WRKSRC}/clang/tools/clang-format/clang-format-sublime.py \ ${WRKSRC}/clang/tools/clang-format/git-clang-format post-patch-LLD-on: ${REINPLACE_CMD} -e "s|'indexsidebar.html'|['indexsidebar.html']|" \ ${WRKSRC}/lld/docs/conf.py post-install: ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${RM} -r ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc/LLVM/* ${STAGEDIR}${DOCSDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc/LLVM ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/doc .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif .if ! ${PORT_OPTIONS:MLLDB} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lldb-tblgen.1 .endif .if ! ${PORT_OPTIONS:MMLIR} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/mlir-tblgen.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/toolchains/ ${INSTALL_DATA} ${WRKDIR}/xtoolchain.mk \ ${STAGEDIR}${PREFIX}/share/toolchains/llvm${LLVM_SUFFIX}.mk ${LN} -s libclang.so.13 ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so.${LLVM_MAJOR} post-install-FLANG-on: ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/CodeGen/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/Dialect/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/Transforms/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/CMakeFiles ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/CMakeFiles post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/llvm/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -fs ../${LLVM_DIR}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -fs ../${LLVM_DIR}/bin/llvm-lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/builtin_commands ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/builtin_commands/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/builtin_commands ${INSTALL_DATA} ${WRKSRC}/llvm/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -fs ../${LLVM_DIR}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} post-install-LLD-on: ${LN} -s ld.lld ${STAGEDIR}${LLVM_PREFIX}/bin/ld TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' do-test: if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: @[ -d ${STAGEDIR} ] || (echo "Can't make plist before package is staged ${STAGEDIR}" && exit 1) ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_DIR:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '_ignorelist.txt$$' | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' \ -e 's|${PYTHON_TAG:C/\./\\./g}${PYTHON_ABIVER}|%%PYTHON_TAG%%%%PYTHON_ABIVER%%|' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_SUFFIX:C/\./\\./g}|%%LLVM_SUFFIX%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}$$|\1%%LLVM_MAJOR%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}\([^0-9]\)|\1%%LLVM_MAJOR%%\2|' \ | ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_SUFFIX:C/\./\\./g}|%%LLVM_SUFFIX%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}$$|\1%%LLVM_MAJOR%%|' \ -e 's|\([^0-9]\)${LLVM_MAJOR}\([^0-9]\)|\1%%LLVM_MAJOR%%\2|' \ | ${SORT} >> ${PLIST}.tmp ${AWK} '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /(${OPENMP_PATTERN}|${EXTRAS_PATTERN}|libclang_rt|${PYCLANG_PATTERN}|${BE_PATTERN})/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /(${FLANG_PATTERN})/) {printf "%%%%FLANG%%%%"} \ if ($$0 ~ /(bin\/(ld|lld|wasm-ld))|liblld[^b]|\/lld\// && $$0 !~ /(lldb)/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /(${MLIR_PATTERN})/) {printf "%%%%MLIR%%%%"} \ if ($$0 ~ /(${OPENMP_PATTERN})/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /(LLVMgold)/) {printf "%%%%GOLD%%%%"} \ if ($$0 ~ /${PYCLANG_PATTERN}/) {printf "%%%%PYCLANG%%%%"} \ if ($$0 !~ /(libclang_rt)/ && $$0 !~ /(${BE_PATTERN})$$/) {print}}' ${PLIST}.tmp >> ${PLIST} ${ECHO_CMD} '@postexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi' >> ${PLIST} ${ECHO_CMD} '@postunexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi' >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .include diff --git a/devel/m17n-lib/Makefile b/devel/m17n-lib/Makefile index 5b5d0a61229e..74584830f5bd 100644 --- a/devel/m17n-lib/Makefile +++ b/devel/m17n-lib/Makefile @@ -1,58 +1,59 @@ PORTNAME= m17n-lib PORTVERSION= 1.8.5 +PORTREVISION= 1 CATEGORIES= devel textproc MASTER_SITES= SAVANNAH/m17n MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= Library for the multilingual text handling WWW= https://www.nongnu.org/m17n/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= m17n-db>=1.8.10:devel/m17n-db LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgd.so:graphics/gd \ libotf.so:print/libotf RUN_DEPENDS= m17n-db>=1.8.10:devel/m17n-db MAKE_JOBS_UNSAFE= yes USES= autoreconf bison:alias gettext-tools gnome libtool \ localbase pathfix pkgconfig xorg USE_XORG= ice sm x11 xaw xft xmu xrender xt USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip NLS_LIB_DEPENDS= libiconv.so:converters/libiconv NLS_USES= gettext-runtime iconv NLS_LDFLAGS= -liconv -lintl NLS_CONFIGURE_OFF= --disable-nls NLS_CONFIGURE_WITH= libintl-prefix=${LOCALBASE} BINARY_ALIAS= freetype-config=true OPTIONS_DEFINE= ANTHY ISPELL NLS THAI OPTIONS_DEFAULT=NLS ANTHY_DESC= Kana-Kanji conversion support via Anthy THAI_DESC= Thai language support via libThai ANTHY_LIB_DEPENDS= libanthy.so:japanese/anthy ANTHY_CONFIGURE_OFF= --without-anthy ISPELL_BUILD_DEPENDS= ispell:textproc/aspell-ispell ISPELL_RUN_DEPENDS= ispell:textproc/aspell-ispell ISPELL_CONFIGURE_OFF= HAVE_ISPELL=no THAI_LIB_DEPENDS= libthai.so:devel/libthai THAI_CONFIGURE_OFF= --without-libthai pre-configure: @${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e 's|-ldl||g' .include diff --git a/devel/msitools/Makefile b/devel/msitools/Makefile index 8a0457ab721c..b607e5900664 100644 --- a/devel/msitools/Makefile +++ b/devel/msitools/Makefile @@ -1,39 +1,39 @@ PORTNAME= msitools DISTVERSION= 0.101 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= GNOME PATCH_SITES= https://gitlab.gnome.org/GNOME/msitools/-/commit/ PATCHFILES= b08275d549bb12a09a420ef9ccaeb0974e00008a.patch:-p1 \ 25c4353cf173cddeb76c0a2dd6621bcb753cabf8.patch:-p1 MAINTAINER= romain@FreeBSD.org COMMENT= Inspect and build Windows Installer (.MSI) files WWW= https://wiki.gnome.org/msitools LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/copyright LIB_DEPENDS= libgcab-1.0.so:archivers/gcab \ libgsf-1.so:devel/libgsf \ libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= bash:shells/bash TEST_DEPENDS= gsed:textproc/gsed USES= bison gnome meson perl5 pkgconfig shebangfix tar:xz vala:build USE_LDCONFIG= yes USE_GNOME= glib20 introspection libxml2 SHEBANG_FILES= tools/msidiff.in \ tools/msidump.in PLIST_SUB= DISTVERSION=${DISTVERSION} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext post-patch: ${REINPLACE_CMD} 's|sed|gsed|g' ${WRKSRC}/tests/wixl.bats .include diff --git a/devel/py-lxml/Makefile b/devel/py-lxml/Makefile index f08001061f39..3b8e6743d44b 100644 --- a/devel/py-lxml/Makefile +++ b/devel/py-lxml/Makefile @@ -1,61 +1,61 @@ PORTNAME= lxml PORTVERSION= 4.9.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Pythonic binding for the libxml2 and libxslt libraries WWW= https://lxml.de/ \ https://github.com/lxml/lxml LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/doc/licenses/BSD.txt USES= compiler cpe gnome python uniquefiles:dirs USE_GNOME= libxml2 libxslt USE_PYTHON= autoplist concurrent cython distutils LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib DOCS_FILES= CHANGES.txt CREDITS.txt TODO.txt README.rst PORTDOCS= * OPTIONS_DEFINE= DOCS # needed for test to work PYDISTUTILS_BUILD_TARGET= build_ext PYDISTUTILS_BUILDARGS= --inplace # force regeneration of cython files post-extract: @${FIND} ${WRKSRC} -name "*.c" -delete pre-configure: # remove with update to 5.x @if ! xml2-config --version | ${GREP} -q ^2\.11; then \ ${REINPLACE_CMD} -e 's|, xmlerror.xmlError\*|, const xmlerror.xmlError*|' \ ${WRKSRC}/src/lxml/*.pxi; \ fi post-install: @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ -name '*.so' -exec ${STRIP_CMD} {} + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} # see upstream Makefile, test target do-test: cd ${WRKSRC} && ${PYTHON_CMD} test.py -p -v .include # if using gcc, force modern GCC due to use of #pragma .if ${CHOSEN_COMPILER_TYPE} == gcc USE_GCC= yes .endif .include diff --git a/devel/py-lxml5/Makefile b/devel/py-lxml5/Makefile index 1affaf7740ff..58bb4b20cb9d 100644 --- a/devel/py-lxml5/Makefile +++ b/devel/py-lxml5/Makefile @@ -1,30 +1,30 @@ PORTNAME= lxml PORTVERSION= 5.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/lxml/lxml/releases/download/lxml-${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 5 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pythonic XML processing library combining libxml2/libxslt WWW= https://lxml.de/ \ https://github.com/lxml/lxml LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= cpe gnome python USE_GNOME= libxml2 libxslt USE_PYTHON= autoplist concurrent cython3 pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}lxml ${PYTHON_PKGNAMEPREFIX}lxml5 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/root/Makefile b/devel/root/Makefile index 64d8c3f43120..359804ae4275 100644 --- a/devel/root/Makefile +++ b/devel/root/Makefile @@ -1,222 +1,223 @@ PORTNAME= root DISTVERSION= 6.36.00 +PORTREVISION= 1 CATEGORIES= devel science math parallel python MASTER_SITES= https://root.cern/download/ DISTFILES= ${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX} MAINTAINER= erik@tenku.dk COMMENT= Data analysis framework made at CERN WWW= https://root.cern/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL2_1.txt BROKEN_i386= std::uint64_t to std::size_t narrowing conversion issue introduced in version 6.34.02 BUILD_AND_RUN_DEPENDS= bash:shells/bash \ nlohmann-json>=3:devel/nlohmann-json BUILD_DEPENDS= ${BUILD_AND_RUN_DEPENDS} LIB_DEPENDS= libfreetype.so:print/freetype2 \ liblz4.so:archivers/liblz4 \ libpcre2-8.so:devel/pcre2 \ libxxhash.so:devel/xxhash \ libzstd.so:archivers/zstd RUN_DEPENDS= ${BUILD_AND_RUN_DEPENDS} USES= cmake desktop-file-utils iconv shebangfix SHEBANG_FILES= main/python/rootbrowse.py \ main/python/rootcp.py \ main/python/rootdrawtree.py \ main/python/rooteventselector.py \ main/python/rootls.py \ main/python/rootmkdir.py \ main/python/rootmv.py \ main/python/rootprint.py \ main/python/rootrm.py \ main/python/rootslimtree.py \ config/rootssh \ etc/dictpch/makepch.py \ etc/proof/utils/circle.sh \ etc/proof/utils/crypt \ etc/proof/utils/pps \ etc/proof/utils/proofctl.sh \ etc/proof/utils/proofinstall.sh \ etc/pdg_table_update.py \ etc/runfirefox.sh # add a port-specific shebang to be replaced python_OLD_CMD+= "/usr/bin/env @python@" # Flags and environment variables for building CMAKE_ON= builtin_clang builtin_cling builtin_llvm builtin_openui5 \ fail-on-missing geom gnuinstall rpath shared soversion CMAKE_OFF= arrow builtin_cfitsio builtin_cppzmq builtin_davix builtin_fftw3 \ builtin_freetype builtin_ftgl builtin_gif builtin_gl2ps builtin_glew \ builtin_gsl builtin_jpeg builtin_lz4 builtin_lzma builtin_nlohmannjson \ builtin_openssl builtin_pcre builtin_png builtin_tbb builtin_unuran \ builtin_vc builtin_vdt builtin_veccore builtin_xrootd builtin_xxhash \ builtin_zeromq builtin_zlib builtin_zstd cefweb clad cocoa cuda cudnn daos \ dcache fcgi fftw3 geombuilder gviz html libcxx llvm13_broken_tests macos_native \ memory_termination minuit2_mpi minuit2_omp mpi odbc proof pythia8 r \ roofit_multiprocess runtime_cxxmodules shadowpw test_distrdf_pyspark \ tmva-gpu tmva-rmva tmva-sofie unfold unuran uring use_gsl_cblas vc vecgeom \ win_broken_tests winrtdebug # See https://root.cern/install/build_from_source/#all-build-options OPTIONS_DEFINE= DOCS ASIMAGE DATAFRAME DAVIX FITS FORTRAN GDML HTTP IMT MATHMORE \ MYSQL OPENGL PGSQL PYROOT QT6WEB ROOFIT ROOT7 SPECTRUM SQLITE SSL TMLP TMVAML \ VDT WEBGUI X11 XML XROOTD OPTIONS_DEFAULT= ASIMAGE CLAD DATAFRAME DAVIX FITS GDML HTTP IMT MATHMORE OPENGL \ PYROOT ROOFIT ROOT7 SPECTRUM SSL TMLP TMVAML VDT WEBGUI X11 XML XROOTD OPTIONS_SUB= yes ASIMAGE_CMAKE_BOOL= asimage asimage_tiff ASIMAGE_DESC= Enable support for image processing via libAfterImage ASIMAGE_IMPLIES= X11 ASIMAGE_LIB_DEPENDS= libgif.so:graphics/giflib \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff ASIMAGE_USES= jpeg # TODO: clad can only be included in ROOT's configure stage # with network access, however, a port of clad is available -- patch #CLAD_CMAKE_BOOL= clad #CLAD_DESC= Build clad, the cling automatic differentiation plugin #CLAD_LIB_DEPENDS= libclad.so:math/clad #CLAD_CMAKE_ON= -DCLAD_SOURCE_DIR= DATAFRAME_CMAKE_BOOL= dataframe DATAFRAME_DESC= Enable ROOT RDataFrame DAVIX_CMAKE_BOOL= davix DAVIX_DESC= Enable support for Davix (HTTP/WebDAV access) DAVIX_LIB_DEPENDS= libdavix.so:www/davix DAVIX_USES= pkgconfig FITS_CMAKE_BOOL= fitsio FITS_DESC= Enable support for reading FITS images FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libcurl.so:ftp/curl FORTRAN_CMAKE_BOOL= fortran FORTRAN_DESC= Build Fortran components of ROOT FORTRAN_USES= fortran GDML_CMAKE_BOOL= gdml GDML_DESC= Enable support for GDML (Geometry Description Markup Language) HTTP_CMAKE_BOOL= http HTTP_DESC= Enable support for HTTP server HTTP_IMPLIES= ROOT7 WEBGUI IMT_CMAKE_BOOL= imt IMT_DESC= Enable support for implicit multi-threading via Intel® Thread Building Blocks (TBB) IMT_LIB_DEPENDS= libtbb.so:devel/onetbb MATHMORE_CMAKE_BOOL= mathmore MATHMORE_DESC= Build libMathMore extended math library MATHMORE_LIB_DEPENDS= libgsl.so:math/gsl MYSQL_CMAKE_BOOL= mysql MYSQL_DESC= Enable support for MySQL databases MYSQL_LIB_DEPENDS= libunwind.so:devel/libunwind MYSQL_USES= mysql ssl OPENGL_CMAKE_BOOL= opengl OPENGL_DESC= Enable support for OpenGL OPENGL_IMPLIES= X11 ASIMAGE OPENGL_LIB_DEPENDS= libftgl.so:graphics/ftgl \ libgl2ps.so:print/gl2ps OPENGL_USES= gl OPENGL_USE= gl=glew,glu,opengl PGSQL_CMAKE_BOOL= pgsql PGSQL_DESC= Enable support for PostgreSQL PGSQL_USES= pgsql:13+ # TODO: 'tpython' is new since 6.34; look into its implications PYROOT_CMAKE_BOOL= pyroot tpython tmva-pymva PYROOT_DESC= Enable bindings between Python and C++ with PyROOT PYROOT_BUILD_DEPENDS= ${PYNUMPY} PYROOT_USES= python:3.9+,build,run PYROOT_USES_OFF= python:3.9+,build QT6WEB_CMAKE_BOOL= qt6web QT6WEB_DESC= Enable support for Qt6 web-based display QT6WEB_IMPLIES= WEBGUI OPENGL QT6WEB_USES= qt:6 QT6WEB_USE= qt=base,declarative,positioning,webchannel,webengine ROOFIT_CMAKE_BOOL= roofit ROOFIT_DESC= Build the advanced fitting package RooFit, and RooStats for statistical tests ROOT7_CMAKE_BOOL= root7 ROOT7_DESC= Build ROOT 7 components of ROOT SPECTRUM_CMAKE_BOOL= spectrum SPECTRUM_DESC= Enable support for TSpectrum SQLITE_CMAKE_BOOL= sqlite SQLITE_DESC= Enable support for SQLite SQLITE_USES= sqlite SSL_CMAKE_BOOL= ssl SSL_DESC= Enable support for SSL encryption via OpenSSL SSL_USES= ssl TMLP_CMAKE_BOOL= mlp TMLP_DESC= Enable support for TMultilayerPerceptron classes' federation TMLP_IMPLIES= TMVAML MATHMORE TMVAML_CMAKE_BOOL= tmva tmva-cpu TMVAML_DESC= Build TMVA multi variate analysis library, including TMVA with CPU support for deep learning TMVAML_IMPLIES= IMT MATHMORE TMVAML_LIB_DEPENDS= libopenblas.so:math/openblas VDT_CMAKE_BOOL= vdt VDT_DESC= Enable support for VDT (fast and vectorisable mathematical functions) VDT_LIB_DEPENDS= libvdt.so:math/vdt WEBGUI_CMAKE_BOOL= webgui WEBGUI_DESC= Build Web-based UI components of ROOT WEBGUI_IMPLIES= HTTP ROOT7 X11_CMAKE_BOOL= x11 X11_DESC= Enable support for X11/Xft X11_USES= xorg X11_USE= xorg=ice,sm,x11,xau,xaw,xcb,xcomposite,xcursor,xdamage,xdmcp,xext \ xorg=xfixes,xfont,xfont2,xft,xi,xinerama,xkbfile,xmu,xpm,xrandr,xrender \ xorg=xres,xscrnsaver,xt,xv,xxf86vm XML_CMAKE_BOOL= xml XML_DESC= Enable support for XML XML_USES= gnome XML_USE= gnome=libxml2 XROOTD_CMAKE_BOOL= xrootd XROOTD_DESC= Enable support for XRootD file server and client XROOTD_LIB_DEPENDS= libXrdCl.so:databases/xrootd .include ROOT_CLANG_VER= 18 PLIST_SUB+= PYVER="${PYTHON_VER:S/./_/}" \ ROOT_CLANG_VER="${ROOT_CLANG_VER}" \ SHLIB_SHVER="${DISTVERSION:R}" \ SHLIB_VER="${DISTVERSION}" # A few headers are only installed on aarch64 .if ${OPSYS} == FreeBSD && ${ARCH} == "aarch64" PLIST_SUB+= ONLY_INSTALLED_ON_AARCH64="" .else PLIST_SUB+= ONLY_INSTALLED_ON_AARCH64="@comment " .endif # Files in ${PREFIX}lib/root/__pycache__ have links into WRKDIR and should not be staged # Files in wrkdirs are generated during build of libAfterImage and should not be staged post-install: ${RM} -r ${STAGEDIR}${PREFIX}/lib/root/__pycache__ ${RM} -r ${STAGEDIR}/wrkdirs .include diff --git a/devel/shiboken2/Makefile b/devel/shiboken2/Makefile index 59291feceffc..ab615703f6bf 100644 --- a/devel/shiboken2/Makefile +++ b/devel/shiboken2/Makefile @@ -1,49 +1,50 @@ PORTNAME= shiboken2 DISTVERSION= ${QT5_VERSION} +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= QT/official_releases/QtForPython/shiboken2/PySide2-${DISTVERSION}-src PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyside-setup-opensource-src-${DISTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Python binding generator for C++ libraries WWW= https://wiki.qt.io/PySide2 LICENSE= GPLv2 LGPL21 LGPL3 LICENSE_COMB= multi BROKEN_riscv64= fails to compile: __threading_support:135:3: Unsupported architecture BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ git>0:devel/git LIB_DEPENDS= libxslt.so:textproc/libxslt USES= cmake compiler:c++11-lang gnome llvm:lib,noexport \ python:3.9-3.11 qt:5 shebangfix tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYTHON= flavors USE_QT= buildtools:build core gui network qmake:build testlib:build \ xml xmlpatterns CMAKE_ARGS+= "-DCMAKE_CXX_FLAGS=-lexecinfo" \ "-DCMAKE_STANDARD_LIBRARIES=-lexecinfo" \ "-DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo" \ "-DUSE_PYTHON_VERSION=${PYTHON_VER}" \ "-DLLVM_CONFIG=${LLVM_CONFIG}" PLIST_SUB+= DISTVERSION=${DISTVERSION} PLIST_SUB+= PYVERSTR=.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER} WRKSRC= ${WRKDIR}/pyside-setup-opensource-src-${DISTVERSION:C/^([0-9].[0-9]+.[0-9])(.[0-9])?/\1/}/sources/shiboken2 post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/shiboken_tool.py ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -f -d ${PYTHONPREFIX_SITELIBDIR} \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -f -d ${PYTHONPREFIX_SITELIBDIR} \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .include diff --git a/devel/shiboken6/Makefile b/devel/shiboken6/Makefile index 06262d87bd21..72963cfcfc38 100644 --- a/devel/shiboken6/Makefile +++ b/devel/shiboken6/Makefile @@ -1,65 +1,66 @@ PORTNAME= shiboken6 DISTVERSION= ${PYSIDE6_VERSION} +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= QT/official_releases/QtForPython/pyside6/PySide6-${DISTVERSION}-src PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyside-setup-everywhere-src-${DISTVERSION} DIST_SUBDIR= KDE/Qt/${PYSIDE6_VERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Python binding generator for C++ libraries WWW= http://qt-project.org LICENSE= GPLv2 LGPL21 LGPL3 LICENSE_COMB= multi LIB_DEPENDS= libxslt.so:textproc/libxslt USES= cmake compiler:c++17-lang gnome llvm:lib,min=17,noexport pathfix \ python qt:6 tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYTHON= flavors USE_QT= base CMAKE_ARGS= -DClang_DIR:PATH="${LLVM_PREFIX}/lib/cmake/clang" \ -DLLVM_DIR:PATH="${LLVM_PREFIX}/lib/cmake/llvm" \ -DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo \ -DUSE_PYTHON_VERSION=${PYTHON_VER} \ -DBUILD_TESTS:BOOL=false CONFIGURE_ENV= LLVM_INSTALL_DIR="${LLVM_PREFIX}/lib/cmake/llvm" WRKSRC_SUBDIR= sources/shiboken6 PLIST_SUB= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} \ SHLIB_VER=${DISTVERSION:R} \ SHLIB_VERSION=${DISTVERSION} OPTIONS_DEFINE= DOCS NUMPY OPTIONS_DEFAULT= NUMPY DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}myst-parser>0:textproc/py-myst-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-design>0:textproc/py-sphinx-design@${PY_FLAVOR} DOCS_ALL_TARGET= all doc DOCS_PORTDOCS= * NUMPY_BUILD_DEPENDS= ${PYNUMPY} NUMPY_RUN_DEPENDS= ${PYNUMPY} NUMPY_CMAKE_ON= -DNUMPY_INCLUDE_DIR:PATH="${PYTHON_SITELIBDIR}/numpy/core/include" post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/shiboken_tool.py ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -f -d ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -f -d ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html (cd ${BUILD_WRKSRC}/doc/html; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html) .include diff --git a/devel/smooth/Makefile b/devel/smooth/Makefile index 2c7839d80185..1abe8dea3814 100644 --- a/devel/smooth/Makefile +++ b/devel/smooth/Makefile @@ -1,34 +1,34 @@ PORTNAME= smooth PORTVERSION= 0.9.10 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= danfe@FreeBSD.org COMMENT= Object-oriented C++ class library WWW= https://www.smooth-project.org/ LICENSE= ART20 LIB_DEPENDS= libcpuid.so:sysutils/libcpuid \ libcurl.so:ftp/curl \ libfribidi.so:converters/fribidi \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libwebp.so:graphics/webp USES= gmake gnome iconv jpeg localbase pkgconfig xorg USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf gtk30 libxml2 USE_XORG= x11 MAKE_ARGS= config="systemlibcpuid systemlibwebp" post-extract: @${REINPLACE_CMD} -e 's,register ,,' \ ${WRKSRC}/classes/gui/dialogs/colordlg.cpp # Prevent accidental build/use of bundled libraries' code/headers @${RM} -r ${WRKSRC}/libraries/fribidi ${WRKSRC}/libraries/lib* \ ${WRKSRC}/libraries/v8 ${WRKSRC}/libraries/zlib @${RM} -r ${WRKSRC}/include/support .include diff --git a/devel/sope/Makefile b/devel/sope/Makefile index 47094cb74a51..8b1b8bb251d0 100644 --- a/devel/sope/Makefile +++ b/devel/sope/Makefile @@ -1,86 +1,87 @@ PORTNAME= sope PORTVERSION= 5.12.1 +PORTREVISION= 1 CATEGORIES= devel gnustep MASTER_SITES= https://packages.sogo.nu/sources/ DISTNAME= SOPE-${PORTVERSION} PKGNAMESUFFIX= -${FLAVOR} MAINTAINER= acm@FreeBSD.org COMMENT= Extensive set of GNUstep web application frameworks WWW= https://sogo.nu/ LICENSE= LGPL20 FLAVORS= mysql pgsql FLAVOR?= ${FLAVORS[1]} USES= gmake gnome iconv gnustep USE_GNOME= libxml2 USE_GNUSTEP= base build USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES} CONFIGURE_ARGS= --with-gnustep --disable-debug --disable-strip CONFIGURE_ENV+= CC="${CC}" LLD_UNSAFE= yes # PR 230608 mysql_CONFLICTS_INSTALL= sope2 ${PORTNAME}-pgsql pgsql_CONFLICTS_INSTALL= sope2 ${PORTNAME}-mysql SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \ GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES} WRKSRC= ${WRKDIR}/SOPE OPTIONS_DEFINE= LDAP OPTIONS_DEFAULT= LDAP OPTIONS_SINGLE_DATABASE=MYSQL PGSQL OPTIONS_SINGLE= DATABASE DATABASE_DESC= Database support OPTIONS_SUB= yes LDAP_DESC= Build with LDAP support MYSQL_DESC= Build with MySQL support PGSQL_DESC= Build with PostgreSQL support LDAP_USES= ldap MYSQL_USES= mysql PGSQL_USES= pgsql .if ${FLAVOR:U} == pgsql OPTIONS_DEFAULT+= PGSQL .endif .if ${FLAVOR:U} == mysql OPTIONS_DEFAULT+= MYSQL .endif .include .if ${OPSYS} == FreeBSD CPPFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/sope-core/NGStreams/configure @${REINPLACE_CMD} -e 's|LDAP_OPT_ON|1|g' ${WRKSRC}/sope-ldap/NGLdap/NGLdapConnection.m .for f in config.guess config.sub @${CP} ${TEMPLATES}/$f ${WRKSRC}/sope-core/NGStreams/ .endfor post-patch-LDAP-off: @${REINPLACE_CMD} -e '/checkLinking "ldap"/d' ${WRKSRC}/configure post-patch-MYSQL-off: @${REINPLACE_CMD} -e '/checkLinking "mysqlclient"/d' ${WRKSRC}/configure post-patch-PGSQL-off: @${REINPLACE_CMD} -e '/checkLinking "pq"/d' ${WRKSRC}/configure do-configure: cd ${WRKSRC} ; . ${GNUSTEP_MAKEFILES}/GNUstep.sh ; ./configure ${CONFIGURE_ARGS} .include diff --git a/devel/sope2/Makefile b/devel/sope2/Makefile index 9c7ae9c539da..b32293f6614c 100644 --- a/devel/sope2/Makefile +++ b/devel/sope2/Makefile @@ -1,67 +1,67 @@ PORTNAME= sope2 PORTVERSION= 2.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel gnustep MASTER_SITES= http://www.sogo.nu/files/downloads/SOGo/Sources/ DISTNAME= SOPE-${PORTVERSION} MAINTAINER= acm@FreeBSD.org COMMENT= Extensive set of GNUstep web application frameworks WWW= https://sogo.nu/ LICENSE= LGPL20 LIB_DEPENDS= libmemcached.so:databases/libmemcached WRKSRC= ${WRKDIR}/SOPE OPTIONS_DEFINE= LDAP MYSQL PGSQL MEMCACHED OPTIONS_DEFAULT= LDAP PGSQL MEMCACHED OPTIONS_SUB= yes MYSQL_DESC= Build with MySQL support PGSQL_DESC= Build with PostgreSQL support MEMCACHED_DESC= Install memcached USES= gmake gnome iconv gnustep ssl USE_GNOME= libxml2 USE_GNUSTEP= base build USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES} LLD_UNSAFE= yes # PR 230608 SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \ GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES} CONFIGURE_ARGS= --with-gnustep --disable-debug --enable-strip LDAP_USES= ldap PGSQL_USES= pgsql MYSQL_USES= mysql MEMCACHED_RUN_DEPENDS= ${LOCALBASE}/bin/memcached:databases/memcached .include .if ${OPSYS} == FreeBSD ADDITIONAL_CPPFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/sope-core/NGStreams/configure .for f in config.guess config.sub @${CP} ${TEMPLATES}/$f ${WRKSRC}/sope-core/NGStreams/ .endfor post-patch-LDAP-off: @${REINPLACE_CMD} -e '/checkLinking "ldap"/d' ${WRKSRC}/configure post-patch-PGSQL-off: @${REINPLACE_CMD} -e '/checkLinking "pq"/d' ${WRKSRC}/configure post-patch-MYSQL-off: @${REINPLACE_CMD} -e '/checkLinking "mysqlclient"/d' ${WRKSRC}/configure do-configure: cd ${WRKSRC} ; . ${GNUSTEP_MAKEFILES}/GNUstep.sh ; ./configure ${CONFIGURE_ARGS} .include diff --git a/devel/tclxml/Makefile b/devel/tclxml/Makefile index b4fb8e846356..fb8717c7318e 100644 --- a/devel/tclxml/Makefile +++ b/devel/tclxml/Makefile @@ -1,47 +1,47 @@ PORTNAME= tclxml PORTVERSION= 3.3 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= devel tcl MASTER_SITES= LOCAL/bf SF/tclxml/TclXML/${PORTVERSION} MAINTAINER= tcltk@FreeBSD.org COMMENT= API for parsing XML documents using Tcl WWW= https://tclxml.sourceforge.net/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libicui18n.so:devel/icu libxslt.so:textproc/libxslt RUN_DEPENDS?= dtplite:devel/tcllib USES= gnome tar:xz tcl:tea TCL_PKG= Tclxml${PORTVERSION} USE_GNOME= libxml2 XML_CONFIG?= ${LOCALBASE}/bin/xml2-config USE_LDCONFIG= ${PREFIX}/lib/${TCL_PKG} CONFIGURE_ARGS+=XML_CONFIG="${XML_CONFIG}" MAKE_ENV+= TCLLIBPATH=${STAGEDIR}/${PREFIX}/lib TEST_TARGET= test PLIST_SUB= PORTVERSION=${PORTVERSION} PORTDOCS= README.xml html.xsl man.macros nroff.xsl tcldoc-1.0.dtd \ tcldom.html tcldom.xml tclxml.css tclxml.html tclxml.xml \ tclxslt.html tclxslt.xml transform.tcl txt.xsl OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^TCLSH_ENV[[:blank:]]*=/,/[^\]$$/d' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/g' \ ${WRKSRC}/configure post-install: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} doc) ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/devel/ticcutils/Makefile b/devel/ticcutils/Makefile index 2c0978a21bb4..c19b96c6b7e1 100644 --- a/devel/ticcutils/Makefile +++ b/devel/ticcutils/Makefile @@ -1,34 +1,34 @@ PORTNAME= ticcutils DISTVERSION= 0.36 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel textproc MASTER_SITES= https://github.com/LanguageMachines/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Generic utility library shared by the Tilburg University software WWW= https://github.com/LanguageMachines/ticcutils LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libicui18n.so:devel/icu USES= compiler:c++17-lang gmake gnome libtool localbase:ldflags \ pathfix pkgconfig USE_GNOME= libxml2 USE_LDCONFIG= yes USE_CXXSTD= c++17 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip TEST_TARGET= check # 1 test fails, see https://github.com/LanguageMachines/ticcutils/issues/26 TEST_ENV= LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib post-patch: @${REINPLACE_CMD} -e 's|-O3||g' \ ${PATCH_WRKSRC}/src/Makefile.in .include diff --git a/devel/tinysparql/Makefile b/devel/tinysparql/Makefile index 40fe52e4389f..e6329add1581 100644 --- a/devel/tinysparql/Makefile +++ b/devel/tinysparql/Makefile @@ -1,32 +1,32 @@ PORTNAME= tinysparql PORTVERSION= 3.8.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= RDF triple store library with SPARQL 1.1 interface WWW= https://gitlab.gnome.org/GNOME/tinysparql LICENSE= LGPL21+ GPLv2+ BSD3CLAUSE LICENSE_COMB= multi BINARY_ALIAS= python3=${PYTHON_VERSION} BUILD_DEPENDS= a2x:textproc/asciidoc LIB_DEPENDS= libavahi-glib.so:net/avahi-app \ libdbus-1.so:devel/dbus \ libsoup-3.0.so:devel/libsoup3 \ libstemmer.so:textproc/snowballstemmer \ libicutu.so:devel/icu \ libjson-glib-1.0.so:devel/json-glib \ USES= gettext gnome meson localbase:ldflags pkgconfig sqlite vala:build python:build \ tar:xz USE_GNOME= glib20 libxml2 introspection:build pygobject3 CONFIGURE_ARGS= -Dsystemd_user_services=false \ -Dbash_completion=true \ -Dbash_completion_dir=${PREFIX}/etc/bash_completion.d \ -Ddocs=false .include diff --git a/devel/umbrello/Makefile b/devel/umbrello/Makefile index aa165f11b6b9..ef866eeeaf59 100644 --- a/devel/umbrello/Makefile +++ b/devel/umbrello/Makefile @@ -1,32 +1,33 @@ PORTNAME= umbrello DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= devel kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= UML modeller for KDE WWW= https://umbrello.kde.org/ LIB_DEPENDS= libboost_thread.so:devel/boost-libs USES= cmake compiler:c++11-lang desktop-file-utils gnome kde:5 qt:5 \ tar:xz xorg USE_GNOME= libxml2 libxslt USE_KDE= archive auth bookmarks codecs completion config configwidgets \ coreaddons crash guiaddons i18n iconthemes init itemviews \ jobwidgets kio notifications parts service solid sonnet \ syntaxhighlighting texteditor textwidgets unitconversion \ widgetsaddons windowsystem xmlgui \ ecm:build USE_QT= concurrent core dbus gui network printsupport svg widgets xml \ buildtools:build qmake:build testlib:build USE_XORG= x11 OPTIONS_DEFINE= DOCS post-patch: # The CMakeFile sets BUILD_UNITTESTS to 1, not respecting the # value passed via CMAKE_ARGS. ${REINPLACE_CMD} -e '/BUILD_UNITTESTS/s|1|0|' \ ${PATCH_WRKSRC}/CMakeLists.txt .include diff --git a/devel/universal-ctags/Makefile b/devel/universal-ctags/Makefile index 261598889906..5aa93fc1a9ba 100644 --- a/devel/universal-ctags/Makefile +++ b/devel/universal-ctags/Makefile @@ -1,55 +1,56 @@ PORTNAME= universal-ctags PORTVERSION= p6.2.20250615.0 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= dereks@lifeofadishwasher.com COMMENT= Fork of Exuberant Ctags to generate index/tag files WWW= https://ctags.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf gmake pkgconfig python:test USE_GITHUB= yes GH_PROJECT= ctags GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=u TEST_TARGET= check PORTSCOUT= limit:^p6 OPTIONS_DEFINE= DEBUG GLOBAL_CONFIG ICONV JSON LIBXML2 MANPAGES PCRE2 \ YAML OPTIONS_DEFAULT= ${OPTIONS_DEFINE:NDEBUG:NGLOBAL_CONFIG} OPTIONS_SUB= yes GLOBAL_CONFIG_DESC= Enable reading global config from ${LOCALBASE}/etc/uctags.conf JSON_DESC= JSON output support PCRE2_DESC= ${PCRE_DESC} v2 DEBUG_CONFIGURE_ENABLE= debugging GLOBAL_CONFIG_CONFIGURE_ENABLE= custom-config="${LOCALBASE}/etc/uctags.conf" ICONV_USES= iconv ICONV_CONFIGURE_ENABLE= iconv # Extra support for YAML and XML based languages JSON_LIB_DEPENDS= libjansson.so:devel/jansson JSON_CONFIGURE_ENABLE= json LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 LIBXML2_CONFIGURE_ENABLE= xml MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_CONFIGURE_WITH= rst2man=${LOCALBASE}/bin/rst2man PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PCRE2_CONFIGURE_ENABLE= pcre2 YAML_LIB_DEPENDS= libyaml.so:textproc/libyaml YAML_CONFIGURE_ENABLE= yaml .include diff --git a/devel/wf-config/Makefile b/devel/wf-config/Makefile index 4d9cae193076..e1ddcb254118 100644 --- a/devel/wf-config/Makefile +++ b/devel/wf-config/Makefile @@ -1,35 +1,36 @@ PORTNAME= wf-config DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org COMMENT= Library for managing configuration files, written for wayfire WWW= https://wayfire.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols \ glm>0:math/glm LIB_DEPENDS= libevdev.so:devel/libevdev RUN_DEPENDS= glm>0:math/glm TEST_DEPENDS= doctest>0:devel/doctest USES= cmake:indirect compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= libxml2 USE_LDCONFIG= yes GH_ACCOUNT= WayfireWM MESON_ARGS= -Dtests=disabled PLIST_SUB= VERSION=${PORTVERSION} pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=enabled"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi .include diff --git a/devel/z88dk/Makefile b/devel/z88dk/Makefile index 03c351372fe0..12159ebd16f6 100644 --- a/devel/z88dk/Makefile +++ b/devel/z88dk/Makefile @@ -1,74 +1,75 @@ PORTNAME= z88dk PORTVERSION= 2.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION} DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Complete Z80/Z180 development kit WWW= https://z88dk.org/site/ PATCH_SITES= https://github.com/z88dk/z88dk/commit/ PATCHFILES= 56b25e7d8d3b16a5fbc8aa41c7d8ac86087d718b.patch:-p1 LICENSE= ClArtistic LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= dos2unix:converters/unix2dos \ p5-CPU-Z80-Assembler>=0:devel/p5-CPU-Z80-Assembler \ p5-Clone>=0:devel/p5-Clone \ p5-Modern-Perl>=0:lang/p5-Modern-Perl \ p5-Path-Tiny>=0:devel/p5-Path-Tiny \ p5-YAML-Tiny>=0:textproc/p5-YAML-Tiny \ ragel:devel/ragel re2c:devel/re2c TEST_DEPENDS= dos2unix:converters/unix2dos gm4:devel/m4 \ p5-CPU-Z80-Assembler>=0:devel/p5-CPU-Z80-Assembler \ p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \ p5-Data-Dump>=0:devel/p5-Data-Dump \ p5-Data-HexDump>=0:devel/p5-Data-HexDump \ p5-Iterator-Simple-Lookahead>=0:devel/p5-Iterator-Simple-Lookahead \ p5-Modern-Perl>=0:lang/p5-Modern-Perl \ p5-Path-Tiny>=0:devel/p5-Path-Tiny \ p5-Regexp-Common>=0:textproc/p5-Regexp-Common \ p5-Text-Diff>=0:textproc/p5-Text-Diff \ p5-Text-Table>=0:textproc/p5-Text-Table \ p5-YAML-Tiny>=0:textproc/p5-YAML-Tiny RUN_DEPENDS= gm4:devel/m4 USES= gmake gnome perl5 shebangfix tar:tgz USE_GNOME= libxml2 USE_PERL5= run MAKE_ENV= ZCCCFG=${WRKSRC}/lib/config Q= MALLOC_CONF=junk:false SHEBANG_FILES= src/z80asm/asmpp.pl src/z80asm/asmstyle.pl TEST_TARGET= testsuite test WRKSRC= ${WRKDIR}/${PORTNAME} MAKE_JOBS_UNSAFE= ../../z80asm: No such file or directory post-patch: @${REINPLACE_CMD} -e 's,"gcc,"${CC},' \ ${WRKSRC}/src/z80asm/parse_ragel.pl @${REINPLACE_CMD} -e 's,dos2unix -q,dos2unix,' \ ${WRKSRC}/src/z80asm/Makefile @${REINPLACE_CMD} -e 's/process(".m4", ext, "/&g/' \ ${WRKSRC}/src/zcc/zcc.c @${REINPLACE_CMD} -e 's,"make,"${MAKE_CMD},' \ ${WRKSRC}/src/zobjcopy/t/test.t @${REINPLACE_CMD} -e '179s/$$(CFLAGS)/$$(filter -O%,&)/' \ ${WRKSRC}/support/multitarget_build/Makefile @${REINPLACE_CMD} -e '/^CFLAGS =/s,$$, -I../../../include,' \ ${WRKSRC}/test/suites/make.config # Fix the build against Clang 15 @${REINPLACE_CMD} -e '/, ifs/s,move,std::&,' \ ${WRKSRC}/src/z80asm/src/cpp/preproc.cpp pre-build: ${LN} -sf z88dk/bin ${BINARY_LINKDIR} post-install: @${RM} -r ${INSTALL_WRKSRC}/include/_DEVELOPMENT cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} "include lib" \ ${STAGEDIR}${DATADIR} @${RMDIR} ${STAGEDIR}${DATADIR}/src .include diff --git a/devel/zapcc/Makefile b/devel/zapcc/Makefile index 8a0aa5ce1176..9c133767550e 100644 --- a/devel/zapcc/Makefile +++ b/devel/zapcc/Makefile @@ -1,33 +1,33 @@ PORTNAME= zapcc PORTVERSION= g20180622 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MAINTAINER= freebsd@sysctl.cz COMMENT= C++ caching compiler based on clang WWW= https://www.zapcc.com/ LICENSE= NCSA LICENSE_FILE= ${WRKSRC}/LICENSE.TXT BROKEN_riscv64= fails to build: CMake Error at cmake/config-ix.cmake:407: Unknown architecture riscv64 BUILD_DEPENDS= googletest>0:devel/googletest USES= cmake compiler:c++11-lang gnome libedit python shebangfix USE_GITHUB= yes GH_ACCOUNT= yrnkrn GH_TAGNAME= b4c31cc SHEBANG_GLOB= *.sh *.py *.pl SHEBANG_FILES= tools/clang/tools/clang-format/git-clang-format tools/clang/tools/scan-view/bin/scan-view utils/llvm-lit/llvm-lit.in USE_GNOME= libxml2 USE_LDCONFIG= yes CONFLICTS_INSTALL= cling llvm CMAKE_OFF= LLVM_ENABLE_WARNINGS LLVM_BUILD_EXAMPLES LLVM_INCLUDE_EXAMPLES LLVM_INCLUDE_TESTS LLVM_INCLUDE_GO_TESTS LLVM_ENABLE_OCAMLDOC LLVM_BUILD_TEST CMAKE_ON= LLVM_ENABLE_CXX1Y LLVM_ENABLE_LLD BUILD_SHARED_LIBS LDFLAGS+= -Wl,--undefined-version .include diff --git a/dns/bind9-devel/Makefile b/dns/bind9-devel/Makefile index 3d15cab52ec7..590f11be4ec2 100644 --- a/dns/bind9-devel/Makefile +++ b/dns/bind9-devel/Makefile @@ -1,236 +1,236 @@ # pkg-help formatted with fmt 59 63 PORTNAME= bind DISTVERSION= 9.21.9 .if defined(BIND_TOOLS_SLAVE) # dns/bind-tools here PORTREVISION= 0 .else # XXX: correct version # dns/bind9xx here -PORTREVISION= 0 +PORTREVISION= 1 .endif CATEGORIES= dns net MASTER_SITES= ISC/bind9/${DISTVERSION} .if defined(BIND_TOOLS_SLAVE) PKGNAMESUFFIX= -tools .else # XXX: correct SUFFIX. PKGNAMESUFFIX= 9-devel .endif MAINTAINER= mat@FreeBSD.org .if defined(BIND_TOOLS_SLAVE) COMMENT= Command line tools from BIND: delv, dig, host, nslookup... .else COMMENT= BIND DNS suite with updated DNSSEC and DNS64 .endif WWW= https://www.isc.org/bind/ # Uncomment when bind9xx comes of age. +3 years if ESV, +1year otherwise, see # https://kb.isc.org/docs/aa-00896 # DEPRECATED= End of life, please migrate to a newer version of BIND9 # EXPIRATION_DATE= XXX-12-31 LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libnghttp2.so:www/libnghttp2 \ liburcu.so:sysutils/liburcu \ libuv.so:devel/libuv .if !defined(BIND_TOOLS_SLAVE) RUN_DEPENDS= bind-tools>0:dns/bind-tools .endif USES= autoreconf compiler:c11 cpe gnome libedit libtool pkgconfig ssl \ tar:xz CPE_VENDOR= isc CPE_VERSION= ${DISTVERSION:C/-.*//} .if ${DISTVERSION:M*-*} CPE_UPDATE= ${DISTVERSION:C/.*-//:tl} .endif .if !defined(BIND_TOOLS_SLAVE) USE_RC_SUBR= named .endif # !BIND_TOOLS_SLAVE GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --localstatedir=/var \ --sysconfdir=${ETCDIR} \ --with-openssl=${OPENSSLBASE} MAKE_JOBS_UNSAFE= yes .if !defined(BIND_TOOLS_SLAVE) # XXX: Add -devel CONFLICTS= bind9[0-9][0-9] .endif # !BIND_TOOLS_SLAVE ETCDIR= ${PREFIX}/etc/namedb # FIXME: figure out why build fails if enabled CONFIGURE_ARGS+= --disable-tracing .if defined(BIND_TOOLS_SLAVE) EXTRA_PATCHES= ${PATCHDIR}/extrapatch-bind-tools CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/bind-tools .else # XXX: remove the big warning about it being a development version from pkg-message SUB_FILES= named.conf pkg-message EXTRA_PATCHES= ${PATCHDIR}/extrapatch-no-bind-tools PORTDOCS= * .endif # BIND_TOOLS_SLAVE OPTIONS_DEFINE= DNSTAP DOCS GEOIP IDN LARGE_FILE LMDB OVERRIDECACHE \ QUERYTRACE START_LATE TCP_FASTOPEN OPTIONS_DEFAULT= DNSTAP GSSAPI_NONE IDN LMDB STATS_JSON STATS_XML \ TCP_FASTOPEN OPTIONS_GROUP= STATS OPTIONS_GROUP_STATS= STATS_JSON STATS_XML OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE .if defined(BIND_TOOLS_SLAVE) OPTIONS_EXCLUDE= DOCS GEOIP LMDB OVERRIDECACHE QUERYTRACE START_LATE \ STATS_JSON STATS_XML TCP_FASTOPEN .endif # BIND_TOOLS_SLAVE OPTIONS_SUB= yes DNSTAP_DESC= Provides fast passive logging of DNS messages GSSAPI_BASE_DESC= Using Heimdal in base (nsupdate is broken) GSSAPI_HEIMDAL_DESC= Using security/heimdal (nsupdate is broken) GSSAPI_MIT_DESC= Using security/krb5 GSSAPI_NONE_DESC= Disable LARGE_FILE_DESC= 64-bit file support LMDB_DESC= Use LMDB for zone management OVERRIDECACHE_DESC= Use the override-cache patch QUERYTRACE_DESC= Enable the very verbose query tracelogging START_LATE_DESC= Start BIND late in the boot process (see help) STATS_DESC= Statistics channels STATS_JSON_DESC= Enable JSON statistics channel STATS_XML_DESC= Enable XML statistics channel TCP_FASTOPEN_DESC= RFC 7413 support DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ libprotobuf-c.so:devel/protobuf-c DNSTAP_CONFIGURE_ENABLE= dnstap DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ sphinx-build:textproc/py-sphinx DOCS_USES= gmake python:env DOCS_ALL_TARGET= all html GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb GEOIP_CONFIGURE_ENABLE= geoip GEOIP_CONFIGURE_WITH= maxminddb GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= ${GSSAPI_CONFIGURE_ARGS} \ --with-gssapi="${KRB5CONFIG}" GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_HEIMDAL_CONFIGURE_ON= ${GSSAPI_CONFIGURE_ARGS} \ --with-gssapi="${KRB5CONFIG}" GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= ${GSSAPI_CONFIGURE_ARGS} \ --with-gssapi="${KRB5CONFIG}" GSSAPI_NONE_CONFIGURE_ON= --without-gssapi IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 IDN_USES= iconv IDN_CONFIGURE_ON= ${ICONV_CONFIGURE_BASE} \ --with-libidn2=${LOCALBASE} IDN_CONFIGURE_OFF= --without-libidn2 LARGE_FILE_CONFIGURE_ENABLE= largefile LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_CONFIGURE_WITH= lmdb=${LOCALBASE} OVERRIDECACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl QUERYTRACE_CONFIGURE_ENABLE= querytrace START_LATE_SUB_LIST= NAMED_BEFORE="LOGIN" \ NAMED_REQUIRE="SERVERS cleanvar" START_LATE_SUB_LIST_OFF= NAMED_BEFORE="SERVERS" \ NAMED_REQUIRE="NETWORKING ldconfig syslogd" STATS_JSON_LIB_DEPENDS= libjson-c.so:devel/json-c STATS_JSON_CONFIGURE_WITH= json-c STATS_JSON_LDFLAGS= -L${LOCALBASE}/lib -ljson-c STATS_XML_USE= GNOME=libxml2 STATS_XML_CONFIGURE_WITH= libxml2 TCP_FASTOPEN_CONFIGURE_ENABLE= tcp-fastopen .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-developer USES+= perl5 USE_PERL5= build BUILD_DEPENDS+= cmocka>0:sysutils/cmocka .endif .if !${PORT_OPTIONS:MDOCS} CONFIGURE_ENV+= ac_cv_path_SPHINX_BUILD= .endif .include .if ${SSL_DEFAULT} == base SUB_LIST+= ENGINES=/usr/lib/engines .else SUB_LIST+= ENGINES=${LOCALBASE}/lib/engines .endif post-patch: .for FILE in check/named-checkconf.rst named/named.rst nsupdate/nsupdate.rst \ rndc/rndc.rst @${REINPLACE_CMD} -e 's#/etc/named.conf#${ETCDIR}/named.conf#g' \ -e 's#/etc/rndc.conf#${ETCDIR}/rndc.conf#g' \ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \ ${WRKSRC}/bin/${FILE} .endfor .if !defined(BIND_TOOLS_SLAVE) post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree ${MKDIR} ${STAGEDIR}${ETCDIR} . for i in dynamic primary secondary working @${MKDIR} ${STAGEDIR}${ETCDIR}/$i . endfor ${INSTALL_DATA} ${WRKDIR}/named.conf ${STAGEDIR}${ETCDIR}/named.conf.sample ${INSTALL_DATA} ${FILESDIR}/named.root ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${FILESDIR}/empty.db ${STAGEDIR}${ETCDIR}/primary ${INSTALL_DATA} ${FILESDIR}/localhost-forward.db ${STAGEDIR}${ETCDIR}/primary ${INSTALL_DATA} ${FILESDIR}/localhost-reverse.db ${STAGEDIR}${ETCDIR}/primary ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.dist ${STAGEDIR}${PREFIX}/etc/mtree/BIND.chroot.dist.sample ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.local.dist ${STAGEDIR}${PREFIX}/etc/mtree/BIND.chroot.local.dist.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/arm ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc/arm/_build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/arm .else do-install: for dir in bin lib doc/man; do \ (cd ${INSTALL_WRKSRC}/$$dir && ${SETENV} ${MAKE_ENV} ${FAKEROOT} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) ; \ done @${RM} -r ${STAGEDIR}${PREFIX}/include .endif # BIND_TOOLS_SLAVE .include diff --git a/dns/bind918/Makefile b/dns/bind918/Makefile index 6372aeb31964..05db381e20b3 100644 --- a/dns/bind918/Makefile +++ b/dns/bind918/Makefile @@ -1,196 +1,196 @@ # pkg-help formatted with fmt 59 63 PORTNAME= bind DISTVERSION= 9.18.37 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= dns net MASTER_SITES= ISC/bind9/${DISTVERSION} PKGNAMESUFFIX= 918 MAINTAINER= mat@FreeBSD.org COMMENT= BIND DNS suite with updated DNSSEC and DNS64 WWW= https://www.isc.org/bind/ # Uncomment when bind920 comes of age. +3 years if ESV, +1year otherwise, see # https://kb.isc.org/docs/aa-00896 # DEPRECATED= End of life, please migrate to a newer version of BIND9 # EXPIRATION_DATE= 2025-12-31 LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libnghttp2.so:www/libnghttp2 \ libuv.so:devel/libuv RUN_DEPENDS= bind-tools>0:dns/bind-tools USES= autoreconf compiler:c11 cpe gnome libedit libtool pkgconfig ssl \ tar:xz CPE_VENDOR= isc CPE_VERSION= ${DISTVERSION:C/-.*//} .if ${DISTVERSION:M*-*} CPE_UPDATE= ${DISTVERSION:C/.*-//:tl} .endif USE_RC_SUBR= named GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --disable-linux-caps \ --enable-dnsrps \ --localstatedir=/var \ --sysconfdir=${ETCDIR} \ --with-dlopen=yes \ --with-openssl=${OPENSSLBASE} \ --with-readline=libedit CONFIGURE_ENV= READLINE_CFLAGS="-L${LOCALBASE}/lib" MAKE_JOBS_UNSAFE= yes CONFLICTS= bind9-devel bind920 ETCDIR= ${PREFIX}/etc/namedb SUB_FILES= named.conf pkg-message PORTDOCS= * OPTIONS_DEFINE= DNSTAP DOCS FIXED_RRSET GEOIP IDN LARGE_FILE LMDB \ OVERRIDECACHE QUERYTRACE START_LATE TCP_FASTOPEN OPTIONS_DEFAULT= DNSTAP GSSAPI_NONE IDN LMDB STATS_JSON STATS_XML \ TCP_FASTOPEN OPTIONS_GROUP= STATS OPTIONS_GROUP_STATS= STATS_JSON STATS_XML OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_SUB= yes DNSTAP_DESC= Provides fast passive logging of DNS messages FIXED_RRSET_DESC= Enable fixed rrset ordering GSSAPI_BASE_DESC= Using Heimdal in base (nsupdate is broken) GSSAPI_HEIMDAL_DESC= Using security/heimdal (nsupdate is broken) GSSAPI_MIT_DESC= Using security/krb5 GSSAPI_NONE_DESC= Disable LARGE_FILE_DESC= 64-bit file support LMDB_DESC= Use LMDB for zone management OVERRIDECACHE_DESC= Use the override-cache patch QUERYTRACE_DESC= Enable the very verbose query tracelogging START_LATE_DESC= Start BIND late in the boot process (see help) STATS_DESC= Statistics channels STATS_JSON_DESC= Enable JSON statistics channel STATS_XML_DESC= Enable XML statistics channel TCP_FASTOPEN_DESC= RFC 7413 support DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ libprotobuf-c.so:devel/protobuf-c DNSTAP_CONFIGURE_ENABLE= dnstap DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ sphinx-build:textproc/py-sphinx DOCS_USES= gmake python:env DOCS_ALL_TARGET= all html FIXED_RRSET_CONFIGURE_ENABLE= fixed-rrset GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb GEOIP_CONFIGURE_ENABLE= geoip GEOIP_CONFIGURE_WITH= maxminddb GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= ${GSSAPI_CONFIGURE_ARGS} \ --with-gssapi="${KRB5CONFIG}" GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_HEIMDAL_CONFIGURE_ON= ${GSSAPI_CONFIGURE_ARGS} \ --with-gssapi="${KRB5CONFIG}" GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= ${GSSAPI_CONFIGURE_ARGS} \ --with-gssapi="${KRB5CONFIG}" GSSAPI_NONE_CONFIGURE_ON= --without-gssapi IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 IDN_USES= iconv IDN_CONFIGURE_ON= ${ICONV_CONFIGURE_BASE} \ --with-libidn2=${LOCALBASE} IDN_CONFIGURE_OFF= --without-libidn2 LARGE_FILE_CONFIGURE_ENABLE= largefile LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_CONFIGURE_WITH= lmdb=${LOCALBASE} OVERRIDECACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl QUERYTRACE_CONFIGURE_ENABLE= querytrace START_LATE_SUB_LIST= NAMED_BEFORE="LOGIN" \ NAMED_REQUIRE="SERVERS cleanvar" START_LATE_SUB_LIST_OFF= NAMED_BEFORE="SERVERS" \ NAMED_REQUIRE="NETWORKING ldconfig syslogd" STATS_JSON_LIB_DEPENDS= libjson-c.so:devel/json-c STATS_JSON_CONFIGURE_WITH= json-c STATS_JSON_LDFLAGS= -L${LOCALBASE}/lib -ljson-c STATS_XML_USE= GNOME=libxml2 STATS_XML_CONFIGURE_WITH= libxml2 TCP_FASTOPEN_CONFIGURE_ENABLE= tcp-fastopen .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-developer \ --enable-symtable USES+= perl5 USE_PERL5= build BUILD_DEPENDS+= cmocka>0:sysutils/cmocka .endif .if !${PORT_OPTIONS:MDOCS} CONFIGURE_ENV+= ac_cv_path_SPHINX_BUILD= .endif .include .if ${SSL_DEFAULT} == base SUB_LIST+= ENGINES=/usr/lib/engines .else SUB_LIST+= ENGINES=${LOCALBASE}/lib/engines .endif post-patch: .for FILE in check/named-checkconf.rst named/named.rst nsupdate/nsupdate.rst \ rndc/rndc.rst @${REINPLACE_CMD} -e 's#/etc/named.conf#${ETCDIR}/named.conf#g' \ -e 's#/etc/rndc.conf#${ETCDIR}/rndc.conf#g' \ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \ ${WRKSRC}/bin/${FILE} .endfor post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree ${MKDIR} ${STAGEDIR}${ETCDIR} . for i in dynamic primary secondary working @${MKDIR} ${STAGEDIR}${ETCDIR}/$i . endfor ${INSTALL_DATA} ${WRKDIR}/named.conf ${STAGEDIR}${ETCDIR}/named.conf.sample ${INSTALL_DATA} ${FILESDIR}/named.root ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${FILESDIR}/empty.db ${STAGEDIR}${ETCDIR}/primary ${INSTALL_DATA} ${FILESDIR}/localhost-forward.db ${STAGEDIR}${ETCDIR}/primary ${INSTALL_DATA} ${FILESDIR}/localhost-reverse.db ${STAGEDIR}${ETCDIR}/primary ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.dist ${STAGEDIR}${PREFIX}/etc/mtree/BIND.chroot.dist.sample ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.local.dist ${STAGEDIR}${PREFIX}/etc/mtree/BIND.chroot.local.dist.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/arm ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc/arm/_build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/arm .include diff --git a/dns/bind920/Makefile b/dns/bind920/Makefile index 0255d13cec36..31d46408eaeb 100644 --- a/dns/bind920/Makefile +++ b/dns/bind920/Makefile @@ -1,238 +1,238 @@ # pkg-help formatted with fmt 59 63 PORTNAME= bind DISTVERSION= 9.20.10 .if defined(BIND_TOOLS_SLAVE) # dns/bind-tools here PORTREVISION= 0 .else # XXX: correct version # dns/bind920 here -PORTREVISION= 0 +PORTREVISION= 1 .endif CATEGORIES= dns net MASTER_SITES= ISC/bind9/${DISTVERSION} .if defined(BIND_TOOLS_SLAVE) PKGNAMESUFFIX= -tools .else PKGNAMESUFFIX= 920 .endif MAINTAINER= mat@FreeBSD.org .if defined(BIND_TOOLS_SLAVE) COMMENT= Command line tools from BIND: delv, dig, host, nslookup... .else COMMENT= BIND DNS suite with updated DNSSEC and DNS64 .endif WWW= https://www.isc.org/bind/ # Uncomment when bind922 comes of age. +3 years if ESV, +1year otherwise, see # https://kb.isc.org/docs/aa-00896 # DEPRECATED= End of life, please migrate to a newer version of BIND9 # EXPIRATION_DATE= XXX-12-31 LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libnghttp2.so:www/libnghttp2 \ liburcu.so:sysutils/liburcu \ libuv.so:devel/libuv .if !defined(BIND_TOOLS_SLAVE) RUN_DEPENDS= bind-tools>0:dns/bind-tools .endif USES= autoreconf compiler:c11 cpe gnome libedit libtool pkgconfig ssl \ tar:xz CPE_VENDOR= isc CPE_VERSION= ${DISTVERSION:C/-.*//} .if ${DISTVERSION:M*-*} CPE_UPDATE= ${DISTVERSION:C/.*-//:tl} .endif .if !defined(BIND_TOOLS_SLAVE) USE_RC_SUBR= named .endif # !BIND_TOOLS_SLAVE GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --enable-dnsrps \ --localstatedir=/var \ --sysconfdir=${ETCDIR} \ --with-openssl=${OPENSSLBASE} \ --with-readline=libedit MAKE_JOBS_UNSAFE= yes .if !defined(BIND_TOOLS_SLAVE) CONFLICTS= bind9-devel bind918 .endif # !BIND_TOOLS_SLAVE ETCDIR= ${PREFIX}/etc/namedb # FIXME: figure out why build fails if enabled CONFIGURE_ARGS+= --disable-tracing .if defined(BIND_TOOLS_SLAVE) EXTRA_PATCHES= ${PATCHDIR}/extrapatch-bind-tools CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/bind-tools .else SUB_FILES= named.conf pkg-message EXTRA_PATCHES= ${PATCHDIR}/extrapatch-no-bind-tools PORTDOCS= * .endif # BIND_TOOLS_SLAVE OPTIONS_DEFINE= DNSTAP DOCS FIXED_RRSET GEOIP IDN LARGE_FILE LMDB \ OVERRIDECACHE QUERYTRACE START_LATE TCP_FASTOPEN OPTIONS_DEFAULT= DNSTAP GSSAPI_NONE IDN LMDB STATS_JSON STATS_XML \ TCP_FASTOPEN OPTIONS_GROUP= STATS OPTIONS_GROUP_STATS= STATS_JSON STATS_XML OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE .if defined(BIND_TOOLS_SLAVE) OPTIONS_EXCLUDE= DOCS GEOIP LMDB OVERRIDECACHE QUERYTRACE START_LATE \ STATS_JSON STATS_XML TCP_FASTOPEN .endif # BIND_TOOLS_SLAVE OPTIONS_SUB= yes DNSTAP_DESC= Provides fast passive logging of DNS messages FIXED_RRSET_DESC= Enable fixed rrset ordering GSSAPI_BASE_DESC= Using Heimdal in base (nsupdate is broken) GSSAPI_HEIMDAL_DESC= Using security/heimdal (nsupdate is broken) GSSAPI_MIT_DESC= Using security/krb5 GSSAPI_NONE_DESC= Disable LARGE_FILE_DESC= 64-bit file support LMDB_DESC= Use LMDB for zone management OVERRIDECACHE_DESC= Use the override-cache patch QUERYTRACE_DESC= Enable the very verbose query tracelogging START_LATE_DESC= Start BIND late in the boot process (see help) STATS_DESC= Statistics channels STATS_JSON_DESC= Enable JSON statistics channel STATS_XML_DESC= Enable XML statistics channel TCP_FASTOPEN_DESC= RFC 7413 support DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ libprotobuf-c.so:devel/protobuf-c DNSTAP_CONFIGURE_ENABLE= dnstap DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ sphinx-build:textproc/py-sphinx DOCS_USES= gmake python:env DOCS_ALL_TARGET= all html FIXED_RRSET_CONFIGURE_ENABLE= fixed-rrset GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb GEOIP_CONFIGURE_ENABLE= geoip GEOIP_CONFIGURE_WITH= maxminddb GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= ${GSSAPI_CONFIGURE_ARGS} \ --with-gssapi="${KRB5CONFIG}" GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_HEIMDAL_CONFIGURE_ON= ${GSSAPI_CONFIGURE_ARGS} \ --with-gssapi="${KRB5CONFIG}" GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= ${GSSAPI_CONFIGURE_ARGS} \ --with-gssapi="${KRB5CONFIG}" GSSAPI_NONE_CONFIGURE_ON= --without-gssapi IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 IDN_USES= iconv IDN_CONFIGURE_ON= ${ICONV_CONFIGURE_BASE} \ --with-libidn2=${LOCALBASE} IDN_CONFIGURE_OFF= --without-libidn2 LARGE_FILE_CONFIGURE_ENABLE= largefile LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_CONFIGURE_WITH= lmdb=${LOCALBASE} OVERRIDECACHE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-bind-min-override-ttl QUERYTRACE_CONFIGURE_ENABLE= querytrace START_LATE_SUB_LIST= NAMED_BEFORE="LOGIN" \ NAMED_REQUIRE="SERVERS cleanvar" START_LATE_SUB_LIST_OFF= NAMED_BEFORE="SERVERS" \ NAMED_REQUIRE="NETWORKING ldconfig syslogd" STATS_JSON_LIB_DEPENDS= libjson-c.so:devel/json-c STATS_JSON_CONFIGURE_WITH= json-c STATS_JSON_LDFLAGS= -L${LOCALBASE}/lib -ljson-c STATS_XML_USE= GNOME=libxml2 STATS_XML_CONFIGURE_WITH= libxml2 TCP_FASTOPEN_CONFIGURE_ENABLE= tcp-fastopen .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-developer USES+= perl5 USE_PERL5= build BUILD_DEPENDS+= cmocka>0:sysutils/cmocka .endif .if !${PORT_OPTIONS:MDOCS} CONFIGURE_ENV+= ac_cv_path_SPHINX_BUILD= .endif .include .if ${SSL_DEFAULT} == base SUB_LIST+= ENGINES=/usr/lib/engines .else SUB_LIST+= ENGINES=${LOCALBASE}/lib/engines .endif post-patch: .for FILE in check/named-checkconf.rst named/named.rst nsupdate/nsupdate.rst \ rndc/rndc.rst @${REINPLACE_CMD} -e 's#/etc/named.conf#${ETCDIR}/named.conf#g' \ -e 's#/etc/rndc.conf#${ETCDIR}/rndc.conf#g' \ -e "s#/var\/run\/named\/named.pid#/var/run/named/pid#" \ ${WRKSRC}/bin/${FILE} .endfor .if !defined(BIND_TOOLS_SLAVE) post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree ${MKDIR} ${STAGEDIR}${ETCDIR} . for i in dynamic primary secondary working @${MKDIR} ${STAGEDIR}${ETCDIR}/$i . endfor ${INSTALL_DATA} ${WRKDIR}/named.conf ${STAGEDIR}${ETCDIR}/named.conf.sample ${INSTALL_DATA} ${FILESDIR}/named.root ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${FILESDIR}/empty.db ${STAGEDIR}${ETCDIR}/primary ${INSTALL_DATA} ${FILESDIR}/localhost-forward.db ${STAGEDIR}${ETCDIR}/primary ${INSTALL_DATA} ${FILESDIR}/localhost-reverse.db ${STAGEDIR}${ETCDIR}/primary ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.dist ${STAGEDIR}${PREFIX}/etc/mtree/BIND.chroot.dist.sample ${INSTALL_DATA} ${FILESDIR}/BIND.chroot.local.dist ${STAGEDIR}${PREFIX}/etc/mtree/BIND.chroot.local.dist.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/arm ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc/arm/_build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/arm .else do-install: for dir in bin lib doc/man; do \ (cd ${INSTALL_WRKSRC}/$$dir && ${SETENV} ${MAKE_ENV} ${FAKEROOT} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) ; \ done @${RM} -r ${STAGEDIR}${PREFIX}/include .endif # BIND_TOOLS_SLAVE .include diff --git a/dns/opendnssec2/Makefile b/dns/opendnssec2/Makefile index fe23a2bc75df..21a4806217c6 100644 --- a/dns/opendnssec2/Makefile +++ b/dns/opendnssec2/Makefile @@ -1,92 +1,93 @@ PORTNAME= opendnssec DISTVERSION= 2.1.14 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= https://dist.opendnssec.org/source/ PKGNAMESUFFIX= 2 MAINTAINER= jaap@NLnetLabs.nl COMMENT= Tool suite for maintaining DNSSEC WWW= https://www.opendnssec.org LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ldns>=1.6.16:dns/ldns LIB_DEPENDS= libldns.so:dns/ldns USES= autoreconf cpe gnome libtool ssl USE_GNOME= libxml2 USE_RC_SUBR= opendnssec GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir="${PREFIX}/var" \ --with-ssl=${OPENSSLBASE} INSTALL_TARGET= install-strip CONFLICTS= opendnssec-1.[0-4]* SUB_FILES= pkg-message USERS= opendnssec GROUPS= opendnssec PORTDOCS= MIGRATION NEWS README.md MIGRATE= README.md find_problematic_zones.sql convert_mysql \ mysql_convert.sql convert_sqlite sqlite_convert.sql CONVERT= convert_mysql_to_sqlite convert_sqlite_to_mysql SCHEMAS= schema.mysql schema.sqlite OPTIONS_DEFINE= DOCS SOFTHSM OPTIONS_DEFAULT= SQLITE OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL SQLITE OPTIONS_SUB= yes MYSQL_DESC= Use MYSQL backend SOFTHSM_DESC= SoftHSM cryptographic store for PKCS \#11 interface SQLITE_DESC= Use SQLite backend MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-enforcer-database=mysql MYSQL_VARS= IGNORE_WITH_MYSQL="80 81" SOFTHSM_RUN_DEPENDS= softhsm2>=2.5.0:security/softhsm2 SOFTHSM_CONFIGURE_ON= --with-pkcs11-softhsm=${LOCALBASE}/lib/softhsm/libsofthsm2.so SQLITE_BUILD_DEPENDS= sqlite3>=3.3.9:databases/sqlite3 SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-enforcer-database=sqlite3 pre-build: ${REINPLACE_CMD} -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \ ${WRKSRC}/configure pre-install-MYSQL-on: ${REINPLACE_CMD} -e '/REQUIRE:/ s|$$| mysql|' \ ${WRKDIR}/opendnssec post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/1.4-2.0_db_convert ${INSTALL_DATA} ${MIGRATE:S|^|${WRKSRC}/enforcer/utils/1.4-2.0_db_convert/|} \ ${STAGEDIR}${DOCSDIR}/1.4-2.0_db_convert ${INSTALL_DATA} ${CONVERT:S|^|${WRKSRC}/enforcer/utils/|} \ ${STAGEDIR}${DOCSDIR} ${REINPLACE_CMD} -e 's|enforcer/utils/|${DOCSDIR}/|' \ ${STAGEDIR}${DOCSDIR}/MIGRATION ${INSTALL_DATA} ${SCHEMAS:S|^|${WRKSRC}/enforcer/src/db/|} \ ${STAGEDIR}${DOCSDIR} ${REINPLACE_CMD} -e 's|../src/db/schema|${DOCSDIR}/schema|' \ -e 's|mysql_convert.sql|${DOCSDIR}/1.4-2.0_db_convert/&|' \ -e 's|sqlite_convert.sql|${DOCSDIR}/1.4-2.0_db_convert/&|' \ -e 's|find_problematic_zones.sql|${DOCSDIR}/1.4-2.0_db_convert/&|' \ ${STAGEDIR}${DOCSDIR}/convert_* ${REINPLACE_CMD} -e 's|../../src/db/schema|${DOCSDIR}/schema|' \ -e 's|mysql_convert.sql|${DOCSDIR}/1.4-2.0_db_convert/&|' \ -e 's|sqlite_convert.sql|${DOCSDIR}/1.4-2.0_db_convert/&|' \ -e 's|find_problematic_zones.sql|${DOCSDIR}/1.4-2.0_db_convert/&|' \ ${STAGEDIR}${DOCSDIR}/1.4-2.0_db_convert/convert_* .include diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile index 27121d2024a6..158df21d912e 100644 --- a/editors/abiword/Makefile +++ b/editors/abiword/Makefile @@ -1,161 +1,161 @@ PORTNAME= abiword PORTVERSION= 3.0.5 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= editors MASTER_SITES= https://dev.alpinelinux.org/archive/${PORTNAME}/ DIST_SUBDIR= AbiWord MAINTAINER= gnome@FreeBSD.org COMMENT= Open-source, cross-platform WYSIWYG word processor WWW= https://gitlab.gnome.org/World/AbiWord LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libpopt.so:devel/popt \ libpng.so:graphics/png \ libwv.so:textproc/wv \ libfribidi.so:converters/fribidi \ libgoffice-0.10.so:devel/goffice RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSerif.ttf:x11-fonts/dejavu USES= compiler:c++11-lang cpe desktop-file-utils gmake gnome iconv jpeg \ libtool localbase:ldflags pathfix pkgconfig CPE_VENDOR= abisource USE_GNOME= libxml2 gtk30 librsvg2 libxslt USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --without-gnomevfs --enable-plugins="${ABIWORD_PLUGINS}" \ --enable-shared="yes" --enable-static="no" INSTALL_TARGET= install-strip PLIST_SUB+= ABIVERSION=3.0 OPTIONS_DEFINE= CLIPART DEBUG MATHVIEW NLS PSION \ TEMPLATES WP OPTIONS_DEFAULT=CLIPART COLSUGAR SPELLCHECK TEMPLATES OPTIONS_GROUP= DICT COLLAB OPTIONS_GROUP_COLLAB= COLFAKE COLSERVICE COLSIP COLSUGAR COLTCP COLTELEPATHY COLXMPP OPTIONS_GROUP_DICT= GRAMMAR SPELLCHECK OPTIONS_SUB= yes CLIPART_DESC= Include clipart COLFAKE_DESC= Fake collaboration for debugging purposes only COLLAB_DESC= Collaboration backend COLSERVICE_DESC= Collaborate with AbiCollab.net webservice COLSIP_DESC= Collaborate with the SIP/SIMPLE backend COLSUGAR_DESC= Collaborate with the Sugar/OLPC environment COLTCP_DESC= Collaborate with direct TCP peer to peer connections COLTELEPATHY_DESC= Collaborate with the Telepathy backend (experimental) COLXMPP_DESC= Collaborate with the Jabber/XMPP backend DICT_DESC= Spelling and grammar checking GRAMMAR_DESC= Grammar checking plugin MATHVIEW_DESC= MathML render plugin PSION_DESC= Psion 5(MX) files convertion plugin SPELLCHECK_DESC= Spell checking support TEMPLATES_DESC= Include additional templates WP_DESC= WordPerfect img/doc import/export plugin # check configure for ALL_PLUGINS for complete list ABIWORD_PLUGINS= garble loadbindings opml xslfo bmp iscii sdw babelfish \ paint command latex pdf wikipedia hrtext openxml \ goffice wmf kword mif wml s5 freetranslation gdict mht \ applix t602 docbook google eml hancom presentation \ clarisworks pdb urldict openwriter mswrite gimp \ passepartout eml # opendocument enabled by default, rsvg plugin isn't needed on unix. # Plugins we don't support: # gda CLIPART_CONFIGURE_ENABLE= clipart COLFAKE_CONFIGURE_ENABLE= collab-backend-fake COLSERVICE_BROKEN= Does not build with asio from system COLSERVICE_BUILD_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio COLSERVICE_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libgnutls.so:security/gnutls COLSERVICE_RUN_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio COLSERVICE_CONFIGURE_ENABLE= collab-backend-service COLSIP_CONFIGURE_ENABLE= collab-backend-sip COLSUGAR_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib COLSUGAR_CONFIGURE_ENABLE= collab-backend-sugar COLTCP_BROKEN= Does not build with asio from system COLTCP_BUILD_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio COLTCP_RUN_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio COLTCP_CONFIGURE_ENABLE= collab-backend-tcp COLTELEPATHY_LIB_DEPENDS= libtelepathy-glib.so:net-im/telepathy-glib COLTELEPATHY_CONFIGURE_ENABLE= collab-backend-telepathy COLXMPP_LIB_DEPENDS= libloudmouth-1.so:net-im/loudmouth COLXMPP_CONFIGURE_ENABLE= collab-backend-xmpp DEBUG_CONFIGURE_ENABLE= debug GRAMMAR_IMPLIES= SPELLCHECK GRAMMAR_LIB_DEPENDS= liblink-grammar.so:textproc/link-grammar GRAMMAR_VARS= ABIWORD_PLUGINS+=grammar MATHVIEW_LIB_DEPENDS= libmathview.so:x11-toolkits/gtkmathview MATHVIEW_USES= bison MATHVIEW_VARS= ABIWORD_PLUGINS+=mathview NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PSION_LIB_DEPENDS= libpsiconv.so:converters/psiconv PSION_VARS= ABIWORD_PLUGINS+=psion SPELLCHECK_LIB_DEPENDS= libenchant.so:textproc/enchant SPELLCHECK_CONFIGURE_ENABLE= spell TEMPLATES_CONFIGURE_ENABLE= templates WP_LIB_DEPENDS= libwpg-0.3.so:graphics/libwpg03 \ libwpd-0.10.so:textproc/libwpd010 \ libwps-0.4.so:textproc/libwps WP_USE= gnome=libgsf WP_VARS= ABIWORD_PLUGINS+="wpg wordperfect" .include .if ${PORT_OPTIONS:MCOL*} ABIWORD_PLUGINS+= collab .if ${PORT_OPTIONS:MCOLFAKE} || ${PORT_OPTIONS:MCOLSERVICE} || ${PORT_OPTIONS:MCOLSIP} || ${PORT_OPTIONS:MCOLTCP} || ${PORT_OPTIONS:MCOLTELEPATHY} || ${PORT_OPTIONS:MCOLXMPP} PLIST_SUB+= COLLAB="" .else PLIST_SUB+= COLLAB="@comment " .endif .endif post-patch: @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/goffice-bits/goffice/app/goffice-app.h \ ${WRKSRC}/src/af/util/xp/ut_go_file.h # The following substitutions ensure that plugins are linked with libabiword # from the work or stage directory instead of a previously installed library. # In pseudo code: # s,PLUGIN_LIBS="$PLUGIN_LIBS -Lsrc -labiword", # PLUGIN_LIBS="src/libabiword.la $PLUGIN_LIBS", # s,foo_LIBS="$foo_LIBS $PLUGIN_LIBS", # foo_LIBS="$PLUGIN_LIBS $foo_LIBS", # The initial value of PLUGIN_LIBS may contain -L/usr/local/lib so it would # have to come after -Lsrc, but -Lsrc is not correct when libtool relinks # plugins during staging so use src/libabiword.la and let libtool figure out # what flags are needed. Secondly, switch around foo_LIBS and PLUGIN_LIBS # because foo_LIBS may contain -L/usr/local/lib. @${REINPLACE_CMD} \ -e "s,\$$PLUGIN_LIBS \"'-L\$${top_builddir}/src'\" -labiword-\$$ABIWORD_SERIES,\\\\\$${top_builddir}/src/libabiword-\$$ABIWORD_SERIES.la \$$PLUGIN_LIBS," \ -e "/_LIBS=/s,\"\\(.*\\)\"\\('\$${PLUGIN_LIBS}.*'\\),\\2\" \\1\"," \ -e 's|" == "|" = "|g' ${WRKSRC}/configure .include diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile index 93f4d5368ca2..2313f76ccdeb 100644 --- a/editors/emacs-devel/Makefile +++ b/editors/emacs-devel/Makefile @@ -1,292 +1,293 @@ PORTNAME= emacs DISTVERSION= 31.0.50.20250617 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= editors PKGNAMESUFFIX= -devel MAINTAINER= emacs@FreeBSD.org COMMENT= GNU editing macros ${COMMENT_${FLAVOR}} WWW= https://www.gnu.org/software/emacs/ COMMENT_nox= (No X flavor) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp FLAVORS= full nox full_CONFLICTS_INSTALL= emacs-devel-nox nox_PKGNAMESUFFIX= -devel-nox nox_CONFLICTS_INSTALL= emacs-devel USES= autoreconf:build cpe gmake localbase:ldflags makeinfo ncurses \ pkgconfig CPE_VENDOR= gnu USE_GITHUB= yes GH_ACCOUNT= emacs-mirror GH_TAGNAME= 27a524602ff GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-build-details \ --localstatedir=/var \ --without-gconf \ --without-libsystemd \ --without-selinux .if ${FLAVOR:U} == nox CONFIGURE_ARGS+= --with-sound=no \ --with-x-toolkit=no \ --without-cairo \ --without-dbus \ --without-gconf \ --without-gif \ --without-gsettings \ --without-imagemagick \ --without-jpeg \ --without-lcms2 \ --without-libotf \ --without-m17n-flt \ --without-pgtk \ --without-png \ --without-rsvg \ --without-tiff \ --without-toolkit-scroll-bars \ --without-webp \ --without-x \ --without-xim \ --without-xpm \ --without-xwidgets .else CONFIGURE_ARGS+= --with-x .endif # See r468320 to determine if/when the next line can be removed CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no CONFLICTS_INSTALL= emacs emacs-canna emacs-nox SUB_FILES= pkg-message sources.el SUB_LIST= EMACS_VER=${DISTVERSION:R} \ NATIVECOMP_COMMENT_END=${NATIVECOMP_COMMENT_END} \ NATIVECOMP_COMMENT_START=${NATIVECOMP_COMMENT_START} INFO= auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede \ ediff edt efaq eglot eieio eintr elisp emacs emacs-gnutls \ emacs-mime epa erc ert eshell eudc eww flymake forms gnus \ htmlfontify idlwave ido info mairix-el message mh-e \ modus-themes newsticker nxml-mode octave-mode org pcl-cvs pgg \ rcirc reftex remember sasl sc semantic ses sieve smtpmail \ speedbar srecode todo-mode tramp transient url use-package \ vhdl-mode viper vtable widget wisent woman INFO_PATH= ${DATADIR_REL}/info PLIST_SUB= EMACS_VER=${DISTVERSION:R} \ GNU_HOST=${CONFIGURE_TARGET} OPTIONS_DEFINE= ACL DBUS GNUTLS GSETTINGS HARFBUZZ LCMS2 M17N \ MAILUTILS MODULES NATIVECOMP OTF PGTK \ SCROLLBARS SOURCES SQLITE3 THREADS TREESITTER \ XFT XIM XML XWIDGETS OPTIONS_DEFAULT= ACL CAIRO DBUS GIF GNUTLS GSETTINGS GTK3 \ HARFBUZZ JPEG KQUEUE LCMS2 MAILUTILS MODULES \ NATIVECOMP OSS PGTK PNG SCROLLBARS SOURCES \ SQLITE3 SVG THREADS TIFF TREESITTER WEBP XML OPTIONS_EXCLUDE_powerpc= NATIVECOMP OPTIONS_EXCLUDE_powerpc64= NATIVECOMP OPTIONS_EXCLUDE_powerpc64le= NATIVECOMP OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= CAIRO GIF JPEG MAGICK PNG SVG TIFF WEBP XPM OPTIONS_RADIO= FILENOTIFY SOUND X11TOOLKIT OPTIONS_RADIO_FILENOTIFY= GFILE KQUEUE OPTIONS_RADIO_SOUND= ALSA OSS OPTIONS_RADIO_X11TOOLKIT= GTK2 GTK3 MOTIF XAW XAW3D .if ${FLAVOR:U} == nox OPTIONS_EXCLUDE= ALSA CAIRO DBUS GFILE GIF GSETTINGS GTK2 GTK3 \ HARFBUZZ JPEG LCMS2 M17N MAGICK MOTIF OSS OTF \ PGTK PNG SCROLLBARS SVG TIFF WEBP XAW XAW3D XFT \ XIM XPM XWIDGETS .endif OPTIONS_EXCLUDE_armv7= NATIVECOMP OPTIONS_SUB= YES ACL_DESC= Access control list support CAIRO_DESC= Cairo graphics library support [implies PNG, prevents XFT] FILENOTIFY_DESC= File notification support GFILE_DESC= File notification via gfile GRAPHICS_DESC= Graphics support GSETTINGS_DESC= GSettings API for application settings HARFBUZZ_DESC= HarfBuzz for text shaping KQUEUE_DESC= File notification via kqueue M17N_DESC= M17N support for text-shaping [implies XFT] MAGICK_DESC= ImageMagick image processing support (deprecated) MAILUTILS_DESC= Mail framework via GNU Mailutils MODULES_DESC= Dynamic modules support NATIVECOMP_DESC= Emacs Lisp native compiler support OTF_DESC= Opentype fonts PGTK_DESC= Pure GTK GUI [implies CAIRO, GTK3] SCROLLBARS_DESC= Toolkit scroll-bars SOURCES_DESC= Install sources SVG_DESC= Scalable vector graphics support [implies PNG] TREESITTER_DESC= tree-sitter support X11TOOLKIT_DESC= X11 toolkit XAW3D_DESC= Athena3D widgets XAW_DESC= Athena widgets XIM_DESC= X Input Method XWIDGETS_DESC= Experimental GTK widgets [implies GTK3] ACL_CONFIGURE_ENABLE= acl ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-sound=alsa CAIRO_IMPLIES= PNG CAIRO_PREVENTS= XFT CAIRO_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 CAIRO_USE= GNOME=cairo CAIRO_CONFIGURE_WITH= cairo DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus GFILE_USE= GNOME=glib20 GFILE_CONFIGURE_ON= --with-file-notification=gfile GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_WITH= gif GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GSETTINGS_USE= GNOME=glib20 GSETTINGS_CONFIGURE_WITH= gsettings GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --with-x-toolkit=gtk2 GTK3_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ON= --with-x-toolkit=gtk3 HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_WITH= harfbuzz JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg KQUEUE_CONFIGURE_ON= --with-file-notification=kqueue LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_WITH= lcms2 #LTO_CONFIGURE_ON= --enable-link-time-optimization M17N_IMPLIES= XFT M17N_LIB_DEPENDS= libm17n.so:devel/m17n-lib M17N_CONFIGURE_WITH= m17n-flt MAGICK_USES= magick:7 MAGICK_CONFIGURE_WITH= imagemagick MAILUTILS_RUN_DEPENDS= mailutils:mail/mailutils MAILUTILS_CONFIGURE_WITH= mailutils MAILUTILS_CONFIGURE_ENV_OFF= ac_cv_lib_lockfile_maillock=no \ ac_cv_prog_liblockfile=no MODULES_CONFIGURE_WITH= modules MOTIF_USES= motif MOTIF_CONFIGURE_ON= --with-x-toolkit=motif NATIVECOMP_USE= GCC=yes NATIVECOMP_CONFIGURE_WITH= native-compilation=aot OSS_CONFIGURE_ON= --with-sound=oss OTF_LIB_DEPENDS= libotf.so:print/libotf OTF_CONFIGURE_WITH= libotf PGTK_IMPLIES= CAIRO GTK3 SCROLLBARS PGTK_PREVENTS= M17N XFT XPM PGTK_CATEGORIES= wayland PGTK_CONFIGURE_WITH= pgtk PNG_LIB_DEPENDS= libpng16.so:graphics/png PNG_CONFIGURE_WITH= png SCROLLBARS_CONFIGURE_WITH= toolkit-scroll-bars SQLITE3_USES= sqlite:3 SQLITE3_CONFIGURE_WITH= sqlite3 SVG_IMPLIES= PNG SVG_USE= GNOME=cairo,librsvg2 SVG_CONFIGURE_WITH= rsvg THREADS_CONFIGURE_WITH= threads TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= tiff TREESITTER_IMPLIES= MODULES TREESITTER_LIB_DEPENDS= libtree-sitter.so:devel/tree-sitter TREESITTER_CONFIGURE_WITH= tree-sitter WEBP_LIB_DEPENDS= libwebpdemux.so:graphics/webp WEBP_CONFIGURE_WITH= webp XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/libXaw3d XAW3D_CONFIGURE_ON= --with-x-toolkit=athena XAW_USE= XORG=xaw XAW_CONFIGURE_ON= --with-x-toolkit=athena \ --without-xaw3d XFT_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 XFT_USE= XORG=xft,xrender XFT_CONFIGURE_WITH= xft XIM_CONFIGURE_WITH= xim # keep XML_USES=gnome, because nox flavor does not have USES=gnome XML_USES= gnome XML_USE= GNOME=libxml2 XML_CONFIGURE_WITH= xml2 XPM_USE= XORG=xpm XPM_CONFIGURE_WITH= xpm XWIDGETS_IMPLIES= GTK3 XWIDGETS_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 XWIDGETS_USE= XORG=xcomposite XWIDGETS_CONFIGURE_WITH= xwidgets .include .if ${PORT_OPTIONS:MNATIVECOMP} NATIVECOMP_COMMENT_END= NATIVECOMP_COMMENT_START= .else NATIVECOMP_COMMENT_END= '*/' NATIVECOMP_COMMENT_START= '/*' .endif .if ${FLAVOR:U} != nox USES+= desktop-file-utils gnome .if !${PORT_OPTIONS:MPGTK} USES+= xorg USE_XORG+= ice sm x11 xcb xcomposite xext xfixes xi xinerama xmu xrandr \ xrender xt .endif .endif .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MXAW} && \ !${PORT_OPTIONS:MXAW3D} CONFIGURE_ARGS+= --with-x-toolkit=no .endif # Schema generation is dependent on both PGTK, and GSETTINGS options # as per https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=183936ee8e5 .if ${PORT_OPTIONS:MGSETTINGS} && ${PORT_OPTIONS:MPGTK} GLIB_SCHEMAS+= org.gnu.emacs.defaults.gschema.xml .endif .if ${FLAVOR} == nox # With a desktop entry stage-qa will give a warning about requiring # desktop-file-utils and portlint -C will give a warning about INSTALLS_ICONS, # but don't pull in those dependencies with the nox flavor. post-patch: @${REINPLACE_CMD} -e 's/^Terminal=.*$$/Terminal=true/' ${WRKSRC}/etc/emacs.desktop .endif pre-configure: @(cd ${WRKSRC} && ./autogen.sh all) @${REINPLACE_CMD} \ -e 's/(ignore-errors (emacs-repository-get-version))/"${GH_TAGNAME}"/' \ -e 's/(ignore-errors (emacs-repository-get-branch))/"master"/' \ ${WRKSRC}/lisp/loadup.el post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd @(cd ${STAGEDIR}${PREFIX} && ${FIND} libexec/emacs/${DISTVERSION:R}/${CONFIGURE_TARGET}/ -name emacs-*.pdmp >> ${TMPPLIST}) post-install-MAILUTILS-on: ${LN} -sf ${PREFIX}/bin/movemail \ ${STAGEDIR}${PREFIX}/libexec/emacs/${DISTVERSION:R}/${CONFIGURE_TARGET} # Natively compiled elisp files names include build checksum information, so add # these files to the plist after the build. post-install-NATIVECOMP-on: @(cd ${WRKSRC} && ${FIND} native-lisp -type f | ${SED} -e 's,^,lib/emacs/${DISTVERSION:R}/,') >> ${TMPPLIST} @${FIND} ${STAGEDIR}${PREFIX}/lib/emacs/${DISTVERSION:R}/native-lisp/ -name '*.eln*' -exec ${STRIP_CMD} {} + post-install-SOURCES-on: @${MKDIR} ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/src ${INSTALL_DATA} ${WRKSRC}/src/*.[ch] ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/src ${INSTALL_DATA} ${WRKDIR}/sources.el ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/site-lisp/site-start.el .include diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index 1e9a56b7ed94..58caffa18b9b 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -1,315 +1,315 @@ PORTNAME= emacs DISTVERSION= 30.1 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= GNU .if ${FLAVOR:U} == canna PATCH_SITES+= https://www.gentei.org/~yuuji/software/emacs30canna/:canna PATCHFILES+= emacs30.1-canna-20250224.diff.gz:-p1:canna .endif MAINTAINER= emacs@FreeBSD.org COMMENT= GNU editing macros ${COMMENT_${FLAVOR}} WWW= https://www.gnu.org/software/emacs/ COMMENT_nox= (No X flavor) COMMENT_canna= (Canna Japanese input flavor) COMMENT_wayland= (Wayland flavor) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp FLAVORS= full canna nox wayland canna_PKGNAMESUFFIX= -canna canna_LIB_DEPENDS= libcanna.so:japanese/canna-lib canna_CONFLICTS_INSTALL= emacs emacs-nox emacs-wayland canna_DESCR= ${.CURDIR}/pkg-descr-canna full_CONFLICTS_INSTALL= emacs-canna emacs-nox emacs-wayland nox_PKGNAMESUFFIX= -nox nox_CONFLICTS_INSTALL= emacs emacs-canna emacs-wayland wayland_PKGNAMESUFFIX= -wayland wayland_CONFLICTS_INSTALL= emacs emacs-canna emacs-nox USES= cpe gmake localbase:ldflags ncurses pkgconfig tar:xz CPE_VENDOR= gnu GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-build-details \ --localstatedir=/var \ --without-gconf \ --without-libsystemd \ --without-selinux .if ${FLAVOR:U} == canna CONFIGURE_ARGS+= --with-canna .elif ${FLAVOR:U} == nox CONFIGURE_ARGS+= --with-sound=no \ --with-x-toolkit=no \ --without-cairo \ --without-dbus \ --without-gconf \ --without-gif \ --without-gsettings \ --without-imagemagick \ --without-jpeg \ --without-lcms2 \ --without-libotf \ --without-m17n-flt \ --without-pgtk \ --without-png \ --without-rsvg \ --without-tiff \ --without-toolkit-scroll-bars \ --without-webp \ --without-x \ --without-xim \ --without-xpm \ --without-xwidgets .elif ${FLAVOR:U} == wayland CONFIGURE_ARGS+= --without-x .else CONFIGURE_ARGS+= --with-x .endif # See r468320 to determine if/when the next line can be removed CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no CONFLICTS_INSTALL= emacs-devel emacs-devel-nox BINARY_ALIAS= makeinfo=true SUB_FILES= pkg-message sources.el SUB_LIST= EMACS_VER=${DISTVERSION} \ NATIVECOMP_COMMENT_END=${NATIVECOMP_COMMENT_END} \ NATIVECOMP_COMMENT_START=${NATIVECOMP_COMMENT_START} INFO= auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede \ ediff edt efaq eglot eieio eintr elisp emacs emacs-gnutls \ emacs-mime epa erc ert eshell eudc eww flymake forms gnus \ htmlfontify idlwave ido info mairix-el message mh-e \ modus-themes newsticker nxml-mode octave-mode org pcl-cvs pgg \ rcirc reftex remember sasl sc semantic ses sieve smtpmail \ speedbar srecode todo-mode tramp transient url use-package \ vhdl-mode vip viper vtable widget wisent woman INFO_PATH= ${DATADIR_REL}/info .if ${FLAVOR:U} == canna PLIST_FILES+= ${DATADIR}/${DISTVERSION}/lisp/canna.el.gz \ ${DATADIR}/${DISTVERSION}/lisp/canna.elc \ ${DATADIR}/${DISTVERSION}/lisp/isearch-ext.el.gz \ ${DATADIR}/${DISTVERSION}/lisp/isearch-ext.elc .endif PLIST_SUB= EMACS_VER=${DISTVERSION} \ GNU_HOST=${CONFIGURE_TARGET} OPTIONS_DEFINE= ACL DBUS GNUTLS GSETTINGS HARFBUZZ LCMS2 M17N \ MAILUTILS MODULES NATIVECOMP OTF PGTK \ SCROLLBARS SOURCES SQLITE3 THREADS TREESITTER \ XFT XIM XML XWIDGETS OPTIONS_DEFAULT= ACL CAIRO DBUS GIF GNUTLS GSETTINGS GTK3 \ HARFBUZZ JPEG KQUEUE LCMS2 MAILUTILS MODULES \ OSS PNG SCROLLBARS SOURCES SQLITE3 SVG THREADS \ TIFF TREESITTER WEBP XIM XML XPM .if ${FLAVOR:U} != nox OPTIONS_DEFAULT+= NATIVECOMP .endif OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= CAIRO GIF JPEG MAGICK PNG SVG TIFF WEBP XPM OPTIONS_RADIO= FILENOTIFY SOUND X11TOOLKIT OPTIONS_RADIO_FILENOTIFY= GFILE KQUEUE OPTIONS_RADIO_SOUND= ALSA OSS OPTIONS_RADIO_X11TOOLKIT= GTK2 GTK3 MOTIF XAW XAW3D .if ${FLAVOR:U} == wayland OPTIONS_EXCLUDE+= GTK2 MOTIF XAW XAW3D XIM ${PGTK_PREVENTS} \ ${PGTK_IMPLIES:@i@${${i}_PREVENTS}@} OPTIONS_SLAVE+= PGTK ${PGTK_IMPLIES} \ ${PGTK_IMPLIES:@i@${${i}_IMPLIES}@} .elif ${FLAVOR:U} == nox OPTIONS_EXCLUDE+= ALSA CAIRO DBUS GFILE GIF GSETTINGS GTK2 GTK3 \ HARFBUZZ JPEG LCMS2 M17N MAGICK MOTIF OSS OTF \ PGTK PNG SCROLLBARS SVG TIFF WEBP XAW XAW3D XFT \ XIM XPM XWIDGETS .endif OPTIONS_EXCLUDE_armv7= NATIVECOMP OPTIONS_EXCLUDE_powerpc64= NATIVECOMP OPTIONS_SUB= YES ACL_DESC= Access control list support CAIRO_DESC= Cairo graphics library support [implies PNG, prevents XFT] FILENOTIFY_DESC= File notification support GFILE_DESC= File notification via gfile GRAPHICS_DESC= Graphics support GSETTINGS_DESC= GSettings API for application settings HARFBUZZ_DESC= HarfBuzz for text shaping KQUEUE_DESC= File notification via kqueue M17N_DESC= M17N support for text-shaping [implies XFT] MAGICK_DESC= ImageMagick image processing support (deprecated) MAILUTILS_DESC= Mail framework via GNU Mailutils MODULES_DESC= Dynamic modules support NATIVECOMP_DESC= Emacs Lisp native compiler support OTF_DESC= Opentype fonts PGTK_DESC= Pure GTK GUI [implies CAIRO, GTK3] SCROLLBARS_DESC= Toolkit scroll-bars SOURCES_DESC= Install sources SVG_DESC= Scalable vector graphics support [implies PNG] TREESITTER_DESC= tree-sitter support X11TOOLKIT_DESC= X11 toolkit XAW3D_DESC= Athena3D widgets XAW_DESC= Athena widgets XIM_DESC= X Input Method XWIDGETS_DESC= Experimental GTK widgets [implies GTK3] ACL_CONFIGURE_ENABLE= acl ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-sound=alsa CAIRO_IMPLIES= PNG CAIRO_PREVENTS= XFT CAIRO_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 CAIRO_USE= GNOME=cairo CAIRO_CONFIGURE_WITH= cairo DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus GFILE_USE= GNOME=glib20 GFILE_CONFIGURE_ON= --with-file-notification=gfile GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_WITH= gif GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GSETTINGS_USE= GNOME=glib20 GSETTINGS_CONFIGURE_WITH= gsettings GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --with-x-toolkit=gtk2 GTK3_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ON= --with-x-toolkit=gtk3 HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_WITH= harfbuzz JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg KQUEUE_CONFIGURE_ON= --with-file-notification=kqueue LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_WITH= lcms2 #LTO_CONFIGURE_ON= --enable-link-time-optimization M17N_IMPLIES= XFT M17N_LIB_DEPENDS= libm17n.so:devel/m17n-lib M17N_CONFIGURE_WITH= m17n-flt MAGICK_USES= magick:7 MAGICK_CONFIGURE_WITH= imagemagick MAILUTILS_RUN_DEPENDS= mailutils:mail/mailutils MAILUTILS_CONFIGURE_WITH= mailutils MAILUTILS_CONFIGURE_ENV_OFF= ac_cv_lib_lockfile_maillock=no \ ac_cv_prog_liblockfile=no MODULES_CONFIGURE_WITH= modules MOTIF_USES= motif MOTIF_CONFIGURE_ON= --with-x-toolkit=motif NATIVECOMP_USE= GCC=yes NATIVECOMP_CONFIGURE_WITH= native-compilation=aot OSS_CONFIGURE_ON= --with-sound=oss OTF_LIB_DEPENDS= libotf.so:print/libotf OTF_CONFIGURE_WITH= libotf PGTK_IMPLIES= CAIRO GTK3 SCROLLBARS PGTK_PREVENTS= M17N XFT XPM PGTK_CATEGORIES= wayland PGTK_CONFIGURE_WITH= pgtk PNG_LIB_DEPENDS= libpng16.so:graphics/png PNG_CONFIGURE_WITH= png SCROLLBARS_CONFIGURE_WITH= toolkit-scroll-bars .if ${FLAVOR:U} == canna SOURCES_PLIST_FILES= ${DATADIR}/${DISTVERSION}/src/canna.c .endif SQLITE3_USES= sqlite:3 SQLITE3_CONFIGURE_WITH= sqlite3 SVG_IMPLIES= PNG SVG_USE= GNOME=cairo,librsvg2 SVG_CONFIGURE_WITH= rsvg THREADS_CONFIGURE_WITH= threads TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= tiff TREESITTER_IMPLIES= MODULES TREESITTER_LIB_DEPENDS= libtree-sitter.so:devel/tree-sitter TREESITTER_CONFIGURE_WITH= tree-sitter WEBP_LIB_DEPENDS= libwebpdemux.so:graphics/webp WEBP_CONFIGURE_WITH= webp XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/libXaw3d XAW3D_CONFIGURE_ON= --with-x-toolkit=athena XAW_USE= XORG=xaw XAW_CONFIGURE_ON= --with-x-toolkit=athena \ --without-xaw3d XFT_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 XFT_USE= XORG=xft,xrender XFT_CONFIGURE_WITH= xft XIM_CONFIGURE_WITH= xim # keep XML_USES=gnome, because nox flavor does not have USES=gnome XML_USES= gnome XML_USE= GNOME=libxml2 XML_CONFIGURE_WITH= xml2 XPM_USE= XORG=xpm XPM_CONFIGURE_WITH= xpm XWIDGETS_IMPLIES= GTK3 XWIDGETS_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 XWIDGETS_USE= XORG=xcomposite XWIDGETS_CONFIGURE_WITH= xwidgets .include .if ${PORT_OPTIONS:MNATIVECOMP} NATIVECOMP_COMMENT_END= NATIVECOMP_COMMENT_START= .else NATIVECOMP_COMMENT_END= '*/' NATIVECOMP_COMMENT_START= '/*' .endif .if ${FLAVOR:U} != nox USES+= desktop-file-utils gnome .if !${PORT_OPTIONS:MPGTK} USES+= xorg USE_XORG+= ice sm x11 xcb xcomposite xext xfixes xi xinerama xmu xrandr \ xrender xt .endif .endif .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MMOTIF} && \ !${PORT_OPTIONS:MXAW} && !${PORT_OPTIONS:MXAW3D} CONFIGURE_ARGS+= --with-x-toolkit=no .endif # Schema generation is dependent on both PGTK, and GSETTINGS options # as per https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=183936ee8e5 .if ${PORT_OPTIONS:MGSETTINGS} && ${PORT_OPTIONS:MPGTK} GLIB_SCHEMAS+= org.gnu.emacs.defaults.gschema.xml .endif .if ${FLAVOR} == nox # With a desktop entry stage-qa will give a warning about requiring # desktop-file-utils and portlint -C will give a warning about INSTALLS_ICONS, # but don't pull in those dependencies with the nox flavor. post-patch: @${REINPLACE_CMD} -e 's/^Terminal=.*$$/Terminal=true/' ${WRKSRC}/etc/emacs.desktop .endif post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd @(cd ${STAGEDIR}${PREFIX} && ${FIND} libexec/emacs/${DISTVERSION}/${CONFIGURE_TARGET}/ -name emacs-*.pdmp >> ${TMPPLIST}) post-install-MAILUTILS-on: ${LN} -sf ${PREFIX}/bin/movemail \ ${STAGEDIR}${PREFIX}/libexec/emacs/${DISTVERSION}/${CONFIGURE_TARGET} # Natively compiled elisp files names include build checksum information, so add # these files to the plist after the build. post-install-NATIVECOMP-on: @(cd ${WRKSRC} && ${FIND} native-lisp -type f | ${SED} -e 's,^,lib/emacs/${DISTVERSION}/,') >> ${TMPPLIST} @${FIND} ${STAGEDIR}${PREFIX}/lib/emacs/${DISTVERSION}/native-lisp/ -name '*.eln*' -exec ${STRIP_CMD} {} + post-install-SOURCES-on: @${MKDIR} ${STAGEDIR}${DATADIR}/${DISTVERSION}/src ${INSTALL_DATA} ${WRKSRC}/src/*.[ch] ${STAGEDIR}${DATADIR}/${DISTVERSION}/src ${INSTALL_DATA} ${WRKDIR}/sources.el ${STAGEDIR}${DATADIR}/${DISTVERSION}/site-lisp/site-start.el .include diff --git a/editors/gobby/Makefile b/editors/gobby/Makefile index 60889c9d61de..1a24e63d9c46 100644 --- a/editors/gobby/Makefile +++ b/editors/gobby/Makefile @@ -1,42 +1,43 @@ PORTNAME= gobby DISTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= http://releases.0x539.de/gobby/ MAINTAINER= nxjoseph@protonmail.com COMMENT= Free collaborative editor WWW= http://gobby.0x539.de LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgnutls.so:security/gnutls \ libgsasl.so:security/libgsasl \ libinfgtk-0.7.so:textproc/libinfinity \ libinfinity-0.7.so:textproc/libinfinity \ libinftext-0.7.so:textproc/libinfinity \ libinftextgtk-0.7.so:textproc/libinfinity USES= compiler:c++11-lang desktop-file-utils gettext-tools gmake \ gnome pathfix pkgconfig USE_CXXSTD= c++11 USE_GNOME= atkmm cairomm glibmm gtkmm30 gtksourceview3 intltool \ libsigc++20 libxml++26 pangomm GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls post-install: @cd ${STAGEDIR}${PREFIX}/bin && \ ${MV} gobby-0.5 \ gobby @cd ${STAGEDIR}${PREFIX}/share/man/man1 && \ ${MV} gobby-0.5.1 \ gobby.1 .include diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile index d68fe3abaca4..0638b1c7981b 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -1,433 +1,433 @@ -PORTREVISION= 0 +PORTREVISION= 1 .include "${.CURDIR}/Makefile.common" MASTER_SITES= https://download.documentfoundation.org/libreoffice/src/${LOVERSION}/ \ https://dev-www.libreoffice.org/src/:src \ https://dev-www.libreoffice.org/extern/:ext DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}-help-${DISTVERSION}${EXTRACT_SUFX} DIST_SUBDIR= libreoffice EXTRACT_ONLY:= ${DISTFILES} COMMENT= Full integrated office productivity suite WWW?= https://www.libreoffice.org/ BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ zip:archivers/zip \ pigz:archivers/pigz \ ${LOCALBASE}/include/sqlext.h:databases/unixODBC \ cppunit-config:devel/cppunit \ dmake:devel/dmake \ gperf>=3.1:devel/gperf \ ${LOCALBASE}/include/libcuckoo/cuckoohash_map.hh:devel/libcuckoo \ mdds>=2.1:devel/mdds \ gpatch:devel/patch \ ${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \ vigra-config:graphics/vigra \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ bash:shells/bash \ gsed:textproc/gsed \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ coreutils>=8.23:sysutils/coreutils \ flex>=0.26:textproc/flex LIB_DEPENDS= libapr-1.so:devel/apr1 \ libboost_date_time.so:devel/boost-libs \ libbox2d.so:misc/box2d \ libicutu.so:devel/icu \ liblangtag.so:devel/liblangtag \ libltdl.so:devel/libltdl \ liborcus-0.18.so:devel/liborcus \ libplds4.so:devel/nspr \ libcurl.so:ftp/curl \ libgraphite2.so:graphics/graphite2 \ liblcms2.so:graphics/lcms2 \ libcdr-0.1.so:graphics/libcdr01 \ libepoxy.so:graphics/libepoxy \ libetonyek-0.1.so:graphics/libetonyek01 \ libfreehand-0.1.so:graphics/libfreehand \ libwpg-0.3.so:graphics/libwpg03 \ libzmf-0.0.so:graphics/libzmf \ libpng.so:graphics/png \ libpoppler.so:graphics/poppler \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ liblpsolve55.so:math/lp_solve \ libcmis-0.6.so:net/libcmis \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libmspub-0.1.so:print/libmspub01 \ libpagemaker-0.0.so:print/libpagemaker \ libassuan.so:security/libassuan \ libgpgme.so:security/gpgme \ libgpgmepp.so:security/gpgmepp \ libargon2.so:security/libargon2 \ libgpg-error.so:security/libgpg-error \ libnss3.so:security/nss \ libxmlsec1-nss.so:security/xmlsec1 \ libclucene-core.so:textproc/clucene \ libexpat.so:textproc/expat2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libabw-0.1.so:textproc/libabw \ libe-book-0.1.so:textproc/libe-book \ libepubgen-0.1.so:textproc/libepubgen \ libexttextcat-2.0.so:textproc/libexttextcat \ libmwaw-0.3.so:textproc/libmwaw03 \ libnumbertext-1.0.so:textproc/libnumbertext \ libodfgen-0.1.so:textproc/libodfgen01 \ libqxp-0.0.so:textproc/libqxp \ librevenge-0.0.so:textproc/librevenge \ libstaroffice-0.0.so:textproc/libstaroffice \ libvisio-0.1.so:textproc/libvisio01 \ libwpd-0.10.so:textproc/libwpd010 \ libwps-0.4.so:textproc/libwps \ libmythes-1.2.so:textproc/mythes \ libraptor2.so:textproc/raptor2 \ librdf.so:textproc/redland \ libZXing.so:textproc/zxing-cpp \ libfontconfig.so:x11-fonts/fontconfig \ libxcb-icccm.so:x11/xcb-util-wm \ libserf-1.so:www/serf LIB_DEPENDS+= ${LIB_DEPENDS_${ARCH}} LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind LIB_DEPENDS_amd64= libunwind.so:devel/libunwind LIB_DEPENDS_i386= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64le= libunwind.so:devel/libunwind RUN_DEPENDS= xdg-open:devel/xdg-utils \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu \ ${LOCALBASE}/share/fonts/twemoji-color-font-ttf/TwitterColorEmoji-SVGinOT.ttf:x11-fonts/twemoji-color-font-ttf \ ${LOCALBASE}/share/fonts/GentiumBasic/GenBasI.ttf:x11-fonts/gentium-basic \ ${LOCALBASE}/share/fonts/Liberation/LiberationMono-Bold.ttf:x11-fonts/liberation-fonts-ttf \ ${LOCALBASE}/share/fonts/LinLibertineG/LinLibertine_DR_G.ttf:x11-fonts/linuxlibertine-g DISTFILES+= f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf:ext DISTFILES+= dtoa-20180411.tgz:src DISTFILES+= dragonbox-1.1.3.tar.gz:src DISTFILES+= frozen-1.2.0.tar.gz:src DISTFILES+= skia-m130-3c64459d5df2fa9794b277f0959ed8a92552bf4c.tar.xz:src DISTFILES+= zxcvbn-c-2.5.tar.gz:src NOT_FOR_ARCHS= armv6 armv7 NOT_FOR_ARCHS_REASON= Unsupported host_cpu .if defined(PRERELEASE) MASTER_SITES+= https://dev-builds.libreoffice.org/pre-releases/src/ .endif INSTALL_TARGET= distro-pack-install SHEBANG_GLOB= *.py GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USES= autoreconf:build bison compiler:c++20-lang cpe desktop-file-utils \ gettext gl gmake gnome jpeg ldap localbase:ldflags perl5 pkgconfig \ python shebangfix shared-mime-info ssl tar:xz xorg USE_GL= gl glew glu USE_GNOME= cairo glib20 libxml2 libxslt USE_PERL5= build USE_XORG= ice sm x11 xaw xcb xext xinerama xrandr xrender USES+= elfctl ELF_FEATURES= +wxneeded:instdir/program/soffice.bin OPTIONS_DEFINE= COINMP CUPS DOCS GNOME GTK3 GTK4 JAVA LTO MMEDIA PDFIUM PGSQL MARIADB SDK TEST WEBDAV OPTIONS_RADIO= QT KDE OPTIONS_RADIO_QT= QT5 QT6 OPTIONS_RADIO_KDE= KF5 KF6 OPTIONS_DEFAULT= CUPS DOCS JAVA MMEDIA PDFIUM QT5 #OPTIONS_EXCLUDE= GTK4 COINMP_DESC= Enable CoinMP (deprecated) math solver GTK4_DESC= GTK+ 4 GUI toolkit support (experimental, broken) JAVA_DESC= Add Java support (XML filters, macros, DB connections) KF5_DESC= KF5/Qt5 GUI toolkit support (implies QT5) KF6_DESC= KF6/Qt6 GUI toolkit support (implies QT6) MMEDIA_DESC= Enable multimedia backend for Impress PDFIUM_DESC= Enable PDFium secure engine PGSQL_DESC= Build with PostgreSQL-SDBC driver MARIADB_DESC= Build with MariaDB/MySQL-SDBC driver QT_DESC= Select Qt GUI engine version KDE_DESC= Select KDE GUI engine version QT5_DESC= Qt5 GUI toolkit support (default visual style) QT6_DESC= Qt6 GUI toolkit support (experimental visual style) SDK_DESC= Build with SDK TEST_DESC= Run all regression tests WEBDAV_DESC= Enable WebDAV protocol COINMP_CONFIGURE_ENABLE= coinmp COINMP_CONFIGURE_ON= --with-system-coinmp COINMP_LIB_DEPENDS= libCoinMP.so:math/coinmp CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DOCS_CONFIGURE_ON= --with-help=html GNOME_CONFIGURE_ENABLE= dbus dconf GNOME_IMPLIES= GTK3 GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib GNOME_USE= GNOME=dconf GTK3_CONFIGURE_ENABLE= gtk3 GTK3_USE= GNOME=gtk30 GTK4_CONFIGURE_ENABLE= gtk4 GTK4_LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz \ libvulkan.so:graphics/vulkan-loader GTK4_USE= GNOME=gtk40 JAVA_BUILD_DEPENDS= ant:devel/apache-ant \ ${JAVAJARDIR}/commons-codec.jar:java/apache-commons-codec \ ${JAVAJARDIR}/commons-httpclient.jar:java/apache-commons-httpclient \ ${JAVAJARDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVAJARDIR}/commons-logging.jar:java/apache-commons-logging \ ${JAVAJARDIR}/junit.jar:java/junit JAVA_CATEGORIES= java JAVA_CONFIGURE_ON= --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-commons-codec-jar=${JAVAJARDIR}/commons-codec.jar \ --with-commons-httpclient-jar=${JAVAJARDIR}/commons-httpclient.jar \ --with-commons-lang-jar=${JAVAJARDIR}/commons-lang3.jar \ --with-commons-logging-jar=${JAVAJARDIR}/commons-logging.jar \ --with-jdk-home="${JAVA_HOME}" \ --with-junit=${JAVAJARDIR}/junit.jar \ --with-hamcrest=${JAVAJARDIR}/hamcrest.jar \ --with-system-jars \ --without-system-beanshell \ --without-system-java-websocket \ --without-system-jfreereport \ --without-system-rhino JAVA_CONFIGURE_WITH= java # XXX jni.h from GNU classpath causes ABI conflicts. JAVA_CONFLICTS_BUILD= classpath-[0-9]* JAVA_DISTFILES= 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip:src \ 3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip:src \ 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip:src \ 39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip:src \ 3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip:src \ 8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar:ext \ 8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip:src \ 97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip:src \ a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar:ext \ ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip:src \ ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip:src \ d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip:src \ db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip:src \ eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip:src \ f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip:src \ Java-WebSocket-1.6.0.tar.gz:src \ bsh-2.1.1-src.zip:src \ rhino-1.7.15.zip:src JAVA_USES= java JAVA_VARS= JAVA_VERSION=17+ KF5_CONFIGURE_ENABLE= kf5 KF5_USE= kde=config,coreaddons,i18n,kio,windowsystem KF5_USES= kde:5 KF5_IMPLIES= QT5 KF5_PREVENTS= KF6 KF5_PREVENTS_MSG= KF5 cannot coexist with KF6 KF6_CONFIGURE_ENABLE= kf6 KF6_USE= kde=config,coreaddons,i18n,kio,windowsystem KF6_USES= kde:6 KF6_IMPLIES= QT6 KF6_PREVENTS= KF5 KF6_PREVENTS_MSG= KF6 cannot coexist with KF5 LTO_CONFIGURE_ENABLE= lto MMEDIA_USES= gstreamer MMEDIA_CONFIGURE_ENABLE= gstreamer-1-0 PDFIUM_CONFIGURE_ENABLE= pdfium PDFIUM_DISTFILES= pdfium-6764.tar.bz2:src PDFIUM_LIB_DEPENDS= libabsl_strings.so:devel/abseil \ libopenjp2.so:graphics/openjpeg PGSQL_CONFIGURE_ENABLE= postgresql-sdbc PGSQL_CONFIGURE_WITH= gssapi krb5 PGSQL_USES= pgsql MARIADB_CONFIGURE_ENABLE= mariadb-sdbc MARIADB_USES= mysql:client QT5_CONFIGURE_ENABLE= qt5 QT5_PREVENTS= KF6 QT5_PREVENTS_MSG= KF6 support require Qt6 engine QT5_USE= qt=buildtools:build,core,gui,network,qmake:build,widgets,x11extras QT5_USES= qt:5 QT6_CONFIGURE_ENABLE= qt6 QT6_CONFIGURE_ENV= QMAKE6=${QMAKE} MOC6=${MOC} PATH="${QT_TOOLDIR}:${PATH}" QT6_PREVENTS= KF5 QT6_PREVENTS_MSG= KF5 support require Qt5 engine QT6_USE= qt=base,declarative,multimedia,tools:build QT6_USES= qt:6 SDK_BUILD_DEPENDS= doxygen:devel/doxygen SDK_CONFIGURE_ENABLE= odk SDK_CONFIGURE_OFF= --without-doxygen SDK_CONFIGURE_ON= --with-doxygen=${LOCALBASE}/bin/doxygen SDK_DISTFILES= 185d60944ea767075d27247c3162b3bc-unowinreg.dll:ext TEST_ALL_TARGET= build TEST_ALL_TARGET_OFF= build TEST_CONFIGURE_ENABLE= cve-tests WEBDAV_CONFIGURE_ON= --with-webdav=neon WEBDAV_CONFIGURE_OFF= --with-webdav=no WEBDAV_LIB_DEPENDS= libneon.so:www/neon CONFIGURE_ARGS= --disable-dependency-tracking \ --disable-epm \ --disable-fetch-external \ --disable-firebird-sdbc \ --disable-mergelibs \ --disable-online-update \ --enable-cairo-canvas \ --enable-python=system \ --enable-release-build \ --enable-extension-integration \ --disable-mpl-subset \ --exec-prefix=${PREFIX} \ --with-boost=${LOCALBASE} \ --with-build-version="FreeBSD ports ${PKGVERSION}" \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-external-tar=${DISTDIR}/${DIST_SUBDIR} \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-os-version=${OSVERSION} \ --with-parallelism=${MAKE_JOBS_NUMBER} \ --with-system-abseil \ --with-system-argon2 \ --with-system-cppunit \ --with-system-cuckoo \ --with-system-curl \ --with-system-dicts \ --with-system-dragonbox=no \ --with-system-frozen=no \ --with-system-gpgmepp \ --with-system-libfixmath=no \ --with-system-libs \ --with-system-libtiff \ --with-system-libxml \ --with-system-mdds \ --with-system-nss \ --with-system-openjpeg \ --with-system-orcus \ --with-system-zlib \ --with-system-zxcvbn=no \ --with-system-zxing \ --with-tls=nss \ --with-vendor="FreeBSD ports" \ --without-fonts \ --without-myspell-dicts CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \ FLEX=${LOCALBASE}/bin/flex \ CONFIG_SHELL=${LOCALBASE}/bin/bash \ GNUTAR="${TAR}" \ GPERF=${LOCALBASE}/bin/gperf \ ICU_CFLAGS="`icu-config --cflags`" \ ICU_LIBS="`icu-config --ldflags`" \ PYTHON_CFLAGS="`${PYTHON_VERSION}-config --cflags`" \ PYTHON_LIBS="`${PYTHON_VERSION}-config --libs`" \ ZXING_CFLAGS="-I${LOCALBASE}/include/ZXing \ CPLUS_INCLUDE_PATH="-I${LOCALBASE}/include \ ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_SHELL= ${LOCALBASE}/bin/bash MAKE_SHELL= ${LOCALBASE}/bin/bash MAKE_ARGS+= TMPDIR=${WRKDIR} MAKE_ENV+= CXXFLAGS_WARN="${CXXFLAGS_WARN}" MAKE_ENV+= GNUSED=${LOCALBASE}/bin/gsed MAKE_ENV+= DISPLAY= MAKE_ENV+= verbose=1 BINARY_ALIAS= sed=gsed PIE_UNSAFE= yes #MAKE_JOBS_UNSAFE= yes .include .include .if ${OPSYS} == FreeBSD && ( \ (${OSVERSION} >= 1400051 && ${OSVERSION} < 1400057)) BROKEN= please update FreeBSD base system first to fix an ABI incompatibility .endif .if ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == powerpc64 CONFIGURE_ARGS+= --disable-skia .endif .if ${PORT_OPTIONS:MGTK3} && ${PORT_OPTIONS:MKF5} CONFIGURE_ARGS+= --enable-gtk3-kde5 .endif .if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 130 LLVM_DEFAULT= 13 CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} LLD_UNSAFE= yes .endif .if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS_WARN= -Woverloaded-virtual -Wno-c++11-narrowing \ -Wno-unused-parameter -Wno-unused-local-typedefs .else CXXFLAGS_WARN= -Wshadow -Woverloaded-virtual .endif LDFLAGS+= -Wl,--undefined-version post-patch: .if ${COMPILER_FEATURES:Mlibstdc++} ${REINPLACE_CMD} -e 's/gb_CC/gb_CXX/' ${WRKSRC}/solenv/gbuild/platform/unxgcc.mk .endif ${CP} ${FILESDIR}/powerpc64le-skia.patch.0 ${WRKSRC}/external/skia/ pre-configure: @${TOUCH} ${WRKSRC}/autogen.lastrun post-configure: @${TOUCH} ${WRKSRC}/src.downloaded post-install: @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s lib/libreoffice -type d -empty \ -exec ${ECHO_CMD} "@dir {}" \; >> ${TMPPLIST} @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s bin lib -not -type d >> ${TMPPLIST} .for subdir in applications bash-completion icons man metainfo mime @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} .endfor post-install-SDK-on: .for subdir in share share/doc @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s ${subdir}/libreoffice -type d -empty \ -exec ${ECHO_CMD} "@dir {}" \; >> ${TMPPLIST} .endfor .for subdir in include share share/doc @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s ${subdir}/libreoffice -not -type d >> ${TMPPLIST} .endfor .include diff --git a/editors/openoffice-4/Makefile b/editors/openoffice-4/Makefile index 6241cfb961e5..e531df3c78e4 100644 --- a/editors/openoffice-4/Makefile +++ b/editors/openoffice-4/Makefile @@ -1,521 +1,521 @@ PORTNAME= apache-openoffice PORTVERSION= ${AOOVERSION} -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= editors java MASTER_SITES= https://dlcdn.apache.org/openoffice/${PORTVERSION}/source/ \ https://archive.apache.org/dist/openoffice/${PORTVERSION}/source/ \ http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \ LOCAL/truckman/openoffice:extsrc \ SF/oooextras.mirror/:sf .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .endif .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif DISTFILES= ${AOOSRC} ${EXTSRC}:extsrc ${PYTHON_DISTFILE}:sf \ ${GCC_EXTRA_DISTFILES:C/.*/&:sf/g} DIST_SUBDIR= openoffice EXTRACT_ONLY= ${AOOSRC} MAINTAINER= office@FreeBSD.org #de facto maintainer is truckman@FreeBSD.org #Frequent Patch submitters should (optionally) sign the Apache iCLA COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser WWW= https://openoffice.apache.org/ LICENSE= APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL10 \ MPL11 PSFL TWAIN W3C LICENSE_COMB= multi LICENSE_NAME_ADOBE= Adobe Systems Incorporated license LICENSE_NAME_ICU= ICU License LICENSE_NAME_TWAIN= TWAIN Working Group license LICENSE_NAME_W3C= W3C license LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE_ALv2 LICENSE_FILE_ADOBE= ${WRKSRC}/LICENSE_ADOBE LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE_BSD3CLAUSE LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/LICENSE_BSD4CLAUSE LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_BSL LICENSE_FILE_ICU= ${WRKSRC}/LICENSE_ICU LICENSE_FILE_MIT= ${WRKSRC}/LICENSE_MIT LICENSE_FILE_MPL10= ${WRKSRC}/LICENSE_MPL10 LICENSE_FILE_MPL11= ${WRKSRC}/LICENSE_MPL11 LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE_PSFL LICENSE_FILE_TWAIN= ${WRKSRC}/LICENSE_TWAIN LICENSE_FILE_W3C= ${WRKSRC}/LICENSE_W3C LICENSE_PERMS_ADOBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_TWAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_W3C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 i386 powerpc64 BUILD_DEPENDS= \ p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ ${LOCALBASE}/bin/unzip:archivers/unzip \ zip:archivers/zip \ ant:devel/apache-ant \ dmake:devel/dmake \ ${LOCALBASE}/bin/gperf:devel/gperf \ imake:devel/imake \ libunwind>=20211201_1:devel/libunwind \ gpatch:devel/patch \ ${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \ ${JAVALIBDIR}/commons-lang.jar:java/apache-commons-lang \ ${JAVALIBDIR}/junit.jar:java/junit \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ bash:shells/bash \ ${JAVALIBDIR}/lucene-core-3.6.2.jar:textproc/lucene \ p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-libwww>=0:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https LIB_DEPENDS= \ libapr-1.so:devel/apr1 \ libnspr4.so:devel/nspr \ libcurl.so:ftp/curl \ libcairo.so:graphics/cairo \ libpng16.so:graphics/png \ libgraphite.so:graphics/silgraphite \ libblas.so:math/blas \ libCbcSolver.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libClpSolver.so:math/clp \ libCoinMP.so:math/coinmp \ libCoinUtils.so:math/coinutils \ libcoinmumps.so:math/coin-or-mumps \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libtextcat.so:textproc/libtextcat \ libmythes-1.2.so:textproc/mythes \ librdf.so:textproc/redland \ libserf-1.so:www/serf \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= \ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \ ${JAVALIBDIR}/commons-lang.jar:java/apache-commons-lang \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:x11-fonts/croscorefonts-fonts-ttf # For libgfortran.so and libquadmath.so BUILD_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} RUN_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} USES= autoreconf bison compiler:c++11-lib cpe desktop-file-utils \ gettext-runtime gl gmake gnome iconv java jpeg perl5 pkgconfig \ shared-mime-info ssl tar:bzip2 xorg USE_GL= gl glu USE_GNOME= gdkpixbuf gdkpixbuf2xlib gtk20 libxslt glib20 JAVA_VENDOR= openjdk USE_PERL5= build USE_XORG= ice sm x11 xau xaw xcomposite xcursor xdamage xext xfixes xi \ xinerama xrandr xrender xt CONFLICTS_INSTALL= apache-openoffice-devel AOOVERSION1= 4 AOOVERSION2= 1 AOOVERSION3= 15 # From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD AOOTAG= AOO4115m2\(Build:9813\) GITREVISION= 5f13fa0070 EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3} AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3} AOOSUFFIX= ${AOOVERSION1}.${AOOVERSION2} AOOSRC= apache-openoffice-${AOOVERSION}-${GITREVISION}-src${EXTRACT_SUFX} AOOUDIR= .openoffice.org\/${AOOVERSION1} INSTALLATION_BASEDIR?= openoffice-${AOOSUFFIX} PRINSTALLATION_BASEDIR= ${PREFIX}/${INSTALLATION_BASEDIR} OOPATH= ${PRINSTALLATION_BASEDIR}/openoffice${AOOVERSION1} XDGDIR= ${OOPATH}/share/xdg XDGREL= ../../${INSTALLATION_BASEDIR}/openoffice${AOOVERSION1}/share/xdg EXECBASE?= openoffice-${AOOSUFFIX} WITHOUT_CPU_CFLAGS= true CPE_PRODUCT= ${PORTNAME:S|apache-||} CPE_VENDOR= apache OPTIONS_DEFINE= CRASHDUMP CUPS DBGUTIL DEBUG GNOME \ SDK WIKI_PUBLISHER OPTIONS_DEFAULT= CUPS GNOME WIKI_PUBLISHER CRASHDUMP_DESC= Enable crashdumps, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} DBGUTIL_DESC= Enable assertions, object counting. (non-production) DEBUG_DESC= Compile with -O0, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} GNOME_DESC= Screensaver presentation control via DBUS SDK_DESC= Build and install software development kit WIKI_PUBLISHER_DESC= Build and install Wiki Publisher extension CRASHDUMP_CONFIGURE_ENABLE= crashdump CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DBGUTIL_CONFIGURE_ENABLE= dbgutil DEBUG_CONFIGURE_ENABLE= debug GNOME_CONFIGURE_ENABLE= dbus lockdown GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib SDK_CONFIGURE_ENABLE= odk SDK_DISTFILES= unowinreg.dll:unoreg WIKI_PUBLISHER_CONFIGURE_ENABLE= wiki-publisher WIKI_PUBLISHER_CONFIGURE_WITH= \ commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \ commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar \ commons-logging-jar=${JAVALIBDIR}/commons-logging.jar WIKI_PUBLISHER_JAR_DEPENDS= \ ${JAVALIBDIR}/commons-codec.jar:java/apache-commons-codec \ ${JAVALIBDIR}/commons-httpclient.jar:java/apache-commons-httpclient \ ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging WIKI_PUBLISHER_BUILD_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} WIKI_PUBLISHER_RUN_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} WIKI_PUBLISHER_VARS= BUNDLED_EXTENSIONS+=swext/wiki-publisher.oxt # Don't run gnome-post-icons until after post-install generates the plist TARGET_ORDER_OVERRIDE= 710:gnome-post-icons # Force the SDK option on for makesum to ensure that unowinreg.dll is # included in distinfo .if make(makesum) || make(distclean) WITH= SDK .endif .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-symbols .else CONFIGURE_ARGS+= --enable-strip-solver .endif .include <${FILESDIR}/Makefile.localized> PYTHON_DISTFILE= 38c84292658ed4456157195f1c9bcbe1-Python-2.7.18.tgz GCC_EXTRA_DISTFILES= d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2 \ d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz .if ${CHOSEN_COMPILER_TYPE} == clang CPPFLAGS+= -I${LOCALBASE}/include . if ${ARCH} == amd64 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-align16 . endif .endif .if ${ARCH} == amd64 FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64 .elif ${ARCH} == i386 FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86 .elif ${ARCH} == powerpc64 FREEBSD_ENV_SET= FreeBSDPPC64Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_ppc64 .endif PACKAGE_PREFIX= Apache_OpenOffice LOCALIZED_LANG?= en-US AOO_MAKE_ENV= ${MAKE_ENV:NCPPFLAGS=*:NCFLAGS=*:NCXXFLAGS=*:NLDFLAGS=*} GNU_CONFIGURE= yes WRKSUBDIR= ${WRKDIR}/aoo-${AOOVERSION} WRKSRC?= ${WRKSUBDIR}/main SUB_FILES= pkg-message SUB_LIST= EXECBASE=${EXECBASE} AOOTAG=${AOOTAG} AOOUDIR=${AOOUDIR} \ AOOVERSION=${AOOVERSION} \ PRINSTALLATION_BASEDIR=${PRINSTALLATION_BASEDIR} CONFIGURE_ARGS+= \ --disable-gconf \ --enable-gio \ --disable-gnome-vfs \ --with-unix-wrapper=${EXECBASE} \ --with-alloc=system \ --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-system-apache-commons=yes \ --with-commons-lang-jar=${JAVALIBDIR}/commons-lang.jar \ --with-system-apr \ --with-system-apr-util \ --with-system-beanshell \ --with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ --enable-category-b \ --with-system-cairo --enable-cairo \ --with-system-coinmp \ --with-system-curl \ --with-system-dicts \ --with-system-expat \ --disable-fetch-external \ --without-fonts \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-gperf=${LOCALBASE}/bin/gperf \ --with-system-graphite \ --enable-gtk \ --with-system-hunspell \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-system-hyphen \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-jdk-home=${JAVA_HOME} \ --with-system-jpeg \ --with-junit=${JAVALIBDIR}/junit.jar \ --with-system-libtextcat \ --disable-kde \ --disable-kde4 \ --with-system-libxml \ --with-system-libxslt \ --with-system-lucene \ --with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \ --with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \ --with-system-mythes \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-system-nss \ --enable-opengl \ --with-system-openssl \ --with-package-format="archive" \ --without-system-python \ --with-system-redland \ --with-system-sane \ --with-system-serf \ --with-system-stdlibs \ --with-vendor="FreeBSD ports system" \ --with-build-version="PKGNAME: ${PKGNAME:S/,/@/g}" \ --enable-verbose \ --with-system-xrender \ --with-system-zlib .if defined (BUNDLED_EXTENSIONS) CONFIGURE_ARGS+= --with-bundled-prereg-extensions="${BUNDLED_EXTENSIONS}" .endif CREATE_TREE= ${WRKSRC}/sysui/desktop/share/create_tree.sh .include <${FILESDIR}/Makefile.knobs> pre-everything:: # really tweak, extremely useful when you build all localized language versions # needed after when you build with ALL_LOCALIZED_LANGS. .if defined(TWEAK_L10N) ${RM} ${WRKDIR}/.PLIST* ${RM} ${WRKDIR}/.install_done.* ${RM} ${WRKDIR}/.package_done.* ${RM} ${WRKDIR}/.extract_done.* ${RM} ${WRKDIR}/.patch_done.* ${RM} ${WRKDIR}/.configure_done.* ${RM} ${WRKDIR}/.build_done.* ${MKDIR} ${WRKDIR} ${TOUCH} ${EXTRACT_COOKIE} ${TOUCH} ${PATCH_COOKIE} ${TOUCH} ${CONFIGURE_COOKIE} ${TOUCH} ${BUILD_COOKIE} .endif do-extract-SDK-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ post-extract: ${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${PYTHON_DISTFILE} ${WRKSUBDIR}/ext_sources/${PYTHON_DISTFILE} .for f in ${GCC_EXTRA_DISTFILES} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSUBDIR}/ext_sources/${f} .endfor ${CP} ${FILESDIR}/freebsd-aoo-intro.png \ ${WRKSRC}/default_images/introabout/intro.png ${CP} ${FILESDIR}/freebsd-aoo-about.png \ ${WRKSRC}/default_images/introabout/about.png ${RM} -r ${WRKSRC}/l10n ${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip ${SED} -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \ -e '\|^For PostScript(R) AFM|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE} ${SED} -e '\|^For main/unixODBC|,/^__/p' \ -e '\|^For main/connectivity|,/^__/p' \ -e '\|^For main/libtextcat/data|,/^__/p' \ -e '\|^For integration of HSQLDB|,/^__/p' \ -e '\|^For C preprocessor|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE} ${SED} -e '\|^For ICC |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE} ${SED} -e '\|^For integration of the C++ Boost |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL} ${SED} -e '\|^For main/i18npool/source/breakiterator|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU} ${SED} -e '\|^For Multi-Dimensional Data|,/^__/p' \ -e '\|^For XSLT MathML Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT} ${SED} -e '\|^For XMLSec Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT} ${SED} -e '\|^For Saxon|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL10} ${SED} -e '\|^The following Licenses have some restrictions|,/^- For Network/p' \ -e d ${WRKSRC}/LICENSE_category_b | \ ${SED} -e :a -e '$d;N;2,3ba' -e 'P;D' > ${LICENSE_FILE_MPL11} ${SED} -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL} ${ECHO} '' >> ${LICENSE_FILE_PSFL} ${SED} -e '\|^For Python|,/^__/p' \ -e d ${WRKSRC}/LICENSE >> ${LICENSE_FILE_PSFL} ${SED} -e '\|^For main/twain|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN} ${SED} -e '\|^For main/MathMLDTD|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C} post-patch: ${REINPLACE_CMD} -e "/^ICONVERSION/s/=.*/= '${AOOVERSION1}'/" \ ${WRKSRC}/sysui/desktop/productversion.mk ${REINPLACE_CMD} -e "s|%%JAVA_HOME%%|${JAVA_HOME}|" \ ${WRKSRC}/desktop/scripts/soffice.sh ${REINPLACE_CMD} -e '/^mkdir -p/,$$d' ${CREATE_TREE} .if ${CHOSEN_COMPILER_TYPE} == gcc # g++49 -Os sometimes leaves inline class methods undefined, # affects fmgridif.cxx and ColumnControl.cxx # See: if [ ${CXX} = g++49 ]; then \ ${REINPLACE_CMD} -e "s/ := -Os/ := -Os -fno-devirtualize -fno-devirtualize-speculatively/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk; \ ${REINPLACE_CMD} -e "s/=-Os /=-Os -fno-devirtualize -fno-devirtualize-speculatively /" ${WRKSRC}/solenv/inc/unxfbsdi.mk; \ fi .elif ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == clang # autodoc and uno (bridgetest) core dump when built with with -Os # on i386, affects file.cxx and bridgetest.cxx (at least). # Using -O2 optimiztion works, and -Os is essentially -O2 with out # loop unrolling. # Changing optimization in just unxfbsdi.mk is sufficient to get # a successful build, but change it in both places to avoid the # possibility of obscure runtime problems, which is likely # since this seems to be a generic bug in code generation for # exception handling. # See: ${REINPLACE_CMD} -e "s/=-Os /=-O2 -fno-unroll-loops /" ${WRKSRC}/solenv/inc/unxfbsdi.mk ${REINPLACE_CMD} -e "s/ := -Os/ := -O2 -fno-unroll-loops/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk .endif # Verify that lucene was built with the CONTRIB option instead of # failing mysteriously during the build pre-configure: @if [ ! -f ${JAVALIBDIR}/lucene-analyzers-3.6.2.jar ]; then \ ${ECHO} "error: textproc/lucene must be built with the CONTRIB option enabled"; \ exit 1; \ fi do-build: ${PRINTF} "[repositories]\nmain=active\nextras=active\n" > ${WRKSUBDIR}/source_config cd ${WRKSRC} ; ./bootstrap # # numproc controls the number of parallel makes. # # dmproc is passed to dmake and controls parallelization at that # level. # # dmproc > numproc seems to give shorter build times than # numproc > dmproc. # # Select values for numproc and dmproc such that: # * numproc*dmproc >= MAKE_JOBS_NUMBER # * minimize numproc*dmproc-MAKE_JOBS_NUMBER # * dmproc >= numproc # * dmproc <= 2*numproc if MAKE_JOBS_NUMBER <= 3 # if [ ${MAKE_JOBS_NUMBER} -le 3 ] ; then \ numproc=1 ; dmproc=${MAKE_JOBS_NUMBER} ; \ else \ a=1 ; \ while [ $$(( 2 * $${a} * $${a} )) -lt ${MAKE_JOBS_NUMBER} ]; do \ a=$$(( $${a} + 1 )) ; \ done ; \ b=$$(( $${a} + 1 )) ; \ ad=$$(( ( ${MAKE_JOBS_NUMBER} + $${a} - 1 ) / $${a} )) ; \ ap=$$(( $${a} * $${ad} )) ; \ bd=$$(( ( ${MAKE_JOBS_NUMBER} + $${b} - 1 ) / $${b} )) ; \ bp=$$(( $${b} * $${bd} )) ; \ if [ $${ap} -le $${bp} ]; then \ numproc=$${a} ; dmproc=$${ad} ; \ else \ numproc=$${b} ; dmproc=$${bd} ; \ fi ; \ fi ; \ cd ${WRKSRC}/instsetoo_native ; \ export ${AOO_MAKE_ENV} ; \ . ../${FREEBSD_ENV_SET} ; \ build.pl --all -P$${numproc} -- -P$${dmproc} PYDL= ${STAGEDIR}${OOPATH}/program/python-core-2.7.18/lib/lib-dynload do-install: @${MKDIR} ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ ${STAGEDIR}${PREFIX}/share/mime/packages @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd instsetoo_native/$${INPATH}/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/ ; \ for i in *.tar.?z ; do \ ${ECHO_CMD} "extracting $$i" ; \ ${TAR} -s '|./[^/]*/||' -xz -f $$i \ -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} ; \ done ${RM} ${PYDL}/_sqlite3.so ${PYDL}/gdbm.so ${PYDL}/readline.so ${FIND} ${STAGEDIR}${PRINSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \; ${REINPLACE_CMD} \ -e '/^UserInstallation/s/=.*/=$$SYSUSERCONFIG\/${AOOUDIR}/' \ ${STAGEDIR}${OOPATH}/program/bootstraprc @${RM} ${STAGEDIR}${OOPATH}/program/bootstraprc.bak @${ECHO_CMD} "adding wrapper scripts"; @${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ @${REINPLACE_CMD} -e 's#%%OOPATH%%#${OOPATH}#g' \ -e 's#%%EXECBASE%%#${EXECBASE}#g' \ ${WRKDIR}/openoffice-wrapper ${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \ ${STAGEDIR}${PREFIX}/bin/${EXECBASE} @cd ${STAGEDIR}${PREFIX}/bin; for i in printeradmin sbase scalc sdraw \ simpress smath spadmin swriter ; do \ ${LN} -f ${EXECBASE} ${EXECBASE}-$${i} ; \ done @${ECHO_CMD} "adding desktop support" @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd sysui/$${INPATH}/misc/openoffice ; \ DESTDIR=${STAGEDIR} \ GNOMEDIR=${PREFIX} \ ICON_PREFIX=openoffice${AOOVERSION1} \ ICON_SOURCE_DIR=${WRKSRC}/sysui/desktop/icons \ ICON_THEMES="hicolor/??x??" \ KDEMAINDIR=${PREFIX} \ PREFIX=openoffice${AOOVERSION1} \ ${SH} ${CREATE_TREE} ; \ ${INSTALL_DATA} apacheopenoffice.xml \ ${STAGEDIR}/${PREFIX}/share/mime/packages @cd ${STAGEDIR}${DESKTOPDIR}; for i in base calc draw impress \ javafilter math printeradmin qstart startcenter writer ; do \ ${LN} -sf ${XDGREL}/$${i}.desktop ${EXECBASE}-$${i}.desktop ; \ done do-install-SDK-on: ${TAR} -s '|./[^/]*/||' -xz -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ -f ${WRKSRC}/instsetoo_native/unxfbsd*.pro/Apache_OpenOffice_SDK/archive/install/${LOCALIZED_LANG}/*.tar.gz @f=${STAGEDIR}${OOPATH}/sdk/bin/unoapploader ; \ ${CHMOD} 644 $${f} ; ${STRIP_CMD} $${f} ; ${CHMOD} 444 $${f} post-install: @${ECHO_CMD} "generating plist"; @cd ${STAGEDIR}${PREFIX} ; (\ ${FIND} -s bin -name "${EXECBASE}*" ; \ ${FIND} -s ${INSTALLATION_BASEDIR} share/applications \ share/application-registry share/icons \ share/mime-info share/mime share/mimelnk \! -type d ; \ ${FIND} ${INSTALLATION_BASEDIR} -type d -empty | ${SORT} -r | \ ${SED} -e 's/^/@dir /' ; \ ) >> ${TMPPLIST} .include <${FILESDIR}/Makefile.others> .include diff --git a/editors/openoffice-devel/Makefile b/editors/openoffice-devel/Makefile index 7767fc67a38e..b3ab9b938211 100644 --- a/editors/openoffice-devel/Makefile +++ b/editors/openoffice-devel/Makefile @@ -1,522 +1,522 @@ PORTNAME= apache-openoffice PORTVERSION= ${AOOVERSION1}.${AOOVERSION2}.${TIMESTAMP} -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 4 CATEGORIES= editors java MASTER_SITES= https://dist.apache.org/repos/dist/dev/openoffice/${AOOVERSION}-${AOORC}-${TIMESTAMP}/source/ \ http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \ LOCAL/truckman/openoffice:snap,extsrc \ SF/oooextras.mirror/:sf .if defined(LANG_PKGNAME) PKGNAMEPREFIX= ${LANG_PKGNAME}- .endif .if defined(LANG_SUFFIX) PKGNAMESUFFIX= -${LANG_SUFFIX} .endif PKGNAMESUFFIX= -devel DISTFILES= ${AOOSRC}${AOODISTTAG} ${EXTSRC}:extsrc \ ${GCC_EXTRA_DISTFILES:C/.*/&:sf/g} DIST_SUBDIR= openoffice EXTRACT_ONLY= ${AOOSRC} MAINTAINER= office@FreeBSD.org #de facto maintainer is truckman@FreeBSD.org #Frequent Patch submitters should (optionally) sign the Apache iCLA COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser (developer version) WWW= https://openoffice.apache.org/ LICENSE= APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL10 \ MPL11 PSFL TWAIN W3C LICENSE_COMB= multi LICENSE_NAME_ADOBE= Adobe Systems Incorporated license LICENSE_NAME_ICU= ICU License LICENSE_NAME_TWAIN= TWAIN Working Group license LICENSE_NAME_W3C= W3C license LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE_ALv2 LICENSE_FILE_ADOBE= ${WRKSRC}/LICENSE_ADOBE LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE_BSD3CLAUSE LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/LICENSE_BSD4CLAUSE LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_BSL LICENSE_FILE_ICU= ${WRKSRC}/LICENSE_ICU LICENSE_FILE_MIT= ${WRKSRC}/LICENSE_MIT LICENSE_FILE_MPL10= ${WRKSRC}/LICENSE_MPL10 LICENSE_FILE_MPL11= ${WRKSRC}/LICENSE_MPL11 LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE_PSFL LICENSE_FILE_TWAIN= ${WRKSRC}/LICENSE_TWAIN LICENSE_FILE_W3C= ${WRKSRC}/LICENSE_W3C LICENSE_PERMS_ADOBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_TWAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_W3C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 i386 powerpc64 BUILD_DEPENDS= \ p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ ${LOCALBASE}/bin/unzip:archivers/unzip \ zip:archivers/zip \ ant:devel/apache-ant \ dmake:devel/dmake \ ${LOCALBASE}/bin/gperf:devel/gperf \ imake:devel/imake \ libunwind>=20211201_1:devel/libunwind \ gpatch:devel/patch \ ${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \ ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVALIBDIR}/junit.jar:java/junit \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ bash:shells/bash \ ${JAVALIBDIR}/lucene-core-3.6.2.jar:textproc/lucene \ p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-libwww>=0:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https LIB_DEPENDS= \ libapr-1.so:devel/apr1 \ libnspr4.so:devel/nspr \ libcurl.so:ftp/curl \ libcairo.so:graphics/cairo \ libpng16.so:graphics/png \ libgraphite.so:graphics/silgraphite \ libblas.so:math/blas \ libCbcSolver.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libClpSolver.so:math/clp \ libCoinMP.so:math/coinmp \ libCoinUtils.so:math/coinutils \ libcoinmumps.so:math/coin-or-mumps \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libtextcat.so:textproc/libtextcat \ libmythes-1.2.so:textproc/mythes \ librdf.so:textproc/redland \ libserf-1.so:www/serf \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= \ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \ ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVALIBDIR}/bsh.jar:lang/bsh \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:x11-fonts/croscorefonts-fonts-ttf # For libgfortran.so and libquadmath.so BUILD_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} RUN_DEPENDS+= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} USES= autoreconf bison compiler:c++11-lib cpe desktop-file-utils \ gettext-runtime gl gmake gnome iconv java jpeg perl5 pkgconfig \ python shared-mime-info ssl tar:${TARTYPE} xorg USE_GL= gl glu USE_GNOME= gdkpixbuf gdkpixbuf2xlib gtk20 libxslt glib20 JAVA_VENDOR= openjdk USE_PERL5= build USE_XORG= ice sm x11 xau xaw xcomposite xcursor xdamage xext xfixes xi \ xinerama xrandr xrender xt CONFLICTS_INSTALL= apache-openoffice-4* AOOVERSION1= 4 AOOVERSION2= 2 AOOVERSION3= 0 # From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD AOOTAG= AOO420m6\(Build:9825\) GITREVISION= 518a110c8f TIMESTAMP= 1750013453 #AOORC=rc3 EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3} AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3} AOOSUFFIX= ${AOOVERSION1}.${AOOVERSION2} .if defined(AOORC) AOOSRC= apache-openoffice-${AOOVERSION}-${GITREVISION}-src${EXTRACT_SUFX} AOODISTTAG= TARTYPE= bzip2 .else AOOSRC= apache-openoffice-${TIMESTAMP}-${GITREVISION}-src${EXTRACT_SUFX} AOODISTTAG= :snap TARTYPE= xz .endif AOOUDIR= .openoffice.org\/${AOOVERSION1} INSTALLATION_BASEDIR?= openoffice-${AOOSUFFIX} PRINSTALLATION_BASEDIR= ${PREFIX}/${INSTALLATION_BASEDIR} OOPATH= ${PRINSTALLATION_BASEDIR}/openoffice${AOOVERSION1} XDGDIR= ${OOPATH}/share/xdg XDGREL= ../../${INSTALLATION_BASEDIR}/openoffice${AOOVERSION1}/share/xdg EXECBASE?= openoffice-${AOOSUFFIX} WITHOUT_CPU_CFLAGS= true CPE_PRODUCT= ${PORTNAME:S|apache-||} CPE_VENDOR= apache OPTIONS_DEFINE= CRASHDUMP CUPS DBGUTIL DEBUG GNOME MMEDIA \ MYSQL PDFIMPORT REPORT_BUILDER SDK WIKI_PUBLISHER OPTIONS_DEFAULT= CUPS GNOME MMEDIA WIKI_PUBLISHER CRASHDUMP_DESC= Enable crashdumps, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} DBGUTIL_DESC= Enable assertions, object counting. (non-production) DEBUG_DESC= Compile with -O0, you also need to set WITH_DEBUG_PORTS+=${PKGORIGIN} GNOME_DESC= Screensaver presentation control via DBUS MMEDIA_DESC= Multimedia backend for impress MYSQL_DESC= Build MySQL Connector extension PDFIMPORT_DESC= Build and install PDF import extension REPORT_BUILDER_DESC= Build and install Report builder extension (Broken) SDK_DESC= Build and install software development kit WIKI_PUBLISHER_DESC= Build and install Wiki Publisher extension CRASHDUMP_CONFIGURE_ENABLE= crashdump CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DBGUTIL_CONFIGURE_ENABLE= dbgutil DEBUG_CONFIGURE_ENABLE= debug GNOME_CONFIGURE_ENABLE= dbus lockdown GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib MMEDIA_CONFIGURE_ENABLE= gstreamer MMEDIA_USES= gstreamer MYSQL_CONFIGURE_ENABLE= mysql-connector MYSQL_CONFIGURE_WITH= system-mysql MYSQL_LIB_DEPENDS= libmysqlcppconn.so:databases/mysql-connector-c++ MYSQL_USES= mysql MYSQL_VARS= IGNORE_WITH_MYSQL="80 81" SDK_CONFIGURE_ENABLE= odk SDK_DISTFILES= unowinreg.dll:unoreg PDFIMPORT_BROKEN= PDFIMPORT is not compatible with poppler-0.7x API PDFIMPORT_CONFIGURE_ENABLE= pdfimport REPORT_BUILDER_BROKEN= REPORT_BUILDER option requires additional .jar files REPORT_BUILDER_CONFIGURE_ENABLE= report-builder REPORT_BUILDER_JAR_DEPENDS= REPORT_BUILDER_BUILD_DEPENDS= ${REPORT_BUILDER_JAR_DEPENDS} REPORT_BUILDER_RUN_DEPENDS= ${REPORT_BUILDER_JAR_DEPENDS} WIKI_PUBLISHER_CONFIGURE_ENABLE= wiki-publisher WIKI_PUBLISHER_CONFIGURE_WITH= \ commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \ commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar WIKI_PUBLISHER_JAR_DEPENDS= \ ${JAVALIBDIR}/commons-codec.jar:java/apache-commons-codec \ ${JAVALIBDIR}/commons-httpclient.jar:java/apache-commons-httpclient WIKI_PUBLISHER_BUILD_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} WIKI_PUBLISHER_RUN_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS} # Don't run gnome-post-icons until after post-install generates the plist TARGET_ORDER_OVERRIDE= 710:gnome-post-icons # Force the SDK option on for makesum to ensure that unowinreg.dll is # included in distinfo .if make(makesum) || make(distclean) WITH= SDK .endif .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-symbols .else CONFIGURE_ARGS+= --enable-strip-solver .endif .if ${PORT_OPTIONS:MREPORT_BUILDER} || ${PORT_OPTIONS:MWIKI_PUBLISHER} BUILD_DEPENDS+= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging RUN_DEPENDS+= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging CONFIGURE_ARGS+= --with-commons-logging-jar=${JAVALIBDIR}/commons-logging.jar .else CONFIGURE_ARGS+= --without-commons-logging .endif .include <${FILESDIR}/Makefile.localized> GCC_EXTRA_DISTFILES= d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2 \ e3738abd0d3ce1870dc1fd1f22bba5b1-icu4c-4_2_1-src.tgz \ d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz .if ${CHOSEN_COMPILER_TYPE} == clang CPPFLAGS+= -I${LOCALBASE}/include .endif .if ${ARCH} == amd64 FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64 .elif ${ARCH} == i386 FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86 .elif ${ARCH} == powerpc64 FREEBSD_ENV_SET= FreeBSDPPC64Env.Set.sh PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_ppc64 .endif PACKAGE_PREFIX= Apache_OpenOffice LOCALIZED_LANG?= en-US AOO_MAKE_ENV= ${MAKE_ENV:NCPPFLAGS=*:NCFLAGS=*:NCXXFLAGS=*} GNU_CONFIGURE= yes WRKSUBDIR= ${WRKDIR}/aoo-${AOOVERSION} WRKSRC?= ${WRKSUBDIR}/main SUB_FILES= pkg-message SUB_LIST= EXECBASE=${EXECBASE} AOOTAG=${AOOTAG} AOOUDIR=${AOOUDIR} \ PRINSTALLATION_BASEDIR=${PRINSTALLATION_BASEDIR} CONFIGURE_ARGS+= \ --disable-gconf \ --enable-gio \ --disable-gnome-vfs \ --with-unix-wrapper=${EXECBASE} \ --with-alloc=system \ --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-system-apache-commons=yes \ --with-commons-lang-jar=${JAVALIBDIR}/commons-lang3.jar \ --with-system-apr \ --with-system-apr-util \ --with-system-beanshell \ --with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ --enable-category-b \ --with-system-cairo --enable-cairo \ --with-system-coinmp \ --with-system-curl \ --with-system-dicts \ --with-system-expat \ --disable-fetch-external \ --without-fonts \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-gperf=${LOCALBASE}/bin/gperf \ --with-system-graphite \ --enable-gtk \ --with-system-hunspell \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-system-hyphen \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-jdk-home=${JAVA_HOME} \ --with-system-jpeg \ --with-junit=${JAVALIBDIR}/junit.jar \ --with-system-libtextcat \ --disable-kde \ --disable-kde4 \ --with-system-libxml \ --with-system-libxslt \ --with-system-lucene \ --with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \ --with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \ --with-system-mythes \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-system-nss \ --enable-opengl \ --with-system-openssl \ --with-package-format="archive" \ --with-system-python \ --with-system-redland \ --with-system-sane \ --with-system-serf \ --with-system-stdlibs \ --with-vendor="FreeBSD ports system" \ --with-build-version="PKGNAME: ${PKGNAME:S/,/@/g}" \ --enable-verbose \ --with-system-xrender \ --with-system-zlib CREATE_TREE= ${WRKSRC}/sysui/desktop/share/create_tree.sh .include <${FILESDIR}/Makefile.knobs> pre-everything:: # really tweak, extremely useful when you build all localized language versions # needed after when you build with ALL_LOCALIZED_LANGS. .if defined(TWEAK_L10N) ${RM} ${WRKDIR}/.PLIST* ${RM} ${WRKDIR}/.install_done.* ${RM} ${WRKDIR}/.package_done.* ${RM} ${WRKDIR}/.extract_done.* ${RM} ${WRKDIR}/.patch_done.* ${RM} ${WRKDIR}/.configure_done.* ${RM} ${WRKDIR}/.build_done.* ${MKDIR} ${WRKDIR} ${TOUCH} ${EXTRACT_COOKIE} ${TOUCH} ${PATCH_COOKIE} ${TOUCH} ${CONFIGURE_COOKIE} ${TOUCH} ${BUILD_COOKIE} .endif do-extract-SDK-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/ post-extract: ${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC} .for f in ${GCC_EXTRA_DISTFILES} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSUBDIR}/ext_sources/${f} .endfor ${CP} ${FILESDIR}/freebsd-aoo-intro-developer.png \ ${WRKSRC}/default_images/introabout/intro.png ${CP} ${FILESDIR}/freebsd-aoo-about-developer.png \ ${WRKSRC}/default_images/introabout/about.png ${RM} -r ${WRKSRC}/l10n ${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip ${SED} -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \ -e '\|^For PostScript(R) AFM|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE} ${SED} -e '\|^For main/unixODBC|,/^__/p' \ -e '\|^For main/connectivity|,/^__/p' \ -e '\|^For main/libtextcat/data|,/^__/p' \ -e '\|^For integration of HSQLDB|,/^__/p' \ -e '\|^For C preprocessor|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE} ${SED} -e '\|^For ICC |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE} ${SED} -e '\|^For integration of the C++ Boost |,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL} ${SED} -e '\|^For main/i18npool/source/breakiterator|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU} ${SED} -e '\|^For Multi-Dimensional Data|,/^__/p' \ -e '\|^For XSLT MathML Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT} ${SED} -e '\|^For XMLSec Library|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT} ${SED} -e '\|^For Saxon|,/^__/p' \ -e d ${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL10} ${SED} -e '\|^The following Licenses have some restrictions|,/^- For Network/p' \ -e d ${WRKSRC}/LICENSE_category_b | \ ${SED} -e :a -e '$d;N;2,3ba' -e 'P;D' > ${LICENSE_FILE_MPL11} ${SED} -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL} ${SED} -e '\|^For main/twain|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN} ${SED} -e '\|^For main/MathMLDTD|,/^__/p' \ -e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C} post-patch: ${REINPLACE_CMD} -e "/^ICONVERSION/s/=.*/= '${AOOVERSION1}'/" \ ${WRKSRC}/sysui/desktop/productversion.mk ${REINPLACE_CMD} -e "s|%%JAVA_HOME%%|${JAVA_HOME}|" \ ${WRKSRC}/desktop/scripts/soffice.sh ${REINPLACE_CMD} -e '/^mkdir -p/,$$d' ${CREATE_TREE} # Verify that lucene was built with the CONTRIB option instead of # failing mysteriously during the build pre-configure: @if [ ! -f ${JAVALIBDIR}/lucene-analyzers-3.6.2.jar ]; then \ ${ECHO} "error: textproc/lucene must be built with the CONTRIB option enabled"; \ exit 1; \ fi do-build: ${PRINTF} "[repositories]\nmain=active\nextras=active\n" > ${WRKSUBDIR}/source_config cd ${WRKSRC} ; ./bootstrap # # numproc controls the number of parallel makes. # # dmproc is passed to dmake and controls parallelization at that # level. # # dmproc > numproc seems to give shorter build times than # numproc > dmproc. # # Select values for numproc and dmproc such that: # * numproc*dmproc >= MAKE_JOBS_NUMBER # * minimize numproc*dmproc-MAKE_JOBS_NUMBER # * dmproc >= numproc # * dmproc <= 2*numproc if MAKE_JOBS_NUMBER <= 3 # if [ ${MAKE_JOBS_NUMBER} -le 3 ] ; then \ numproc=1 ; dmproc=${MAKE_JOBS_NUMBER} ; \ else \ a=1 ; \ while [ $$(( 2 * $${a} * $${a} )) -lt ${MAKE_JOBS_NUMBER} ]; do \ a=$$(( $${a} + 1 )) ; \ done ; \ b=$$(( $${a} + 1 )) ; \ ad=$$(( ( ${MAKE_JOBS_NUMBER} + $${a} - 1 ) / $${a} )) ; \ ap=$$(( $${a} * $${ad} )) ; \ bd=$$(( ( ${MAKE_JOBS_NUMBER} + $${b} - 1 ) / $${b} )) ; \ bp=$$(( $${b} * $${bd} )) ; \ if [ $${ap} -le $${bp} ]; then \ numproc=$${a} ; dmproc=$${ad} ; \ else \ numproc=$${b} ; dmproc=$${bd} ; \ fi ; \ fi ; \ cd ${WRKSRC}/instsetoo_native ; \ export ${AOO_MAKE_ENV} ; \ . ../${FREEBSD_ENV_SET} ; \ build.pl --all -P$${numproc} -- -P$${dmproc} do-install: @${MKDIR} ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ ${STAGEDIR}${PREFIX}/share/mime/packages @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd instsetoo_native/$${INPATH}/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/ ; \ for i in *.tar.?z ; do \ ${ECHO_CMD} "extracting $$i" ; \ ${TAR} -s '|./[^/]*/||' -xz -f $$i \ -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} ; \ done ${FIND} ${STAGEDIR}${PRINSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \; ${REINPLACE_CMD} \ -e '/^UserInstallation/s/=.*/=$$SYSUSERCONFIG\/${AOOUDIR}/' \ ${STAGEDIR}${OOPATH}/program/bootstraprc @${RM} ${STAGEDIR}${OOPATH}/program/bootstraprc.bak @${ECHO_CMD} "adding wrapper scripts"; @${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/ @${REINPLACE_CMD} -e 's#%%OOPATH%%#${OOPATH}#g' \ -e 's#%%EXECBASE%%#${EXECBASE}#g' \ ${WRKDIR}/openoffice-wrapper ${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \ ${STAGEDIR}${PREFIX}/bin/${EXECBASE} @cd ${STAGEDIR}${PREFIX}/bin; for i in printeradmin sbase scalc sdraw \ simpress smath spadmin swriter ; do \ ${LN} -f ${EXECBASE} ${EXECBASE}-$${i} ; \ done @${ECHO_CMD} "adding desktop support" @cd ${WRKSRC} ; \ . ${FREEBSD_ENV_SET} ; \ cd sysui/$${INPATH}/misc/openoffice ; \ DESTDIR=${STAGEDIR} \ GNOMEDIR=${PREFIX} \ ICON_PREFIX=openoffice${AOOVERSION1} \ ICON_SOURCE_DIR=${WRKSRC}/sysui/desktop/icons \ ICON_THEMES="hicolor/??x??" \ KDEMAINDIR=${PREFIX} \ PREFIX=openoffice${AOOVERSION1} \ ${SH} ${CREATE_TREE} ; \ ${INSTALL_DATA} apacheopenoffice.xml \ ${STAGEDIR}/${PREFIX}/share/mime/packages @cd ${STAGEDIR}${DESKTOPDIR}; for i in base calc draw impress \ javafilter math printeradmin qstart startcenter writer ; do \ ${LN} -sf ${XDGREL}/$${i}.desktop ${EXECBASE}-$${i}.desktop ; \ done do-install-SDK-on: ${TAR} -s '|./[^/]*/||' -xz -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} \ -f ${WRKSRC}/instsetoo_native/unxfbsd*.pro/Apache_OpenOffice_SDK/archive/install/${LOCALIZED_LANG}/*.tar.gz @f=${STAGEDIR}${OOPATH}/sdk/bin/unoapploader ; \ ${CHMOD} 644 $${f} ; ${STRIP_CMD} $${f} ; ${CHMOD} 444 $${f} post-install: @${ECHO_CMD} "generating plist"; @cd ${STAGEDIR}${PREFIX} ; (\ ${FIND} -s bin -name "${EXECBASE}*" ; \ ${FIND} -s ${INSTALLATION_BASEDIR} share/applications \ share/application-registry share/icons \ share/mime-info share/mime share/mimelnk \! -type d ; \ ${FIND} ${INSTALLATION_BASEDIR} -type d -empty | ${SORT} -r | \ ${SED} -e 's/^/@dir /' ; \ ) >> ${TMPPLIST} .include <${FILESDIR}/Makefile.others> .include diff --git a/editors/pluma/Makefile b/editors/pluma/Makefile index 2ea3a7056f86..d7c1e840f805 100644 --- a/editors/pluma/Makefile +++ b/editors/pluma/Makefile @@ -1,53 +1,53 @@ PORTNAME= pluma PORTVERSION= 1.28.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Small but powerful text editor for MATE Desktop Environment WWW= https://mate-desktop.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool \ ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libpeas-gtk-1.0.so:devel/libpeas1 RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes PORTSCOUT= limitw:1,even USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome libtool localbase \ pathfix pkgconfig python shebangfix tar:xz xorg mate USE_XORG= ice sm x11 USE_GNOME= cairo gdkpixbuf gnomeprefix gtk30 gtksourceview4 \ intltool introspection libxml2 USE_MATE= desktop:build USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip SHEBANG_FILES= \ ${WRKSRC}/data/pluma-bugreport.sh.in \ ${WRKSRC}/plugins/externaltools/data/build.tool.in \ ${WRKSRC}/plugins/externaltools/data/open-terminal-here.tool.in \ ${WRKSRC}/plugins/externaltools/data/remove-trailing-spaces.tool.in \ ${WRKSRC}/plugins/externaltools/data/run-command.tool.in \ ${WRKSRC}/plugins/externaltools/data/search-recursive.tool.in \ ${WRKSRC}/plugins/externaltools/data/switch-c.tool.in SHEBANG_LANG= sh sh_CMD= /bin/sh GLIB_SCHEMAS= org.mate.pluma.gschema.xml \ org.mate.pluma.plugins.filebrowser.gschema.xml \ org.mate.pluma.plugins.pythonconsole.gschema.xml \ org.mate.pluma.plugins.spell.gschema.xml \ org.mate.pluma.plugins.time.gschema.xml OPTIONS_DEFINE= DOCS .include diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile index bc6c46e5efd6..37de2da6adae 100644 --- a/editors/vscode/Makefile +++ b/editors/vscode/Makefile @@ -1,323 +1,323 @@ PORTNAME= vscode DISTVERSION= 1.101.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:node_modules DISTFILES= vscode-node-modules-${DISTVERSION}${EXTRACT_SUFX}:node_modules \ vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX}:node_modules DIST_SUBDIR= ${PORTNAME} MAINTAINER= tagattie@FreeBSD.org COMMENT= Visual Studio Code - Open Source ("Code - OSS") WWW= https://code.visualstudio.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= amd64 EXTRACT_DEPENDS=jq:textproc/jq \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} BUILD_DEPENDS= zip:archivers/zip \ electron${ELECTRON_VER_MAJOR}:devel/electron${ELECTRON_VER_MAJOR} \ jq:textproc/jq \ rg:textproc/ripgrep \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libasound.so:audio/alsa-lib \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libsndio.so:audio/sndio \ libdbus-1.so:devel/dbus \ libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libpcre2-8.so:devel/pcre2 \ libre2.so:devel/re2 \ liblcms2.so:graphics/lcms2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libvpx.so:multimedia/libvpx \ libopenh264.so:multimedia/openh264 \ libpipewire-0.3.so:multimedia/pipewire \ libcups.so:print/cups \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils \ bash:shells/bash TEST_DEPENDS= electron${ELECTRON_VER_MAJOR}:devel/electron${ELECTRON_VER_MAJOR} \ bash:shells/bash USES= desktop-file-utils gl gmake gnome gssapi:mit iconv:wchar_t \ jpeg localbase:ldflags nodejs:22,build pkgconfig python:build \ shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= microsoft SOURCE_COMMIT_HASH= 2901c5ac6db8a986a5666c3af51ff804d05af0d4 BINARY_ALIAS= python=${PYTHON_CMD} USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xtst USE_GL= gbm gl glesv2 USE_GNOME= atk cairo pango gdkpixbuf gtk30 libxml2 libxslt SHEBANG_REGEX= ./(extensions|node_modules|resources|scripts|src)/.*\.sh$$ PATHFIX_FILES= src/vs/workbench/contrib/debug/node/terminals.ts DATADIR= ${PREFIX}/share/code-oss TMPDIR= ${WRKDIR} BUNDLE_LIBS= yes MAKE_ENV+= BUILD_SOURCEVERSION=${SOURCE_COMMIT_HASH} # Don't download electron binary distribution on electron node_modules installation MAKE_ENV+= ELECTRON_SKIP_BINARY_DOWNLOAD=1 # Don't download browser binaries on playwright node_modules installation MAKE_ENV+= PLAYWRIGHT_BROWSERS_PATH=${WRKDIR}/pw-browsers \ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 # Don't create __pycache__ directory when executing node-gyp # This is a workaround to avoid filesystem violations during poudriere build MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 TEST_ENV= ${MAKE_ENV:C/TMPDIR=.*//} NODEJS_DIR= ${.CURDIR:H:H}/www/node22 .include "${NODEJS_DIR}/Makefile.version" ELECTRON_DIR= ${.CURDIR:H:H}/devel/electron35 .include "${ELECTRON_DIR}/Makefile.version" ELECTRON_DOWNLOAD_URL= https://github.com/electron/electron/releases/download/v${ELECTRON_VER} ELECTRON_DOWNLOAD_URL_HASH!= /sbin/sha256 -q -s ${ELECTRON_DOWNLOAD_URL} ELECTRON_ARCH= ${ARCH:S/aarch64/arm64/:S/amd64/x64/:S/i386/ia32/} pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "The limit imposed by poudriere(8) for the maximum number of files allowed to be" @${ECHO_MSG} "opened by a jail (default 1024) is exceeded during the build of ${PORTNAME}." @${ECHO_MSG} "To successfully build ${PORTNAME} with poudriere(8), you must add the following" @${ECHO_MSG} "line to poudriere.conf:" @${ECHO_MSG} "MAX_FILES_${PORTNAME}=8192" @${ECHO_MSG} "" post-extract: @${CP} ${WRKSRC}/build/.moduleignore.linux \ ${WRKSRC}/build/.moduleignore.freebsd @${ECHO_MSG} "===> Installing node modules in ${WRKSRC}" @${TAR} -xzf ${WRKDIR}/vscode-.-node-modules${EXTRACT_SUFX} -C ${WRKSRC} @for dir in `node -p "JSON.stringify(require('${WRKSRC}/build/npm/dirs').dirs)" | jq -r '.[]'`; do \ if [ -f ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} ]; then \ ${ECHO_MSG} "===> Installing node modules in ${WRKSRC}/$${dir}"; \ ${TAR} -xzf ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} -C ${WRKSRC}/$${dir}; \ fi; \ done post-patch: @${REINPLACE_CMD} -E 's|^(target=").*(")$$|\1${ELECTRON_VER}\2|' \ ${WRKSRC}/.npmrc @${REINPLACE_CMD} -E 's|^(target=").*(")$$|\1${NODEJS_PORTVERSION}\2|' \ ${WRKSRC}/remote/.npmrc @(cd ${WRKSRC} && \ ${FIND} -E . -type f -iregex '${SHEBANG_REGEX}' \ -exec ${SED} -i '' -e "s|/usr/bin/pgrep|/bin/pgrep|g" {} ';') @(cd ${WRKSRC} && \ ${FIND} ${PATHFIX_FILES} -type f \ -exec ${SED} -i '' -e "s|/usr/bin/pgrep|/bin/pgrep|g" {} ';') @${REINPLACE_CMD} -e 's/@@NAME_LONG@@/Code - OSS/; \ s/@@NAME_SHORT@@/Code - OSS/; \ s/@@PRODNAME@@/Code - OSS/; \ s/@@NAME@@/code-oss/g; \ s|@@EXEC@@|${PREFIX}/bin/code-oss|; \ s/@@ICON@@/com.visualstudio.code.oss/; \ s/@@URLPROTOCOL@@/code-oss/; \ s/@@LICENSE@@/MIT/; \ s/@@APPNAME@@/code-oss/g; \ s|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/resources/completions/bash/code \ ${WRKSRC}/resources/completions/zsh/_code \ ${WRKSRC}/resources/linux/bin/code.sh \ ${WRKSRC}/resources/linux/code.appdata.xml \ ${WRKSRC}/resources/linux/code.desktop \ ${WRKSRC}/resources/linux/code-url-handler.desktop @(cd ${WRKDIR}/builtInExtensions && \ ${FIND} . -type f -name '*.sh' \ -exec ${SED} -i '' -e "s|/usr/bin/pgrep|/bin/pgrep|g" \ -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' {} ';') pre-build: # rebuild native node modules in top directory @for subdir in `${FIND} ${WRKSRC}/node_modules -type f -name binding.gyp -exec ${DIRNAME} {} ';'`; do \ ${ECHO_MSG} "===> Rebuilding native modules in $${subdir}"; \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers \ node-gyp --userconfig=${WRKSRC}/.npmrc rebuild; \ done # rebuild native node modules in subdirectories @for dir in `node -p "JSON.stringify(require('${WRKSRC}/build/npm/dirs').dirs)" | jq -r '.[]'`; do \ for subdir in `${FIND} ${WRKSRC}/$${dir}/node_modules -type f -name binding.gyp -exec ${DIRNAME} {} ';' 2> /dev/null`; do \ ${ECHO_MSG} "===> Rebuilding native modules in $${subdir}"; \ if [ "`${ECHO_CMD} $${subdir} | ${GREP} /build/`" ]; then \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=node \ npm_config_target=${NODEJS_PORTVERSION} \ npm_config_nodedir=${LOCALBASE} \ node-gyp --userconfig=${WRKSRC}/build/.npmrc rebuild; \ elif [ "`${ECHO_CMD} $${subdir} | ${GREP} /remote/`" ]; then \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=node \ npm_config_target=${NODEJS_PORTVERSION} \ npm_config_nodedir=${LOCALBASE} \ node-gyp --userconfig=${WRKSRC}/remote/.npmrc rebuild; \ else \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers \ node-gyp --userconfig=${WRKSRC}/.npmrc rebuild; \ fi; \ done; \ done # copy rg binary file to @vscode/ripgrep node module directory @${MKDIR} ${WRKSRC}/node_modules/@vscode/ripgrep/bin @${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/node_modules/@vscode/ripgrep/bin @${MKDIR} ${WRKSRC}/build/node_modules/@vscode/ripgrep/bin @${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/build/node_modules/@vscode/ripgrep/bin @${MKDIR} ${WRKSRC}/remote/node_modules/@vscode/ripgrep/bin @${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/remote/node_modules/@vscode/ripgrep/bin do-build: # setup download cache for gulp-atom-electron @${MKDIR} ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH} @cd ${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} && \ zip -q -r ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH}/electron-v${ELECTRON_VER}-linux-${ELECTRON_ARCH}.zip . @cd ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH} && \ ${SHA256} -r *-v${ELECTRON_VER}-linux-*.zip | \ ${SED} -e 's/ / */' > SHASUMS256.txt # add newline character at the end of the file if not already @${AWK} '1' ${WRKSRC}/build/checksums/electron.txt > \ ${WRKSRC}/build/checksums/electron.txt.new @${MV} -f ${WRKSRC}/build/checksums/electron.txt.new \ ${WRKSRC}/build/checksums/electron.txt @cd ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH} && \ ${SHA256} -r *-v${ELECTRON_VER}-linux-*.zip | \ ${SED} -e 's/ / */' >> ${WRKSRC}/build/checksums/electron.txt # remove backup files so that they are not included in the package @${FIND} ${WRKSRC} -type f \( -name '*.orig' -o -name '*~' \) -delete # build and package vscode cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npx tsc -p build/tsconfig.build.json cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers \ npm --userconfig=${WRKSRC}/.npmrc run gulp vscode-linux-${ELECTRON_ARCH}-min # move marketplace extensions @${MV} ${WRKDIR}/builtInExtensions/* ${WRKDIR}/VSCode-linux-${ELECTRON_ARCH}/resources/app/extensions do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/resources/completions/bash/code \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/code-oss @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/resources/completions/zsh/_code \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_code-oss @${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata ${INSTALL_DATA} ${WRKSRC}/resources/linux/code.appdata.xml \ ${STAGEDIR}${PREFIX}/share/appdata/code-oss.appdata.xml @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications .for f in code.desktop code-url-handler.desktop ${INSTALL_DATA} ${WRKSRC}/resources/linux/${f} \ ${STAGEDIR}${PREFIX}/share/applications/${f:S/code/code-oss/} .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/resources/linux/code.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/com.visualstudio.code.oss.png @${MKDIR} ${STAGEDIR}${DATADIR} ${TAR} -cf - -C ${WRKDIR}/VSCode-linux-${ELECTRON_ARCH} . | \ ${TAR} -xf - -C ${STAGEDIR}${DATADIR} @${FIND} ${STAGEDIR}${DATADIR}/resources/app -type f -exec ${FILE} {} ';' | \ ${GREP} 'ELF.*FreeBSD' | ${AWK} -F ': ' '{print $$1}' | ${XARGS} ${STRIP_CMD} .for f in chromedriver mksnapshot v8_context_snapshot_generator @${RM} ${STAGEDIR}${DATADIR}/${f} .endfor @${RM} -r ${STAGEDIR}${DATADIR}/gen @${RM} -r ${STAGEDIR}${DATADIR}/node_headers @${RM} -r ${STAGEDIR}${DATADIR}/resources/completions ${RLN} ${STAGEDIR}${DATADIR}/bin/code-oss ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${FILESDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} pre-test: # setup electron dependency for unit tests @${MKDIR} ${WRKSRC}/.build/electron @${TAR} -cf - -C ${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} . | \ ${TAR} -xf - -C ${WRKSRC}/.build/electron @cd ${WRKSRC}/.build/electron && ${MV} -f electron code-oss do-test: # Note: Xvfb or something similar is necessary for headless testing # unit tests cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ./scripts/test.sh --build || ${TRUE} # UI smoke tests cd ${WRKSRC} && ${SETENV} ${TEST_ENV} npm run smoketest build-remote-extension-host: configure pre-build # setup download cache for node @${MKDIR} ${WRKSRC}/.build/node/v${NODEJS_PORTVERSION}/linux-${ELECTRON_ARCH} @${CP} ${LOCALBASE}/bin/node ${WRKSRC}/.build/node/v${NODEJS_PORTVERSION}/linux-${ELECTRON_ARCH} # build vscode remote extension host cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ npm_config_runtime=node \ npm_config_target=${NODEJS_PORTVERSION} \ npm_config_nodedir=${LOCALBASE} \ npm --userconfig=${WRKSRC}/remote/.npmrc run gulp vscode-reh-linux-${ELECTRON_ARCH}-min @${MKDIR} ${WRKDIR}/vscode-reh/bin/${SOURCE_COMMIT_HASH} ${TAR} -cf - -C ${WRKDIR}/vscode-reh-linux-${ELECTRON_ARCH} . | \ ${TAR} -xf - -C ${WRKDIR}/vscode-reh/bin/${SOURCE_COMMIT_HASH} @${FIND} ${WRKDIR}/vscode-reh -type f -exec ${FILE} {} ';' | \ ${GREP} 'ELF.*FreeBSD' | ${AWK} -F ': ' '{print $$1}' | ${XARGS} ${STRIP_CMD} ${TAR} -czf ${WRKDIR}/vscode-reh-${DISTVERSION}-${OPSYS:tl}${OSREL:R}-${ARCH}.tar.gz -C ${WRKDIR}/vscode-reh . # cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm run gulp vscode-reh-web-linux-${ELECTRON_ARCH}-min ### targets for port maintainer(s) make-node-modules-archive: extract @${ECHO_MSG} "===> Fetching and installing node modules in ${WRKSRC}" @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npm install --ignore-scripts --no-progress --no-audit --no-fund && \ ${TAR} -czf ${WRKDIR}/vscode-.-node-modules${EXTRACT_SUFX} node_modules @for dir in `node -p "JSON.stringify(require('${WRKSRC}/build/npm/dirs').dirs)" | jq -r '.[]'`; do \ cd ${WRKSRC}/$${dir} && \ ${ECHO_MSG} "===> Fetching and installing node modules in ${WRKSRC}/$${dir}" && \ ${SETENV} ${MAKE_ENV} npm install --ignore-scripts --no-progress --no-audit --no-fund && \ if [ -d node_modules ]; then \ ${TAR} -czf ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} node_modules; \ fi; \ done @cd ${WRKDIR} && \ ${TAR} -czf vscode-node-modules-${DISTVERSION}${EXTRACT_SUFX} vscode-*-node-modules.tar.gz make-marketplace-exts-archive: extract @${RM} -r ${WRKSRC}/.build/builtInExtensions @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npm run download-builtin-extensions @${TAR} -czf ${WRKDIR}/vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX} -C ${WRKSRC}/.build builtInExtensions .include diff --git a/editors/xed/Makefile b/editors/xed/Makefile index dd65592434cd..70817f388202 100644 --- a/editors/xed/Makefile +++ b/editors/xed/Makefile @@ -1,53 +1,53 @@ PORTNAME= xed PORTVERSION= 3.8.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= editors gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Small but powerful text editor for GTK WWW= https://github.com/linuxmint/xed LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libpeas-1.0.so:devel/libpeas1 \ libxapp.so:x11/xapp RUN_DEPENDS= ${LOCALBASE}/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml:devel/gsettings-desktop-schemas \ ${PYTHON_PKGNAMEPREFIX}libpeas1>=0:devel/py-libpeas1@${PY_FLAVOR} \ yelp:x11/yelp USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome meson \ pkgconfig python:run xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 gtksourceview4 intltool \ introspection pango USE_LDCONFIG= yes USE_XORG= x11 GLIB_SCHEMAS= org.x.editor.gschema.xml \ org.x.editor.plugins.filebrowser.gschema.xml \ org.x.editor.plugins.time.gschema.xml \ org.x.editor.plugins.wordcompletion.gschema.xml PORTSCOUT= limit:^[0-9.]+$$ # ignore master.mint* tags OPTIONS_DEFINE= DOCS GSPELL GVFS_METADATA OPTIONS_DEFAULT= DOCS GSPELL GVFS_METADATA OPTIONS_SUB= yes GSPELL_DESC= Spell checking support via gspell GVFS_METADATA_DESC= GVFS metadata DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= docs GSPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell GSPELL_MESON_TRUE= enable_spell GSPELL_VARS= GLIB_SCHEMAS+=org.x.editor.plugins.spell.gschema.xml GVFS_METADATA_MESON_TRUE= enable_gvfs_metadata .include diff --git a/editors/xmlcopyeditor/Makefile b/editors/xmlcopyeditor/Makefile index 101a49be92c0..89afceb22c91 100644 --- a/editors/xmlcopyeditor/Makefile +++ b/editors/xmlcopyeditor/Makefile @@ -1,33 +1,33 @@ PORTNAME= xmlcopyeditor DISTVERSION= 1.3.1.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= editors MASTER_SITES= SF/xml-copy-editor/${PORTNAME}-linux/${DISTVERSION} MAINTAINER= eduardo@FreeBSD.org COMMENT= Fast validating XML editor WWW= http://xml-copy-editor.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libaspell.so:textproc/aspell \ libenchant-2.so:textproc/enchant2 \ libexpat.so:textproc/expat2 \ libharfbuzz.so:print/harfbuzz \ libpcre2-8.so:devel/pcre2 \ libxerces-c.so:textproc/xerces-c3 \ libxslt.so:textproc/libxslt USES= autoreconf compiler:c++11-lang desktop-file-utils dos2unix \ gettext-tools gmake gnome iconv libtool localbase pkgconfig USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 intltool libxml2 pango USE_WX= 3.0 # fails to build with 3.2 WX_COMPS= wx WX_CONF_ARGS= absolute GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes .include diff --git a/emulators/catapult/Makefile b/emulators/catapult/Makefile index 651e97e13a2f..307da6124c7b 100644 --- a/emulators/catapult/Makefile +++ b/emulators/catapult/Makefile @@ -1,78 +1,78 @@ PORTNAME= catapult PORTVERSION= 18.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= https://github.com/openMSX/openMSX/releases/download/RELEASE_${PORTVERSION:S/./_/g}/ DISTNAME= openmsx-${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GUI for openMSX WWW= https://openmsx.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/GPL.txt BUILD_DEPENDS= openmsx:emulators/openmsx RUN_DEPENDS= openmsx:emulators/openmsx USES= gmake pkgconfig python gnome USE_GNOME+= libxml2 USE_WX= 3.0 MAKEFILE= GNUmakefile MAKE_ARGS= INSTALL_BASE="${PREFIX}" \ INSTALL_SHARE_DIR="${DATADIR}" \ INSTALL_DOC_DIR="${DOCSDIR}" \ CATAPULT_FLAVOUR="portbld" \ CATAPULT_OPENMSX_BINARY="${LOCALBASE}/bin/openmsx" \ CATAPULT_OPENMSX_SHARE="${LOCALBASE}/share/openmsx" \ CATAPULT_NO_DESKTOP_HOOKS="true" \ SYMLINK_FOR_BINARY="false" \ PYTHON="${PYTHON_CMD}" MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DEBUG DOCS .include .if ${PORT_OPTIONS:MDEBUG} CFLAGS+= -DDEBUG CATAPULT_STRIP= false .else CFLAGS+= -DNDEBUG CATAPULT_STRIP= true .endif post-extract: ${CP} ${WRKSRC}/build/platform-freebsd.mk \ ${WRKSRC}/build/platform-dragonfly.mk post-patch: @${REINPLACE_CMD} 's|$$(INSTALL_BASE)|${DATADIR}|' \ ${WRKSRC}/build/info2code.mk @${REINPLACE_CMD} '/-Wno-literal/s|^CXXFLAGS|#CXXFLAGS| ; \ /--cxx/s|^CXX|#CXX| ; \ /COMPILE=/s|g++|$$(CXX)| ; \ s|@$$(CXX)|$$(CXX)|' ${WRKSRC}/build/main.mk @${REINPLACE_CMD} 's|wx-config --|${WX_CONFIG:T} --|g' \ ${WRKSRC}/build/probe.mk @${REINPLACE_CMD} '/^Exec/s|%INSTALL_BASE%|${PREFIX}| ; \ /^Icon/s|%INSTALL_BASE%|${DATADIR}| ; \ /^DocPath/s|%INSTALL_BASE%/doc|${DOCSDIR}|' \ ${WRKSRC}/desktop/openMSX-Catapult.desktop @${ECHO_CMD} > ${WRKSRC}/build/flavour-portbld.mk @${ECHO_CMD} 'CXXFLAGS+=${CXXFLAGS}' \ >> ${WRKSRC}/build/flavour-portbld.mk @${ECHO_CMD} 'LINK_FLAGS+=${LDFLAGS}' \ >> ${WRKSRC}/build/flavour-portbld.mk @${ECHO_CMD} 'CATAPULT_STRIP:=${CATAPULT_STRIP}' \ >> ${WRKSRC}/build/flavour-portbld.mk post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/resources/icons ${INSTALL_DATA} ${WRKSRC}/src/catapult.xpm \ ${STAGEDIR}${DATADIR}/resources/icons cd ${WRKSRC}/desktop && ${INSTALL_DATA} openMSX-Catapult.desktop \ ${STAGEDIR}${DESKTOPDIR} .include diff --git a/emulators/fuse/Makefile b/emulators/fuse/Makefile index d1ba9c78eb75..0c368a701c7d 100644 --- a/emulators/fuse/Makefile +++ b/emulators/fuse/Makefile @@ -1,77 +1,77 @@ PORTNAME= fuse PORTVERSION= 1.6.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}-emulator/${PORTNAME}/${PORTVERSION} MAINTAINER= rene@FreeBSD.org COMMENT= Free Unix (Sinclair ZX-)Spectrum Emulator WWW= https://fuse-emulator.sourceforge.net LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgcrypt.so:security/libgcrypt \ libpng.so:graphics/png \ libspectrum.so:emulators/libspectrum USES= compiler:c++11-lang gettext gmake gnome localbase perl5 \ pkgconfig xorg USE_PERL5= build USE_GNOME= libxml2 glib20 USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+=--without-joystick # TODO needs libjsw for GTK OPTIONS_DEFINE= ICONS ROMS DOCS OPTIONS_DEFAULT= ICONS OSS GTK3 OPTIONS_SINGLE= AUDIO UI AUDIO_DESC= Audio output interface UI_DESC= User Interface ROMS_DESC= Extra ROM images (128p, 256s, Gluck, IF1, Opus, TrDOS) OPTIONS_SINGLE_AUDIO= ALSA AO OSS PULSEAUDIO OPTIONS_SINGLE_UI= GTK2 GTK3 SDL SVGALIB OPTIONS_SUB= yes ALSA_CONFIGURE_ON= --with-audio-driver=alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib AO_CONFIGURE_ON= --with-audio-driver=libao AO_LIB_DEPENDS= libao.so:audio/libao OSS_CONFIGURE_ON= --with-audio-driver=oss PULSEAUDIO_CONFIGURE_ON=--with-audio-driver=pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio ICONS_USES= desktop-file-utils shared-mime-info ICONS_CONFIGURE_ENABLE= desktop-integration GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --disable-gtk3 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ENABLE= gtk3 SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_WITH= sdl SDL_CONFIGURE_ON= --without-gtk SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_WITH= svgalib SVGALIB_CONFIGURE_ON= --without-gtk ROMS_RUN_DEPENDS= fuse-roms>0:emulators/fuse-roms PORTDOCS= AUTHORS ChangeLog README THANKS README.copyright .include .if ${PORT_OPTIONS:MICONS} .endif post-extract: ${CP} ${WRKSRC}/roms/README.copyright ${WRKSRC} post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/emulators/nemu/Makefile b/emulators/nemu/Makefile index 38c020a170ad..e8a4917abe13 100644 --- a/emulators/nemu/Makefile +++ b/emulators/nemu/Makefile @@ -1,23 +1,24 @@ PORTNAME= nemu DISTVERSIONPREFIX= v DISTVERSION= 3.3.1 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= arrowd@FreeBSD.org COMMENT= Ncurses UI for QEMU WWW= https://github.com/nemuTUI/nemu LICENSE= BSD2CLAUSE LIB_DEPENDS= libudev.so:devel/libudev-devd \ libjson-c.so:devel/json-c USES= cmake gettext-runtime gettext-tools gnome libarchive pkgconfig \ sqlite USE_GITHUB= yes GH_ACCOUNT= nemuTUI USE_GNOME= libxml2 .include diff --git a/emulators/qemu-powernv/Makefile b/emulators/qemu-powernv/Makefile index 7ad516404576..afa1246d1c90 100644 --- a/emulators/qemu-powernv/Makefile +++ b/emulators/qemu-powernv/Makefile @@ -1,58 +1,58 @@ PORTNAME= qemu-powernv PORTVERSION= 3.0.50 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= emulators MASTER_SITES= http://people.freebsd.org/~kbowling/distfiles/ MAINTAINER= kbowling@FreeBSD.org COMMENT= Fork of QEMU with experimental PowerNV emulation support WWW= https://github.com/ozbenh/qemu/tree/power9 LICENSE= GPLv2 BROKEN_riscv64= fails to build: qemu-powernv-3.0.50_2.log: Unsupported CPU = riscv, try --enable-tcg-interpreter BUILD_DEPENDS= ${LOCALBASE}/lib/libfdt.so:sysutils/dtc USES= bison:build compiler:c11 gmake gnome libtool makeinfo \ pkgconfig python:build tar:bz2 xorg USE_XORG= pixman USE_GNOME= glib20 libxml2 HAS_CONFIGURE= yes CONFIGURE_ARGS+=--target-list=ppc64-softmmu \ --cc=${CC} \ --disable-curl \ --disable-docs \ --disable-gtk \ --disable-gcrypt \ --disable-kvm \ --disable-libssh2 \ --disable-linux-aio \ --disable-linux-user \ --disable-vnc \ --disable-sdl \ --disable-nettle \ --disable-gnutls \ --disable-vte \ --disable-xen \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" \ --extra-ldflags=-L\"${LOCALBASE}/lib\" \ --localstatedir=/var \ --datadir=${DATADIR} \ --python=${PYTHON_CMD} PLIST_FILES= bin/qemu-system-powernv \ ${DATADIR}/qemu/skiboot.lid \ ${DATADIR}/qemu/slof.bin \ ${DATADIR}/qemu/spapr-rtas.bin # remap names to avoid conflicts with mainline port do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ppc64-softmmu/qemu-system-ppc64 ${STAGEDIR}${PREFIX}/bin/qemu-system-powernv ${MKDIR} ${STAGEDIR}${DATADIR}/qemu ${INSTALL_DATA} ${WRKSRC}/pc-bios/skiboot.lid ${STAGEDIR}${DATADIR}/qemu/skiboot.lid ${INSTALL_DATA} ${WRKSRC}/pc-bios/slof.bin ${STAGEDIR}${DATADIR}/qemu/slof.bin ${INSTALL_DATA} ${WRKSRC}/pc-bios/spapr-rtas.bin ${STAGEDIR}${DATADIR}/qemu/spapr-rtas.bin .include diff --git a/emulators/tiemu3/Makefile b/emulators/tiemu3/Makefile index 85764c295d86..bbf1c7d55fcd 100644 --- a/emulators/tiemu3/Makefile +++ b/emulators/tiemu3/Makefile @@ -1,45 +1,45 @@ PORTNAME= tiemu3 PORTVERSION= 3.03 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= emulators MASTER_SITES= SF/gtktiemu/tiemu-linux/TIEmu%20${DISTVERSION} DISTNAME= tiemu-${DISTVERSION} EXTRACT_SUFX= -nogdb.tar.gz MAINTAINER= cyberbotx@cyberbotx.com COMMENT= TI89(ti)/92(+)/V200 hand-helds emulator WWW= http://lpg.ticalc.org/prj_tiemu/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libticables2.so:comms/libticables2 \ libticalcs2.so:comms/libticalcs2 \ libticonv.so:converters/libticonv \ libtifiles2.so:devel/libtifiles2 USES= gmake gnome groff libtool localbase pkgconfig sdl USE_GNOME= cairo gdkpixbuf gtk20 libglade2 USE_SDL= sdl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-gdb --without-kde LDFLAGS+= -Wl,-E OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: .SILENT ${REINPLACE_CMD} -E 's,(install-data-am:).*$$,\1,' ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e 's,defined(__LINUX__),& || defined(__BSD__),' \ ${WRKSRC}/src/gui/calc/pckeys.h ${WRKSRC}/src/misc/paths.h ${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure .include diff --git a/emulators/uconvert/Makefile b/emulators/uconvert/Makefile index b09faab579bf..8fbd72f7e8ce 100644 --- a/emulators/uconvert/Makefile +++ b/emulators/uconvert/Makefile @@ -1,30 +1,30 @@ PORTNAME= uconvert DISTVERSIONPREFIX= v DISTVERSION= 1.01 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators graphics MAINTAINER= otis@FreeBSD.org COMMENT= Bitmap converter into Atari-specific formats WWW= https://github.com/mikrosk/uconvert LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick USES= compiler:c++17-lang gmake USE_GITHUB= yes GH_ACCOUNT= mikrosk GH_PROJECT= uconvert PLIST_FILES= bin/uconvert .include do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/uconvert ${STAGEDIR}${PREFIX}/bin .include diff --git a/emulators/virtualbox-ose-70/Makefile b/emulators/virtualbox-ose-70/Makefile index 19516c211e1f..7b6efa0001d2 100644 --- a/emulators/virtualbox-ose-70/Makefile +++ b/emulators/virtualbox-ose-70/Makefile @@ -1,424 +1,424 @@ PORTNAME= virtualbox-ose DISTVERSION= 7.0.26 -PORTREVISION?= 3 +PORTREVISION?= 4 CATEGORIES= emulators MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \ LOCAL/vvd:docs PKGNAMESUFFIX?= -70 DISTFILES= VirtualBox-${DISTVERSION}${EXTRACT_SUFX}:src \ VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX}:docs EXTRACT_ONLY= VirtualBox-${DISTVERSION}${EXTRACT_SUFX} \ VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= vbox@FreeBSD.org COMMENT= General-purpose full virtualizer for x86 hardware WWW= https://www.virtualbox.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= gtar:archivers/gtar \ kmk:devel/kBuild \ libIDL-config-2:devel/libIDL \ yasm:devel/yasm \ xsltproc:textproc/libxslt LIB_DEPENDS= libpng.so:graphics/png \ libcurl.so:ftp/curl RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-70 USES= compiler:c++14-lang cpe gnome iconv pkgconfig qt:5 ssl tar:bzip2 CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox USE_BINUTILS= yes USE_GNOME= libxml2 USE_QT= buildtools:build linguisttools:build USE_RC_SUBR= vboxheadless vboxwatchdog HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-java --passive-mesa --disable-docs CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose-legacy \ virtualbox-ose-nox11-legacy \ virtualbox-ose \ virtualbox-ose-nox11 \ virtualbox-ose-71 \ virtualbox-ose-nox11-71 PORTSCOUT= limit:^7\.0\. SUB_FILES= pkg-message SUB_LIST= VBOXDIR=${VBOX_DIR} \ VBOX_ETC=${VBOX_ETC} \ VBOXGROUP=${VBOXGROUP} \ VBOXUSER=${VBOXUSER} \ VBOXWSUSER=${VBOXWSUSER} WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION} VBOXUSER?= vboxusers VBOXWSUSER?= vboxusers VBOXGROUP?= vboxusers USERS= ${VBOXUSER} GROUPS= ${VBOXGROUP} VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} VBOX_DIR_REL= lib/virtualbox VBOX_ETC= ${PREFIX}/etc/vbox VBOX_LINKS= VBoxVRDP VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ VBoxManage VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ VBoxSVC VBoxXPCOMIPCD PLIST_SUB= GUEST_VER=${DISTVERSION} \ PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \ VBOXGROUP=${VBOXGROUP} SLAVE_PORT?= no OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OGG PULSEAUDIO \ PYTHON QT5 R0LOGGING UDPTUNNEL VBOXIMG VDE VNC VORBIS VPX \ WEBSERVICE X11 OPTIONS_DEFAULT= AIO DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11 .if ${SLAVE_PORT} == no OPTIONS_DEFAULT+= PYTHON .endif # Since version 6.1.24 pulseaudio is broken at runtime, preventing # virtual machines from starting if configured to use it. OPTIONS_EXCLUDE+= PULSEAUDIO OPTIONS_SUB= yes AIO_DESC= Enable Asyncronous IO support (check pkg-message) DEBUG_DESC= Debug symbols, additional logs and assertions GUESTADDITIONS_DESC= Build with Guest Additions NLS_DESC= Native language support (requires QT5) OGG_DESC= Use libogg from audio/libogg instead of bundled one QT5_DESC= Build with QT5 frontend (requires X11) R0LOGGING_DESC= Enable R0 logging (requires DEBUG) UDPTUNNEL_DESC= Build with UDP tunnel support VBOXIMG_DESC= Build vboximg-mount (requires fuse-libs) VDE_DESC= Build with VDE support VNC_DESC= Build with VNC support VORBIS_DESC= Use libvorbis from audio/libvorbis instead of bundled one VPX_DESC= Use libvpx for video recording WEBSERVICE_DESC= Build Webservice ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_OFF= --disable-dbus DEBUG_CONFIGURE_ON= --build-debug NLS_IMPLIES= QT5 OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CONFIGURE_ON= --enable-libogg PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PYTHON_USES= python PYTHON_USES_OFF= python:build PYTHON_USE= PYTHON=distutils,noegginfo,noflavors PYTHON_CONFIGURE_OFF= --disable-python PYTHON_VARS= pydistutils_pkgname=vboxapi pydistutils_pkgversion=1.0 QT5_IMPLIES= X11 QT5_USES= gl qmake:no_env qt:5 xorg QT5_USE= QT=buildtools:build,core,dbus,gui,linguisttools:build,opengl \ QT=printsupport,widgets,x11extras,xml XORG=xcb GL=gl QT5_CONFIGURE_ON= --enable-qt5 QT5_CONFIGURE_OFF= --disable-qt R0LOGGING_IMPLIES= DEBUG UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel VBOXIMG_LIB_DEPENDS= libfuse.so.2:filesystems/fusefs-libs VDE_RUN_DEPENDS= vde_switch:net/vde2 VDE_CONFIGURE_ON= --enable-vde VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_CONFIGURE_ON= --enable-vnc VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libvorbisenc.so:audio/libvorbis VORBIS_CONFIGURE_ON= --enable-libvorbis VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_OFF= --disable-libvpx WEBSERVICE_BUILD_DEPENDS= soapcpp2:devel/gsoap X11_USES= gl sdl xorg X11_USE= GL=gl SDL=sdl XORG=x11,xcursor,xext,xinerama,xmu,xorgproto,xt X11_CONFIGURE_OFF= --build-headless ENV= .export ENV .include .if ${SLAVE_PORT} == no CONFLICTS_INSTALL+= virtualbox-ose-nox11-70 .else CONFLICTS_INSTALL+= virtualbox-ose-70 .endif .if ${PORT_OPTIONS:MDEBUG} KMK_BUILDTYPE= debug KMK_FLAGS+= BUILD_TYPE=debug .else KMK_BUILDTYPE= release .endif .if ${PORT_OPTIONS:MGUESTADDITIONS} GUESTADDITIONS= VBoxGuestAdditions_${DISTVERSION}.iso DISTFILES+= ${GUESTADDITIONS}:src LICENSE+= Additions LICENSE_COMB= multi LICENSE_NAME_Additions= Guest Additions LICENSE_PERMS_Additions= auto-accept LICENSE_DISTFILES_Additions= ${GUESTADDITIONS} .endif .if ${PORT_OPTIONS:MQT5} PLIST_SUB+= QT="" VBOX_PROGS+= VirtualBox VirtualBoxVM VBOX_UTILS+= VBoxTestOGL VBOX_WITH_QT= 1 .else PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MWEBSERVICE} USE_RC_SUBR+= vboxinit vboxwebsrv VBOX_LINKS+= vboxwebsrv VBOX_UTILS+= vboxwebsrv webtest .endif .if ${PORT_OPTIONS:MX11} #VBOX_PROGS+= VBoxSDL .endif .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} PLIST_SUB+= SDK="" .else PLIST_SUB+= SDK="@comment " .endif .if ${PORT_OPTIONS:MVBOXIMG} EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-vboximg-Config.kmk VBOX_UTILS+= vboximg-mount PLIST_SUB+= VBOXIMG="" .else PLIST_SUB+= VBOXIMG="@comment " .endif KMK_ARCH= freebsd.${ARCH} PLIST_SUB+= ARCH="${KMK_ARCH}" KMK_BUILDDIR= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE} KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} .include .if ${CHOSEN_COMPILER_TYPE} == clang PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild .endif .if ${PYTHON_MAJOR_VER} >= 3 PLIST_SUB+= PYTHON_PYCDIR=/__pycache__/ \ PYTHON_PYCEXT=.cpython-${PYTHON_SUFFIX}.pyc .else PLIST_SUB+= PYTHON_PYCDIR=/ \ PYTHON_PYCEXT=.pyc .endif .if ${SSL_DEFAULT} != base CONFIGURE_ARGS+= --with-openssl-dir="${OPENSSLBASE}" .endif post-patch: @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE_ARCH = ${VBOX_DIR}' > \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK = ${DBKXSLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK_DTD = ${DBKXMLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_SHARED_LIBS = ${VBOX_DIR}' >> \ ${WRKSRC}/LocalConfig.kmk # Please keep this even if using Clang to avoid repeated regressions. # PR 245048 @${ECHO_CMD} "VBOX_WITH_RUNPATH = ${_GCC_RUNTIME:D${_GCC_RUNTIME}\:}${VBOX_DIR}" >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE = ${DATADIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk .if ${SSL_DEFAULT} != base @${ECHO_CMD} 'VBOX_WITH_ALT_HASH_CODE = 1' >> ${WRKSRC}/LocalConfig.kmk .endif @${ECHO_CMD} 'VBOX_WITH_EXTPACK_VBOXDTRACE =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VBOXDRV =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_TESTCASES =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_INCS = ${PREFIX}/include/libpng' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_LIBS = png' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP_GH = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VALIDATIONKIT =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_X11_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_BLD_PYTHON = ${LOCALBASE}/bin/${PYTHON_VERSION}' >> \ ${WRKSRC}/LocalConfig.kmk .if ${PORT_OPTIONS:MR0LOGGING} @${ECHO_CMD} 'VBOX_WITH_R0_LOGGING = 1' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${PORT_OPTIONS:MWEBSERVICE} @${ECHO_CMD} 'VBOX_WITH_WEBSERVICES = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GSOAP_INSTALLED = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP = ${PREFIX}/lib/gsoap' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_BIN = ${PREFIX}/bin' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_IMPORT = ${PREFIX}/share/gsoap/import' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GCC_PEDANTIC_CXX = -Wshadow $$(VBOX_GCC_WARN) -Wno-long-long' >> \ ${WRKSRC}/LocalConfig.kmk .endif .if empty(PORT_OPTIONS:MX11) @${ECHO} 'VBOX_WITH_VMSVGA3D =' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${CHOSEN_COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's| -finline-limit=8000||' \ -e 's| -mpreferred-stack-boundary=2||' ${WRKSRC}/Config.kmk @${REINPLACE_CMD} -e 's| -fpermissive||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Main/webservice/Makefile.kmk @${ECHO_CMD} 'TOOL_VBoxGccFreeBSD_LD = ${CXX}' >> ${WRKSRC}/LocalConfig.kmk @${SED} -e 's|GXX3|VBoxGccFreeBSD|g' \ ${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \ ${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk .endif # Causes a "reinplace" QA warning with default LOCALBASE @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ ${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ ${WRKSRC}/kBuild/units/qt5.kmk ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py @${REINPLACE_CMD} \ -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' \ -e 's|SUPPYTHONLIBS=.*|SUPPYTHONLIBS="${PYTHON_VERSION}${PYTHON_ABIVER}"|' \ ${WRKSRC}/configure .if empty(ICONV_LIB) @${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk @${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's|%%VBOX_DIR%%|${VBOX_DIR}|g' \ -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh @${REINPLACE_CMD} -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ ${WRKSRC}/src/VBox/HostDrivers/adpctl/VBoxNetAdpCtl.cpp @${REINPLACE_CMD} \ -e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py post-patch-AIO-off: @${REINPLACE_CMD} 's|r3/freebsd/fileaio-freebsd.cpp|r3/posix/fileaio-posix.cpp|' \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk do-build: cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ ${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} -mcompileall \ ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom .endif do-install: .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk .endif cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom && \ ${COPYTREE_SHARE} "idl samples" ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/include/virtualbox cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/include && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PREFIX}/include/virtualbox ${MKDIR} ${STAGEDIR}${VBOX_DIR} cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \ "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR} .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR} .endif ${INSTALL_SCRIPT} ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh \ ${STAGEDIR}${VBOX_DIR} .for f in ${VBOX_PROGS} ${VBOX_UTILS} ${INSTALL_PROGRAM} ${KMK_BUILDDIR}/bin/${f} ${STAGEDIR}${VBOX_DIR} .endfor .for f in ${VBOX_PROGS} ${VBOX_LINKS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f} .endfor .for f in ${VBOX_PROGS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f:tl} .endfor .if ${PORT_OPTIONS:MGUESTADDITIONS} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/additions ${INSTALL_DATA} ${DISTDIR}/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/ ${RLN} ${STAGEDIR}${VBOX_DIR}/additions/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/VBoxGuestAdditions.iso .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/VirtualBox-docs-${DISTVERSION}/UserManual.pdf \ ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MNLS} cd ${KMK_BUILDDIR}/obj/VirtualBox/qtnls && \ ${COPYTREE_SHARE} "*.qm" ${STAGEDIR}${DATADIR}/nls .endif .if ${PORT_OPTIONS:MPYTHON} cd ${KMK_BUILDDIR}/bin/sdk/installer && \ ${SETENV} VBOX_INSTALL_PATH="${VBOX_DIR}" \ ${PYTHON_CMD} vboxapisetup.py install --root=${STAGEDIR} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom @${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python ${RLN} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom \ ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python .endif .if ${PORT_OPTIONS:MQT5} ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_48px.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/VBox.png ${INSTALL_DATA} \ ${FILESDIR}/virtualbox.desktop \ ${STAGEDIR}${PREFIX}/share/applications/virtualbox.desktop .endif .if ${PORT_OPTIONS:MVNC} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH} ${INSTALL_DATA} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/ExtPack* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/ ${INSTALL_LIB} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/${KMK_ARCH}/* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH}/ .endif .if ${PORT_OPTIONS:MVBOXIMG} ${LN} -fs ../${VBOX_DIR_REL}/vboximg-mount ${STAGEDIR}${PREFIX}/bin/ .endif .if ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/webservice ${INSTALL_DATA} ${KMK_BUILDDIR}/obj/webservice/vboxweb.wsdl \ ${STAGEDIR}${DATADIR}/sdk/bindings/webservice/ .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/virtualbox/*.so \ ${STAGEDIR}${PREFIX}/lib/virtualbox/components/*.so .include diff --git a/emulators/virtualbox-ose-71/Makefile b/emulators/virtualbox-ose-71/Makefile index 1941d1f63133..7642c320ea48 100644 --- a/emulators/virtualbox-ose-71/Makefile +++ b/emulators/virtualbox-ose-71/Makefile @@ -1,424 +1,424 @@ PORTNAME= virtualbox-ose DISTVERSION= 7.1.10 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= emulators MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \ LOCAL/vvd:docs PKGNAMESUFFIX?= -71 DISTFILES= VirtualBox-${DISTVERSION}${EXTRACT_SUFX}:src \ VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX}:docs EXTRACT_ONLY= VirtualBox-${DISTVERSION}${EXTRACT_SUFX} \ VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= vbox@FreeBSD.org COMMENT= General-purpose full virtualizer for x86 hardware WWW= https://www.virtualbox.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= gtar:archivers/gtar \ kmk:devel/kBuild \ yasm:devel/yasm \ xsltproc:textproc/libxslt LIB_DEPENDS= libpng.so:graphics/png \ libcurl.so:ftp/curl RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-71 USES= compiler:c++17-lang cpe gnome iconv pkgconfig qt:6 ssl tar:bzip2 CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox USE_BINUTILS= yes USE_GNOME= libxml2 USE_QT= tools:build USE_RC_SUBR= vboxheadless vboxwatchdog HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-java --passive-mesa --disable-docs CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose-legacy \ virtualbox-ose-nox11-legacy \ virtualbox-ose \ virtualbox-ose-nox11 \ virtualbox-ose-70 \ virtualbox-ose-nox11-70 PORTSCOUT= limit:^7\.1\. SUB_FILES= pkg-message SUB_LIST= VBOXDIR=${VBOX_DIR} \ VBOX_ETC=${VBOX_ETC} \ VBOXGROUP=${VBOXGROUP} \ VBOXUSER=${VBOXUSER} \ VBOXWSUSER=${VBOXWSUSER} WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION} VBOXUSER?= vboxusers VBOXWSUSER?= vboxusers VBOXGROUP?= vboxusers USERS= ${VBOXUSER} GROUPS= ${VBOXGROUP} VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} VBOX_DIR_REL= lib/virtualbox VBOX_ETC= ${PREFIX}/etc/vbox VBOX_LINKS= VBoxVRDP VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ VBoxManage VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ VBoxSVC PLIST_SUB= GUEST_VER=${DISTVERSION} \ PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \ VBOXGROUP=${VBOXGROUP} SLAVE_PORT?= no OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OGG PULSEAUDIO \ PYTHON QT6 R0LOGGING UDPTUNNEL VBOXIMG VDE VNC VORBIS VPX \ WEBSERVICE X11 OPTIONS_DEFAULT= AIO DBUS QT6 UDPTUNNEL VNC WEBSERVICE X11 .if ${SLAVE_PORT} == no OPTIONS_DEFAULT+= PYTHON .endif # Since version 6.1.24 pulseaudio is broken at runtime, preventing # virtual machines from starting if configured to use it. OPTIONS_EXCLUDE+= PULSEAUDIO OPTIONS_SUB= yes AIO_DESC= Enable Asyncronous IO support (check pkg-message) DEBUG_DESC= Debug symbols, additional logs and assertions GUESTADDITIONS_DESC= Build with Guest Additions NLS_DESC= Native language support (requires QT6) OGG_DESC= Use libogg from audio/libogg instead of bundled one QT6_DESC= Build with QT6 frontend (requires X11) R0LOGGING_DESC= Enable R0 logging (requires DEBUG) UDPTUNNEL_DESC= Build with UDP tunnel support VBOXIMG_DESC= Build vboximg-mount (requires fuse-libs) VDE_DESC= Build with VDE support VNC_DESC= Build with VNC support VORBIS_DESC= Use libvorbis from audio/libvorbis instead of bundled one VPX_DESC= Use libvpx for video recording WEBSERVICE_DESC= Build Webservice ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_OFF= --disable-dbus DEBUG_CONFIGURE_ON= --build-debug NLS_IMPLIES= QT6 OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CONFIGURE_ON= --enable-libogg PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PYTHON_USES= python PYTHON_USES_OFF= python:build PYTHON_USE= PYTHON=distutils,noegginfo,noflavors PYTHON_CONFIGURE_OFF= --disable-python PYTHON_VARS= pydistutils_pkgname=vboxapi pydistutils_pkgversion=1.0 QT6_IMPLIES= X11 QT6_USES= gl qmake:no_env qt:6 xorg QT6_USE= QT=base,scxml,tools,translations \ XORG=xcb GL=gl QT6_CONFIGURE_OFF= --disable-qt R0LOGGING_IMPLIES= DEBUG UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel VBOXIMG_LIB_DEPENDS= libfuse.so.2:filesystems/fusefs-libs VDE_RUN_DEPENDS= vde_switch:net/vde2 VDE_CONFIGURE_ON= --enable-vde VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_CONFIGURE_ON= --enable-vnc VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libvorbisenc.so:audio/libvorbis VORBIS_CONFIGURE_ON= --enable-libvorbis VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_OFF= --disable-libvpx WEBSERVICE_BUILD_DEPENDS= soapcpp2:devel/gsoap X11_USES= sdl xorg X11_USE= SDL=sdl XORG=x11,xcursor,xext,xinerama,xmu,xorgproto,xt X11_CONFIGURE_OFF= --build-headless ENV= .export ENV .include .if ${SLAVE_PORT} == no CONFLICTS_INSTALL+= virtualbox-ose-nox11-71 .else CONFLICTS_INSTALL+= virtualbox-ose-71 .endif .if ${PORT_OPTIONS:MDEBUG} KMK_BUILDTYPE= debug KMK_FLAGS+= BUILD_TYPE=debug .else KMK_BUILDTYPE= release .endif .if ${PORT_OPTIONS:MGUESTADDITIONS} GUESTADDITIONS= VBoxGuestAdditions_${DISTVERSION}.iso DISTFILES+= ${GUESTADDITIONS}:src LICENSE+= Additions LICENSE_COMB= multi LICENSE_NAME_Additions= Guest Additions LICENSE_PERMS_Additions= auto-accept LICENSE_DISTFILES_Additions= ${GUESTADDITIONS} .endif .if ${PORT_OPTIONS:MQT6} PLIST_SUB+= QT="" VBOX_PROGS+= VirtualBox VirtualBoxVM VBOX_WITH_QT= 1 .else PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MWEBSERVICE} USE_RC_SUBR+= vboxinit vboxwebsrv VBOX_LINKS+= vboxwebsrv VBOX_UTILS+= vboxwebsrv webtest .endif .if ${PORT_OPTIONS:MX11} #VBOX_PROGS+= VBoxSDL .endif .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} PLIST_SUB+= SDK="" .else PLIST_SUB+= SDK="@comment " .endif .if ${PORT_OPTIONS:MVBOXIMG} EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-vboximg-Config.kmk VBOX_UTILS+= vboximg-mount PLIST_SUB+= VBOXIMG="" .else PLIST_SUB+= VBOXIMG="@comment " .endif KMK_ARCH= freebsd.${ARCH} PLIST_SUB+= ARCH="${KMK_ARCH}" KMK_BUILDDIR= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE} KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys VBOX_WITHOUT_DOCS=1 VBOX_GCC_std=-std=c++17 KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} .include .if ${CHOSEN_COMPILER_TYPE} == clang PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild .endif .if ${PYTHON_MAJOR_VER} >= 3 PLIST_SUB+= PYTHON_PYCDIR=/__pycache__/ \ PYTHON_PYCEXT=.cpython-${PYTHON_SUFFIX}.pyc .else PLIST_SUB+= PYTHON_PYCDIR=/ \ PYTHON_PYCEXT=.pyc .endif .if ${SSL_DEFAULT} != base CONFIGURE_ARGS+= --with-openssl-dir="${OPENSSLBASE}" .endif post-patch: @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE_ARCH = ${VBOX_DIR}' > \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK = ${DBKXSLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK_DTD = ${DBKXMLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_SHARED_LIBS = ${VBOX_DIR}' >> \ ${WRKSRC}/LocalConfig.kmk # Please keep this even if using Clang to avoid repeated regressions. # PR 245048 @${ECHO_CMD} "VBOX_WITH_RUNPATH = ${_GCC_RUNTIME:D${_GCC_RUNTIME}\:}${VBOX_DIR}" >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE = ${DATADIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk .if ${SSL_DEFAULT} != base @${ECHO_CMD} 'VBOX_WITH_ALT_HASH_CODE = 1' >> ${WRKSRC}/LocalConfig.kmk .endif @${ECHO_CMD} 'VBOX_WITH_EXTPACK_VBOXDTRACE =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VBOXDRV =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_TESTCASES =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_INCS = ${PREFIX}/include/libpng' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_LIBS = png' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP_GH = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VALIDATIONKIT =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_X11_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_BLD_PYTHON = ${LOCALBASE}/bin/${PYTHON_VERSION}' >> \ ${WRKSRC}/LocalConfig.kmk .if ${PORT_OPTIONS:MR0LOGGING} @${ECHO_CMD} 'VBOX_WITH_R0_LOGGING = 1' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${PORT_OPTIONS:MWEBSERVICE} @${ECHO_CMD} 'VBOX_WITH_WEBSERVICES = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GSOAP_INSTALLED = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP = ${PREFIX}/lib/gsoap' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_BIN = ${PREFIX}/bin' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_IMPORT = ${PREFIX}/share/gsoap/import' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GCC_PEDANTIC_CXX = -Wshadow $$(VBOX_GCC_WARN) -Wno-long-long' >> \ ${WRKSRC}/LocalConfig.kmk .endif .if empty(PORT_OPTIONS:MX11) @${ECHO} 'VBOX_WITH_VMSVGA3D =' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${CHOSEN_COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's| -finline-limit=8000||' \ -e 's| -mpreferred-stack-boundary=2||' ${WRKSRC}/Config.kmk @${REINPLACE_CMD} -e 's| -fpermissive||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Main/webservice/Makefile.kmk @${ECHO_CMD} 'TOOL_VBoxGccFreeBSD_LD = ${CXX}' >> ${WRKSRC}/LocalConfig.kmk @${SED} -e 's|GXX3|VBoxGccFreeBSD|g' \ ${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \ ${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500013 @${ECHO_CMD} 'VBoxSVC_LDFLAGS.freebsd = -lsys' >> ${WRKSRC}/LocalConfig.kmk .endif # Causes a "reinplace" QA warning with default LOCALBASE @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ ${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ ${WRKSRC}/kBuild/units/qt5.kmk ${WRKSRC}/kBuild/units/qt6.kmk ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py @${REINPLACE_CMD} \ -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' \ -e 's|SUPPYTHONLIBS=.*|SUPPYTHONLIBS="${PYTHON_VERSION}${PYTHON_ABIVER}"|' \ ${WRKSRC}/configure .if empty(ICONV_LIB) @${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk @${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's|%%VBOX_DIR%%|${VBOX_DIR}|g' \ -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh @${REINPLACE_CMD} -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ ${WRKSRC}/src/VBox/HostDrivers/adpctl/VBoxNetAdpCtl.cpp @${REINPLACE_CMD} \ -e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py post-patch-AIO-off: @${REINPLACE_CMD} 's|r3/freebsd/fileaio-freebsd.cpp|r3/posix/fileaio-posix.cpp|' \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk do-build: cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ ${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} -mcompileall \ ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom .endif do-install: .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk .endif cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom && \ ${COPYTREE_SHARE} "idl samples" ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/include/virtualbox cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/include && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PREFIX}/include/virtualbox ${MKDIR} ${STAGEDIR}${VBOX_DIR} cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \ "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR} .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR} .endif ${INSTALL_SCRIPT} ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh \ ${STAGEDIR}${VBOX_DIR} .for f in ${VBOX_PROGS} ${VBOX_UTILS} ${INSTALL_PROGRAM} ${KMK_BUILDDIR}/bin/${f} ${STAGEDIR}${VBOX_DIR} .endfor .for f in ${VBOX_PROGS} ${VBOX_LINKS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f} .endfor .for f in ${VBOX_PROGS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f:tl} .endfor .if ${PORT_OPTIONS:MGUESTADDITIONS} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/additions ${INSTALL_DATA} ${DISTDIR}/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/ ${RLN} ${STAGEDIR}${VBOX_DIR}/additions/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/VBoxGuestAdditions.iso .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/VirtualBox-docs-${DISTVERSION}/UserManual.pdf \ ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MNLS} cd ${KMK_BUILDDIR}/obj/VirtualBox/qtnls && \ ${COPYTREE_SHARE} "*.qm" ${STAGEDIR}${DATADIR}/nls .endif .if ${PORT_OPTIONS:MPYTHON} cd ${KMK_BUILDDIR}/bin/sdk/installer/python && \ ${SETENV} VBOX_INSTALL_PATH="${VBOX_DIR}" \ ${PYTHON_CMD} vboxapisetup.py install --root=${STAGEDIR} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom @${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python ${RLN} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom \ ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python .endif .if ${PORT_OPTIONS:MQT6} ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_48px.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/VBox.png ${INSTALL_DATA} \ ${FILESDIR}/virtualbox.desktop \ ${STAGEDIR}${PREFIX}/share/applications/virtualbox.desktop .endif .if ${PORT_OPTIONS:MVNC} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH} ${INSTALL_DATA} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/ExtPack* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/ ${INSTALL_LIB} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/${KMK_ARCH}/* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH}/ .endif .if ${PORT_OPTIONS:MVBOXIMG} ${LN} -fs ../${VBOX_DIR_REL}/vboximg-mount ${STAGEDIR}${PREFIX}/bin/ .endif .if ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/webservice ${INSTALL_DATA} ${KMK_BUILDDIR}/obj/webservice/vboxweb.wsdl \ ${STAGEDIR}${DATADIR}/sdk/bindings/webservice/ .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/virtualbox/*.so \ ${STAGEDIR}${PREFIX}/lib/virtualbox/components/*.so .include diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile index 074579b964f6..0c88e2ffe41b 100644 --- a/emulators/virtualbox-ose-legacy/Makefile +++ b/emulators/virtualbox-ose-legacy/Makefile @@ -1,413 +1,413 @@ PORTNAME= virtualbox-ose DISTVERSION= 5.2.44 -PORTREVISION?= 32 +PORTREVISION?= 33 CATEGORIES= emulators MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \ LOCAL/bofh/emulators/virtualbox-ose-legacy:docs PKGNAMESUFFIX?= -legacy DISTFILES= VirtualBox-${DISTVERSION}${EXTRACT_SUFX}:src \ VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX}:docs EXTRACT_ONLY= VirtualBox-${DISTVERSION}${EXTRACT_SUFX} \ VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= vbox@FreeBSD.org COMMENT= General-purpose full virtualizer for x86 hardware WWW= https://www.virtualbox.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild BUILD_DEPENDS= gtar:archivers/gtar \ kmk:devel/kBuild \ libIDL-config-2:devel/libIDL \ yasm:devel/yasm \ xsltproc:textproc/libxslt LIB_DEPENDS= libpng.so:graphics/png \ libcurl.so:ftp/curl RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-legacy USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2 CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox USE_GNOME= libxml2 USE_RC_SUBR= vboxheadless vboxwatchdog HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-java --passive-mesa --disable-docs CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose \ virtualbox-ose-nox11 \ virtualbox-ose-70 \ virtualbox-ose-nox11-70 \ virtualbox-ose-71 \ virtualbox-ose-nox11-71 PORTSCOUT= limit:^5\. SUB_LIST= VBOXDIR=${VBOX_DIR} \ VBOXGROUP=${VBOXGROUP} \ VBOXUSER=${VBOXUSER} \ VBOXWSUSER=${VBOXWSUSER} WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION} VBOXUSER?= vboxusers VBOXWSUSER?= vboxusers VBOXGROUP?= vboxusers USERS= ${VBOXUSER} GROUPS= ${VBOXGROUP} VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} VBOX_DIR_REL= lib/virtualbox VBOX_ETC= ${PREFIX}/etc/vbox VBOX_LINKS= VBoxVRDP VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ VBoxManage VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ VBoxSVC VBoxXPCOMIPCD PLIST_SUB= GUEST_VER=${DISTVERSION} \ PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \ VBOXGROUP=${VBOXGROUP} SLAVE_PORT?= no OPTIONS_DEFINE= ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS PULSEAUDIO \ PYTHON QT5 R0LOGGING UDPTUNNEL VDE VNC VPX WEBSERVICE X11 OPTIONS_DEFAULT= DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11 .if ${SLAVE_PORT} == no OPTIONS_DEFAULT+= PYTHON .endif OPTIONS_SUB= yes DEBUG_DESC= Debug symbols, additional logs and assertions GUESTADDITIONS_DESC= Build with Guest Additions NLS_DESC= Native language support (requires QT5) QT5_DESC= Build with QT5 frontend (requires X11) R0LOGGING_DESC= Enable R0 logging (requires DEBUG) UDPTUNNEL_DESC= Build with UDP tunnel support VDE_DESC= Build with VDE support VNC_DESC= Build with VNC support VPX_DESC= Use libvpx for video recording WEBSERVICE_DESC= Build Webservice ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_OFF= --disable-dbus DEBUG_CONFIGURE_ON= --build-debug NLS_IMPLIES= QT5 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PYTHON_USES= python PYTHON_USES_OFF= python:build PYTHON_USE= PYTHON=distutils,noegginfo,noflavors PYTHON_CONFIGURE_OFF= --disable-python PYTHON_VARS= pydistutils_pkgname=vboxapi pydistutils_pkgversion=1.0 QT5_IMPLIES= X11 QT5_USES= gl qmake:no_env qt:5 xorg QT5_USE= QT=buildtools:build,core,dbus,gui,linguisttools:build,opengl \ QT=printsupport,widgets,x11extras XORG=xcb GL=gl QT5_CONFIGURE_ON= --enable-qt5 QT5_CONFIGURE_OFF= --disable-qt R0LOGGING_IMPLIES= DEBUG UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel VDE_RUN_DEPENDS= vde_switch:net/vde2 VDE_CONFIGURE_ON= --enable-vde VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_CONFIGURE_ON= --enable-vnc VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_OFF= --disable-libvpx WEBSERVICE_BUILD_DEPENDS= soapcpp2:devel/gsoap X11_USES= sdl xorg X11_USE= SDL=sdl XORG=x11,xcursor,xext,xinerama,xmu,xorgproto,xt X11_CONFIGURE_OFF= --build-headless ENV= .export ENV .include .if ${SLAVE_PORT} == no CONFLICTS_INSTALL+= virtualbox-ose-nox11-legacy .else CONFLICTS_INSTALL+= virtualbox-ose-legacy .endif .if ${ARCH} == "amd64" _ELF32!= kldstat -q -m elf32 && ${ECHO_CMD} yes || ${ECHO_CMD} no .endif .if ${PORT_OPTIONS:MDEBUG} KMK_BUILDTYPE= debug KMK_FLAGS+= BUILD_TYPE=debug .else KMK_BUILDTYPE= release .endif .if ${PORT_OPTIONS:MGUESTADDITIONS} GUESTADDITIONS= VBoxGuestAdditions_${DISTVERSION}.iso DISTFILES+= ${GUESTADDITIONS}:src LICENSE+= Additions LICENSE_COMB= multi LICENSE_NAME_Additions= Guest Additions LICENSE_PERMS_Additions= auto-accept LICENSE_DISTFILES_Additions= ${GUESTADDITIONS} .endif .if ${PORT_OPTIONS:MQT5} PLIST_SUB+= QT="" VBOX_PROGS+= VirtualBox VBOX_UTILS+= VBoxTestOGL VBOX_WITH_QT= 1 .else PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MWEBSERVICE} USE_RC_SUBR+= vboxinit vboxwebsrv VBOX_LINKS+= vboxwebsrv VBOX_UTILS+= vboxwebsrv webtest .endif .if ${PORT_OPTIONS:MX11} VBOX_PROGS+= VBoxSDL .endif .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} PLIST_SUB+= SDK="" .else PLIST_SUB+= SDK="@comment " .endif .if ${ARCH} == i386 KMK_ARCH= freebsd.x86 PLIST_SUB+= I386="" .else KMK_ARCH= freebsd.${ARCH} PLIST_SUB+= I386="@comment " .endif PLIST_SUB+= ARCH="${KMK_ARCH}" KMK_BUILDDIR= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE} KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} .include .if ${PYTHON_MAJOR_VER} >= 3 PLIST_SUB+= PYTHON_PYCDIR=/__pycache__/ \ PYTHON_PYCEXT=.cpython-${PYTHON_SUFFIX}.pyc .else PLIST_SUB+= PYTHON_PYCDIR=/ \ PYTHON_PYCEXT=.pyc .endif .if ${SSL_DEFAULT} != base CONFIGURE_ARGS+= --with-openssl-dir="${OPENSSLBASE}" .endif pre-everything:: .if ${ARCH} == "amd64" .if ${_ELF32} != yes @${ECHO_MSG} 'Requires 32-bit runtime support in kernel.' @${ECHO_MSG} 'Rebuild kernel with "options COMPAT_FREEBSD32" and reboot.' @${FALSE} .elif !exists(/usr/lib32/libc.so) @${ECHO_MSG} 'Requires 32-bit libraries installed under /usr/lib32.' @${ECHO_MSG} 'Do: cd /usr/src; make build32 install32; service ldconfig restart' @${FALSE} .endif .endif post-patch: @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE_ARCH = ${VBOX_DIR}' > \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK = ${DBKXSLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK_DTD = ${DBKXMLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_SHARED_LIBS = ${VBOX_DIR}' >> \ ${WRKSRC}/LocalConfig.kmk # Please keep this even if using Clang to avoid repeated regressions. # PR 245048 @${ECHO_CMD} "VBOX_WITH_RUNPATH = ${_GCC_RUNTIME:D${_GCC_RUNTIME}\:}${VBOX_DIR}" >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE = ${DATADIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk .if ${SSL_DEFAULT} != base @${ECHO_CMD} 'VBOX_WITH_ALT_HASH_CODE = 1' >> ${WRKSRC}/LocalConfig.kmk .endif @${ECHO_CMD} 'VBOX_WITH_EXTPACK_VBOXDTRACE =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VBOXDRV =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_TESTCASES =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_INCS = ${PREFIX}/include/libpng' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_LIBS = png' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP_GH = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VALIDATIONKIT =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_X11_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk .if ${PORT_OPTIONS:MR0LOGGING} @${ECHO_CMD} 'VBOX_WITH_R0_LOGGING = 1' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${PORT_OPTIONS:MWEBSERVICE} @${ECHO_CMD} 'VBOX_WITH_WEBSERVICES = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GSOAP_INSTALLED = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP = ${PREFIX}/lib/gsoap' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_BIN = ${PREFIX}/bin' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_IMPORT = ${PREFIX}/share/gsoap/import' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GCC_PEDANTIC_CXX = -Wshadow $$(VBOX_GCC_WARN) -Wno-long-long \ -Wno-dynamic-exception-spec -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION' >> \ ${WRKSRC}/LocalConfig.kmk @${REINPLACE_CMD} -E -e '/soap_socket_errno\(/s/(soap_socket_errno)(\([^)]+\))/\1/' \ ${WRKSRC}/src/VBox/Main/webservice/vboxweb.cpp .else @${ECHO_CMD} 'VBOX_GCC_PEDANTIC_CXX = -Wno-dynamic-exception-spec \ -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION' >> \ ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's| -finline-limit=8000||' \ -e 's| -mpreferred-stack-boundary=2||' \ -e 's|%%PYTHON_VERSION%%|${PYTHON_VERSION}|' \ ${WRKSRC}/Config.kmk @${REINPLACE_CMD} -e 's| -fpermissive||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Main/webservice/Makefile.kmk @${ECHO_CMD} 'TOOL_VBoxGccFreeBSD_LD = ${CXX}' >> ${WRKSRC}/LocalConfig.kmk @${SED} -e 's|GXX3|VBoxGccFreeBSD|g' \ ${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \ ${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ ${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ ${WRKSRC}/kBuild/units/qt5.kmk ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py @${REINPLACE_CMD} \ -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' \ -e 's|SUPPYTHONLIBS=.*|SUPPYTHONLIBS="${PYTHON_VERSION}${PYTHON_ABIVER}"|' \ ${WRKSRC}/configure .if empty(ICONV_LIB) @${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk @${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${ARCH} == i386 @${ECHO_CMD} 'VBOX_FREEBSD = -fPIC' >> ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's|%%VBOX_DIR%%|${VBOX_DIR}|g' \ -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh @${REINPLACE_CMD} \ -e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py do-build: cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ ${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} -mcompileall \ ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom .endif do-install: .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk .endif cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom && \ ${COPYTREE_SHARE} "idl samples" ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/include/virtualbox cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/include && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PREFIX}/include/virtualbox ${MKDIR} ${STAGEDIR}${VBOX_DIR} cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \ "*.fd *.r0 *.rc *.so components" ${STAGEDIR}${VBOX_DIR} .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR} .endif ${INSTALL_SCRIPT} ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh \ ${STAGEDIR}${VBOX_DIR} .for f in ${VBOX_PROGS} ${VBOX_UTILS} ${INSTALL_PROGRAM} ${KMK_BUILDDIR}/bin/${f} ${STAGEDIR}${VBOX_DIR} .endfor .for f in ${VBOX_PROGS} ${VBOX_LINKS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f} .endfor .for f in ${VBOX_PROGS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f:tl} .endfor .if ${PORT_OPTIONS:MGUESTADDITIONS} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/additions ${INSTALL_DATA} ${DISTDIR}/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/ ${RLN} ${STAGEDIR}${VBOX_DIR}/additions/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/VBoxGuestAdditions.iso .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/VirtualBox-docs-${DISTVERSION}/UserManual.pdf \ ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MNLS} cd ${KMK_BUILDDIR}/obj/VirtualBox/qtnls && \ ${COPYTREE_SHARE} "*.qm" ${STAGEDIR}${DATADIR}/nls .endif .if ${PORT_OPTIONS:MPYTHON} cd ${KMK_BUILDDIR}/bin/sdk/installer && \ ${SETENV} VBOX_INSTALL_PATH="${VBOX_DIR}" \ ${PYTHON_CMD} vboxapisetup.py install --root=${STAGEDIR} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom @${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python ${RLN} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom \ ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python .endif .if ${PORT_OPTIONS:MQT5} ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_48px.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/VBox.png ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Installer/freebsd/virtualbox.desktop \ ${STAGEDIR}${PREFIX}/share/applications/virtualbox.desktop .endif .if ${PORT_OPTIONS:MVNC} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH} ${INSTALL_DATA} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/ExtPack* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/ ${INSTALL_LIB} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/${KMK_ARCH}/* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH}/ .endif .if ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/webservice ${INSTALL_DATA} ${KMK_BUILDDIR}/obj/webservice/vboxweb.wsdl \ ${STAGEDIR}${DATADIR}/sdk/bindings/webservice/ .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/virtualbox/*.so \ ${STAGEDIR}${PREFIX}/lib/virtualbox/components/*.so .include diff --git a/emulators/virtualbox-ose-nox11-70/Makefile b/emulators/virtualbox-ose-nox11-70/Makefile index 26ca950b260b..8a6125129844 100644 --- a/emulators/virtualbox-ose-nox11-70/Makefile +++ b/emulators/virtualbox-ose-nox11-70/Makefile @@ -1,11 +1,11 @@ -PORTREVISION= 3 +PORTREVISION= 4 PKGNAMESUFFIX= -nox11-70 MASTERDIR= ${.CURDIR}/../virtualbox-ose-70 OPTIONS_EXCLUDE= ALSA DBUS DEBUG GUESTADDITIONS DOCS NLS OGG PULSEAUDIO \ QT5 VORBIS VPX X11 SLAVE_PORT= yes .include "${MASTERDIR}/Makefile" diff --git a/emulators/virtualbox-ose-nox11-71/Makefile b/emulators/virtualbox-ose-nox11-71/Makefile index 66d0c82c9bc9..8c75dc172337 100644 --- a/emulators/virtualbox-ose-nox11-71/Makefile +++ b/emulators/virtualbox-ose-nox11-71/Makefile @@ -1,11 +1,11 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -nox11-71 MASTERDIR= ${.CURDIR}/../virtualbox-ose-71 OPTIONS_EXCLUDE= ALSA DBUS DEBUG GUESTADDITIONS DOCS NLS OGG PULSEAUDIO \ QT6 VORBIS VPX X11 SLAVE_PORT= yes .include "${MASTERDIR}/Makefile" diff --git a/emulators/virtualbox-ose-nox11-legacy/Makefile b/emulators/virtualbox-ose-nox11-legacy/Makefile index e99d77e7eb63..fcb49d1c8f52 100644 --- a/emulators/virtualbox-ose-nox11-legacy/Makefile +++ b/emulators/virtualbox-ose-nox11-legacy/Makefile @@ -1,11 +1,11 @@ -PORTREVISION= 32 +PORTREVISION= 33 PKGNAMESUFFIX= -nox11-legacy MASTERDIR= ${.CURDIR}/../virtualbox-ose-legacy OPTIONS_EXCLUDE+= ALSA DBUS DEBUG GUESTADDITIONS DOCS NLS PULSEAUDIO \ QT5 VPX X11 SLAVE_PORT= yes .include "${MASTERDIR}/Makefile" diff --git a/emulators/virtualbox-ose-nox11/Makefile b/emulators/virtualbox-ose-nox11/Makefile index a2dbb21fef32..12036182cd1e 100644 --- a/emulators/virtualbox-ose-nox11/Makefile +++ b/emulators/virtualbox-ose-nox11/Makefile @@ -1,11 +1,11 @@ -PORTREVISION= 15 +PORTREVISION= 16 PKGNAMESUFFIX= -nox11 MASTERDIR= ${.CURDIR}/../virtualbox-ose OPTIONS_EXCLUDE= ALSA DBUS DEBUG GUESTADDITIONS DOCS NLS OPUS PULSEAUDIO \ QT5 VPX X11 SLAVE_PORT= yes .include "${MASTERDIR}/Makefile" diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile index 0ffd039cf2fe..0dab90413e05 100644 --- a/emulators/virtualbox-ose/Makefile +++ b/emulators/virtualbox-ose/Makefile @@ -1,435 +1,435 @@ PORTNAME= virtualbox-ose DISTVERSION= 6.1.50 -PORTREVISION?= 15 +PORTREVISION?= 16 CATEGORIES= emulators MASTER_SITES= https://download.virtualbox.org/virtualbox/${DISTVERSION}/:src \ LOCAL/bofh/emulators/virtualbox-ose:docs DISTFILES= VirtualBox-${DISTVERSION}${EXTRACT_SUFX}:src \ VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX}:docs EXTRACT_ONLY= VirtualBox-${DISTVERSION}${EXTRACT_SUFX} \ VirtualBox-docs-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= vbox@FreeBSD.org COMMENT= General-purpose full virtualizer for x86 hardware WWW= https://www.virtualbox.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= gtar:archivers/gtar \ kmk:devel/kBuild \ libIDL-config-2:devel/libIDL \ yasm:devel/yasm \ xsltproc:textproc/libxslt LIB_DEPENDS= libpng.so:graphics/png \ libcurl.so:ftp/curl RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2 CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox USE_GNOME= libxml2 USE_RC_SUBR= vboxheadless vboxwatchdog HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-java --passive-mesa --disable-docs CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose-legacy \ virtualbox-ose-nox11-legacy \ virtualbox-ose-70 \ virtualbox-ose-nox11-70 \ virtualbox-ose-71 \ virtualbox-ose-nox11-71 PORTSCOUT= limit:^6\. SUB_FILES= pkg-message SUB_LIST= VBOXDIR=${VBOX_DIR} \ VBOX_ETC=${VBOX_ETC} \ VBOXGROUP=${VBOXGROUP} \ VBOXUSER=${VBOXUSER} \ VBOXWSUSER=${VBOXWSUSER} WRKSRC= ${WRKDIR}/VirtualBox-${DISTVERSION} VBOXUSER?= vboxusers VBOXWSUSER?= vboxusers VBOXGROUP?= vboxusers USERS= ${VBOXUSER} GROUPS= ${VBOXGROUP} VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} VBOX_DIR_REL= lib/virtualbox VBOX_ETC= ${PREFIX}/etc/vbox VBOX_LINKS= VBoxVRDP VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ VBoxManage VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ VBoxSVC VBoxXPCOMIPCD PLIST_SUB= GUEST_VER=${DISTVERSION} \ PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \ VBOXGROUP=${VBOXGROUP} SLAVE_PORT?= no OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OPUS PULSEAUDIO \ PYTHON QT5 R0LOGGING UDPTUNNEL VBOXIMG VDE VNC VPX WEBSERVICE X11 OPTIONS_DEFAULT= AIO DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11 .if ${SLAVE_PORT} == no OPTIONS_DEFAULT+= PYTHON .endif # Since version 6.1.24 pulseaudio is broken at runtime, preventing # virtual machines from starting if configured to use it. OPTIONS_EXCLUDE+= PULSEAUDIO OPTIONS_SUB= yes AIO_DESC= Enable Asyncronous IO support (check pkg-message) DEBUG_DESC= Debug symbols, additional logs and assertions GUESTADDITIONS_DESC= Build with Guest Additions NLS_DESC= Native language support (requires QT5) OPUS_DESC= Use libvpx for audio recording (requires VPX) QT5_DESC= Build with QT5 frontend (requires X11) R0LOGGING_DESC= Enable R0 logging (requires DEBUG) UDPTUNNEL_DESC= Build with UDP tunnel support VBOXIMG_DESC= Build vboximg-mount (requires fuse-libs) VDE_DESC= Build with VDE support VNC_DESC= Build with VNC support VPX_DESC= Use libvpx for video recording WEBSERVICE_DESC= Build Webservice ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_OFF= --disable-dbus DEBUG_CONFIGURE_ON= --build-debug NLS_IMPLIES= QT5 OPUS_IMPLIES= VPX OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_OFF= --disable-libopus PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PYTHON_USES= python PYTHON_USES_OFF= python:build PYTHON_USE= PYTHON=distutils,noegginfo,noflavors PYTHON_CONFIGURE_OFF= --disable-python PYTHON_VARS= pydistutils_pkgname=vboxapi pydistutils_pkgversion=1.0 QT5_IMPLIES= X11 QT5_USES= gl qmake:no_env qt:5 xorg QT5_USE= QT=buildtools:build,core,dbus,gui,linguisttools:build,opengl \ QT=printsupport,widgets,x11extras XORG=xcb GL=gl QT5_CONFIGURE_ON= --enable-qt5 QT5_CONFIGURE_OFF= --disable-qt R0LOGGING_IMPLIES= DEBUG UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel VBOXIMG_LIB_DEPENDS= libfuse.so.2:filesystems/fusefs-libs VDE_RUN_DEPENDS= vde_switch:net/vde2 VDE_CONFIGURE_ON= --enable-vde VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_CONFIGURE_ON= --enable-vnc VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_OFF= --disable-libvpx WEBSERVICE_BUILD_DEPENDS= soapcpp2:devel/gsoap X11_USES= sdl xorg X11_USE= SDL=sdl XORG=x11,xcursor,xext,xinerama,xmu,xorgproto,xt X11_CONFIGURE_OFF= --build-headless ENV= .export ENV .include .if ${SLAVE_PORT} == no CONFLICTS_INSTALL+= virtualbox-ose-nox11 .else CONFLICTS_INSTALL+= virtualbox-ose .endif .if ${PORT_OPTIONS:MDEBUG} KMK_BUILDTYPE= debug KMK_FLAGS+= BUILD_TYPE=debug .else KMK_BUILDTYPE= release .endif .if ${PORT_OPTIONS:MGUESTADDITIONS} GUESTADDITIONS= VBoxGuestAdditions_${DISTVERSION}.iso DISTFILES+= ${GUESTADDITIONS}:src LICENSE+= Additions LICENSE_COMB= multi LICENSE_NAME_Additions= Guest Additions LICENSE_PERMS_Additions= auto-accept LICENSE_DISTFILES_Additions= ${GUESTADDITIONS} .endif .if ${PORT_OPTIONS:MQT5} PLIST_SUB+= QT="" VBOX_PROGS+= VirtualBox VirtualBoxVM VBOX_UTILS+= VBoxTestOGL VBOX_WITH_QT= 1 .else PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MWEBSERVICE} USE_RC_SUBR+= vboxinit vboxwebsrv VBOX_LINKS+= vboxwebsrv VBOX_UTILS+= vboxwebsrv webtest .endif .if ${PORT_OPTIONS:MX11} VBOX_PROGS+= VBoxSDL .endif .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} PLIST_SUB+= SDK="" .else PLIST_SUB+= SDK="@comment " .endif .if ${PORT_OPTIONS:MVBOXIMG} EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-vboximg-Config.kmk VBOX_UTILS+= vboximg-mount PLIST_SUB+= VBOXIMG="" .else PLIST_SUB+= VBOXIMG="@comment " .endif KMK_ARCH= freebsd.${ARCH} PLIST_SUB+= ARCH="${KMK_ARCH}" KMK_BUILDDIR= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE} KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} .include .if ${CHOSEN_COMPILER_TYPE} == clang # 1) llvm10 in FreeBSD before r364284 miscompiles virtualbox 6.1 causing errors. # 2) llvm15 in FreeBSD miscompiles virtualbox 6.1 causing errors: PR#270189. # Force llvm from ports. .if ${OPSYS} == FreeBSD # USES must be before .include , but CHOSEN_COMPILER_TYPE must be after. # This is a workaround with possibility to define different llvm via VBOX_LLVM_VER in make.conf. #USES+= llvm:min=11,max=14 #CC= clang${LLVM_VERSION} #CXX= clang++${LLVM_VERSION} BUILD_DEPENDS+= clang${VBOX_LLVM_VER}:devel/llvm${VBOX_LLVM_VER} CC= clang${VBOX_LLVM_VER} CXX= clang++${VBOX_LLVM_VER} .if ${LLVM_DEFAULT} < 11 || ${LLVM_DEFAULT} > 14 VBOX_LLVM_VER?= 14 .else VBOX_LLVM_VER?= ${LLVM_DEFAULT} .endif .endif PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild .endif .if ${PYTHON_MAJOR_VER} >= 3 PLIST_SUB+= PYTHON_PYCDIR=/__pycache__/ \ PYTHON_PYCEXT=.cpython-${PYTHON_SUFFIX}.pyc .else PLIST_SUB+= PYTHON_PYCDIR=/ \ PYTHON_PYCEXT=.pyc .endif .if ${SSL_DEFAULT} != base CONFIGURE_ARGS+= --with-openssl-dir="${OPENSSLBASE}" .endif post-patch: @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE_ARCH = ${VBOX_DIR}' > \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK = ${DBKXSLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK_DTD = ${DBKXMLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_SHARED_LIBS = ${VBOX_DIR}' >> \ ${WRKSRC}/LocalConfig.kmk # Please keep this even if using Clang to avoid repeated regressions. # PR 245048 @${ECHO_CMD} "VBOX_WITH_RUNPATH = ${_GCC_RUNTIME:D${_GCC_RUNTIME}\:}${VBOX_DIR}" >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE = ${DATADIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk .if ${SSL_DEFAULT} != base @${ECHO_CMD} 'VBOX_WITH_ALT_HASH_CODE = 1' >> ${WRKSRC}/LocalConfig.kmk .endif @${ECHO_CMD} 'VBOX_WITH_EXTPACK_VBOXDTRACE =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VBOXDRV =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_TESTCASES =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_INCS = ${PREFIX}/include/libpng' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_LIBS = png' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP_GH = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VALIDATIONKIT =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_X11_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_BLD_PYTHON = ${LOCALBASE}/bin/${PYTHON_VERSION}' >> \ ${WRKSRC}/LocalConfig.kmk .if ${PORT_OPTIONS:MR0LOGGING} @${ECHO_CMD} 'VBOX_WITH_R0_LOGGING = 1' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${PORT_OPTIONS:MWEBSERVICE} @${ECHO_CMD} 'VBOX_WITH_WEBSERVICES = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GSOAP_INSTALLED = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP = ${PREFIX}/lib/gsoap' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_BIN = ${PREFIX}/bin' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_IMPORT = ${PREFIX}/share/gsoap/import' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GCC_PEDANTIC_CXX = -Wshadow $$(VBOX_GCC_WARN) -Wno-long-long' >> \ ${WRKSRC}/LocalConfig.kmk .endif .if empty(PORT_OPTIONS:MX11) @${ECHO} 'VBOX_WITH_VMSVGA3D =' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${CHOSEN_COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's| -finline-limit=8000||' \ -e 's| -mpreferred-stack-boundary=2||' ${WRKSRC}/Config.kmk @${REINPLACE_CMD} -e 's| -fpermissive||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Main/webservice/Makefile.kmk @${ECHO_CMD} 'TOOL_VBoxGccFreeBSD_LD = ${CXX}' >> ${WRKSRC}/LocalConfig.kmk @${SED} -e 's|GXX3|VBoxGccFreeBSD|g' \ ${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \ ${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk .endif # Causes a "reinplace" QA warning with default LOCALBASE @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ ${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ ${WRKSRC}/kBuild/units/qt5.kmk ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py @${REINPLACE_CMD} \ -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' \ -e 's|SUPPYTHONLIBS=.*|SUPPYTHONLIBS="${PYTHON_VERSION}${PYTHON_ABIVER}"|' \ ${WRKSRC}/configure .if empty(ICONV_LIB) @${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk @${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's|%%VBOX_DIR%%|${VBOX_DIR}|g' \ -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh @${REINPLACE_CMD} -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ ${WRKSRC}/src/VBox/HostDrivers/adpctl/VBoxNetAdpCtl.cpp @${REINPLACE_CMD} \ -e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py post-patch-AIO-off: @${REINPLACE_CMD} 's|r3/freebsd/fileaio-freebsd.cpp|r3/posix/fileaio-posix.cpp|' \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk do-build: cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ ${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} -mcompileall \ ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom .endif do-install: .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk .endif cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom && \ ${COPYTREE_SHARE} "idl samples" ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/include/virtualbox cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/include && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PREFIX}/include/virtualbox ${MKDIR} ${STAGEDIR}${VBOX_DIR} cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \ "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR} .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR} .endif ${INSTALL_SCRIPT} ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh \ ${STAGEDIR}${VBOX_DIR} .for f in ${VBOX_PROGS} ${VBOX_UTILS} ${INSTALL_PROGRAM} ${KMK_BUILDDIR}/bin/${f} ${STAGEDIR}${VBOX_DIR} .endfor .for f in ${VBOX_PROGS} ${VBOX_LINKS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f} .endfor .for f in ${VBOX_PROGS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f:tl} .endfor .if ${PORT_OPTIONS:MGUESTADDITIONS} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/additions ${INSTALL_DATA} ${DISTDIR}/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/ ${RLN} ${STAGEDIR}${VBOX_DIR}/additions/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/VBoxGuestAdditions.iso .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/VirtualBox-docs-${DISTVERSION}/UserManual.pdf \ ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MNLS} cd ${KMK_BUILDDIR}/obj/VirtualBox/qtnls && \ ${COPYTREE_SHARE} "*.qm" ${STAGEDIR}${DATADIR}/nls .endif .if ${PORT_OPTIONS:MPYTHON} cd ${KMK_BUILDDIR}/bin/sdk/installer && \ ${SETENV} VBOX_INSTALL_PATH="${VBOX_DIR}" \ ${PYTHON_CMD} vboxapisetup.py install --root=${STAGEDIR} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom @${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python ${RLN} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom \ ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python .endif .if ${PORT_OPTIONS:MQT5} ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_48px.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/VBox.png ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Installer/freebsd/virtualbox.desktop \ ${STAGEDIR}${PREFIX}/share/applications/virtualbox.desktop .endif .if ${PORT_OPTIONS:MVNC} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH} ${INSTALL_DATA} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/ExtPack* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/ ${INSTALL_LIB} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/${KMK_ARCH}/* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH}/ .endif .if ${PORT_OPTIONS:MVBOXIMG} ${LN} -fs ../${VBOX_DIR_REL}/vboximg-mount ${STAGEDIR}${PREFIX}/bin/ .endif .if ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/webservice ${INSTALL_DATA} ${KMK_BUILDDIR}/obj/webservice/vboxweb.wsdl \ ${STAGEDIR}${DATADIR}/sdk/bindings/webservice/ .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/virtualbox/*.so \ ${STAGEDIR}${PREFIX}/lib/virtualbox/components/*.so .include diff --git a/filesystems/gvfs/Makefile b/filesystems/gvfs/Makefile index 9935a1ba8856..f43683c48846 100644 --- a/filesystems/gvfs/Makefile +++ b/filesystems/gvfs/Makefile @@ -1,88 +1,89 @@ PORTNAME= gvfs DISTVERSION= 1.56.1 +PORTREVISION= 1 CATEGORIES= filesystems devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME virtual file system WWW= https://www.gnome.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libdbus-1.so:devel/dbus \ libgcr-4.so:security/gcr \ libsoup-3.0.so:devel/libsoup3 \ libgudev-1.0.so:devel/libgudev \ libudisks2.so:sysutils/libudisks \ libsecret-1.so:security/libsecret RUN_DEPENDS= bsdisks>0:sysutils/bsdisks \ lsof:sysutils/lsof PORTSCOUT= limitw:1,even USES= cpe gettext gnome libarchive localbase meson \ pkgconfig python:build tar:xz USE_GNOME= glib20 libxml2 libxslt:build MESON_ARGS= -Dsystemduserunitdir=no \ -Dtmpfilesdir=no \ -Dadmin=false \ -Dlogind=false \ -Dlibusb=false \ -Dman=true USE_LDCONFIG= yes CPE_VENDOR= gnome GLIB_SCHEMAS= org.gnome.system.gvfs.enums.xml OPTIONS_SUB= yes OPTIONS_DEFINE= AVAHI FUSE AFC GOA SMB CDDA GOOGLE GPHOTO MTP NFS BLURAY OPTIONS_DEFAULT=AVAHI SMB CDDA GPHOTO MTP NFS BLURAY AFC_DESC= Apple device support GOA_DESC= GNOME Online Accounts volume monitor support GOOGLE_DESC= Google backend AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_MESON_TRUE= dnssd AVAHI_VARS= GLIB_SCHEMAS+=org.gnome.system.dns_sd.gschema.xml BLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray BLURAY_MESON_TRUE= bluray BLURAY_DESC= Blu-ray metadata support FUSE_USES= fuse:3 FUSE_MESON_TRUE= fuse AFC_LIB_DEPENDS= libimobiledevice-1.0.so:comms/libimobiledevice \ libplist-2.0.so:devel/libplist AFC_MESON_TRUE= afc GOA_LIB_DEPENDS= libgoa-1.0.so:net/gnome-online-accounts \ libmsgraph-0.so:net/msgraph GOA_MESON_TRUE= goa onedrive SMB_USES= samba:lib SMB_MESON_TRUE= smb SMB_VARS= GLIB_SCHEMAS+=org.gnome.system.smb.gschema.xml CDDA_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia \ libcdio.so:sysutils/libcdio CDDA_MESON_TRUE= cdda GOOGLE_IMPLIES= GOA GOOGLE_LIB_DEPENDS= libgdata.so:devel/libgdata GOOGLE_MESON_TRUE= google GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 GPHOTO_MESON_TRUE= gphoto2 MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp MTP_MESON_TRUE= mtp NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_MESON_TRUE= nfs .include diff --git a/filesystems/ltfs/Makefile b/filesystems/ltfs/Makefile index 28baf75674b1..f38304a8667e 100644 --- a/filesystems/ltfs/Makefile +++ b/filesystems/ltfs/Makefile @@ -1,52 +1,52 @@ PORTNAME= ltfs DISTVERSIONPREFIX= v DISTVERSION= 2.4.7 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONSUFFIX= -10514 CATEGORIES= filesystems sysutils MAINTAINER= kbowling@FreeBSD.org COMMENT= Reference implementation of LTFS for stand-alone tape drive WWW= https://github.com/LinearTapeFileSystem/ltfs LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libicudata.so:devel/icu \ libuuid.so:misc/e2fsprogs-libuuid USES= autoreconf compiler:c11 fuse gnome libtool:build pkgconfig \ python shebangfix USE_GITHUB= yes GH_ACCOUNT= LinearTapeFileSystem USE_GNOME= libxml2 USE_LDCONFIG= yes SHEBANG_FILES= src/utils/ltfs_ordered_copy GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+= --enable-icu-6x #INSTALL_TARGET= install-strip OPTIONS_DEFINE= DEBUG SNMP OPTIONS_SUB= yes DEBUG_DESC= Build without optimization and extended debug flags SNMP_DESC= SNMP trap support DEBUG_CONFIGURE_ON= --enable-debug DEBUG_CONFIGURE_OFF= --enable-fast SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_USES= perl5 SNMP_CONFIGURE_ENABLE= snmp post-install: @${RM} ${STAGEDIR}${DATADIR}/ltfs @${RMDIR} ${STAGEDIR}${DATADIR} .include diff --git a/filesystems/s3fs/Makefile b/filesystems/s3fs/Makefile index d18733cd580c..5600c536edfe 100644 --- a/filesystems/s3fs/Makefile +++ b/filesystems/s3fs/Makefile @@ -1,33 +1,34 @@ PORTNAME= s3fs DISTVERSIONPREFIX= v DISTVERSION= 1.95 +PORTREVISION= 1 CATEGORIES= filesystems PKGNAMEPREFIX= fusefs- MAINTAINER= ports@FreeBSD.org COMMENT= FUSE-based file system backed by Amazon S3 WWW= https://github.com/s3fs-fuse/s3fs-fuse LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl USES= autoreconf fuse gnome pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= s3fs-fuse GH_PROJECT= s3fs-fuse USE_GNOME= libxml2 GNU_CONFIGURE= yes CONFIGURE_ENV+= ac_cv_prog_GITCMD=no PLIST_FILES= bin/s3fs share/man/man1/s3fs.1.gz post-patch: @${REINPLACE_CMD} -e 's/libcrypto >= 0.9//' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e '/DEPS_LIBS/s/$$/ -lcrypto/' \ ${WRKSRC}/src/Makefile.am .include diff --git a/finance/aqbanking/Makefile b/finance/aqbanking/Makefile index 8b789437e086..dd58e8f417d5 100644 --- a/finance/aqbanking/Makefile +++ b/finance/aqbanking/Makefile @@ -1,61 +1,62 @@ PORTNAME= aqbanking PORTVERSION= 6.6.0 +PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= https://www.aquamaniac.de/rdm/attachments/download/531/ MAINTAINER= jhale@FreeBSD.org COMMENT= Online banking interface and financial data framework WWW= https://www.aquamaniac.de/rdm/projects/aqbanking LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgwenhywfar.so:devel/gwenhywfar \ libgmp.so:math/gmp USES= gettext gmake libtool localbase:ldflags pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-release="yes" INSTALL_TARGET= install-strip _AQB_SHLIB_VER= 44 PLIST_SUB= AQB_SHLIB_VER="${_AQB_SHLIB_VER}" \ AQB_MAJ_MIN_VER="${PORTVERSION:R}" \ AQB_MIN_PATCH_VER="${PORTVERSION:R:E}.${PORTVERSION:E}" OPTIONS_DEFINE= DOCS DOXYGEN EBICS OPTIONS_DEFAULT= EBICS OPTIONS_SUB= yes DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz DOXYGEN_CONFIGURE_ENABLE= full-doc EBICS_DESC= Enable EBICS backend EBICS_LIB_DEPENDS= libltdl.so:devel/libltdl \ libxmlsec1.so:security/xmlsec1 EBICS_USES= gnome EBICS_USE= GNOME=libxml2,libxslt EBICS_CONFIGURE_OFF= --with-backends="aqgivve aqhbci aqofxconnect aqpaypal aqnone" post-patch: # No such aqbanking6 directory exists nor is ever created for # aqbanking_symlinkdir, so use src/libs instead. This is really # only needed for when the DOXYGEN option is enabled. @${REINPLACE_CMD} -e \ 's|$$(top_builddir)/aqbanking6|$$(top_builddir)/src/libs|g' \ ${WRKSRC}/configure post-build-DOXYGEN-on: @cd ${WRKSRC} && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD} srcdoc post-install-DOXYGEN-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/apidoc cd ${WRKSRC}/apidoc && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/apidoc @${FIND} -P ${STAGEDIR}${DOCSDIR}/apidoc -type f 2>/dev/null | \ ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST} .include diff --git a/finance/gnucash/Makefile b/finance/gnucash/Makefile index 96033a424df2..3e3313916bcf 100644 --- a/finance/gnucash/Makefile +++ b/finance/gnucash/Makefile @@ -1,101 +1,101 @@ PORTNAME= gnucash PORTVERSION= 5.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= finance gnome MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ PATCHFILES= 940085a0.patch:-p1 99f86d31.patch:-p1 e00eade7.patch:-p1 MAINTAINER= madpilot@FreeBSD.org COMMENT= Quicken-like money and finance manager WWW= https://www.gnucash.org/ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual BUILD_DEPENDS= googletest>0:devel/googletest \ swig:devel/swig LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libharfbuzz.so:print/harfbuzz \ libicudata.so:devel/icu \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 RUN_DEPENDS= p5-Finance-Quote>=0:finance/p5-Finance-Quote \ p5-JSON-Parse>=0:devel/p5-JSON-Parse \ p5-libwww>=0:www/p5-libwww \ p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https USES= cmake:insource compiler:c++17-lang cpe desktop-file-utils \ gettext-tools gnome guile:2.2,3.0,alias,conflicts localbase \ perl5 pkgconfig shebangfix tar:bzip2 xorg USE_XORG= x11 USE_GNOME= cairo gdkpixbuf gtk30 intltool libxml2 libxslt USE_LDCONFIG= yes CMAKE_ARGS= -DCOMPILE_GSCHEMAS=OFF \ -DENABLE_BINRELOC=OFF \ -DGNC_SHELL=/bin/sh SHEBANG_FILES= common/gnc-test-env.pl WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} GLIB_SCHEMAS= org.gnucash.GnuCash.deprecated.gschema.xml \ org.gnucash.GnuCash.dialogs.business.gschema.xml \ org.gnucash.GnuCash.dialogs.checkprinting.gschema.xml \ org.gnucash.GnuCash.dialogs.commodities.gschema.xml \ org.gnucash.GnuCash.dialogs.export.csv.gschema.xml \ org.gnucash.GnuCash.dialogs.gschema.xml \ org.gnucash.GnuCash.dialogs.import.csv.gschema.xml \ org.gnucash.GnuCash.dialogs.import.generic.gschema.xml \ org.gnucash.GnuCash.dialogs.import.qif.gschema.xml \ org.gnucash.GnuCash.dialogs.reconcile.gschema.xml \ org.gnucash.GnuCash.dialogs.sxs.gschema.xml \ org.gnucash.GnuCash.dialogs.totd.gschema.xml \ org.gnucash.GnuCash.general.finance-quote.gschema.xml \ org.gnucash.GnuCash.gschema.xml \ org.gnucash.GnuCash.history.gschema.xml \ org.gnucash.GnuCash.warnings.gschema.xml \ org.gnucash.GnuCash.window.pages.account.tree.gschema.xml \ org.gnucash.GnuCash.window.pages.gschema.xml OPTIONS_DEFINE= AQBANKING DATABASE DOCS NLS OFX PYTHON OPTIONS_DEFAULT= AQBANKING OFX PYTHON OPTIONS_SUB= yes AQBANKING_DESC= AqBanking support (HBCI/OpenHBCI) DATABASE_DESC= Enable SQL database backends OFX_DESC= OFX support AQBANKING_CMAKE_BOOL= WITH_AQBANKING AQBANKING_LIB_DEPENDS= libaqbanking.so:finance/aqbanking \ libgwengui-gtk3.so:devel/gwenhywfar-gtk3 \ libgwenhywfar.so:devel/gwenhywfar AQBANKING_VARS= GLIB_SCHEMAS+="org.gnucash.GnuCash.dialogs.flicker.gschema.xml \ org.gnucash.GnuCash.dialogs.import.hbci.gschema.xml" DATABASE_CMAKE_BOOL= WITH_SQL DATABASE_BUILD_DEPENDS= libdbi-drivers>=0:databases/libdbi-drivers DATABASE_LIB_DEPENDS= libdbi.so:databases/libdbi DATABASE_RUN_DEPENDS= libdbi-drivers>=0:databases/libdbi-drivers NLS_CMAKE_BOOL_OFF= DISABLE_NLS NLS_USES= gettext-runtime OFX_CMAKE_BOOL= WITH_OFX OFX_LIB_DEPENDS= libofx.so:finance/libofx OFX_VARS= GLIB_SCHEMAS+=org.gnucash.GnuCash.dialogs.import.ofx.gschema.xml PYTHON_CMAKE_BOOL= WITH_PYTHON PYTHON_USES= python post-install-PYTHON-on: @(cd ${STAGEDIR}${PREFIX} \ && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PORTNAME}) @(cd ${STAGEDIR}${PREFIX} \ && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PORTNAME}) @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gnucash/_gnucash_core_c.so .include diff --git a/finance/grisbi/Makefile b/finance/grisbi/Makefile index bfd0074d1382..bd780d1f942e 100644 --- a/finance/grisbi/Makefile +++ b/finance/grisbi/Makefile @@ -1,39 +1,40 @@ PORTNAME= grisbi PORTVERSION= 3.0.4 +PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION:R}.x/${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Personal accounting application WWW= https://www.grisbi.org/ LICENSE= GPLv2 BUILD_DEPENDS= p5-XML-Parser>0:textproc/p5-XML-Parser LIB_DEPENDS= libofx.so:finance/libofx \ libharfbuzz.so:print/harfbuzz \ libfreetype.so:print/freetype2 \ libgoffice-0.10.so:devel/goffice \ libfontconfig.so:x11-fonts/fontconfig USES= desktop-file-utils gmake gnome iconv localbase \ pkgconfig shared-mime-info ssl tar:bzip2 USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libgsf libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPTIONS_DEFINE= DOCS NLS .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif .include diff --git a/finance/libofx/Makefile b/finance/libofx/Makefile index f8b3af829398..d115e6c7f8a5 100644 --- a/finance/libofx/Makefile +++ b/finance/libofx/Makefile @@ -1,39 +1,39 @@ PORTNAME= libofx PORTVERSION= 0.10.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= finance MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/ \ SF/${PORTNAME}/${PORTNAME} MAINTAINER= jhale@FreeBSD.org COMMENT= OpenSource implementation of the OFX (Open Financial eXchange) WWW= https://libofx.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libxml++-2.6.so:textproc/libxml++26 \ libosp.so:textproc/opensp USES= cpe gettext-runtime gmake gnome iconv libtool localbase pathfix pkgconfig \ compiler:c++11-lang USE_CXXSTD= c++11 USE_GNOME= glib20 glibmm libsigc++20 libxml2 CONFIGURE_ARGS= --disable-doxygen --disable-dot --disable-gengetopt \ --with-opensp-includes=${LOCALBASE}/include/OpenSP \ --with-opensp-libs=${LOCALBASE}/lib GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check PORTDOCS= * CPE_VENDOR= libofx_project OPTIONS_DEFINE= DOCS post-install: ${RM} ${STAGEDIR}${DOCSDIR}/COPYING .include diff --git a/french/verbiste/Makefile b/french/verbiste/Makefile index d62d0294abac..7d04687cda55 100644 --- a/french/verbiste/Makefile +++ b/french/verbiste/Makefile @@ -1,46 +1,47 @@ PORTNAME= verbiste PORTVERSION= 0.1.49 +PORTREVISION= 1 CATEGORIES= french education textproc MASTER_SITES= http://sarrazip.com/dev/ MAINTAINER= dereckson@gmail.com COMMENT= French verb conjugator/deconjugator WWW= http://sarrazip.com/dev/verbiste.html LICENSE= GPLv2 USES= gnome iconv:wchar_t pathfix pkgconfig libtool localbase \ shebangfix USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip SHEBANG_FILES= ${WRKSRC}/examples/*.pl TEST_TARGET= check OPTIONS_DEFINE= GTK2 DOCS EXAMPLES .include .if ${PORT_OPTIONS:MGTK2} USES+= gettext USE_GNOME+= cairo gdkpixbuf gtk20 LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz PLIST_SUB+= HASGTK="" .else CONFIGURE_ARGS+=--without-gtk-app PLIST_SUB+= HASGTK="@comment " .endif post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in README *.java *.c ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/ftp/R-cran-RCurl/Makefile b/ftp/R-cran-RCurl/Makefile index aebe9330fb26..1cdf5bd0a3c1 100644 --- a/ftp/R-cran-RCurl/Makefile +++ b/ftp/R-cran-RCurl/Makefile @@ -1,19 +1,20 @@ PORTNAME= RCurl DISTVERSION= 1.98-1.17 +PORTREVISION= 1 CATEGORIES= ftp DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= General network client interface for R WWW= https://cran.r-project.org/web/packages/RCurl/ LICENSE= BSD3CLAUSE BUILD_DEPENDS= curl-config:ftp/curl LIB_DEPENDS= libcurl.so:ftp/curl RUN_DEPENDS= R-cran-bitops>0:devel/R-cran-bitops USES= cran:auto-plist,compiles gnome USE_GNOME= libxml2 .include diff --git a/games/0ad/Makefile b/games/0ad/Makefile index c99e88f39231..1a7f27c8f9a3 100644 --- a/games/0ad/Makefile +++ b/games/0ad/Makefile @@ -1,91 +1,91 @@ PORTNAME= 0ad DISTVERSION= 0.27.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MASTER_SITES= https://releases.wildfiregames.com/ DISTFILES= ${PORTNAME}-${DISTVERSION}-unix-build.tar.xz \ ${PORTNAME}-${DISTVERSION}-unix-data.tar.xz MAINTAINER= madpilot@FreeBSD.org COMMENT= Real-time strategy (RTS) game of ancient warfare WWW= https://play0ad.com/ BROKEN_aarch64= fails to compile: no member named verifyHeapAccessDisassembly BROKEN_armv6= fails to link: fatal error: conftest: Unknown error: -1 BROKEN_armv7= fails to link: fatal error: conftest: Unknown error: -1 BROKEN_powerpc64= fails to compile: _psutil_bsd.c: error: 'struct xtcpcb' has no member named 'xt_tp' BUILD_DEPENDS= ${RUST_DEFAULT}>=1.35:lang/${RUST_DEFAULT} \ zip:archivers/zip \ cmake:devel/cmake-core LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libicui18n.so:devel/icu \ libpng16.so:graphics/png \ libvorbisfile.so:audio/libvorbis \ libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 \ libgloox.so:net-im/gloox \ libminiupnpc.so:net/miniupnpc \ libenet.so:net/enet \ libsodium.so:security/libsodium \ libfmt.so:devel/libfmt \ libmozjs-115.so:lang/spidermonkey115 USES= compiler:c++11-lib desktop-file-utils dos2unix gmake gnome \ iconv openal:al perl5 pkgconfig python:3.9,build sdl tar:xz \ xorg USE_GNOME= libxml2 USE_GL= gl USE_SDL= sdl2 USE_XORG= x11 xcursor USE_PERL5= build WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} BUILD_WRKSRC= ${WRKSRC}/build/workspaces/gcc MAKE_ARGS= config=release verbose=1 CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 CFLAGS_i386= -msse2 BUNDLE_LIBS= yes DOS2UNIX_REGEX= .*\.([ch]p{0,2}|make) BINARY_ALIAS= python3=${PYTHON_CMD} USE_WX= 3.0+ WX_COMPS= wx:lib MAKE_ENV+= JOBS=${_MAKE_JOBS} PORTDATA= * .include post-extract: @(cd ${WRKSRC}/libraries/source/nvtt && ${TAR} xf nvtt-28209.tar.xz) post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|%%CC%%|${CC}|' \ ${WRKSRC}/build/premake/extern_libs5.lua .if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc @${REINPLACE_CMD} -e '1130,1530s/-rdynamic/-lssp_nonshared &/' \ -e '1112,1502s/"execinfo",/& "ssp_nonshared",/' \ ${WRKSRC}/build/premake/premake5.lua .endif pre-build: (cd ${WRKSRC}/libraries && ${SETENV} ${MAKE_ENV} ./build-source-libs.sh --with-system-mozjs -j ${_MAKE_JOBS}) (cd ${WRKSRC}/build/workspaces && ${SETENV} ${MAKE_ENV} ./update-workspaces.sh --with-system-mozjs --bindir=${PREFIX}/bin --datadir=${DATADIR} --libdir=${PREFIX}/lib/${PORTNAME}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/binaries/system/pyrogenesis ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/build/resources/0ad.sh ${STAGEDIR}${PREFIX}/bin/0ad ${INSTALL_PROGRAM} ${WRKSRC}/binaries/system/ActorEditor ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} (cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} libAtlasUI.so libCollada.so libnvcore.so libnvimage.so libnvmath.so libnvtt.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) ${INSTALL_DATA} ${WRKSRC}/build/resources/0ad.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/build/resources/0ad.png ${STAGEDIR}${PREFIX}/share/pixmaps ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/binaries/data && ${COPYTREE_SHARE} "config l10n tests tools" ${STAGEDIR}${DATADIR}) ${MKDIR} ${STAGEDIR}${DATADIR}/mods/public ${STAGEDIR}${DATADIR}/mods/mod ${TAR} xf ${WRKSRC}/binaries/data/mods/public/public.zip -C ${STAGEDIR}${DATADIR}/mods/public --no-same-permissions ${TAR} xf ${WRKSRC}/binaries/data/mods/mod/mod.zip -C ${STAGEDIR}${DATADIR}/mods/mod --no-same-permissions .include diff --git a/games/gnome-robots/Makefile b/games/gnome-robots/Makefile index fb628edefb0f..3847059f30f2 100644 --- a/games/gnome-robots/Makefile +++ b/games/gnome-robots/Makefile @@ -1,33 +1,34 @@ PORTNAME= gnome-robots DISTVERSION= 41.2 +PORTREVISION= 1 CATEGORIES= games gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME robots WWW= https://gitlab.gnome.org/GNOME/gnome-robots LICENSE= GPLv3+ BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene USES= cargo desktop-file-utils gettext gnome meson pkgconfig tar:bz2 USE_GNOME= glib20 gtk40 libadwaita librsvg2 libxml2 USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= GNOME CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no MAKE_ENV= ${CARGO_ENV} GLIB_SCHEMAS= org.gnome.Robots.gschema.xml post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gnome-robots .include diff --git a/games/gtkatlantic/Makefile b/games/gtkatlantic/Makefile index a38a4d6be771..a0a83d90a80e 100644 --- a/games/gtkatlantic/Makefile +++ b/games/gtkatlantic/Makefile @@ -1,50 +1,50 @@ PORTNAME= gtkatlantic DISTVERSION= 0.6.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= http://download.tuxfamily.org/gtkatlantic/downloads/v${PORTVERSION:R}/ \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX}:icons MAINTAINER= ports@FreeBSD.org COMMENT= Game like Monopoly(tm) WWW= https://gtkatlantic.gradator.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome localbase:ldflags pkgconfig USE_GNOME= cairo gtk30 libxml2 GNU_CONFIGURE= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 PORTDOCS= AUTHORS ChangeLog NEWS README DESKTOP_ENTRIES="GtkAtlantic" "" "${PORTNAME}" \ "${PORTNAME}" "Game;BoardGame;" "" OPTIONS_DEFINE= DOCS # Wrong versioning upstream, Upstream use GTK3 in newer Versions PORTSCOUT= ignore:1 post-patch: @${REINPLACE_CMD} -e '/CFLAGS=/s|-ggdb|$$CFLAGS|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|mkdir |$$(mkdir_p) |g' ${WRKSRC}/Makefile.in post-install: .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor ${LN} -sf ../../share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/gtkevemon/Makefile b/games/gtkevemon/Makefile index c9f016246688..e0ccb3bcccd0 100644 --- a/games/gtkevemon/Makefile +++ b/games/gtkevemon/Makefile @@ -1,30 +1,30 @@ PORTNAME= gtkevemon PORTVERSION= 1.10.2016.02.17 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= Skill monitoring standalone application for EVE Online WWW= http://gtkevemon.battleclinic.com LIB_DEPENDS= libgtkmm-3.0.so:x11-toolkits/gtkmm30 \ libcurl.so:ftp/curl USE_GITHUB= yes GH_TAGNAME= ac2ca34 USES= compiler:c++11-lang gmake gnome pkgconfig:both ssl USE_CXXSTD= c++11 USE_GNOME= gtk30 libxml2 .include post-patch: @${REINPLACE_CMD} -e 's|$$(shell pkg-config --libs openssl)|-L${OPENSSLLIB} -lssl -lcrypto|' ${WRKSRC}/src/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/gtkevemon ${STAGEDIR}${PREFIX}/bin/gtkevemon ${INSTALL_DATA} ${WRKSRC}/icon/gtkevemon.desktop ${STAGEDIR}${PREFIX}/share/applications/gtkevemon.desktop ${INSTALL_DATA} ${WRKSRC}/icon/gtkevemon.svg ${STAGEDIR}${PREFIX}/share/pixmaps/gtkevemon.svg .include diff --git a/games/gtkradiant/Makefile b/games/gtkradiant/Makefile index e4e3066e2483..a5f7d8dcb442 100644 --- a/games/gtkradiant/Makefile +++ b/games/gtkradiant/Makefile @@ -1,91 +1,91 @@ PORTNAME= gtkradiant PORTVERSION= 1.5.0 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= games cad MASTER_SITES= IDSOFTWARE/source/:id \ http://www.bsd-geek.de/FreeBSD/distfiles/:fb DISTNAME= GtkRadiant-GPL DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:id \ ${PORTNAME}_gamepacks${EXTRACT_SUFX}:fb MAINTAINER= danfe@FreeBSD.org COMMENT= Map editor for FPS games, by id Software and Loki Software WWW= http://www.qeradiant.com/ LICENSE= GPLv2 LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libmhash.so:security/mhash \ libpng.so:graphics/png USES= compiler:c++11-lang gnome pkgconfig python:build scons zip USE_GNOME= gdkpixbuf gtk20 libxml2 MAKE_ARGS= ${MAKE_ENV} BUILD=release SSP_UNSAFE= yes DATADIR= ${PREFIX}/lib/${PORTNAME} WRKSRC= ${WRKDIR}/GPL/GtkRadiant SUB_FILES= ${PORTNAME} post-patch: @${GREP} -Rl 'defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)' ${WRKSRC} | \ ${XARGS} ${REINPLACE_CMD} -e \ 's/\(defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)\)/\1 || defined (__FreeBSD__)/' @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/libs/os/dir.h \ ${WRKSRC}/libs/gtkutil/idledraw.h \ ${WRKSRC}/libs/gtkutil/cursor.h \ ${WRKSRC}/libs/convert.h \ ${WRKSRC}/plugins/shaders/shaders.cpp \ ${WRKSRC}/plugins/vfspk3/vfs.cpp \ ${WRKSRC}/radiant/feedback.h \ ${WRKSRC}/radiant/environment.cpp \ ${WRKSRC}/radiant/patch.cpp \ ${WRKSRC}/radiant/watchbsp.cpp \ ${WRKSRC}/tools/quake3/common/inout.c # Fix the build against Clang and possibly other modern compilers @${REINPLACE_CMD} -e 's,register ,,g' \ ${WRKSRC}/libs/container/hashfunc.h \ ${WRKSRC}/libs/jpeg6/jdcolor.cpp \ ${WRKSRC}/libs/jpeg6/jdhuff.* \ ${WRKSRC}/libs/jpeg6/jdsample.cpp \ ${WRKSRC}/libs/jpeg6/jutils.cpp @${REINPLACE_CMD} -e '/#include "generic\/reference\.h"/x ; 318G' \ ${WRKSRC}/libs/scenelib.h @${REINPLACE_CMD} -e '/#include "generic\/referencecounted\.h/ { \ x ; s/^/#include "scenelib.h"/ ; G ; }' \ ${WRKSRC}/plugins/mapq3/parse.h # Fix warnings of "GtkSpinButton: setting an adjustment with non-zero # page size is deprecated" (very annoying) @${GREP} -Rl --null gtk_adjustment_new ${WRKSRC} | ${XARGS} -0 \ ${REINPLACE_CMD} -E 's|(gtk_adjustment_new[^)]*,)[^)]*|\1 0|' # Do not #include header which is deprecated @${REINPLACE_CMD} -e '/#include/s, diff --git a/games/kanatest/Makefile b/games/kanatest/Makefile index 37e27dd4f213..b587b4d771d9 100644 --- a/games/kanatest/Makefile +++ b/games/kanatest/Makefile @@ -1,33 +1,33 @@ PORTNAME= kanatest PORTVERSION= 0.4.10.g20200611 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games japanese MAINTAINER= Clockwork6400@protonmail.com COMMENT= Japanese kana (Hiragana and Katakana) simple flashcard tool WWW= https://kanatest.sourceforge.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING FETCH_DEPENDS= git:devel/git LIB_DEPENDS= libharfbuzz.so:print/harfbuzz USES= gettext gmake gnome pkgconfig tar:xz USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 libxml2 pango GNU_CONFIGURE= yes MAKE_ENV= LIBINTL="-lintl" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes # this will break when upstream is updating, but unfortunately # SF won't let us fetch individual commits. do-fetch: @${MKDIR} ${_DISTDIR} @cd ${_DISTDIR} && [ -f ${DISTNAME}.tar.xz ] || \ git archive --format=tar --prefix=${DISTNAME}/ \ --remote=git://git.code.sf.net/p/kanatest/code master | \ ${XZ_CMD} >${DISTNAME}.tar.xz .include diff --git a/games/libmaitretarot/Makefile b/games/libmaitretarot/Makefile index 4408a903ab1f..d6bdeba6fef0 100644 --- a/games/libmaitretarot/Makefile +++ b/games/libmaitretarot/Makefile @@ -1,18 +1,18 @@ PORTNAME= libmaitretarot PORTVERSION= 0.1.98 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= SAVANNAH/maitretarot MAINTAINER= thierry@FreeBSD.org COMMENT= Core library of MaitreTarot, a Tarot card game WWW= https://www.nongnu.org/maitretarot/ LICENSE= GPLv2 GNU_CONFIGURE= yes USES= gnome libtool pkgconfig tar:bzip2 USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes .include diff --git a/games/libmt_client/Makefile b/games/libmt_client/Makefile index 63a5727911a4..57fa67c894f9 100644 --- a/games/libmt_client/Makefile +++ b/games/libmt_client/Makefile @@ -1,20 +1,20 @@ PORTNAME= libmt_client PORTVERSION= 0.1.98 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= SAVANNAH/maitretarot MAINTAINER= thierry@FreeBSD.org COMMENT= Client-side library of MaitreTarot, a Tarot card game WWW= https://www.nongnu.org/maitretarot/ LICENSE= GPLv2 LIB_DEPENDS= libmaitretarot.so:games/libmaitretarot GNU_CONFIGURE= yes USES= gnome libtool pkgconfig tar:bzip2 USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes .include diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile index efa70cd99dd1..b3917ed7f700 100644 --- a/games/lincity-ng/Makefile +++ b/games/lincity-ng/Makefile @@ -1,48 +1,48 @@ PORTNAME= lincity-ng PORTVERSION= 2.0 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= games MASTER_SITES= BERLIOS MAINTAINER= uzsolt@FreeBSD.org COMMENT= Improved rich city simulation game for X WWW= https://github.com/lincity-ng/lincity-ng/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= jam:devel/jam LIB_DEPENDS= libphysfs.so:devel/physfs USES= gl gnome localbase:ldflags pkgconfig sdl tar:bzip2 xorg USE_CXXSTD= c++14 USE_GL= gl USE_GNOME= libxml2 USE_SDL= sdl mixer image ttf gfx USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libphysfs=${LOCALBASE} \ --x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include LDFLAGS+= -lpthread PLIST_FILES= bin/lincity-ng \ share/applications/lincity-ng.desktop \ share/pixmaps/lincity-ng.png PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's| -O| -I${LOCALBASE}/include&|g' \ ${WRKSRC}/Jamrules do-build: @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} jam -dx -j${MAKE_JOBS_NUMBER}) do-install: @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam -dx -sprefix=${PREFIX} -sDESTDIR=${STAGEDIR} ${INSTALL_TARGET}) .include diff --git a/games/lordsawar/Makefile b/games/lordsawar/Makefile index b141d5870c59..94cec86c9ee8 100644 --- a/games/lordsawar/Makefile +++ b/games/lordsawar/Makefile @@ -1,32 +1,32 @@ PORTNAME= lordsawar PORTVERSION= 0.3.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SAVANNAH MAINTAINER= amdmi3@FreeBSD.org COMMENT= Warlords II clone WWW= https://www.nongnu.org/lordsawar/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lib gettext gmake gnome libarchive pkgconfig \ shebangfix USE_GNOME= gtkmm30 intltool libxml++26 libxslt GNU_CONFIGURE= yes SHEBANG_FILES= create-lw-file bash_CMD= /bin/sh OPTIONS_DEFINE= SOUND OPTIONS_DEFAULT=SOUND SOUND_USES= gstreamer SOUND_USE= GSTREAMER=mm,good,ogg,vorbis SOUND_CONFIGURE_ENABLE= sound post-patch: @${REINPLACE_CMD} -e 's|class SetList::|typename SetList::|' \ ${WRKSRC}/src/setlist.h .include diff --git a/games/maitretarot/Makefile b/games/maitretarot/Makefile index bc4655e19a26..b787b6d0d9f5 100644 --- a/games/maitretarot/Makefile +++ b/games/maitretarot/Makefile @@ -1,23 +1,23 @@ PORTNAME= maitretarot PORTVERSION= 0.1.98 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= SAVANNAH MAINTAINER= thierry@FreeBSD.org COMMENT= Server side of MaitreTarot, a Tarot card game WWW= https://www.nongnu.org/maitretarot/ LICENSE= GPLv2 LIB_DEPENDS= libmaitretarot.so:games/libmaitretarot USES= gnome pkgconfig tar:bzip2 GNU_CONFIGURE= yes USE_GNOME= glib20 libxml2 CONFIGURE_ARGS= --with-default-config-file=${PREFIX}/etc/maitretarotrc.xml PLIST_FILES= bin/maitretarot_server .include diff --git a/games/mt_dolphin_ia/Makefile b/games/mt_dolphin_ia/Makefile index 66a12968cd61..eaa3737e2552 100644 --- a/games/mt_dolphin_ia/Makefile +++ b/games/mt_dolphin_ia/Makefile @@ -1,24 +1,24 @@ PORTNAME= mt_dolphin_ia PORTVERSION= 0.1.98 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= SAVANNAH/maitretarot MAINTAINER= thierry@FreeBSD.org COMMENT= Basic AI for MaitreTarot, a Tarot card game WWW= https://www.nongnu.org/maitretarot/ LICENSE= GPLv2 LIB_DEPENDS= libmt_client.so:games/libmt_client USES= gnome pkgconfig tar:bzip2 GNU_CONFIGURE= yes USE_GNOME= glib20 libxml2 CONFIGURE_ARGS= --with-libmt_client=${LOCALBASE} \ --with-libmaitretarot=${LOCALBASE} PLIST_FILES= bin/mt_dolphin_ia .include diff --git a/games/mt_gtk_client/Makefile b/games/mt_gtk_client/Makefile index 40c13985b6ad..378e840a44d4 100644 --- a/games/mt_gtk_client/Makefile +++ b/games/mt_gtk_client/Makefile @@ -1,28 +1,28 @@ PORTNAME= mt_gtk_client PORTVERSION= 0.1.98 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= games MASTER_SITES= SAVANNAH/maitretarot MAINTAINER= thierry@FreeBSD.org COMMENT= GTK client for MaitreTarot, a Tarot card game WWW= https://www.nongnu.org/maitretarot/ LICENSE= GPLv2 LIB_DEPENDS= libmt_client.so:games/libmt_client RUN_DEPENDS= ${LOCALBASE}/share/cardpics/images/78.png:games/cardpics GNU_CONFIGURE= yes CFLAGS+= -fcommon USES= gettext gnome pkgconfig tar:bzip2 USE_GNOME= glib20 gtk20 libxml2 .if !defined(WITHOUT_SERVER) RUN_DEPENDS+= ${LOCALBASE}/bin/maitretarot_server:games/maitretarot .endif .if !defined(WITHOUT_IA) RUN_DEPENDS+= ${LOCALBASE}/bin/mt_dolphin_ia:games/mt_dolphin_ia .endif .include diff --git a/games/naev/Makefile b/games/naev/Makefile index e0c0f245ed4b..e41505574f3b 100644 --- a/games/naev/Makefile +++ b/games/naev/Makefile @@ -1,55 +1,56 @@ PORTNAME= naev PORTVERSION= 0.12.4 +PORTREVISION= 1 DISTVERSIONSUFFIX= -source CATEGORIES= games MASTER_SITES= https://github.com/naev/naev/releases/download/v${PORTVERSION}/ MAINTAINER= acm@FreeBSD.org COMMENT= 2D action/RPG space game WWW= https://naev.org/ LICENSE= GPLv2 GPLv3 CC-BY-3.0 CC-BY-SA-3.0 PD LICENSE_COMB= multi BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libbacktrace.so:devel/libbacktrace \ libblas.so:math/blas \ libcholmod.so:math/suitesparse-cholmod \ libcmark.so:textproc/cmark \ libcolamd.so:math/suitesparse-colamd \ libcxsparse.so:math/suitesparse-cxsparse \ libenet.so:net/enet \ libfreetype.so:print/freetype2 \ libglpk.so:math/glpk \ libmetis.so:math/metis \ libnfd.so:devel/nativefiledialog-extended \ libopenblas.so:math/openblas \ libpcre2-8.so:devel/pcre2 \ libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libunibreak.so:textproc/libunibreak \ libvorbisfile.so:audio/libvorbis \ libwebp.so:graphics/webp \ libyaml.so:textproc/libyaml \ libzip.so:archivers/libzip RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} USES= cmake:indirect desktop-file-utils gettext gl gnome localbase:ldflags \ luajit meson openal pkgconfig python sdl \ shebangfix tar:xz USE_GL= gl glu USE_GNOME= intltool libxml2 USE_SDL= sdl2 image2 SHEBANG_GLOB= *.py *.sh MESON_ARGS= -Ddocs_c=disabled -Ddocs_lua=disabled BINARY_ALIAS= python3=${PYTHON_CMD} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/games/netradiant/Makefile b/games/netradiant/Makefile index 86171cb85328..ba6df7b0af54 100644 --- a/games/netradiant/Makefile +++ b/games/netradiant/Makefile @@ -1,75 +1,75 @@ PORTNAME= netradiant PORTVERSION= 20150621 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games cad MASTER_SITES= http://ingar.intranifty.net/gtkradiant/files/ LOCAL/danfe \ http://ingar.intranifty.net/gtkradiant/files/gamepacks/:gp DISTNAME= ${PORTNAME}-${PORTVERSION}-src DISTFILES= ${DISTNAME}${EXTRACT_SUFX} q3map2.6 EXTRACT_ONLY= ${_DISTFILES:Nq3map2.6} MAINTAINER= danfe@FreeBSD.org COMMENT= Fork of GtkRadiant v1.5 FPS games map editor WWW= http://ingar.intranifty.net/gtkradiant/ LICENSE= GPLv2 BROKEN_armv6= fails to build: h2data.armv6: No such file or directory BROKEN_armv7= fails to build: h2data.armv7: No such file or directory LIB_DEPENDS= libpng.so:graphics/png \ libwebp.so:graphics/webp \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext USES= compiler:c++11-lang gl gmake gnome jpeg localbase:ldflags \ pkgconfig tar:xz xorg USE_GL= gl glu USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 libxml2 pango pangox-compat USE_XORG= ice sm x11 xmu xt MAKE_ENV= BUILD=release DOWNLOAD_GAMEPACKS=no EXE=${ARCH} \ RADIANT_ABOUTMSG="For ${OPSYS} ${OSREL} (${ARCH})" SUB_FILES= ${PORTNAME} SUB_LIST= ARCH=${ARCH} PLIST_SUB:= ${SUB_LIST} OPTIONS_DEFINE= GAMEPACK OPTIONS_DEFAULT= GAMEPACK GAMEPACK_DESC= Install gamepacks for some popular games OPTIONS_SUB= yes GAMES= DarkPlaces Doom3 ET Neverball Nexuiz OpenArena Osirion Quake1 \ Quake2 Quake2World Quake3 Quake4 Quake Quetoo Tremulous UFOAI \ Unvanquished Warsow Xonotic GAMEPACK_DISTFILES= ${GAMES:S/$/Pack.zip:gp/} post-patch: @${REINPLACE_CMD} -e 's,register ,,' \ ${WRKSRC}/libs/container/hashfunc.h @${REINPLACE_CMD} -e '/#include/s,sys/dir,dirent,' \ ${WRKSRC}/tools/quake2/qdata/qdata.c @${REINPLACE_CMD} -e 's,#ifndef WIN32,#ifdef NeXT,' \ ${WRKSRC}/tools/quake3/q3data/q3data.c @${GREP} -Rl --null __linux__ ${WRKSRC}/tools | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__,' pre-install: # Remove a copy of GNU GPL from what we are going to install @${RM} ${WRKSRC}/install/GPL.txt do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${RMDIR} ${WRKSRC}/install/games ${CP} -a ${WRKSRC}/install/* ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${DISTDIR}/q3map2.6 ${STAGEDIR}${PREFIX}/share/man/man6 do-install-GAMEPACK-on: .for g in ${GAMES} ${CP} -a ${WRKDIR}/${g}Pack/games ${WRKDIR}/${g}Pack/*.game \ ${STAGEDIR}${DATADIR} .endfor .include diff --git a/games/tuxtype/Makefile b/games/tuxtype/Makefile index 448fc1df1b8f..64ae054b534b 100644 --- a/games/tuxtype/Makefile +++ b/games/tuxtype/Makefile @@ -1,51 +1,51 @@ PORTNAME= tuxtype PORTVERSION= 1.8.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games education MASTER_SITES= DEBIAN_POOL DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Educational typing tutor starring Tux the Linux Penguin WWW= http://tux4kids.alioth.debian.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gsed:textproc/gsed WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= autoreconf gettext gmake gnome iconv localbase perl5 pkgconfig \ sdl USE_GNOME= libxml2 USE_SDL= image mixer net pango sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var/games CONFIGURE_ENV= ac_cv_lib_m_csin=yes CPPFLAGS+= -I${ICONV_INCLUDE_PATH} LDFLAGS+= ${ICONV_LIB_PATH} DESKTOP_ENTRIES="TuxType" "" "${DATADIR}/images/icons/icon.png" \ "tuxtype" "" "" OPTIONS_DEFINE= DOCS SVG OPTIONS_DEFAULT= SVG OPTIONS_SUB= yes SVG_USE= gnome=librsvg2 SVG_CONFIGURE_WITH= rsvg post-patch: @${FIND} ${WRKSRC}/data -name "sed-linux.sh" | ${XARGS} \ ${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|; s|^sed |gsed |' @${REINPLACE_CMD} -e 's|\.\.\/ABOUT-NLS ||; s|COPYING ||; s|INSTALL ||' \ ${WRKSRC}/doc/Makefile.am @${REINPLACE_CMD} -e 's|-Wall -g |-Wall |; s|-DDEBUG ||' \ ${WRKSRC}/src/Makefile.am post-configure: @${REINPLACE_CMD} -e 's|-R${LOCALBASE}/lib||' ${WRKSRC}/src/Makefile .include diff --git a/games/warmux/Makefile b/games/warmux/Makefile index 032d22a08452..cdbc3422e5db 100644 --- a/games/warmux/Makefile +++ b/games/warmux/Makefile @@ -1,53 +1,53 @@ PORTNAME= warmux DISTVERSION= 11.04.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= http://ftp.nluug.nl/ibiblio/distributions/slitaz/sources/packages-cooking/w/ \ http://mirror.clarkson.edu/slitaz/sources/packages/w/ \ http://ftp.ec-m.fr/pub/OpenBSD/distfiles/ \ https://ftp.uni-erlangen.de/gentoo/distfiles/ MAINTAINER= makc@FreeBSD.org COMMENT= Turn-based artillery game with free software mascots WWW= https://web.archive.org/web/20170513192248/http://gna.org/projects/warmux/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxml++-2.6.so:textproc/libxml++26 \ libcurl.so:ftp/curl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV= cxx_present=yes USES= compiler dos2unix gmake pkgconfig sdl tar:bzip2 USE_SDL= sdl image mixer ttf gfx net DOS2UNIX_GLOB= fixed_class.h # build ignores CXXFLAGS CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_clang= -Wno-c++11-narrowing WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:R} OPTIONS_DEFINE= FRIBIDI SERVER NLS DEBUG OPTIONS_SUB= yes DEBUG_CONFIGURE_ENABLE= debug logging FRIBIDI_DESC= Enable bi-directional unicode support FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= fribidi NLS_USES= gettext localbase:ldflags NLS_CONFIGURE_ENABLE= nls SERVER_DESC= Enable dedicated server SERVER_CONFIGURE_ENABLE= servers post-patch: ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/Makefile.in \ ${WRKSRC}/src/Makefile.in ${WRKSRC}/configure ${REINPLACE_CMD} -e "s,warmux_files.desktop,," ${WRKSRC}/data/Makefile.in ${FIND} -d ${WRKSRC}/data/ -name "*.*~" -delete .include diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile index acd6e9bba988..cfb12ebb8e17 100644 --- a/games/xmoto/Makefile +++ b/games/xmoto/Makefile @@ -1,57 +1,57 @@ PORTNAME= xmoto DISTVERSIONPREFIX= v DISTVERSION= 0.6.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Challenging 2D motocross platform game WWW= https://xmoto.tuxfamily.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libcurl.so:ftp/curl \ libxdg-basedir.so:x11/libxdg-basedir USES= compiler:c++11-lang cmake gl gnome jpeg lua:52 pkgconfig sdl sqlite USE_GITHUB= yes USE_GNOME= libxml2 USE_SDL= sdl2 mixer2 ttf2 net2 USE_GL= gl glu PORTDOCS= README.md ChangeLog PORTDATA= * ASIAN_FONT_PATH=${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf OPTIONS_DEFINE= ASIAN_TTF DOCS NLS OPTIONS_SUB= yes ASIAN_TTF_DESC= Use asian TTF font ASIAN_TTF_RUN_DEPENDS= ${ASIAN_FONT_PATH}:chinese/arphicttf NLS_USES= gettext NLS_CMAKE_BOOL= USE_GETTEXT # ensure bundled depends are not used post-extract: .for d in bzip2 lua xdgbasedir @${RM} -r ${WRKSRC}/vendor/${d} .endfor post-patch: @${REINPLACE_CMD} \ -e "s|find_package(Lua|& ${LUA_VER} REQUIRED EXACT|" \ -e "s|/usr/share/fonts/truetype/arphic/bkai00mp.ttf|${ASIAN_FONT_PATH}|" \ -e "s|DEFAULT_ASIAN_TTF_FILE|ASIAN_TTF_FILE|" \ ${WRKSRC}/src/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile index ee2407d46bf5..54385849a1dc 100644 --- a/graphics/GraphicsMagick/Makefile +++ b/graphics/GraphicsMagick/Makefile @@ -1,103 +1,103 @@ PORTNAME= GraphicsMagick PORTVERSION= 1.3.43 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast image processing tools based on ImageMagick WWW= https://graphicsmagick.sourceforge.io/ \ http://www.graphicsmagick.org/ LICENSE= MIT USES= cpe libtool localbase:ldflags pathfix pkgconfig tar:xz CONFIGURE_ARGS= --enable-shared --enable-static \ --with-windows-font-dir=${WINDOWS_FONT_DIR} \ --without-dps --without-gdi32 --without-perl --without-trio CONFIGURE_ENV= PTHREAD_LIBS=-lpthread GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check USE_LDCONFIG= yes FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} nox11_PKGNAMESUFFIX= -nox11 .if ${FLAVOR} == x11 CONFIGURE_ARGS+=--with-x USE_XORG= ice sm x11 xext USES+= xorg .else CONFIGURE_ARGS+=--without-x ac_cv_lib_ICE_IceConnectionNumber=no .endif PORTSCOUT= limit:^[0-9]\.[0-9]\.[1-9][0-9\]$$ # Use fonts installed by x11-fonts/webfonts by default WINDOWS_FONT_DIR?= ${LOCALBASE}/share/fonts/webfonts OPTIONS_DEFINE= BZIP2 DOCS FPX FREETYPE HEIF JASPER JBIG JPEG JXL LCMS2 LZMA OPENMP Q8BIT PNG TEST TIFF WEBP WMF XML ZLIB ZSTD OPTIONS_DEFAULT=BZIP2 FREETYPE JASPER JBIG JPEG JXL LCMS2 LZMA OPENMP PNG TIFF WEBP WMF XML ZLIB Q8BIT_DESC= Use 8-bit pixels (speed) instead of 16-bit (quality) TEST_DESC= Run bundled self-tests after build BZIP2_CONFIGURE_WITH= bzlib FPX_CONFIGURE_WITH= fpx FPX_LDFLAGS= -lfpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx FREETYPE_CONFIGURE_WITH=ttf FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 HEIF_CONFIGURE_WITH= heif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif 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 JXL_CONFIGURE_WITH= jxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl 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 WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf@${FLAVOR} 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} != i386 && ${ARCH} != powerpc64 && ${ARCH} != powerpc64le && ${ARCH} != riscv64 USES+= compiler:gcc-c++11-lib .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/ImageMagick6/Makefile b/graphics/ImageMagick6/Makefile index 2009fad848b8..df0e194cfc1d 100644 --- a/graphics/ImageMagick6/Makefile +++ b/graphics/ImageMagick6/Makefile @@ -1,347 +1,347 @@ PORTNAME= ImageMagick DISTVERSION= 6.9.13-23 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 6 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools (legacy version) WWW= https://legacy.imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= 6-nox11 PORTSCOUT?= limit:^6\.9\. # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 \ ImageMagick7 ImageMagick7-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= compiler:c++11-lang cpe gettext-runtime gmake gnome \ libtool:keepla localbase pathfix perl5 pkgconfig:both \ shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --without-flif \ --without-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= coder.xml colors.xml delegates.xml log.xml magic.xml mime.xml \ policy.xml quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-urw-base35-type1.xml type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB HEIF JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PDF PERL PNG TESTS TIFF WEBP WMF THREADS \ 16BIT_PIXEL HDRI RAW OPTIONS_DEFAULT= 16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES PDF PERL PNG \ TIFF WEBP WMF THREADS RAW .if ${FLAVOR:U} == x11 # the SVG and PANGO plugins need X11 OPTIONS_DEFINE+= PANGO RAQM SVG OPTIONS_DEFAULT+= RAQM SVG CONFIGURE_ARGS+= --with-x USES+= xorg USE_XORG= ice sm x11 xext xt .else CONFIGURE_ARGS+= --without-x .endif DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support TESTS_DESC= Run bundled self-tests after build #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFMPEG_DESC= Video CODEC support from FFmpeg FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg SVG_USE= gnome=cairo,gdkpixbuf,librsvg2 TESTS_TEST_DEPENDS= gsfonts>=0:print/gsfonts TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf@${FLAVOR} .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/Magick++/lib/ImageMagick++.pc.in \ ${WRKSRC}/magick/ImageMagick.pc.in \ ${WRKSRC}/magick/MagickCore-config.in \ ${WRKSRC}/magick/MagickCore.pc.in \ ${WRKSRC}/wand/Wand.pc.in \ ${WRKSRC}/wand/MagickWand-config.in \ ${WRKSRC}/wand/MagickWand.pc.in @${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR/d' \ ${WRKSRC}/magick/MagickCore-config.in \ ${WRKSRC}/wand/MagickWand-config.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i}.sample .endfor do-test: -cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} limits -m 20m ${MAKE} ${_MAKE_JOBS} check .include diff --git a/graphics/ImageMagick7/Makefile b/graphics/ImageMagick7/Makefile index 57852920ad2c..613932d6c4d2 100644 --- a/graphics/ImageMagick7/Makefile +++ b/graphics/ImageMagick7/Makefile @@ -1,341 +1,342 @@ PORTNAME= ImageMagick DISTVERSION= 7.1.1-45 +PORTREVISION= 1 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 7 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools WWW= https://imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl \ libzstd.so:archivers/zstd \ libzip.so:archivers/libzip TEST_DEPENDS= gsfonts>=0:print/gsfonts FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= 7-nox11 # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 \ ImageMagick7 ImageMagick7-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= cpe gettext-runtime gmake gnome libtool:keepla localbase \ pathfix perl5 pkgconfig:both shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --with-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= colors.xml delegates.xml log.xml mime.xml policy.xml \ quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-urw-base35-type1.xml type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} TEST_TARGET= check OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FLIF FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PDF PERL PNG TIFF WEBP WMF THREADS \ 16BIT_PIXEL HDRI HEIF RAW OPTIONS_DEFAULT=16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES OPENEXR PDF PERL PNG \ TIFF WEBP WMF THREADS HDRI RAW .if ${FLAVOR:U} == x11 # the SVG and PANGO plugins need X11 OPTIONS_DEFINE+= PANGO RAQM SVG OPTIONS_DEFAULT+= RAQM SVG CONFIGURE_ARGS+= --with-x USES+= xorg USE_XORG= ice sm x11 xext xt .else OPTIONS_EXCLUDE= PANGO RAQM SVG CONFIGURE_ARGS+= --without-x .endif DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support FFMPEG_DESC= VIDEO codec support as FFmpeg FLIF_DESC= Free Lossless Image Format support #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FLIF_CONFIGURE_WITH= flif FLIF_LIB_DEPENDS= libflif.so:graphics/flif # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JXL_CONFIGURE_WITH= jxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg SVG_USE= gnome=cairo,gdkpixbuf,librsvg2 TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf@${FLAVOR} .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/MagickCore/MagickCore-config.in \ ${WRKSRC}/MagickCore/MagickCore.pc.in \ ${WRKSRC}/MagickCore/ImageMagick.pc.in \ ${WRKSRC}/MagickWand/MagickWand-config.in \ ${WRKSRC}/MagickWand/MagickWand.pc.in @${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR/d' ${WRKSRC}/MagickWand/MagickWand-config.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i}.sample .endfor .include diff --git a/graphics/aeskulap/Makefile b/graphics/aeskulap/Makefile index 2189bcd21d28..7b6f14a20309 100644 --- a/graphics/aeskulap/Makefile +++ b/graphics/aeskulap/Makefile @@ -1,33 +1,33 @@ PORTNAME= aeskulap PORTVERSION= 0.2.2.20190120 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Medical image viewer WWW= https://aeskulap.nongnu.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdcmimage.so:graphics/dcmtk \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libglademm-2.4.so:devel/libglademm24 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= compiler:c++11-lang autoreconf desktop-file-utils gettext \ gmake gnome jpeg libtool localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= mikhailnov GH_TAGNAME= e43334e USE_CXXSTD= c++11 USE_GNOME= gconfmm26 gtkmm24 intltool libglade2 USE_LDCONFIG= ${PREFIX}/lib/aeskulap GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip .include diff --git a/graphics/atril-lite/Makefile b/graphics/atril-lite/Makefile index c183a7a8c6d1..5e8090849b5f 100644 --- a/graphics/atril-lite/Makefile +++ b/graphics/atril-lite/Makefile @@ -1,10 +1,11 @@ +PORTREVISION= 1 PKGNAMESUFFIX= -lite OPTIONS_EXCLUDE= CAJA DBUS MASTERDIR= ${.CURDIR}/../../graphics/atril SLAVEPORT= lite DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile" diff --git a/graphics/atril/Makefile b/graphics/atril/Makefile index 6c5f987bf7c5..30ac770dc533 100644 --- a/graphics/atril/Makefile +++ b/graphics/atril/Makefile @@ -1,96 +1,96 @@ # # Please update update atril-lite also PORTNAME= atril PORTVERSION= 1.28.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics print mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= MATE multi-format document viewer WWW= https://mate-desktop.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib \ libsoup-2.4.so:devel/libsoup \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libspectre.so:print/libspectre PORTSCOUT= limitw:1,even SLAVEPORT?= no USES= compiler:c11 desktop-file-utils gettext gmake gnome libarchive \ libtool mate pathfix pkgconfig tar:xz xorg USE_MATE= icontheme desktop:build USE_XORG= ice sm x11 USE_GNOME= cairo gtk30 intlhack libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-static \ --disable-synctex CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib # INSTALL_TARGET= install-strip .if ${SLAVEPORT} == lite CONFIGURE_ARGS+=--disable-thumbnailer \ --without-matedesktop \ --disable-previewer CONFLICTS_INSTALL= atril .else USE_MATE+= desktop CONFLICTS_INSTALL= atril-lite .endif GLIB_SCHEMAS= org.mate.Atril.gschema.xml OPTIONS_DEFINE= CAJA COMICS DBUS DJVU DVI EPUB KEYRING T1LIB XPS OPTIONS_DEFAULT=CAJA COMICS DBUS DJVU EPUB KEYRING XPS OPTIONS_SUB= yes CAJA_DESC= Caja plugin CAJA_CONFIGURE_ENABLE= caja CAJA_USE= MATE=caja DJVU_DESC= DJVU support DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_CONFIGURE_ENABLE= djvu COMICS_DESC= Comic book archives support COMICS_CONFIGURE_ENABLE= comics DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib DBUS_CONFIGURE_ENABLE= dbus KEYRING_DESC= Keyring support KEYRING_CONFIGURE_WITH= keyring KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret XPS_DESC= XPS support XPS_CONFIGURE_ENABLE= xps XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps EPUB_DESC= Epub support EPUB_CONFIGURE_ENABLE= epub EPUB_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk@40 DVI_DESC= DVI viewer support DVI_USES= tex DVI_USE= TEX=base DVI_CONFIGURE_ENABLE= dvi T1LIB_DESC= T1LIB for TYPE1 fonts to DVI (Enables DVI) T1LIB_LIB_DEPENDS= libt1.so:devel/t1lib T1LIB_CONFIGURE_ENABLE= t1lib T1LIB_IMPLIES= DVI .include diff --git a/graphics/autopano-sift-c/Makefile b/graphics/autopano-sift-c/Makefile index c0f583323243..c9367963e4a0 100644 --- a/graphics/autopano-sift-c/Makefile +++ b/graphics/autopano-sift-c/Makefile @@ -1,35 +1,35 @@ PORTNAME= autopano-sift-C PORTVERSION= 2.5.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= SF/hugin/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Automatic panorama control point generation tool, C port WWW= http://hugin.sourceforge.net/docs/manual/Autopano-sift-C.html LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libpano13.so:graphics/libpano13 CONFLICTS= autopano-sift USES= cmake gnome jpeg USE_CXXSTD= c++14 USE_GNOME= libxml2 PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/set(all_libs/s/$$/ m/' ${WRKSRC}/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.1ST ${STAGEDIR}${DOCSDIR}/ .include diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index 2dc9db672f3b..faacd6dcabee 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,231 +1,231 @@ PORTNAME= blender DISTVERSION= 4.2.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics multimedia MASTER_SITES= http://download.blender.org/source/ \ http://mirror.cs.umn.edu/blender.org/source/ \ http://public.planetmirror.com/pub/blender/source/ PATCH_SITES= https://projects.blender.org/blender/blender/commit/ PATCHFILES= 1c69154aaf033730a9e3882574d56ca6597b84ae.patch:-p1 MAINTAINER= FreeBSD@Shaneware.biz COMMENT= 3D modeling/rendering/animation package WWW= https://www.blender.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license/GPL3-license.txt ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64 ONLY_FOR_ARCHS_REASON= static_assert(sizeof(unsigned long long) == sizeof(struct hipArray*)) BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libepoxy.so:graphics/libepoxy \ libOpenImageIO.so:graphics/openimageio \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libzstd.so:archivers/zstd RUN_DEPENDS= ${PYNUMPY} # libboost_regex.so just acts as a placeholder; several boost # libraries are used, if either of the most common options in blender # are set. We will pull boost in just to be on the safe side. USES= cmake:noninja compiler:c++17-lang cpe eigen:3 jpeg llvm:build,run pkgconfig \ python:3.11 shebangfix tar:xz xorg USE_XORG= x11 xext xfixes xmu xrender SHEBANG_FILES= scripts/modules/bl_i18n_utils/merge_po.py \ scripts/modules/bl_i18n_utils/utils_rtl.py \ scripts/modules/blend_render_info.py CMAKE_ARGS= -DCMAKE_CXX_STANDARD:INTEGER=17 \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VERSION}" .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif CMAKE_ON= WITH_AUDASPACE WITH_BOOST WITH_CLANG WITH_GHOST_X11 WITH_GHOST_XDND \ WITH_HYDRA WITH_IO_GPENCIL WITH_IO_PLY WITH_IO_STL WITH_IO_WAVEFRONT_OBJ \ WITH_LLVM WITH_OPENGL_BACKEND WITH_PYTHON WITH_SYSTEM_EIGEN3 \ WITH_SYSTEM_FREETYPE WITH_X11_XINPUT WITH_X11_XF86VMODE WITH_X11_XFIXES CMAKE_OFF= WITH_GHOST_SDL WITH_INSTALL_PORTABLE LLVM_STATIC WITH_MATERIALX \ WITH_MEM_JEMALLOC WITH_MEM_VALGRIND WITH_NANOVDB WITH_PYTHON_INSTALL \ WITH_PYTHON_INSTALL_NUMPY CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CXXFLAGS+= -DGLOG_USE_GLOG_EXPORT LDFLAGS+= -lexecinfo -Wl,--undefined-version SUB_FILES= blender PLIST_SUB+= VER=${DISTVERSION:R} OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" ALEMBIC_IMPLIES= OPENEXR ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_LIB_DEPENDS= libglog.so:devel/glog CAMERATRACK_CMAKE_BOOL= WITH_LIBMV WITH_SYSTEM_GLOG CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USES= gnome COLLADA_USE= GNOME=libxml2 COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR_CPU CYCLES_IMPLIES= TBB CYCLES_LIB_DEPENDS= libgflags.so:devel/gflags CYCLES_CMAKE_BOOL= WITH_CYCLES WITH_CYCLES_LOGGING CYCLES_LDFLAGS= -L${LOCALBASE}/lib -lgflags CYCLES_EMBR_IMPLIES= CYCLES CYCLES_EMBR_LIB_DEPENDS= libembree3.so:graphics/embree3 CYCLES_EMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE CYCLES_ONEAPI_LIB_DEPENDS= libtbb.so:devel/onetbb CYCLES_ONEAPI_CMAKE_BOOL= WITH_CYCLES_DEVICE_ONEAPI CYCLES_OSL_IMPLIES= CYCLES OPENEXR PUGIXML CYCLES_OSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLES_OSL_CMAKE_BOOL= WITH_CYCLES_OSL CYCLES_OSL_CMAKE_ON= -DOSL_SHADER_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/shaders" DRACO_USE= LDCONFIG=${PYTHON_SITELIBDIR} DRACO_CMAKE_BOOL= WITH_DRACO EBOOL_LIB_DEPENDS= libgmp.so:math/gmp EBOOL_CMAKE_BOOL= WITH_GMP FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libflite.so:audio/flite FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LDFLAGS= -L${LOCALBASE}/lib -lflite -lflite_cmu_us_kal \ -lflite_cmulex -lflite_usenglish FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW3_CMAKE_BOOL= WITH_FFTW3 FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CMAKE_BOOL= WITH_FRIBIDI HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CMAKE_BOOL= WITH_HARFBUZZ HARU_LIB_DEPENDS= libhpdf.so:print/libharu HARU_CMAKE_BOOL= WITH_HARU HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_LIB_DEPENDS= libspnav.so:misc/libspnav INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= WITH_JACK WITH_JACK_DYNLOAD LZMA_CMAKE_BOOL= WITH_LZMA LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 LZO_CMAKE_BOOL= WITH_LZO WITH_SYSTEM_LZO MENU_USES= desktop-file-utils MOD_FLUID_IMPLIES= TBB MOD_FLUID_CMAKE_BOOL= WITH_MOD_FLUID MOD_OCEANSIM_IMPLIES= FFTW3 MOD_OCEANSIM_CMAKE_BOOL= WITH_MOD_OCEANSIM MOD_REMESH_CMAKE_BOOL= WITH_MOD_REMESH # Use iconv:wchar_t to force the usage of iconv from ports. # libboost_locale.so uses libiconv_open, while we only provide # iconv_open in 10.x+ NLS_USES= gettext-tools iconv:lib,wchar_t NLS_CMAKE_BOOL= WITH_INTERNATIONAL OPENAL_USES= openal:al,alut OPENAL_CMAKE_BOOL= WITH_OPENAL OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp.so:devel/yaml-cpp \ libexpat.so:textproc/expat2 \ libpystring.so:devel/pystring OPENCOLORIO_USES= minizip OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENIMAGEDN_IMPLIES= TBB OPENIMAGEDN_LIB_DEPENDS= libOpenImageDenoise.so:graphics/oidn OPENIMAGEDN_CMAKE_BOOL= WITH_OPENIMAGEDENOISE OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= WITH_IMAGE_OPENJPEG OPENMP_CMAKE_BOOL= WITH_OPENMP OPENPGL_LIB_DEPENDS= libopenpgl.so:graphics/openpgl OPENPGL_CMAKE_BOOL= WITH_CYCLES_PATH_GUIDING OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENVDB_IMPLIES= OPENEXR TBB OPENVDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb OPENVDB_CMAKE_BOOL= WITH_OPENVDB WITH_OPENVDB_BLOSC OPENXR_LIB_DEPENDS= libopenxr_loader.so:graphics/openxr OPENXR_CMAKE_BOOL= WITH_XR_OPENXR POTRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace POTRACE_CMAKE_BOOL= WITH_POTRACE PUGIXML_LIB_DEPENDS= libpugixml.so:textproc/pugixml PUGIXML_CMAKE_BOOL= WITH_PUGIXML PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO WITH_PULSEAUDIO_DYNLOAD QUADRIFLOW_CMAKE_BOOL= WITH_QUADRIFLOW SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CMAKE_BOOL= WITH_SDL WITH_SDL_DYNLOAD SIMD_CMAKE_BOOL= WITH_CPU_SIMD SIMD_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-simd-off SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TBB_CMAKE_BOOL= WITH_TBB THUMBNAILER_CMAKE_BOOL= WITH_BLENDER_THUMBNAILER TRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace TRACE_CMAKE_BOOL= WITH_POTRACE USD_IMPLIES= TBB USD_BROKEN= require devel/tbb, which conflicts with devel/onetbb: \ https://github.com/PixarAnimationStudios/OpenUSD/issues/1650 USD_LIB_DEPENDS= libusd_usd.so:misc/usd USD_CMAKE_BOOL= WITH_USD VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libshaderc_shared.so:graphics/shaderc \ libSPIRV-Tools-shared.so:graphics/spirv-tools \ libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= WITH_VULKAN_BACKEND VULKAN_LDFLAGS= -lshaderc_shared -lSPIRV-Tools-shared WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.15:graphics/wayland-protocols \ wayland>=1.12:graphics/wayland \ libdecor>0:x11-toolkits/libdecor WAYLAND_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon WAYLAND_CMAKE_BOOL= WITH_GHOST_WAYLAND WITH_GHOST_WAYLAND_LIBDECOR \ WITH_GHOST_WAYLAND_DYNLOAD WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= WITH_IMAGE_WEBP XF86VMODE_USE= XORG=xi,xxf86vm XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XINPUT_USE= XORG=xi XINPUT_CMAKE_BOOL= WITH_X11_XINPUT post-patch: ${REINPLACE_CMD} -e 's|%%LLVM_VER%%|${LLVM_VERSION}|g' \ ${WRKSRC}/intern/cycles/kernel/osl/CMakeLists.txt post-build: @(cd ${WRKSRC}/doc/manpage && \ ${PYTHON_CMD} blender.1.py \ --blender ${INSTALL_WRKSRC}/bin/blender \ --output ${INSTALL_WRKSRC}/bin/${PORTNAME}.1) post-install: ${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${MV} ${STAGEDIR}/${PREFIX}/bin/blender ${STAGEDIR}/${PREFIX}/bin/blender-bin ${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' ${WRKDIR}/blender ${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender post-install-DRACO-on: # move draco pylib into site-packages ${MKDIR} ${STAGEDIR}/${PYTHON_SITELIBDIR}/ ${INSTALL_LIB} ${INSTALL_WRKSRC}/lib/libextern_draco.so ${STAGEDIR}/${PYTHON_SITELIBDIR}/ ${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/libextern_draco.so @${RM} -R ${STAGEDIR}/${DATADIR}/${DISTVERSION:R}/python post-install-MENU-on: @-update-desktop-database -q .include diff --git a/graphics/cegui/Makefile b/graphics/cegui/Makefile index 830903ee5e15..4a438e16234d 100644 --- a/graphics/cegui/Makefile +++ b/graphics/cegui/Makefile @@ -1,128 +1,128 @@ PORTNAME= cegui PORTVERSION= 0.8.7 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= graphics devel MASTER_SITES= SF/crayzedsgui/CEGUI%20Mk-2/0.8 MAINTAINER= oliver@FreeBSD.org COMMENT= Library providing windowing and widgets for graphics APIs WWW= http://www.cegui.org.uk LICENSE= MIT WRKSRC= ${WRKDIR}/${DISTNAME:S/2b/2/} CONFIGURE_ENV+= TOLUA_INC="${LUA_INCDIR}" CMAKE_ARGS= -DCEGUI_SAMPLES_ENABLED:BOOL=OFF \ -DCEGUI_BUILD_TESTS=OFF USE_LDCONFIG= yes USES= cmake compiler:c++11-lib iconv localbase pkgconfig tar:bzip2 PORTDOCS= * OPTIONS_DEFINE= FREETYPE PCRE LUA FRIBIDI DOCS OPTIONS_GROUP= XMLPARSER IMAGECODEC RENDERER OPTIONS_GROUP_XMLPARSER= EXPAT XERCES LIBXML2 RAPIDXML TINYXML OPTIONS_GROUP_IMAGECODEC= DEVIL FREEIMAGE SDL2 OPTIONS_GROUP_RENDERER= OPENGL OPENGL3 OGRE IRRLICHT OPTIONS_DEFAULT= FREETYPE PCRE LUA FRIBIDI OPTIONS_DEFAULT+= EXPAT LIBXML2 TINYXML OPTIONS_DEFAULT+= DEVIL FREEIMAGE SDL2 OPTIONS_DEFAULT+= OPENGL OPENGL3 OGRE OPTIONS_SUB= yes FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CMAKE_ON= -DCEGUI_HAS_FREETYPE=ON FREETYPE_CMAKE_OFF= -DCEGUI_HAS_FREETYPE=OFF PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_CMAKE_ON= -DCEGUI_HAS_PCRE_REGEX=ON PCRE_CMAKE_OFF= -DCEGUI_HAS_PCRE_REGEX=OFF LUA_USES= lua:51 LUA_LIB_DEPENDS= libtolua++-${LUA_VER}.so:lang/tolua++ LUA_CMAKE_ON= -DCEGUI_BUILD_LUA_MODULE=ON -DCEGUI_BUILD_LUA_GENERATOR=ON LUA_CMAKE_OFF= -DCEGUI_BUILD_LUA_MODULE=OFF -DCEGUI_BUILD_LUA_GENERATOR=OFF FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CMAKE_ON= -DCEGUI_USE_FRIBIDI=ON FRIBIDI_CMAKE_OFF= -DCEGUI_USE_FRIBIDI=OFF EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 EXPAT_CMAKE_ON= -DCEGUI_BUILD_XMLPARSER_EXPAT=ON EXPAT_CMAKE_OFF= -DCEGUI_BUILD_XMLPARSER_EXPAT=OFF XERCES_LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 XERCES_CMAKE_ON= -DCEGUI_BUILD_XMLPARSER_XERCES=ON XERCES_CMAKE_OFF= -DCEGUI_BUILD_XMLPARSER_XERCES=OFF LIBXML2_USES= gnome LIBXML2_USE= GNOME=libxml2 LIBXML2_CMAKE_ON= -DCEGUI_BUILD_XMLPARSER_LIBXML2=ON LIBXML2_CMAKE_OFF= -DCEGUI_BUILD_XMLPARSER_LIBXML2=OFF RAPIDXML_BUILD_DEPENDS= ${LOCALBASE}/include/rapidxml.hpp:textproc/rapidxml RAPIDXML_DESC= XML parser support via RapidXML RAPIDXML_CMAKE_ON= -DCEGUI_BUILD_XMLPARSER_RAPIDXML=ON RAPIDXML_CMAKE_OFF= -DCEGUI_BUILD_XMLPARSER_RAPIDXML=OFF TINYXML_LIB_DEPENDS= libtinyxml.so:textproc/tinyxml TINYXML_CMAKE_ON= -DCEGUI_BUILD_XMLPARSER_TINYXML=ON TINYXML_CMAKE_OFF= -DCEGUI_BUILD_XMLPARSER_TINYXML=OFF DEVIL_DESC= DevIL based ImageCodec module DEVIL_LIB_DEPENDS= libIL.so:graphics/devil DEVIL_CMAKE_ON= -DCEGUI_BUILD_IMAGECODEC_DEVIL=ON DEVIL_CMAKE_OFF= -DCEGUI_BUILD_IMAGECODEC_DEVIL=OFF FREEIMAGE_DESC= FreeImage based ImageCodec module FREEIMAGE_LIB_DEPENDS= libfreeimage.so:graphics/freeimage FREEIMAGE_CMAKE_ON= -DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=ON FREEIMAGE_CMAKE_OFF= -DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=OFF SDL2_DESC= SDL2 based ImageCodec module SDL2_USES= sdl SDL2_USE= SDL=sdl2,image2 SDL2_CMAKE_ON= -DCEGUI_BUILD_IMAGECODEC_SDL2=ON SDL2_CMAKE_OFF= -DCEGUI_BUILD_IMAGECODEC_SDL2=OFF OGRE_DESC= Ogre3D support OGRE_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d19 OGRE_CMAKE_ON= -DCEGUI_BUILD_RENDERER_OGRE=ON OGRE_CMAKE_OFF= -DCEGUI_BUILD_RENDERER_OGRE=OFF IRRLICHT_DESC= Irrlicht support IRRLICHT_LIB_DEPENDS= libIrrlicht.so:x11-toolkits/irrlicht IRRLICHT_CMAKE_ON= -DCEGUI_BUILD_RENDERER_IRRLICHT=ON IRRLICHT_CMAKE_OFF= -DCEGUI_BUILD_RENDERER_IRRLICHT=OFF OPENGL_BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm OPENGL_USES= gl OPENGL_USE= GL=gl,glew,glu OPENGL_CMAKE_ON= -DCEGUI_BUILD_RENDERER_OPENGL=ON OPENGL_CMAKE_OFF= -DCEGUI_BUILD_RENDERER_OPENGL=OFF OPENGL3_DESC= OpenGL 3+ support (core profile) OPENGL3_BUILD_DEPENDS= ${OPENGL_BUILD_DEPENDS} OPENGL3_USES= ${OPENGL_USES} OPENGL3_USE= ${OPENGL_USE} OPENGL3_CMAKE_ON= -DCEGUI_BUILD_RENDERER_OPENGL3=ON OPENGL3_CMAKE_OFF= -DCEGUI_BUILD_RENDERER_OPENGL3=OFF # not present in ports/unsupported, but may appear later CMAKE_ARGS+= -DCEGUI_HAS_MINIZIP_RESOURCE_PROVIDER=OFF \ -DCEGUI_BUILD_IMAGECODEC_CORONA=OFF \ -DCEGUI_BUILD_IMAGECODEC_SILLY=OFF \ -DCEGUI_BUILD_IMAGECODEC_PVR=OFF \ -DCEGUI_BUILD_RENDERER_OPENGLES=OFF \ -DCEGUI_BUILD_RENDERER_DIRECTFB=OFF CMAKE_ARGS+= -DCEGUI_BUILD_PYTHON_MODULES=OFF # python support doesn't build .include .if ${PORT_OPTIONS:MEXPAT} || ${PORT_OPTIONS:MXERCES} || ${PORT_OPTIONS:MLIBXML2} || ${PORT_OPTIONS:MRAPIDXML} || ${PORT_OPTIONS:MTINYXML} PLIST_SUB+= XMLPARSERS="" .else PLIST_SUB+= XMLPARSERS="@comment " .endif .if ${PORT_OPTIONS:MOPENGL} || ${PORT_OPTIONS:MOPENGL3} PLIST_SUB+= ANYOPENGL="" .else PLIST_SUB+= ANYOPENGL="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|\$${CEGUI_LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|g' \ ${WRKSRC}/CMakeLists.txt .include diff --git a/graphics/cptutils/Makefile b/graphics/cptutils/Makefile index ae829d60e967..5eba812a1251 100644 --- a/graphics/cptutils/Makefile +++ b/graphics/cptutils/Makefile @@ -1,41 +1,42 @@ PORTNAME= cptutils PORTVERSION= 1.84 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://jjg.gitlab.io/src/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Convert and manipulate colour gradients WWW= https://jjg.gitlab.io/en/code/cptutils/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gengetopt:devel/gengetopt \ gperf:devel/gperf \ docbook-xsl>0:textproc/docbook-xsl LIB_DEPENDS= libjansson.so:devel/jansson \ libpng.so:graphics/png USES= autoreconf bison gmake gnome iconv localbase python shebangfix SHEBANG_FILES= src/gradient-convert/gradient-convert.py GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} USE_GNOME= libxml2 libxslt PORTDOCS= CHANGELOG.md CREDITS.md README.md OPTIONS_DEFINE= DOCS TEST TEST_CONFIGURE_ENABLE= tests TEST_BUILD_DEPENDS= bash:shells/bash TEST_LIB_DEPENDS= libcunit.so:devel/cunit TEST_TEST_TARGET= test post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index 1e8e5451862e..0a5e92805986 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -1,128 +1,129 @@ PORTNAME= darktable PORTVERSION= 5.0.1 +PORTREVISION= 1 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 WWW= https://www.darktable.org/ 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>=0:textproc/p5-Pod-Parser \ po4a-translate:textproc/po4a \ xsltproc:textproc/libxslt \ bash:shells/bash LIB_DEPENDS= libavif.so:graphics/libavif \ libcolord-gtk.so:graphics/colord-gtk \ libcolord.so:graphics/colord \ libcurl.so:ftp/curl \ libexiv2.so:graphics/exiv2 \ libgphoto2.so:graphics/libgphoto2 \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libicui18n.so:devel/icu \ libImath.so:math/Imath \ libjasper.so:graphics/jasper \ libjson-glib-1.0.so:devel/json-glib \ libjxl_threads.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libOpenEXR.so:graphics/openexr \ libopenjp2.so:graphics/openjpeg \ libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map \ libpng.so:graphics/png \ libpugixml.so:textproc/pugixml \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= cmake compiler:c++11-lib desktop-file-utils gl gnome jpeg \ llvm:17,build lua perl5 pkgconfig sdl shebangfix sqlite \ tar:xz xorg 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 -DUSE_PORTMIDI:BOOL=OFF CMAKE_BOOL+= BUILD_CMSTEST USE_AVIF USE_CAMERA_SUPPORT USE_HEIF \ USE_ISOBMFF USE_KWALLET USE_LUA USE_MAP USE_OPENEXR \ USE_OPENJPEG USE_WEBP RAWSPEED_ENABLE_LTO CFLAGS+= -fopenmp WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/} OPTIONS_DEFINE= DOCS GMIC GRAPHMAGICK LIBSECRET NLS PRINT TOOLS OPTIONS_DEFAULT= PRINT OPTIONS_SUB= yes GMIC_DESC= Support G'Mic-compressed LUT in lut3d LIBSECRET_DESC= Support libsecret as password backend TOOLS_DESC= Install additional scripts GMIC_LIB_DEPENDS= libgmic.so:graphics/gmic GMIC_CMAKE_BOOL= USE_GMIC GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GRAPHMAGICK_CMAKE_BOOL= USE_GRAPHICSMAGICK LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret LIBSECRET_CMAKE_BOOL= USE_LIBSECRET # 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 PRINT_LIB_DEPENDS= libcups.so:print/cups PRINT_CMAKE_BOOL= BUILD_PRINT TOOLS_BUILD_DEPENDS= exiftool:graphics/p5-Image-ExifTool TOOLS_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool .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 # 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/dcmtk/Makefile b/graphics/dcmtk/Makefile index 5894e8794dd3..527b3c685cee 100644 --- a/graphics/dcmtk/Makefile +++ b/graphics/dcmtk/Makefile @@ -1,52 +1,52 @@ PORTNAME= dcmtk DISTVERSIONPREFIX= ${PORTNAME:tu}- DISTVERSION= 3.6.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics devel MAINTAINER= yuri@FreeBSD.org COMMENT= DICOM ToolKit, libraries and applications for DICOM/MEDICOM standard WWW= https://dcmtk.org/en/ \ https://github.com/DCMTK/dcmtk LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libicuuc.so:devel/icu \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= compiler:c++11-lang cmake cpe gnome jpeg pathfix ssl CPE_VENDOR= offis USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:tu} USE_GNOME= libxml2 USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= DCMTK_WITH_DOXYGEN OPTIONS_DEFINE= DOCS PORTDOCS= * ETCDIR= ${PREFIX}/etc/${PORTNAME}-${PORTVERSION} DATADIR= ${PREFIX}/share/${PORTNAME}-${PORTVERSION} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} TEST_TARGET= test test-exhaustive PORTSCOUT= limit:^.*[0-9].*$$ # prevent tags like latest .include .if ${ARCH:Mpowerpc*} && ${COMPILER_VERSION} == 140 LLVM_VER= 15 BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} CC= ${LOCALBASE}/bin/clang${LLVM_VER} CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} .endif # tests as of 3.6.9: 100% tests passed, 0 tests failed out of 366 .include diff --git a/graphics/delaboratory/Makefile b/graphics/delaboratory/Makefile index 49ab9d75535a..8aab87652f5e 100644 --- a/graphics/delaboratory/Makefile +++ b/graphics/delaboratory/Makefile @@ -1,36 +1,36 @@ PORTNAME= delaboratory PORTVERSION= 0.8 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics MASTER_SITES= https://BSDforge.com/projects/source/graphics/delaboratory/ MAINTAINER= ports@FreeBSD.org COMMENT= Unique image postprocessing application WWW= https://bsdforge.com/projects/graphics/delaboratory/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtiff.so:graphics/tiff USES= compiler:c++11-lib gmake gnome USE_CXXSTD= c++11 USE_GNOME= libxml2 USE_WX= 3.0 MAKE_ARGS= CXX="${CXX}" \ WXCONFIG="${WX_CONFIG}" PLIST_FILES= bin/${PORTNAME} post-patch: @${MV} ${WRKSRC}/gui_wx/semaphore.h ${WRKSRC}/gui_wx/desemaphore.h @${REINPLACE_CMD} -e 's|-Ofast.*}|${CXXFLAGS}| ; \ s|CXXFLAGS_WX +=|& ${CXXFLAGS} -I${LOCALBASE}/include| ;\ s|LDFLAGS=|LDFLAGS+=|' \ ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/graphics/dia/Makefile b/graphics/dia/Makefile index 76cd39ee0025..2dd755d5e39e 100644 --- a/graphics/dia/Makefile +++ b/graphics/dia/Makefile @@ -1,67 +1,67 @@ PORTNAME= dia PORTVERSION= 0.97.3 -PORTREVISION= 8 +PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Diagram creation program, similar to Visio WWW= https://wiki.gnome.org/Apps/Dia LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libicudata.so:devel/icu USES= cpe desktop-file-utils gettext gmake gnome libtool \ localbase:ldflags pathfix pkgconfig tar:xz CPE_VENDOR= gnome USE_GNOME= gtk20 gnomeprefix libxslt libartlgpl2 intlhack GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-gnome CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" INSTALL_TARGET= install-strip LDFLAGS+= `pkg-config --libs gmodule-2.0` OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl .include #.if ${ARCH} == "i386" #LIB_DEPENDS+= libEMF.so:graphics/libemf #CONFIGURE_ARGS+= --enable-libemf #PLIST_SUB+= WMF="" #.else CONFIGURE_ARGS+= --disable-libemf PLIST_SUB+= WMF="@comment " #.endif .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/lib/intl.c @${REINPLACE_CMD} -e 's|glib/gstrfuncs.h>|glib.h>|g' \ -e 's|glib/gtestutils.h|glib.h|g' \ ${WRKSRC}/objects/custom/shape_typeinfo.c \ ${WRKSRC}/tests/test-objects.c \ ${WRKSRC}/tests/test-boundingbox.c @${FIND} ${WRKSRC} -name Makefile.in | \ ${XARGS} ${REINPLACE_CMD} -e \ 's,\(^GTK_LIBS.*\),\1 -lpthread,' @${REINPLACE_CMD} -e 's|http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl|${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl| ; \ s|/usr/include/libEMF|${LOCALBASE}/include/libEMF|g ; \ s|-lstdc++||g' ${WRKSRC}/configure .include diff --git a/graphics/digikam/Makefile b/graphics/digikam/Makefile index 95c74965234e..1931b993bb81 100644 --- a/graphics/digikam/Makefile +++ b/graphics/digikam/Makefile @@ -1,137 +1,137 @@ PORTNAME= digikam DISTVERSION= 8.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} \ https://files.kde.org/${PORTNAME}/%SUBDIR%/:aesthetic,autotags,face,yunet \ https://kde-applicationdata.mirrors.omnilance.com/${PORTNAME}/%SUBDIR%/:aesthetic,autotags,face,yunet \ https://mirrors.ocf.berkeley.edu/kde-applicationdata/${PORTNAME}/%SUBDIR%/:aesthetic,autotags,face,yunet MASTER_SITE_SUBDIR= aestheticdetector/:aesthetic \ autotags/:autotags \ facesengine/dnnface/:face \ facesengine/yunet/:yunet # One bit changed in the naming convention .. DISTFILES= digiKam-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} DIST_SUBDIR= KDE/${PORTNAME} EXTRACT_ONLY= digiKam-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} MAINTAINER= kde@FreeBSD.org COMMENT= KDE digital photo management application WWW= https://www.digikam.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>=0:devel/boost-libs LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libgphoto2.so:graphics/libgphoto2 \ libjasper.so:graphics/jasper \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libopencv_core.so:graphics/opencv \ libheif.so:graphics/libheif \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libx265.so:multimedia/x265 RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool USES= bison cmake compiler:c++20-lang desktop-file-utils eigen:3 \ gettext-tools gl gnome jpeg kde:6 magick pkgconfig qt:6 \ shebangfix tar:xz xorg USE_GL= opengl glu USE_GNOME= glib20 libxml2 libxslt USE_KDE= calendarcore colorscheme completion config configwidgets \ coreaddons doctools filemetadata i18n iconthemes jobwidgets \ kio libksane notifications notifyconfig service solid sonnet \ texttemplate threadweaver widgetsaddons windowsystem xmlgui \ ecm:build USE_LDCONFIG= yes USE_QT= base declarative networkauth positioning scxml svg \ webchannel webengine USE_XORG= ice sm x11 xext SHEBANG_FILES= core/data/scripts/digitaglinktree/digitaglinktree CMAKE_ON= BUILD_WITH_CCACHE \ BUILD_WITH_QT6 \ CMAKE_DISABLE_FIND_PACKAGE_VAAPI \ DIGIKAMSC_COMPILE_DIGIKAM \ ENABLE_KFILEMETADATASUPPORT WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} PLIST_SUB= SHLIB_VER=${DISTVERSION} WITH_CCACHE_BUILD= yes OPTIONS_DEFINE= KDEPIM MEDIAPLAYER OPTIONS_GROUP= DATA DATA_DESC= Binary data required for certain features OPTIONS_GROUP_DATA= AESTHETIC AUTOTAGS FACEDETECT OPTIONS_MULTI= DB DB_DESC= Database options OPTIONS_MULTI_DB= MYSQL MYSQL_INTERNAL SQLITE3 OPTIONS_DEFAULT= ${OPTIONS_DEFINE} \ ${OPTIONS_MULTI_DB:NMYSQL_INTERNAL} OPTIONS_SUB= yes # Check core/data/dnnmodels/dnnmodels.conf for new and obsolete files # for the AESTHETIC, AUTOTAGS and FACEDETECT options with each update. AESTHETIC_DESC= Install aesthetic detection data (~84 MiB) AESTHETIC_DISTFILES= weights_inceptionv3_299.pb:aesthetic AUTOTAGS_DESC= Install auto tags assignment data (~481 MiB) AUTOTAGS_DISTFILES= classification_classes_ILSVRC2012.txt:autotags \ coco.names:autotags \ efficientnetb7.onnx:autotags \ yolo11n.onnx:autotags \ yolo11x.onnx:autotags FACEDETECT_DESC= Install face management data (~37 MiB) FACEDETECT_DISTFILES= face_recognition_sface_2021dec.onnx:face \ face_detection_yunet_2023mar.onnx:yunet KDEPIM_DESC= KDEPim Addressbook support KDEPIM_USE= KDE=akonadi,akonadicontacts,contacts,grantleetheme,itemmodels KDEPIM_CMAKE_BOOL= ENABLE_AKONADICONTACTSUPPORT MEDIAPLAYER_DESC= Enable media player MEDIAPLAYER_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg MEDIAPLAYER_USE= QT=multimedia XORG=xv MEDIAPLAYER_CMAKE_BOOL= ENABLE_MEDIAPLAYER MEDIAPLAYER_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_FFmpeg MYSQL_USE= QT=sqldriver-mysql:run MYSQL_CMAKE_BOOL= ENABLE_MYSQLSUPPORT MYSQL_INTERNAL_DESC= Use a dedicated MySQL instance (requires MariaDB) MYSQL_INTERNAL_USES= mysql:server MYSQL_INTERNAL_CMAKE_BOOL= ENABLE_INTERNALMYSQL # Only works with MariaDB. Try to keep this in sync with supported MySQL # versions and add any version not ending with 'm' to the IGNORE list. MYSQL_INTERNAL_VARS= IGNORE_WITH_MYSQL="80 81" MYSQL_INTERNAL_IMPLIES= MYSQL SQLITE3_USE= QT=sqldriver-sqlite:run post-install-AESTHETIC-on: @${MKDIR} ${STAGEDIR}${DATADIR}/facesengine .for f in ${AESTHETIC_DISTFILES:C/:.*//} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${STAGEDIR}${DATADIR}/facesengine .endfor post-install-AUTOTAGS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/facesengine .for f in ${AUTOTAGS_DISTFILES:C/:.*//} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${STAGEDIR}${DATADIR}/facesengine .endfor post-install-FACEDETECT-on: @${MKDIR} ${STAGEDIR}${DATADIR}/facesengine .for f in ${FACEDETECT_DISTFILES:C/:.*//} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${STAGEDIR}${DATADIR}/facesengine .endfor .include diff --git a/graphics/drawio/Makefile b/graphics/drawio/Makefile index b0a73ad0fd28..527792f369de 100644 --- a/graphics/drawio/Makefile +++ b/graphics/drawio/Makefile @@ -1,29 +1,29 @@ PORTNAME= drawio PORTVERSION= 26.2.15 -PORTREVISION= 5 +PORTREVISION= 6 DISTVERSIONPREFIX= x86_64- CATEGORIES= graphics MASTER_SITES= https://github.com/jgraph/drawio-desktop/releases/download/v${PORTVERSION}/ EXTRACT_SUFX= .rpm MAINTAINER= x636808@gmail.com COMMENT= Diagramming and whiteboarding desktop app WWW= https://drawio.com/ LICENSE= APACHE20 USES= desktop-file-utils electronfix:35 shared-mime-info NO_BUILD= yes SUB_FILES= drawio NO_WRKSUBDIR= yes ELECTRONFIX_MAIN_EXECUTABLE= drawio do-install: cd ${WRKSRC}/opt/ && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/share cd ${WRKSRC}/usr/share && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${FIND} ${STAGEDIR}${PREFIX} -name '*.orig' -delete .include diff --git a/graphics/eom/Makefile b/graphics/eom/Makefile index f9fc31a6821c..0f3f10ecff7b 100644 --- a/graphics/eom/Makefile +++ b/graphics/eom/Makefile @@ -1,54 +1,54 @@ PORTNAME= eom DISTVERSION= 1.28.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Eye of MATE image viewer WWW= https://mate-desktop.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \ libpeas-gtk-1.0.so:devel/libpeas1 PORTSCOUT= limitw:1,even USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome \ jpeg libtool localbase mate pathfix pkgconfig tar:xz xorg USE_MATE= desktop icontheme USE_XORG= x11 USE_GNOME= cairo glib20 gnomeprefix gtk30 intltool introspection \ librsvg2 libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --without-cms INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.eom.gschema.xml \ org.mate.eom.enums.xml OPTIONS_DEFINE= EXIF EXEMPI DOCS OPTIONS_DEFAULT=EXIF EXEMPI EXEMPI_DESC= XMP support EXEMPI_CONFIGURE_WITH= xmp EXEMPI_LIB_DEPENDS= libexempi.so:textproc/exempi EXIF_DESC= Digital camera file meta-data support EXIF_CONFIGURE_WITH= libexif EXIF_LIB_DEPENDS= libexif.so:graphics/libexif .include .if ${PORT_OPTIONS:MEXIF} || ${PORT_OPTIONS:MEXEMPI} PLIST_SUB+= EXIFEXEMPI="" .else PLIST_SUB+= EXIFEXEMPI="@comment " .endif .include diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index 701c98aa258a..f48564d52471 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -1,92 +1,93 @@ PORTNAME= evince DISTVERSION= 48.0 +PORTREVISION= 1 CATEGORIES= graphics print gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME multi-format document viewer WWW= https://gitlab.gnome.org/GNOME/evince LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING FLAVOR?= full FLAVORS= full lite BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} \ itstool:textproc/itstool LIB_DEPENDS= libhandy-1.so:x11-toolkits/libhandy \ libpoppler-glib.so:graphics/poppler-glib \ libspectre.so:print/libspectre \ libtiff.so:graphics/tiff \ libdbus-1.so:devel/dbus RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome \ gstreamer libarchive localbase:ldflags meson pkgconfig \ python:build tar:xz xorg USE_GNOME= cairo gdkpixbuf gnomedesktop3 gtk30 introspection:build libxml2 USE_LDCONFIG= yes USE_XORG= ice CPE_VENDOR= gnome MESON_ARGS= -Dgtk_doc=false \ -Duser_doc=true \ -Dpdf=enabled \ -Dps=enabled \ -Dsystemduserunitdir=no .if ${FLAVOR} == lite MESON_ARGS+= -Dintrospection=false \ -Dpreviewer=false \ -Dthumbnail_cache=disabled \ -Dthumbnailer=false USE_GNOME+= libxml2 OPTIONS_EXCLUDE= DBUS PLIST= ${.CURDIR}/pkg-plist-lite PKGNAMESUFFIX= -lite COMMENT+= without GNOME dependencies CONFLICTS_INSTALL= evince .else USE_GNOME+= introspection:build gnomedesktop3 MESON_ARGS+= -Dintrospection=true CONFLICTS_INSTALL= evince-lite .endif GLIB_SCHEMAS= org.gnome.Evince.gschema.xml PLIST_SUB= VERSION=3.0 OPTIONS_SUB= yes OPTIONS_DEFINE= COMICS DBUS DJVU DVI KEYRING SPELL XPS OPTIONS_DEFAULT= COMICS DBUS KEYRING SPELL XPS COMICS_DESC= Comic book archives support COMICS_MESON_ENABLED= comics DBUS_MESON_TRUE= dbus DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DJVU_DESC= DJVU support DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_MESON_ENABLED= djvu DVI_DESC= DVI viewer support DVI_USES= tex DVI_USE= TEX=kpathsea,latex DVI_MESON_ENABLED= dvi KEYRING_DESC= Keyring support KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret KEYRING_MESON_ENABLED= keyring SPELL_DESC= Spell checking support SPELL_MESON_ENABLED= gspell SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell XPS_DESC= XPS support XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps XPS_MESON_ENABLED= xps .include diff --git a/graphics/flam3/Makefile b/graphics/flam3/Makefile index 7b5e7f49be9a..03e47b8c524f 100644 --- a/graphics/flam3/Makefile +++ b/graphics/flam3/Makefile @@ -1,35 +1,35 @@ PORTNAME= flam3 DISTVERSIONPREFIX= v DISTVERSION= 3.1.1-5 -PORTREVISION= 4 +PORTREVISION= 5 DISTVERSIONSUFFIX= -g7fb50c8 CATEGORIES= graphics MAINTAINER= john.c.prather@gmail.com COMMENT= Algorithmically generated fractal flames images and animations WWW= http://flam3.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png USES= gmake gnome jpeg libtool localbase pathfix USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= scottdraves GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-shared --disable-static INSTALL_TARGET= install-strip USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e 's|^libflam3_la_SOURCES = .*|& sincos.c| ; s| isaac.lo$$|& sincos.lo|' \ ${WRKSRC}/Makefile.in # sincos is missing on some systems: bug#218300 @${REINPLACE_CMD} -e 's| -g -O3||' ${WRKSRC}/Makefile.in # https://github.com/scottdraves/flam3/issues/25 pre-build: @${CP} ${FILESDIR}/sincos.c ${WRKSRC} .include diff --git a/graphics/frogr/Makefile b/graphics/frogr/Makefile index 28aebf603a9e..d9414a7e0267 100644 --- a/graphics/frogr/Makefile +++ b/graphics/frogr/Makefile @@ -1,38 +1,38 @@ PORTNAME= frogr PORTVERSION= 1.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= GNOME PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/ PATCHFILES+= 1eeb32b94b9e.patch:-p1 # https://gitlab.gnome.org/GNOME/frogr/-/merge_requests/5 MAINTAINER= ashish@FreeBSD.org COMMENT= Flickr upload and management tool WWW= https://wiki.gnome.org/Apps/Frogr LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libexif.so:graphics/libexif \ libjson-glib-1.0.so:devel/json-glib \ libgcrypt.so:security/libgcrypt USES= compiler:c++11-lang gettext-runtime gettext-tools gnome meson \ ninja pkgconfig tar:xz USE_GNOME= libxml2 glib20 gtk30 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MESON_ARGS= -Denable-header-bar=true OPTIONS_DEFINE= VIDEO OPTIONS_DEFAULT= VIDEO VIDEO_MESON_TRUE= enable-video VIDEO_LIB_DEPENDS= libgstreamer-1.0.so:multimedia/gstreamer1 .include diff --git a/graphics/fyre/Makefile b/graphics/fyre/Makefile index 1ff148ab8e80..724c770bebf1 100644 --- a/graphics/fyre/Makefile +++ b/graphics/fyre/Makefile @@ -1,42 +1,42 @@ PORTNAME= fyre PORTVERSION= 1.0.1 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= graphics MASTER_SITES= http://releases.navi.cx/fyre/ MAINTAINER= ports@FreeBSD.org COMMENT= Chaos map rendering system with GTK-2 interface WWW= https://fyre.navi.cx/ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual USES= compiler:c++11-lang desktop-file-utils gmake gnome pkgconfig \ shared-mime-info tar:bzip2 USE_GNOME= libglade2 GNU_CONFIGURE= yes OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPENEXR GNET DOCS OPTIONS_DEFAULT= OPENEXR GNET OPENEXR_CONFIGURE_ENABLE= openexr OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr GNET_DESC= Networking support via GNet GNET_CONFIGURE_ENABLE= gnet GNET_LIB_DEPENDS= libgnet-2.0.so:net/gnet2 .include .if ${ARCH} == "i386" && !empty(PORT_OPTIONS:MOPT_CFLAGS) CFLAGS+= -march=native -O3 -ffast-math -fomit-frame-pointer .endif post-patch: @${REINPLACE_CMD} -e '/-O3/s|^|#|g' ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index 1003fd054bad..f8c5969a8b3a 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -1,267 +1,268 @@ PORTNAME= gdal PORTVERSION= 3.11.0 +PORTREVISION= 1 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 WWW= https://gdal.org/ \ https://github.com/OSGeo/gdal LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.TXT BUILD_DEPENDS= fast_float>=0:math/fast_float \ libertiff>=0:graphics/libertiff \ 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 USES= cmake compiler:c++17-lang cpe iconv jpeg localbase pkgconfig ssl tar:xz CMAKE_OFF= BUILD_CSHARP_BINDINGS \ BUILD_DOCS \ BUILD_JAVA_BINDINGS \ BUILD_PYTHON_BINDINGS \ BUILD_TESTING \ BUILD_VSIPRELOAD \ CLANG_TIDY_ENABLED \ CSHARP_MONO \ ENABLE_DEFLATE64 \ GDAL_ENABLE_HDF5_GLOBAL_LOCK \ GDAL_ENABLE_PLUGINS \ GDAL_ENABLE_PLUGINS_NO_DEPS \ GDAL_SET_INSTALL_RELATIVE_RPATH \ GDAL_USE_INTERNAL_LIBS \ GDAL_USE_GEOTIFF_INTERNAL \ GDAL_USE_GIF_INTERNAL \ GDAL_USE_JPEG12_INTERNAL \ GDAL_USE_JPEG_INTERNAL \ GDAL_USE_JSONC_INTERNAL \ GDAL_USE_LERC_INTERNAL \ GDAL_USE_LIBCSF_INTERNAL \ GDAL_USE_OPENCAD \ GDAL_USE_OPENCAD_INTERNAL \ GDAL_USE_PNG_INTERNAL \ GDAL_USE_PUBLICDECOMPWT \ GDAL_USE_QHULL_INTERNAL \ GDAL_USE_SHAPELIB \ GDAL_USE_TIFF_INTERNAL \ GDAL_USE_ZLIB_INTERNAL \ HDFS_ENABLED \ SWIG_REGENERATE_PYTHON CMAKE_ON= BUILD_APPS \ BUILD_SHARED_LIBS \ BUILD_STATIC_LIBS \ ENABLE_GNM \ ENABLE_IPO \ ENABLE_PAM \ GDAL_AUTOLOAD_PLUGINS \ GDAL_BUILD_OPTIONAL_DRIVERS \ GDAL_HIDE_INTERNAL_SYMBOLS \ GDAL_OBJECT_LIBRARIES_POSITION_INDEPENDENT_CODE \ GDAL_SPLIT_EXPORTED_LIBS \ GDAL_USE_CPL_MULTIPROC_PTHREAD \ GDAL_USE_EXTERNAL_LIBS \ GDAL_USE_GEOTIFF \ GDAL_USE_GIF \ GDAL_USE_ICONV \ GDAL_USE_JPEG \ GDAL_USE_JPEG12 \ GDAL_USE_JSONC \ GDAL_USE_LIBCSF \ GDAL_USE_LIBLZMA \ GDAL_USE_OPENSSL \ GDAL_USE_PNG \ GDAL_USE_QHULL \ GDAL_USE_SHAPELIB_INTERNAL \ GDAL_USE_TIFF \ GDAL_USE_ZLIB \ OGR_BUILD_OPTIONAL_DRIVERS \ OGR_SQLITE_ALLOW_LOAD_EXTENSIONS \ RENAME_INTERNAL_SHAPELIB_SYMBOLS \ USE_CCACHE USE_CXXSTD= c++17 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} CPE_VENDOR= osgeo HEADER_FILES= 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_odbc.h \ port/cpl_sha1.h \ port/cpl_sha256.h \ port/cpl_vsil_curl_priv.h \ port/cpl_worker_thread_pool.h OPTIONS_DEFINE= AEC ARMADILLO BLOSC BRUNSLI CFITSIO CRYPTOPP CURL DEFLATE ECW EXPAT EXR FREEXL GEOS GTA HDF5 HEIF JXL KEA KML LERC LIBXML2 LZ4 MYSQL NETCDF ODBC OPENDRIVE OPENJPEG PCRE2 PGSQL QB3 RASTERLITE2 SFCGAL SPATIALITE SQLITE TILEDB WEBP XERCES ZSTD OPTIONS_RADIO= PDF OPTIONS_RADIO_PDF= PODOFO POPPLER OPTIONS_DEFAULT=AEC CURL DEFLATE EXPAT FREEXL GEOS LERC LIBXML2 LZ4 OPENJPEG PCRE2 PGSQL POPPLER WEBP ZSTD \ HDF5 KML NETCDF SPATIALITE SFCGAL SQLITE XERCES OPTIONS_EXCLUDE_powerpc= LERC OPTIONS_EXCLUDE_powerpc64= LERC OPTIONS_SUB= yes AEC_DESC= Adaptive entropy coding library BLOSC_DESC= Blosc support in Zarr driver BRUNSLI_DESC= Brunsli support via libbrunsli library CRYPTOPP_DESC= Cryptopp support DEFLATE_DESC= Faster deflate support via libdeflate library EXR_DESC= EXR support via OpenEXR library KEA_DESC= KEA format support LERC_DESC= LERC (Limited Error Raster Compression) support OPENDRIVE_DESC= OpenDRIVE format support PCRE2_DESC= Regular expression support for SQLite QB3_DESC= QB3 compression in MRF driver RASTERLITE2_DESC= RasterLite2 support TILEDB_DESC= TileDB support AEC_CMAKE_BOOL= GDAL_USE_LIBAEC AEC_LIB_DEPENDS= libaec.so:science/libaec ARMADILLO_CMAKE_BOOL= GDAL_USE_ARMADILLO ARMADILLO_LIB_DEPENDS= libarmadillo.so:math/armadillo BLOSC_CMAKE_BOOL= GDAL_USE_BLOSC BLOSC_LIB_DEPENDS= libblosc.so:archivers/c-blosc BRUNSLI_CMAKE_BOOL= GDAL_USE_BRUNSLI BRUNSLI_LIB_DEPENDS= libbrunslidec-c.so:graphics/brunsli CFITSIO_CMAKE_BOOL= GDAL_USE_CFITSIO CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio CRYPTOPP_CMAKE_BOOL= GDAL_USE_CRYPTOPP CRYPTOPP_LIB_DEPENDS= libcryptopp.so:security/cryptopp CURL_CMAKE_BOOL= GDAL_USE_CURL CURL_LIB_DEPENDS= libcurl.so:ftp/curl DEFLATE_CMAKE_BOOL= GDAL_USE_DEFLATE DEFLATE_LIB_DEPENDS= libdeflate.so:archivers/libdeflate ECW_CMAKE_BOOL= GDAL_USE_ECW ECW_LIB_DEPENDS= libNCSEcw.so:graphics/libecwj2 EXPAT_CMAKE_BOOL= GDAL_USE_EXPAT EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 EXR_CFLAGS= -DInt64=uint64_t EXR_CMAKE_BOOL= GDAL_USE_EXR EXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr FREEXL_CMAKE_BOOL= GDAL_USE_FREEXL FREEXL_LIB_DEPENDS= libfreexl.so:textproc/freexl GEOS_CMAKE_BOOL= GDAL_USE_GEOS GEOS_LIB_DEPENDS= libgeos.so:graphics/geos GTA_CMAKE_BOOL= GDAL_USE_GTA GTA_LIB_DEPENDS= libgta.so:devel/libgta HDF5_CMAKE_BOOL= GDAL_USE_HDF5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HEIF_CMAKE_BOOL= GDAL_USE_HEIF HEIF_LIB_DEPENDS= libheif.so:graphics/libheif JXL_CMAKE_BOOL= GDAL_USE_JXL GDAL_USE_JXL_THREADS JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl KEA_CMAKE_BOOL= GDAL_USE_KEA KEA_LIB_DEPENDS= libkea.so:graphics/kealib KML_CMAKE_BOOL= GDAL_USE_LIBKML KML_LIB_DEPENDS= libkmlbase.so:science/libkml \ liburiparser.so:net/uriparser KML_USES= minizip LERC_CMAKE_BOOL= GDAL_USE_LERC LERC_LIB_DEPENDS= libLerc.so:graphics/lerc LIBXML2_CMAKE_BOOL= GDAL_USE_LIBXML2 LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 LZ4_CMAKE_BOOL= GDAL_USE_LZ4 LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 MYSQL_CMAKE_BOOL= GDAL_USE_MYSQL MYSQL_USES= mysql NETCDF_CMAKE_BOOL= GDAL_USE_NETCDF NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf ODBC_CMAKE_BOOL= GDAL_USE_ODBC ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC OPENJPEG_BUILD_DEPENDS= openjpeg>=2.1.0:graphics/openjpeg OPENJPEG_CMAKE_BOOL= GDAL_USE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENDRIVE_CMAKE_BOOL= GDAL_USE_OPENDRIVE OPENDRIVE_LIB_DEPENDS= libOpenDrive.so:graphics/libopendrive PCRE2_CMAKE_BOOL= GDAL_USE_PCRE2 PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PGSQL_CMAKE_BOOL= GDAL_USE_POSTGRESQL PGSQL_USES= pgsql PODOFO_CMAKE_BOOL= GDAL_USE_PODOFO PODOFO_LIB_DEPENDS= libpodofo.so:graphics/podofo POPPLER_CMAKE_BOOL= GDAL_USE_POPPLER POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler QB3_CMAKE_BOOL= GDAL_USE_LIBQB3 QB3_LIB_DEPENDS= libQB3.so:graphics/qb3 RASTERLITE2_CMAKE_BOOL= GDAL_USE_RASTERLITE2 RASTERLITE2_LIB_DEPENDS=librasterlite2.so:graphics/librasterlite2 SFCGAL_CMAKE_BOOL= GDAL_USE_SFCGAL SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal SPATIALITE_CMAKE_BOOL= GDAL_USE_SPATIALITE SPATIALITE_LIB_DEPENDS= libspatialite.so:databases/spatialite SQLITE_CMAKE_BOOL= GDAL_USE_SQLITE3 SQLITE_USES= sqlite TILEDB_CMAKE_BOOL= GDAL_USE_TILEDB TILEDB_LIB_DEPENDS= libtiledb.so:databases/tiledb WEBP_CMAKE_BOOL= GDAL_USE_WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XERCES_CMAKE_BOOL= GDAL_USE_XERCESC XERCES_LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 ZSTD_CMAKE_BOOL= GDAL_USE_ZSTD ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd .include .if ${ARCH} == powerpc || ${ARCH} == powerpc64 PLIST_SUB+= BIGENDIAN="@comment " .else PLIST_SUB+= BIGENDIAN="" .endif # Clean up bundled libraries .if !defined(MAINTAINER_MODE) EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/alg/internal_libqhull \ --exclude ${DISTNAME}/frmts/gif/giflib \ --exclude ${DISTNAME}/frmts/gtiff/libgeotiff \ --exclude ${DISTNAME}/frmts/jpeg/libjpeg \ --exclude ${DISTNAME}/frmts/jpeg/libjpeg12 \ --exclude ${DISTNAME}/frmts/png/libpng \ --exclude ${DISTNAME}/frmts/zlib \ --exclude ${DISTNAME}/ogr/ogrsf_frmts/geojson/libjson \ --exclude ${DISTNAME}/third_party/fast_float \ --exclude ${DISTNAME}/third_party/LercLib \ --exclude ${DISTNAME}/third_party/libertiff \ --no-same-owner --no-same-permissions .else post-patch: @${RM} -r ${WRKSRC}/alg/internal_libqhull/ @${RM} -r ${WRKSRC}/frmts/gif/giflib/ @${RM} -r ${WRKSRC}/frmts/gtiff/libgeotiff/ # @${RM} -r ${WRKSRC}/frmts/gtiff/libtiff/ # tif_lerc.c, tif_lzw.c, tif_packbits.c @${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/fast_float/ @${RM} -r ${WRKSRC}/third_party/LercLib/ @${RM} -r ${WRKSRC}/third_party/libertiff/ .endif 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/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdal.so .include diff --git a/graphics/gpaint/Makefile b/graphics/gpaint/Makefile index 6621ba5d2ff3..88dcad028267 100644 --- a/graphics/gpaint/Makefile +++ b/graphics/gpaint/Makefile @@ -1,34 +1,35 @@ PORTNAME= gpaint DISTVERSIONPREFIX= 2- DISTVERSION= 0.3.4 +PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= GNU_ALPHA MAINTAINER= ports@FreeBSD.org COMMENT= Small-scale painting program for GNOME WWW= https://www.gnu.org/software/gpaint/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome libtool pkgconfig USE_GNOME= gtk20 libglade2 GNU_CONFIGURE= yes LIBS+= -lm PLIST_FILES= ${DATADIR}/glade/gpaint.glade \ bin/gpaint-2 .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e \ 's|_RESPONSE_DISCARD|_RESPONSE_NO|g' ${WRKSRC}/src/drawing.c .include diff --git a/graphics/iccxml/Makefile b/graphics/iccxml/Makefile index 24ae8f35c1f8..a1f6f1997828 100644 --- a/graphics/iccxml/Makefile +++ b/graphics/iccxml/Makefile @@ -1,27 +1,27 @@ PORTNAME= iccxml PORTVERSION= 0.9.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/IccXML-Src/${DISTNAME} DISTNAME= IccXML-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tools for reading and writing the ICC profile contents as XML files WWW= http://iccxml.sourceforge.net/ LIB_DEPENDS= libSampleICC.so:graphics/sampleicc USES= gmake gnome libtool pathfix pkgconfig USE_CXXSTD= c++14 USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e 's,return NULL,return false,' \ ${WRKSRC}/IccLibXML/IccProfileXml.cpp .include diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile index f05e4b1a89e3..bdf08a8cfb18 100644 --- a/graphics/inkscape/Makefile +++ b/graphics/inkscape/Makefile @@ -1,128 +1,128 @@ PORTNAME= inkscape DISTVERSION= 1.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics gnome MASTER_SITES= https://media.inkscape.org/dl/resources/file/ PATCH_SITES= https://gitlab.com/${PORTNAME}/${PORTNAME}/-/commit/ PATCHFILES+= eb6dadcf1a5c660167ba43f3606c8e7cc6529787.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/merge_requests/6755 PATCHFILES+= 49604afa97be08608b65687633b1373eb9cf524b.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/merge_requests/6839 PATCHFILES+= b1bd016ee3f91f3f5b2dbb928655eb049e8f62e4.patch:-p1 \ 8abd30721e9bf5b15d705657d8e3a2103593e2f3.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/merge_requests/6857 PATCHFILES+= 9754274ea0ee76d9888ec0b306885ecba6926702.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/merge_requests/6981 MAINTAINER= gnome@FreeBSD.org COMMENT= Full featured open source SVG editor WWW= https://inkscape.org LICENSE= GPLv2 GPLv2+ GPLv3 GPLv3+ LGPL21 LGPL3 LGPL3+ MPL11 LICENSE_COMB= multi LICENSE_FILE_GPLv2 = ${WRKSRC}/LICENSES/GPL-2.0.txt LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt LICENSE_FILE_GPLv3 = ${WRKSRC}/LICENSES/GPL-3.0.txt LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt LICENSE_FILE_LGPL21 = ${WRKSRC}/LICENSES/LGPL-2.1.txt LICENSE_FILE_LGPL3 = ${WRKSRC}/LICENSES/LGPL-3.0.txt LICENSE_FILE_LGPL3+ = ${WRKSRC}/LICENSES/LGPL-3.0-or-later.txt LICENSE_FILE_MPL11 = ${WRKSRC}/LICENSES/MPL-1.1.txt BUILD_DEPENDS= ragel:devel/ragel LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libgc.so:devel/boehm-gc \ libgsl.so:math/gsl \ liblcms2.so:graphics/lcms2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpotrace.so:graphics/libpotrace \ libpng.so:graphics/png \ libenchant-2.so:textproc/enchant2 \ libepoxy.so:graphics/libepoxy \ lib2geom.so:math/lib2geom RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cachecontrol>0:www/py-cachecontrol@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect>0:www/py-cssselect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>=3.7.1:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scour>0:textproc/py-scour@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tinycss2>0:textproc/py-tinycss2@${PY_FLAVOR} \ fig2dev:print/fig2dev TEST_DEPENDS= googletest>0:devel/googletest \ bash:shells/bash USES= compiler:c++20-lang cmake:testing cpe desktop-file-utils ghostscript:run \ gnome jpeg pathfix pkgconfig python \ readline shebangfix tar:xz xorg USE_GNOME= cairo gdkpixbuf glibmm gtkmm30 gtksourceview4 libxml2 libxslt USE_PYTHON= cython USE_XORG= sm ice x11 xext USE_LDCONFIG= yes DATETAG= 2024-10-09_e7c3feb100 WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}_${DATETAG} BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= share/extensions/*.py share/extensions/genpofiles.sh \ share/templates/*.py man/fix-roff-punct OPTIONS_DEFINE= OPENMP POPPLER SCRIBUS VISIO CDR WPG GVFS NLS GSPELL OPTIONS_DEFAULT= POPPLER VISIO CDR WPG GM GSPELL OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_powerpc64= OPENMP OPTIONS_DEFAULT_powerpc64le= OPENMP OPTIONS_RADIO= IMAGICK OPTIONS_RADIO_IMAGICK= IMAGICK6 GM OPTIONS_SUB= yes CDR_DESC= Support for CorelDRAW graphics CDR_CMAKE_BOOL= WITH_LIBCDR CDR_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libcdr-0.1.so:graphics/libcdr01 GVFS_USE= GNOME=gvfs OPENMP_CMAKE_BOOL= WITH_OPENMP POPPLER_DESC= PDF preview rendering POPPLER_CMAKE_BOOL= ENABLE_POPPLER ENABLE_POPPLER_CAIRO POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler \ libpoppler-glib.so:graphics/poppler-glib SCRIBUS_DESC= Support color-managed PDF export using Scribus (experimental) SCRIBUS_RUN_DEPENDS= scribus:print/scribus VISIO_DESC= Support for Microsoft Visio diagrams VISIO_CMAKE_BOOL= WITH_LIBVISIO VISIO_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libvisio-0.1.so:textproc/libvisio01 WPG_DESC= Support for WordPerfect graphics WPG_CMAKE_BOOL= WITH_LIBWPG WPG_LIB_DEPENDS= libwpg-0.3.so:graphics/libwpg03 IMAGICK_DESC= Raster image format library IMAGICK6_DESC= Use ImageMagick6 IMAGICK6_USES= magick:6 IMAGICK6_CMAKE_BOOL= WITH_IMAGE_MAGICK GM_DESC= Use GraphicsMagick GM_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick GM_CMAKE_BOOL= WITH_GRAPHICS_MAGICK NLS_CMAKE_BOOL= WITH_NLS NLS_USES= gettext GSPELL_DESC= Support for spell checking through gspell GSPELL_CMAKE_BOOL= WITH_GSPELL GSPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell post-patch: @${REINPLACE_CMD} -e 's|COMMAND python3|COMMAND ${PYTHON_VERSION}|g' \ ${WRKSRC}/share/*/CMakeLists.txt # Third entry in the table of interpreters is basename of executable @${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_VERSION}"|g' \ ${WRKSRC}/src/extension/implementation/script.cpp @${TOUCH} ${WRKSRC}/share/extensions/gcodetools_check_for_updates.inx.h .include diff --git a/graphics/libetonyek01/Makefile b/graphics/libetonyek01/Makefile index 680979c9bd0e..ec330333ec5a 100644 --- a/graphics/libetonyek01/Makefile +++ b/graphics/libetonyek01/Makefile @@ -1,38 +1,39 @@ PORTNAME= libetonyek DISTVERSION= 0.1.12 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= LODEV/${PORTNAME} PKGNAMESUFFIX= 01 MAINTAINER= office@FreeBSD.org COMMENT= Library to interpret and import Apple Keynote presentations WWW= https://wiki.documentfoundation.org/DLP/Libraries/libetonyek LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/mdds-${MDDS_VERSION}/mdds/global.hpp:devel/mdds \ ${LOCALBASE}/include/boost/any.hpp:devel/boost-libs \ ${LOCALBASE}/include/glm/glm.hpp:math/glm LIB_DEPENDS= librevenge-0.0.so:textproc/librevenge \ liblangtag.so:devel/liblangtag USES= compiler:c++17-lang gnome libtool localbase pathfix pkgconfig \ tar:xz USE_CXXSTD= c++17 USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes MDDS_VERSION= 2.1 INSTALL_TARGET= install-strip PLIST_SUB= LIBVERSION=1.0.${PORTVERSION:E} CONFIGURE_ARGS= --disable-tests --disable-werror --without-docs \ --with-mdds=${MDDS_VERSION} .include diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile index 529ea779fd27..10e9ddfdcf9a 100644 --- a/graphics/libgphoto2/Makefile +++ b/graphics/libgphoto2/Makefile @@ -1,60 +1,61 @@ PORTNAME= libgphoto2 PORTVERSION= 2.5.31 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/gphoto/libgphoto/${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Universal digital camera control library WWW= http://www.gphoto.org/proj/libgphoto2/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libltdl.so:devel/libltdl USES= gnome libtool pathfix pkgconfig tar:xz USE_GNOME= libxml2 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes PATHFIX_MAKEFILEIN= Makefile.in \ configure \ libgphoto2_port/Makefile.in \ libgphoto2_port/configure PLIST_SUB= VERSION=${PORTVERSION} VERSION_PORT=0.12.2 OPTIONS_DEFINE= CURL DOCS GD JPEG LIBEXIF NLS OPTIONS_DEFAULT= CURL GD JPEG LIBEXIF OPTIONS_SUB= yes CURL_DESC= Lumix WiFi support via cURL CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_OFF= --with-libcurl=no GD_DESC= libGD conversion support GD_LIB_DEPENDS= libgd.so:graphics/gd GD_CONFIGURE_OFF= --with-gdlib=no JPEG_DESC= JPEG image mangling support JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --without-jpeg LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_CONFIGURE_OFF= --with-libexif=no NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls post-patch: .for i in configure libgphoto2_port/configure @${REINPLACE_CMD} -e \ '/FLAGS/s|-g|| ; \ /grep -i linux/s|; fi ; then|; else false; fi ; then|' \ ${WRKSRC}/${i} .endfor @${REINPLACE_CMD} -e \ '/^doc_DATA/s|COPYING||' \ ${WRKSRC}/Makefile.in .include diff --git a/graphics/librasterlite2/Makefile b/graphics/librasterlite2/Makefile index d9c6b0779455..c787276f20fb 100644 --- a/graphics/librasterlite2/Makefile +++ b/graphics/librasterlite2/Makefile @@ -1,40 +1,40 @@ PORTNAME= librasterlite2 PORTVERSION= 1.1.0 -PORTREVISION= 11 +PORTREVISION= 12 DISTVERSIONSUFFIX=-beta1 CATEGORIES= graphics geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/librasterlite2-sources/ MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Library that stores and retrieves raster coverages using a SpatiaLite WWW= https://www.gaia-gis.it/fossil/librasterlite2/index LICENSE= MPL11 GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libzstd.so:archivers/zstd \ libspatialite.so:databases/spatialite \ libgeotiff.so:graphics/libgeotiff \ libjbig.so:graphics/jbigkit \ libpng.so:graphics/png \ libgif.so:graphics/giflib \ libgeos.so:graphics/geos \ libproj.so:graphics/proj \ libopenjp2.so:graphics/openjpeg \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ libcairo.so:graphics/cairo \ libcurl.so:ftp/curl \ libfreexl.so:textproc/freexl GNU_CONFIGURE= yes USES= gmake iconv jpeg libtool pathfix pkgconfig sqlite USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -lsqlite3 -lm .include diff --git a/graphics/librsvg2-rust/Makefile b/graphics/librsvg2-rust/Makefile index 008b63dffe83..d306723911fe 100644 --- a/graphics/librsvg2-rust/Makefile +++ b/graphics/librsvg2-rust/Makefile @@ -1,54 +1,54 @@ PORTNAME= librsvg DISTVERSION= 2.60.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 2-rust # XXX Teach USES=cargo to have proper default DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= desktop@FreeBSD.org COMMENT= Library for parsing and rendering SVG vector-graphic files WWW= https://live.gnome.org/LibRsvg LICENSE= LGPL20 BUILD_DEPENDS= cargo-cbuild:devel/cargo-c \ rst2man:textproc/py-docutils LIB_DEPENDS= libdav1d.so:multimedia/dav1d \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png TEST_DEPENDS= urw-base35-fonts>0:x11-fonts/urw-base35-fonts USES= cargo compiler:c11 cpe gettext gnome meson pkgconfig \ python:build shebangfix tar:xz vala:build CPE_VENDOR= gnome SHEBANG_FILES= meson/*.py \ benchmarks/*.py \ gdk-pixbuf-loader/*.py USE_GNOME= cairo gdkpixbuf libxml2 pango introspection:build USE_LDCONFIG= yes CONFLICTS_INSTALL= librsvg2 PORTSCOUT= limitw:1,even CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no CONFIGURE_ENV= ${CARGO_ENV} MAKE_ENV= ${CARGO_ENV} MESON_ARGS= -Dtests=true OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen DOCS_MESON_ENABLED= docs post-install-DOCS-off: ${LOCALBASE}/bin/rst2man --no-datestamp ${WRKSRC}/rsvg-convert.rst --output=${STAGEDIR}${PREFIX}/share/man/man1/rsvg-convert.1 .include diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile index b14cdd8cd863..9bc0e9c458be 100644 --- a/graphics/librsvg2/Makefile +++ b/graphics/librsvg2/Makefile @@ -1,58 +1,58 @@ PORTNAME= librsvg PORTVERSION= 2.40.21 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 2 DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Library for parsing and rendering SVG vector-graphic files WWW= https://live.gnome.org/LibRsvg LICENSE= GPLv2 LGPL20 LICENSE_COMB= multi LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libpng.so:graphics/png \ libcroco-0.6.so:textproc/libcroco USES= cpe gmake gnome libtool localbase pathfix pkgconfig tar:xz USE_GNOME= cairo gnomeprefix gdkpixbuf introspection:build \ libxml2 pango CPE_VENDOR= gnome USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip TEST_TARGET= check CONFIGURE_ARGS= --disable-Bsymbolic DOCSDIR?= ${PREFIX}/share/doc GNOME_HTML_DIR= ${DOCSDIR} PLIST_SUB+= PORTVERSION=${PORTVERSION} CONFLICTS_INSTALL= librsvg2-rust # librsvg2 2.42+ needs rust to build, which is not available on all # FreeBSD archs. So limit pure C version 2.40.x. PORTSCOUT= limit:^2\.40\. OPTIONS_DEFINE= DOCS VAPI OPTIONS_DEFAULT= DOCS VAPI OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_CONFIGURE_ENABLE= gtk-doc gtk-doc-html VAPI_USES= vala:build VAPI_CONFIGURE_ON= --enable-vala=yes VAPI_CONFIGURE_OFF= --enable-vala=no post-patch: @${REINPLACE_CMD} -e 's|GTK3_REQUIRED=3.[0-9][0-9].[0-9]|GTK3_REQUIRED=9.90.0|g' \ ${WRKSRC}/configure .include diff --git a/graphics/mapnik/Makefile b/graphics/mapnik/Makefile index 86242dcdde9e..1d31f4d9ec53 100644 --- a/graphics/mapnik/Makefile +++ b/graphics/mapnik/Makefile @@ -1,150 +1,151 @@ PORTNAME= mapnik DISTVERSIONPREFIX= v DISTVERSION= 4.1.0 +PORTREVISION= 1 CATEGORIES= graphics geography MAINTAINER= hummeltech@sherpaguru.com COMMENT= Free Toolkit For Developing Mapping Applications WWW= http://www.mapnik.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu \ protozero>0:devel/protozero LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \ libboost_regex.so:devel/boost-libs \ libboost_system.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libicuuc.so:devel/icu RUN_DEPENDS= dejavu>0:x11-fonts/dejavu USE_GITHUB= yes GH_ACCOUNT= mapnik GH_PROJECT= mapnik GH_TUPLE= mapbox:geometry.hpp:c83a2ab:geometry_hpp/deps/mapbox/geometry \ mapbox:polylabel:51f09d0:polylabel/deps/mapbox/polylabel \ mapbox:variant:a2a4858:variant/deps/mapbox/variant \ mapnik:mapnik-vector-tile:5a0cfbb:mapnik_vector_tile/deps/mapbox/mapnik-vector-tile \ catchorg:Catch2:v2.13.10:catch2/test/catch2 \ mapnik:test-data:41c4cee:test_data/test/data USES= compiler:c++20-lang cmake:testing gnome pkgconfig USE_GNOME= libxml2 USE_LDCONFIG= yes CMAKE_ARGS= -DFONTS_INSTALL_DIR:PATH=share/fonts/dejavu CMAKE_ON= USE_EXTERNAL_MAPBOX_PROTOZERO OPTIONS_DEFINE= CAIRO DOCS JPEG PNG PROJ TIFF WEBP OPTIONS_DEFAULT= CAIRO JPEG PNG PROJ TIFF WEBP \ GDAL OGR PGRASTER POSTGIS SQLITE3 \ TESTING \ GEOMETRY_TO_WKB MAPNIK_INDEX MAPNIK_RENDER PGSQL2SQLITE SHAPEINDEX SVG2PNG OPTIONS_GROUP= INPUT TESTS UTILS OPTIONS_GROUP_INPUT= GDAL OGR PGRASTER POSTGIS SQLITE3 OPTIONS_GROUP_TESTS= BENCHMARK DEMO_CPP DEMO_VIEWER TESTING OPTIONS_GROUP_UTILS= GEOMETRY_TO_WKB MAPNIK_INDEX MAPNIK_RENDER OGRINDEX PGSQL2SQLITE SHAPEINDEX SVG2PNG OPTIONS_SUB= yes JPEG_CMAKE_BOOL= USE_JPEG JPEG_USES= jpeg PNG_CMAKE_BOOL= USE_PNG PNG_LIB_DEPENDS= libpng.so:graphics/png TIFF_CMAKE_BOOL= USE_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CMAKE_BOOL= USE_WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp CAIRO_DESC= Enable cairo rendering PROJ_DESC= Enable PROJ support INPUT_DESC= Input plugins GDAL_DESC= GDAL input plugin OGR_DESC= OGR input plugin PGRASTER_DESC= PGraster input plugin POSTGIS_DESC= PostGIS input plugin SQLITE3_DESC= SQLite input plugin TESTS_DESC= Tests & Demos, etc. BENCHMARK_DESC= Benchmark project DEMO_CPP_DESC= Demo c++ application DEMO_VIEWER_DESC= Demo viewer TESTING_DESC= Tests UTILS_DESC= Utilities GEOMETRY_TO_WKB_DESC= geometry_to_wkb utility MAPNIK_INDEX_DESC= mapnik_index utility MAPNIK_RENDER_DESC= mapnik_render utility OGRINDEX_DESC= ogrindex utility (currently doesn't build) PGSQL2SQLITE_DESC= pgsql2sqlite utility SHAPEINDEX_DESC= shapeindex utility SVG2PNG_DESC= svg2png utility CAIRO_CMAKE_BOOL= USE_CAIRO CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo PROJ_CMAKE_BOOL= USE_PROJ PROJ_LIB_DEPENDS= libproj.so:graphics/proj GDAL_CMAKE_BOOL= USE_PLUGIN_INPUT_GDAL GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal OGR_CMAKE_BOOL= USE_PLUGIN_INPUT_OGR OGR_LIB_DEPENDS= libgdal.so:graphics/gdal PGRASTER_CMAKE_BOOL= USE_PLUGIN_INPUT_PGRASTER PGRASTER_USES= pgsql POSTGIS_CMAKE_BOOL= USE_PLUGIN_INPUT_POSTGIS POSTGIS_USES= pgsql SQLITE3_CMAKE_BOOL= USE_PLUGIN_INPUT_SQLITE SQLITE3_USES= sqlite:3 BENCHMARK_CMAKE_BOOL= BUILD_BENCHMARK DEMO_CPP_CMAKE_BOOL= BUILD_DEMO_CPP DEMO_VIEWER_CMAKE_BOOL= BUILD_DEMO_VIEWER TESTING_CMAKE_BOOL= BUILD_TESTING GEOMETRY_TO_WKB_CMAKE_BOOL= BUILD_UTILITY_GEOMETRY_TO_WKB MAPNIK_INDEX_CMAKE_BOOL= BUILD_UTILITY_MAPNIK_INDEX MAPNIK_RENDER_CMAKE_BOOL= BUILD_UTILITY_MAPNIK_RENDER OGRINDEX_CMAKE_BOOL= BUILD_UTILITY_OGRINDEX PGSQL2SQLITE_CMAKE_BOOL= BUILD_UTILITY_PGSQL2SQLITE SHAPEINDEX_CMAKE_BOOL= BUILD_UTILITY_SHAPEINDEX SVG2PNG_CMAKE_BOOL= BUILD_UTILITY_SVG2PNG # MB/PMTiles input plugin (added in 4.1.0) will not compile on i386 without a patch .include .if ${ARCH} == i386 CMAKE_OFF= USE_PLUGIN_INPUT_TILES PLIST_SUB+= NOTI386="@comment " .else PLIST_SUB+= NOTI386="" .endif pre-configure-SQLITE3-on: @if ! ${LOCALBASE}/bin/sqlite3 :memory: 'create virtual table foo using rtree(pkid, xmin, xmax, ymin, ymax)' > /dev/null 2>&1; then \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "The SQLite plugin requires libsqlite3 built with RTREE support"; \ ${ECHO_MSG} "Please, reinstall 'databases/sqlite3' port with R*Tree module enabled"; \ ${ECHO_MSG} "" ; \ ${FALSE} ; \ fi post-patch: @${REINPLACE_CMD} -e 's#GIT_REPOSITORY https://github.com/catchorg/Catch2.git#SOURCE_DIR ${WRKSRC}/test/catch2)#g' \ -e 's#GIT_TAG v2.13.7)##g' \ ${WRKSRC}/test/CMakeLists.txt post-install: @${RM} -r ${STAGEDIR}${PREFIX}/share/fonts @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mapnik/input/*.input post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS.md CHANGELOG.md CODE_OF_CONDUCT.md INSTALL.md README.md ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/docs @cd ${WRKSRC} && ${INSTALL_DATA} docs/* ${STAGEDIR}${DOCSDIR}/docs .include diff --git a/graphics/mapserver/Makefile b/graphics/mapserver/Makefile index b4063e29fcdc..04fd0725c71e 100644 --- a/graphics/mapserver/Makefile +++ b/graphics/mapserver/Makefile @@ -1,136 +1,136 @@ PORTNAME= mapserver DISTVERSION= 8.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics www geography MASTER_SITES= https://download.osgeo.org/${PORTNAME}/ \ https://github.com/MapServer/MapServer/releases/download/rel-${DISTVERSION:S|.|-|g}/ MAINTAINER= wen@FreeBSD.org COMMENT= System for developing web-based GIS applications WWW= https://mapserver.org/ LICENSE= MIT LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libproj.so:graphics/proj USES= cmake compiler:c++11-lang cpe gnome iconv jpeg \ localbase:ldflags CPE_VENDOR= osgeo USE_GNOME= libxml2 CMAKE_OFF= WITH_CSHARP \ WITH_JAVA \ WITH_MYSQL \ WITH_ORACLE_PLUGIN \ WITH_ORACLESPATIAL \ WITH_PIXMAN \ WITH_RUBY \ WITH_SVGCAIRO \ WITH_THREAD_SAFETY \ WITH_V8 CMAKE_ON= CMAKE_SKIP_RPATH \ WITH_FRIBIDI \ WITH_GEOS \ WITH_GIF \ WITH_HARFBUZZ \ WITH_ICONV \ WITH_KML \ WITH_LIBXML2 \ WITH_OGCAPI \ WITH_POSTGIS \ WITH_SOS \ WITH_WMS CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_MySQL:BOOL=True \ -DCMAKE_DISABLE_FIND_PACKAGE_PIXMAN:BOOL=True \ -DCMAKE_DISABLE_FIND_PACKAGE_SVGCairo:BOOL=True \ -DCMAKE_DISABLE_FIND_PACKAGE_V8:BOOL=True OPTIONS_DEFINE= CAIRO CURL EXEMPI FASTCGI LIBRSVG2 PERL PHPNG \ POSTGIS PROTOBUFC PYTHON WCS WFS XMLMAPFILE OPTIONS_DEFAULT= CAIRO CURL FASTCGI LIBRSVG2 POSTGIS PROTOBUFC WCS WFS OPTIONS_SUB= yes EXEMPI_DESC= XMP Metadata support PHPNG_DESC= PHPNG (SWIG) mapscript support PROTOBUFC_DESC= Protocol buffers support (req. for vector tiles) WFS_DESC= WFS Server support WCS_DESC= WCS Server support XMLMAPFILE_DESC= XML mapfile support CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo CAIRO_CMAKE_BOOL= WITH_CAIRO CAIRO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Cairo:BOOL=True CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CMAKE_BOOL= WITH_CURL WITH_CLIENT_WFS WITH_CLIENT_WMS CURL_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_CURL:BOOL=True EXEMPI_LIB_DEPENDS= libexempi.so:textproc/exempi EXEMPI_CURL_BOOL= WITH_EXEMPI EXEMPI_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Exempi:BOOL=True FASTCGI_LIB_DEPENDS= libfcgi.so:www/fcgi FASTCGI_CMAKE_BOOL= WITH_FCGI FASTCGI_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_FCGI:BOOL=True LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_CMAKE_BOOL= WITH_RSVG LIBRSVG2_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_RSVG:BOOL=True LIBRSVG2_IMPLIES= CAIRO PERL_BUILD_DEPEDNS= swig:devel/swig PERL_USES= perl5 PERL_CMAKE_BOOL= WITH_PERL PHPNG_BUILD_DEPENDS= swig:devel/swig PHPNG_CMAKE_BOOL= WITH_PHPNG POSTGIS_USES= pgsql POSTGIS_CMAKE_BOOL= WITH_POSTGIS POSTGIS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PostgreSQL:BOOL=True PROTOBUFC_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c PROTOBUFC_CMAKE_BOOL= WITH_PROTOBUFC PROTOBUFC_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_ProtobufC:BOOL=True PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_USES= python PYTHON_CMAKE_BOOL= WITH_PYTHON WCS_CMAKE_BOOL= WITH_WCS WFS_CMAKE_BOOL= WITH_WFS XMLMAPFILE_USE= GNOME=libxslt XMLMAPFILE_CMAKE_BOOL= WITH_XMLMAPFILE XMLMAPFILE_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_LibXslt:BOOL=True do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/legend ${STAGEDIR}${PREFIX}/bin/mapserver_legend ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/mapserv ${STAGEDIR}${PREFIX}/bin/mapserver_mapserv ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/msencrypt ${STAGEDIR}${PREFIX}/bin/mapserver_msencrypt ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/scalebar ${STAGEDIR}${PREFIX}/bin/mapserver_scalebar ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/shptree ${STAGEDIR}${PREFIX}/bin/mapserver_shptree ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/shptreetst ${STAGEDIR}${PREFIX}/bin/mapserver_shptreetst ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/shptreevis ${STAGEDIR}${PREFIX}/bin/mapserver_shptreevis ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/sortshp ${STAGEDIR}${PREFIX}/bin/mapserver_sortshp ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/tile4ms ${STAGEDIR}${PREFIX}/bin/mapserver_tile4ms ${INSTALL_LIB} ${BUILD_WRKSRC}/libmapserver.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib ${RLN} libmapserver.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libmapserver.so.2 ${RLN} libmapserver.so.2 ${STAGEDIR}${PREFIX}/lib/libmapserver.so do-install-PYTHON-on: @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/ ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/src/mapscript/python/mapscript.py ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_LIB} ${BUILD_WRKSRC}/src/mapscript/python/_mapscript.so ${STAGEDIR}${PYTHON_SITELIBDIR} .include diff --git a/graphics/minder/Makefile b/graphics/minder/Makefile index 8b22d90e9cb5..aaa5242e945c 100644 --- a/graphics/minder/Makefile +++ b/graphics/minder/Makefile @@ -1,37 +1,38 @@ PORTNAME= minder PORTVERSION= 1.17.0 +PORTREVISION= 1 CATEGORIES= graphics # avoid PKGBASE collision with net-p2p/minder PKGNAMESUFFIX= -app MAINTAINER= nc@FreeBSD.org COMMENT= Mind-mapping application WWW= https://github.com/phase1geo/Minder LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= discount>0:textproc/discount LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libgranite.so:x11-toolkits/granite \ libhandy-1.so:x11-toolkits/libhandy \ libmarkdown.so:textproc/discount USES= desktop-file-utils gettext gnome libarchive localbase:ldflags \ meson pkgconfig python:build shared-mime-info shebangfix vala:build USE_GITHUB= yes GH_ACCOUNT= phase1geo GH_PROJECT= Minder USE_GNOME= cairo gdkpixbuf glib20 gtk30 gtksourceview4 libxml2 pango GLIB_SCHEMAS= com.github.phase1geo.minder.gschema.xml SHEBANG_FILES= meson/post_install.py PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/nip2/Makefile b/graphics/nip2/Makefile index edd543bb23df..05cc0ee67ddf 100644 --- a/graphics/nip2/Makefile +++ b/graphics/nip2/Makefile @@ -1,63 +1,63 @@ PORTNAME= nip2 PORTVERSION= 8.7.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics MASTER_SITES= https://github.com/libvips/${PORTNAME}/releases/download/v${PORTVERSION}/ PATCH_SITES= https://github.com/libvips/${PORTNAME}/commit/ PATCHFILES+= 8bdb1459bc2.patch:-p1 # https://github.com/libvips/nip2/pull/96 MAINTAINER= ports@FreeBSD.org COMMENT= Graphical user interface for VIPS WWW= https://github.com/jcupitt/nip2 LICENSE= GPLv2 BUILD_DEPENDS= xdg-open:devel/xdg-utils LIB_DEPENDS= libvips.so:graphics/vips \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= xdg-open:devel/xdg-utils USES= bison cpe desktop-file-utils dos2unix gettext gmake gnome pkgconfig \ shared-mime-info CPE_VENDOR= ${PORTNAME}_project DOS2UNIX_GLOB= *.def USE_GNOME= cairo gdkpixbuf gtk20 libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+= --disable-update-desktop LDFLAGS+= -lm SUB_FILES= run-nip2.sh OPTIONS_DEFINE= DOCS FFTW GRAPHVIZ GSF GSL OPTIONS_DEFAULT= FFTW GRAPHVIZ GSF GSL FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW_CONFIGURE_WITH= fftw3 GRAPHVIZ_DESC= Use libgvc to show workspace dependency graphs GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CONFIGURE_WITH= libgvc GSF_DESC= Use libgsf to save plots to files GSF_USE= gnome=libgsf GSF_CONFIGURE_WITH= libgsf GSL_DESC= Use gsl for numeric functions GSL_LIB_DEPENDS= libgsl.so:math/gsl GSL_CONFIGURE_WITH= gsl post-install: (cd ${WRKDIR} && ${INSTALL_SCRIPT} run-nip2.sh \ ${STAGEDIR}/${PREFIX}/bin) test check: build # # Checks currently require ImageMagick's convert to be available # and aren't enabled by default. They take a long time -- tail # the log-file: # ${WRKSRC}/test/test_all.sh.log # (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check) .include diff --git a/graphics/opencollada/Makefile b/graphics/opencollada/Makefile index cdb5c673c2a8..be79b65ea1a7 100644 --- a/graphics/opencollada/Makefile +++ b/graphics/opencollada/Makefile @@ -1,27 +1,27 @@ PORTNAME= opencollada DISTVERSIONPREFIX= v PORTVERSION= 1.6.68 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for reading and writing COLLADA files WWW= http://opencollada.org/ \ https://github.com/KhronosGroup/OpenCOLLADA LICENSE= MIT LIB_DEPENDS= libpcre.so:devel/pcre USES= cmake compiler:c++11-lib dos2unix iconv localbase gnome pkgconfig USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= KhronosGroup GH_PROJECT= OpenCOLLADA CFLAGS+= -Wno-narrowing CMAKE_ON= USE_LIBXML USE_SHARED USE_STATIC USE_LDCONFIG= ${PREFIX}/lib/opencollada .include diff --git a/graphics/openfx-arena/Makefile b/graphics/openfx-arena/Makefile index cb589b0eb22b..71fa2eaf0a7b 100644 --- a/graphics/openfx-arena/Makefile +++ b/graphics/openfx-arena/Makefile @@ -1,68 +1,68 @@ PORTNAME= openfx-arena PORTVERSION= 2.4.3 DISTVERSIONPREFIX= Natron- -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= graphics MAINTAINER= olivier@FreeBSD.org COMMENT= Extra OpenFX plugins for Natron WWW= https://github.com/NatronGitHub/openfx-arena LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le BUILD_DEPENDS= opencl>=0:devel/opencl LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libfontconfig.so:x11-fonts/fontconfig \ libfribidi.so:converters/fribidi \ libcdr-0.1.so:graphics/libcdr01 \ librevenge-0.0.so:textproc/librevenge \ libpoppler-glib.so:graphics/poppler-glib \ liblcms2.so:graphics/lcms2 \ libzip.so:archivers/libzip \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libpcre.so:devel/pcre \ libffi.so:devel/libffi \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libharfbuzz.so:print/harfbuzz \ libgraphite2.so:graphics/graphite2 \ libicui18n.so:devel/icu \ liblqr-1.so:graphics/liblqr-1 \ libfftw3.so:math/fftw3 \ libltdl.so:devel/libltdl \ libpoppler.so:graphics/poppler \ libraqm.so:print/libraqm USES= compiler:c++20-lang gl gmake gnome iconv magick:6 ssl xorg USE_GITHUB= yes GH_ACCOUNT= NatronGitHub GH_TUPLE= NatronGitHub:openfx-supportext:79d8c22:openfx_supportext/SupportExt \ NatronGitHub:openfx:d5db5d0:openfx/OpenFX \ NatronGitHub:openfx-io:c6ad47b:OpenFX_IO/OpenFX-IO \ lvandeve:lodepng:5601b82:dummy/lodepng \ NatronGitHub:SequenceParsing:3c93fcc:SequenceParsing/OpenFX-IO/IOSupport/SequenceParsing \ NatronGitHub:tinydir:64fb1d4:tinydir/OpenFX-IO/IOSupport/SequenceParsing/tinydir MAKE_ENV+= CONFIG=release USE_GL= gl USE_GNOME= libxml2 pango cairo librsvg2 USE_XORG+= x11 xcb xau xdamage xfixes xft xxf86vm xrender xext xdmcp pixman sm ice xt MAKE_ENV+= CONFIG=release post-extract: @${RMDIR} ${WRKSRC}/OpenFX-IO/openfx ${LN} -s ../OpenFX ${WRKSRC}/OpenFX-IO/openfx post-patch: @${REINPLACE_CMD} -e 's|/usr/OFX/Plugins|${PREFIX}/OFX/Plugins|g' \ ${WRKSRC}/OpenFX/Examples/Makefile.master \ ${WRKSRC}/OpenFX/Support/Plugins/Makefile.master \ ${WRKSRC}/OpenFX/HostSupport/src/ofxhPluginCache.cpp @${REINPLACE_CMD} -e 's|/Contents/$$(ARCH)|/Contents/FreeBSD-x86-64/|g' \ ${WRKSRC}/OpenFX/Support/Plugins/Makefile.master post-install: ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/OFX/Plugins/Arena.ofx.bundle/Contents/FreeBSD-x86-64/Arena.ofx .include diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile index 092b897889ee..9a402f4840a0 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,149 +1,149 @@ PORTNAME= openimageio DISTVERSIONPREFIX= v DISTVERSION= 2.5.13.1 # PORTREVISION must be set with ?= so as not to stomp over # py-openimageio's PORTREVISION. # Also, just to be on the safe side, when resetting, # best keep PORTREVISION?= 0. -PORTREVISION?= 8 +PORTREVISION?= 9 CATEGORIES?= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= OpenImageIO graphics library WWW= https://www.openimageio.org/ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/include/tsl/robin_map.h:devel/robin-map \ libfmt>10.0.0:devel/libfmt \ libjpeg-turbo>3.0.0:graphics/libjpeg-turbo LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libOpenEXR.so:graphics/openexr \ libheif.so:graphics/libheif \ libpng.so:graphics/png \ libpugixml.so:textproc/pugixml \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp RUN_DEPENDS= libfmt>10.0.0:devel/libfmt \ libjpeg-turbo>3.0.0:graphics/libjpeg-turbo USES= cmake jpeg compiler:c++17-lang iconv:wchar_t USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation GH_PROJECT= OpenImageIO CMAKE_ARGS= -DCMAKE_CXX_STANDARD:INTEGER=17 # OpenVDB uses the C++17 STL # feature std::tuple_size_v; since the slave port py-openimageio excludes # options - this is a global line here CMAKE_ON= BUILD_SHARED_LIBS USE_EXTERNAL_PUGIXML CMAKE_OFF= BUILD_FMT_FORCE BUILD_MISSING_FMT INSTALL_FONTS INTERNALIZE_FMT \ LINKSTATIC OIIO_DOWNLOAD_MISSING_TESTDATA OIIO_USING_FMT_LOCAL \ STOP_ON_WARNING SHL1= ${PORTVERSION:R:R:R} SHL2= ${PORTVERSION:R:R} SHL3= ${PORTVERSION:R} PLIST_SUB= SHL1=${SHL1} SHL2=${SHL2} SHL3=${SHL3} OPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER \ OPENCV OPENJPEG PTEX RAW TBB TEST TOOLS VDB OPTIONS_DEFAULT= DICOM FREETYPE GIF OPENJPEG PTEX TBB TOOLS VDB OPTIONS_SUB= yes DICOM_DESC= DICOM/MEDICOM support FFMPEG_DESC= Use FFmpeg to support extra file types IMAGEVIEWER_DESC= Build image viewer (requires Qt) PTEX_DESC= Per face texture library support TBB_DESC= Intel tbb support TOOLS_DESC= Build CLI tools VDB_DESC= OpenVDB support DICOM_LIB_DEPENDS= libdcmimage.so:graphics/dcmtk DICOM_USES= gnome ssl DICOM_USE= gnome=libxml2 DICOM_CMAKE_BOOL= USE_DICOM DOCS_CMAKE_BOOL= INSTALL_DOCS DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= USE_FFMPEG FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_RUN_DEPENDS= ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf FREETYPE_CMAKE_BOOL= USE_FREETYPE GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_BOOL= USE_GIF IMAGEVIEWER_IMPLIES= TOOLS IMAGEVIEWER_USES= gl qt:6 IMAGEVIEWER_USE= GL=gl,glu QT=base IMAGEVIEWER_CMAKE_BOOL= USE_QT OPENCV_IMPLIES= OPENJPEG OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv OPENCV_CMAKE_BOOL= USE_OPENCV OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= USE_OPENJPEG PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex PTEX_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Ptex RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_CMAKE_BOOL= USE_LIBRAW TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TBB_CMAKE_BOOL= USE_TBB TEST_CMAKE_BOOL= OIIO_BUILD_TESTS TOOLS_CMAKE_BOOL= OIIO_BUILD_TOOLS VDB_IMPLIES= TBB VDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb VDB_CMAKE_BOOL= USE_OPENVDB post-patch: @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," \ ${WRKSRC}/src/cmake/modules/FindPtex.cmake .include .if ${SLAVE_PORT} == yes BUILD_DEPENDS+= ${PREFIX}/share/cmake/pybind11/pybind11Config.cmake:devel/pybind11 LIB_DEPENDS+= libOpenImageIO.so:graphics/openimageio USES+= python USE_PYTHON= flavors CMAKE_ARGS+= -DPYTHON_VERSION:STRING=${PYTHON_VER} CMAKE_ON+= USE_PYTHON # we don't need the apps built - only libs. CMAKE_OFF+= EMBED_PLUGINS OIIO_BUILD_TESTS OIIO_BUILD_TOOLS USE_DICOM USE_FFMPEG USE_FREETYPE USE_GIF USE_LIBRAW USE_OPENCV USE_OPENJPEG USE_OPENVDB USE_QT USE_TBB PLIST= ${PKGDIR}/pkg-plist-pybind do-install: ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/python/site-packages/OpenImageIO*.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .else # SLAVE_PORT != yes USE_LDCONFIG= yes CMAKE_OFF+= USE_PYTHON post-install: ${LN} -sf libOpenImageIO.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL2} ${LN} -sf libOpenImageIO.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL1} ${LN} -sf libOpenImageIO_Util.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.${SHL2} ${LN} -sf libOpenImageIO_Util.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.${SHL1} do-test-TEST-on: @cd ${BUILD_WRKSRC} && ${SETENV} ARGS=-V ${MAKE_CMD} test .endif # SLAVE_PORT .include diff --git a/graphics/openslide/Makefile b/graphics/openslide/Makefile index 030f5a1657f7..8ce31d1bc1a2 100644 --- a/graphics/openslide/Makefile +++ b/graphics/openslide/Makefile @@ -1,27 +1,27 @@ PORTNAME= openslide DISTVERSIONPREFIX= v DISTVERSION= 4.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= C library for reading virtual slide images WWW= https://openslide.org \ https://github.com/openslide/openslide LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libdicom.so:graphics/libdicom \ libopenjp2.so:graphics/openjpeg \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff USES= gettext-runtime gnome jpeg meson pkgconfig sqlite USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf glib20 libxml2 USE_LDCONFIG= yes MESON_ARGS= -Ddoc=disabled .include diff --git a/graphics/oyranos/Makefile b/graphics/oyranos/Makefile index 75dde74cca74..699efa6b02b6 100644 --- a/graphics/oyranos/Makefile +++ b/graphics/oyranos/Makefile @@ -1,66 +1,66 @@ PORTNAME= oyranos PORTVERSION= 0.9.6 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Colour Management System (CMS) WWW= http://www.oyranos.org/ LICENSE= BSD3CLAUSE RUN_DEPENDS= ${LOCALBASE}/share/color/icc/OpenICC/sRGB.icc:graphics/icc-profiles-openicc \ ${LOCALBASE}/share/color/icc/basICColor/ISOcoated_v2_300_bas.ICC:graphics/icc-profiles-basiccolor \ xcalib:x11/xcalib LIB_DEPENDS= libraw.so:graphics/libraw \ libexiv2.so:graphics/exiv2 \ libpng.so:graphics/png \ libcairo.so:graphics/cairo \ libyajl.so:devel/yajl \ libcups.so:print/cups \ libxdot.so:graphics/graphviz \ liblcms.so:graphics/lcms \ liblcms2.so:graphics/lcms2 \ libXcm.so:x11/libXcm \ libltdl.so:devel/libltdl \ libfontconfig.so:x11-fonts/fontconfig \ libOpenICC.so:graphics/openicc-config USE_GITHUB= yes GH_ACCOUNT= oyranos-cms USES= cmake compiler:c++11-lib desktop-file-utils gettext gl gnome \ iconv jpeg pkgconfig qt:5 xorg USE_GL= gl USE_LDCONFIG= yes USE_GNOME= libxml2 USE_QT= core gui widgets x11extras \ buildtools:build qmake:build USE_XORG= ice sm x11 xcursor xext xfixes xinerama xrandr xrender xft xxf86vm CMAKE_ARGS+= -DXDG_CONFIG_DIR=${PREFIX}/etc/xdg LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DOCS DOXYGEN FLTK OPTIONS_SUB= yes FLTK_DESC= Build FLTK-based auxiliary programs FLTK_BROKEN= fails to build, see https://github.com/oyranos-cms/oyranos/issues/62 DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:devel/doxygen FLTK_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PLIST_SUB+= VER=${PORTVERSION} .if !exists(/usr/bin/clang) USE_GCC= yes .endif post-patch: @${REINPLACE_CMD} -e 's|lib|libdata|' \ ${WRKSRC}/extras/CMakeLists.txt .include diff --git a/graphics/podofo/Makefile b/graphics/podofo/Makefile index 6edaf5cb957c..834a92a5298c 100644 --- a/graphics/podofo/Makefile +++ b/graphics/podofo/Makefile @@ -1,67 +1,68 @@ PORTNAME= podofo PORTVERSION= 0.10.4 +PORTREVISION= 1 CATEGORIES= graphics print MAINTAINER= sunpoet@FreeBSD.org COMMENT= PDF manipulation library and tools WWW= https://podofo.sourceforge.net/ \ https://github.com/podofo/podofo LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= fast_float>=0:math/fast_float \ date>=0:devel/date \ libfmt>=0:devel/libfmt \ utf8cpp>=4.0.3:devel/utf8cpp LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libidn.so:dns/libidn USES= cmake compiler:c++17-lang cpe gnome localbase:ldflags pkgconfig ssl USE_GNOME= libxml2 CFLAGS+= -I${LOCALBASE}/include/fast_float CMAKE_ARGS= -DFONTCONFIG_LIBRARIES=${LOCALBASE}/lib/libfontconfig.so \ -DOPENSSL_INCLUDE_DIR=${OPENSSLINC} \ -DOPENSSL_LIBRARIES=${OPENSSLLIB} CMAKE_OFF= PODOFO_BUILD_EXAMPLES \ PODOFO_BUILD_LIB_ONLY \ PODOFO_BUILD_STATIC \ PODOFO_BUILD_TEST \ PODOFO_BUILD_TOOLS CMAKE_TESTING_ON= PODOFO_BUILD_TEST USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} USE_GITHUB= yes CPE_VENDOR= podofo_project OPTIONS_DEFINE= JPEG PNG TIFF OPTIONS_DEFAULT=JPEG PNG TIFF JPEG_CMAKE_BOOL= WANT_LIBJPEG JPEG_USES= jpeg PNG_CMAKE_BOOL= WANT_PNG PNG_LIB_DEPENDS= libpng.so:graphics/png TIFF_CMAKE_BOOL= WANT_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff # Clean up bundled libraries .if !defined(MAINTAINER_MODE) EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/fast_float.h \ --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/date \ --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/fmt \ --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/utf8cpp \ --no-same-owner --no-same-permissions .else post-patch: @${RM} ${WRKSRC}/3rdparty/fast_float.h @${RM} -r ${WRKSRC}/3rdparty/date/ @${RM} -r ${WRKSRC}/3rdparty/fmt/ @${RM} -r ${WRKSRC}/3rdparty/utf8cpp/ .endif .include diff --git a/graphics/qgis-ltr/Makefile b/graphics/qgis-ltr/Makefile index a971fd5fa4d0..75968353d2f4 100644 --- a/graphics/qgis-ltr/Makefile +++ b/graphics/qgis-ltr/Makefile @@ -1,193 +1,194 @@ PORTNAME= qgis DISTVERSION= 3.40.8 +PORTREVISION= 1 CATEGORIES= graphics geography MASTER_SITES= https://qgis.org/downloads/ PKGNAMESUFFIX= -ltr MAINTAINER= rhurlin@FreeBSD.org COMMENT= Free and Open Source Geographic Information System WWW= https://qgis.org/en/site/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/LICENSE BUILD_DEPENDS= gpsbabel>=1.7.0:astro/gpsbabel \ opencl>=0:devel/opencl \ ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \ libdraco.so:archivers/draco \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfreexl.so:textproc/freexl \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libmdal.so:math/mdal \ libminizip.so:archivers/minizip \ libnetcdf.so:science/netcdf \ libOpenCL.so:devel/ocl-icd \ libpdalcpp.so:math/pdal \ libproj.so:graphics/proj \ libprotobuf-lite.so:devel/protobuf \ libqca-qt5.so:devel/qca@qt5 \ libqjson-qt5.so:devel/qjson \ libqscintilla2_qt5.so:devel/qscintilla2@qt5 \ libqt5keychain.so:security/qtkeychain@qt5 \ libqwt.so:x11-toolkits/qwt6@qt5 \ librttopo.so:devel/librttopo \ libspatialindex.so:devel/spatialindex \ libspatialite.so:databases/spatialite \ libsz.so:science/libaec \ libxerces-c.so:textproc/xerces-c3 \ libzip.so:archivers/libzip \ libzstd.so:archivers/zstd RUN_DEPENDS= astyle:devel/astyle \ opencl>=0:devel/opencl \ ${PYTHON_PKGNAMEPREFIX}black>=22.10:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fiona>=1.8.21:graphics/py-fiona@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=3.5.2:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=2.3.0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geopandas>=0.11.1:graphics/py-geopandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}laspy>=2.5.1:misc/py-laspy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.7.0:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netCDF4>=1.6.2:science/py-netCDF4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.8.8:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nltk>=3.7:textproc/py-nltk@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=1.5.0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.9.2:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.9.4:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrsgis>=0.4.1:graphics/py-pyrsgis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rasterio>=1.3.2:graphics/py-rasterio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.19.3:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.1.3:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}shapely>=1.8.5:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=2.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xcffib>=0.11.1:x11/py-xcffib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=2.0.1:textproc/py-xlrd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} ### Fortran is needed by numpy, GRASS, etc. USES= bison cmake compiler:features desktop-file-utils \ fortran gl gmake gnome iconv pgsql pyqt:5 python qt:5 \ shebangfix sqlite:3 tar:bz2 USE_GL= gl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYQT= pyqt5 pysip qscintilla2 qtbuilder:build sip:build webengine USE_QT= 3d buildtools:build core concurrent dbus declarative \ designer:build qdoc:build gamepad gui linguist:build location \ multimedia network printsupport qmake:build script serialport \ sql sql-pgsql sql-sqlite3 svg testlib uitools:build \ webchannel webengine widgets xml SHEBANG_FILES= src/plugins/grass/scripts/*.py # Python_EXECUTABLE: Use the default version if multiple Pythons are available CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \ -DHAVE_PGCONFIG=1 \ -DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \ -DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ -DPython_EXECUTABLE=${PYTHON_CMD} \ -DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \ -DQWT_INCLUDE_DIR:PATH=${LOCALBASE}/include/qt5/qwt6 \ -DQWT_LIBRARY:FILEPATH=${LOCALBASE}/lib/qt5/libqwt.so \ -DQGIS_MANUAL_SUBDIR:PATH=share/man CMAKE_ON= USE_OPENCL WITH_3D WITH_ASTYLE WITH_BINDINGS WITH_COPC \ WITH_CUSTOM_WIDGETS WITH_DRACO WITH_EPT WITH_INTERNAL_LAZPERF \ WITH_POSTGRESQL WITH_QTWEBENGINE CMAKE_OFF= ENABLE_TESTS USE_CCACHE WITH_INTERNAL_MDAL WITH_QTWEBKIT WITH_QWTPOLAR CONFLICTS_INSTALL= qgis PLIST_SUB= DISTVERSION=${PORTVERSION} .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev CMAKE_OFF+= SUPPRESS_QT_WARNINGS .endif OPTIONS_DEFINE= SERVER GRASS OPTIONS_DEFAULT= SERVER GRASS NO_OPTIONS_SORT= yes OPTIONS_SUB= yes GRASS_DESC= Add GRASS GIS to processing tools SERVER_DESC= Enable QGIS server GRASS_BUILD_DEPENDS= grass8:databases/grass8 GRASS_RUN_DEPENDS= ${GRASS_BUILD_DEPENDS} GRASS_CMAKE_BOOL= WITH_GRASS8 SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE .include pre-patch: # Only PostgreSQL Client headers, not Server @${REINPLACE_CMD} -e 's|set(POSTGRES_INCLUDE_DIR \$${PostgreSQL_INCLUDE_DIRS})|set(POSTGRES_INCLUDE ${LOCALBASE}/include)|g' \ ${WRKSRC}/cmake/FindPostgres.cmake post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/cmake/FindGRASS.cmake # On i386, '-mllvm -inline-threshold=128' does not build under all circumstances # See bugs 242557 and 241687. .if ${OPSYS} == FreeBSD && ${ARCH} == "i386" @${REINPLACE_CMD} -e 's|"-mllvm -inline-threshold=128"|"-O1"|g' \ ${WRKSRC}/src/core/CMakeLists.txt .endif pre-configure: ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 post-install: @${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak @${FIND} ${STAGEDIR}${LOCALBASE} -name "__pycache__" -delete @${RM} /tmp/srs.db check: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include diff --git a/graphics/qgis/Makefile b/graphics/qgis/Makefile index 1081ee5906f6..638e671201a6 100644 --- a/graphics/qgis/Makefile +++ b/graphics/qgis/Makefile @@ -1,193 +1,194 @@ PORTNAME= qgis DISTVERSION= 3.44.0 +PORTREVISION= 1 CATEGORIES= graphics geography MASTER_SITES= https://qgis.org/downloads/ MAINTAINER= rhurlin@FreeBSD.org COMMENT= Free and Open Source Geographic Information System WWW= https://qgis.org/en/site/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/LICENSE BUILD_DEPENDS= gpsbabel>=1.7.0:astro/gpsbabel \ opencl>=0:devel/opencl \ ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \ libdraco.so:archivers/draco \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfreexl.so:textproc/freexl \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libminizip.so:archivers/minizip \ libnetcdf.so:science/netcdf \ libOpenCL.so:devel/ocl-icd \ libpdalcpp.so:math/pdal \ libproj.so:graphics/proj \ libprotobuf-lite.so:devel/protobuf \ libqca-qt5.so:devel/qca@qt5 \ libqjson-qt5.so:devel/qjson \ libqscintilla2_qt5.so:devel/qscintilla2@qt5 \ libqt5keychain.so:security/qtkeychain@qt5 \ libqwt.so:x11-toolkits/qwt6@qt5 \ librttopo.so:devel/librttopo \ libspatialindex.so:devel/spatialindex \ libspatialite.so:databases/spatialite \ libsz.so:science/libaec \ libxerces-c.so:textproc/xerces-c3 \ libzip.so:archivers/libzip \ libzstd.so:archivers/zstd RUN_DEPENDS= astyle:devel/astyle \ opencl>=0:devel/opencl \ ${PYTHON_PKGNAMEPREFIX}black>=22.10:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fiona>=1.8.21:graphics/py-fiona@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=3.5.2:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=2.3.0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geopandas>=0.11.1:graphics/py-geopandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}laspy>=2.5.1:misc/py-laspy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.7.0:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netCDF4>=1.6.2:science/py-netCDF4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.8.8:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nltk>=3.7:textproc/py-nltk@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=1.5.0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.9.2:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.9.4:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrsgis>=0.4.1:graphics/py-pyrsgis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rasterio>=1.3.2:graphics/py-rasterio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.19.3:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.1.3:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}shapely>=1.8.5:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=2.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xcffib>=0.11.1:x11/py-xcffib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=2.0.1:textproc/py-xlrd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} ### Fortran is needed by numpy, GRASS, etc. USES= bison cmake compiler:features desktop-file-utils \ fortran gl gmake gnome iconv pgsql pyqt:5 python qt:5 \ shebangfix sqlite:3 tar:bz2 USE_GL= gl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYQT= pyqt5 pysip qscintilla2 qtbuilder:build sip:build webengine USE_QT= 3d buildtools:build core concurrent dbus declarative \ designer:build qdoc:build gamepad gui linguist:build location \ multimedia network printsupport qmake:build script serialport \ sql sql-pgsql sql-sqlite3 svg testlib uitools:build \ webchannel webengine widgets xml SHEBANG_FILES= src/plugins/grass/scripts/*.py # Python_EXECUTABLE: Use the default version if multiple Pythons are available CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \ -DHAVE_PGCONFIG=1 \ -DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \ -DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ -DPython_EXECUTABLE=${PYTHON_CMD} \ -DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \ -DQWT_INCLUDE_DIR:PATH=${LOCALBASE}/include/qt5/qwt6 \ -DQWT_LIBRARY:FILEPATH=${LOCALBASE}/lib/qt5/libqwt.so \ -DQGIS_MANUAL_SUBDIR:PATH=share/man CMAKE_ON= USE_OPENCL WITH_ASTYLE WITH_BINDINGS WITH_COPC \ WITH_CUSTOM_WIDGETS WITH_DRACO WITH_EPT \ WITH_INTERNAL_LAZPERF WITH_INTERNAL_MDAL \ WITH_POSTGRESQL WITH_QTWEBENGINE CMAKE_OFF= BUILD_WITH_QT6 ENABLE_TESTS USE_CCACHE WITH_QTWEBKIT \ WITH_QWTPOLAR CONFLICTS_INSTALL= qgis-ltr PLIST_SUB= DISTVERSION=${PORTVERSION} .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev CMAKE_OFF+= SUPPRESS_QT_WARNINGS .endif OPTIONS_DEFINE= SERVER GRASS OPTIONS_DEFAULT= SERVER GRASS NO_OPTIONS_SORT= yes OPTIONS_SUB= yes GRASS_DESC= Add GRASS GIS to processing tools SERVER_DESC= Enable QGIS server GRASS_BUILD_DEPENDS= grass8:databases/grass8 GRASS_RUN_DEPENDS= ${GRASS_BUILD_DEPENDS} GRASS_CMAKE_BOOL= WITH_GRASS8 SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE .include pre-patch: # Only PostgreSQL Client headers, not Server @${REINPLACE_CMD} -e 's|set(POSTGRES_INCLUDE_DIR \$${PostgreSQL_INCLUDE_DIRS})|set(POSTGRES_INCLUDE ${LOCALBASE}/include)|g' \ ${WRKSRC}/cmake/FindPostgres.cmake post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/cmake/FindGRASS.cmake # On i386, '-mllvm -inline-threshold=128' does not build under all circumstances # See bugs 242557 and 241687. .if ${OPSYS} == FreeBSD && ${ARCH} == "i386" @${REINPLACE_CMD} -e 's|"-mllvm -inline-threshold=128"|"-O1"|g' \ ${WRKSRC}/src/core/CMakeLists.txt .endif pre-configure: ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 post-install: @${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak @${FIND} ${STAGEDIR}${LOCALBASE} -name "__pycache__" -delete @${RM} /tmp/srs.db check: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include diff --git a/graphics/sane-airscan/Makefile b/graphics/sane-airscan/Makefile index d9d7fcafaf77..004ffed64082 100644 --- a/graphics/sane-airscan/Makefile +++ b/graphics/sane-airscan/Makefile @@ -1,28 +1,29 @@ PORTNAME= sane-airscan DISTVERSION= 0.99.29 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= henry.hu.sh@gmail.com COMMENT= SANE backend for AirScan (eSCL) and WSD document scanners WWW= https://github.com/alexpevzner/sane-airscan LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= sane-backends>0:graphics/sane-backends LIB_DEPENDS= libavahi-client.so:net/avahi-app \ libgnutls.so:security/gnutls \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= gnome jpeg meson pkgconfig USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= alexpevzner post-install: @${MV} ${STAGEDIR}${PREFIX}/etc/sane.d/airscan.conf \ ${STAGEDIR}${PREFIX}/etc/sane.d/airscan.conf.sample .include diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile index 2b7acbfbcf88..81f78de12fda 100644 --- a/graphics/sane-backends/Makefile +++ b/graphics/sane-backends/Makefile @@ -1,60 +1,61 @@ PORTNAME= sane-backends DISTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://gitlab.com/-/project/429008/uploads/843c156420e211859e974f78f64c3ea3/ MAINTAINER= vvd@FreeBSD.org COMMENT= API for accessing scanners, digital cameras, frame grabbers, etc WWW= http://www.sane-project.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= compiler:c++11-lang gmake gnome jpeg libtool localbase:ldflags \ pathfix pkgconfig python:build USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= saned GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-locking \ --enable-pthread \ --without-systemd INSTALL_TARGET= install-strip SUB_FILES= pkg-message USERS= saned GROUPS= saned PLIST_SUB= SOVERSION=${DISTVERSION} OPTIONS_DEFINE= AVAHI DOCS GPHOTO IEEE1284 IPV6 NLS SNMP USB V4L OPTIONS_DEFAULT= AVAHI GPHOTO USB OPTIONS_SUB= yes IEEE1284_DESC= Parallel port support via libieee1284 (for i386 only) USB_DESC= USB support AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app \ libcurl.so:ftp/curl \ libpoppler-glib.so:graphics/poppler-glib AVAHI_USE= GNOME=cairo,glib20 AVAHI_CONFIGURE_WITH= avahi libcurl poppler-glib GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 GPHOTO_CONFIGURE_WITH= gphoto2 IEEE1284_LIB_DEPENDS= libieee1284.so:sysutils/libieee1284 IEEE1284_CONFIGURE_ENV_OFF= sane_cv_use_libieee1284=no IPV6_CONFIGURE_ENABLE= ipv6 NLS_USES= gettext-tools NLS_CONFIGURE_ENABLE= nls SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_WITH= snmp USB_CONFIGURE_WITH= usb V4L_LIB_DEPENDS= libv4l1.so:multimedia/libv4l V4L_CONFIGURE_WITH= v4l .include diff --git a/graphics/sharpconstruct/Makefile b/graphics/sharpconstruct/Makefile index 8c5c815ab5b2..5309f8ceef8c 100644 --- a/graphics/sharpconstruct/Makefile +++ b/graphics/sharpconstruct/Makefile @@ -1,48 +1,48 @@ PORTNAME= sharpconstruct PORTVERSION= 0.11 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= graphics MASTER_SITES= SF/sharp3d/SharpConstruct/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= 3D modeller for organic shapes WWW= https://sourceforge.net/projects/sharp3d/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgtkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm \ libglademm-2.4.so:devel/libglademm24 ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= uses SSE instructions USES= compiler:c++11-lang gl tar:bzip2 gmake pkgconfig USE_CXXSTD= c++11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GL= gl glu CXXFLAGS_i386= -msse CXXFLAGS_powerpc64le= -DNO_WARN_X86_INTRINSICS CXXFLAGS_powerpc64= -DNO_WARN_X86_INTRINSICS -mvsx PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz PORTDATA= * .include .if ${ARCH} == powerpc64 && !defined(CPUTYPE) CXXFLAGS+= -mcpu=power7 .endif post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/include/Align.hh @${REINPLACE_CMD} -e 's|"/sharpconstruct|"|' ${WRKSRC}/src/MainWindow.cc @${REINPLACE_CMD} -e 's|/usr/share/sharpconstruct|${DATADIR}|' ${WRKSRC}/src/MainWindow.cc @${REINPLACE_CMD} -e '/FileDialog/,/}/ d' ${WRKSRC}/src/MainWindow.cc @${REINPLACE_CMD} -e 's|memalign(b,c)|malloc(c)|' ${WRKSRC}/include/Align.hh @${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e '/^DEFS / s|$$| -DDATADIR=\\"${DATADIR}\\"|' .include diff --git a/graphics/shotwell/Makefile b/graphics/shotwell/Makefile index 65a35905bf86..3bf866870630 100644 --- a/graphics/shotwell/Makefile +++ b/graphics/shotwell/Makefile @@ -1,54 +1,55 @@ PORTNAME= shotwell PORTVERSION= 0.32.13 +PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= GNOME MAINTAINER= cmt@FreeBSD.org COMMENT= Open source photo manager for GNOME WWW= https://wiki.gnome.org/Apps/Shotwell LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libportal.so:deskutils/libportal \ libportal-gtk3.so:deskutils/libportal-gtk3 \ libgio-2.0.so:devel/glib20 \ libjson-glib-1.0.so:devel/json-glib \ libgee-0.8.so:devel/libgee \ libsoup-3.0.so:devel/libsoup3 \ libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 \ libgexiv2.so:graphics/gexiv2 \ libexif.so:graphics/libexif \ libgphoto2.so:graphics/libgphoto2 \ libraw.so:graphics/libraw \ libwebp.so:graphics/webp \ libgcr-ui-3.so:security/gcr3 \ libsecret-1.so:security/libsecret USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome gstreamer meson \ ninja pkgconfig python:build sqlite tar:xz vala:build xorg CPE_VENDOR= gnome USE_GNOME= cairo gtk30 libxml2 USE_LDCONFIG= yes USE_XORG= x11 MESON_ARGS= -Dudev=false \ -Dpublishers=flickr,gallery3,googlephotos,piwigo,tumblr,youtube PORTSCOUT= limitw:1,even MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= FACED OPTIONS_SUB= yes FACED_DESC= Face Detection FACED_CONFIGURE_ON= -Dface_detection=true FACED_CONFIGURE_OFF= -Dface_detection=false -Dface_detection_helper=true FACED_LIB_DEPENDS= libopencv_core.so:graphics/opencv PLIST_SUB= DISTVERSION=${DISTVERSION} GLIB_SCHEMAS= org.yorba.shotwell.gschema.xml org.yorba.shotwell-extras.gschema.xml .include diff --git a/graphics/swfmill/Makefile b/graphics/swfmill/Makefile index 1792c8477137..22122591111c 100644 --- a/graphics/swfmill/Makefile +++ b/graphics/swfmill/Makefile @@ -1,28 +1,28 @@ PORTNAME= swfmill PORTVERSION= 0.3.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= http://swfmill.org/releases/ MAINTAINER= ports@FreeBSD.org COMMENT= Tool to generate or decompile Adobe Flash SWF files WWW= https://swfmill.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error USES= compiler:c++11-lang dos2unix gmake gnome iconv libtool \ pkgconfig USE_GNOME= libxml2 libxslt GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include DOS2UNIX_FILES= src/swft/swft_import_ttf.cpp PLIST_FILES= bin/swfmill .include diff --git a/graphics/synfig/Makefile b/graphics/synfig/Makefile index e718dde1ad6f..23185c619a51 100644 --- a/graphics/synfig/Makefile +++ b/graphics/synfig/Makefile @@ -1,58 +1,58 @@ PORTNAME= synfig DISTVERSIONPREFIX= v DISTVERSION= 1.4.5 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics devel multimedia MAINTAINER= portmaster@BSDforge.com COMMENT= Vector based 2D animation package WWW= https://www.synfig.org/ LICENSE= GPLv2+ BUILD_DEPENDS= etl>=1.4.5:devel/etl \ gsed:textproc/gsed LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libavcodec.so:multimedia/ffmpeg \ libboost_program_options.so:devel/boost-libs \ libdv.so:multimedia/libdv \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libltdl.so:devel/libltdl \ libmng.so:graphics/libmng \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= autoreconf compiler:c++14-lang gmake gnome iconv jpeg \ libtool localbase magick:7 mlt:7 pathfix pkgconfig USE_CXXSTD= c++14 USE_GITHUB= yes USE_GNOME= cairo glibmm intltool libxml++26 pango USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} CONFIGURE_ENV+= ac_cv_path_SED=${LOCALBASE}/bin/gsed INSTALL_TARGET= install-strip BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed PORTSCOUT= limitw:1,even WRKSRC_SUBDIR= synfig-core OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS NEWS README TODO (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${STAGEDIR}${DOCSDIR}) .endfor .include diff --git a/graphics/synfigstudio/Makefile b/graphics/synfigstudio/Makefile index 192c8699f39a..0bf457c2f179 100644 --- a/graphics/synfigstudio/Makefile +++ b/graphics/synfigstudio/Makefile @@ -1,62 +1,62 @@ PORTNAME= synfigstudio DISTVERSIONPREFIX= v DISTVERSION= 1.4.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics multimedia MAINTAINER= portmaster@BSDforge.com COMMENT= Vector-based 2D animation software package WWW= https://www.synfig.org/ LICENSE= GPLv2+ BUILD_DEPENDS= etl>=1.4.5:devel/etl \ gsed:textproc/gsed LIB_DEPENDS= libImath.so:math/Imath \ libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libOpenEXR.so:graphics/openexr \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsynfig.so:graphics/synfig RUN_DEPENDS= xdg-open:devel/xdg-utils USES= autoreconf compiler:c++11-lang desktop-file-utils gmake \ gnome libtool localbase magick:7 mlt:7 pathfix pkgconfig \ shared-mime-info USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= synfig GH_PROJECT= synfig USE_GNOME= gdkpixbuf gtkmm30 intltool USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-update-mimedb INSTALL_TARGET= install-strip BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed PORTSCOUT= limitw:1,even WRKSRC_SUBDIR= synfig-studio OPTIONS_DEFINE= DOCS JACK NLS OPTIONS_SUB= yes JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS NEWS README TODO (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${STAGEDIR}${DOCSDIR}) .endfor .include diff --git a/graphics/tinyows/Makefile b/graphics/tinyows/Makefile index 2a534cee851a..9c9ef9c03849 100644 --- a/graphics/tinyows/Makefile +++ b/graphics/tinyows/Makefile @@ -1,31 +1,32 @@ PORTNAME= tinyows PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= graphics www geography MASTER_SITES= https://download.osgeo.org/mapserver/ MAINTAINER= joris.dedieu@gmail.com COMMENT= High Performance WFS-T server WWW= https://mapserver.org/tinyows/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= shp2pgsql:databases/postgis33 RUN_DEPENDS:= ${BUILD_DEPENDS} USES= autoreconf gnome pgsql USE_GNOME= libxml2 GNU_CONFIGURE= yes OPTIONS_DEFINE= FASTCGI OPTIONS_DEFAULT=FASTCGI FASTCGI_LIB_DEPENDS= libfcgi.so:www/fcgi FASTCGI_CONFIGURE_WITH= fastcgi=${LOCALBASE} post-install: ${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${WWWDIR}/cgi-bin .include diff --git a/graphics/wayland/Makefile b/graphics/wayland/Makefile index 097e1e4cec84..2d1460e18de4 100644 --- a/graphics/wayland/Makefile +++ b/graphics/wayland/Makefile @@ -1,24 +1,25 @@ PORTNAME= wayland DISTVERSION= 1.23.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://gitlab.freedesktop.org/${PORTNAME}/${PORTNAME}/-/releases/${DISTVERSION}/downloads/ MAINTAINER= x11@FreeBSD.org COMMENT= Core Wayland window system code and protocol WWW= https://wayland.freedesktop.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 \ libffi.so:devel/libffi \ libepoll-shim.so:devel/libepoll-shim USES= cpe gnome meson pkgconfig tar:xz USE_GNOME= libxslt:build USE_LDCONFIG= yes MESON_ARGS= -Ddocumentation=false TESTING_UNSAFE= "Assertion failed: (wrapped_calls_fcntl > n), function do_os_wrappers_dupfd_cloexec, file ../tests/os-wrappers-test.c, line 222" .include diff --git a/graphics/xournalpp/Makefile b/graphics/xournalpp/Makefile index 8adad8ad3ad8..b50f9f6f7a6c 100644 --- a/graphics/xournalpp/Makefile +++ b/graphics/xournalpp/Makefile @@ -1,37 +1,37 @@ PORTNAME= xournalpp DISTVERSIONPREFIX= v DISTVERSION= 1.2.3-20240830 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Handwriting notetaking software with PDF annotation support WWW= https://github.com/xournalpp/xournalpp LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= compilation fails: error: redefinition of 'getGVariantValue': see https://github.com/xournalpp/xournalpp/issues/5873 BROKEN_i386= compilation fails: error: redefinition of 'getGVariantValue': see https://github.com/xournalpp/xournalpp/issues/5873 BROKEN_powerpc= compilation fails: error: redefinition of 'getGVariantValue': see https://github.com/xournalpp/xournalpp/issues/5873 BUILD_DEPENDS= help2man:misc/help2man LIB_DEPENDS= libgtksourceview-4.so:x11-toolkits/gtksourceview4 \ libharfbuzz.so:print/harfbuzz \ libpoppler-glib.so:graphics/poppler-glib \ libportaudio.so:audio/portaudio \ libsndfile.so:audio/libsndfile \ libzip.so:archivers/libzip USES= cmake compiler:c++11-lang gettext-tools gnome lua pkgconfig tex xorg desktop-file-utils shared-mime-info USE_GITHUB= yes GH_TAGNAME= d435ef5 USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 librsvg2 libxml2 pango USE_XORG= x11 xext xi USE_TEX= latex:build LDFLAGS+= -lexecinfo # CAVEAT: crashes when built with gcc: https://github.com/xournalpp/xournalpp/issues/851 .include diff --git a/graphics/yafaray/Makefile b/graphics/yafaray/Makefile index 85388633ac47..070dcbc0c081 100644 --- a/graphics/yafaray/Makefile +++ b/graphics/yafaray/Makefile @@ -1,49 +1,49 @@ PORTNAME= yafaray DISTVERSIONPREFIX= v DISTVERSION= 3.5.1 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Montecarlo raytracing engine WWW= http://www.yafaray.org/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSES LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSES ONLY_FOR_ARCHS= amd64 powerpc64le LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libopencv_photo.so:graphics/opencv \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake gnome jpeg USE_GITHUB= yes GH_ACCOUNT= YafaRay GH_PROJECT= libYafaRay USE_GNOME= libxml2 USE_LDCONFIG= yes LDFLAGS+= -pthread # because build on 13 (head) was failing: ld: error: src/yafraycore/libyafaray_v3_core.so: undefined reference to pthread_create CMAKE_OFF= WITH_YAF_PY_BINDINGS OPTIONS_DEFINE= DOCS QT OPTIONS_SUB= yes QT_DESC= Enable Qt Gui build QT_USES= qt:5 QT_CMAKE_BOOL= WITH_QT QT_USE= QT=core,gui,widgets,qmake:build,buildtools:build,qmake:build post-install: @${RM} ${STAGEDIR}${DOCSDIR}/LICENSES .include diff --git a/lang/gnu-cobol/Makefile b/lang/gnu-cobol/Makefile index a3ca109c6931..1e30d2c5b0c2 100644 --- a/lang/gnu-cobol/Makefile +++ b/lang/gnu-cobol/Makefile @@ -1,40 +1,40 @@ PORTNAME= gnucobol PORTVERSION= 3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang MASTER_SITES= GNU/gnucobol MAINTAINER= wen@FreeBSD.org COMMENT= Free/libre COBOL compiler WWW= https://www.gnu.org/software/gnucobol/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi BUILD_DEPENDS= help2man:misc/help2man LIB_DEPENDS= libgmp.so:math/gmp \ libcjson.so:devel/libcjson USES= autoreconf bdb gmake gnome libtool ncurses tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= MATH_LIBS=-lm TEST_TARGET= check TEST_ENV= TESTSUITEFLAGS=--jobs=${MAKE_JOBS_NUMBER} INFO= gnucobol DATADIR= ${PREFIX}/share/gnucobol INSTALL_TARGET= install-strip SSP_CFLAGS?= -fstack-protector # XXX -strong fails to build CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE=nls .include diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile index 58357b2a5824..23f27e43f38c 100644 --- a/lang/gnustep-base/Makefile +++ b/lang/gnustep-base/Makefile @@ -1,77 +1,77 @@ PORTNAME= gnustep-base DISTVERSION= 1.29.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang devel gnustep MASTER_SITES= https://github.com/gnustep/libs-base/releases/download/base-${DISTVERSION:S,.,_,g}/ PATCH_SITES= https://github.com/gnustep/libs-base/commit/ PATCHFILES= 37913d006d96a6bdcb963f4ca4889888dcce6094.patch:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= GNUstep Foundation library WWW= http://www.gnustep.org/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi LIB_DEPENDS= libffi.so:devel/libffi \ libcurl.so:ftp/curl \ libgcrypt.so:security/libgcrypt \ libgmp.so:math/gmp RUN_DEPENDS= ${LOCALBASE}/GNUstep/System/Library/Makefiles/GNUstep.sh:devel/gnustep-make USES= pkgconfig iconv gnome gnustep USE_GNOME= libxml2 libxslt USE_GNUSTEP= build USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES} GNU_CONFIGURE= yes ETCDIR= ${LOCALBASE}/etc STAGEHEADER= ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Headers CONFIGURE_ARGS= --disable-procfs \ --with-installation-domain=SYSTEM CONFIGURE_ENV= OBJCFLAGS='-fobjc-runtime=gnustep-2.0 -fblocks' \ ac_cv_header_bfd_h=no ac_cv_lib_bfd_bfd_openr=no PLIST_SUB= BASEVERSION=${DISTVERSION:R} OPTIONS_DEFINE= ICU GNUTLS OPTIONS_RADIO= ZEROCONF OPTIONS_RADIO_ZEROCONF= AVAHI MDNS OPTIONS_DEFAULT= ICU GNUTLS AVAHI OPTIONS_SUB= yes ZEROCONF_DESC= Zeroconf (Bonjour) support AVAHI_DESC= Zeroconf via Avahi (preferred) MDNS_DESC= Zeroconf via mDNSResponder ICU_LIB_DEPENDS= libicuuc.so:devel/icu ICU_CONFIGURE_OFF= --disable-icu GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_OFF= --disable-tls .include .if ${PORT_OPTIONS:MAVAHI} LIB_DEPENDS+= libavahi-client.so:net/avahi-app CONFIGURE_ARGS+= --with-zeroconf-api=avahi .elif ${PORT_OPTIONS:MMDNS} LIB_DEPENDS+= libdns_sd.so:net/mDNSResponder CONFIGURE_ARGS+= --with-zeroconf-api=mdns .else CONFIGURE_ARGS+= --disable-zeroconf .endif post-extract: @${REINPLACE_CMD} -e "s|/usr/local/|${LOCALBASE}/| ; \ s|HAVE_TLS|HAVE_GNUTLS|" ${WRKSRC}/configure post-install: ${INSTALL_DATA} ${FILESDIR}/gdomap_if ${STAGEDIR}${ETCDIR} .include diff --git a/lang/php81/Makefile b/lang/php81/Makefile index 12c5e7c03456..47e6144aa0de 100644 --- a/lang/php81/Makefile +++ b/lang/php81/Makefile @@ -1,621 +1,621 @@ PORTNAME= php81 DISTVERSION= 8.1.32 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${DISTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= PHP Scripting Language (8.1.X branch) WWW= https://www.php.net/ LICENSE= PHP301 DEPRECATED= Upstream EOL reaches on 2025-12-31 EXPIRATION_DATE= 2025-12-31 USES+= compiler:c11 cpe gnome localbase pkgconfig tar:xz CPE_PRODUCT= php PHP_VER= 81 CONFLICTS_INSTALL?= php[0-9][0-9]${PKGNAMESUFFIX} .if !defined(PKGNAMESUFFIX) # For now disable the exra patches for libxml2 until libxml2 is updated # Uncomment the following lines when libxml2 is updated #PATCH_SITES= https://github.com/php/php-src/commit/ #PATCHFILES= 0a39890c967aa57225bb6bdf4821aff7a3a3c082.patch:-p1 \ # 061058a9b1bbd90d27d97d79aebcf2b5029767b0.patch:-p1 LIB_DEPENDS= libargon2.so:security/libargon2 \ libpcre2-8.so:devel/pcre2 GNU_CONFIGURE= yes CONFIGURE_ARGS+= \ --disable-all \ --program-prefix="" \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --with-layout=GNU \ --with-libxml \ --with-openssl \ --with-password-argon2=${LOCALBASE} USES+= autoreconf:build ssl USE_GNOME= libxml2 LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl # PR230207 Allow relocations against read-only segments (override lld default) LDFLAGS_i386+= -Wl,-z,notext OPTIONS_DEFINE+=CGI CLI DEBUG DTRACE EMBED FPM IPV6 LINKTHR \ MYSQLND PCRE PHPDBG ZTS OPTIONS_DEFAULT= CGI CLI DTRACE EMBED FPM LINKTHR MYSQLND PCRE OPTIONS_EXCLUDE_DragonFly= DTRACE # ld(1) fails to link probes: Relocations in generic ELF (EM: 0) OPTIONS_EXCLUDE_aarch64= DTRACE # dt_modtext:opensolaris/ib/libdtrace/common/dt_link.c: arm not impemented OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE # Bug 197128: No ASM code for MIPS/MIPS64, disable FPM OPTIONS_EXCLUDE_mips= DTRACE FPM OPTIONS_EXCLUDE_mips64= DTRACE FPM OPTIONS_EXCLUDE_riscv64= DTRACE NO_OPTIONS_SORT= yes OPTIONS_SUB= yes CGI_DESC= Build CGI version CLI_DESC= Build CLI version EMBED_DESC= Build embedded library FPM_DESC= Build FPM version LINKTHR_DESC= Link thread lib (for threaded extensions) MYSQLND_DESC= Build with MySQL Native Driver PCRE_DESC= Use system pcre instead of bundled one PHPDBG_DESC= Interactive PHP debugger ZTS_DESC= Force Zend Thread Safety (ZTS) build CGI_CONFIGURE_OFF= --disable-cgi CGI_VARS= PHP_SAPI+=cgi CLI_CONFIGURE_OFF= --disable-cli CLI_VARS= PHP_SAPI+=cli DEBUG_CONFIGURE_ON= --enable-debug DTRACE_CONFIGURE_ON= --enable-dtrace EMBED_CONFIGURE_ON= --enable-embed EMBED_VARS= PHP_SAPI+=embed FPM_CONFIGURE_ON= --enable-fpm \ --with-fpm-group=${WWWGRP} \ --with-fpm-user=${WWWOWN} FPM_VARS= PHP_SAPI+=fpm \ USE_RC_SUBR+=php_fpm IPV6_CONFIGURE_OFF= --disable-ipv6 LINKTHR_LIBS= -lpthread MYSQLND_CONFIGURE_ON= --enable-mysqlnd PCRE_BUILD_DEPENDS= re2c>0:devel/re2c PCRE_CONFIGURE_ON= --with-external-pcre=${LOCALBASE} PCRE_PLIST_SUB= BUNDLED_PCRE="@comment " PCRE_PLIST_SUB_OFF= BUNDLED_PCRE="" PHPDBG_CONFIGURE_ON= --enable-phpdbg PHPDBG_VARS= PHP_SAPI+=phpdbg ZTS_CONFIGURE_ON= --enable-zts ZTS_CONFIGURE_ENV= pthreads_working="yes" DESTDIRNAME= INSTALL_ROOT .if defined(PKGNAMEPREFIX) USES+= apache PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp SHORTMODNAME= php WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" WARNING+= "!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!" .endif .include .if ${ARCH} == riscv64 CONFIGURE_ARGS+= --without-pcre-jit .endif .if ${PORT_OPTIONS:MPHPDBG} && ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-phpdbg-debug .endif .if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} PLIST_SUB+= SAPI_INC="" .else PLIST_SUB+= SAPI_INC="@comment " .endif CONFIGURE_ENV+= ac_cv_decimal_fp_supported="no" \ lt_cv_path_SED="sed" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h post-patch-FPM-on: @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ ${WRKSRC}/sapi/fpm/php-fpm.conf.in pre-configure: @(cd ${WRKSRC} && ${SETENV} MAKE=${MAKE_CMD} ./buildconf --force) .if !defined(PKGNAMEPREFIX) post-build: @${ECHO_CMD} "PHP_VER=${PHP_VER}" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf @${ECHO_CMD} -n "PHP_EXT_DIR=" >> ${WRKDIR}/php.conf @${SH} ${WRKSRC}/scripts/php-config --extension-dir | ${SED} -ne 's,^${PREFIX}/lib/php/,,p' >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_INC=hash json openssl pcre spl" >> ${WRKDIR}/php.conf test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: ${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc post-install-CGI-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php-cgi post-install-CLI-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php post-install-EMBED-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libphp.so post-install-FPM-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/php-fpm post-install-PHPDBG-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/phpdbg .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .endif .else COMMENT= The ${PHP_MODNAME} shared extension for php USES+= php:ext,noflavors PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_VER= 81 IGNORE_WITH_PHP= 82 83 84 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} TEST_TARGET= test .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+= --enable-bcmath PHP_HEADER_DIRS= libbcmath/src .endif .if ${PHP_MODNAME} == "bz2" CONFIGURE_ARGS+= --with-bz2=/usr .endif .if ${PHP_MODNAME} == "calendar" CONFIGURE_ARGS+= --enable-calendar .endif .if ${PHP_MODNAME} == "ctype" CONFIGURE_ARGS+= --enable-ctype .endif .if ${PHP_MODNAME} == "curl" LIB_DEPENDS+= libcurl.so:ftp/curl CONFIGURE_ARGS+= --with-curl=${LOCALBASE} USES+= pkgconfig .endif .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+= --enable-dba OPTIONS_DEFINE= CDB DB4 FLATFILE GDBM INIFILE LMDB QDBM TOKYO OPTIONS_DEFAULT= CDB FLATFILE INIFILE CDB_DESC= cdb database support DB4_DESC= Berkeley DB4 support FLATFILE_DESC= flatfile support GDBM_DESC= GDBM database support INIFILE_DESC= INI file support LMDB_DESC= LMDB database support QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support CDB_CONFIGURE_OFF= --without-cdb DB4_CONFIGURE_ON= --with-db4=${LOCALBASE} DB4_USES= bdb DB4_VARS= WITH_BDB_HIGHEST=yes FLATFILE_CONFIGURE_ON= --disable-flatfile GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm GDBM_CONFIGURE_ARGS= --with-gdbm=${LOCALBASE} INIFILE_CONFIGURE_OFF= --disable-inifile LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_CONFIGURE_ARGS= --with-lmdb=${LOCALBASE} QDBM_LIB_DEPENDS= libqdbm.so:databases/qdbm QDBM_CONFIGURE_ARGS= --with-qdbm=${LOCALBASE} TOKYO_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet TOKYO_CONFIGURE_ON= --with-tcadb=${LOCALBASE} PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif .if ${PHP_MODNAME} == "dom" CONFIGURE_ARGS+= --enable-dom USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "enchant" LIB_DEPENDS+= libenchant-2.so:textproc/enchant2 CONFIGURE_ARGS+=--with-enchant=${LOCALBASE} USES+= pkgconfig .endif .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+= --enable-exif .endif .if ${PHP_MODNAME} == "ffi" LIB_DEPENDS= libffi.so:devel/libffi CONFIGURE_ARGS+= --with-ffi .endif .if ${PHP_MODNAME} == "fileinfo" CONFIGURE_ARGS+= --enable-fileinfo PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" CONFIGURE_ARGS+= --enable-filter .endif .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+= --enable-ftp CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= pkgconfig ssl .endif .if ${PHP_MODNAME} == "gd" LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgd.so:graphics/gd \ libpng.so:graphics/png USES+= jpeg CONFIGURE_ARGS+= --enable-gd \ --with-external-gd EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions --exclude libgd \ php-${DISTVERSION}/ext/gd OPTIONS_DEFINE= JIS WEBP X11 JIS_DESC= Enable JIS-mapped Japanese font support WEBP_DESC= Enable WebP image format support X11_DESC= Enable XPM support JIS_CONFIGURE_ON= --enable-gd-jis-conv WEBP_CONFIGURE_ON= --with-webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_ON= --with-xpm X11_USE= XORG=xpm X11_USES= xorg .endif .if ${PHP_MODNAME} == "gettext" CONFIGURE_ARGS+= --with-gettext=${LOCALBASE} USES+= gettext .endif .if ${PHP_MODNAME} == "gmp" LIB_DEPENDS+= libgmp.so:math/gmp CONFIGURE_ARGS+= --with-gmp=${LOCALBASE} .endif .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+= --with-iconv=${LOCALBASE} USES+= iconv:translit .endif .if ${PHP_MODNAME} == "imap" PHP_MOD_PRIO= 30 LIB_DEPENDS+= libc-client.so.2010:mail/panda-cclient CONFIGURE_ARGS+= --with-imap-ssl=${OPENSSLBASE} \ --with-imap=${LOCALBASE} CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= ssl .endif .if ${PHP_MODNAME} == "intl" LIB_DEPENDS= libicui18n.so:devel/icu USES+= pkgconfig CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 .endif .if ${PHP_MODNAME} == "ldap" CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-ldap-sasl=${LOCALBASE} USES+= ldap .endif .if ${PHP_MODNAME} == "mbstring" CONFIGURE_ARGS+= --enable-mbstring OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT= REGEX REGEX_DESC= Enable multibyte regex support REGEX_LIB_DEPENDS= libonig.so:devel/oniguruma REGEX_CONFIGURE_OFF= --disable-mbregex PHP_HEADER_DIRS= libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls .endif .if ${PHP_MODNAME} == "mysqli" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT= MYSQLND MYSQLND_DESC= Use MySQL Native Driver MYSQLND_CONFIGURE_ON= --with-mysqli=mysqlnd MYSQLND_CONFIGURE_OFF= --with-mysqli=${LOCALBASE}/bin/mysql_config MYSQLND_USES_OFF= mysql .endif .if ${PHP_MODNAME} == "odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+= --enable-odbc --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "opcache" # This is needed by Zend extensions, keep before everything. PHP_MOD_PRIO= 10 CONFIGURE_ARGS+= --enable-opcache .endif .if ${PHP_MODNAME} == "pcntl" CONFIGURE_ARGS+= --enable-pcntl .endif .if ${PHP_MODNAME} == "pdo" CONFIGURE_ARGS+= --enable-pdo .endif .if ${PHP_MODNAME} == "pdo_dblib" CONFIGURE_ARGS+= --with-pdo-dblib=${LOCALBASE} USE_PHP= pdo:build OPTIONS_DEFINE= MSSQL MSSQL_DESC= Enable Microsoft SQL Server support MSSQL_LIB_DEPENDS= libsybdb.so:databases/freetds MSSQL_LIB_DEPENDS_OFF= libct.so:databases/freetds .endif .if ${PHP_MODNAME} == "pdo_firebird" CONFIGURE_ARGS+= --with-pdo-firebird=${LOCALBASE} USES+= firebird USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+= --with-pdo-odbc=unixODBC,${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT= MYSQLND MYSQLND_DESC= Use MySQL Native Driver MYSQLND_CONFIGURE_ON= --with-pdo-mysql=mysqlnd MYSQLND_CONFIGURE_OFF= --with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr MYSQLND_USES_OFF= mysql USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_pgsql" USES+= pgsql CONFIGURE_ARGS+= --with-pdo-pgsql=${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_sqlite" USES+= localbase sqlite CONFIGURE_ARGS+= --with-pdo-sqlite=${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pgsql" USES+= pgsql CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+= --enable-phar .endif .if ${PHP_MODNAME} == "posix" CONFIGURE_ARGS+= --enable-posix .endif .if ${PHP_MODNAME} == "pspell" LIB_DEPENDS+= libaspell.so:textproc/aspell CONFIGURE_ARGS+= --with-pspell=${LOCALBASE} .endif .if ${PHP_MODNAME} == "readline" CONFIGURE_ARGS+=--with-libedit USES+= libedit .endif .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+= --enable-session PHP_MOD_PRIO= 18 .endif .if ${PHP_MODNAME} == "shmop" CONFIGURE_ARGS+= --enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" CONFIGURE_ARGS+= --enable-simplexml USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" CONFIGURE_ARGS+= --with-snmp=${LOCALBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= ssl .endif .if ${PHP_MODNAME} == "soap" CONFIGURE_ARGS+= --enable-soap USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "sockets" CONFIGURE_ARGS+= --enable-sockets .endif .if ${PHP_MODNAME} == "sodium" CONFIGURE_ARGS+= --with-sodium=${LOCALBASE} LIB_DEPENDS+= libsodium.so:security/libsodium .endif .if ${PHP_MODNAME} == "sqlite3" USES+= localbase pkgconfig sqlite CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sysvmsg" CONFIGURE_ARGS+= --enable-sysvmsg .endif .if ${PHP_MODNAME} == "sysvsem" CONFIGURE_ARGS+= --enable-sysvsem .endif .if ${PHP_MODNAME} == "sysvshm" CONFIGURE_ARGS+= --enable-sysvshm .endif .if ${PHP_MODNAME} == "tidy" CONFIGURE_ARGS+= --with-tidy=${LOCALBASE} LIB_DEPENDS+= libtidy5.so:www/tidy-html5 .endif .if ${PHP_MODNAME} == "tokenizer" CONFIGURE_ARGS+= --enable-tokenizer .endif .if ${PHP_MODNAME} == "xml" CONFIGURE_ARGS+= --enable-xml USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xmlreader" CONFIGURE_ARGS+= --enable-xmlreader USE_GNOME= libxml2 USE_PHP= dom:build .endif .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+= --enable-xmlwriter USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xsl" CONFIGURE_ARGS+= --with-xsl=${LOCALBASE} USE_GNOME= libxslt USE_PHP= dom:build xml:build .endif .if ${PHP_MODNAME} == "zip" LIB_DEPENDS+= libzip.so:archivers/libzip CONFIGURE_ARGS+= --with-zip --with-zlib-dir=/usr USES+= pkgconfig .endif .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+= --with-zlib=/usr USES+= pkgconfig .endif .include .if ${ARCH} == aarch64 && ${PHP_MODNAME} == "opcache" CONFIGURE_ARGS+=--disable-opcache-jit .endif .if ${PHP_MODNAME} == "sqlite3" || ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif .if ${PHP_MODNAME} == "xml" post-extract: @${MKDIR} ${WRKSRC}/ext/xml @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml .endif .endif .include diff --git a/lang/php82/Makefile b/lang/php82/Makefile index f09eb476318b..50a05aba5d98 100644 --- a/lang/php82/Makefile +++ b/lang/php82/Makefile @@ -1,607 +1,607 @@ PORTNAME= php82 DISTVERSION= 8.2.28 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${DISTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= PHP Scripting Language (8.2.X branch) WWW= https://www.php.net/ LICENSE= PHP301 USES+= compiler:c11 cpe gnome localbase pkgconfig tar:xz CPE_PRODUCT= php PHP_VER= 82 CONFLICTS_INSTALL?= php[0-9][0-9]${PKGNAMESUFFIX} .if !defined(PKGNAMESUFFIX) LIB_DEPENDS= libargon2.so:security/libargon2 \ libpcre2-8.so:devel/pcre2 GNU_CONFIGURE= yes CONFIGURE_ARGS+= \ --disable-all \ --program-prefix="" \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --with-layout=GNU \ --with-libxml \ --with-openssl \ --with-password-argon2=${LOCALBASE} USES+= autoreconf:build ssl USE_GNOME= libxml2 LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl # PR230207 Allow relocations against read-only segments (override lld default) LDFLAGS_i386+= -Wl,-z,notext OPTIONS_DEFINE+=CGI CLI DEBUG DTRACE EMBED FPM IPV6 LINKTHR \ MYSQLND PCRE PHPDBG ZTS OPTIONS_DEFAULT= CGI CLI DTRACE EMBED FPM LINKTHR MYSQLND PCRE OPTIONS_EXCLUDE_DragonFly= DTRACE # ld(1) fails to link probes: Relocations in generic ELF (EM: 0) OPTIONS_EXCLUDE_aarch64= DTRACE # dt_modtext:opensolaris/ib/libdtrace/common/dt_link.c: arm not impemented OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE # Bug 197128: No ASM code for MIPS/MIPS64, disable FPM OPTIONS_EXCLUDE_mips= DTRACE FPM OPTIONS_EXCLUDE_mips64= DTRACE FPM OPTIONS_EXCLUDE_riscv64= DTRACE NO_OPTIONS_SORT= yes OPTIONS_SUB= yes CGI_DESC= Build CGI version CLI_DESC= Build CLI version EMBED_DESC= Build embedded library FPM_DESC= Build FPM version LINKTHR_DESC= Link thread lib (for threaded extensions) MYSQLND_DESC= Build with MySQL Native Driver PCRE_DESC= Use system pcre instead of bundled one PHPDBG_DESC= Interactive PHP debugger ZTS_DESC= Force Zend Thread Safety (ZTS) build CGI_CONFIGURE_OFF= --disable-cgi CGI_VARS= PHP_SAPI+=cgi CLI_CONFIGURE_OFF= --disable-cli CLI_VARS= PHP_SAPI+=cli DEBUG_CONFIGURE_ON= --enable-debug DTRACE_CONFIGURE_ON= --enable-dtrace EMBED_CONFIGURE_ON= --enable-embed EMBED_VARS= PHP_SAPI+=embed FPM_CONFIGURE_ON= --enable-fpm \ --with-fpm-group=${WWWGRP} \ --with-fpm-user=${WWWOWN} FPM_VARS= PHP_SAPI+=fpm \ USE_RC_SUBR+=php_fpm IPV6_CONFIGURE_OFF= --disable-ipv6 LINKTHR_LIBS= -lpthread MYSQLND_CONFIGURE_ON= --enable-mysqlnd PCRE_BUILD_DEPENDS= re2c>0:devel/re2c PCRE_CONFIGURE_ON= --with-external-pcre=${LOCALBASE} PCRE_PLIST_SUB= BUNDLED_PCRE="@comment " PCRE_PLIST_SUB_OFF= BUNDLED_PCRE="" PHPDBG_CONFIGURE_ON= --enable-phpdbg PHPDBG_VARS= PHP_SAPI+=phpdbg ZTS_CONFIGURE_ON= --enable-zts ZTS_CONFIGURE_ENV= pthreads_working="yes" DESTDIRNAME= INSTALL_ROOT .if defined(PKGNAMEPREFIX) USES+= apache PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp SHORTMODNAME= php WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" WARNING+= "!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!" .endif .include .if ${ARCH} == riscv64 CONFIGURE_ARGS+= --without-pcre-jit .endif .if ${PORT_OPTIONS:MPHPDBG} && ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-phpdbg-debug .endif .if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} PLIST_SUB+= SAPI_INC="" .else PLIST_SUB+= SAPI_INC="@comment " .endif CONFIGURE_ENV+= ac_cv_decimal_fp_supported="no" \ lt_cv_path_SED="sed" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h post-patch-FPM-on: @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ ${WRKSRC}/sapi/fpm/php-fpm.conf.in pre-configure: @(cd ${WRKSRC} && ${SETENV} MAKE=${MAKE_CMD} ./buildconf --force) .if !defined(PKGNAMEPREFIX) post-build: @${ECHO_CMD} "PHP_VER=${PHP_VER}" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf @${ECHO_CMD} -n "PHP_EXT_DIR=" >> ${WRKDIR}/php.conf @${SH} ${WRKSRC}/scripts/php-config --extension-dir | ${SED} -ne 's,^${PREFIX}/lib/php/,,p' >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_INC=hash json openssl pcre random spl" >> ${WRKDIR}/php.conf test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: ${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc post-install-CGI-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php-cgi post-install-CLI-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php post-install-EMBED-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libphp.so post-install-FPM-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/php-fpm post-install-PHPDBG-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/phpdbg .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .endif .else COMMENT= The ${PHP_MODNAME} shared extension for php USES+= php:ext,noflavors PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_VER= 82 IGNORE_WITH_PHP= 81 83 84 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} TEST_TARGET= test .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+= --enable-bcmath PHP_HEADER_DIRS= libbcmath/src .endif .if ${PHP_MODNAME} == "bz2" CONFIGURE_ARGS+= --with-bz2=/usr .endif .if ${PHP_MODNAME} == "calendar" CONFIGURE_ARGS+= --enable-calendar .endif .if ${PHP_MODNAME} == "ctype" CONFIGURE_ARGS+= --enable-ctype .endif .if ${PHP_MODNAME} == "curl" LIB_DEPENDS+= libcurl.so:ftp/curl CONFIGURE_ARGS+= --with-curl=${LOCALBASE} USES+= pkgconfig .endif .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+= --enable-dba OPTIONS_DEFINE= CDB DB4 FLATFILE GDBM INIFILE LMDB QDBM TOKYO OPTIONS_DEFAULT= CDB FLATFILE INIFILE CDB_DESC= cdb database support DB4_DESC= Berkeley DB4 support FLATFILE_DESC= flatfile support GDBM_DESC= GDBM database support INIFILE_DESC= INI file support LMDB_DESC= LMDB database support QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support CDB_CONFIGURE_OFF= --without-cdb DB4_CONFIGURE_ON= --with-db4=${LOCALBASE} DB4_USES= bdb DB4_VARS= WITH_BDB_HIGHEST=yes FLATFILE_CONFIGURE_ON= --disable-flatfile GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm GDBM_CONFIGURE_ARGS= --with-gdbm=${LOCALBASE} INIFILE_CONFIGURE_OFF= --disable-inifile LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_CONFIGURE_ARGS= --with-lmdb=${LOCALBASE} QDBM_LIB_DEPENDS= libqdbm.so:databases/qdbm QDBM_CONFIGURE_ARGS= --with-qdbm=${LOCALBASE} TOKYO_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet TOKYO_CONFIGURE_ON= --with-tcadb=${LOCALBASE} PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif .if ${PHP_MODNAME} == "dom" CONFIGURE_ARGS+= --enable-dom USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "enchant" LIB_DEPENDS+= libenchant-2.so:textproc/enchant2 CONFIGURE_ARGS+=--with-enchant=${LOCALBASE} USES+= pkgconfig .endif .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+= --enable-exif .endif .if ${PHP_MODNAME} == "ffi" LIB_DEPENDS= libffi.so:devel/libffi CONFIGURE_ARGS+= --with-ffi .endif .if ${PHP_MODNAME} == "fileinfo" CONFIGURE_ARGS+= --enable-fileinfo PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" CONFIGURE_ARGS+= --enable-filter .endif .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+= --enable-ftp CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= pkgconfig ssl .endif .if ${PHP_MODNAME} == "gd" LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgd.so:graphics/gd \ libpng.so:graphics/png USES+= jpeg CONFIGURE_ARGS+= --enable-gd \ --with-external-gd EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions --exclude libgd \ php-${DISTVERSION}/ext/gd OPTIONS_DEFINE= JIS WEBP X11 JIS_DESC= Enable JIS-mapped Japanese font support WEBP_DESC= Enable WebP image format support X11_DESC= Enable XPM support JIS_CONFIGURE_ON= --enable-gd-jis-conv WEBP_CONFIGURE_ON= --with-webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_ON= --with-xpm X11_USE= XORG=xpm X11_USES= xorg .endif .if ${PHP_MODNAME} == "gettext" CONFIGURE_ARGS+= --with-gettext=${LOCALBASE} USES+= gettext .endif .if ${PHP_MODNAME} == "gmp" LIB_DEPENDS+= libgmp.so:math/gmp CONFIGURE_ARGS+= --with-gmp=${LOCALBASE} .endif .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+= --with-iconv=${LOCALBASE} USES+= iconv:translit .endif .if ${PHP_MODNAME} == "imap" PHP_MOD_PRIO= 30 LIB_DEPENDS+= libc-client.so.2010:mail/panda-cclient CONFIGURE_ARGS+= --with-imap-ssl=${OPENSSLBASE} \ --with-imap=${LOCALBASE} CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= ssl .endif .if ${PHP_MODNAME} == "intl" LIB_DEPENDS= libicui18n.so:devel/icu USES+= pkgconfig CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 .endif .if ${PHP_MODNAME} == "ldap" CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-ldap-sasl=${LOCALBASE} USES+= ldap .endif .if ${PHP_MODNAME} == "mbstring" CONFIGURE_ARGS+= --enable-mbstring OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT= REGEX REGEX_DESC= Enable multibyte regex support REGEX_LIB_DEPENDS= libonig.so:devel/oniguruma REGEX_CONFIGURE_OFF= --disable-mbregex PHP_HEADER_DIRS= libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls .endif .if ${PHP_MODNAME} == "mysqli" CONFIGURE_ARGS+= --with-mysqli .endif .if ${PHP_MODNAME} == "odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+= --enable-odbc --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "opcache" # This is needed by Zend extensions, keep before everything. PHP_MOD_PRIO= 10 CONFIGURE_ARGS+= --enable-opcache .endif .if ${PHP_MODNAME} == "pcntl" CONFIGURE_ARGS+= --enable-pcntl .endif .if ${PHP_MODNAME} == "pdo" CONFIGURE_ARGS+= --enable-pdo .endif .if ${PHP_MODNAME} == "pdo_dblib" CONFIGURE_ARGS+= --with-pdo-dblib=${LOCALBASE} USE_PHP= pdo:build OPTIONS_DEFINE= MSSQL MSSQL_DESC= Enable Microsoft SQL Server support MSSQL_LIB_DEPENDS= libsybdb.so:databases/freetds MSSQL_LIB_DEPENDS_OFF= libct.so:databases/freetds .endif .if ${PHP_MODNAME} == "pdo_firebird" CONFIGURE_ARGS+= --with-pdo-firebird=${LOCALBASE} USES+= firebird USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+= --with-pdo-odbc=unixODBC,${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT= MYSQLND MYSQLND_DESC= Use MySQL Native Driver MYSQLND_CONFIGURE_ON= --with-pdo-mysql=mysqlnd MYSQLND_CONFIGURE_OFF= --with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr MYSQLND_USES_OFF= mysql USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_pgsql" USES+= pgsql CONFIGURE_ARGS+= --with-pdo-pgsql=${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_sqlite" USES+= localbase sqlite CONFIGURE_ARGS+= --with-pdo-sqlite=${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pgsql" USES+= pgsql CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+= --enable-phar .endif .if ${PHP_MODNAME} == "posix" CONFIGURE_ARGS+= --enable-posix .endif .if ${PHP_MODNAME} == "pspell" LIB_DEPENDS+= libaspell.so:textproc/aspell CONFIGURE_ARGS+= --with-pspell=${LOCALBASE} .endif .if ${PHP_MODNAME} == "readline" CONFIGURE_ARGS+=--with-libedit USES+= libedit .endif .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+= --enable-session PHP_MOD_PRIO= 18 .endif .if ${PHP_MODNAME} == "shmop" CONFIGURE_ARGS+= --enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" CONFIGURE_ARGS+= --enable-simplexml USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" CONFIGURE_ARGS+= --with-snmp=${LOCALBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= ssl .endif .if ${PHP_MODNAME} == "soap" CONFIGURE_ARGS+= --enable-soap USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "sockets" CONFIGURE_ARGS+= --enable-sockets CONFIGURE_ENV+= LOCAL_CREDS_PERSISTENT=yes .endif .if ${PHP_MODNAME} == "sodium" CONFIGURE_ARGS+= --with-sodium=${LOCALBASE} LIB_DEPENDS+= libsodium.so:security/libsodium .endif .if ${PHP_MODNAME} == "sqlite3" USES+= localbase pkgconfig sqlite CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sysvmsg" CONFIGURE_ARGS+= --enable-sysvmsg .endif .if ${PHP_MODNAME} == "sysvsem" CONFIGURE_ARGS+= --enable-sysvsem .endif .if ${PHP_MODNAME} == "sysvshm" CONFIGURE_ARGS+= --enable-sysvshm .endif .if ${PHP_MODNAME} == "tidy" CONFIGURE_ARGS+= --with-tidy=${LOCALBASE} LIB_DEPENDS+= libtidy5.so:www/tidy-html5 .endif .if ${PHP_MODNAME} == "tokenizer" CONFIGURE_ARGS+= --enable-tokenizer .endif .if ${PHP_MODNAME} == "xml" CONFIGURE_ARGS+= --enable-xml USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xmlreader" CONFIGURE_ARGS+= --enable-xmlreader USE_GNOME= libxml2 USE_PHP= dom:build .endif .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+= --enable-xmlwriter USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xsl" CONFIGURE_ARGS+= --with-xsl=${LOCALBASE} USE_GNOME= libxslt USE_PHP= dom:build xml:build .endif .if ${PHP_MODNAME} == "zip" LIB_DEPENDS+= libzip.so:archivers/libzip CONFIGURE_ARGS+= --with-zip --with-zlib-dir=/usr USES+= pkgconfig .endif .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+= --with-zlib=/usr USES+= pkgconfig .endif .include .if ${ARCH} == aarch64 && ${PHP_MODNAME} == "opcache" CONFIGURE_ARGS+=--disable-opcache-jit .endif .if ${PHP_MODNAME} == "sqlite3" || ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif .if ${PHP_MODNAME} == "xml" post-extract: @${MKDIR} ${WRKSRC}/ext/xml @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml .endif .endif .include diff --git a/lang/php83/Makefile b/lang/php83/Makefile index f70967d5e8b7..602850e1b2c1 100644 --- a/lang/php83/Makefile +++ b/lang/php83/Makefile @@ -1,626 +1,626 @@ PORTNAME= php83 DISTVERSION= 8.3.22 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${DISTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= PHP Scripting Language (8.3.X branch) WWW= https://www.php.net/ LICENSE= PHP301 USES+= compiler:c11 cpe gnome localbase pkgconfig tar:xz CPE_PRODUCT= php PHP_VER= 83 CONFLICTS_INSTALL?= php[0-9][0-9]${PKGNAMESUFFIX} .if !defined(PKGNAMESUFFIX) LIB_DEPENDS= libargon2.so:security/libargon2 \ libpcre2-8.so:devel/pcre2 GNU_CONFIGURE= yes CONFIGURE_ARGS+= \ --disable-all \ --program-prefix="" \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --with-layout=GNU \ --with-libxml \ --with-openssl \ --with-password-argon2=${LOCALBASE} USES+= autoreconf:build ssl USE_GNOME= libxml2 LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl # PR230207 Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-z,notext OPTIONS_DEFINE+=CGI CLI DEBUG DTRACE EMBED FPM IPV6 LINKTHR \ MYSQLND NOASLR PCRE PHPDBG ZTS OPTIONS_DEFAULT= CGI CLI DTRACE EMBED FPM LINKTHR MYSQLND PCRE OPTIONS_EXCLUDE_DragonFly= DTRACE # ld(1) fails to link probes: Relocations in generic ELF (EM: 0) OPTIONS_EXCLUDE_aarch64= DTRACE # dt_modtext:opensolaris/ib/libdtrace/common/dt_link.c: arm not impemented OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE # Bug 197128: No ASM code for MIPS/MIPS64, disable FPM OPTIONS_EXCLUDE_mips= DTRACE FPM OPTIONS_EXCLUDE_mips64= DTRACE FPM OPTIONS_EXCLUDE_riscv64= DTRACE NO_OPTIONS_SORT= yes OPTIONS_SUB= yes CGI_DESC= Build CGI version CLI_DESC= Build CLI version EMBED_DESC= Build embedded library FPM_DESC= Build FPM version LINKTHR_DESC= Link thread lib (for threaded extensions) MYSQLND_DESC= Build with MySQL Native Driver PCRE_DESC= Use system pcre instead of bundled one PHPDBG_DESC= Interactive PHP debugger ZTS_DESC= Force Zend Thread Safety (ZTS) build CGI_CONFIGURE_OFF= --disable-cgi CGI_VARS= PHP_SAPI+=cgi CLI_CONFIGURE_OFF= --disable-cli CLI_VARS= PHP_SAPI+=cli DEBUG_CONFIGURE_ON= --enable-debug DTRACE_CONFIGURE_ON= --enable-dtrace EMBED_CONFIGURE_ON= --enable-embed EMBED_VARS= PHP_SAPI+=embed FPM_CONFIGURE_ON= --enable-fpm \ --with-fpm-group=${WWWGRP} \ --with-fpm-user=${WWWOWN} FPM_VARS= PHP_SAPI+=fpm \ USE_RC_SUBR+=php_fpm IPV6_CONFIGURE_OFF= --disable-ipv6 LINKTHR_LIBS= -lpthread NOASLR_USES= elfctl MYSQLND_CONFIGURE_ON= --enable-mysqlnd PCRE_BUILD_DEPENDS= re2c>0:devel/re2c PCRE_CONFIGURE_ON= --with-external-pcre=${LOCALBASE} PCRE_PLIST_SUB= BUNDLED_PCRE="@comment " PCRE_PLIST_SUB_OFF= BUNDLED_PCRE="" PHPDBG_CONFIGURE_ON= --enable-phpdbg PHPDBG_VARS= PHP_SAPI+=phpdbg ZTS_CONFIGURE_ON= --enable-zts ZTS_CONFIGURE_ENV= pthreads_working="yes" DESTDIRNAME= INSTALL_ROOT .if defined(PKGNAMEPREFIX) USES+= apache PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp SHORTMODNAME= php WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" WARNING+= "!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!" .endif .include .if ${PORT_OPTIONS:NOASLR} .if ${PORT_OPTIONS:MCLI} ELF_FEATURES+=+noaslr:sapi/cli/php .endif .if ${PORT_OPTIONS:MCGI} ELF_FEATURES+=+noaslr:sapi/cgi/php-cgi .endif .if ${PORT_OPTIONS:MPHPDBG} ELF_FEATURES+=+noaslr:sapi/phpdbg/phpdbg .endif .if ${PORT_OPTIONS:MFPM} ELF_FEATURES+=+noaslr:sapi/fpm/php-fpm .endif .endif .include .if ${ARCH} == riscv64 CONFIGURE_ARGS+= --without-pcre-jit .endif .if ${PORT_OPTIONS:MPHPDBG} && ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-phpdbg-debug .endif .if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} PLIST_SUB+= SAPI_INC="" .else PLIST_SUB+= SAPI_INC="@comment " .endif CONFIGURE_ENV+= ac_cv_decimal_fp_supported="no" \ lt_cv_path_SED="sed" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h post-patch-FPM-on: @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ ${WRKSRC}/sapi/fpm/php-fpm.conf.in pre-configure: @(cd ${WRKSRC} && ${SETENV} MAKE=${MAKE_CMD} ./buildconf --force) .if !defined(PKGNAMEPREFIX) post-build: @${ECHO_CMD} "PHP_VER=${PHP_VER}" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf @${ECHO_CMD} -n "PHP_EXT_DIR=" >> ${WRKDIR}/php.conf @${SH} ${WRKSRC}/scripts/php-config --extension-dir | ${SED} -ne 's,^${PREFIX}/lib/php/,,p' >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_INC=hash json openssl pcre random spl" >> ${WRKDIR}/php.conf test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: ${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc post-install-CGI-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php-cgi post-install-CLI-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php post-install-EMBED-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libphp.so post-install-FPM-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/php-fpm post-install-PHPDBG-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/phpdbg .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .endif .else COMMENT= The ${PHP_MODNAME} shared extension for php USES+= php:ext,noflavors PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_VER= 83 IGNORE_WITH_PHP= 81 82 84 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} TEST_TARGET= test .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+= --enable-bcmath PHP_HEADER_DIRS= libbcmath/src .endif .if ${PHP_MODNAME} == "bz2" CONFIGURE_ARGS+= --with-bz2=/usr .endif .if ${PHP_MODNAME} == "calendar" CONFIGURE_ARGS+= --enable-calendar .endif .if ${PHP_MODNAME} == "ctype" CONFIGURE_ARGS+= --enable-ctype .endif .if ${PHP_MODNAME} == "curl" LIB_DEPENDS+= libcurl.so:ftp/curl CONFIGURE_ARGS+= --with-curl=${LOCALBASE} USES+= pkgconfig .endif .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+= --enable-dba OPTIONS_DEFINE= CDB DB4 FLATFILE GDBM INIFILE LMDB QDBM TOKYO OPTIONS_DEFAULT= CDB FLATFILE INIFILE CDB_DESC= cdb database support DB4_DESC= Berkeley DB4 support FLATFILE_DESC= flatfile support GDBM_DESC= GDBM database support INIFILE_DESC= INI file support LMDB_DESC= LMDB database support QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support CDB_CONFIGURE_OFF= --without-cdb DB4_CONFIGURE_ON= --with-db4=${LOCALBASE} DB4_USES= bdb DB4_VARS= WITH_BDB_HIGHEST=yes FLATFILE_CONFIGURE_ON= --disable-flatfile GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm GDBM_CONFIGURE_ARGS= --with-gdbm=${LOCALBASE} INIFILE_CONFIGURE_OFF= --disable-inifile LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_CONFIGURE_ARGS= --with-lmdb=${LOCALBASE} QDBM_LIB_DEPENDS= libqdbm.so:databases/qdbm QDBM_CONFIGURE_ARGS= --with-qdbm=${LOCALBASE} TOKYO_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet TOKYO_CONFIGURE_ON= --with-tcadb=${LOCALBASE} PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif .if ${PHP_MODNAME} == "dom" CONFIGURE_ARGS+= --enable-dom USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "enchant" LIB_DEPENDS+= libenchant-2.so:textproc/enchant2 CONFIGURE_ARGS+=--with-enchant=${LOCALBASE} USES+= pkgconfig .endif .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+= --enable-exif .endif .if ${PHP_MODNAME} == "ffi" LIB_DEPENDS= libffi.so:devel/libffi CONFIGURE_ARGS+= --with-ffi .endif .if ${PHP_MODNAME} == "fileinfo" CONFIGURE_ARGS+= --enable-fileinfo PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" CONFIGURE_ARGS+= --enable-filter .endif .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+= --enable-ftp CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= pkgconfig ssl .endif .if ${PHP_MODNAME} == "gd" LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgd.so:graphics/gd \ libpng.so:graphics/png USES+= jpeg CONFIGURE_ARGS+= --enable-gd \ --with-external-gd EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions --exclude libgd \ php-${DISTVERSION}/ext/gd OPTIONS_DEFINE= JIS WEBP X11 JIS_DESC= Enable JIS-mapped Japanese font support WEBP_DESC= Enable WebP image format support X11_DESC= Enable XPM support JIS_CONFIGURE_ON= --enable-gd-jis-conv WEBP_CONFIGURE_ON= --with-webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_ON= --with-xpm X11_USE= XORG=xpm X11_USES= xorg .endif .if ${PHP_MODNAME} == "gettext" CONFIGURE_ARGS+= --with-gettext=${LOCALBASE} USES+= gettext .endif .if ${PHP_MODNAME} == "gmp" LIB_DEPENDS+= libgmp.so:math/gmp CONFIGURE_ARGS+= --with-gmp=${LOCALBASE} .endif .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+= --with-iconv=${LOCALBASE} USES+= iconv:translit .endif .if ${PHP_MODNAME} == "imap" PHP_MOD_PRIO= 30 LIB_DEPENDS+= libc-client.so.2010:mail/panda-cclient CONFIGURE_ARGS+= --with-imap-ssl=${OPENSSLBASE} \ --with-imap=${LOCALBASE} CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= ssl .endif .if ${PHP_MODNAME} == "intl" LIB_DEPENDS= libicui18n.so:devel/icu USES+= pkgconfig CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 .endif .if ${PHP_MODNAME} == "ldap" LIB_DEPENDS+=libsasl2.so:security/cyrus-sasl2 CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-ldap-sasl=${LOCALBASE} USES+= ldap .endif .if ${PHP_MODNAME} == "mbstring" CONFIGURE_ARGS+= --enable-mbstring OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT= REGEX REGEX_DESC= Enable multibyte regex support REGEX_LIB_DEPENDS= libonig.so:devel/oniguruma REGEX_CONFIGURE_OFF= --disable-mbregex PHP_HEADER_DIRS= libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls .endif .if ${PHP_MODNAME} == "mysqli" CONFIGURE_ARGS+= --with-mysqli .endif .if ${PHP_MODNAME} == "odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+= --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "opcache" # This is needed by Zend extensions, keep before everything. PHP_MOD_PRIO= 10 CONFIGURE_ARGS+= --enable-opcache .endif .if ${PHP_MODNAME} == "pcntl" CONFIGURE_ARGS+= --enable-pcntl .endif .if ${PHP_MODNAME} == "pdo" CONFIGURE_ARGS+= --enable-pdo .endif .if ${PHP_MODNAME} == "pdo_dblib" CONFIGURE_ARGS+= --with-pdo-dblib=${LOCALBASE} USE_PHP= pdo:build OPTIONS_DEFINE= MSSQL MSSQL_DESC= Enable Microsoft SQL Server support MSSQL_LIB_DEPENDS= libsybdb.so:databases/freetds MSSQL_LIB_DEPENDS_OFF= libct.so:databases/freetds .endif .if ${PHP_MODNAME} == "pdo_firebird" CONFIGURE_ARGS+= --with-pdo-firebird=${LOCALBASE} USES+= firebird USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+= --with-pdo-odbc=unixODBC,${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT= MYSQLND MYSQLND_DESC= Use MySQL Native Driver MYSQLND_CONFIGURE_ON= --with-pdo-mysql=mysqlnd MYSQLND_CONFIGURE_OFF= --with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr MYSQLND_USES_OFF= mysql USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_pgsql" USES+= pgsql CONFIGURE_ARGS+= --with-pdo-pgsql=${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_sqlite" USES+= localbase sqlite CONFIGURE_ARGS+= --with-pdo-sqlite=${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pgsql" USES+= pgsql CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+= --enable-phar .endif .if ${PHP_MODNAME} == "posix" CONFIGURE_ARGS+= --enable-posix .endif .if ${PHP_MODNAME} == "pspell" LIB_DEPENDS+= libaspell.so:textproc/aspell CONFIGURE_ARGS+= --with-pspell=${LOCALBASE} .endif .if ${PHP_MODNAME} == "readline" CONFIGURE_ARGS+=--with-libedit USES+= libedit .endif .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+= --enable-session PHP_MOD_PRIO= 18 .endif .if ${PHP_MODNAME} == "shmop" CONFIGURE_ARGS+= --enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" CONFIGURE_ARGS+= --enable-simplexml USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" CONFIGURE_ARGS+= --with-snmp=${LOCALBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= ssl .endif .if ${PHP_MODNAME} == "soap" CONFIGURE_ARGS+= --enable-soap USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "sockets" CONFIGURE_ARGS+= --enable-sockets CONFIGURE_ENV+= LOCAL_CREDS_PERSISTENT=yes .endif .if ${PHP_MODNAME} == "sodium" CONFIGURE_ARGS+= --with-sodium=${LOCALBASE} LIB_DEPENDS+= libsodium.so:security/libsodium .endif .if ${PHP_MODNAME} == "sqlite3" USES+= localbase pkgconfig sqlite CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sysvmsg" CONFIGURE_ARGS+= --enable-sysvmsg .endif .if ${PHP_MODNAME} == "sysvsem" CONFIGURE_ARGS+= --enable-sysvsem .endif .if ${PHP_MODNAME} == "sysvshm" CONFIGURE_ARGS+= --enable-sysvshm .endif .if ${PHP_MODNAME} == "tidy" CONFIGURE_ARGS+= --with-tidy=${LOCALBASE} LIB_DEPENDS+= libtidy5.so:www/tidy-html5 .endif .if ${PHP_MODNAME} == "tokenizer" CONFIGURE_ARGS+= --enable-tokenizer .endif .if ${PHP_MODNAME} == "xml" CONFIGURE_ARGS+= --enable-xml USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xmlreader" CONFIGURE_ARGS+= --enable-xmlreader USE_GNOME= libxml2 USE_PHP= dom:build .endif .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+= --enable-xmlwriter USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xsl" CONFIGURE_ARGS+= --with-xsl=${LOCALBASE} USE_GNOME= libxslt USE_PHP= dom:build xml:build .endif .if ${PHP_MODNAME} == "zip" LIB_DEPENDS+= libzip.so:archivers/libzip CONFIGURE_ARGS+= --with-zip USES+= pkgconfig .endif .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+= --with-zlib=/usr USES+= pkgconfig .endif .include .if ${ARCH} == aarch64 && ${PHP_MODNAME} == "opcache" CONFIGURE_ARGS+=--disable-opcache-jit .endif .if ${PHP_MODNAME} == "sqlite3" || ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif .if ${PHP_MODNAME} == "xml" post-extract: @${MKDIR} ${WRKSRC}/ext/xml @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml .endif .endif .include diff --git a/lang/php84/Makefile b/lang/php84/Makefile index b6c07273399a..4aff26d711a7 100644 --- a/lang/php84/Makefile +++ b/lang/php84/Makefile @@ -1,616 +1,616 @@ PORTNAME= php84 DISTVERSION= 8.4.8 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions DISTNAME= php-${DISTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= PHP Scripting Language (8.4.X branch) WWW= https://www.php.net/ LICENSE= PHP301 USES+= compiler:c11 cpe gnome localbase pkgconfig tar:xz CPE_PRODUCT= php PHP_VER= 84 CONFLICTS_INSTALL?= php[0-9][0-9]${PKGNAMESUFFIX} .if !defined(PKGNAMESUFFIX) LIB_DEPENDS= libargon2.so:security/libargon2 \ libpcre2-8.so:devel/pcre2 GNU_CONFIGURE= yes CONFIGURE_ARGS+= \ --disable-all \ --program-prefix="" \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --with-layout=GNU \ --with-libxml \ --with-openssl \ --with-password-argon2=${LOCALBASE} USES+= autoreconf:build ssl USE_GNOME= libxml2 LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl # PR230207 Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-z,notext OPTIONS_DEFINE+=CGI CLI DEBUG DTRACE EMBED FPM IPV6 LINKTHR \ MYSQLND NOASLR PCRE PHPDBG ZTS OPTIONS_DEFAULT= CGI CLI DTRACE EMBED FPM LINKTHR MYSQLND PCRE OPTIONS_EXCLUDE_DragonFly= DTRACE # ld(1) fails to link probes: Relocations in generic ELF (EM: 0) OPTIONS_EXCLUDE_aarch64= DTRACE # dt_modtext:opensolaris/ib/libdtrace/common/dt_link.c: arm not impemented OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE # Bug 197128: No ASM code for MIPS/MIPS64, disable FPM OPTIONS_EXCLUDE_mips= DTRACE FPM OPTIONS_EXCLUDE_mips64= DTRACE FPM OPTIONS_EXCLUDE_riscv64= DTRACE NO_OPTIONS_SORT= yes OPTIONS_SUB= yes CGI_DESC= Build CGI version CLI_DESC= Build CLI version EMBED_DESC= Build embedded library FPM_DESC= Build FPM version LINKTHR_DESC= Link thread lib (for threaded extensions) MYSQLND_DESC= Build with MySQL Native Driver PCRE_DESC= Use system pcre instead of bundled one PHPDBG_DESC= Interactive PHP debugger ZTS_DESC= Force Zend Thread Safety (ZTS) build CGI_CONFIGURE_OFF= --disable-cgi CGI_VARS= PHP_SAPI+=cgi CLI_CONFIGURE_OFF= --disable-cli CLI_VARS= PHP_SAPI+=cli DEBUG_CONFIGURE_ON= --enable-debug DTRACE_CONFIGURE_ON= --enable-dtrace EMBED_CONFIGURE_ON= --enable-embed EMBED_VARS= PHP_SAPI+=embed FPM_CONFIGURE_ON= --enable-fpm \ --with-fpm-group=${WWWGRP} \ --with-fpm-user=${WWWOWN} FPM_VARS= PHP_SAPI+=fpm \ USE_RC_SUBR+=php_fpm IPV6_CONFIGURE_OFF= --disable-ipv6 LINKTHR_LIBS= -lpthread NOASLR_USES= elfctl MYSQLND_CONFIGURE_ON= --enable-mysqlnd PCRE_BUILD_DEPENDS= re2c>0:devel/re2c PCRE_CONFIGURE_ON= --with-external-pcre=${LOCALBASE} PCRE_PLIST_SUB= BUNDLED_PCRE="@comment " PCRE_PLIST_SUB_OFF= BUNDLED_PCRE="" PHPDBG_CONFIGURE_ON= --enable-phpdbg PHPDBG_VARS= PHP_SAPI+=phpdbg ZTS_CONFIGURE_ON= --enable-zts ZTS_CONFIGURE_ENV= pthreads_working="yes" DESTDIRNAME= INSTALL_ROOT .if defined(PKGNAMEPREFIX) USES+= apache PLIST= ${PKGDIR}/pkg-plist.mod PKGMESSAGE= ${PKGDIR}/pkg-message.mod MODULENAME= libphp SHORTMODNAME= php WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" WARNING+= "!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!" .endif .include .if ${PORT_OPTIONS:NOASLR} .if ${PORT_OPTIONS:MCLI} ELF_FEATURES+=+noaslr:sapi/cli/php .endif .if ${PORT_OPTIONS:MCGI} ELF_FEATURES+=+noaslr:sapi/cgi/php-cgi .endif .if ${PORT_OPTIONS:MPHPDBG} ELF_FEATURES+=+noaslr:sapi/phpdbg/phpdbg .endif .if ${PORT_OPTIONS:MFPM} ELF_FEATURES+=+noaslr:sapi/fpm/php-fpm .endif .endif .include .if ${ARCH} == riscv64 CONFIGURE_ARGS+= --without-pcre-jit .endif .if ${PORT_OPTIONS:MPHPDBG} && ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-phpdbg-debug .endif .if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} PLIST_SUB+= SAPI_INC="" .else PLIST_SUB+= SAPI_INC="@comment " .endif CONFIGURE_ENV+= ac_cv_decimal_fp_supported="no" \ lt_cv_path_SED="sed" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h post-patch-FPM-on: @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ ${WRKSRC}/sapi/fpm/php-fpm.conf.in pre-configure: @(cd ${WRKSRC} && ${SETENV} MAKE=${MAKE_CMD} ./buildconf --force) .if !defined(PKGNAMEPREFIX) post-build: @${ECHO_CMD} "PHP_VER=${PHP_VER}" > ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf @${ECHO_CMD} -n "PHP_EXT_DIR=" >> ${WRKDIR}/php.conf @${SH} ${WRKSRC}/scripts/php-config --extension-dir | ${SED} -ne 's,^${PREFIX}/lib/php/,,p' >> ${WRKDIR}/php.conf @${ECHO_CMD} "PHP_EXT_INC=hash json openssl pcre random spl" >> ${WRKDIR}/php.conf test: build @(cd ${WRKSRC} && ${MAKE} test) post-install: ${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/Zend/zend_property_hooks.h ${STAGEDIR}${PREFIX}/include/php/Zend ${INSTALL_DATA} ${WRKSRC}/Zend/zend_lazy_objects.h ${STAGEDIR}${PREFIX}/include/php/Zend post-install-CGI-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php-cgi post-install-CLI-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php post-install-EMBED-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libphp.so post-install-FPM-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/php-fpm post-install-PHPDBG-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/phpdbg .else do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ ${STAGEDIR}${PREFIX}/${APACHEMODDIR} .endif .else COMMENT= The ${PHP_MODNAME} shared extension for php USES+= php:ext,noflavors PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_VER= 84 IGNORE_WITH_PHP= 81 82 83 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} TEST_TARGET= test .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+= --enable-bcmath PHP_HEADER_DIRS= libbcmath/src .endif .if ${PHP_MODNAME} == "bz2" CONFIGURE_ARGS+= --with-bz2=/usr .endif .if ${PHP_MODNAME} == "calendar" CONFIGURE_ARGS+= --enable-calendar .endif .if ${PHP_MODNAME} == "ctype" CONFIGURE_ARGS+= --enable-ctype .endif .if ${PHP_MODNAME} == "curl" LIB_DEPENDS+= libcurl.so:ftp/curl CONFIGURE_ARGS+= --with-curl=${LOCALBASE} USES+= pkgconfig .endif .if ${PHP_MODNAME} == "dba" CONFIGURE_ARGS+= --enable-dba OPTIONS_DEFINE= CDB DB4 FLATFILE GDBM INIFILE LMDB QDBM TOKYO OPTIONS_DEFAULT= CDB FLATFILE INIFILE CDB_DESC= cdb database support DB4_DESC= Berkeley DB4 support FLATFILE_DESC= flatfile support GDBM_DESC= GDBM database support INIFILE_DESC= INI file support LMDB_DESC= LMDB database support QDBM_DESC= QDBM database support TOKYO_DESC= Tokyo Cabinet database support CDB_CONFIGURE_OFF= --without-cdb DB4_CONFIGURE_ON= --with-db4=${LOCALBASE} DB4_USES= bdb DB4_VARS= WITH_BDB_HIGHEST=yes FLATFILE_CONFIGURE_ON= --disable-flatfile GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm GDBM_CONFIGURE_ARGS= --with-gdbm=${LOCALBASE} INIFILE_CONFIGURE_OFF= --disable-inifile LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb LMDB_CONFIGURE_ARGS= --with-lmdb=${LOCALBASE} QDBM_LIB_DEPENDS= libqdbm.so:databases/qdbm QDBM_CONFIGURE_ARGS= --with-qdbm=${LOCALBASE} TOKYO_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet TOKYO_CONFIGURE_ON= --with-tcadb=${LOCALBASE} PHP_HEADER_DIRS= libcdb libflatfile libinifile .endif .if ${PHP_MODNAME} == "dom" CONFIGURE_ARGS+= --enable-dom USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "enchant" LIB_DEPENDS+= libenchant-2.so:textproc/enchant2 CONFIGURE_ARGS+=--with-enchant=${LOCALBASE} USES+= pkgconfig .endif .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+= --enable-exif .endif .if ${PHP_MODNAME} == "ffi" LIB_DEPENDS= libffi.so:devel/libffi CONFIGURE_ARGS+= --with-ffi .endif .if ${PHP_MODNAME} == "fileinfo" CONFIGURE_ARGS+= --enable-fileinfo PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" CONFIGURE_ARGS+= --enable-filter .endif .if ${PHP_MODNAME} == "ftp" CONFIGURE_ARGS+= --enable-ftp CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ PHP_OPENSSL=yes LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= pkgconfig ssl .endif .if ${PHP_MODNAME} == "gd" LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgd.so:graphics/gd \ libpng.so:graphics/png USES+= jpeg CONFIGURE_ARGS+= --enable-gd \ --with-external-gd EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions --exclude libgd \ php-${DISTVERSION}/ext/gd OPTIONS_DEFINE= JIS WEBP X11 JIS_DESC= Enable JIS-mapped Japanese font support WEBP_DESC= Enable WebP image format support X11_DESC= Enable XPM support JIS_CONFIGURE_ON= --enable-gd-jis-conv WEBP_CONFIGURE_ON= --with-webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_ON= --with-xpm X11_USE= XORG=xpm X11_USES= xorg .endif .if ${PHP_MODNAME} == "gettext" CONFIGURE_ARGS+= --with-gettext=${LOCALBASE} USES+= gettext .endif .if ${PHP_MODNAME} == "gmp" LIB_DEPENDS+= libgmp.so:math/gmp CONFIGURE_ARGS+= --with-gmp=${LOCALBASE} .endif .if ${PHP_MODNAME} == "iconv" CONFIGURE_ARGS+= --with-iconv=${LOCALBASE} USES+= iconv:translit .endif .if ${PHP_MODNAME} == "intl" LIB_DEPENDS= libicui18n.so:devel/icu USES+= pkgconfig CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 .endif .if ${PHP_MODNAME} == "ldap" LIB_DEPENDS+=libsasl2.so:security/cyrus-sasl2 CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-ldap-sasl=${LOCALBASE} USES+= ldap .endif .if ${PHP_MODNAME} == "mbstring" CONFIGURE_ARGS+= --enable-mbstring OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT= REGEX REGEX_DESC= Enable multibyte regex support REGEX_LIB_DEPENDS= libonig.so:devel/oniguruma REGEX_CONFIGURE_OFF= --disable-mbregex PHP_HEADER_DIRS= libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls .endif .if ${PHP_MODNAME} == "mysqli" CONFIGURE_ARGS+= --with-mysqli .endif .if ${PHP_MODNAME} == "odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+= --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "opcache" LIB_DEPENDS+= libcapstone.so:devel/capstone # This is needed by Zend extensions, keep before everything. PHP_MOD_PRIO= 10 CONFIGURE_ARGS+= --enable-opcache --with-capstone .endif .if ${PHP_MODNAME} == "pcntl" CONFIGURE_ARGS+= --enable-pcntl .endif .if ${PHP_MODNAME} == "pdo" CONFIGURE_ARGS+= --enable-pdo .endif .if ${PHP_MODNAME} == "pdo_dblib" CONFIGURE_ARGS+= --with-pdo-dblib=${LOCALBASE} USE_PHP= pdo:build OPTIONS_DEFINE= MSSQL MSSQL_DESC= Enable Microsoft SQL Server support MSSQL_LIB_DEPENDS= libsybdb.so:databases/freetds MSSQL_LIB_DEPENDS_OFF= libct.so:databases/freetds .endif .if ${PHP_MODNAME} == "pdo_firebird" CONFIGURE_ARGS+= --with-pdo-firebird=${LOCALBASE} USES+= firebird USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_odbc" LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+= --with-pdo-odbc=unixODBC,${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_mysql" OPTIONS_DEFINE= MYSQLND OPTIONS_DEFAULT= MYSQLND MYSQLND_DESC= Use MySQL Native Driver MYSQLND_CONFIGURE_ON= --with-pdo-mysql=mysqlnd MYSQLND_CONFIGURE_OFF= --with-pdo-mysql=${LOCALBASE} \ --with-zlib-dir=/usr MYSQLND_USES_OFF= mysql USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_pgsql" USES+= pgsql CONFIGURE_ARGS+= --with-pdo-pgsql=${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pdo_sqlite" USES+= localbase sqlite CONFIGURE_ARGS+= --with-pdo-sqlite=${LOCALBASE} USE_PHP= pdo:build .endif .if ${PHP_MODNAME} == "pgsql" USES+= pgsql CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+= --enable-phar .endif .if ${PHP_MODNAME} == "posix" CONFIGURE_ARGS+= --enable-posix .endif .if ${PHP_MODNAME} == "readline" CONFIGURE_ARGS+=--with-libedit USES+= libedit .endif .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+= --enable-session PHP_MOD_PRIO= 18 .endif .if ${PHP_MODNAME} == "shmop" CONFIGURE_ARGS+= --enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" CONFIGURE_ARGS+= --enable-simplexml USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" CONFIGURE_ARGS+= --with-snmp=${LOCALBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl USES+= ssl .endif .if ${PHP_MODNAME} == "soap" CONFIGURE_ARGS+= --enable-soap USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "sockets" CONFIGURE_ARGS+= --enable-sockets CONFIGURE_ENV+= LOCAL_CREDS_PERSISTENT=yes .endif .if ${PHP_MODNAME} == "sodium" CONFIGURE_ARGS+= --with-sodium=${LOCALBASE} LIB_DEPENDS+= libsodium.so:security/libsodium .endif .if ${PHP_MODNAME} == "sqlite3" USES+= localbase pkgconfig sqlite CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE} .endif .if ${PHP_MODNAME} == "sysvmsg" CONFIGURE_ARGS+= --enable-sysvmsg .endif .if ${PHP_MODNAME} == "sysvsem" CONFIGURE_ARGS+= --enable-sysvsem .endif .if ${PHP_MODNAME} == "sysvshm" CONFIGURE_ARGS+= --enable-sysvshm .endif .if ${PHP_MODNAME} == "tidy" CONFIGURE_ARGS+= --with-tidy=${LOCALBASE} LIB_DEPENDS+= libtidy5.so:www/tidy-html5 .endif .if ${PHP_MODNAME} == "tokenizer" CONFIGURE_ARGS+= --enable-tokenizer .endif .if ${PHP_MODNAME} == "xml" CONFIGURE_ARGS+= --enable-xml USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xmlreader" CONFIGURE_ARGS+= --enable-xmlreader USE_GNOME= libxml2 USE_PHP= dom:build .endif .if ${PHP_MODNAME} == "xmlwriter" CONFIGURE_ARGS+= --enable-xmlwriter USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "xsl" CONFIGURE_ARGS+= --with-xsl=${LOCALBASE} USE_GNOME= libxslt USE_PHP= dom:build xml:build .endif .if ${PHP_MODNAME} == "zip" LIB_DEPENDS+= libzip.so:archivers/libzip CONFIGURE_ARGS+= --with-zip USES+= pkgconfig .endif .if ${PHP_MODNAME} == "zlib" CONFIGURE_ARGS+= --with-zlib=/usr USES+= pkgconfig .endif .include .if (${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386) && ${PHP_MODNAME} == "opcache" post-configure: @${BSDMAKE} -C ${WRKSRC} ./jit/ir/ir_fold_hash.h @${BSDMAKE} -C ${WRKSRC} ./jit/ir/ir_emit.lo .endif .if ${PHP_MODNAME} == "soap" post-extract: @${MKDIR} ${WRKSRC}/ext/session @${CP} ${FILESDIR}/php_session.h ${WRKSRC}/ext/session .endif .if ${PHP_MODNAME} == "sqlite3" || ${PHP_MODNAME} == "zlib" post-extract: @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 .endif .if ${PHP_MODNAME} == "xml" post-extract: @${MKDIR} ${WRKSRC}/ext/xml @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml .endif .endif .include diff --git a/lang/swift510/Makefile b/lang/swift510/Makefile index 72b367b418f8..4e57dce3f519 100644 --- a/lang/swift510/Makefile +++ b/lang/swift510/Makefile @@ -1,108 +1,109 @@ PORTNAME= swift510 DISTVERSION= 5.10.1 +PORTREVISION= 1 CATEGORIES= lang DIST_SUBDIR= ${PORTNAME} MAINTAINER= jgopensource@proton.me COMMENT= Swift programming language WWW= https://www.swift.org/ ONLY_FOR_ARCHS= aarch64 amd64 BUILD_DEPENDS= bash:shells/bash \ cmake-core>=3.19.6:devel/cmake-core LIB_DEPENDS= libcurl.so:ftp/curl \ libicuuc.so:devel/icu \ libuuid.so:misc/e2fsprogs-libuuid \ libxml2.so:textproc/libxml2 \ libzstd.so:archivers/zstd USES= libedit ninja:build perl5 pkgconfig python:3.6+ \ shebangfix sqlite:3 USE_GITHUB= nodefault # The common tag which applies to most repos. tag= swift-${DISTVERSION}-RELEASE GH_TUPLE=\ swiftlang:indexstore-db:${tag}:indexstore_db/indexstore-db \ swiftlang:llvm-project:${tag}:llvm_project/llvm-project \ swiftlang:sourcekit-lsp:${tag}:sourcekit_lsp/sourcekit-lsp \ swiftlang:swift:${tag}:swift/swift \ swiftlang:swift-cmark:${tag}:swift_cmark/cmark \ swiftlang:swift-corelibs-foundation:${tag}:swift_corelibs_foundation/swift-corelibs-foundation \ swiftlang:swift-corelibs-libdispatch:${tag}:swift_corelibs_libdispatch/swift-corelibs-libdispatch \ swiftlang:swift-corelibs-xctest:${tag}:swift_corelibs_xctest/swift-corelibs-xctest \ swiftlang:swift-docc:${tag}:swift_docc/swift-docc \ swiftlang:swift-docc-symbolkit:${tag}:swift_docc_symbolkit/swift-docc-symbolkit \ swiftlang:swift-driver:${tag}:swift_driver/swift-driver \ swiftlang:swift-experimental-string-processing:${tag}:swift_experimental_string_processing/swift-experimental-string-processing \ swiftlang:swift-format:${tag}:swift_format/swift-format \ swiftlang:swift-llbuild:${tag}:llbuild/llbuild \ swiftlang:swift-lmdb:${tag}:swift_lmdb/swift-lmdb \ swiftlang:swift-markdown:${tag}:swift_markdown/swift-markdown \ swiftlang:swift-package-manager:${tag}:swiftpm/swiftpm \ swiftlang:swift-stress-tester:${tag}:swift_stress_tester/swift-stress-tester \ swiftlang:swift-syntax:${tag}:swift_syntax/swift-syntax \ swiftlang:swift-tools-support-core:${tag}:swift_tools_support_core/swift-tools-support-core GH_TUPLE+=\ apple:swift-argument-parser:1.2.3:swift_argument_parser/swift-argument-parser \ apple:swift-asn1:1.0.0:swift_asn1/swift-asn1 \ apple:swift-certificates:1.0.1:swift_certificates/swift-certificates \ apple:swift-collections:1.0.1:swift_collections/swift-collections \ apple:swift-crypto:3.0.0:swift_crypto/swift-crypto \ apple:swift-nio:2.31.2:swift_nio/swift-nio \ apple:swift-system:1.1.1:swift_system/swift-system GH_TUPLE+=jpsim:Yams:5.0.1:yams/yams USE_PERL5= build SHEBANG_FILES=\ swift/utils/api_checker/sdk-module-lists/infer-imports.py \ swift/utils/api_checker/swift-api-checker.py \ swift/utils/build-script \ swift/utils/swift-api-dump.py \ swift-driver/Utilities/build-script-helper.py \ swiftpm/Utilities/bootstrap \ CONFLICTS= libdispatch-[0-9]* value_for_aarch64= aarch64 value_for_amd64= x86_64 swift_arch= ${value_for_${ARCH}} early_stage_dir= ${WRKDIR}/EarlyStageDir swift_install_prefix= ${PREFIX}/${PORTNAME} MANDIRS= ${swift_install_prefix}/share/man SUB_FILES= pkg-message SUB_LIST= SWIFT_INSTALL_PREFIX=${swift_install_prefix} WRKSRC= ${WRKDIR}/swift-project PLIST_SUB= SWIFT_ARCH=${swift_arch} \ SWIFT_TARGET_TRIPLE=${swift_arch}-unknown-freebsd${OSREL} .include .if ${OSVERSION} >= 1304500 && ${OSVERSION} <= 1305502 BROKEN= Unbuildable due to a problem with libc++. See .endif pre-patch: @${MKDIR} ${WRKSRC}/llbuild/lib/LLBSQLite3 post-patch: @${SED} -E -e 's@^python3=python3$$@python3=${PYTHON_CMD}@' -i .bak ${WRKSRC}/swift/utils/build-script-impl do-build: @${MKDIR} ${early_stage_dir} @${SH} ${FILESDIR}/start-build.sh ${WRKSRC} ${early_stage_dir} ${swift_install_prefix} ${WRKDIR}/clang-module-cache do-install: @${FIND} ${early_stage_dir}${swift_install_prefix}/bin -type f -not -name '*.py' -not -name '*.sh' -not -name '*.txt' -exec ${STRIP_CMD} '{}' ';' ; \ ${FIND} ${early_stage_dir}${swift_install_prefix} -type f -name '*.so*' -exec ${STRIP_CMD} '{}' ';' ; \ cd ${early_stage_dir} ; \ ${COPYTREE_BIN} .${swift_install_prefix}/bin ${STAGEDIR} ; \ for subdir in include lib local share; do \ ${COPYTREE_SHARE} .${swift_install_prefix}/$${subdir} ${STAGEDIR} ; \ done ; \ ${RM} ${STAGEDIR}/var/run/libuuid/* .include diff --git a/mail/balsa/Makefile b/mail/balsa/Makefile index 3090f06ad55e..432069901240 100644 --- a/mail/balsa/Makefile +++ b/mail/balsa/Makefile @@ -1,53 +1,53 @@ PORTNAME= balsa PORTVERSION= 2.6.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Mail reader for the GNOME desktop WWW= https://pawsa.fedorapeople.org/balsa/ LICENSE= GPLv2 LIB_DEPENDS= libgmime-3.0.so:mail/gmime30 \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libical.so:devel/libical \ libgnutls.so:security/gnutls \ libfribidi.so:converters/fribidi \ libgpgme.so:security/gpgme \ libcanberra.so:audio/libcanberra \ libharfbuzz.so:print/harfbuzz \ libsoup-3.0.so:devel/libsoup3 \ libgcr-base-3.so:security/gcr3 \ libwebkit2gtk-4.1.so:www/webkit2-gtk@41 \ libsecret-1.so:security/libsecret RUN_DEPENDS= gnome-keyring:security/gnome-keyring USES= cpe desktop-file-utils gettext-runtime gettext-tools gnome iconv \ localbase meson pkgconfig sqlite tar:xz CPE_VENDOR= gnome USE_GNOME= glib20 gtk30 gtksourceview4 libxml2 MESON_ARGS= -Dsysconfdir=${LOCALBASE}/etc \ -Dautocrypt=true \ -Dcanberra=true \ -Dhtml-widget=webkit2 \ -Dgtksourceview=true \ -Dgpe=true \ -Dwebdav=true \ -Dgcr=true USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= GNOME OPTIONS_DEFINE= SPELL OPTIONS_DEFAULT=SPELL SPELL_DESC= Spell checking support SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell SPELL_MESON_ON= -Dspell-checker=gspell SPELL_LIB_DEPENDS_OFF= libenchant-2.so:textproc/enchant2 SPELL_MESON_OFF= -Dspell-checker=internal .include diff --git a/mail/cone/Makefile b/mail/cone/Makefile index 1cc741260c8d..fa4eaa2fe81f 100644 --- a/mail/cone/Makefile +++ b/mail/cone/Makefile @@ -1,52 +1,53 @@ PORTNAME= cone DISTVERSION= 1.15 +PORTREVISION= 1 CATEGORIES= mail # This is for beta versions, leave it in please: #MASTER_SITES= http://www.courier-mta.org/beta/${PORTNAME}/ \ # http://www.lerctr.org/~ler/ # This is for release versions, leave it in please: MASTER_SITES= SF/courier/${PORTNAME}/${DISTVERSION} MAINTAINER= eduardo@FreeBSD.org COMMENT= Console based mail client with POP3/IMAP/SMAP support WWW= https://www.courier-mta.org/cone/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.GPL BUILD_DEPENDS= gnupg>0:security/gnupg LIB_DEPENDS= libaspell.so:textproc/aspell \ libcourier-unicode.so:devel/courier-unicode \ libidn2.so:dns/libidn2 RUN_DEPENDS= gnupg>0:security/gnupg USES= gettext gmake gnome iconv ldap localbase:ldflags ncurses perl5 \ pkgconfig shebangfix ssl tar:bzip2 USE_GNOME= libxml2 SHEBANG_FILES= sysconftool GNU_CONFIGURE= yes CONFIGURE_ARGS= --exec-prefix=${PREFIX} \ --with-certdb=${PREFIX}/share/cone/rootcerts \ --with-notice=unicode INSTALL_TARGET= install-strip CPPFLAGS+= -D_XOPEN_SOURCE_EXTENDED OPTIONS_DEFINE= DOCS post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/leaf @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mailtool @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/cone ${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${STAGEDIR}${PREFIX}/sbin/cone-sysconftool @${RM} ${STAGEDIR}${PREFIX}/share/cone/rootcerts/.0 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} .include diff --git a/mail/cyrus-imapd310/Makefile b/mail/cyrus-imapd310/Makefile index 887bd2125f5b..a9785593e39f 100644 --- a/mail/cyrus-imapd310/Makefile +++ b/mail/cyrus-imapd310/Makefile @@ -1,273 +1,273 @@ PORTNAME= cyrus-imapd DISTVERSION= 3.10.2 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= https://github.com/cyrusimap/cyrus-imapd/releases/download/${PORTNAME}-${DISTVERSION}/ PKGNAMESUFFIX= ${CYRUS_IMAPD_VER} MAINTAINER= ume@FreeBSD.org COMMENT= Cyrus mail server, supporting POP3 and IMAP4 protocols ${COMMENT_${FLAVOR}} WWW= https://www.cyrusimap.org/ COMMENT_http= (with HTTP) LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_riscv64= fails to build: lib/chartable.c: Error 1 FLAVORS= basic http http_PKGNAMESUFFIX= ${CYRUS_IMAPD_VER}-http CYRUS_IMAPD_VER= 310 LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \ libicuuc.so:devel/icu \ libjansson.so:devel/jansson \ libuuid.so:misc/e2fsprogs-libuuid \ libical.so:devel/libical CONFLICTS_INSTALL= cyrus-imapd2? cyrus-imapd3[0-9] cyrus-imapd3[0-9]-http USES= compiler:c11 cpe gmake libtool perl5 pkgconfig ssl USE_RC_SUBR= imapd CYRUS_PREFIX= ${PREFIX}/cyrus GNU_CONFIGURE= yes CONFIGURE_ARGS= --libexecdir=${CYRUS_PREFIX}/libexec \ --sbindir=${CYRUS_PREFIX}/sbin \ --sysconfdir=${PREFIX}/etc \ --with-cyrus-user=${CYRUS_USER} \ --with-sasl=${LOCALBASE} \ --with-com_err \ --with-openssl=${OPENSSLBASE} \ --with-perl=${PERL} CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes USES+= shebangfix SHEBANG_FILES= imap/cyr_cd.sh imap/promdatagen tools/config2header \ tools/masssievec tools/mkimap tools/translatesieve \ perl/sieve/scripts/*.pl CPE_VENDOR= cmu CPE_PRODUCT= cyrus_imap_server OPTIONS_DEFINE= AUTOCREATE BACKUP CLAMAV CLD2 HTTP IDLED JMAP LDAP \ MURDER MYSQL NNTP PCRE2 PGSQL REPLICATION SQLITE SQUAT \ SRS XAPIAN DOCS OPTIONS_DEFAULT= AUTOCREATE IDLED PCRE2 READLINE_GNU REPLICATION SQLITE \ SQUAT SRS .if ${FLAVOR:U} == http OPTIONS_DEFAULT+= HTTP .endif OPTIONS_SUB= yes AUTOCREATE_DESC= Enable autocreate support AUTOCREATE_CONFIGURE_ENABLE= autocreate BACKUP_DESC= Enable backup support (experimental) BACKUP_CONFIGURE_ENABLE=backup CLAMAV_DESC= Use ClamAV CLAMAV_CONFIGURE_WITH= clamav CLAMAV_LIB_DEPENDS= libclamav.so:security/clamav CLD2_DESC= Use CLD2 CLD2_CONFIGURE_WITH= cld2 CLD2_CONFIGURE_ENV= CLD2_CFLAGS="-I${LOCALBASE}/include" \ CLD2_LIBS="-L${LOCALBASE}/lib -lcld2" CLD2_LIB_DEPENDS= libcld2.so:devel/cld2 HTTP_DESC= Enable HTTP support HTTP_IMPLIES= SQLITE HTTP_CONFIGURE_ENABLE= http HTTP_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 \ libshp.so:devel/shapelib \ libbrotlidec.so:archivers/brotli \ libwslay_shared.so:www/wslay \ libzstd.so:archivers/zstd HTTP_BUILD_DEPENDS= xxd:sysutils/xxd HTTP_RUN_DEPENDS= ${HTTP_BUILD_DEPENDS} HTTP_CONFIGURE_ENV= WSLAY_CFLAGS="-I${LOCALBASE}/include" \ WSLAY_LIBS="-L${LOCALBASE}/lib -lwslay_shared" # Need additional patch to opendkim #HTTP_LIB_DEPENDS+= libopendkim.so:mail/opendkim #HTTP_CPPFLAGS+= -I${LOCALBASE}/include/opendkim HTTP_USES= gnome HTTP_USE= GNOME=libxml2 # XXX: HTTP requires JMAP HTTP_IMPLIES= JMAP IDLED_DESC= Enable IMAP idled support IDLED_CONFIGURE_ENABLE= idled JMAP_DESC= Enable JMAP support JMAP_CONFIGURE_ENABLE= jmap JMAP_IMPLIES= HTTP XAPIAN LDAP_DESC= Enable LDAP support (experimental) LDAP_USES= ldap LDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE} LDAP_CONFIGURE_OFF= --without-ldap MURDER_DESC= Enable IMAP Murder support MURDER_CONFIGURE_ENABLE=murder MURDER_MAKE_ENV= PTHREAD_LIBS="-lpthread" MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql NNTP_DESC= Enable NNTP support NNTP_CONFIGURE_ENABLE= nntp PCRE2_DESC= Use PCRE2 rather than PCRE PCRE2_LIB_DEPENDS= libpcre2-posix.so:devel/pcre2 PCRE2_LIB_DEPENDS_OFF= libpcre.so:devel/pcre PCRE2_CONFIGURE_ON= --disable-pcre PCRE2_CONFIGURE_OFF= --disable-pcre2 PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-pgsql REPLICATION_DESC= Enable replication REPLICATION_CONFIGURE_ENABLE=replication SRS_DESC= Enable Sender Rewriting Scheme support SRS_CONFIGURE_ENABLE= srs SRS_LIB_DEPENDS= libsrs2.so:mail/libsrs2 SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE} SQLITE_CONFIGURE_OFF= --without-sqlite SQLITE_BROKEN_OFF= SQLITE is required SQUAT_DESC= Enable Squat support SQUAT_CONFIGURE_OFF= --disable-squat XAPIAN_DESC= Enable Xapian support XAPIAN_CONFIGURE_ENABLE=xapian XAPIAN_LIB_DEPENDS= libxapian.so:databases/xapian-core XAPIAN_BUILD_DEPENDS= rsync:net/rsync XAPIAN_RUN_DEPENDS= ${XAPIAN_BUILD_DEPENDS} OPTIONS_RADIO= GSSAPI READLINE OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT .if exists(/usr/lib/libkrb5.a) OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE OPTIONS_DEFAULT+= GSSAPI_BASE .endif GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=mit OPTIONS_RADIO_READLINE= READLINE_GNU READLINE_PERL READLINE_GNU_DESC= Use Term::Readline::GNU for cyradm READLINE_GNU_RUN_DEPENDS= p5-Term-ReadLine-Gnu>=0:devel/p5-Term-ReadLine-Gnu READLINE_PERL_DESC= Use Term::Readline::Perl for cyradm READLINE_PERL_RUN_DEPENDS= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl MANDIRS= ${CYRUS_PREFIX}/man PORTDOCS= * SUB_FILES= pkg-message pkg-install pkg-deinstall cyrus-imapd-man.conf SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} CYRUS_USER?= cyrus CYRUS_GROUP?= cyrus MAN_MAN1= httptest imtest installsieve lmtptest mupdatetest nntptest \ pop3test sieveshell sivtest smtptest synctest MAN_MAN3= imclient MAN_MAN5= cyrus.conf imapd.conf krb.equiv CYRUS_MAN8= arbitron backupd chk_cyrus ctl_backups ctl_conversationsdb \ ctl_cyrusdb ctl_deliver ctl_mboxlist cvt_cyrusdb \ cvt_xlist_specialuse cyr_backup cyr_buildinfo cyr_dbtool \ cyr_deny cyr_df cyr_expire cyr_info cyr_ls cyr_synclog \ cyr_userseen cyr_virusscan cyradm cyrdump deliver fud idled \ imapd ipurge lmtpd lmtpproxyd master mbexamine mbpath mbtool \ notifyd pop3d pop3proxyd promstatsd proxyd ptdump ptexpire \ ptloader quota reconstruct relocate_by_id restore sievec \ sieved smmapd timsieved tls_prune unexpunge CYRUS_PERL_MAN1=cyradm CYRUS_PERL_MAN3=Cyrus::Annotator::Daemon Cyrus::Annotator::Message \ Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::Shell \ Cyrus::SIEVE::managesieve INSTALL_TARGET= install-strip REINPLACE_ARGS= -i '' .include .if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MGSSAPI_HEIMDAL} && \ !${PORT_OPTIONS:MGSSAPI_MIT} CONFIGURE_ARGS+=--disable-gssapi .endif .if ${PORT_OPTIONS:MHTTP} CYRUS_MAN8+= ctl_zoneinfo httpd MAN_MAN1+= dav_reconstruct .endif .if ${PORT_OPTIONS:MNNTP} CYRUS_MAN8+= fetchnews nntpd .endif .if ${PORT_OPTIONS:MMURDER} CYRUS_MAN8+= mupdate .endif .if ${PORT_OPTIONS:MREPLICATION} CYRUS_MAN8+= sync_client sync_reset sync_server .endif .if ${PORT_OPTIONS:MSQUAT} || ${PORT_OPTIONS:MXAPIAN} CYRUS_MAN8+= squatter PLIST_SUB+= SQUATTER="" .else PLIST_SUB+= SQUATTER="@comment " .endif post-patch: @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ ${WRKSRC}/tools/mkimap .for f in masssievec translatesieve @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \ -e "s|/usr/sieve|/var/imap/sieve|g" \ ${WRKSRC}/tools/${f} .endfor @${REINPLACE_CMD} \ -e 's|$$(libdir)/\(pkgconfig\)|${PREFIX}/libdata/\1|g' \ -e 's|$$(mandir)/\(man[8]\)|${PREFIX}/cyrus/man/\1|g' \ ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cyrus/IMAP/IMAP.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cyrus/SIEVE/managesieve/managesieve.so ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${STAGEDIR}${EXAMPLESDIR} ${SED} -e 's,/run/cyrus/socket,/var/imap/socket,' \ ${WRKSRC}/doc/examples/cyrus_conf/normal.conf \ > ${STAGEDIR}${EXAMPLESDIR}/cyrus.conf .if !${PORT_OPTIONS:MHTTP} ${REINPLACE_CMD} -e 's/^\( http\)/#\1/' \ ${STAGEDIR}${EXAMPLESDIR}/cyrus.conf .endif .for f in mkimap masssievec translatesieve ${INSTALL_SCRIPT} ${WRKSRC}/tools/${f} \ ${STAGEDIR}${CYRUS_PREFIX}/sbin/${f} .endfor ${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf .for s in 1 3 5 . for m in ${MAN_MAN${s}} @${ECHO_CMD} share/man/man${s}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for s in 1 3 . for m in ${CYRUS_PERL_MAN${s}} @${ECHO_CMD} ${SITE_MAN${s}}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for m in ${CYRUS_MAN8} @${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! ( -path */html/_sources* -o -name .buildinfo )" ${RM} -r ${STAGEDIR}${DOCSDIR}/rst ${STAGEDIR}${DOCSDIR}/source .include diff --git a/mail/cyrus-imapd312/Makefile b/mail/cyrus-imapd312/Makefile index 4fec5caa6822..96991ddfc022 100644 --- a/mail/cyrus-imapd312/Makefile +++ b/mail/cyrus-imapd312/Makefile @@ -1,269 +1,269 @@ PORTNAME= cyrus-imapd DISTVERSION= 3.12.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= https://github.com/cyrusimap/cyrus-imapd/releases/download/${PORTNAME}-${DISTVERSION}/ PKGNAMESUFFIX= ${CYRUS_IMAPD_VER} MAINTAINER= ume@FreeBSD.org COMMENT= Cyrus mail server, supporting POP3 and IMAP4 protocols ${COMMENT_${FLAVOR}} WWW= https://www.cyrusimap.org/ COMMENT_http= (with HTTP) LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_riscv64= fails to build: lib/chartable.c: Error 1 FLAVORS= basic http http_PKGNAMESUFFIX= ${CYRUS_IMAPD_VER}-http CYRUS_IMAPD_VER= 312 LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \ libicuuc.so:devel/icu \ libjansson.so:devel/jansson \ libuuid.so:misc/e2fsprogs-libuuid \ libical.so:devel/libical CONFLICTS_INSTALL= cyrus-imapd2? cyrus-imapd3[0-9] cyrus-imapd3[0-9]-http USES= compiler:c11 cpe gmake libtool perl5 pkgconfig ssl USE_RC_SUBR= imapd CYRUS_PREFIX= ${PREFIX}/cyrus GNU_CONFIGURE= yes CONFIGURE_ARGS= --libexecdir=${CYRUS_PREFIX}/libexec \ --sbindir=${CYRUS_PREFIX}/sbin \ --sysconfdir=${PREFIX}/etc \ --with-cyrus-user=${CYRUS_USER} \ --with-sasl=${LOCALBASE} \ --with-com_err \ --with-openssl=${OPENSSLBASE} \ --with-perl=${PERL} CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes USES+= shebangfix SHEBANG_FILES= imap/cyr_cd.sh imap/promdatagen tools/config2header \ tools/masssievec tools/mkimap tools/translatesieve \ perl/sieve/scripts/*.pl CPE_VENDOR= cmu CPE_PRODUCT= cyrus_imap_server OPTIONS_DEFINE= AUTOCREATE CLAMAV CLD2 HTTP IDLED JMAP LDAP MURDER \ MYSQL NNTP PCRE2 PGSQL REPLICATION SQLITE SQUAT SRS \ XAPIAN DOCS OPTIONS_DEFAULT= AUTOCREATE IDLED PCRE2 READLINE_GNU REPLICATION SQLITE \ SQUAT SRS .if ${FLAVOR:U} == http OPTIONS_DEFAULT+= HTTP .endif OPTIONS_SUB= yes AUTOCREATE_DESC= Enable autocreate support AUTOCREATE_CONFIGURE_ENABLE= autocreate CLAMAV_DESC= Use ClamAV CLAMAV_CONFIGURE_WITH= clamav CLAMAV_LIB_DEPENDS= libclamav.so:security/clamav CLD2_DESC= Use CLD2 CLD2_CONFIGURE_WITH= cld2 CLD2_CONFIGURE_ENV= CLD2_CFLAGS="-I${LOCALBASE}/include" \ CLD2_LIBS="-L${LOCALBASE}/lib -lcld2" CLD2_LIB_DEPENDS= libcld2.so:devel/cld2 HTTP_DESC= Enable HTTP support HTTP_IMPLIES= SQLITE HTTP_CONFIGURE_ENABLE= http HTTP_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 \ libshp.so:devel/shapelib \ libbrotlidec.so:archivers/brotli \ libwslay_shared.so:www/wslay \ libzstd.so:archivers/zstd HTTP_BUILD_DEPENDS= xxd:sysutils/xxd HTTP_RUN_DEPENDS= ${HTTP_BUILD_DEPENDS} HTTP_CONFIGURE_ENV= WSLAY_CFLAGS="-I${LOCALBASE}/include" \ WSLAY_LIBS="-L${LOCALBASE}/lib -lwslay_shared" # Need additional patch to opendkim #HTTP_LIB_DEPENDS+= libopendkim.so:mail/opendkim #HTTP_CPPFLAGS+= -I${LOCALBASE}/include/opendkim HTTP_USES= gnome HTTP_USE= GNOME=libxml2 # XXX: HTTP requires JMAP HTTP_IMPLIES= JMAP IDLED_DESC= Enable IMAP idled support IDLED_CONFIGURE_ENABLE= idled JMAP_DESC= Enable JMAP support JMAP_CONFIGURE_ENABLE= jmap JMAP_IMPLIES= HTTP XAPIAN LDAP_DESC= Enable LDAP support (experimental) LDAP_USES= ldap LDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE} LDAP_CONFIGURE_OFF= --without-ldap MURDER_DESC= Enable IMAP Murder support MURDER_CONFIGURE_ENABLE=murder MURDER_MAKE_ENV= PTHREAD_LIBS="-lpthread" MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql NNTP_DESC= Enable NNTP support NNTP_CONFIGURE_ENABLE= nntp PCRE2_DESC= Use PCRE2 rather than PCRE PCRE2_LIB_DEPENDS= libpcre2-posix.so:devel/pcre2 PCRE2_LIB_DEPENDS_OFF= libpcre.so:devel/pcre PCRE2_CONFIGURE_ON= --disable-pcre PCRE2_CONFIGURE_OFF= --disable-pcre2 PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-pgsql REPLICATION_DESC= Enable replication REPLICATION_CONFIGURE_ENABLE=replication SRS_DESC= Enable Sender Rewriting Scheme support SRS_CONFIGURE_ENABLE= srs SRS_LIB_DEPENDS= libsrs2.so:mail/libsrs2 SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE} SQLITE_CONFIGURE_OFF= --without-sqlite SQLITE_BROKEN_OFF= SQLITE is required SQUAT_DESC= Enable Squat support SQUAT_CONFIGURE_OFF= --disable-squat XAPIAN_DESC= Enable Xapian support XAPIAN_CONFIGURE_ENABLE=xapian XAPIAN_LIB_DEPENDS= libxapian.so:databases/xapian-core XAPIAN_BUILD_DEPENDS= rsync:net/rsync XAPIAN_RUN_DEPENDS= ${XAPIAN_BUILD_DEPENDS} OPTIONS_RADIO= GSSAPI READLINE OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT .if exists(/usr/lib/libkrb5.a) OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE OPTIONS_DEFAULT+= GSSAPI_BASE .endif GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=mit OPTIONS_RADIO_READLINE= READLINE_GNU READLINE_PERL READLINE_GNU_DESC= Use Term::Readline::GNU for cyradm READLINE_GNU_RUN_DEPENDS= p5-Term-ReadLine-Gnu>=0:devel/p5-Term-ReadLine-Gnu READLINE_PERL_DESC= Use Term::Readline::Perl for cyradm READLINE_PERL_RUN_DEPENDS= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl MANDIRS= ${CYRUS_PREFIX}/man PORTDOCS= * SUB_FILES= pkg-message pkg-install pkg-deinstall cyrus-imapd-man.conf SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} CYRUS_USER?= cyrus CYRUS_GROUP?= cyrus MAN_MAN1= dav_reconstruct httptest imtest installsieve lmtptest \ mupdatetest nntptest pop3test sieveshell sivtest smtptest \ synctest MAN_MAN3= imclient MAN_MAN5= cyrus.conf imapd.conf CYRUS_MAN8= arbitron calalarmd chk_cyrus ctl_conversationsdb ctl_cyrusdb \ ctl_deliver ctl_mboxlist ctl_zoneinfo cvt_cyrusdb \ cvt_xlist_specialuse cyr_buildinfo cyr_dbtool cyr_deny cyr_df \ cyr_expire cyr_info cyr_ls cyr_synclog cyr_userseen \ cyr_virusscan cyr_withlock_run cyradm cyrdump deliver \ fetchnews fud httpd idled imapd ipurge lmtpd lmtpproxyd \ master mbexamine mbpath mbtool mupdate nntpd notifyd pop3d \ pop3proxyd promstatsd proxyd ptdump ptexpire ptloader quota \ reconstruct relocate_by_id sievec sieved smmapd timsieved \ tls_prune unexpunge CYRUS_PERL_MAN1=cyradm CYRUS_PERL_MAN3=Cyrus::Annotator::Daemon Cyrus::Annotator::Message \ Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::Shell \ Cyrus::SIEVE::managesieve INSTALL_TARGET= install-strip REINPLACE_ARGS= -i '' .include .if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MGSSAPI_HEIMDAL} && \ !${PORT_OPTIONS:MGSSAPI_MIT} CONFIGURE_ARGS+=--disable-gssapi .endif .if ${PORT_OPTIONS:MNNTP} CYRUS_MAN8+= fetchnews nntpd .endif .if ${PORT_OPTIONS:MMURDER} CYRUS_MAN8+= mupdate .endif .if ${PORT_OPTIONS:MREPLICATION} CYRUS_MAN8+= sync_client sync_reset sync_server .endif .if ${PORT_OPTIONS:MSQUAT} || ${PORT_OPTIONS:MXAPIAN} CYRUS_MAN8+= squatter PLIST_SUB+= SQUATTER="" .else PLIST_SUB+= SQUATTER="@comment " .endif post-patch: @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ ${WRKSRC}/tools/mkimap .for f in masssievec translatesieve @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \ -e "s|/usr/sieve|/var/imap/sieve|g" \ ${WRKSRC}/tools/${f} .endfor @${REINPLACE_CMD} \ -e 's|$$(libdir)/\(pkgconfig\)|${PREFIX}/libdata/\1|g' \ -e 's|$$(mandir)/\(man[8]\)|${PREFIX}/cyrus/man/\1|g' \ ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cyrus/IMAP/IMAP.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cyrus/SIEVE/managesieve/managesieve.so ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${STAGEDIR}${EXAMPLESDIR} ${SED} -e 's,/run/cyrus/socket,/var/imap/socket,' \ ${WRKSRC}/doc/examples/cyrus_conf/normal.conf \ > ${STAGEDIR}${EXAMPLESDIR}/cyrus.conf .if !${PORT_OPTIONS:MHTTP} ${REINPLACE_CMD} -e 's/^\( http\)/#\1/' \ ${STAGEDIR}${EXAMPLESDIR}/cyrus.conf .endif .for f in mkimap masssievec translatesieve ${INSTALL_SCRIPT} ${WRKSRC}/tools/${f} \ ${STAGEDIR}${CYRUS_PREFIX}/sbin/${f} .endfor ${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf .for s in 1 3 5 . for m in ${MAN_MAN${s}} @${ECHO_CMD} share/man/man${s}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for s in 1 3 . for m in ${CYRUS_PERL_MAN${s}} @${ECHO_CMD} ${SITE_MAN${s}}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for m in ${CYRUS_MAN8} @${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! ( -path */html/_sources* -o -name .buildinfo )" ${RM} -r ${STAGEDIR}${DOCSDIR}/rst ${STAGEDIR}${DOCSDIR}/source .include diff --git a/mail/cyrus-imapd34/Makefile b/mail/cyrus-imapd34/Makefile index f061e0ac1ca6..fb56b6cecbb9 100644 --- a/mail/cyrus-imapd34/Makefile +++ b/mail/cyrus-imapd34/Makefile @@ -1,264 +1,264 @@ PORTNAME= cyrus-imapd PORTVERSION= 3.4.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= https://github.com/cyrusimap/cyrus-imapd/releases/download/${PORTNAME}-${PORTVERSION}/ PKGNAMESUFFIX= ${CYRUS_IMAPD_VER} MAINTAINER= ume@FreeBSD.org COMMENT= Cyrus mail server, supporting POP3 and IMAP4 protocols ${COMMENT_${FLAVOR}} WWW= https://www.cyrusimap.org/ COMMENT_http= (with HTTP) LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_riscv64= fails to build: lib/chartable.c: Error 1 FLAVORS= basic http http_PKGNAMESUFFIX= ${CYRUS_IMAPD_VER}-http CYRUS_IMAPD_VER= 34 LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \ libicuuc.so:devel/icu \ libjansson.so:devel/jansson \ libuuid.so:misc/e2fsprogs-libuuid CONFLICTS_INSTALL= cyrus-imapd2? cyrus-imapd3[0-35-] cyrus-imapd3[0-35-]-http USES= compiler:c11 cpe gmake libtool perl5 pkgconfig ssl USE_RC_SUBR= imapd CYRUS_PREFIX= ${PREFIX}/cyrus GNU_CONFIGURE= yes CONFIGURE_ARGS= --libexecdir=${CYRUS_PREFIX}/libexec \ --sbindir=${CYRUS_PREFIX}/sbin \ --sysconfdir=${PREFIX}/etc \ --with-cyrus-user=${CYRUS_USER} \ --with-sasl=${LOCALBASE} \ --with-com_err \ --with-openssl=${OPENSSLBASE} \ --with-perl=${PERL} CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes USES+= shebangfix SHEBANG_FILES= imap/promdatagen tools/config2header \ tools/masssievec tools/mkimap tools/translatesieve \ perl/sieve/scripts/*.pl CPE_VENDOR= cmu CPE_PRODUCT= cyrus_imap_server OPTIONS_DEFINE= AUTOCREATE BACKUP CLAMAV HTTP IDLED LDAP MURDER \ MYSQL NNTP PCRE2 PGSQL REPLICATION SQLITE SQUAT SRS \ XAPIAN DOCS OPTIONS_DEFAULT= AUTOCREATE IDLED READLINE_GNU SQLITE SQUAT SRS .if ${FLAVOR:U} == http OPTIONS_DEFAULT+= HTTP .endif OPTIONS_SUB= yes AUTOCREATE_DESC= Enable autocreate support AUTOCREATE_CONFIGURE_ENABLE= autocreate BACKUP_DESC= Enable backup support (experimental) BACKUP_CONFIGURE_ENABLE=backup CLAMAV_DESC= Use ClamAV CLAMAV_CONFIGURE_WITH= clamav CLAMAV_LIB_DEPENDS= libclamav.so:security/clamav # OPTIONS_DEFINE+= CLD2 # OPTIONS_DEFAULT+= CLD2 # CLD2_DESC= Use CLD2 # CLD2_CONFIGURE_WITH= cld2 # CLD2_CONFIGURE_ENV= CLD2_CFLAGS="-I${LOCALBASE}/include" \ # CLD2_LIBS="-L${LOCALBASE}/lib -lcld2" # CLD2_LIB_DEPENDS= libcld2.so:devel/cld2 HTTP_DESC= Enable HTTP support HTTP_CONFIGURE_ENABLE= http HTTP_LIB_DEPENDS= libical.so:devel/libical \ libnghttp2.so:www/libnghttp2 \ libshp.so:devel/shapelib \ libbrotlidec.so:archivers/brotli # Need additional patch to opendkim #HTTP_LIB_DEPENDS+= libopendkim.so:mail/opendkim #HTTP_CPPFLAGS+= -I${LOCALBASE}/include/opendkim HTTP_USES= gnome HTTP_USE= GNOME=libxml2 IDLED_DESC= Enable IMAP idled support IDLED_CONFIGURE_ENABLE= idled LDAP_DESC= Enable LDAP support (experimental) LDAP_USES= ldap LDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE} MURDER_DESC= Enable IMAP Murder support MURDER_CONFIGURE_ENABLE=murder MURDER_MAKE_ENV= PTHREAD_LIBS="-lpthread" MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql NNTP_DESC= Enable NNTP support NNTP_CONFIGURE_ENABLE= nntp PCRE2_DESC= Use PCRE2 rather than PCRE PCRE2_LIB_DEPENDS= libpcre2-posix.so:devel/pcre2 PCRE2_LIB_DEPENDS_OFF= libpcre.so:devel/pcre PCRE2_CONFIGURE_ON= --disable-pcre PCRE2_CONFIGURE_OFF= --disable-pcre2 PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} REPLICATION_DESC= Enable replication REPLICATION_CONFIGURE_ENABLE=replication SRS_DESC= Enable Sender Rewriting Scheme support SRS_CONFIGURE_ENABLE= srs SRS_LIB_DEPENDS= libsrs2.so:mail/libsrs2 SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE} SQLITE_BROKEN_OFF= SQLITE is required SQUAT_DESC= Enable Squat support SQUAT_CONFIGURE_OFF= --disable-squat XAPIAN_DESC= Enable Xapian support XAPIAN_CONFIGURE_ENABLE=xapian XAPIAN_LIB_DEPENDS= libxapian.so:databases/xapian-core XAPIAN_BUILD_DEPENDS= rsync:net/rsync XAPIAN_RUN_DEPENDS= ${XAPIAN_BUILD_DEPENDS} OPTIONS_RADIO= GSSAPI READLINE OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT .if exists(/usr/lib/libkrb5.a) OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE OPTIONS_DEFAULT+= GSSAPI_BASE .endif GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=mit OPTIONS_RADIO_READLINE= READLINE_GNU READLINE_PERL READLINE_GNU_DESC= Use Term::Readline::GNU for cyradm READLINE_GNU_RUN_DEPENDS= p5-Term-ReadLine-Gnu>=0:devel/p5-Term-ReadLine-Gnu READLINE_PERL_DESC= Use Term::Readline::Perl for cyradm READLINE_PERL_RUN_DEPENDS= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl MANDIRS= ${CYRUS_PREFIX}/man PORTDOCS= * SUB_FILES= pkg-message pkg-install pkg-deinstall cyrus-imapd-man.conf SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} CYRUS_USER?= cyrus CYRUS_GROUP?= cyrus MAN_MAN1= httptest imtest installsieve lmtptest mupdatetest nntptest \ pop3test sieveshell sivtest smtptest synctest MAN_MAN3= imclient MAN_MAN5= cyrus.conf imapd.conf krb.equiv CYRUS_MAN8= arbitron backupd chk_cyrus ctl_backups ctl_conversationsdb \ ctl_cyrusdb ctl_deliver ctl_mboxlist cvt_cyrusdb \ cvt_xlist_specialuse cyr_backup cyr_buildinfo cyr_dbtool \ cyr_deny cyr_df cyr_expire cyr_info cyr_synclog cyr_userseen \ cyr_virusscan cyradm cyrdump deliver fud idled imapd ipurge \ lmtpd lmtpproxyd master mbexamine mbpath mbtool notifyd pop3d \ pop3proxyd promstatsd proxyd ptdump ptexpire ptloader quota \ reconstruct restore sievec sieved smmapd timsieved tls_prune \ unexpunge CYRUS_PERL_MAN1=cyradm CYRUS_PERL_MAN3=Cyrus::Annotator::Daemon Cyrus::Annotator::Message \ Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::IMSP \ Cyrus::IMAP::Shell Cyrus::SIEVE::managesieve INSTALL_TARGET= install-strip REINPLACE_ARGS= -i '' .include .if ${PORT_OPTIONS:MHTTP} || ${PORT_OPTIONS:MSQLITE} USES+= sqlite .endif .if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MGSSAPI_HEIMDAL} && \ !${PORT_OPTIONS:MGSSAPI_MIT} CONFIGURE_ARGS+=--disable-gssapi .endif .if ${PORT_OPTIONS:MHTTP} CYRUS_MAN8+= ctl_zoneinfo httpd MAN_MAN1+= dav_reconstruct .endif .if ${PORT_OPTIONS:MNNTP} CYRUS_MAN8+= fetchnews nntpd .endif .if ${PORT_OPTIONS:MMURDER} CYRUS_MAN8+= mupdate .endif .if ${PORT_OPTIONS:MREPLICATION} CYRUS_MAN8+= sync_client sync_reset sync_server .endif .if ${PORT_OPTIONS:MSQUAT} || ${PORT_OPTIONS:MXAPIAN} CYRUS_MAN8+= squatter PLIST_SUB+= SQUATTER="" .else PLIST_SUB+= SQUATTER="@comment " .endif post-patch: @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ ${WRKSRC}/tools/mkimap .for f in masssievec translatesieve @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \ -e "s|/usr/sieve|/var/imap/sieve|g" \ ${WRKSRC}/tools/${f} .endfor @${REINPLACE_CMD} \ -e 's|$$(libdir)/\(pkgconfig\)|${PREFIX}/libdata/\1|g' \ -e 's|$$(mandir)/\(man[8]\)|${PREFIX}/cyrus/man/\1|g' \ ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cyrus/IMAP/IMAP.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cyrus/SIEVE/managesieve/managesieve.so ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${STAGEDIR}${EXAMPLESDIR} ${SED} -e 's,/run/cyrus/socket,/var/imap/socket,' \ ${WRKSRC}/doc/examples/cyrus_conf/normal.conf \ > ${STAGEDIR}${EXAMPLESDIR}/cyrus.conf .if !${PORT_OPTIONS:MHTTP} ${REINPLACE_CMD} -e 's/^\( http\)/#\1/' \ ${STAGEDIR}${EXAMPLESDIR}/cyrus.conf .endif .for f in mkimap masssievec translatesieve ${INSTALL_SCRIPT} ${WRKSRC}/tools/${f} \ ${STAGEDIR}${CYRUS_PREFIX}/sbin/${f} .endfor ${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf .for s in 1 3 5 . for m in ${MAN_MAN${s}} @${ECHO_CMD} share/man/man${s}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for s in 1 3 . for m in ${CYRUS_PERL_MAN${s}} @${ECHO_CMD} ${SITE_MAN${s}}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for m in ${CYRUS_MAN8} @${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! ( -path */html/_sources* -o -name .buildinfo )" ${RM} -r ${STAGEDIR}${DOCSDIR}/rst ${STAGEDIR}${DOCSDIR}/source .include diff --git a/mail/cyrus-imapd36/Makefile b/mail/cyrus-imapd36/Makefile index 9ce077fa3a9d..6e958f2752e9 100644 --- a/mail/cyrus-imapd36/Makefile +++ b/mail/cyrus-imapd36/Makefile @@ -1,265 +1,265 @@ PORTNAME= cyrus-imapd PORTVERSION= 3.6.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= https://github.com/cyrusimap/cyrus-imapd/releases/download/${PORTNAME}-${DISTVERSION}/ PKGNAMESUFFIX= ${CYRUS_IMAPD_VER} MAINTAINER= ume@FreeBSD.org COMMENT= Cyrus mail server, supporting POP3 and IMAP4 protocols ${COMMENT_${FLAVOR}} WWW= https://www.cyrusimap.org/ COMMENT_http= (with HTTP) LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_riscv64= fails to build: lib/chartable.c: Error 1 FLAVORS= basic http http_PKGNAMESUFFIX= ${CYRUS_IMAPD_VER}-http CYRUS_IMAPD_VER= 36 LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \ libicuuc.so:devel/icu \ libjansson.so:devel/jansson \ libuuid.so:misc/e2fsprogs-libuuid \ libical.so:devel/libical CONFLICTS_INSTALL= cyrus-imapd2? cyrus-imapd3[0-57-] cyrus-imapd3[0-57-]-http USES= compiler:c11 cpe gmake libtool perl5 pkgconfig ssl USE_RC_SUBR= imapd CYRUS_PREFIX= ${PREFIX}/cyrus GNU_CONFIGURE= yes CONFIGURE_ARGS= --libexecdir=${CYRUS_PREFIX}/libexec \ --sbindir=${CYRUS_PREFIX}/sbin \ --sysconfdir=${PREFIX}/etc \ --with-cyrus-user=${CYRUS_USER} \ --with-sasl=${LOCALBASE} \ --with-com_err \ --with-openssl=${OPENSSLBASE} \ --with-perl=${PERL} CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes USES+= shebangfix SHEBANG_FILES= imap/cyr_cd.sh imap/promdatagen tools/config2header \ tools/masssievec tools/mkimap tools/translatesieve \ perl/sieve/scripts/*.pl CPE_VENDOR= cmu CPE_PRODUCT= cyrus_imap_server OPTIONS_DEFINE= AUTOCREATE BACKUP CLAMAV CLD2 HTTP IDLED LDAP MURDER \ MYSQL NNTP PCRE2 PGSQL REPLICATION SQLITE SQUAT SRS \ XAPIAN DOCS OPTIONS_DEFAULT= AUTOCREATE IDLED READLINE_GNU SQLITE SQUAT SRS .if ${FLAVOR:U} == http OPTIONS_DEFAULT+= HTTP .endif OPTIONS_SUB= yes AUTOCREATE_DESC= Enable autocreate support AUTOCREATE_CONFIGURE_ENABLE= autocreate BACKUP_DESC= Enable backup support (experimental) BACKUP_CONFIGURE_ENABLE=backup CLAMAV_DESC= Use ClamAV CLAMAV_CONFIGURE_WITH= clamav CLAMAV_LIB_DEPENDS= libclamav.so:security/clamav CLD2_DESC= Use CLD2 CLD2_CONFIGURE_WITH= cld2 CLD2_CONFIGURE_ENV= CLD2_CFLAGS="-I${LOCALBASE}/include" \ CLD2_LIBS="-L${LOCALBASE}/lib -lcld2" CLD2_LIB_DEPENDS= libcld2.so:devel/cld2 HTTP_DESC= Enable HTTP support HTTP_IMPLIES= SQLITE HTTP_CONFIGURE_ENABLE= http HTTP_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 \ libshp.so:devel/shapelib \ libbrotlidec.so:archivers/brotli \ libwslay_shared.so:www/wslay \ libzstd.so:archivers/zstd HTTP_CONFIGURE_ENV= WSLAY_CFLAGS="-I${LOCALBASE}/include" \ WSLAY_LIBS="-L${LOCALBASE}/lib -lwslay_shared" # Need additional patch to opendkim #HTTP_LIB_DEPENDS+= libopendkim.so:mail/opendkim #HTTP_CPPFLAGS+= -I${LOCALBASE}/include/opendkim HTTP_USES= gnome HTTP_USE= GNOME=libxml2 IDLED_DESC= Enable IMAP idled support IDLED_CONFIGURE_ENABLE= idled LDAP_DESC= Enable LDAP support (experimental) LDAP_USES= ldap LDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE} LDAP_CONFIGURE_OFF= --without-ldap MURDER_DESC= Enable IMAP Murder support MURDER_CONFIGURE_ENABLE=murder MURDER_MAKE_ENV= PTHREAD_LIBS="-lpthread" MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql NNTP_DESC= Enable NNTP support NNTP_CONFIGURE_ENABLE= nntp PCRE2_DESC= Use PCRE2 rather than PCRE PCRE2_LIB_DEPENDS= libpcre2-posix.so:devel/pcre2 PCRE2_LIB_DEPENDS_OFF= libpcre.so:devel/pcre PCRE2_CONFIGURE_ON= --disable-pcre PCRE2_CONFIGURE_OFF= --disable-pcre2 PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-pgsql REPLICATION_DESC= Enable replication REPLICATION_CONFIGURE_ENABLE=replication SRS_DESC= Enable Sender Rewriting Scheme support SRS_CONFIGURE_ENABLE= srs SRS_LIB_DEPENDS= libsrs2.so:mail/libsrs2 SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE} SQLITE_CONFIGURE_OFF= --without-sqlite SQLITE_BROKEN_OFF= SQLITE is required SQUAT_DESC= Enable Squat support SQUAT_CONFIGURE_OFF= --disable-squat XAPIAN_DESC= Enable Xapian support XAPIAN_CONFIGURE_ENABLE=xapian XAPIAN_LIB_DEPENDS= libxapian.so:databases/xapian-core XAPIAN_BUILD_DEPENDS= rsync:net/rsync XAPIAN_RUN_DEPENDS= ${XAPIAN_BUILD_DEPENDS} OPTIONS_RADIO= GSSAPI READLINE OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT .if exists(/usr/lib/libkrb5.a) OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE OPTIONS_DEFAULT+= GSSAPI_BASE .endif GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=mit OPTIONS_RADIO_READLINE= READLINE_GNU READLINE_PERL READLINE_GNU_DESC= Use Term::Readline::GNU for cyradm READLINE_GNU_RUN_DEPENDS= p5-Term-ReadLine-Gnu>=0:devel/p5-Term-ReadLine-Gnu READLINE_PERL_DESC= Use Term::Readline::Perl for cyradm READLINE_PERL_RUN_DEPENDS= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl MANDIRS= ${CYRUS_PREFIX}/man PORTDOCS= * SUB_FILES= pkg-message pkg-install pkg-deinstall cyrus-imapd-man.conf SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} CYRUS_USER?= cyrus CYRUS_GROUP?= cyrus MAN_MAN1= httptest imtest installsieve lmtptest mupdatetest nntptest \ pop3test sieveshell sivtest smtptest synctest MAN_MAN3= imclient MAN_MAN5= cyrus.conf imapd.conf krb.equiv CYRUS_MAN8= arbitron backupd chk_cyrus ctl_backups ctl_conversationsdb \ ctl_cyrusdb ctl_deliver ctl_mboxlist cvt_cyrusdb \ cvt_xlist_specialuse cyr_backup cyr_buildinfo cyr_dbtool \ cyr_deny cyr_df cyr_expire cyr_info cyr_ls cyr_synclog \ cyr_userseen cyr_virusscan cyradm cyrdump deliver fud idled \ imapd ipurge lmtpd lmtpproxyd master mbexamine mbpath mbtool \ notifyd pop3d pop3proxyd promstatsd proxyd ptdump ptexpire \ ptloader quota reconstruct relocate_by_id restore sievec \ sieved smmapd timsieved tls_prune unexpunge CYRUS_PERL_MAN1=cyradm CYRUS_PERL_MAN3=Cyrus::Annotator::Daemon Cyrus::Annotator::Message \ Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::Shell \ Cyrus::SIEVE::managesieve INSTALL_TARGET= install-strip REINPLACE_ARGS= -i '' .include .if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MGSSAPI_HEIMDAL} && \ !${PORT_OPTIONS:MGSSAPI_MIT} CONFIGURE_ARGS+=--disable-gssapi .endif .if ${PORT_OPTIONS:MHTTP} CYRUS_MAN8+= ctl_zoneinfo httpd MAN_MAN1+= dav_reconstruct .endif .if ${PORT_OPTIONS:MNNTP} CYRUS_MAN8+= fetchnews nntpd .endif .if ${PORT_OPTIONS:MMURDER} CYRUS_MAN8+= mupdate .endif .if ${PORT_OPTIONS:MREPLICATION} CYRUS_MAN8+= sync_client sync_reset sync_server .endif .if ${PORT_OPTIONS:MSQUAT} || ${PORT_OPTIONS:MXAPIAN} CYRUS_MAN8+= squatter PLIST_SUB+= SQUATTER="" .else PLIST_SUB+= SQUATTER="@comment " .endif post-patch: @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ ${WRKSRC}/tools/mkimap .for f in masssievec translatesieve @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \ -e "s|/usr/sieve|/var/imap/sieve|g" \ ${WRKSRC}/tools/${f} .endfor @${REINPLACE_CMD} \ -e 's|$$(libdir)/\(pkgconfig\)|${PREFIX}/libdata/\1|g' \ -e 's|$$(mandir)/\(man[8]\)|${PREFIX}/cyrus/man/\1|g' \ ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cyrus/IMAP/IMAP.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cyrus/SIEVE/managesieve/managesieve.so ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${STAGEDIR}${EXAMPLESDIR} ${SED} -e 's,/run/cyrus/socket,/var/imap/socket,' \ ${WRKSRC}/doc/examples/cyrus_conf/normal.conf \ > ${STAGEDIR}${EXAMPLESDIR}/cyrus.conf .if !${PORT_OPTIONS:MHTTP} ${REINPLACE_CMD} -e 's/^\( http\)/#\1/' \ ${STAGEDIR}${EXAMPLESDIR}/cyrus.conf .endif .for f in mkimap masssievec translatesieve ${INSTALL_SCRIPT} ${WRKSRC}/tools/${f} \ ${STAGEDIR}${CYRUS_PREFIX}/sbin/${f} .endfor ${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf .for s in 1 3 5 . for m in ${MAN_MAN${s}} @${ECHO_CMD} share/man/man${s}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for s in 1 3 . for m in ${CYRUS_PERL_MAN${s}} @${ECHO_CMD} ${SITE_MAN${s}}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for m in ${CYRUS_MAN8} @${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! ( -path */html/_sources* -o -name .buildinfo )" ${RM} -r ${STAGEDIR}${DOCSDIR}/rst ${STAGEDIR}${DOCSDIR}/source .include diff --git a/mail/cyrus-imapd38/Makefile b/mail/cyrus-imapd38/Makefile index 83a1fb18cbc9..858c1a2168ab 100644 --- a/mail/cyrus-imapd38/Makefile +++ b/mail/cyrus-imapd38/Makefile @@ -1,267 +1,267 @@ PORTNAME= cyrus-imapd PORTVERSION= 3.8.6 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= https://github.com/cyrusimap/cyrus-imapd/releases/download/${PORTNAME}-${DISTVERSION}/ PKGNAMESUFFIX= ${CYRUS_IMAPD_VER} MAINTAINER= ume@FreeBSD.org COMMENT= Cyrus mail server, supporting POP3 and IMAP4 protocols ${COMMENT_${FLAVOR}} WWW= https://www.cyrusimap.org/ COMMENT_http= (with HTTP) LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_riscv64= fails to build: lib/chartable.c: Error 1 FLAVORS= basic http http_PKGNAMESUFFIX= ${CYRUS_IMAPD_VER}-http CYRUS_IMAPD_VER= 38 LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \ libicuuc.so:devel/icu \ libjansson.so:devel/jansson \ libuuid.so:misc/e2fsprogs-libuuid \ libical.so:devel/libical CONFLICTS_INSTALL= cyrus-imapd2? cyrus-imapd3[0-57-] cyrus-imapd3[0-57-]-http USES= compiler:c11 cpe gmake libtool perl5 pkgconfig ssl USE_RC_SUBR= imapd CYRUS_PREFIX= ${PREFIX}/cyrus GNU_CONFIGURE= yes CONFIGURE_ARGS= --libexecdir=${CYRUS_PREFIX}/libexec \ --sbindir=${CYRUS_PREFIX}/sbin \ --sysconfdir=${PREFIX}/etc \ --with-cyrus-user=${CYRUS_USER} \ --with-sasl=${LOCALBASE} \ --with-com_err \ --with-openssl=${OPENSSLBASE} \ --with-perl=${PERL} CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes USES+= shebangfix SHEBANG_FILES= imap/cyr_cd.sh imap/promdatagen tools/config2header \ tools/masssievec tools/mkimap tools/translatesieve \ perl/sieve/scripts/*.pl CPE_VENDOR= cmu CPE_PRODUCT= cyrus_imap_server OPTIONS_DEFINE= AUTOCREATE BACKUP CLAMAV CLD2 HTTP IDLED LDAP MURDER \ MYSQL NNTP PCRE2 PGSQL REPLICATION SQLITE SQUAT SRS \ XAPIAN DOCS OPTIONS_DEFAULT= AUTOCREATE IDLED READLINE_GNU REPLICATION SQLITE \ SQUAT SRS .if ${FLAVOR:U} == http OPTIONS_DEFAULT+= HTTP .endif OPTIONS_SUB= yes AUTOCREATE_DESC= Enable autocreate support AUTOCREATE_CONFIGURE_ENABLE= autocreate BACKUP_DESC= Enable backup support (experimental) BACKUP_CONFIGURE_ENABLE=backup CLAMAV_DESC= Use ClamAV CLAMAV_CONFIGURE_WITH= clamav CLAMAV_LIB_DEPENDS= libclamav.so:security/clamav CLD2_DESC= Use CLD2 CLD2_CONFIGURE_WITH= cld2 CLD2_CONFIGURE_ENV= CLD2_CFLAGS="-I${LOCALBASE}/include" \ CLD2_LIBS="-L${LOCALBASE}/lib -lcld2" CLD2_LIB_DEPENDS= libcld2.so:devel/cld2 HTTP_DESC= Enable HTTP support HTTP_IMPLIES= SQLITE HTTP_CONFIGURE_ENABLE= http HTTP_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 \ libshp.so:devel/shapelib \ libbrotlidec.so:archivers/brotli \ libwslay_shared.so:www/wslay \ libzstd.so:archivers/zstd HTTP_CONFIGURE_ENV= WSLAY_CFLAGS="-I${LOCALBASE}/include" \ WSLAY_LIBS="-L${LOCALBASE}/lib -lwslay_shared" # Need additional patch to opendkim #HTTP_LIB_DEPENDS+= libopendkim.so:mail/opendkim #HTTP_CPPFLAGS+= -I${LOCALBASE}/include/opendkim HTTP_USES= gnome HTTP_USE= GNOME=libxml2 IDLED_DESC= Enable IMAP idled support IDLED_CONFIGURE_ENABLE= idled LDAP_DESC= Enable LDAP support (experimental) LDAP_USES= ldap LDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE} LDAP_CONFIGURE_OFF= --without-ldap MURDER_DESC= Enable IMAP Murder support MURDER_CONFIGURE_ENABLE=murder MURDER_MAKE_ENV= PTHREAD_LIBS="-lpthread" MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql NNTP_DESC= Enable NNTP support NNTP_CONFIGURE_ENABLE= nntp PCRE2_DESC= Use PCRE2 rather than PCRE PCRE2_LIB_DEPENDS= libpcre2-posix.so:devel/pcre2 PCRE2_LIB_DEPENDS_OFF= libpcre.so:devel/pcre PCRE2_CONFIGURE_ON= --disable-pcre PCRE2_CONFIGURE_OFF= --disable-pcre2 PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-pgsql REPLICATION_DESC= Enable replication REPLICATION_CONFIGURE_ENABLE=replication SRS_DESC= Enable Sender Rewriting Scheme support SRS_CONFIGURE_ENABLE= srs SRS_LIB_DEPENDS= libsrs2.so:mail/libsrs2 SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE} SQLITE_CONFIGURE_OFF= --without-sqlite SQLITE_BROKEN_OFF= SQLITE is required SQUAT_DESC= Enable Squat support SQUAT_CONFIGURE_OFF= --disable-squat XAPIAN_DESC= Enable Xapian support XAPIAN_CONFIGURE_ENABLE=xapian XAPIAN_LIB_DEPENDS= libxapian.so:databases/xapian-core XAPIAN_BUILD_DEPENDS= rsync:net/rsync XAPIAN_RUN_DEPENDS= ${XAPIAN_BUILD_DEPENDS} OPTIONS_RADIO= GSSAPI READLINE OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT .if exists(/usr/lib/libkrb5.a) OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE OPTIONS_DEFAULT+= GSSAPI_BASE .endif GSSAPI_BASE_USES= gssapi GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=mit OPTIONS_RADIO_READLINE= READLINE_GNU READLINE_PERL READLINE_GNU_DESC= Use Term::Readline::GNU for cyradm READLINE_GNU_RUN_DEPENDS= p5-Term-ReadLine-Gnu>=0:devel/p5-Term-ReadLine-Gnu READLINE_PERL_DESC= Use Term::Readline::Perl for cyradm READLINE_PERL_RUN_DEPENDS= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl MANDIRS= ${CYRUS_PREFIX}/man PORTDOCS= * SUB_FILES= pkg-message pkg-install pkg-deinstall cyrus-imapd-man.conf SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} CYRUS_USER?= cyrus CYRUS_GROUP?= cyrus MAN_MAN1= httptest imtest installsieve lmtptest mupdatetest nntptest \ pop3test sieveshell sivtest smtptest synctest MAN_MAN3= imclient MAN_MAN5= cyrus.conf imapd.conf krb.equiv CYRUS_MAN8= arbitron backupd chk_cyrus ctl_backups ctl_conversationsdb \ ctl_cyrusdb ctl_deliver ctl_mboxlist cvt_cyrusdb \ cvt_xlist_specialuse cyr_backup cyr_buildinfo cyr_dbtool \ cyr_deny cyr_df cyr_expire cyr_info cyr_ls cyr_synclog \ cyr_userseen cyr_virusscan cyradm cyrdump deliver fud idled \ imapd ipurge lmtpd lmtpproxyd master mbexamine mbpath mbtool \ notifyd pop3d pop3proxyd promstatsd proxyd ptdump ptexpire \ ptloader quota reconstruct relocate_by_id restore sievec \ sieved smmapd timsieved tls_prune unexpunge CYRUS_PERL_MAN1=cyradm CYRUS_PERL_MAN3=Cyrus::Annotator::Daemon Cyrus::Annotator::Message \ Cyrus::IMAP Cyrus::IMAP::Admin Cyrus::IMAP::Shell \ Cyrus::SIEVE::managesieve INSTALL_TARGET= install-strip REINPLACE_ARGS= -i '' .include .if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MGSSAPI_HEIMDAL} && \ !${PORT_OPTIONS:MGSSAPI_MIT} CONFIGURE_ARGS+=--disable-gssapi .endif .if ${PORT_OPTIONS:MHTTP} CYRUS_MAN8+= ctl_zoneinfo httpd MAN_MAN1+= dav_reconstruct .endif .if ${PORT_OPTIONS:MNNTP} CYRUS_MAN8+= fetchnews nntpd .endif .if ${PORT_OPTIONS:MMURDER} CYRUS_MAN8+= mupdate .endif .if ${PORT_OPTIONS:MREPLICATION} CYRUS_MAN8+= sync_client sync_reset sync_server .endif .if ${PORT_OPTIONS:MSQUAT} || ${PORT_OPTIONS:MXAPIAN} CYRUS_MAN8+= squatter PLIST_SUB+= SQUATTER="" .else PLIST_SUB+= SQUATTER="@comment " .endif post-patch: @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ -e "s|%%CYRUS_USER%%|${CYRUS_USER}|g" \ -e "s|%%CYRUS_GROUP%%|${CYRUS_GROUP}|g" \ ${WRKSRC}/tools/mkimap .for f in masssievec translatesieve @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \ -e "s|/usr/sieve|/var/imap/sieve|g" \ ${WRKSRC}/tools/${f} .endfor @${REINPLACE_CMD} \ -e 's|$$(libdir)/\(pkgconfig\)|${PREFIX}/libdata/\1|g' \ -e 's|$$(mandir)/\(man[8]\)|${PREFIX}/cyrus/man/\1|g' \ ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cyrus/IMAP/IMAP.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Cyrus/SIEVE/managesieve/managesieve.so ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/imapd.conf \ ${STAGEDIR}${EXAMPLESDIR} ${SED} -e 's,/run/cyrus/socket,/var/imap/socket,' \ ${WRKSRC}/doc/examples/cyrus_conf/normal.conf \ > ${STAGEDIR}${EXAMPLESDIR}/cyrus.conf .if !${PORT_OPTIONS:MHTTP} ${REINPLACE_CMD} -e 's/^\( http\)/#\1/' \ ${STAGEDIR}${EXAMPLESDIR}/cyrus.conf .endif .for f in mkimap masssievec translatesieve ${INSTALL_SCRIPT} ${WRKSRC}/tools/${f} \ ${STAGEDIR}${CYRUS_PREFIX}/sbin/${f} .endfor ${INSTALL_DATA} ${WRKDIR}/cyrus-imapd-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/cyrus-imapd.conf .for s in 1 3 5 . for m in ${MAN_MAN${s}} @${ECHO_CMD} share/man/man${s}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for s in 1 3 . for m in ${CYRUS_PERL_MAN${s}} @${ECHO_CMD} ${SITE_MAN${s}}/${m}.${s}.gz >> ${TMPPLIST} . endfor .endfor .for m in ${CYRUS_MAN8} @${ECHO_CMD} ${CYRUS_PREFIX}/man/man8/${m}.8.gz >> ${TMPPLIST} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! ( -path */html/_sources* -o -name .buildinfo )" ${RM} -r ${STAGEDIR}${DOCSDIR}/rst ${STAGEDIR}${DOCSDIR}/source .include diff --git a/mail/evolution-ews/Makefile b/mail/evolution-ews/Makefile index cac0c2407eda..f17c2de1af96 100644 --- a/mail/evolution-ews/Makefile +++ b/mail/evolution-ews/Makefile @@ -1,30 +1,31 @@ PORTNAME= evolution-ews DISTVERSION= 3.56.2 +PORTREVISION= 1 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Evolution Microsoft Exchange plugin through Exchange Web Services WWW= https://gitlab.gnome.org/GNOME/evolution-ews LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evolution>0:mail/evolution LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3 \ libmspack.so:archivers/libmspack \ libsecret-1.so:security/libsecret \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libical.so:devel/libical \ libjson-glib-1.0.so:devel/json-glib \ libwebkit2gtk-4.1.so:www/webkit2-gtk@41 RUN_DEPENDS= evolution>0:mail/evolution USES= compiler:c11 cmake gettext gnome localbase pathfix \ pkgconfig sqlite tar:xz USE_GNOME= cairo gdkpixbuf glib20 gtk30 evolutiondataserver3 \ intltool:build .include diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index 01008b998afc..4ee55cd1543a 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -1,135 +1,135 @@ PORTNAME= evolution DISTVERSION= 3.56.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Integrated mail, calendar and address book distributed suite WWW= https://gitlab.gnome.org/GNOME/evolution LICENSE= GFDL GPLv2+ LGPL21+ MPL11 OPENLDAP LICENSE_COMB= multi LICENSE_NAME_OPENLDAP= OpenLDAP Public License LICENSE_FILE_OPENLDAP= ${WRKSRC}/COPYING.OPENLDAP LICENSE_PERMS_OPENLDAP= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= highlight:textproc/highlight \ iso-codes>=0:misc/iso-codes \ itstool:textproc/itstool \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libenchant-2.so:textproc/enchant2 \ libgnome-autoar-gtk-0.so:archivers/gnome-autoar \ libgspell-1.so:textproc/gspell \ libical.so:devel/libical \ libicuuc.so:devel/icu \ libnotify.so:devel/libnotify \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libp11-kit.so:security/p11-kit \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 \ libwebkit2gtk-4.1.so:www/webkit2-gtk@41 \ libjson-glib-1.0.so:devel/json-glib RUN_DEPENDS= highlight:textproc/highlight \ iso-codes>=0:misc/iso-codes USES= cmake compiler:c11 cpe desktop-file-utils gettext gnome \ iconv:wchar_t libarchive localbase pathfix pkgconfig sqlite \ tar:xz xorg USE_GNOME= atk cairo evolutiondataserver3 gdkpixbuf glib20 gnomedesktop3 \ gtk30 intltool:build libxml2 USE_XORG= x11 USE_LDCONFIG= yes CPE_VENDOR= gnome CMAKE_ARGS= -DENABLE_TEXT_HIGHLIGHT=YES \ -DVERSION_COMMENT="FreeBSD GNOME Team" \ -DWITH_ENCHANT_VERSION=2 GLIB_SCHEMAS= org.gnome.evolution.addressbook.gschema.xml \ org.gnome.evolution.bogofilter.gschema.xml \ org.gnome.evolution.calendar.gschema.xml \ org.gnome.evolution.gschema.xml \ org.gnome.evolution.importer.gschema.xml \ org.gnome.evolution.mail.gschema.xml \ org.gnome.evolution.plugin.attachment-reminder.gschema.xml \ org.gnome.evolution.plugin.autocontacts.gschema.xml \ org.gnome.evolution.plugin.email-custom-header.gschema.xml \ org.gnome.evolution.plugin.external-editor.gschema.xml \ org.gnome.evolution.plugin.face-picture.gschema.xml \ org.gnome.evolution.plugin.itip.gschema.xml \ org.gnome.evolution.plugin.mail-notification.gschema.xml \ org.gnome.evolution.plugin.prefer-plain.gschema.xml \ org.gnome.evolution.plugin.publish-calendar.gschema.xml \ org.gnome.evolution.plugin.sender-validator.gschema.xml \ org.gnome.evolution.plugin.templates.gschema.xml \ org.gnome.evolution.shell.gschema.xml \ org.gnome.evolution.spamassassin.gschema.xml \ org.gnome.evolution.text-highlight.gschema.xml PLIST_SUB= EVO_VERSION="1.2" CAL_API_VERSION="2.0" OPTIONS_SUB= yes OPTIONS_DEFINE= CANBERRA LDAP MAPS MARKDOWN PST WEATHER YTNEF OPTIONS_DEFAULT= BOGOFILTER CANBERRA LDAP MARKDOWN WEATHER SPAM_DESC= Spam filter support OPTIONS_GROUP= SPAM OPTIONS_GROUP_SPAM= BOGOFILTER SPAMASSASSIN LDAP_CMAKE_ON= -DWITH_OPENLDAP=${LOCALBASE} LDAP_CMAKE_OFF= -DWITH_OPENLDAP=OFF LDAP_USES= ldap YTNEF_DESC= Support MS Outlook TNEF format YTNEF_LIB_DEPENDS= libytnef.so:converters/ytnef YTNEF_CMAKE_BOOL= ENABLE_YTNEF WEATHER_DESC= Weather calendar backend WEATHER_LIB_DEPENDS= libgweather-4.so:net/libgweather4 \ libgeocode-glib-2.so:net/geocode-glib2 WEATHER_CMAKE_BOOL= ENABLE_WEATHER SPAMASSASSIN_DESC= SpamAssassin spam filtering SPAMASSASSIN_CMAKE_ON= -DWITH_SA_LEARN=${LOCALBASE}/bin/sa-learn \ -DWITH_SPAMASSASSIN=${LOCALBASE}/spamassassin SPAMASSASSIN_CMAKE_OFF= -DWITH_SPAMASSASSIN=NO SPAMASSASSIN_BUILD_DEPENDS= spamassassin:mail/spamassassin SPAMASSASSIN_RUN_DEPENDS= spamassassin:mail/spamassassin BOGOFILTER_DESC= Bogofilter spam filtering BOGOFILTER_CMAKE_ON= -DWITH_BOGOFILTER=${LOCALBASE}/bin/bogofilter BOGOFILTER_CMAKE_OFF= -DWITH_BOGOFILTER=OFF BOGOFILTER_BUILD_DEPENDS= bogofilter:mail/bogofilter BOGOFILTER_RUN_DEPENDS= bogofilter:mail/bogofilter CANBERRA_DESC= Canberra theme audio plugin CANBERRA_LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra CANBERRA_CMAKE_BOOL= ENABLE_CANBERRA PST_DESC= Outlook .pst importer PST_CMAKE_BOOL= ENABLE_PST_IMPORT PST_BUILD_DEPENDS= libpst>=0.6.58_1:mail/libpst PST_RUN_DEPENDS= libpst>=0.6.58_1:mail/libpst MAPS_DESC= Contact maps MAPS_CMAKE_BOOL= ENABLE_CONTACT_MAPS MAPS_LIB_DEPENDS= libchamplain-0.12.so:graphics/libchamplain \ libclutter-1.0.so:graphics/clutter \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libcogl.so:graphics/cogl \ libgeocode-glib-2.so:net/geocode-glib2 MAPS_USES= gl xorg MAPS_USE= GL=egl \ XORG=xcomposite,xdamage,xext,xfixes,xi,xrandr MARKDOWN_DESC= Markdown support MARKDOWN_CMAKE_ON= -DENABLE_MARKDOWN=ON MARKDOWN_CMAKE_OFF= -DENABLE_MARKDOWN=OFF MARKDOWN_LIB_DEPENDS= libcmark.so:textproc/cmark .include diff --git a/mail/geary/Makefile b/mail/geary/Makefile index 95728995f663..239bec48c5fb 100644 --- a/mail/geary/Makefile +++ b/mail/geary/Makefile @@ -1,55 +1,55 @@ PORTNAME= geary PORTVERSION= 46.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Mail client for GNOME WWW= https://wiki.gnome.org/Apps/Geary LICENSE= BSD2CLAUSE CC-BY-3.0 LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= itstool:textproc/itstool \ iso-codes>0:misc/iso-codes LIB_DEPENDS= libappstream-glib.so:devel/appstream-glib \ libenchant-2.so:textproc/enchant2 \ libfolks.so:net-im/folks \ libgcr-base-3.so:security/gcr3 \ libgee-0.8.so:devel/libgee \ libgmime-3.0.so:mail/gmime30 \ libgoa-1.0.so:net/gnome-online-accounts \ libgspell-1.so:textproc/gspell \ libhandy-1.so:x11-toolkits/libhandy \ libicuuc.so:devel/icu \ libjson-glib-1.0.so:devel/json-glib \ libnotify.so:devel/libnotify \ libpeas-gtk-1.0.so:devel/libpeas1 \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 \ libstemmer.so:textproc/snowballstemmer \ libytnef.so:converters/ytnef \ libwebkit2gtk-4.1.so:www/webkit2-gtk@41 USES= compiler:c11 cpe desktop-file-utils gettext gnome localbase:ldflags \ meson pkgconfig python:build shebangfix sqlite tar:xz vala:build CPE_VENDOR= gnome USE_GNOME= cairo gdkpixbuf glib20 gsound gtk30 libxml2 GLIB_SCHEMAS= org.gnome.Geary.gschema.xml USE_LDCONFIG= yes SHEBANG_FILES= desktop/geary-attach MESON_ARGS= -Dprofile=release -Dvaladoc=disabled \ -Dlibunwind=disabled \ -Diso_639_xml=${LOCALBASE}/share/xml/iso-codes/iso_639.xml \ -Diso_3166_xml=${LOCALBASE}/share/xml/iso-codes/iso_3166.xml BINARY_ALIAS= python3=${PYTHON_VERSION} CFLAGS+= -Wno-error=int-conversion PLIST_SUB= VERSION=${PORTVERSION} .include diff --git a/mail/gnubiff/Makefile b/mail/gnubiff/Makefile index f0e44cae5eca..006c635efcad 100644 --- a/mail/gnubiff/Makefile +++ b/mail/gnubiff/Makefile @@ -1,47 +1,47 @@ PORTNAME= gnubiff PORTVERSION= 2.2.13 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= mail MASTER_SITES= SF MAINTAINER= tdb@FreeBSD.org COMMENT= Mail notification program for Gnome WWW= https://gnubiff.sourceforge.net/ LIB_DEPENDS= libpopt.so:devel/popt OPTIONS_DEFINE= NLS USES= compiler:c++11-lang cpe fam gmake gnome pathfix pkgconfig USE_GNOME= intlhack libglade2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lX11 # CXXFLAGS needed to work round issue with gcc and openssl 0.9.8a # /usr/local/include/openssl/sha.h:173: error: ISO C++ does not support `long long' CXXFLAGS+= "-Wno-long-long" INFO= gnubiff CPE_VENDOR= gnu .include .ifdef(WITH_GNUBIFF_PASSWORD) CONFIGURE_ARGS+= --with-password .endif .if ${PORT_OPTIONS:MNLS} CONFIGURE_ARGS+= --enable-nls PLIST_SUB+= NLS="" USES+= gettext .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif CONFIGURE_ARGS+= --disable-gnome PLIST_SUB+= BONOBODIR="libdata/bonobo" .include diff --git a/mail/libpst/Makefile b/mail/libpst/Makefile index 1b3d57787616..a0a740ce3b70 100644 --- a/mail/libpst/Makefile +++ b/mail/libpst/Makefile @@ -1,40 +1,40 @@ PORTNAME= libpst PORTVERSION= 0.6.76 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail converters MASTER_SITES= https://www.five-ten-sg.com/libpst/packages/ \ https://fossies.org/unix/privat/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tool for converting Outlook .pst files to mbox and other formats WWW= https://www.five-ten-sg.com/libpst/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgsf-1.so:devel/libgsf USES= gmake iconv libtool pathfix pkgconfig CONFIGURE_ARGS= --disable-python --enable-libpst-shared GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes PORTDOCS= * OPTIONS_DEFINE= DOCS PST2DII OPTIONS_SUB= yes PST2DII_DESC= Allow Summation Document Image Information output PST2DII_CONFIGURE_ENABLE= dii PST2DII_LIB_DEPENDS= libgd.so:graphics/gd PST2DII_USES= localbase magick:build,run post-patch: @${GREP} -lr malloc.h ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' @${REINPLACE_CMD} -e 's|doc\/@PACKAGE@-@VERSION@|doc\/@PACKAGE@|g' ${WRKSRC}/Makefile.in ${WRKSRC}/html/Makefile.in @${REINPLACE_CMD} -e '/html_DATA =/ s|COPYING ||' ${WRKSRC}/Makefile.in .include diff --git a/math/R-cran-igraph/Makefile b/math/R-cran-igraph/Makefile index bad03af9c974..00a1b5eb526e 100644 --- a/math/R-cran-igraph/Makefile +++ b/math/R-cran-igraph/Makefile @@ -1,24 +1,25 @@ PORTNAME= igraph DISTVERSION= 2.1.4 +PORTREVISION= 1 CATEGORIES= math DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= Network Analysis and Visualization WWW= https://cran.r-project.org/web/packages/igraph/ LICENSE= GPLv2+ LIB_DEPENDS= libglpk.so:math/glpk RUN_DEPENDS= R-cran-cli>0:devel/R-cran-cli \ R-cran-cpp11>=0.5.0:devel/R-cran-cpp11 \ R-cran-lifecycle>0:devel/R-cran-lifecycle \ R-cran-magrittr>0:devel/R-cran-magrittr \ R-cran-pkgconfig>=2.0.0:devel/R-cran-pkgconfig \ R-cran-rlang>0:devel/R-cran-rlang \ R-cran-vctrs>0:devel/R-cran-vctrs USES= compiler:c++11-lang cran:auto-plist,compiles gnome USE_GNOME= libxml2 .include diff --git a/math/cantor/Makefile b/math/cantor/Makefile index c5a8629aeb7f..f71fc0ad3913 100644 --- a/math/cantor/Makefile +++ b/math/cantor/Makefile @@ -1,58 +1,59 @@ PORTNAME= cantor DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= math kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Mathematical software frontend by KDE WWW= https://edu.kde.org/cantor LIB_DEPENDS= libAnalitza.so:math/analitza \ libcln.so:math/cln \ libqalculate.so:math/libqalculate \ libspectre.so:print/libspectre \ libpoppler.so:graphics/poppler \ libpoppler-qt6.so:graphics/poppler-qt6 BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \ docbook-xml>0:textproc/docbook-xml USES= cmake compiler:c++11-lang desktop-file-utils gettext kde:6 \ pkgconfig python qt:6 shared-mime-info tar:xz xorg USE_KDE= archive attica auth bookmarks codecs completion config \ configwidgets coreaddons crash i18n iconthemes itemmodels \ itemviews jobwidgets kio newstuff parts pty service solid \ sonnet syntaxhighlighting texteditor textwidgets widgetsaddons \ windowsystem xmlgui \ ecm:build USE_QT= base svg webchannel webengine \ tools:build USE_XORG= x11 USE_LDCONFIG= yes OPTIONS_DEFINE= LUAJIT MAXIMA OCTAVE R SCILAB DOCS OPTIONS_SUB= yes # R LUAJIT LUAJIT_DESC= Build LuaJIT backend and install LuaJIT LUAJIT_USES= luajit LUAJIT_CMAKE_OFF= -DWITH_LuaJIT:BOOL=FALSE MAXIMA_DESC= Install Maxima MAXIMA_RUN_DEPENDS= maxima:math/maxima OCTAVE_DESC= Install Octave OCTAVE_RUN_DEPENDS= octave:math/octave R_DESC= Build R backend and install R (broken) R_LIB_DEPENDS= libR.so:math/R # Required to set CFLAGS for -lgfortran. R_USES= fortran R_CMAKE_OFF= -DWITH_R:BOOL=FALSE R_BROKEN= R backend fails with: /usr/include/c++/v1/__locale:1130:9: error: expected ';' at end of declaration list SCILAB_DESC= Install Scilab SCILAB_RUN_DEPENDS= scilab:math/scilab post-patch: ${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \ ${WRKSRC}/cmake/FindR.cmake .include diff --git a/math/drgeo/Makefile b/math/drgeo/Makefile index 6cf3a5517bde..825be10c4f98 100644 --- a/math/drgeo/Makefile +++ b/math/drgeo/Makefile @@ -1,27 +1,27 @@ PORTNAME= drgeo PORTVERSION= 1.1.0 -PORTREVISION= 26 +PORTREVISION= 27 CATEGORIES= math MASTER_SITES= SF/ofset/${PORTNAME}/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= GTK interactive geometry software WWW= http://www.ofset.org/drgeo/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gettext gmake gnome guile:1.8 \ localbase:ldflags pathfix pkgconfig GNU_CONFIGURE= yes USE_GNOME= gnomeprefix intlhack libglade2 CXXFLAGS+= -Wno-reserved-user-defined-literal PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|g' \ ${WRKSRC}/plugin/drgeo/progs/tm_drgeo .include diff --git a/math/ggobi/Makefile b/math/ggobi/Makefile index 6f654543be3c..c850ac393f25 100644 --- a/math/ggobi/Makefile +++ b/math/ggobi/Makefile @@ -1,41 +1,41 @@ PORTNAME= ggobi DISTVERSION= 2.1.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math graphics MAINTAINER= rhurlin@FreeBSD.org COMMENT= Data visualization system WWW= http://www.ggobi.org/ LICENSE= EPL LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libcgraph.so:graphics/graphviz USES= autoreconf desktop-file-utils gettext-tools \ gmake gnome libtool pathfix pkgconfig tex USE_GITHUB= yes GH_TAGNAME= 93a7148 # The 'official' tarball misses last commit with pstricks removal! USE_GNOME= cairo gdkpixbuf glib20 gtk20 libxml2 USE_LDCONFIG= yes USE_TEX= web2c:build dvipdfmx:build GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-all-plugins MAKE=gmake ALL_TARGET= all ggobirc INSTALL_TARGET= install-strip SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS post-build: @${REINPLACE_CMD} -e 's|plugin.la|plugin.so|g' ${WRKSRC}/ggobirc post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/ggobi ${INSTALL_DATA} ${WRKSRC}/ggobirc ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc.sample .include diff --git a/math/gkmap/Makefile b/math/gkmap/Makefile index 0b80325bfcb3..7e34902acd2e 100644 --- a/math/gkmap/Makefile +++ b/math/gkmap/Makefile @@ -1,22 +1,22 @@ PORTNAME= gkmap PORTVERSION= 0.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= math MASTER_SITES= SF/gkmap/gkmap/gkmap-${PORTVERSION}/ MAINTAINER= javad.kouhi@gmail.com COMMENT= Simplification of Boolean Functions using Karnaugh Map WWW= https://sourceforge.net/projects/gkmap/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= gnome pkgconfig dos2unix USE_GNOME= cairo gdkpixbuf gtk20 libglade2 libxml2 GNU_CONFIGURE= yes .include diff --git a/math/gnome-calculator/Makefile b/math/gnome-calculator/Makefile index c709fb2a9ad6..1f7a45a12a17 100644 --- a/math/gnome-calculator/Makefile +++ b/math/gnome-calculator/Makefile @@ -1,32 +1,33 @@ PORTNAME= gnome-calculator PORTVERSION= 47.3 +PORTREVISION= 1 CATEGORIES= math gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME calculator tool WWW= https://apps.gnome.org/Calculator/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limit:^47\. BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libsoup-3.0.so:devel/libsoup3 USES= compiler:c11 gettext gnome localbase:ldflags meson pkgconfig \ python:build tar:xz vala:build USE_GNOME= glib20 gtk40 gtksourceview5 introspection:build libxml2 \ libadwaita BINARY_ALIAS= python3=${PYTHON_VERSION} MESON_ARGS= -Ddoc=false GLIB_SCHEMAS= org.gnome.calculator.gschema.xml .include diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile index c1314b703638..15015c8c7fd3 100644 --- a/math/gnumeric/Makefile +++ b/math/gnumeric/Makefile @@ -1,55 +1,56 @@ PORTNAME= gnumeric PORTVERSION= 1.12.59 +PORTREVISION= 1 CATEGORIES= math gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME spreadsheet program WWW= https://www.gnumeric.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool \ ginstall:sysutils/coreutils LIB_DEPENDS= libgoffice-0.10.so:devel/goffice USES= cpe desktop-file-utils gettext gmake gnome libtool \ localbase pathfix pkgconfig python shebangfix tar:xz CPE_VENDOR= gnome USE_GNOME= cairo gdkpixbuf glib20 intltool:build introspection gtk30 \ libgsf libxml2 pango pygobject3 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-gda \ --without-paradox \ --without-psiconv \ --enable-introspection=yes INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.gnumeric.dialogs.gschema.xml \ org.gnome.gnumeric.gschema.xml \ org.gnome.gnumeric.plugin.gschema.xml SHEBANG_FILES= plugins/perl-func/perl_func.pl BINARY_ALIAS= python=${PYTHON_CMD} \ install=ginstall PLIST_SUB= VERSION=${PORTVERSION} \ GOFFICE=0.10 \ SHORT_VER=${PORTVERSION:R} OPTIONS_SUB= yes OPTIONS_DEFINE= PERL OPTIONS_DEFAULT=PERL PERL_USES= perl5 PERL_CONFIGURE_WITH= perl post-patch: @${REINPLACE_CMD} -e 's|^GETTEXT_PACKAGE=gnumeric-$${VERSION}|GETTEXT_PACKAGE=gnumeric|g' \ ${WRKSRC}/configure .include diff --git a/math/gretl/Makefile b/math/gretl/Makefile index 7b333de2c727..634f2ba99091 100644 --- a/math/gretl/Makefile +++ b/math/gretl/Makefile @@ -1,117 +1,117 @@ PORTNAME= gretl PORTVERSION= 2024d -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math finance MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSIONFULL}/ MAINTAINER= yuri@FreeBSD.org COMMENT= GNU Regression, Econometrics, and Time-series Library WWW= https://gretl.sourceforge.net/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_13= configure fails: checking for gnuplot >= 5.2 with cairo support... no LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libgmp.so:math/gmp \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib \ libmpfr.so:math/mpfr USES= compiler:c11 fortran gmake gnome localbase libtool ncurses \ pathfix pkgconfig readline shebangfix tar:xz USE_WX= 3.0 USE_LDCONFIG= yes SHEBANG_GLOB= *.sh GNU_CONFIGURE= yes BINARY_ALIAS= make=${GMAKE} ALL_TARGET= # empty SSP_CFLAGS?= -fstack-protector # XXX -strong crashes mklang on 12.0+ i386 CONFIGURE_ENV= ac_cv_lib_dl_dlopen="" \ LAPACK_LIBS="${LAPACK} ${BLAS}" PLIST_SUB= GTK_VER=${GTK_VER} OPTIONS_DEFINE= ADDONS ATLAS GUI MPI NLS ODBC OPENMP R UNZIP OPTIONS_DEFAULT= ADDONS GUI OPENMP UNZIP OPTIONS_SUB= yes ADDONS_DESC= Build gretl addons ADDONS_CONFIGURE_ENABLE= build-addons ADDONS_USES= tex ADDONS_USE= TEX=formats,dvipsk:build ATLAS_DESC= Use ATLAS for BLAS and LAPACK ATLAS_LIB_DEPENDS= libatlas.so:math/atlas ATLAS_LIB_DEPENDS_OFF= libblas.so:math/blas \ liblapack.so:math/lapack ATLAS_VARS= BLAS=-lf77blas LAPACK="-lalapack -lcblas" ATLAS_VARS_OFF= BLAS=-lblas LAPACK=-llapack GUI_DESC= Graphical user interface and plugins GUI_CONFIGURE_ON= --enable-gui=yes GUI_CONFIGURE_OFF= --enable-gui=no --enable-xdg=no GUI_USE= GNOME=cairo,gtksourceview4,gdkpixbuf GUI_USE_OFF= GNOME=glib20,libxml2 GUI_VARS= GTK_VER=3 GUI_VARS_OFF= GTK_VER=2 GUI_USES= desktop-file-utils shared-mime-info GUI_BUILD_DEPENDS= gnuplot:math/gnuplot GUI_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig GUI_RUN_DEPENDS= gnuplot:math/gnuplot MPI_CONFIGURE_WITH= mpi MPI_CONFIGURE_ENV= MPICC=${LOCALBASE}/bin/mpicc MPI_CONFIGURE_ON= --with-mpi-include=${LOCALBASE}/include/mpi.h --with-mpi-lib=${LOCALBASE}/lib/libmpi.so MPI_LIB_DEPENDS= libmpi.so:net/mpich MPI_BROKEN= checking mpi.h usability... no # need to investigate NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext ODBC_CONFIGURE_WITH= odbc ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC OPENMP_CONFIGURE_ENABLE= openmp OPENMP_USE= GCC=yes R_DESC= libR support R_CONFIGURE_WITH= libR R_BROKEN= Doesn't link to R libraries UNZIP_DESC= UnZip compression support via libgsf UNZIP_CONFIGURE_WITH= gsf UNZIP_USE= GNOME=libgsf .if !empty(MACHINE_CPU:Msse2) CONFIGURE_ARGS+= --enable-sse2=yes .else CONFIGURE_ARGS+= --enable-sse2=no .endif post-patch: @${SED} -i '.orig' -E -e '/#include[[:blank:]]+/\ {x; s/.*/#include /; H; x;}' \ ${WRKSRC}/configure \ ${WRKSRC}/plugin/mailer.c regression-test test check: build @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_ARGS} check post-install: # strip @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/bin/gretlcli \ ${STAGEDIR}${PREFIX}/bin/gretl_x11 \ ${STAGEDIR}${PREFIX}/lib/libgretl-1.0.so.* \ ${STAGEDIR}${PREFIX}/lib/gretl-gtk3/*.so # rm doc @${RMDIR} ${STAGEDIR}${DATADIR}/doc .include diff --git a/math/igraph/Makefile b/math/igraph/Makefile index e72dcfb6762d..1c2650164848 100644 --- a/math/igraph/Makefile +++ b/math/igraph/Makefile @@ -1,33 +1,33 @@ PORTNAME= igraph DISTVERSION= 0.10.12 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= wen@FreeBSD.org COMMENT= Package For Manipulating Undirected And Directed Graphs WWW= https://igraph.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex LIB_DEPENDS= libarpack.so:math/arpack-ng \ libcxsparse.so:math/suitesparse-cxsparse \ libglpk.so:math/glpk \ libgmp.so:math/gmp \ libopenblas.so:math/openblas USES= bison cmake cpe gnome pathfix USE_GNOME= libxml2 USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTING CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_Git:BOOL=True \ -DFLEX_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/flex pre-configure: @${ECHO} ${DISTVERSION} > ${WRKSRC}/IGRAPH_VERSION .include diff --git a/math/libqalculate/Makefile b/math/libqalculate/Makefile index 00960746d5b2..009ed889aaea 100644 --- a/math/libqalculate/Makefile +++ b/math/libqalculate/Makefile @@ -1,35 +1,36 @@ PORTNAME= libqalculate PORTVERSION= 5.5.2 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/ MAINTAINER= jhale@FreeBSD.org COMMENT= Multi-purpose desktop calculator (backend library) WWW= https://qalculate.github.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libicuuc.so:devel/icu \ libcurl.so:ftp/curl \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr USES= compiler:c++14-lang gettext gmake gnome iconv libtool \ localbase ncurses pathfix pkgconfig readline USE_GNOME= intltool libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes post-patch-NLS-off: @${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in .include diff --git a/math/mate-calc/Makefile b/math/mate-calc/Makefile index 21b07bb6e62b..628718c184e4 100644 --- a/math/mate-calc/Makefile +++ b/math/mate-calc/Makefile @@ -1,29 +1,30 @@ PORTNAME= mate-calc PORTVERSION= 1.28.0 +PORTREVISION= 1 CATEGORIES= math mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= MATE calculator tool based on the old calctool for OpenWindows WWW= https://mate-desktop.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libmpc.so:math/mpc \ libmpfr.so:math/mpfr PORTSCOUT= limitw:1,even USES= gettext gmake gnome localbase pkgconfig tar:xz USE_GNOME= cairo gdkpixbuf gtk30 intlhack libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share GLIB_SCHEMAS= org.mate.calc.gschema.xml MAKE_JOBS_UNSAFE= yes .include diff --git a/math/mdal/Makefile b/math/mdal/Makefile index e7cd9b760930..f7816901df5a 100644 --- a/math/mdal/Makefile +++ b/math/mdal/Makefile @@ -1,39 +1,39 @@ PORTNAME= mdal DISTVERSIONPREFIX= release- DISTVERSION= 1.2.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math geography MAINTAINER= wen@FreeBSD.org COMMENT= Mesh data abstration library WWW= https://www.mdal.xyz/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/gtest/gtest.h:devel/googletest LIB_DEPENDS= libpdalcpp.so:math/pdal \ libnetcdf.so:science/netcdf \ libsqlite3.so:databases/sqlite3 \ libgdal.so:graphics/gdal \ libhdf5.so:science/hdf5 \ libsz.so:science/libaec USES= cmake gnome localbase USE_GNOME= libxml2 USE_LDCONFIG= yes PLIST_FILES= bin/mdal_translate \ bin/mdalinfo \ include/mdal.h \ lib/libmdal.so \ lib/libmdal_a.a USE_GITHUB= yes GH_ACCOUNT= lutraconsulting GH_PROJECT= MDAL CMAKE_ARGS= -DSQLITE3_INCLUDE_DIRS="${LOCALBASE}/include" \ -DSQLITE3_LIBRARY="${LOCALBASE}/lib/libsqlite3.so" .include diff --git a/math/openturns/Makefile b/math/openturns/Makefile index 91da67f9b26f..8375e1e39c0d 100644 --- a/math/openturns/Makefile +++ b/math/openturns/Makefile @@ -1,102 +1,102 @@ PORTNAME= openturns DISTVERSIONPREFIX= v DISTVERSION= 1.24 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Uncertainty treatment library WWW= https://openturns.github.io/www/ \ https://github.com/openturns/openturns LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ flex:textproc/flex \ spectra>0:math/spectra LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libblas.so:math/blas \ libbonmin.so:math/bonmin \ libboost_serialization.so:devel/boost-libs \ libcamd.so:math/suitesparse-camd \ libceres.so:math/ceres-solver \ libCbc.so:math/cbc \ libccolamd.so:math/suitesparse-ccolamd \ libCgl.so:math/cgl \ libcholmod.so:math/suitesparse-cholmod \ libClp.so:math/clp \ libcminpack.so:math/cminpack \ libcoinasl.so:math/asl \ libCoinUtils.so:math/coinutils \ libcolamd.so:math/suitesparse-colamd \ libcxsparse.so:math/suitesparse-cxsparse \ libdlib.so:science/dlib-cpp \ libgif.so:graphics/giflib \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libgmp.so:math/gmp \ libhdf5_cpp.so:science/hdf5 \ libipopt.so:math/ipopt \ liblapack.so:math/lapack \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libnlopt.so:math/nlopt \ libOsi.so:math/osi \ libpagmo.so:science/pagmo2 \ libpng16.so:graphics/png \ libprimesieve.so:math/primesieve \ libspqr.so:math/suitesparse-spqr \ libsuitesparseconfig.so:math/suitesparse-config \ libsz.so:science/libaec \ libtbb.so:devel/onetbb USES= bison blaslapack:openblas cmake eigen:3 gnome jpeg llvm:18 localbase:ldflags pkgconfig sqlite xorg # compiler:c++17-lang USE_GITHUB= yes USE_GNOME= libxml2 USE_XORG= ice sm x11 xau xcb xdmcp xext USE_LDCONFIG= yes CMAKE_ARGS= -DBLAS_LIBRARIES=${LOCALBASE}/lib/libopenblas.so -DLAPACK_LIBRARIES=${LOCALBASE}/lib/libopenblas.so \ -DOPENTURNS_EXAMPLE_PATH:STRING=share/examples/openturns \ -DOPENTURNS_DOC_PATH:STRING=share/doc/openturns CMAKE_OFF= USE_DOXYGEN USE_SPHINX CMAKE_OFF+= USE_HMAT # broken with hmat-oss-1.7.1: https://github.com/openturns/openturns/issues/1868 CMAKE_OFF+= USE_CERES # ceres-solver-2.2.0 fails to be found by cmake, see https://github.com/ceres-solver/ceres-solver/issues/1023 TEST_TARGET= check # 10 tests are known to fail: https://github.com/openturns/openturns/issues/1919 OPTIONS_DEFINE= PYTHON EXAMPLES OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_USES= python PYTHON_CMAKE_BOOL= BUILD_PYTHON PYTHON_CMAKE_ON= -DSWIG_EXECUTABLE=${LOCALBASE}/bin/swig PYTHON_PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}chaospy>0:math/py-chaospy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dill>0:devel/py-dill@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.3.1:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} PYTHON_BUILD_DEPENDS= swig:devel/swig \ ${PYTHON_PY_DEPENDS} PYTHON_RUN_DEPENDS= ${PYTHON_PY_DEPENDS} PORTEXAMPLES= * #LLVM_VERSION= 12 # workaround for clang-13 crash: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261341 # use clang from ports because cmake can't find base llvm for JIT #BUILD_DEPENDS+= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} #RUN_DEPENDS+= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} #CPP= clang-cpp${LLVM_VERSION} #CC= clang${LLVM_VERSION} #CXX= clang++${LLVM_VERSION} post-install: @${RM} -r ${STAGEDIR}${DOCSDIR} # tests as of 1.24: 99% tests passed, 1 tests failed out of 537, see https://github.com/openturns/openturns/issues/2862 .include diff --git a/math/pdal/Makefile b/math/pdal/Makefile index 840dcb59881e..0c7ebdff593d 100644 --- a/math/pdal/Makefile +++ b/math/pdal/Makefile @@ -1,77 +1,77 @@ PORTNAME= pdal DISTVERSION= 2.8.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math databases graphics MASTER_SITES= https://github.com/PDAL/PDAL/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Library for translating and manipulating point cloud data WWW= https://www.pdal.io LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json LIB_DEPENDS= libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libproj.so:graphics/proj \ libboost_thread.so:devel/boost-libs \ libcurl.so:ftp/curl \ libgeotiff.so:graphics/libgeotiff \ liblaszip.so:archivers/laszip \ libzstd.so:archivers/zstd \ ${LIB_DEPENDS_${ARCH}} LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind LIB_DEPENDS_amd64= libunwind.so:devel/libunwind LIB_DEPENDS_armv7= libunwind.so:devel/libunwind LIB_DEPENDS_i386= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64le=libunwind.so:devel/libunwind USES= cmake compiler:c++11-lib gnome pathfix pkgconfig ssl tar:bz2 USE_GNOME= libxml2 USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${DISTVERSION}-src CMAKE_ON= WITH_LASZIP #LASZIP is recommended CMAKE_OFF= WITH_TESTS OPTIONS_DEFINE= BASH \ ICEBRIDGE PGPOINTCLOUD LAZPERF MBIO \ OPTIONS_DEFAULT= BASH \ ICEBRIDGE PGPOINTCLOUD LAZPERF MBIO #Plugins with lib not in port: #RivLib, Matlab, MrSID, CPD, GeoWave, GreyHound, HexBin, NITF (nitro) OPTIONS_SUB= yes BASH_DESC= BASH completion ICEBRIDGE_DESC= Enable Icebridge plugin LAZPERF_DESC= Enable LAZPerf plugin MBIO_DESC= Enable MBIO plugin PGPOINTCLOUD_DESC= Enable Coherent PostgreSQL Point Cloud plugin BASH_CMAKE_BOOL= WITH_COMPLETION BASH_RUN_DEPENDS= bash:shells/bash ICEBRIDGE_CMAKE_BOOL= BUILD_PLUGIN_ICEBRIDGE ICEBRIDGE_LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/libaec LAZPERF_CMAKE_BOOL= WITH_LAZPERF LAZPERF_LIB_DEPENDS= liblazperf.so:archivers/lazperf MBIO_CMAKE_BOOL= BUILD_PLUGIN_MBIO PGPOINTCLOUD_CMAKE_BOOL= BUILD_PLUGIN_PGPOINTCLOUD PGPOINTCLOUD_USES= pgsql CXXFLAGS_powerpc64= -mvsx pre-install-BASH-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions .include diff --git a/math/qalculate-gtk/Makefile b/math/qalculate-gtk/Makefile index ffc2b6a54f5a..2f079e617944 100644 --- a/math/qalculate-gtk/Makefile +++ b/math/qalculate-gtk/Makefile @@ -1,35 +1,36 @@ PORTNAME= qalculate-gtk PORTVERSION= 5.5.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://github.com/Qalculate/${PORTNAME}/releases/download/v${PORTVERSION}/ MAINTAINER= jhale@FreeBSD.org COMMENT= Multi-purpose desktop calculator (GTK 3 frontend) WWW= https://qalculate.github.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libqalculate.so:math/libqalculate \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= gnuplot:math/gnuplot USES= compiler:c++11-lang gettext gmake gnome \ libtool:build localbase pkgconfig USE_GNOME= cairo gdkpixbuf gtk30 intltool libxml2 GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS WEBKIT OPTIONS_DEFAULT= WEBKIT OPTIONS_SUB= yes WEBKIT_DESC= Use WebKitGTK for display of the user manual WEBKIT_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 WEBKIT_CONFIGURE_ON= --with-webkitgtk=4.0 post-patch-NLS-off: @${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in .include diff --git a/math/sc-im/Makefile b/math/sc-im/Makefile index 4da38d4c711e..af24a86e3a8e 100644 --- a/math/sc-im/Makefile +++ b/math/sc-im/Makefile @@ -1,31 +1,32 @@ PORTNAME= sc-im DISTVERSIONPREFIX= v DISTVERSION= 0.8.5 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= bapt@FreeBSD.org COMMENT= Ncurses spreadsheet program for terminal WWW= https://github.com/andmarti1424/sc-im LICENSE= BSD4CLAUSE LIB_DEPENDS= libxlsreader.so:math/libxls \ libxlsxwriter.so:math/libxlsxwriter \ libzip.so:archivers/libzip USES= compiler:c11 gmake gnome lua ncurses pkgconfig USE_GITHUB= yes GH_ACCOUNT= andmarti1424 USE_GNOME= libxml2 WRKSRC_SUBDIR= src CFLAGS+= -DXLSX_EXPORT -DXLS LIBS+= -lxlsreader -lxlsxwriter MAKE_ENV+= LDLIBS="${LIBS}" LUA_PKGNAME=lua-${LUA_VER} MAKE_ARGS+= CC="${CC}" prefix="${PREFIX}" MANDIR="${PREFIX}/share/man/man1" THEMEDIR="${DATADIR}/themes" post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sc-im ${RM} ${STAGEDIR}${PREFIX}/bin/scopen .include diff --git a/math/timbl/Makefile b/math/timbl/Makefile index 1951c62e8c3f..7d8799af6c59 100644 --- a/math/timbl/Makefile +++ b/math/timbl/Makefile @@ -1,37 +1,37 @@ PORTNAME= timbl DISTVERSION= 6.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math education MASTER_SITES= https://github.com/LanguageMachines/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Tilburg Memory Based Learner WWW= https://ilk.uvt.nl/timbl/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libicui18n.so:devel/icu \ libticcutils.so:devel/ticcutils USES= compiler:c++14-lang gmake gnome libtool pathfix pkgconfig USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share TEST_TARGET= check INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-static OPTIONS_DEFINE= DOCS PORTDOCS= * post-patch: @${REINPLACE_CMD} -e 's|-O3 -g||g' \ ${PATCH_WRKSRC}/src/Makefile.in .include diff --git a/misc/far2l/Makefile b/misc/far2l/Makefile index f74e3c7cd9d8..ba3aa24ddd58 100644 --- a/misc/far2l/Makefile +++ b/misc/far2l/Makefile @@ -1,65 +1,66 @@ PORTNAME= far2l PORTVERSION= 2.6.5 +PORTREVISION= 1 DISTVERSIONPREFIX= v_ CATEGORIES= misc MAINTAINER= danfe@FreeBSD.org COMMENT= Port of FAR v2 to Unix-like systems WWW= https://github.com/elfmz/far2l LICENSE= GPLv2 LIB_DEPENDS= libpcre.so:devel/pcre \ libuchardet.so:textproc/uchardet RUN_DEPENDS= bash:shells/bash USE_GITHUB= yes GH_ACCOUNT= elfmz USES= cmake compiler:c++11-lang desktop-file-utils gnome \ libarchive perl5 pkgconfig shebangfix ssl USE_GNOME= libxml2 USE_PERL5= build SHEBANG_FILES= far2l/bootstrap/view.sh CMAKE_OFF= UNRAR # libarchive handles *.rar files just fine OPTIONS_DEFINE= NFS SFTP SMB WEBDAV WXGTK X11 OPTIONS_DEFAULT= NFS SFTP WEBDAV WXGTK X11 OPTIONS_SUB= yes NFS_LIB_DEPENDS= libnfs.so:net/libnfs SFTP_DESC= SFTP file transfer support SFTP_LIB_DEPENDS= libssh.so:security/libssh SMB_USES= samba:lib WEBDAV_DESC= WebDav protocol support via libneon WEBDAV_LIB_DEPENDS= libneon.so:www/neon WXGTK_CMAKE_OFF= -DUSEWX:BOOL=OFF WXGTK_USE= WX=3.0+ WXGTK_VARS= WANT_WXGTK_VER=2 X11_DESC= Build with TTY X11 extensions X11_CMAKE_OFF= -DTTYX:BOOL=OFF X11_USES= xorg X11_USE= XORG=ice,sm,x11,xext,xi post-patch: @${REINPLACE_CMD} -e \ 's,pkg_search_module\(([[:alpha:]]*\)[^)]*,find_package\1,' \ ${WRKSRC}/CMakeLists.txt @${GREP} -Rl --null --include=\*.cpp /bin/bash ${WRKSRC} | ${XARGS} \ -0 ${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}&,' @${REINPLACE_CMD} -e '/SetBackgroundColour/ { x; \ s|^|SetIcon(wxIcon(wxStandardPaths::Get().GetInstallPrefix()\ + "/share/icons/far2l.svg", wxBITMAP_TYPE_ICO));|; H; x; }' \ ${WRKSRC}/WinPort/src/Backend/WX/wxMain.cpp post-stage: ${RMDIR} ${STAGEDIR}${PREFIX}/lib/far2l/Plugins/NetRocks/plug/SHELL ${RM} ${STAGEDIR}${DATADIR}/wslgclip.* .include diff --git a/misc/hotkeys/Makefile b/misc/hotkeys/Makefile index 727344735357..0b3ef32af927 100644 --- a/misc/hotkeys/Makefile +++ b/misc/hotkeys/Makefile @@ -1,58 +1,58 @@ PORTNAME= hotkeys PORTVERSION= 0.5.7.1 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= misc MASTER_SITES= https://BSDforge.com/projects/source/misc/hotkeys/${PORTVERSION}/ DISTNAME= hotkeys_${PORTVERSION} MAINTAINER= portmaster@BSDforge.com COMMENT= Allows usage of special keys on internet/multimedia keyboards WWW= http://ypwong.org/hotkeys/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= bdb gettext-runtime gmake gnome xorg USE_GNOME= glib20 libxml2 pango USE_XORG= x11 xext xft xinerama xkbfile xmu GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-db3-inc=${BDB_INCLUDE_DIR} \ --with-db3-lib=${BDB_LIB_DIR} \ --with-db-name=${BDB_LIB_NAME} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= OSD OPTIONS_DEFAULT= OSD OSD_LIB_DEPENDS= libxosd.so:misc/xosd OSD_CONFIGURE_WITH= xosd .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: @${CP} ${PATCHDIR}/error.h ${WRKSRC}/src @${CP} ${PATCHDIR}/eliteduo.def ${WRKSRC}/def @${CP} ${PATCHDIR}/logitech-ultrax.def ${WRKSRC}/def post-patch: @${REINPLACE_CMD} -e '/^install-exec-am/s/install-sysconfDATA//' \ ${WRKSRC}/src/Makefile.in post-configure: ${REINPLACE_CMD} -e 's,-lXinerama,-lXinerama `pkgconf --libs pangoxft`,g' ${WRKSRC}/src/Makefile post-install: ${INSTALL_DATA} ${WRKSRC}/src/hotkeys.conf ${STAGEDIR}${PREFIX}/etc/hotkeys.conf.sample .include diff --git a/misc/iio-oscilloscope/Makefile b/misc/iio-oscilloscope/Makefile index e70bab2e0204..fc8ea458dad3 100644 --- a/misc/iio-oscilloscope/Makefile +++ b/misc/iio-oscilloscope/Makefile @@ -1,34 +1,35 @@ PORTNAME= iio-oscilloscope DISTVERSIONPREFIX= v DISTVERSION= 0.18 +PORTREVISION= 1 DISTVERSIONSUFFIX= -main CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Oscilloscope application for interfacing with various IIO devices WWW= https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libad9361.so:misc/libad9361-iio \ libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkdatabox.so:x11-toolkits/gtkdatabox \ libiio.so:misc/libiio \ libjansson.so:devel/jansson \ libmatio.so:math/matio USES= cmake compiler:c11 gnome localbase:ldflags pkgconfig USE_GNOME= atk cairo gdkpixbuf gtk30 libxml2 pango USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= analogdevicesinc CFLAGS+= `pkg-config --cflags gtkdatabox` # workaround for https://github.com/analogdevicesinc/iio-oscilloscope/issues/499 LDFLAGS+= -lm -lexecinfo .include diff --git a/misc/libcomps/Makefile b/misc/libcomps/Makefile index 7a7051f7012a..a379f93f05db 100644 --- a/misc/libcomps/Makefile +++ b/misc/libcomps/Makefile @@ -1,36 +1,37 @@ PORTNAME= libcomps DISTVERSION= 0.1.21 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Comps XML file manipulation library WWW= https://github.com/rpm-software-management/libcomps LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 USES= cmake:testing cpe gnome localbase:ldflags CPE_VENDOR= rpm USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= rpm-software-management WRKSRC_SUBDIR= ${PORTNAME} CMAKE_OFF= ENABLE_TESTS ENABLE_DOCS CMAKE_TESTING_ON= ENABLE_TESTS OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= BUILD_PYTHON_MODULE PYTHON_USES= python PYTHON_BUILD_DEPENDS= ${PY_SETUPTOOLS} PYTHON_CMAKE_ON= -DPYTHON_DESIRED=${PYTHON_MAJOR_VER} .include diff --git a/misc/libiio/Makefile b/misc/libiio/Makefile index cadfa8848e35..e365100ba497 100644 --- a/misc/libiio/Makefile +++ b/misc/libiio/Makefile @@ -1,30 +1,31 @@ PORTNAME= libiio DISTVERSIONPREFIX= v DISTVERSION= 0.26 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Library for interfacing with local and remote IIO devices WWW= https://github.com/analogdevicesinc/libiio LICENSE= BSL LICENSE_FILE= ${WRKSRC}/COPYING.txt LIB_DEPENDS= libavahi-client.so:net/avahi-app USES= cmake:testing gnome iconv localbase USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= analogdevicesinc CMAKE_TESTING_ON= WITH_TESTS OPTIONS_DEFINE= DOCS PORTDOCS= * # unclear how to run tests, see https://github.com/analogdevicesinc/libiio/issues/1028 .include diff --git a/misc/liblxi/Makefile b/misc/liblxi/Makefile index 3745e8444ca9..165800e8ac02 100644 --- a/misc/liblxi/Makefile +++ b/misc/liblxi/Makefile @@ -1,30 +1,30 @@ PORTNAME= liblxi DISTVERSIONPREFIX= v DISTVERSION= 1.18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MAINTAINER= ports@FreeBSD.org COMMENT= Library for communicating with LXI compatible instruments WWW= https://lxi-tools.github.io LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libavahi-client.so:net/avahi-app USES= gnome meson pkgconfig USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= lxi-tools USE_LDCONFIG= yes PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/misc/librepo/Makefile b/misc/librepo/Makefile index 614955757bab..172f2fdec76a 100644 --- a/misc/librepo/Makefile +++ b/misc/librepo/Makefile @@ -1,56 +1,56 @@ PORTNAME= librepo DISTVERSION= 1.19.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Library downloading repository metadata WWW= https://github.com/rpm-software-management/librepo LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libassuan.so:security/libassuan \ libcurl.so:ftp/curl \ libgpg-error.so:security/libgpg-error \ libgpgme.so:security/gpgme TEST_DEPENDS= bash:shells/bash \ check>0:devel/check \ ${PYTHON_PKGNAMEPREFIX}gpg>=2.0.0:security/py-gpg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xattr>0:devel/py-xattr@${PY_FLAVOR} USES= cpe gettext-runtime gnome cmake:testing localbase:ldflags pkgconfig python shebangfix ssl CPE_VENDOR= redhat USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= rpm-software-management SHEBANG_FILES= tests/run_tests.sh.in SHEBANG_GLOB= *.sh CFLAGS+= -I${WRKSRC}/librepo CMAKE_ARGS= -DFREEBSD_PYTHON_VERSION=${PYTHON_VER} CMAKE_OFF= ENABLE_DOCS ENABLE_TESTS \ ENABLE_SELINUX CMAKE_TESTING_ON= ENABLE_TESTS OPTIONS_DEFINE= PYTHON ZCHUNK OPTIONS_DEFAULT= ZCHUNK OPTIONS_SUB= yes PYTHON_USES= python PYTHON_CMAKE_BOOL= ENABLE_PYTHON PYTHON_CMAKE_ON= -DPYTHON_DESIRED=${PYTHON_MAJOR_VER} ZCHUNK_DESC= Build with zchunk support ZCHUNK_CMAKE_BOOL= WITH_ZCHUNK ZCHUNK_LIB_DEPENDS= libzck.so:archivers/zchunk post-patch: @${RLN} ${FILESDIR}/xattr.c ${WRKSRC}/librepo/xattr.c @${RLN} ${FILESDIR}/xattr.h ${WRKSRC}/librepo/xattr.h .include diff --git a/misc/libsupertone/Makefile b/misc/libsupertone/Makefile index fbf194adfb7b..39b93afe7bd1 100644 --- a/misc/libsupertone/Makefile +++ b/misc/libsupertone/Makefile @@ -1,30 +1,30 @@ PORTNAME= libsupertone PORTVERSION= 0.0.2 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= misc MASTER_SITES= http://www.soft-switch.org/downloads/unicall/ MAINTAINER= ports@FreeBSD.org COMMENT= Library for supervisory tone generation and detection WWW= https://www.soft-switch.org/ LICENSE= LGPL21 LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libspandsp.so:comms/spandsp \ libtiff.so:graphics/tiff USES= gnome tar:tgz libtool USE_GNOME= libxml2 GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib # Add missing dependency in attempt to fix parallel (-jX) builds post-patch: @${REINPLACE_CMD} -e '/DEPENDENCIES =/s,$$, $$(lib_LTLIBRARIES),' \ ${WRKSRC}/Makefile.in .include diff --git a/misc/parley/Makefile b/misc/parley/Makefile index d2f31e3055a9..a2c6dc92e088 100644 --- a/misc/parley/Makefile +++ b/misc/parley/Makefile @@ -1,23 +1,24 @@ PORTNAME= parley DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= misc education kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Vocabulary trainer for KDE WWW= https://edu.kde.org/applications/all/parley BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \ docbook-xml>0:textproc/docbook-xml USES= cmake desktop-file-utils gettext gnome kde:6 qt:6 tar:xz xorg USE_GNOME= libxml2 libxslt USE_KDE= attica auth codecs completion config configwidgets coreaddons \ crash doctools i18n jobwidgets kcmutils kio libkeduvocdocument \ newstuff sonnet textwidgets widgetsaddons windowsystem xmlgui \ ecm:build USE_QT= base multimedia webengine USE_XORG= ice sm x11 xext xrender OPTIONS_DEFINE= DOCS .include diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile index c20507be56dd..b0f9447961aa 100644 --- a/misc/shared-mime-info/Makefile +++ b/misc/shared-mime-info/Makefile @@ -1,44 +1,44 @@ PORTNAME= shared-mime-info DISTVERSION= 2.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc gnome MAINTAINER= desktop@FreeBSD.org COMMENT= MIME types database from the freedesktop.org project WWW= https://www.freedesktop.org/wiki/Software/shared-mime-info/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gettext gnome localbase meson pathfix pkgconfig python:build shebangfix \ tar:xz trigger CONFIGURE_ARGS= -Dupdate-mimedb=false \ -Dxdgmime-path=${WRKSRC}/src/xdgmime USE_GNOME= glib20 libxml2 USE_GITLAB= YES GL_SITE= https://gitlab.freedesktop.org/ GL_ACCOUNT= xdg GL_TUPLE= xdg:xdgmime:e861d3eb3d522a9c22c5a870526728e2a3d9fc04:xdgmime/src/xdgmime bash_CMD= /bin/sh SHEBANG_FILES= ${WRKSRC}/tests/*.py \ ${WRKSRC}/tests/mime-detection/*.py \ ${WRKSRC}/tests/*.sh \ ${WRKSRC}/po/check_translations.sh # these come from update-mime-database.cpp:const char *media_types[] MIMESUBDIRS= all application audio chemical font image inode message model \ multipart print text uri video x-content x-epoc x-scheme-handler post-patch: ${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/src/xdgmime/src/xdgmime.c \ ${WRKSRC}/src/update-mime-database.cpp ${REINPLACE_CMD} 's|%%PYTHON_CMD%%|${PYTHON_CMD}|g' \ ${WRKSRC}/data/freedesktop.org.xml.in post-install: for dir in ${MIMESUBDIRS} ; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/$${dir} ; \ done .include diff --git a/misc/tellico/Makefile b/misc/tellico/Makefile index a07e2d37e3a9..f8c18e699d69 100644 --- a/misc/tellico/Makefile +++ b/misc/tellico/Makefile @@ -1,39 +1,40 @@ PORTNAME= tellico DISTVERSION= 4.1.2 +PORTREVISION= 1 CATEGORIES= misc kde MASTER_SITES= http://tellico-project.org/files/ MAINTAINER= kde@FreeBSD.org COMMENT= Collection manager for KDE WWW= https://tellico-project.org LICENSE= GPLv2 LIB_DEPENDS= libbtparse.so:textproc/p5-Text-BibTeX \ libcdio.so:sysutils/libcdio \ libcsv.so:textproc/libcsv \ libexempi.so:textproc/exempi \ libpoppler-qt6.so:graphics/poppler-qt6 \ libpoppler.so:graphics/poppler \ libtag.so:audio/taglib \ libyaz.so:net/yaz USES= cmake compiler:c++17-lang desktop-file-utils gettext-tools \ gl gnome kde:6 pkgconfig python:run qt:6 shared-mime-info \ shebangfix tar:xz xorg USE_GL= gl opengl # GLX USE_GNOME= libxml2 libxslt USE_KDE= archive attica bookmarks codecs colorscheme completion \ config configwidgets coreaddons crash filemetadata guiaddons \ i18n iconthemes itemmodels itemviews jobwidgets kio libkcddb \ libksane newstuff service solid sonnet textwidgets \ widgetsaddons xmlgui \ doctools:build ecm:build USE_QT= base charts declarative positioning webchannel webengine USE_XORG= x11 SHEBANG_FILES= src/fetch/scripts/dark_horse_comics.py CMAKE_ON= BUILD_WITH_QT6 .include diff --git a/misc/visp/Makefile b/misc/visp/Makefile index d173a26c75f2..8a6c3e7718dc 100644 --- a/misc/visp/Makefile +++ b/misc/visp/Makefile @@ -1,64 +1,64 @@ PORTNAME= visp DISTVERSION= 3.6.0 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= misc MASTER_SITES= https://visp-doc.inria.fr/download/releases/ MAINTAINER= yuri@FreeBSD.org COMMENT= Modular library for visual tracking and visual servoing WWW= https://visp.inria.fr/ \ https://github.com/lagadic/visp LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= doxygen:devel/doxygen \ latex:print/tex-formats \ nlohmann-json>0:devel/nlohmann-json LIB_DEPENDS= libblas.so:math/blas \ libboost_system.so:devel/boost-libs \ libdmtx.so:graphics/libdmtx \ libflann.so:math/flann \ libgsl.so:math/gsl \ liblapack.so:math/lapack \ libopenblas.so:math/openblas \ libopencv_core.so:graphics/opencv \ libopencv_videoio.so:graphics/opencv \ libpcap.so:net/libpcap \ libpng.so:graphics/png \ libv4l2.so:multimedia/libv4l \ libdc1394.so:multimedia/libdc1394 USES= cmake compiler:c++14-lang eigen:3 fortran gl gnome jpeg python:build qt:5 xorg zip USE_QT= opengl widgets USE_GNOME= libxml2 USE_XORG= ice sm x11 xext USE_GL= gl glu opengl USE_LDCONFIG= yes CMAKE_OFF= WITH_QBDEVICE BUILD_EXAMPLES BUILD_TUTORIALS BUILD_TESTS BUILD_DEMOS CXXFLAGS+= -I${LOCALBASE}/include/vtk-${VTK_VER} # https://github.com/lagadic/visp/issues/1707 OPTIONS_DEFINE= COIN OGRE PCL ZBAR OPTIONS_DEFAULT= COIN OGRE PCL ZBAR COIN_DESC= Use Coin3D for simulation or augmented reality capabilities COIN_CMAKE_BOOL= USE_COIN3D COIN_LIB_DEPENDS= libCoin.so:graphics/Coin OGRE_DESC= Include Ogre support for 3D Rendering OGRE_CMAKE_BOOL= USE_OGRE OGRE_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d19 PCL_DESC= Include Point Cloud Library support PCL_CMAKE_BOOL= USE_PCL PCL_LIB_DEPENDS= libpcl_common.so:graphics/pcl-pointclouds \ libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} # vtk9 is incurred by pcl-pointclouds ZBAR_DESC= Use ZBAR to read bar codes and QR codes ZBAR_CMAKE_BOOL= USE_ZBAR ZBAR_LIB_DEPENDS= libzbar.so:graphics/zbar .include <../../math/vtk9/Makefile.version> .include diff --git a/misc/xfce4-weather-plugin/Makefile b/misc/xfce4-weather-plugin/Makefile index 14d07fefda4a..5076cde0b355 100644 --- a/misc/xfce4-weather-plugin/Makefile +++ b/misc/xfce4-weather-plugin/Makefile @@ -1,35 +1,36 @@ PORTNAME= xfce4-weather-plugin PORTVERSION= 0.12.0 +PORTREVISION= 1 CATEGORIES= misc xfce geography MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Weather plugin for the Xfce panel WWW= https://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libjson-c.so:devel/json-c \ libsoup-2.4.so:devel/libsoup USES= compiler:c11 gettext-tools gnome meson pkgconfig tar:xz xfce USE_GNOME= glib20 gtk30 libxml2 USE_LDCONFIG= yes USE_XFCE= libmenu panel xfconf OPTIONS_DEFINE= NLS UPOWER OPTIONS_SUB= yes UPOWER_DESC= Power management tasks NLS_USES= gettext-runtime UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower UPOWER_MESON_ENABLED= upower-glib post-patch-NLS-off: @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build .include diff --git a/misc/xiphos/Makefile b/misc/xiphos/Makefile index 20796130d61a..1c562ee71eb6 100644 --- a/misc/xiphos/Makefile +++ b/misc/xiphos/Makefile @@ -1,40 +1,41 @@ PORTNAME= xiphos DISTVERSION= 4.3.1 +PORTREVISION= 1 CATEGORIES= misc gnome # Don't use USE_GITHUB: the sources downloaded by USE_GITHUB cannot be # built as they miss the file ${WRKSRC}/cmake/source_version.txt. # See also: https://github.com/crosswire/xiphos/issues/1037 MASTER_SITES= https://github.com/crosswire/${PORTNAME}/archive/refs/tags/${DISTVERSION}/ MAINTAINER= wen@FreeBSD.org COMMENT= Bible interface utilizing the sword framework WWW= https://xiphos.org LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= appstream-util:devel/appstream-glib \ desktop-file-validate:devel/desktop-file-utils \ itstool:textproc/itstool \ yelp-build:textproc/yelp-tools LIB_DEPENDS= libbiblesync.so:misc/biblesync \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libenchant.so:textproc/enchant \ libicui18n.so:devel/icu \ libsoup-2.4.so:devel/libsoup \ libsword.so:misc/sword \ libuuid.so:misc/e2fsprogs-libuuid \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 # gettext is always needed, even if NLS is off USES= cmake compiler:c11 gettext gnome minizip pkgconfig USE_GNOME= cairo gtk30 gtkhtml4 intltool libgsf CMAKE_OFF= EPUB CMAKE_ON= GTKHTML OPTIONS_DEFINE= NLS OPTIONS_SUB= NLS .include diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile index 8411b4b630ee..44333ef7102d 100644 --- a/multimedia/audacious-plugins/Makefile +++ b/multimedia/audacious-plugins/Makefile @@ -1,276 +1,276 @@ PORTNAME= audacious-plugins DISTVERSION= 4.4.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia audio MASTER_SITES= http://distfiles.audacious-media-player.org/ MAINTAINER= madpilot@FreeBSD.org COMMENT= Plugins needed for audacious WWW= https://audacious-media-player.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 FLAVORS= qt6 qt5 gtk2 gtk3 FLAVOR?= ${FLAVORS:[1]} gtk2_PKGNAMESUFFIX= -gtk2 gtk2_BUILD_DEPENDS= audacious:multimedia/audacious@gtk2 gtk2_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz gtk2_RUN_DEPENDS= audacious:multimedia/audacious@gtk2 gtk2_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-gtk3 \ audacious-plugins-qt6 gtk3_PKGNAMESUFFIX= -gtk3 gtk3_BUILD_DEPENDS= audacious:multimedia/audacious@gtk3 gtk3_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz gtk3_RUN_DEPENDS= audacious:multimedia/audacious@gtk3 gtk3_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-gtk2 \ audacious-plugins-qt6 qt5_PKGNAMESUFFIX= -qt5 qt5_BUILD_DEPENDS= audacious:multimedia/audacious@qt5 qt5_RUN_DEPENDS= audacious:multimedia/audacious@qt5 qt5_CONFLICTS_INSTALL= audacious-plugins-gtk2 audacious-plugins-gtk3 \ audacious-plugins-qt6 qt6_BUILD_DEPENDS= audacious:multimedia/audacious@qt6 qt6_RUN_DEPENDS= audacious:multimedia/audacious@qt6 qt6_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-gtk2 \ audacious-plugins-gtk3 USES= compiler:c++11-lib gettext-tools gmake gnome iconv localbase \ meson pkgconfig tar:bzip2 xorg USE_GNOME= gdkpixbuf glib20 libxml2 USE_XORG= x11 CONFIGURE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" MESON_ARGS= -Dcoreaudio=false \ -Dmms=false \ -Dcdaudio-cddb=false MAKE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" .if ${FLAVOR} == qt5 MESON_ARGS+= -Dgtk2=false \ -Dgtk=false \ -Dqt5=true \ -Dqt=true USES+= qt:5 USE_QT= core gui multimedia network svg widgets x11extras PLIST_SUB= GTK="@comment " \ QT5="" \ QT="" .elif ${FLAVOR} == qt6 MESON_ARGS+= -Dgtk2=false \ -Dgtk=false \ -Dqt5=false \ -Dqt=true USES+= qt:6 USE_QT= base multimedia svg PLIST_SUB= GTK="@comment " \ QT5="@comment " \ QT="" .elif ${FLAVOR} == gtk2 LIB_DEPENDS+= libjson-glib-1.0.so:devel/json-glib MESON_ARGS+= -Dgtk2=true \ -Dgtk=true \ -Dhotkey=true \ -Dqt5=false \ -Dqt=false USE_GNOME+= cairo gtk20 PLIST_SUB= GTK="" \ QT6="@comment " \ QT="@comment " .elif ${FLAVOR} == gtk3 LIB_DEPENDS+= libjson-glib-1.0.so:devel/json-glib MESON_ARGS+= -Dgtk2=false \ -Dgtk=true \ -Dhotkey=true \ -Dqt5=false \ -Dqt=false USE_GNOME+= cairo gtk30 PLIST_SUB= GTK="" \ QT6="@comment " \ QT="@comment " .endif OPTIONS_DEFINE= AAC ADPLUG AMIDI BS2B CDDA CONSOLE CUE FFMPEG FLAC LAME \ LIRC MODPLUG MPG123 MPRIS NEON NLS NOTIFY OPENGL \ OPENMPT OPUS SAMPLERATE SCROBBLER SID SNDFILE SOXR \ SPEEDPITCH VORBIS WAVPACK OPTIONS_DEFAULT= AAC ADPLUG AMIDI CDDA CUE FFMPEG FILEWRITER FLAC JACK MPG123 \ MPRIS NEON NLS NOTIFY OPENMPT OPUS OSS PIPEWIRE PULSEAUDIO \ SCROBBLER SID VORBIS WAVPACK OPTIONS_MULTI= OUTPUT OPTIONS_MULTI_OUTPUT= ALSA FILEWRITER JACK OSS PIPEWIRE PULSEAUDIO SDL SNDIO OPTIONS_SUB= yes .if ${FLAVOR} == gtk2 || ${FLAVOR} == gtk3 OPTIONS_DEFINE+= AOSD OPTIONS_DEFAULT+= AOSD .endif ADPLUG_DESC= ADPLUG plugin AMIDI_DESC= Amidi decoder AOSD_DESC= Audacious OSD BS2B_DESC= BS2B effect CONSOLE_DESC= Game Console Music Emulation FILEWRITER_DESC= File writer MPRIS_DESC= NPRIS plugin NEON_DESC= Neon plugin OPENMPT_DESC= OpenMPT plugin SCROBBLER_DESC= Scrobbler decoder SID_DESC= Sound chip emulator of Commodore SPEEDPITCH_DESC= Speed and Pitch plugin AAC_LIB_DEPENDS= libfaad.so:audio/faad AAC_MESON_TRUE= aac ADPLUG_LIB_DEPENDS= libadplug.so:audio/libadplug \ libbinio.so:devel/libbinio ADPLUG_MESON_TRUE= adplug ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_TRUE= alsa AMIDI_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth AMIDI_MESON_TRUE= amidiplug AOSD_LIB_DEPENDS= libXcomposite.so:x11/libXcomposite AOSD_USES= xorg AOSD_USE= GNOME=pango \ XORG=xrender AOSD_MESON_TRUE= aosd BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_MESON_TRUE= bs2b CDDA_LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libcdio_cdda.so:sysutils/libcdio-paranoia CDDA_MESON_TRUE= cdaudio CONSOLE_MESON_TRUE= console CUE_LIB_DEPENDS= libcue.so:textproc/libcue CUE_MESON_TRUE= cue FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_MESON_TRUE= ffaudio FILEWRITER_MESON_TRUE= filewriter FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_MESON_TRUE= flac JACK_LIB_DEPENDS= libjack.so:audio/jack \ libsamplerate.so:audio/libsamplerate JACK_MESON_TRUE= jack LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_MESON_TRUE= lirc MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_MESON_TRUE= modplug MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 MPG123_MESON_TRUE= mpg123 MPRIS_MESON_TRUE= mpris2 NEON_LIB_DEPENDS= libneon.so:www/neon NEON_MESON_TRUE= neon NLS_USES= gettext-runtime NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_MESON_TRUE= notify OPENGL_USES= gl OPENGL_USE= GL=gl .if ${FLAVOR} == qt5 OPENGL_USE+= QT=opengl .endif OPENGL_MESON_TRUE= gl-spectrum OPENMPT_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt OPENMPT_MESON_TRUE= openmpt OPUS_LIB_DEPENDS= libopus.so:audio/opus \ libopusfile.so:audio/opusfile OPUS_MESON_TRUE= opus OSS_MESON_TRUE= oss PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_MESON_TRUE= pipewire PULSEAUDIO_LIB_DEPENDS= libpulse-mainloop-glib.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= pulse SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_MESON_TRUE= resample SCROBBLER_LIB_DEPENDS= libcurl.so:ftp/curl SCROBBLER_MESON_TRUE= scrobbler2 SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_TRUE= sdlout SID_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp SID_MESON_TRUE= sid SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_MESON_TRUE= sndfile SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_MESON_TRUE= sndio SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_MESON_TRUE= soxr SPEEDPITCH_IMPLIES= SAMPLERATE SPEEDPITCH_MESON_TRUE= speedpitch VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis VORBIS_MESON_TRUE= vorbis WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_MESON_TRUE= wavpack .include .if ${PORT_OPTIONS:MFILEWRITER} .if ${PORT_OPTIONS:MFLAC} MESON_ARGS+= -Dfilewriter-flac=true .else MESON_ARGS+= -Dfilewriter-flac=false .endif .if ${PORT_OPTIONS:MLAME} MESON_ARGS+= -Dfilewriter-mp3=true .else MESON_ARGS+= -Dfilewriter-mp3=false .endif .if ${PORT_OPTIONS:MVORBIS} MESON_ARGS+= -Dfilewriter-ogg=true .else MESON_ARGS+= -Dfilewriter-ogg=false .endif .else MESON_ARGS+= -Dfilewriter-flac=false \ -Dfilewriter-mp3=false \ -Dfilewriter-ogg=false .endif post-patch-NLS-off: @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build .include diff --git a/multimedia/dvdauthor/Makefile b/multimedia/dvdauthor/Makefile index 42bde78bb734..ed6685ba473c 100644 --- a/multimedia/dvdauthor/Makefile +++ b/multimedia/dvdauthor/Makefile @@ -1,71 +1,71 @@ PORTNAME= dvdauthor PORTVERSION= 0.7.2.20211105 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org COMMENT= Makes a DVD file structure from one or more MPEG2 streams WWW= https://dvdauthor.sourceforge.net/ https://github.com/ldo/dvdauthor LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdvdread.so:multimedia/libdvdread \ libfribidi.so:converters/fribidi \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig USE_GITHUB= yes GH_ACCOUNT= ldo GH_TAGNAME= fe8fe35 USES= autoreconf:build bison:alias gettext-tools \ gmake gnome iconv localbase pkgconfig USE_GNOME= libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SUB_FILES= README.FreeBSD PORTDOCS= * OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_RADIO= IMAGEMAGICK VIDEO-FORMAT OPTIONS_RADIO_IMAGEMAGICK= GRAPHICSMAGICK IMAGEMAGICK6 OPTIONS_RADIO_VIDEO-FORMAT= NTSC PAL OPTIONS_SUB= yes GRAPHICSMAGICK_DESC= GraphicsMagick image processing support IMAGEMAGICK6_DESC= ImageMagick 6.x image processing support NTSC_DESC= Default video format NTSC PAL_DESC= Default video format PAL VIDEO-FORMAT_DESC= Use default video format GRAPHICSMAGICK_CONFIGURE_WITH= graphicsmagick GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick IMAGEMAGICK6_CONFIGURE_WITH= imagemagick IMAGEMAGICK6_USES= magick:6 MANPAGES_BUILD_DEPENDS= docbook2man:textproc/docbook-utils \ docbook-sgml>0:textproc/docbook-sgml NTSC_CONFIGURE_ON= --enable-default-video-format=NTSC PAL_CONFIGURE_ON= --enable-default-video-format=PAL pre-configure-MANPAGES-off: @(${MV} ${WRKSRC}/doc/Makefile.am ${WRKSRC}/doc/Makefile.am.bak && \ ${GREP} '^dist_pkgdata_DATA' \ ${WRKSRC}/doc/Makefile.am.bak > ${WRKSRC}/doc/Makefile.am) pre-configure: @(cd ${WRKSRC} && ${MKDIR} autotools/ && \ ${CP} ${LOCALBASE}/share/gettext/config.rpath autotools/ && \ ${LOCALBASE}/bin/autoreconf -i) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} \ ${WRKSRC}/AUTHORS ${WRKSRC}/ChangeLog ${WRKSRC}/README \ ${WRKSRC}/TODO ${WRKDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR} .include diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 528dcc66f62b..ed9904807654 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -1,688 +1,688 @@ PORTNAME= ffmpeg PORTVERSION= 6.1.2 -PORTREVISION= 13 +PORTREVISION= 14 PORTEPOCH= 1 CATEGORIES= multimedia audio net MASTER_SITES= https://ffmpeg.org/releases/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Realtime audio/video encoder/converter and streaming server WWW= https://ffmpeg.org/ LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= as:devel/binutils BUILD_DEPENDS_amd64= nasm:devel/nasm BUILD_DEPENDS_armv6= as:devel/binutils BUILD_DEPENDS_armv7= as:devel/binutils BUILD_DEPENDS_i386= nasm:devel/nasm HAS_CONFIGURE= yes CONFIGURE_LOG= ffbuild/config.log USES= compiler:c11 cpe gmake localbase:ldflags perl5 \ pkgconfig shebangfix tar:xz USE_LDCONFIG= yes USE_PERL5= build SHEBANG_FILES= doc/texi2pod.pl NOPRECIOUSMAKEVARS= yes # ARCH PORTSCOUT= limit:^6\. # Option CHROMAPRINT disabled, it cannot work and people are baffled. OPTIONS_DEFINE= ALSA AMR_NB AMR_WB AOM ARIBB24 ARIBCAPTION ASM ASS BS2B CACA CDIO \ CODEC2 DAV1D DAVS2 DC1394 DEBUG DOCS DRM FDK_AAC FLITE \ FONTCONFIG FREETYPE FREI0R FRIBIDI GLSLANG GME GSM HARFBUZZ ICONV ILBC \ JACK JXL KLVANC KVAZAAR LADSPA LAME LCMS2 LENSFUN LIBBLURAY LIBPLACEBO LIBRSVG2 \ LIBXML2 LTO LV2 MODPLUG MYSOFA NETWORK NVENC OPENAL OPENCL OPENGL \ OPENH264 OPENJPEG OPENMPT OPENVINO OPTIMIZED_CFLAGS OPUS POCKETSPHINX \ PULSEAUDIO RAV1E RABBITMQ RIST RTCPU RUBBERBAND SDL SHADERC SMB SNAPPY \ SNDIO SOXR SPEEX SRT SSH SVTAV1 SVTHEVC SVTVP9 TENSORFLOW \ TESSERACT THEORA TWOLAME UAVS3D V4L VAAPI VAPOURSYNTH VDPAU VIDSTAB \ VMAF VO_AMRWBENC VORBIS VPX VULKAN WEBP X264 X265 \ XAVS2 XCB XVID XVIDEO ZIMG ZMQ ZVBI # intel-media-sdk only for i386/amd64 OPTIONS_DEFINE_amd64= MFX VPL OPTIONS_DEFINE_i386= MFX OPTIONS_DEFAULT= AOM ASM ASS DAV1D DRM FONTCONFIG FREETYPE FREI0R GMP \ GNUTLS HARFBUZZ ICONV JXL LAME LCMS2 LIBPLACEBO LIBXML2 NETWORK \ OPTIMIZED_CFLAGS OPUS RTCPU SHADERC SVTAV1 V4L VAAPI VDPAU VMAF \ VORBIS VPX VULKAN WEBP X264 X265 XCB OPTIONS_DEFAULT_aarch64=LTO OPTIONS_DEFAULT_amd64= LTO NVENC OPTIONS_DEFAULT_i386= NVENC # i386 is too register-starved for LTO (PR257124) OPTIONS_EXCLUDE_i386= LTO .if !exists(${.CURDIR:H:H}/multimedia/libaribcaption) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/b6138633cdf2 OPTIONS_EXCLUDE+= ARIBCAPTION .endif .if !exists(${.CURDIR:H:H}/multimedia/davs2) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/5985a1bf7233 OPTIONS_EXCLUDE+= DAVS2 .endif .if !exists(${.CURDIR:H:H}/multimedia/uavs3d) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/c952db9d68d3 OPTIONS_EXCLUDE+= UAVS3D .endif .if !exists(${.CURDIR:H:H}/multimedia/xavs2) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/85a921f4618 OPTIONS_EXCLUDE+= XAVS2 .endif .if !exists(${.CURDIR:H:H}/multimedia/klvanc) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/8732dfa9954 OPTIONS_EXCLUDE+= KLVANC .endif .if !exists(${.CURDIR:H:H}/science/openvino) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/ff37ebaf30e6 OPTIONS_EXCLUDE+= OPENVINO .endif OPTIONS_RADIO= RTMP SSL OPTIONS_RADIO_RTMP= GCRYPT GMP OPTIONS_RADIO_SSL= GNUTLS MBEDTLS OPENSSL OPTIONS_GROUP= LICENSE OPTIONS_GROUP_LICENSE= GPL3 NONFREE ASS_DESC= Subtitles rendering via libass AOM_DESC= AV1 video encoding/decoding via libaom ARIBB24_DESC= ARIB text and caption decoding via libaribb24 ARIBCAPTION_DESC= ARIB text and caption decoding via libaribcaption BS2B_DESC= Bauer Stereophonic-to-Binaural filter CHROMAPRINT_DESC= Audio fingerprinting with chromaprint CODEC2_DESC= Codec 2 audio encoding/decoding via libcodec2 DAV1D_DESC= AV1 video decoding via libdav1d DAVS2_DESC= AVS2 decoding via libdavs2 DC1394_DESC= IIDC-1394 grabbing using libdc1394 DRM_DESC= KMS grabbing using libdrm FDK_AAC_DESC= AAC audio encoding via Fraunhofer FDK FLITE_DESC= Voice synthesis support via libflite GLSLANG_DESC= GLSL->SPIRV compilation via libglslang GME_DESC= Game Music Emu demuxer GPL3_DESC= Allow (L)GPL version 3 code(cs) HARFBUZZ_DESC= Text shaping via HarfBuzz ILBC_DESC= Internet Low Bit Rate codec KLVANC_DESC= Kernel Labs VANC processing KVAZAAR_DESC= H.265 video codec support via Kvazaar LICENSE_DESC= Licensing options LV2_DESC= LV2 audio filtering MFX_DESC= Intel MediaSDK (aka Quick Sync Video) MYSOFA_DESC= SOFAlizer binaural filter NETWORK_DESC= Networking support NONFREE_DESC= Allow use of nonfree code NVENC_DESC= NVIDIA decoder/encoder with CUDA support OPENMPT_DESC= Decoding tracked files via libopenmpt OPENH264_DESC= H.264 video codec support via OpenH264 OPENVINO_DESC= OpenVINO as a DNN module backend for DNN based filters like dnn_processing POCKETSPHINX_DESC= Automatic Speech Recognition via PocketSphinx RAV1E_DESC= AV1 encoding via librav1e RABBITMQ_DESC= AMQP 0-9-1 protocol via RabbitMQ RIST_DESC= Reliable Internet Stream Transport protocol via librist RUBBERBAND_DESC=Time-stretching and pitch-shifting with librubberband RTCPU_DESC= Detect CPU capabilities at runtime RTMP_DESC= RTMP(T)E protocol support SHADERC_DESC= GLSL->SPIRV compilation via libshaderc SRT_DESC= Haivision SRT protocol via libsrt SVTAV1_DESC= AV1 encoding via SVT-AV1 SVTHEVC_DESC= HEVC encoding via SVT-HEVC SVTVP9_DESC= VP9 encoding via SVT-VP9 LIBPLACEBO_DESC=GPU filters from libplacebo TENSORFLOW_DESC=TensorFlow as a DNN module backend for DNN based filters like sr TESSERACT_DESC= Optical Character Recognition via Tesseract THEORA_DESC= Encoding support for theora via libtheora UAVS3D_DESC= AVS3 decoding via libuavs3d VAPOURSYNTH_DESC= VapourSynth demuxer VIDSTAB_DESC= Video stabilization filter VMAF_DESC= VMAF filter via libvmaf VPL_DESC= Intel oneVPL (aka Quick Sync Video) VULKAN_DESC= Vulkan filters XAVS2_DESC= AVS2 encoding via libxavs2 XCB_DESC= X11 grabbing using XCB XVID_DESC= Encoding support for MPEG-4 ASP via libxvid ZIMG_DESC= "z" library video scaling filter ZMQ_DESC= Message passing via libzmq${ZMQ_VERSION} ZVBI_DESC= Teletext support via libzvbi OPTIONS_SUB= yes # alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa # Opencore AMR NB AMR_NB_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr AMR_NB_CONFIGURE_ENABLE= libopencore-amrnb AMR_NB_IMPLIES= GPL3 # Opencore AMR WB AMR_WB_LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr AMR_WB_CONFIGURE_ENABLE= libopencore-amrwb AMR_WB_IMPLIES= GPL3 # aom AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_ENABLE= libaom # arib ARIBB24_LIB_DEPENDS= libaribb24.so:multimedia/aribb24 ARIBB24_CONFIGURE_ENABLE= libaribb24 # aribcaption ARIBCAPTION_LIB_DEPENDS= libaribcaption.so:multimedia/libaribcaption ARIBCAPTION_CONFIGURE_ENABLE= libaribcaption # asm support ASM_CONFIGURE_ENABLE= asm # ass ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_ENABLE= libass # bs2b BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CONFIGURE_ENABLE= libbs2b # caca CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= libcaca # cdio CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_ENABLE= libcdio # chromaprint CHROMAPRINT_BROKEN= Dependency loop CHROMAPRINT_LIB_DEPENDS= libchromaprint.so:audio/chromaprint CHROMAPRINT_CONFIGURE_ENABLE= chromaprint # codec2 CODEC2_LIB_DEPENDS= libcodec2.so:audio/codec2 CODEC2_CONFIGURE_ENABLE= libcodec2 # dav1d DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_ENABLE= libdav1d # davs2 DAVS2_LIB_DEPENDS= libdavs2.so:multimedia/davs2 DAVS2_CONFIGURE_ENABLE= libdavs2 # dc1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 DC1394_CONFIGURE_ENABLE= libdc1394 # debugging DEBUG_CONFIGURE_ON= --disable-stripping DEBUG_CONFIGURE_OFF= --disable-debug # docs DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_CONFIGURE_ENABLE= htmlpages DOCS_BINARY_ALIAS= makeinfo=${FALSE} # force texi2html # drm DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_CONFIGURE_ENABLE= libdrm # fdk_aac FDK_AAC_LIB_DEPENDS= libfdk-aac.so:audio/fdk-aac FDK_AAC_CONFIGURE_ENABLE= libfdk-aac FDK_AAC_IMPLIES= NONFREE # flite FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_CONFIGURE_ENABLE= libflite # fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_ENABLE= fontconfig # freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= libfreetype # frei0r FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CONFIGURE_ENABLE= frei0r # fribidi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= libfribidi # gcrypt GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CONFIGURE_ENABLE= gcrypt # glslang GLSLANG_BUILD_DEPENDS= glslang>0:graphics/glslang \ spirv-tools>0:graphics/spirv-tools GLSLANG_CONFIGURE_ENABLE= libglslang GLSLANG_LDFLAGS= -lm GLSLANG_IMPLIES= VULKAN # gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE= gnutls # gme GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CONFIGURE_ENABLE= libgme # gmp GMP_LIB_DEPENDS= libgmp.so:math/gmp GMP_CONFIGURE_ENABLE= gmp GMP_IMPLIES= GPL3 # gsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_ENABLE= libgsm # harfbuzz HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_ENABLE= libharfbuzz # iconv ICONV_USES= iconv ICONV_CONFIGURE_ENABLE= iconv # ilbc ILBC_LIB_DEPENDS= libilbc.so:net/libilbc ILBC_CONFIGURE_ENABLE= libilbc # jack JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= libjack # jxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_CONFIGURE_ENABLE= libjxl # klvanc KLVANC_LIB_DEPENDS= libklvanc.so:multimedia/libklvanc KLVANC_CONFIGURE_ENABLE= libklvanc # kvazaar KVAZAAR_LIB_DEPENDS= libkvazaar.so:multimedia/kvazaar KVAZAAR_CONFIGURE_ENABLE= libkvazaar # ladspa LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/amp.so:audio/ladspa LADSPA_CONFIGURE_ENABLE= ladspa # lame LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame # lcms2 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_ENABLE= lcms2 # lensfun LENSFUN_LIB_DEPENDS= liblensfun.so:graphics/lensfun LENSFUN_CONFIGURE_ENABLE= liblensfun # libbluray LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray # libplacebo LIBPLACEBO_LIB_DEPENDS= libplacebo.so:graphics/libplacebo LIBPLACEBO_CONFIGURE_ENABLE= libplacebo LIBPLACEBO_IMPLIES= VULKAN # librsvg LIBRSVG2_USES= gnome LIBRSVG2_USE= GNOME=cairo,librsvg2 LIBRSVG2_CONFIGURE_ENABLE= librsvg # libxml LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 LIBXML2_CONFIGURE_ENABLE= libxml2 # lto LTO_CONFIGURE_ON= --enable-lto # lv2 LV2_BUILD_DEPENDS= lv2>0:audio/lv2 LV2_LIB_DEPENDS= liblilv-0.so:audio/lilv LV2_CONFIGURE_ENABLE= lv2 # libv4l V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= libv4l2 V4L_CONFIGURE_OFF= --disable-indev=v4l2 \ --disable-outdev=v4l2 # mbedtls MBEDTLS_LIB_DEPENDS= libmbedtls.so:security/mbedtls2 MBEDTLS_CONFIGURE_ENABLE= mbedtls # mfx MFX_LIB_DEPENDS= libmfx.so:multimedia/intel-media-sdk MFX_CONFIGURE_ENABLE= libmfx # modplug MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_ENABLE= libmodplug # mysofa MYSOFA_LIB_DEPENDS= libmysofa.so:audio/libmysofa MYSOFA_CONFIGURE_ENABLE= libmysofa # network NETWORK_CONFIGURE_ENABLE= network # nvenc NVENC_BUILD_DEPENDS= ffnvcodec-headers>=11.1.5.2:multimedia/ffnvcodec-headers NVENC_CONFIGURE_ENABLE= nvenc # OpenAL OPENAL_LIB_DEPENDS= libopenal.so:audio/openal-soft OPENAL_CONFIGURE_ENABLE= openal # opencl OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd OPENCL_CONFIGURE_ENABLE= opencl # opengl OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE= opengl # openh264 OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CONFIGURE_ENABLE= libopenh264 # openjpeg OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CONFIGURE_ENABLE= libopenjpeg # openmpt OPENMPT_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt OPENMPT_CONFIGURE_ENABLE= libopenmpt # openssl/libtls OPENSSL_USES= ssl OPENSSL_CONFIGURE_ENABLE= ${"${SSL_DEFAULT:Mlibressl*}"!="":?libtls:openssl} OPENSSL_IMPLIES= NONFREE # openvino OPENVINO_LIB_DEPENDS= libinference_engine_c_api.so:science/openvino OPENVINO_CONFIGURE_ENABLE= libopenvino # optimizations OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations # opus OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_ENABLE= libopus # pocketsphinx POCKETSPHINX_LIB_DEPENDS= libpocketsphinx.so:audio/pocketsphinx POCKETSPHINX_CONFIGURE_ENABLE= pocketsphinx POCKETSPHINX_BROKEN= pocketsphinx < 5prealpha is not supported # pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= libpulse # rav1e RAV1E_LIB_DEPENDS= librav1e.so:multimedia/librav1e RAV1E_CONFIGURE_ENABLE= librav1e # rabbitmq RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c RABBITMQ_CONFIGURE_ENABLE= librabbitmq # rist RIST_LIB_DEPENDS= librist.so:multimedia/librist RIST_CONFIGURE_ENABLE= librist # rubberband RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_CONFIGURE_ENABLE= librubberband # rtcpu RTCPU_CONFIGURE_ENABLE= runtime-cpudetect # sdl SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ENABLE= sdl2 # shaderc SHADERC_LIB_DEPENDS= libshaderc_shared.so:graphics/shaderc SHADERC_CONFIGURE_ENABLE= libshaderc SHADERC_IMPLIES= VULKAN SHADERC_PREVENTS= GLSLANG # smbclient SMB_USES= samba:lib SMB_CONFIGURE_ENABLE= libsmbclient SMB_IMPLIES= GPL3 # snappy SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy SNAPPY_CONFIGURE_ENABLE= libsnappy # sndio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio # soxr SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CONFIGURE_ENABLE= libsoxr # speex SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_ENABLE= libspeex # ssh SSH_LIB_DEPENDS= libssh.so:security/libssh SSH_CONFIGURE_ENABLE= libssh # srt SRT_LIB_DEPENDS= libsrt.so:www/srt SRT_CONFIGURE_ENABLE= libsrt # svt-av1 SVTAV1_LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 SVTAV1_CONFIGURE_ON= --enable-libsvtav1 # svt-hevc SVTHEVC_LIB_DEPENDS= libSvtHevcEnc.so:multimedia/svt-hevc SVTHEVC_CONFIGURE_ON= --enable-libsvthevc SVTHEVC_PATCH_SITES= https://github.com/OpenVisualCloud/SVT-HEVC/raw/v1.5.1-12-g6cca5b93/ffmpeg_plugin/:svthevc SVTHEVC_PATCHFILES= master-0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch:-p1:svthevc \ 0002-doc-Add-libsvt_hevc-encoder-docs.patch:-p1:svthevc .if make(makesum) .MAKEFLAGS: WITH+=SVTHEVC .endif # svt-vp9 SVTVP9_LIB_DEPENDS= libSvtVp9Enc.so:multimedia/svt-vp9 SVTVP9_CONFIGURE_ON= --enable-libsvtvp9 SVTVP9_PATCH_SITES= https://github.com/OpenVisualCloud/SVT-VP9/raw/v0.3.0-20-gbab25a6/ffmpeg_plugin/:svtvp9 SVTVP9_PATCHFILES= master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch:-p1:svtvp9 .if make(makesum) .MAKEFLAGS: WITH+=SVTVP9 .endif # tensorflow TENSORFLOW_LIB_DEPENDS= libtensorflow.so:science/py-tensorflow TENSORFLOW_CONFIGURE_ENABLE= libtensorflow # tesseract TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CONFIGURE_ENABLE= libtesseract # theora THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= libtheora # twolame TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CONFIGURE_ENABLE= libtwolame # uavs3d UAVS3D_LIB_DEPENDS= libuavs3d.so:multimedia/uavs3d UAVS3D_CONFIGURE_ENABLE= libuavs3d # vaapi VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi # vapoursynth VAPOURSYNTH_LIB_DEPENDS= libvapoursynth-script.so:multimedia/vapoursynth VAPOURSYNTH_CONFIGURE_ENABLE= vapoursynth # vdpau VDPAU_USES= xorg VDPAU_USE= XORG=x11 VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau # vmaf VMAF_LIB_DEPENDS= libvmaf.so:multimedia/vmaf VMAF_CONFIGURE_ENABLE= libvmaf # vo-amrwbenc VO_AMRWBENC_LIB_DEPENDS= libvo-amrwbenc.so:audio/vo-amrwbenc VO_AMRWBENC_CONFIGURE_ENABLE= libvo-amrwbenc VO_AMRWBENC_IMPLIES= GPL3 # vid.stab VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CONFIGURE_ENABLE= libvidstab # vorbis VORBIS_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE= libvorbis # vpl VPL_LIB_DEPENDS= libvpl.so:multimedia/onevpl VPL_CONFIGURE_ENABLE= libvpl # vp8 VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= libvpx # vulkan VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CONFIGURE_ENABLE= vulkan # webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= libwebp # x264 X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= libx264 # x265 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CONFIGURE_ENABLE= libx265 # xavs2 XAVS2_LIB_DEPENDS= libxavs2.so:multimedia/xavs2 XAVS2_CONFIGURE_ENABLE= libxavs2 # xcb XCB_USES= xorg XCB_USE= XORG=xcb XCB_CONFIGURE_ENABLE= libxcb # xvid XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_ENABLE= libxvid # xv XVIDEO_USES= xorg XVIDEO_USE= XORG=x11,xext,xv XVIDEO_CONFIGURE_OFF= --disable-outdev=xv # zimg ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_CONFIGURE_ENABLE= libzimg # zmq ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq${ZMQ_VERSION} ZMQ_CONFIGURE_ENABLE= libzmq ZMQ_VERSION?= 4 # zvbi ZVBI_LIB_DEPENDS= libzvbi.so:devel/libzvbi ZVBI_CONFIGURE_ENABLE= libzvbi # License knobs GPL3_CONFIGURE_ENABLE= version3 GPL3_VARS= LICENSE="GPLv3+ LGPL3+" LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING.GPLv3 LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPLv3 NONFREE_CONFIGURE_ENABLE=nonfree INSTALL_TARGET= install-progs install-doc install-data \ install-libs install-headers install-examples DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} MAKE_ENV+= V=1 CFLAGS_armv6= -Wno-error=int-conversion CFLAGS_armv7= -Wno-error=int-conversion CFLAGS_i386= -Wno-error=int-conversion CFLAGS_powerpc= -Wno-error=int-conversion LDFLAGS_aarch64=-Wl,-z,notext LDFLAGS_armv6= -Wl,-z,notext LDFLAGS_armv7= -Wl,-z,notext LDFLAGS_i386= -Wl,-z,notext CONFIGURE_ARGS+=--prefix="${PREFIX}" \ --mandir="${PREFIX}/share/man" \ --datadir="${DATADIR}" \ --docdir="${DOCSDIR}" \ --pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ --disable-static \ --disable-libcelt \ --enable-shared \ --enable-pic \ --enable-gpl \ --cc="${CC}" \ --cxx="${CXX}" DOC_FILES= Changelog CREDITS INSTALL.md LICENSE.md MAINTAINERS \ README.md RELEASE_NOTES # under doc subdirectory DOC_DOCFILES= APIchanges *.txt PORTDOCS= * .include .if ${PORT_OPTIONS:MNONFREE} LICENSE+= NONFREE LICENSE_COMB= multi LICENSE_NAME_NONFREE= Non free code LICENSE_TEXT_NONFREE= enabling OPENSSL or FDK_AAC restricts redistribution LICENSE_PERMS_NONFREE= auto-accept .endif post-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} \ "${DOC_FILES}" ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \ "${DOC_DOCFILES}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/multimedia/ffmpeg4/Makefile b/multimedia/ffmpeg4/Makefile index 710bc7994f63..eac9ea7b6396 100644 --- a/multimedia/ffmpeg4/Makefile +++ b/multimedia/ffmpeg4/Makefile @@ -1,646 +1,646 @@ PORTNAME= ffmpeg PORTVERSION= 4.4.4 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= multimedia audio net MASTER_SITES= https://ffmpeg.org/releases/ PKGNAMESUFFIX= 4 MAINTAINER= multimedia@FreeBSD.org COMMENT= Realtime audio/video encoder/converter and streaming server (legacy 4.* series) WWW= https://ffmpeg.org/ LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= as:devel/binutils BUILD_DEPENDS_amd64= nasm:devel/nasm BUILD_DEPENDS_armv6= as:devel/binutils BUILD_DEPENDS_armv7= as:devel/binutils BUILD_DEPENDS_i386= nasm:devel/nasm HAS_CONFIGURE= yes CONFIGURE_LOG= ffbuild/config.log USES= compiler:c11 cpe gmake localbase:ldflags perl5 \ pkgconfig shebangfix tar:xz USE_LDCONFIG= yes USE_PERL5= build SHEBANG_FILES= doc/texi2pod.pl NOPRECIOUSMAKEVARS= yes # ARCH .ifdef PKGNAMESUFFIX PORTSCOUT= limit:^4\. PREFIX= ${LOCALBASE}/${PKGBASE} # avoid conflict with the default .endif # Option CHROMAPRINT disabled, it cannot work and people are baffled. OPTIONS_DEFINE= ALSA AMR_NB AMR_WB AOM ARIBB24 ASM ASS BS2B CACA CDIO \ CODEC2 DAV1D DAVS2 DC1394 DEBUG DOCS DRM FDK_AAC FLITE \ FONTCONFIG FREETYPE FREI0R FRIBIDI GLSLANG GME GSM ICONV ILBC \ JACK KLVANC KVAZAAR LADSPA LAME LENSFUN LIBBLURAY LIBRSVG2 \ LIBXML2 LTO LV2 MODPLUG MYSOFA NETWORK NVENC OPENAL OPENCL OPENGL \ OPENH264 OPENJPEG OPENMPT OPENVINO OPTIMIZED_CFLAGS OPUS POCKETSPHINX \ PULSEAUDIO RAV1E RABBITMQ RIST RTCPU RUBBERBAND SDL SMB SNAPPY \ SNDIO SOXR SPEEX SRT SSH SVTAV1 SVTHEVC SVTVP9 TENSORFLOW \ TESSERACT THEORA TWOLAME UAVS3D V4L VAAPI VAPOURSYNTH VDPAU VIDSTAB \ VMAF VO_AMRWBENC VORBIS VPX VULKAN WEBP X264 X265 \ XAVS2 XCB XVID XVIDEO ZIMG ZMQ ZVBI # intel-media-sdk only for i386/amd64 OPTIONS_DEFINE_amd64= MFX OPTIONS_DEFINE_i386= MFX OPTIONS_DEFAULT= AOM ASM ASS DAV1D DRM FONTCONFIG FREETYPE FREI0R GMP \ GNUTLS ICONV LAME LIBXML2 NETWORK OPTIMIZED_CFLAGS OPUS \ RTCPU SVTAV1 V4L VAAPI VDPAU VMAF VORBIS VPX WEBP X264 \ X265 XCB OPTIONS_DEFAULT_amd64= NVENC OPTIONS_DEFAULT_i386= NVENC # i386 is too register-starved for LTO (PR257124) OPTIONS_EXCLUDE_i386= LTO .if !exists(${.CURDIR:H:H}/multimedia/davs2) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/5985a1bf7233 OPTIONS_EXCLUDE+= DAVS2 .endif .if !exists(${.CURDIR:H:H}/multimedia/uavs3d) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/c952db9d68d3 OPTIONS_EXCLUDE+= UAVS3D .endif .if !exists(${.CURDIR:H:H}/multimedia/xavs2) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/85a921f4618 OPTIONS_EXCLUDE+= XAVS2 .endif .if !exists(${.CURDIR:H:H}/multimedia/klvanc) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/8732dfa9954 OPTIONS_EXCLUDE+= KLVANC .endif .if !exists(${.CURDIR:H:H}/science/openvino) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/ff37ebaf30e6 OPTIONS_EXCLUDE+= OPENVINO .endif OPTIONS_RADIO= RTMP SSL OPTIONS_RADIO_RTMP= GCRYPT GMP OPTIONS_RADIO_SSL= GNUTLS MBEDTLS OPENSSL OPTIONS_GROUP= LICENSE OPTIONS_GROUP_LICENSE= GPL3 NONFREE ASS_DESC= Subtitles rendering via libass AOM_DESC= AV1 video encoding/decoding via libaom ARIBB24_DESC= ARIB text and caption decoding via libaribb24 BS2B_DESC= Bauer Stereophonic-to-Binaural filter CHROMAPRINT_DESC= Audio fingerprinting with chromaprint CODEC2_DESC= Codec 2 audio encoding/decoding via libcodec2 DAV1D_DESC= AV1 video decoding via libdav1d DAVS2_DESC= AVS2 decoding via libdavs2 DC1394_DESC= IIDC-1394 grabbing using libdc1394 DRM_DESC= KMS grabbing using libdrm FDK_AAC_DESC= AAC audio encoding via Fraunhofer FDK FLITE_DESC= Voice synthesis support via libflite GLSLANG_DESC= GLSL->SPIRV compilation via libglslang GME_DESC= Game Music Emu demuxer GPL3_DESC= Allow (L)GPL version 3 code(cs) ILBC_DESC= Internet Low Bit Rate codec KLVANC_DESC= Kernel Labs VANC processing KVAZAAR_DESC= H.265 video codec support via Kvazaar LICENSE_DESC= Licensing options LV2_DESC= LV2 audio filtering MFX_DESC= Intel MediaSDK (aka Quick Sync Video) MYSOFA_DESC= SOFAlizer binaural filter NETWORK_DESC= Networking support NONFREE_DESC= Allow use of nonfree code NVENC_DESC= NVIDIA decoder/encoder with CUDA support OPENMPT_DESC= Decoding tracked files via libopenmpt OPENH264_DESC= H.264 video codec support via OpenH264 OPENVINO_DESC= OpenVINO as a DNN module backend for DNN based filters like dnn_processing POCKETSPHINX_DESC= Automatic Speech Recognition via PocketSphinx RAV1E_DESC= AV1 encoding via librav1e RABBITMQ_DESC= AMQP 0-9-1 protocol via RabbitMQ RIST_DESC= Reliable Internet Stream Transport protocol via librist RUBBERBAND_DESC=Time-stretching and pitch-shifting with librubberband RTCPU_DESC= Detect CPU capabilities at runtime RTMP_DESC= RTMP(T)E protocol support SRT_DESC= Haivision SRT protocol via libsrt SVTAV1_DESC= AV1 encoding via SVT-AV1 SVTHEVC_DESC= HEVC encoding via SVT-HEVC SVTVP9_DESC= VP9 encoding via SVT-VP9 TENSORFLOW_DESC=TensorFlow as a DNN module backend for DNN based filters like sr TESSERACT_DESC= Optical Character Recognition via Tesseract THEORA_DESC= Encoding support for theora via libtheora UAVS3D_DESC= AVS3 decoding via libuavs3d VAPOURSYNTH_DESC= VapourSynth demuxer VIDSTAB_DESC= Video stabilization filter VMAF_DESC= VMAF filter via libvmaf VULKAN_DESC= Vulkan filters XAVS2_DESC= AVS2 encoding via libxavs2 XCB_DESC= X11 grabbing using XCB XVID_DESC= Encoding support for MPEG-4 ASP via libxvid ZIMG_DESC= "z" library video scaling filter ZMQ_DESC= Message passing via libzmq${ZMQ_VERSION} ZVBI_DESC= Teletext support via libzvbi OPTIONS_SUB= yes # alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa # Opencore AMR NB AMR_NB_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr AMR_NB_CONFIGURE_ENABLE= libopencore-amrnb AMR_NB_IMPLIES= GPL3 # Opencore AMR WB AMR_WB_LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr AMR_WB_CONFIGURE_ENABLE= libopencore-amrwb AMR_WB_IMPLIES= GPL3 # aom AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_ENABLE= libaom # arib ARIBB24_LIB_DEPENDS= libaribb24.so:multimedia/aribb24 ARIBB24_CONFIGURE_ENABLE= libaribb24 # asm support ASM_CONFIGURE_ENABLE= asm # ass ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_ENABLE= libass # bs2b BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CONFIGURE_ENABLE= libbs2b # caca CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= libcaca # cdio CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_ENABLE= libcdio # chromaprint CHROMAPRINT_BROKEN= Dependency loop CHROMAPRINT_LIB_DEPENDS= libchromaprint.so:audio/chromaprint CHROMAPRINT_CONFIGURE_ENABLE= chromaprint # codec2 CODEC2_LIB_DEPENDS= libcodec2.so:audio/codec2 CODEC2_CONFIGURE_ENABLE= libcodec2 # dav1d DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_ENABLE= libdav1d # davs2 DAVS2_LIB_DEPENDS= libdavs2.so:multimedia/davs2 DAVS2_CONFIGURE_ENABLE= libdavs2 # dc1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 DC1394_CONFIGURE_ENABLE= libdc1394 # debugging DEBUG_CONFIGURE_ON= --disable-stripping DEBUG_CONFIGURE_OFF= --disable-debug # docs DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_CONFIGURE_ENABLE= htmlpages DOCS_BINARY_ALIAS= makeinfo=${FALSE} # force texi2html # drm DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_CONFIGURE_ENABLE= libdrm # fdk_aac FDK_AAC_LIB_DEPENDS= libfdk-aac.so:audio/fdk-aac FDK_AAC_CONFIGURE_ENABLE= libfdk-aac FDK_AAC_IMPLIES= NONFREE # flite FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_CONFIGURE_ENABLE= libflite # fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_ENABLE= fontconfig # freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= libfreetype # frei0r FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CONFIGURE_ENABLE= frei0r # fribidi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= libfribidi # gcrypt GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CONFIGURE_ENABLE= gcrypt # glslang GLSLANG_BUILD_DEPENDS= glslang>0:graphics/glslang \ spirv-tools>0:graphics/spirv-tools GLSLANG_CONFIGURE_ENABLE= libglslang GLSLANG_LDFLAGS= -lm GLSLANG_IMPLIES= VULKAN # gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE= gnutls # gme GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CONFIGURE_ENABLE= libgme # gmp GMP_LIB_DEPENDS= libgmp.so:math/gmp GMP_CONFIGURE_ENABLE= gmp GMP_IMPLIES= GPL3 # gsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_ENABLE= libgsm # iconv ICONV_USES= iconv ICONV_CONFIGURE_ENABLE= iconv # ilbc ILBC_LIB_DEPENDS= libilbc.so:net/libilbc ILBC_CONFIGURE_ENABLE= libilbc # jack JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= libjack # klvanc KLVANC_LIB_DEPENDS= libklvanc.so:multimedia/libklvanc KLVANC_CONFIGURE_ENABLE= libklvanc # kvazaar KVAZAAR_LIB_DEPENDS= libkvazaar.so:multimedia/kvazaar KVAZAAR_CONFIGURE_ENABLE= libkvazaar # ladspa LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/amp.so:audio/ladspa LADSPA_CONFIGURE_ENABLE= ladspa # lame LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame # lensfun LENSFUN_LIB_DEPENDS= liblensfun.so:graphics/lensfun LENSFUN_CONFIGURE_ENABLE= liblensfun # libbluray LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray # librsvg LIBRSVG2_USES= gnome LIBRSVG2_USE= GNOME=cairo,librsvg2 LIBRSVG2_CONFIGURE_ENABLE= librsvg # libxml LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 LIBXML2_CONFIGURE_ENABLE= libxml2 # lto LTO_CONFIGURE_ENABLE= lto # lv2 LV2_BUILD_DEPENDS= lv2>0:audio/lv2 LV2_LIB_DEPENDS= liblilv-0.so:audio/lilv LV2_CONFIGURE_ENABLE= lv2 # libv4l V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= libv4l2 V4L_CONFIGURE_OFF= --disable-indev=v4l2 \ --disable-outdev=v4l2 # mbedtls MBEDTLS_LIB_DEPENDS= libmbedtls.so:security/mbedtls2 MBEDTLS_CONFIGURE_ENABLE= mbedtls # mfx MFX_LIB_DEPENDS= libmfx.so:multimedia/intel-media-sdk MFX_CONFIGURE_ENABLE= libmfx # modplug MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_ENABLE= libmodplug # mysofa MYSOFA_LIB_DEPENDS= libmysofa.so:audio/libmysofa MYSOFA_CONFIGURE_ENABLE= libmysofa # network NETWORK_CONFIGURE_ENABLE= network # nvenc NVENC_BUILD_DEPENDS= ${LOCALBASE}/include/ffnvcodec/nvEncodeAPI.h:multimedia/ffnvcodec-headers NVENC_CONFIGURE_ENABLE= nvenc # OpenAL OPENAL_LIB_DEPENDS= libopenal.so:audio/openal-soft OPENAL_CONFIGURE_ENABLE= openal # opencl OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd OPENCL_CONFIGURE_ENABLE= opencl # opengl OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE= opengl # openh264 OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CONFIGURE_ENABLE= libopenh264 # openjpeg OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CONFIGURE_ENABLE= libopenjpeg # openmpt OPENMPT_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt OPENMPT_CONFIGURE_ENABLE= libopenmpt # openssl/libtls OPENSSL_USES= ssl OPENSSL_CONFIGURE_ENABLE= ${"${SSL_DEFAULT:Mlibressl*}"!="":?libtls:openssl} OPENSSL_IMPLIES= NONFREE # openvino OPENVINO_LIB_DEPENDS= libinference_engine_c_api.so:science/openvino OPENVINO_CONFIGURE_ENABLE= libopenvino # optimizations OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations # opus OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_ENABLE= libopus # pocketsphinx POCKETSPHINX_LIB_DEPENDS= libpocketsphinx.so:audio/pocketsphinx POCKETSPHINX_CONFIGURE_ENABLE= pocketsphinx POCKETSPHINX_BROKEN= pocketsphinx < 5prealpha is not supported # pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= libpulse # rav1e RAV1E_LIB_DEPENDS= librav1e.so:multimedia/librav1e RAV1E_CONFIGURE_ENABLE= librav1e # rabbitmq RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c RABBITMQ_CONFIGURE_ENABLE= librabbitmq # rist RIST_LIB_DEPENDS= librist.so:multimedia/librist RIST_CONFIGURE_ENABLE= librist # rubberband RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_CONFIGURE_ENABLE= librubberband # rtcpu RTCPU_CONFIGURE_ENABLE= runtime-cpudetect # sdl SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ENABLE= sdl2 # smbclient SMB_USES= samba:lib SMB_CONFIGURE_ENABLE= libsmbclient SMB_IMPLIES= GPL3 # snappy SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy SNAPPY_CONFIGURE_ENABLE= libsnappy # sndio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio # soxr SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CONFIGURE_ENABLE= libsoxr # speex SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_ENABLE= libspeex # ssh SSH_LIB_DEPENDS= libssh.so:security/libssh SSH_CONFIGURE_ENABLE= libssh # srt SRT_LIB_DEPENDS= libsrt.so:www/srt SRT_CONFIGURE_ENABLE= libsrt # svt-av1 SVTAV1_LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 SVTAV1_CONFIGURE_ON= --enable-libsvtav1 # svt-hevc SVTHEVC_LIB_DEPENDS= libSvtHevcEnc.so:multimedia/svt-hevc SVTHEVC_CONFIGURE_ON= --enable-libsvthevc SVTHEVC_PATCH_SITES= https://github.com/OpenVisualCloud/SVT-HEVC/raw/v1.5.0-3-g86b58f77/ffmpeg_plugin/:svthevc SVTHEVC_PATCHFILES= 0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch:-p1:svthevc \ 0002-doc-Add-libsvt_hevc-encoder-docs.patch:-p1:svthevc .if make(makesum) .MAKEFLAGS: WITH+=SVTHEVC .endif # svt-vp9 SVTVP9_LIB_DEPENDS= libSvtVp9Enc.so:multimedia/svt-vp9 SVTVP9_CONFIGURE_ON= --enable-libsvtvp9 SVTVP9_PATCH_SITES= https://github.com/OpenVisualCloud/SVT-VP9/raw/v0.3.0-4-gabd5c59/ffmpeg_plugin/:svtvp9 SVTVP9_PATCHFILES= master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch:-p1:svtvp9 .if make(makesum) .MAKEFLAGS: WITH+=SVTVP9 .endif # tensorflow TENSORFLOW_LIB_DEPENDS= libtensorflow.so:science/py-tensorflow TENSORFLOW_CONFIGURE_ENABLE= libtensorflow # tesseract TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CONFIGURE_ENABLE= libtesseract # theora THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= libtheora # twolame TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CONFIGURE_ENABLE= libtwolame # uavs3d UAVS3D_LIB_DEPENDS= libuavs3d.so:multimedia/uavs3d UAVS3D_CONFIGURE_ENABLE= libuavs3d # vaapi VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi # vapoursynth VAPOURSYNTH_LIB_DEPENDS= libvapoursynth-script.so:multimedia/vapoursynth VAPOURSYNTH_CONFIGURE_ENABLE= vapoursynth # vdpau VDPAU_USES= xorg VDPAU_USE= XORG=x11 VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau # vmaf VMAF_LIB_DEPENDS= libvmaf.so:multimedia/vmaf VMAF_CONFIGURE_ENABLE= libvmaf # vo-amrwbenc VO_AMRWBENC_LIB_DEPENDS= libvo-amrwbenc.so:audio/vo-amrwbenc VO_AMRWBENC_CONFIGURE_ENABLE= libvo-amrwbenc VO_AMRWBENC_IMPLIES= GPL3 # vid.stab VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CONFIGURE_ENABLE= libvidstab # vorbis VORBIS_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE= libvorbis # vp8 VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= libvpx # vulkan VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CONFIGURE_ENABLE= vulkan # webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= libwebp # x264 X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= libx264 # x265 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CONFIGURE_ENABLE= libx265 # xavs2 XAVS2_LIB_DEPENDS= libxavs2.so:multimedia/xavs2 XAVS2_CONFIGURE_ENABLE= libxavs2 # xcb XCB_USES= xorg XCB_USE= XORG=xcb XCB_CONFIGURE_ENABLE= libxcb # xvid XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_ENABLE= libxvid # xv XVIDEO_USES= xorg XVIDEO_USE= XORG=x11,xext,xv XVIDEO_CONFIGURE_OFF= --disable-outdev=xv # zimg ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_CONFIGURE_ENABLE= libzimg # zmq ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq${ZMQ_VERSION} ZMQ_CONFIGURE_ENABLE= libzmq ZMQ_VERSION?= 4 # zvbi ZVBI_LIB_DEPENDS= libzvbi.so:devel/libzvbi ZVBI_CONFIGURE_ENABLE= libzvbi # License knobs GPL3_CONFIGURE_ENABLE= version3 GPL3_VARS= LICENSE="GPLv3+ LGPL3+" LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING.GPLv3 LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPLv3 NONFREE_CONFIGURE_ENABLE=nonfree INSTALL_TARGET= install-progs install-doc install-data \ install-libs install-headers install-examples DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} MAKE_ENV+= V=1 LDFLAGS_aarch64=-Wl,-z,notext LDFLAGS_armv6= -Wl,-z,notext LDFLAGS_armv7= -Wl,-z,notext LDFLAGS_i386= -Wl,-z,notext CONFIGURE_ARGS+=--prefix="${PREFIX}" \ --mandir="${PREFIX}/share/man" \ --datadir="${DATADIR}" \ --docdir="${DOCSDIR}" \ --pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ --disable-static \ --disable-libcelt \ --enable-shared \ --enable-pic \ --enable-gpl \ --enable-avresample \ --cc="${CC}" \ --cxx="${CXX}" DOC_FILES= Changelog CREDITS INSTALL.md LICENSE.md MAINTAINERS \ README.md RELEASE_NOTES # under doc subdirectory DOC_DOCFILES= APIchanges *.txt PORTDOCS= * .include .if ${PORT_OPTIONS:MNONFREE} LICENSE+= NONFREE LICENSE_COMB= multi LICENSE_NAME_NONFREE= Non free code LICENSE_TEXT_NONFREE= enabling OPENSSL or FDK_AAC restricts redistribution LICENSE_PERMS_NONFREE= auto-accept .endif post-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} \ "${DOC_FILES}" ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \ "${DOC_DOCFILES}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/multimedia/gstreamer1-editing-services/Makefile b/multimedia/gstreamer1-editing-services/Makefile index d2528e9abe2a..1388fb0fbf29 100644 --- a/multimedia/gstreamer1-editing-services/Makefile +++ b/multimedia/gstreamer1-editing-services/Makefile @@ -1,36 +1,37 @@ PORTNAME= gstreamer1-editing-services PORTVERSION= ${_GST_VERSION} +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer-editing-services/ DISTNAME= gst-editing-services-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= GStreamer editing services WWW= http://gstreamer.freedeskop.org LICENSE= LGPL20 USES= bison compiler:c11 gnome gstreamer meson ninja python pkgconfig tar:xz USE_GNOME= glib20 introspection:build libxml2 pygobject3:build USE_GSTREAMER= bad good USE_LDCONFIG= yes MESON_ARGS= -Ddoc=disabled \ -Dtests=disabled \ -Dvalidate=disabled \ -Dpygi-overrides-dir=${PYTHON_SITELIBDIR}/gstreamer-editing-services BINARY_ALIAS= python3=${PYTHON_VERSION} PORTSCOUT= limitw:1,even PLIST_SUB= SOVERSION="${_GST_SOVERSION}" \ VERSION="${_GST_LIB_VER}" OPTIONS_DEFINE= BASH OPTIONS_DEFAULT=BASH OPTIONS_SUB= yes BASH_BUILD_DEPENDS= bash-completion>0:shells/bash-completion BASH_MESON_ENABLED= bash-completion .include diff --git a/multimedia/gstreamer1-plugins-dash/Makefile b/multimedia/gstreamer1-plugins-dash/Makefile index 16e5acd108c3..29185b918db4 100644 --- a/multimedia/gstreamer1-plugins-dash/Makefile +++ b/multimedia/gstreamer1-plugins-dash/Makefile @@ -1,15 +1,15 @@ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= multimedia COMMENT= GStreamer Dynamic Adaptive Streaming over HTTP demuxer plugin USE_GNOME= libxml2 MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins PLIST= ${.CURDIR}/pkg-plist DIST= bad GST_PLUGIN= dash .include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-good/Makefile b/multimedia/gstreamer1-plugins-good/Makefile index 1e7139ae64ca..bf7b32aafa80 100644 --- a/multimedia/gstreamer1-plugins-good/Makefile +++ b/multimedia/gstreamer1-plugins-good/Makefile @@ -1,68 +1,68 @@ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= multimedia COMMENT= GStreamer-plugins good-quality plug-ins LIB_DEPENDS+= libnettle.so:security/nettle \ libsoup-3.0.so:devel/libsoup3 MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins PLIST= ${.CURDIR}/pkg-plist DIST= good GST_PLUGIN= ${DIST} GST_PLUGIN_SUFFIX= -${DIST} NO_GSTREAMER_COMMON= yes GOOD_GST_ENABLED_PLUGINS= adaptivedemux2 \ alpha \ apetag \ audiofx \ audioparsers \ auparse \ autodetect \ avi \ cutter \ deinterlace \ debugutils \ dtmf \ effectv \ equalizer \ flv \ flx \ goom \ goom2k1 \ icydemux \ id3demux \ imagefreeze \ interleave \ isomp4 \ law \ level \ matroska \ monoscope \ multifile \ multipart \ nls \ oss \ oss4 \ replaygain \ rtp \ rtpmanager \ rtsp \ shapewipe \ smpte \ spectrum \ tests \ udp \ videobox \ videocrop \ videofilter \ videomixer \ wavenc \ wavparse \ xingmux \ y4m .include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-smoothstreaming/Makefile b/multimedia/gstreamer1-plugins-smoothstreaming/Makefile index 3d5f23deb999..32bbe82422b3 100644 --- a/multimedia/gstreamer1-plugins-smoothstreaming/Makefile +++ b/multimedia/gstreamer1-plugins-smoothstreaming/Makefile @@ -1,15 +1,15 @@ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= multimedia COMMENT= GStreamer parse and demuliplex a Smooth Streaming manifest into audio/video streams plugin USE_GNOME= libxml2 MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins PLIST= ${.CURDIR}/pkg-plist DIST= bad GST_PLUGIN= smoothstreaming .include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-ttml/Makefile b/multimedia/gstreamer1-plugins-ttml/Makefile index c091e7a7110f..08c1d5f384d6 100644 --- a/multimedia/gstreamer1-plugins-ttml/Makefile +++ b/multimedia/gstreamer1-plugins-ttml/Makefile @@ -1,15 +1,15 @@ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= multimedia COMMENT= GStreamer ttml subtitle plugin USE_GNOME= cairo libxml2 pango MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins PLIST= ${.CURDIR}/pkg-plist DIST= bad GST_PLUGIN= ttml .include "${MASTERDIR}/Makefile" diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile index 862c26c83766..6a6567b03279 100644 --- a/multimedia/handbrake/Makefile +++ b/multimedia/handbrake/Makefile @@ -1,128 +1,128 @@ PORTNAME= handbrake DISTVERSION= 1.9.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= https://github.com/HandBrake/HandBrake/releases/download/${DISTVERSION}/ MASTER_SITES+= https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/:contrib MASTER_SITES+= https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/:contrib DISTNAME= HandBrake-${DISTVERSION} DISTFILES= ${DISTNAME}-source.tar.bz2 ${CONTRIB_FILES:S/$/:contrib/} DIST_SUBDIR= ${PORTNAME} MAINTAINER= naito.yuichiro@gmail.com COMMENT= Versatile DVD ripper and video transcoder WWW= https://handbrake.fr/ LICENSE= GPLv2 LICENSE_NAME_FDK_AAC= Software License for The Fraunhofer FDK AAC Codec Library for Android LICENSE_FILE_FDK_AAC= ${WRKDIR}/${DISTFILES:Mfdk*:R:R}/NOTICE LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS_FDK_AAC= dist-mirror pkg-mirror auto-accept ONLY_FOR_ARCHS= amd64 powerpc powerpc64 powerpc64le BUILD_DEPENDS= bash:shells/bash \ nasm:devel/nasm \ cmake:devel/cmake-core \ meson:devel/meson \ git:devel/git@lite LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libturbojpeg.so:graphics/libjpeg-turbo \ libass.so:multimedia/libass \ libspeex.so:audio/speex \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libvorbisenc.so:audio/libvorbis \ libtheoradec.so:multimedia/libtheora \ libtheoraenc.so:multimedia/libtheora \ libx264.so:multimedia/libx264 \ libvpx.so:multimedia/libvpx \ libmp3lame.so:audio/lame \ libopus.so:audio/opus \ libjansson.so:devel/jansson USES= autoreconf:build compiler:c11 gmake iconv libtool:build \ localbase:ldflags ninja:build pkgconfig python:build CONTRIB_FILES= SVT-AV1-v2.3.0.tar.gz \ fdk-aac-2.0.3.tar.gz \ ffmpeg-7.1.tar.bz2 \ libbluray-1.3.4.tar.bz2 \ libdvdnav-6.1.1.tar.bz2 \ libdvdread-6.1.3.tar.bz2 \ dav1d-1.5.1.tar.bz2 \ dovi_tool-libdovi-3.1.2.tar.gz \ x265_4.1.tar.gz \ zimg-3.0.5.tar.gz .if !defined(PACKAGE_BUILDING) # DVDCSS version hardcoded in contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/src/dvd_input.c (dlopen'ed) LIB_DEPENDS+= libdvdcss.so:multimedia/libdvdcss .endif GNU_CONFIGURE= yes CONFIGURE_ARGS= --force --enable-x265 CONFIGURE_TARGET= build MAKEFILE= GNUmakefile MAKE_ENV= V=1 ACLOCAL=${LOCALBASE}/bin/aclocal ALL_TARGET= # INSTALL_TARGET= install-strip # Enforce linking to bundled libraries instead of system libraries LDFLAGS+= -L${BUILD_WRKSRC}/contrib/lib BINARY_ALIAS= python3=${PYTHON_VERSION} NOPRECIOUSMAKEVARS= yes # for ffmpeg and x264 BUILD_WRKSRC= ${WRKSRC}/build INSTALL_WRKSRC= ${WRKSRC}/build OPTIONS_DEFINE= FDK_AAC VPL X11 OPTIONS_DEFAULT= VPL X11 OPTIONS_EXCLUDE_powerpc= VPL OPTIONS_EXCLUDE_powerpc64= VPL OPTIONS_EXCLUDE_powerpc64le= VPL OPTIONS_SUB= yes FDK_AAC_DESC= Enable non-free Fraunhofer FDK AAC codec VPL_DESC= Intel oneVPL (aka Quick Sync Video) X11_DESC= Build GTK 3 based GUI program FDK_AAC_CONFIGURE_ENABLE= fdk-aac FDK_AAC_VARS= LICENSE+=FDK_AAC LICENSE_COMB=multi VPL_LIB_DEPENDS= libvpl.so:multimedia/onevpl \ libmfx.so:multimedia/intel-media-sdk \ libva-drm.so:multimedia/libva VPL_CONFIGURE_ON= --enable-qsv X11_LIB_DEPENDS= libvpx.so:multimedia/libvpx X11_USES= gettext desktop-file-utils gnome gstreamer X11_USE= gstreamer=gdkpixbuf,libav \ gnome=gtk40,intltool,cairo,gdkpixbuf,libxml2 X11_CONFIGURE_OFF= --disable-gtk X11_CONFIGURE_ENV= COMPILER_PATH=${LOCALBASE}/bin X11_MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin # HandBrake tries to fetch its dependencies during build phase, which is not # considered good in FreeBSD. Instead, we will provide the downloaded files. post-extract: .SILENT ${MKDIR} ${WRKSRC}/download pre-configure: cd ${DISTDIR}/${DIST_SUBDIR} && \ ${INSTALL_DATA} ${CONTRIB_FILES} \ ${WRKSRC}/download # for powerpc64 # picked from multimedia/ffmpeg/files/patch-libswscale_ppc_yuv2rgb__altivec.c ${CP} ${FILESDIR}/P02-freebsd-ppc-libswscale.patch ${WRKSRC}/contrib/ffmpeg post-install-X11-on: ${LN} -sf ghb ${STAGEDIR}${PREFIX}/bin/HandBrake .include diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile index bdf749c1bbe2..7dc636add345 100644 --- a/multimedia/kodi/Makefile +++ b/multimedia/kodi/Makefile @@ -1,310 +1,311 @@ PORTNAME= kodi DISTVERSION= 21.2 +PORTREVISION= 1 CATEGORIES= multimedia java MASTER_SITES= http://mirrors.kodi.tv/build-deps/sources/ DISTFILES= apache-groovy-binary-${GROOVY_VERSION}.zip \ commons-lang3-${COMMONS_LANG_VERSION}-bin.tar.gz \ commons-text-${COMMONS_TEXT_VERSION}-bin.tar.gz DIST_SUBDIR= ${PORTNAME} # do not forget to fix devel/kodi-platform when updating kodi PATCH_SITES= https://github.com/xbmc/xbmc/commit/ PATCHFILES= 269053ebbfd3cc4a3156a511f54ab7f08a09a730.patch:-p1 MAINTAINER= yzrh@noema.org COMMENT= Award winning media center application WWW= https://kodi.tv/ LICENSE= GPLv2+ ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le BUILD_DEPENDS= flatbuffers>0:devel/flatbuffers \ rapidjson>0:devel/rapidjson \ swig>0:devel/swig LIB_DEPENDS= libass.so:multimedia/libass \ libavcodec.so:multimedia/ffmpeg \ libavfilter.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libcdio.so:sysutils/libcdio \ libcrossguid.so:devel/libcrossguid \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfmt.so:devel/libfmt \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libfstrcmp.so:devel/fstrcmp \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblzo2.so:archivers/lzo2 \ libpcre.so:devel/pcre \ libpng.so:graphics/png \ libpostproc.so:multimedia/ffmpeg \ libspdlog.so:devel/spdlog \ libswresample.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libtag.so:audio/taglib \ libtinyxml.so:textproc/tinyxml \ libtinyxml2.so:textproc/tinyxml2 \ libudfread.so:multimedia/libudfread \ libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} USES= autoreconf:build cmake:noninja compiler:c++17-lang cpe \ desktop-file-utils gettext gmake gnome iconv java:build jpeg libtool \ pkgconfig python sqlite ssl KODI_CODENAME= Omega LIBDVDCSS_VERSION= 1.4.3-Next-Nexus-Alpha2-2 LIBDVDNAV_VERSION= 6.1.1-Next-Nexus-Alpha2-2 LIBDVDREAD_VERSION= 6.1.3-Next-Nexus-Alpha2-2 GROOVY_VERSION= 4.0.16 COMMONS_LANG_VERSION= 3.14.0 COMMONS_TEXT_VERSION= 1.11.0 USE_GITHUB= yes GH_TUPLE= xbmc:xbmc:${DISTVERSION}-${KODI_CODENAME} \ xbmc:libdvdcss:${LIBDVDCSS_VERSION}:libdvdcss/tools/depends/target/libdvdcss/native \ xbmc:libdvdnav:${LIBDVDNAV_VERSION}:libdvdnav/tools/depends/target/libdvdnav/native \ xbmc:libdvdread:${LIBDVDREAD_VERSION}:libdvdread/tools/depends/target/libdvdread/native KODI_ARCH_aarch64= aarch64 KODI_ARCH_amd64= x86_64 KODI_ARCH_i386= x86 KODI_ARCH_armv7= armv7 KODI_ARCH_armv6= armv6 KODI_ARCH_powerpc64= powerpc64 KODI_ARCH_powerpc64le= powerpc64le PLIST_SUB= ARCH=${KODI_ARCH_${ARCH}} USE_LDCONFIG= yes USE_GNOME= libxml2 CMAKE_ARGS= -DGIT_VERSION="${DISTVERSION}-${KODI_CODENAME}" \ -DLIBDVDCSS_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdcss-${LIBDVDCSS_VERSION}_GH0.tar.gz" \ -DLIBDVDNAV_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdnav-${LIBDVDNAV_VERSION}_GH0.tar.gz" \ -DLIBDVDREAD_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdread-${LIBDVDREAD_VERSION}_GH0.tar.gz" \ -Dgroovy_SOURCE_DIR="${WRKSRC}/tools/depends/share/groovy" \ -Dapache-commons-lang_SOURCE_DIR="${WRKSRC}/tools/depends/share/java/lang" \ -Dapache-commons-text_SOURCE_DIR="${WRKSRC}/tools/depends/share/java/text" \ -DCROSSGUID_INCLUDE_DIR="${LOCALBASE}/include" \ -DCORE_PLATFORM_NAME:STRING="${KODI_PLATFORM}" \ -DCMAKE_VERBOSE_MAKEFILE=ON CMAKE_OFF= ENABLE_INTERNAL_CROSSGUID CONFIGURE_ENV= _CPU_FEATURE="${CPU_FEATURE}" OPTIONS_SUB= yes OPTIONS_DEFINE= AIRPLAY AVAHI LIBBLURAY CEC DAV1D DBUS \ DVDCSS LCMS2 LIRC WEBSERVER MYSQL NFS DVD SMB TEST \ UDEV UPNP VAAPI VDPAU XSLT DOCS OPTIONS_DEFAULT= LIBBLURAY CEC LCMS2 WEBSERVER DAV1D \ DVD UPNP VAAPI VDPAU XSLT GBM WAYLAND X11 GL OPTIONS_DEFAULT_amd64= SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 OPTIONS_DEFAULT_i386= SSE SSE2 SSE3 OPTIONS_SINGLE= RENDER OPTIONS_SINGLE_RENDER= GL GLES OPTIONS_GROUP= SOUND FEATURE PLATFORM OPTIONS_GROUP_SOUND= ALSA PIPEWIRE PULSEAUDIO SNDIO OPTIONS_GROUP_FEATURE= SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 AVX AVX2 OPTIONS_GROUP_PLATFORM= GBM WAYLAND X11 OPTIONS_EXCLUDE_aarch64=FEATURE OPTIONS_EXCLUDE_armv7= FEATURE OPTIONS_EXCLUDE_armv6= FEATURE OPTIONS_EXCLUDE_powerpc64= FEATURE OPTIONS_EXCLUDE_powerpc64le= FEATURE PLATFORM_DESC= Kodi platform FEATURE_DESC= X86 CPU feature AIRPLAY_DESC= AirPlay support CEC_DESC= CEC adapter support DAV1D_DESC= Use dav1d as AV1 decoder DVD_DESC= DVD support UDEV_DESC= Use libudev-devd XSLT_DESC= Use libxslt RENDER_DESC= Render system GL_DESC= OpenGL GLES_DESC= OpenGL ES GBM_DESC= GBM support SSE2_DESC= Use SSE2 optimized routines SSE3_DESC= Use SSE3 optimized routines SSSE3_DESC= Use SSSE3 optimized routines SSE4_1_DESC= Use SSE4.1 optimized routines SSE4_2_DESC= Use SSE4.2 optimized routines AVX_DESC= Use AVX optimized routines AVX2_DESC= Use AVX2 optimized routines AIRPLAY_LIB_DEPENDS= libplist-2.0.so:devel/libplist \ libshairplay.so:audio/shairplay AIRPLAY_CMAKE_BOOL= ENABLE_PLIST \ ENABLE_AIRTUNES AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CMAKE_BOOL= ENABLE_AVAHI LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CMAKE_BOOL= ENABLE_BLURAY CEC_LIB_DEPENDS= libcec.so:multimedia/libcec CEC_CMAKE_BOOL= ENABLE_CEC DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CMAKE_BOOL= ENABLE_DAV1D DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_BOOL= ENABLE_DBUS DVDCSS_CMAKE_BOOL= ENABLE_DVDCSS LCMS2_LIB_DEPENDS= liblcms2.so.2:graphics/lcms2 LCMS2_CMAKE_BOOL= ENABLE_LCMS2 LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CMAKE_BOOL= ENABLE_LIRCCLIENT WEBSERVER_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd WEBSERVER_CMAKE_BOOL= ENABLE_MICROHTTPD NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CMAKE_BOOL= ENABLE_NFS DVD_CMAKE_BOOL= ENABLE_OPTICAL SMB_USES= samba:lib SMB_CMAKE_BOOL= ENABLE_SMBCLIENT TEST_LIB_DEPENDS= libgtest.so:devel/googletest TEST_CMAKE_BOOL= ENABLE_TESTING UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_CMAKE_BOOL= ENABLE_UDEV UPNP_CMAKE_BOOL= ENABLE_UPNP VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CMAKE_BOOL= ENABLE_VAAPI VDPAU_IMPLIES= X11 GL VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CMAKE_BOOL= ENABLE_VDPAU XSLT_LIB_DEPENDS= libxslt.so:textproc/libxslt XSLT_CMAKE_BOOL= ENABLE_XSLT GL_CMAKE_ON= -DAPP_RENDER_SYSTEM:STRING="gl" GL_USES= gl GL_USE= GL=gl GLES_CMAKE_ON= -DAPP_RENDER_SYSTEM:STRING="gles" GLES_USES= gl GLES_USE= GL=glesv2 MYSQL_USES= mysql MYSQL_CMAKE_BOOL= ENABLE_MYSQLCLIENT ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= ENABLE_ALSA PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= ENABLE_PIPEWIRE PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= ENABLE_PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= ENABLE_SNDIO SSE_VARS= CPU_FEATURE+=SSE SSE2_VARS= CPU_FEATURE+=SSE2 SSE3_VARS= CPU_FEATURE+=SSE3 SSSE3_VARS= CPU_FEATURE+=SSSE3 SSE4_1_VARS= CPU_FEATURE+=SSE4.1 SSE4_2_VARS= CPU_FEATURE+=SSE4.2 AVX_VARS= CPU_FEATURE+=AVX AVX2_VARS= CPU_FEATURE+=AVX2 GBM_IMPLIES= UDEV GBM_VARS= KODI_PLATFORM+=gbm GBM_USES= gl GBM_USE= GL=egl,gbm,glu GBM_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto GBM_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libdrm.so:graphics/libdrm \ libxkbcommon.so:x11/libxkbcommon \ libinput.so:x11/libinput \ libdisplay-info.so:sysutils/libdisplay-info GBM_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri WAYLAND_VARS= KODI_PLATFORM+=wayland WAYLAND_CATEGORIES= wayland WAYLAND_USES= gl WAYLAND_USE= GL=egl,glu WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libdrm.so:graphics/libdrm \ libxkbcommon.so:x11/libxkbcommon \ libinput.so:x11/libinput \ libwayland-client++.so:graphics/waylandpp X11_VARS= KODI_PLATFORM+=x11 X11_USES= xorg gl X11_USE= XORG=x11,xext,xrandr GL=egl,gbm,glu X11_LIB_DEPENDS= libdrm.so:graphics/libdrm .include .if (!empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) || !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MX11) || !empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11)) && !empty(PORT_OPTIONS:MGLES) BROKEN= option GLES does not build with multiple PLATFORM .endif .if !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) || !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MX11) || !empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11) PLIST_SUB+= KODICOMBINED="" \ KODIGBM="@comment " \ KODIWAYLAND="@comment " \ KODIX11="@comment " .else PLIST_SUB+= KODICOMBINED="@comment " .if !empty(PORT_OPTIONS:MGBM) PLIST_SUB+= KODIGBM="" .else PLIST_SUB+= KODIGBM="@comment " .endif .if !empty(PORT_OPTIONS:MWAYLAND) PLIST_SUB+= KODIWAYLAND="" .else PLIST_SUB+= KODIWAYLAND="@comment " .endif .if !empty(PORT_OPTIONS:MX11) PLIST_SUB+= KODIX11="" .else PLIST_SUB+= KODIX11="@comment " .endif .endif post-extract: @${MKDIR} ${WRKSRC}/tools/depends/share @${MV} ${WRKDIR}/groovy-${GROOVY_VERSION} ${WRKSRC}/tools/depends/share/groovy @${MKDIR} ${WRKSRC}/tools/depends/share/java @${MV} ${WRKDIR}/commons-lang3-${COMMONS_LANG_VERSION} ${WRKSRC}/tools/depends/share/java/lang @${MV} ${WRKDIR}/commons-text-${COMMONS_TEXT_VERSION} ${WRKSRC}/tools/depends/share/java/text post-patch: ${REINPLACE_CMD} 's|/usr/share|${LOCALBASE}/share|' \ ${WRKSRC}/xbmc/platform/linux/input/LibInputSettings.cpp post-install: ${INSTALL_MAN} ${WRKSRC}/docs/manpages/kodi.bin.1 ${STAGEDIR}${PREFIX}/share/man/man1 cd ${STAGEDIR}${PREFIX}/share/man/man1 && ${LN} -s kodi.bin.1.gz kodi.1.gz cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} kodi-TexturePacker TexturePacker ${FIND} ${STAGEDIR}${PREFIX}/lib/kodi -type f -name '*.so' -print0 | ${XARGS} -0 ${STRIP_CMD} ${RM} -r ${STAGEDIR}${PREFIX}/lib/firewalld .include diff --git a/multimedia/libbluray/Makefile b/multimedia/libbluray/Makefile index 7c233f4d13d3..d6aa5b348c4d 100644 --- a/multimedia/libbluray/Makefile +++ b/multimedia/libbluray/Makefile @@ -1,46 +1,47 @@ PORTNAME= libbluray DISTVERSION= 1.3.4 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= multimedia MASTER_SITES= https://get.videolan.org/${PORTNAME}/${DISTVERSION}/ \ https://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ MAINTAINER= se@FreeBSD.org COMMENT= Blu-Ray discs playback library for media players WWW= https://www.videolan.org/developers/libbluray.html LICENSE= LGPL21 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= cpe gnome libtool pathfix pkgconfig tar:bzip2 CPE_VENDOR= videolan USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-doxygen-doc --disable-optimizations --disable-static CONFIGURE_ENV= PACKAGES="" # Bug #226009 INSTALL_TARGET= install-strip OPTIONS_DEFINE= JAVA OPTIONS_SUB= yes JAVA_DESC= Enable Blu-Ray Java support JAVA_CATEGORIES= java JAVA_BUILD_DEPENDS= ant:devel/apache-ant JAVA_USES= java:build JAVA_CONFIGURE_ENABLE= bdjava-jar JAVA_CONFIGURE_WITH= java9 JAVA_MAKE_ENV= JAVA_HOME=${JAVA_HOME} \ PATH=${JAVA_HOME}/bin:${PATH} JAVA_VARS= JAVA_VERSION=8 pre-build: @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' ${WRKSRC}/src/libbluray/bdj/bdj.c .include diff --git a/multimedia/mlt7/Makefile b/multimedia/mlt7/Makefile index 26ac9baca304..51c2367a1ae2 100644 --- a/multimedia/mlt7/Makefile +++ b/multimedia/mlt7/Makefile @@ -1,170 +1,170 @@ PORTNAME= ${_MLT_PORTNAME} DISTVERSION= ${_MLT_VERSION} -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= multimedia MASTER_SITES= https://github.com/mltframework/mlt/releases/download/v${DISTVERSION}/ DISTFILES= mlt-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= kde@FreeBSD.org COMMENT?= Multimedia framework for TV broadcasting WWW= https://www.mltframework.org/ LICENSE?= GPLv2 GPLv3 LGPL21 LICENSE_COMB?= multi USES+= alias cmake compiler:c++11-lang eigen:3 localbase \ pathfix pkgconfig USE_LDCONFIG= yes # Suppress errors with lld >= 17 due to undefined symbols. LDFLAGS+= -Wl,--undefined-version DATADIR= ${PREFIX}/share/mlt-7 WRKSRC= ${WRKDIR}/mlt-${DISTVERSION} .ifndef(SLAVEPORT) # Master port. USES+= gnome mlt:7,nodepend USE_GNOME= libxml2 CMAKE_ON= MOD_XML # Explicitly disabled modules that are ouddated, unnecessary, or have # their own port. CMAKE_OFF= MOD_GLAXNIMATE MOD_GLAXNIMATE_QT6 MOD_SDL1 MOD_QT \ MOD_QT6 MOD_NDI \ SWIG_CSHARP SWIG_JAVA SWIG_LUA SWIG_NODEJS SWIG_PERL \ SWIG_PHP SWIG_PYTHON SWIG_RUBY SWIG_TCL PORTDOCS= AUTHORS NEWS PORTEXAMPLES= demo OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT= AVFORMAT FREI0R GDK MOVIT KDENLIVE NORMALIZE PLUS PLUSGPL RESAMPLE SDL2 SOX \ VIDSTAB VORBIS OPTIONS_GROUP= MODULES OPTIONS_GROUP_MODULES= AVFORMAT DECKLINK FREI0R GDK JACKRACK KDENLIVE MOVIT NORMALIZE \ OLDFILM OPENCV PLUS PLUSGPL RESAMPLE RTAUDIO RUBBERBAND SDL2 \ SOX VIDSTAB VORBIS XINE OPTIONS_SUB= yes AVFORMAT_DESC= Enable avformat module AVFORMAT_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg AVFORMAT_CMAKE_BOOL= MOD_AVFORMAT DECKLINK_DESC= Enable decklink module DECKLINK_CMAKE_BOOL= MOD_DECKLINK FREI0R_DESC= Enable frei0r module FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CMAKE_BOOL= MOD_FREI0R GDK_DESC= Enable gdk module GDK_LIB_DEPENDS= libexif.so:graphics/libexif \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz GDK_USE= gnome=gdkpixbuf,pango GDK_CMAKE_BOOL= MOD_GDK JACKRACK_DESC= Enable jackrack module JACKRACK_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa JACKRACK_LIB_DEPENDS= libjack.so:audio/jack \ liblilv-0.so:audio/lilv JACKRACK_USE= gnome=glib20 JACKRACK_CMAKE_BOOL= MOD_JACKRACK KDENLIVE_DESC= Enable kdenlive module KDENLIVE_CMAKE_BOOL= MOD_KDENLIVE MOVIT_DESC= Enable Movit module MOVIT_USES= gl xorg MOVIT_USE= gl=opengl xorg=x11 MOVIT_LIB_DEPENDS= libmovit.so:graphics/movit \ libepoxy.so:graphics/libepoxy MOVIT_CMAKE_BOOL= MOD_MOVIT NORMALIZE_DESC= Enable normalize module NORMALIZE_CMAKE_BOOL= MOD_NORMALIZE OLDFILM_DESC= Enable oldfilm module OLDFILM_CMAKE_BOOL= MOD_OLDFILM OPENCV_DESC= Enable OpenCV module OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv OPENCV_CMAKE_BOOL= MOD_OPENCV PLUSGPL_DESC= Enable plus GPL module PLUSGPL_CMAKE_BOOL= MOD_PLUSGPL PLUS_DESC= Enable plus module PLUS_USES= ebur128 PLUS_LIB_DEPENDS= libfftw3.so:math/fftw3 PLUS_CMAKE_BOOL= MOD_PLUS RESAMPLE_DESC= Enable resample module RESAMPLE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate RESAMPLE_CMAKE_BOOL= MOD_RESAMPLE RTAUDIO_DESC= Enable RtAudio module RTAUDIO_LIB_DEPENDS= librtaudio.so:audio/rtaudio RTAUDIO_CMAKE_BOOL= MOD_RTAUDIO RUBBERBAND_DESC= Enable rubberband module RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_CMAKE_BOOL= MOD_RUBBERBAND SDL2_DESC= Enable SDL2 module SDL2_USES= sdl SDL2_USE= sdl=sdl2 SDL2_CMAKE_BOOL= MOD_SDL2 SOX_DESC= Enable SoX module SOX_LIB_DEPENDS= libsox.so:audio/sox SOX_CMAKE_BOOL= MOD_SOX VIDSTAB_DESC= Enable vid.stab module VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CMAKE_BOOL= MOD_VIDSTAB VORBIS_DESC= Enable Vorbis module VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CMAKE_BOOL= MOD_VORBIS XINE_DESC= Enable xine module XINE_CMAKE_BOOL= MOD_XINE pre-configure: ${RM} ${STAGEDIR}${PREFIX}/man/man1/melt.1 common-post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/melt-7 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt-7.so.${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt++-7.so.${PORTVERSION} post-install-DOCS-on: .for f in ${PORTDOCS} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR} .endfor post-install-EXAMPLES-on: .for f in ${PORTEXAMPLES} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .else # Slave port. PORTSCOUT= ignore:1 # Depend on multimedia/mlt7 for child ports USES+= mlt:7 PLIST?= ${.CURDIR}/pkg-plist INSTALL_WRKSRC?= ${BUILD_WRKSRC} .endif post-install: common-post-install ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/* 2>/dev/null || ${TRUE} @${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/${PORTNAME} 2>/dev/null || ${TRUE} .include diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile index 4b362cf4b84c..67a08a4d98fa 100644 --- a/multimedia/mythtv/Makefile +++ b/multimedia/mythtv/Makefile @@ -1,250 +1,250 @@ PORTNAME= mythtv DISTVERSIONPREFIX= v DISTVERSION= 34.0 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= multimedia MAINTAINER= ahicks@p-o.co.uk COMMENT= Homebrew PVR project WWW= https://www.mythtv.org/ LICENSE= GPLv2+ ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le .if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld BROKEN_i386= ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment .endif LIB_DEPENDS= liblzo2.so:archivers/lzo2 \ libmp3lame.so:audio/lame \ libsamplerate.so:audio/libsamplerate \ libtag.so:audio/taglib \ libexiv2.so:graphics/exiv2 \ libva.so:multimedia/libva \ libbluray.so:multimedia/libbluray \ libass.so:multimedia/libass \ libfftw3_threads.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libfreetype.so:print/freetype2 \ libdav1d.so:multimedia/dav1d \ libaom.so:multimedia/aom \ libdrm.so:graphics/libdrm \ libpulse.so:audio/pulseaudio \ libjack.so:audio/jack \ libSoundTouch.so:audio/soundtouch \ libasound.so:audio/alsa-lib \ libsndio.so:audio/sndio \ libgnutls.so:security/gnutls \ libzip.so:archivers/libzip \ libexpat.so:textproc/expat2 BUILD_DEPENDS= yasm:devel/yasm \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES= compiler:c++17-lang gmake gl gnome iconv libtool pkgconfig pathfix \ perl5 python qmake:no_env qt:5 shebangfix ssl xorg USE_GITHUB= yes GH_ACCOUNT= MythTV USE_GL= gl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_QT= buildtools:build core dbus gui imageformats:run \ linguist:build multimedia network opengl qmake:build script \ sql sql-mysql:run widgets xml USE_PERL5= run build USE_XORG= x11 xv xrandr xxf86vm xinerama xext xcb SHEBANG_FILES= programs/scripts/database/*.pl \ programs/scripts/metadata/Music/mbutils.py HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}" --cxx="${CXX}" \ --libxml2-path="${LOCALBASE}/include/libxml2" \ --disable-audio-alsa \ --disable-qtwebkit CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" MOC="${MOC}" \ QTDIR="${PREFIX}" PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig" MAKE_ENV= QTDIR="${PREFIX}" \ QMAKESPEC="${QMAKESPEC}" NOPRECIOUSMAKEVARS= # don't override ARCH in ffmpeg makefiles DESTDIRNAME= INSTALL_ROOT CFLAGS_powerpc= -Wno-error=int-conversion CPPFLAGS+= ${QTCPPFLAGS} LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS_aarch64=-Wl,-z,notext REINPLACE_ARGS= -i "" WRKSRC_SUBDIR= ${PORTNAME} DESKTOP_ENTRIES="MythTV Frontend" "MythTV is a homebrew PVR project" "" \ "mythfrontend" "AudioVideo;Video;" false CONFLICTS_INSTALL= mythtv-frontend RUN_DEPENDS+= tv_check:textproc/p5-xmltv \ wget:ftp/wget USE_RC_SUBR= mythbackend SHEBANG_FILES= programs/scripts/database/*.pl \ programs/scripts/internetcontent/*.py \ programs/scripts/internetcontent/*.pl \ programs/scripts/internetcontent/nv_python_libs/*.py \ programs/scripts/hardwareprofile/*.py \ programs/scripts/metadata/Movie/tmdb3.py \ programs/scripts/metadata/Music/mbutils.py CONFIGURE_ARGS+=--dvb-path="${WRKSRC}/media_tree/include/uapi" \ --enable-v4l2 USERS= mythtv GROUPS= mythtv SUB_FILES= pkg-message OPTIONS_DEFINE= BINDINGS HDHOMERUN JACK LIRC MYSQL PULSEAUDIO VDPAU OPTIONS_DEFAULT= BINDINGS HDHOMERUN VDPAU OPTIONS_SUB= yes BINDINGS_DESC= Perl and Python bindings BINDINGS_BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>=0:devel/py-simplejson@${PY_FLAVOR} \ p5-DBI>=0:databases/p5-DBI \ ${DBD_MYSQL} \ p5-Net-UPnP>=0:multimedia/p5-Net-UPnP \ p5-IO-Socket-INET6>=2.51:net/p5-IO-Socket-INET6 \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ p5-HTTP-Request-Params>=0:www/p5-HTTP-Request-Params \ p5-LWP-UserAgent-Determined>=0:www/p5-LWP-UserAgent-Determined BINDINGS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.2.2:databases/py-mysqlclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-cache>0:www/py-requests-cache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>=3:devel/py-simplejson@${PY_FLAVOR} \ p5-DBI>=0:databases/p5-DBI \ ${DBD_MYSQL} \ p5-Net-UPnP>=0:multimedia/p5-Net-UPnP \ p5-IO-Socket-INET6>=2.51:net/p5-IO-Socket-INET6 \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ p5-HTTP-Request-Params>=0:www/p5-HTTP-Request-Params \ p5-LWP-UserAgent-Determined>=0:www/p5-LWP-UserAgent-Determined BINDINGS_CONFIGURE_ON= --python="${PYTHON_CMD}" --with-bindings=perl,python BINDINGS_CONFIGURE_OFF= --without-bindings=perl,python BINDINGS_USES= mysql HDHOMERUN_DESC= Native support for HDHomeRun network tuners HDHOMERUN_LIB_DEPENDS= libhdhomerun.so:multimedia/libhdhomerun HDHOMERUN_CONFIGURE_OFF= --disable-hdhomerun JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-audio-jack LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_OFF= --disable-lirc MYSQL_DESC= Install MySQL server in addition to client MYSQL_USES= mysql:client,server MYSQL_USES_OFF= mysql PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-audio-pulseoutput VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_OFF= --disable-vdpau LINUXDVB= ${WRKSRC}/media_tree/include/uapi/linux/dvb post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/configure \ ${WRKSRC}/libs/libmythtv/libmythtv.pro \ ${WRKSRC}/bindings/perl/MythTV/Recording.pm \ ${WRKSRC}/programs/mythtranscode/external/replex/Makefile.standalone \ ${WRKSRC}/programs/scripts/database/mythconverg_backup.pl \ ${WRKSRC}/programs/scripts/database/mythconverg_restore.pl \ ${WRKSRC}/programs/mythcommflag/mythcommflag-analyze # Header file from: # https://git.linuxtv.org/media_tree.git/tree/include/uapi/linux/dvb @${MKDIR} ${LINUXDVB} @${CP} ${FILESDIR}/audio.h ${LINUXDVB} @${CP} ${FILESDIR}/ca.h ${LINUXDVB} @${CP} ${FILESDIR}/dmx.h ${LINUXDVB} @${CP} ${FILESDIR}/frontend.h ${LINUXDVB} @${CP} ${FILESDIR}/net.h ${LINUXDVB} @${CP} ${FILESDIR}/osd.h ${LINUXDVB} @${CP} ${FILESDIR}/version.h ${LINUXDVB} @${CP} ${FILESDIR}/video.h ${LINUXDVB} # Linux to BSD from multimedia/libv4l/Makefile @${FIND} ${LINUXDVB} -type f -name "*.h" | \ ${XARGS} -n 1 ${REINPLACE_CMD} \ -e 's|#include |#include |'\ -e 's|__inline__|inline|g' \ -e 's|__u8|uint8_t|g' \ -e 's|__s8|int8_t|g' \ -e 's|__le16|uint16_t|g' \ -e 's|__be16|uint16_t|g' \ -e 's|__u16|uint16_t|g' \ -e 's|__s16|int16_t|g' \ -e 's|__le32|uint32_t|g' \ -e 's|__be32|uint32_t|g' \ -e 's|__u32|uint32_t|g' \ -e 's|__s32|int32_t|g' \ -e 's|__le64|uint64_t|g' \ -e 's|__be64|uint64_t|g' \ -e 's|__u64|uint64_t|g' \ -e 's|__s64|int64_t|g' \ -e 's|uint16_t_to_cpu|letoh16|g' \ -e 's|uint32_t_to_cpu|letoh32|g' \ -e 's|uint64_t_to_cpu|letoh64|g' \ -e 's|error_t|int|g' \ -e 's|"gettext.h"||g' \ -e 's|MSG_MORE|0|g' \ -e 's|EBADR|EFAULT|g' \ -e 's|ENONET|EHOSTDOWN|g' \ -e 's|_IOC_READ|IOC_OUT|g' \ -e 's|_IOC_WRITE|IOC_IN|g' \ -e 's|_IOC_NONE|IOC_VOID|g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e '/^.*\.*/d' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|g' \ -e 's|__user||g' \ ${LINUXDVB}/frontend.h pre-install: @${REINPLACE_CMD} -e '/^CPPFLAGS=/ s#$$# -I${LOCALBASE}/include#' \ ${WRKSRC}/libs/libmythbase/mythconfig.mak post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/mythtv/database ${INSTALL_DATA} ${WRKSRC}/database/mc.sql ${STAGEDIR}${PREFIX}/share/mythtv/database @${FIND} ${STAGEDIR}${PREFIX}/bin -type f -exec ${SH} -c "${FILE} -i '{}' | \ ${GREP} -q 'x-executable; charset=binary'" \; -print | ${XARGS} ${STRIP_CMD} @${FIND} ${STAGEDIR}${PREFIX}/lib -type f -name lib\*.so.\* | ${XARGS} ${STRIP_CMD} # Apply additional substitutions to pkg-plist generated by the 'makeplist' target create-plist: stage @(cd ${.CURDIR} && ${MAKE} makeplist > pkg-plist && \ ${REINPLACE_CMD} -E \ -e '1d' -e '/etc\/rc.d\/mythbackend/d' -e '/[.]packlist$$/d' \ -e '/[.]bak$$/d' \ -e '/[.]gitignore$$/d' \ -e 's#^bin/mythpython#%%BINDINGS%%bin/mythpython#' \ -e 's#^bin/mythwikiscripts#%%BINDINGS%%bin/mythwikiscripts#' \ -e 's#^%%PYTHON_SITELIBDIR%%#%%BINDINGS%%%%PYTHON_SITELIBDIR%%#' \ -e 's#^%%DATADIR%%hardwareprofile#%%BINDINGS%%hardwareprofile#' \ -e 's#^%%DATADIR%%internetcontent#%%BINDINGS%%internetcontent#' \ -e 's#^%%SITE_PERL%%#%%BINDINGS%%%%SITE_PERL%%#' \ pkg-plist) .include diff --git a/multimedia/totem-pl-parser/Makefile b/multimedia/totem-pl-parser/Makefile index 29cf4d37a531..8ca1e267db71 100644 --- a/multimedia/totem-pl-parser/Makefile +++ b/multimedia/totem-pl-parser/Makefile @@ -1,21 +1,21 @@ PORTNAME= totem-pl-parser PORTVERSION= 3.26.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= GObject-based library to parse a host of playlist formats LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libgpg-error.so:security/libgpg-error \ libgcrypt.so:security/libgcrypt USES= gettext gnome libarchive localbase:ldflags meson pkgconfig tar:xz USE_GNOME= glib20 introspection:build libxml2 USE_LDCONFIG= yes .include diff --git a/multimedia/vcdimager/Makefile b/multimedia/vcdimager/Makefile index d84a40e09447..af00735014ca 100644 --- a/multimedia/vcdimager/Makefile +++ b/multimedia/vcdimager/Makefile @@ -1,27 +1,27 @@ PORTNAME= vcdimager DISTVERSION= 2.0.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= multimedia MASTER_SITES= GNU MAINTAINER= multimedia@FreeBSD.org COMMENT= GNU VCDImager/VCDRip -- The GNU VideoCD Image Maker/Ripping Tool WWW= https://www.gnu.org/software/vcdimager/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpopt.so:devel/popt \ libcdio.so:sysutils/libcdio USES= gmake gnome libtool localbase makeinfo pathfix pkgconfig USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check INFO= vcdimager vcdxrip vcd-info .include diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index e4cdb487a0f6..ab13839863c3 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -1,404 +1,404 @@ PORTNAME= vlc DISTVERSION= 3.0.21 -PORTREVISION= 17 +PORTREVISION= 18 PORTEPOCH= 4 CATEGORIES= multimedia audio net www MASTER_SITES= https://get.videolan.org/${PORTNAME}/${DISTVERSION:S/a$//}/ \ https://mirror.init7.net/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \ http://mirror.clarkson.edu/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \ http://ftp.kaist.ac.kr/vlc/${PORTNAME}/${DISTVERSION:S/a$//}/ \ http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Qt based multimedia player and streaming server WWW= https://www.videolan.org LICENSE= GPLv2 BUILD_DEPENDS= gsed:textproc/gsed \ ffmpeg>=3.4.1,1:multimedia/ffmpeg \ yasm:devel/yasm LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libdvbpsi.so:multimedia/libdvbpsi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libidn.so:dns/libidn \ libmatroska.so:multimedia/libmatroska \ libgpg-error.so:security/libgpg-error \ libebml.so:textproc/libebml RUN_DEPENDS= ffmpeg>=3.4.1,1:multimedia/ffmpeg USES= compiler:c++17-lang cpe desktop-file-utils elfctl gettext-tools \ gl gmake gnome iconv:wchar_t libtool localbase pathfix pkgconfig \ tar:xz USE_GL= opengl CPE_VENDOR= videolan USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-avcodec --enable-avformat --enable-dvbpsi \ --enable-fontconfig --enable-freetype --enable-libgcrypt \ --enable-libxml2 --enable-oss --enable-postproc \ --enable-swscale --enable-vlc \ --disable-alsa --disable-aribb25 \ --disable-chromaprint --disable-crystalhd --disable-dc1394 \ --disable-decklink --disable-dsm --disable-dv1394 \ --disable-fdkaac --disable-gst-decode --disable-gles2 \ --disable-kai --disable-kate --disable-kva --disable-libcddb \ --disable-mpc --disable-mpg123 --disable-vnc --disable-opencv \ --disable-projectm --disable-schroedinger --disable-secret \ --disable-sid --disable-soxr --disable-telx --disable-tiger \ --disable-tremor --disable-udev --disable-update-check \ --disable-vsxu --disable-wasapi --disable-x26410b \ --with-kde-solid=${PREFIX}/share/solid/actions \ ac_cv_search_pthread_rwlock_init=-pthread \ BUILDCC="${CC}" .if defined(WITH_DEBUG) CONFIGURE_ARGS+=--enable-debug .endif INSTALL_TARGET= install-strip CFLAGS+= -Wno-unreachable-code-generic-assoc CFLAGS_i386= -fomit-frame-pointer ELF_FEATURES= +noaslr:bin/.libs/vlc # See PR 270038 BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= A52 AALIB AOM ARIBSUB ASS AVAHI CACA CHROMECAST DAV1D DBUS DCA \ DEBUG DOCS DVDNAV DVDREAD DEBUG FAAD FLAC FLUID FREERDP FRIBIDI \ GME GNUTLS GOOM HARFBUZZ JACK JPEG LIBBLURAY LIBPLACEBO LIBRSVG2 \ LIBSSH2 LIRC LIVEMEDIA LUA MAD MFX MODPLUG MPEG2 MTP \ NCURSES NFS NLS NOTIFY OGGSPOTS OGG OPTIMIZED_CFLAGS OPUS PNG \ PULSEAUDIO QT5 REALRTSP RUNROOT SAMPLERATE SDL SHOUTCAST \ SKINS SMB SNDIO SPEEX SRT STREAM TAGLIB THEORA TWOLAME UPNP V4L \ VAAPI VCD VDPAU VORBIS VPX WAYLAND X11 X264 X265 ZVBI OPTIONS_DEFINE_powerpc= ALTIVEC OPTIONS_DEFINE_powerpc64= ALTIVEC OPTIONS_DEFAULT=ASS AVAHI CHROMECAST DAV1D DBUS DVDNAV DVDREAD GNUTLS HARFBUZZ \ JPEG LIVEMEDIA LUA OGG OPTIMIZED_CFLAGS OPUS PNG QT5 SAMPLERATE \ SKINS SPEEX STREAM TAGLIB THEORA TWOLAME UPNP V4L VAAPI VCD \ VDPAU VORBIS WAYLAND X11 OPTIONS_DEFAULT_powerpc= ALTIVEC OPTIONS_DEFAULT_powerpc64= ALTIVEC OPTIONS_EXCLUDE= LIBPLACEBO # https://code.videolan.org/videolan/vlc/-/commit/8e22c39ea3c3 OPTIONS_EXCLUDE+= VAAPI # Not compatible until VLC 4 OPTIONS_SUB= yes AOM_DESC= AV1 video encoding/decoding via libaom ARIBSUB_DESC= ARIB text decoding via libaribb24 ASS_DESC= ASS/SSA subtitle rendering CHROMECAST_DESC= Streaming to Chromecast devices DAV1D_DESC= AV1 video decoding via libdav1d DVDNAV_DESC= DVD menu navigation DVDREAD_DESC= DVD Playback support FLUID_DESC= Fluidsynth MIDI support FREERDP_DESC= RDP support GME_DESC= Game Music Emu (libgme) support GOOM_DESC= Goom visualisation plugin HARFBUZZ_DESC= OpenType text shaping engine LIBPLACEBO_DESC= HDR tonemapping support through libplacebo LIBSSH2_DESC= SCP/SFTP support via libssh2 MFX_DESC= Intel MediaSDK (aka Quick Sync Video) OGGSPOTS_DESC= Experimental OggSpots codec REALRTSP_DESC= Real RTSP access module RUNROOT_DESC= Enable running as root SKINS_DESC= Build skins2 interface module (implies QT5) SRT_DESC= Secure Reliable Transport support STREAM_DESC= stream output TAGLIB_DESC= ID3 tag and Ogg comment support VCD_DESC= Audio/Video CD support ZVBI_DESC= VBI decoding support A52_LIB_DEPENDS= liba52.so:audio/liba52 A52_CONFIGURE_ON= --with-a52=${LOCALBASE} A52_CONFIGURE_ENABLE= a52 AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_ENABLE= aa ALTIVEC_CONFIGURE_ENABLE= altivec ALTIVEC_CFLAGS= -maltivec AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_ENABLE= aom ARIBSUB_LIB_DEPENDS= libaribb24.so:multimedia/aribb24 ARIBSUB_CONFIGURE_ENABLE= aribsub ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_ENABLE= libass AVAHI_LIB_DEPENDS= libavahi-common.so:net/avahi-app AVAHI_CONFIGURE_ENABLE= avahi CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= caca CHROMECAST_LIB_DEPENDS= libabsl_base.so:devel/abseil \ libprotobuf-lite.so:devel/protobuf CHROMECAST_USE= cxxstd=c++17 CHROMECAST_CONFIGURE_ENABLE= chromecast DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_ENABLE= dav1d DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_ENABLE= dbus DCA_LIB_DEPENDS= libdca.so:multimedia/libdca DCA_CONFIGURE_ENABLE= dca DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav DVDNAV_CONFIGURE_ENABLE= dvdnav DVDREAD_LIB_DEPENDS= libdvdread.so:multimedia/libdvdread DVDREAD_CONFIGURE_ENABLE= dvdread FAAD_LIB_DEPENDS= libfaad.so:audio/faad FAAD_CONFIGURE_ENABLE= faad FAAD_CONFIGURE_ENV= CPPFLAGS_faad="-I${LOCALBASE}/include" \ LIBS_faad="-L${LOCALBASE}/lib" FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_ENABLE= flac FLUID_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUID_CONFIGURE_ENABLE= fluidsynth FREERDP_LIB_DEPENDS= libfreerdp2.so:net/freerdp FREERDP_CONFIGURE_ENABLE= freerdp FREERDP_CONFIGURE_ENV= FREERDP_CFLAGS="-I${LOCALBASE}/include/freerdp2 \ -I${LOCALBASE}/include/winpr2" \ FREERDP_LIBS="-L${LOCALBASE}/lib" FREERDP_CFLAGS= -Wno-error=incompatible-function-pointer-types FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= fribidi GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CONFIGURE_ENABLE= gme GME_CONFIGURE_ENV= LIBS_gme="-L${LOCALBASE}/lib -lgme" GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE=gnutls GOOM_LIB_DEPENDS= libgoom2.so:graphics/goom GOOM_CONFIGURE_ENABLE= goom HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_ENABLE= harfbuzz JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpeg LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= bluray LIBPLACEBO_LIB_DEPENDS= libplacebo.so:graphics/libplacebo LIBPLACEBO_CONFIGURE_ENABLE= libplacebo LIBRSVG2_USE= GNOME=librsvg2,cairo LIBRSVG2_CONFIGURE_ENABLE= svg svgdec LIBSSH2_LIB_DEPENDS= libssh2.so:security/libssh2 LIBSSH2_CONFIGURE_ENABLE= sftp LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_ENABLE= lirc LIRC_CONFIGURE_ENV= LIBS_lirc="-L${LOCALBASE}/lib -llirc_client" LIVEMEDIA_LIB_DEPENDS= libliveMedia.so:net/liveMedia LIVEMEDIA_USES= ssl LIVEMEDIA_CONFIGURE_ENABLE= live555 LIVEMEDIA_CONFIGURE_ENV= \ LIVE555_CFLAGS="-I${LOCALBASE}/include/liveMedia \ -I${LOCALBASE}/include/UsageEnvironment \ -I${LOCALBASE}/include/groupsock \ -I${LOCALBASE}/include/BasicUsageEnvironment" \ LIVE555_LIBS="-L${LOCALBASE}/lib -lliveMedia \ -lgroupsock -lBasicUsageEnvironment \ -lUsageEnvironment \ -L${OPENSSLLIB} -lssl -lcrypto" LUA_USES= lua LUA_CONFIGURE_ON= LUAC=${LUAC_CMD} LUA_CFLAGS="-I${LUA_INCDIR}" \ LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" LUA_CONFIGURE_ENABLE= lua MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CONFIGURE_ON= --with-mad=${LOCALBASE} MAD_CONFIGURE_ENABLE= mad MFX_LIB_DEPENDS= libmfx.so:multimedia/intel-media-sdk MFX_CONFIGURE_ENABLE= mfx MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_ENABLE= mod MPEG2_LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2 MPEG2_CONFIGURE_ENABLE= libmpeg2 MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp MTP_CONFIGURE_ENABLE= mtp NCURSES_USES= ncurses NCURSES_CONFIGURE_ENABLE= ncurses NCURSES_CONFIGURE_ENV= NCURSES_CFLAGS="-I${NCURSESINC}" \ NCURSES_LIBS="-L${NCURSESLIB} -lncursesw" NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CONFIGURE_ENABLE= nfs NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_USE= GNOME=gtk30,cairo NOTIFY_CONFIGURE_ENABLE= notify OGGSPOTS_IMPLIES= OGG OGGSPOTS_CONFIGURE_ENABLE= oggspots OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CONFIGURE_ENABLE= ogg OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_ENABLE= opus PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_ENABLE= png PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse QT5_IMPLIES= X11 QT5_USES= qt:5 QT5_USE= QT=gui,core,svg,widgets,x11extras,buildtools:build QT5_CONFIGURE_ENABLE= qt REALRTSP_CONFIGURE_ENABLE= realrtsp RUNROOT_CONFIGURE_ENABLE= run-as-root SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CONFIGURE_ENABLE= samplerate SDL_USES= sdl SDL_USE= SDL=image SDL_CONFIGURE_ENABLE= sdl-image SHOUTCAST_LIB_DEPENDS= libshout.so:audio/libshout SHOUTCAST_CONFIGURE_ENABLE= shout SKINS_IMPLIES= QT5 SKINS_USES= libarchive xorg SKINS_USE= XORG=xext,xinerama,xpm SKINS_CONFIGURE_ENABLE= archive skins2 SMB_USES= samba:lib SMB_CONFIGURE_ENABLE= smbclient SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp SPEEX_CONFIGURE_ENABLE= speex SRT_LIB_DEPENDS= libsrt.so:www/srt SRT_CONFIGURE_ENABLE= srt STREAM_CONFIGURE_ENABLE= sout TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib TAGLIB_CONFIGURE_ENABLE= taglib THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= theora TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CONFIGURE_ENABLE= twolame UPNP_LIB_DEPENDS= libupnp.so:devel/upnp UPNP_CONFIGURE_ENABLE= upnp V4L_BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= v4l2 VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= libva VCD_CONFIGURE_ENABLE= vcd VDPAU_IMPLIES= X11 VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE= vorbis VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= vpx WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland X11_LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms X11_USES= xorg X11_USE= XORG=xcb,xorgproto,sm,ice,x11 X11_CONFIGURE_ENABLE= xcb xvideo X11_CONFIGURE_WITH= x X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= x264 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CONFIGURE_ENABLE= x265 ZVBI_LIB_DEPENDS= libzvbi.so:devel/libzvbi ZVBI_CONFIGURE_ENABLE= zvbi WITH_CDROM_DEVICE?=/dev/cd0 WITH_DVD_DEVICE?=/dev/cd0 .include .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug --disable-optimizations CFLAGS+=-g -O0 CXXFLAGS+=-g -O0 .endif post-patch: @${REINPLACE_CMD} \ -e '\|LIBS|s|-lrt||' \ -e 's|LIBS="-llirc_client|LIBS="$$LIBS_lirc|' \ -e '/PKG_CONFIG/s|\"gl\"|"opengl"|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/dev/cdrom|${WITH_CDROM_DEVICE}|g' \ -e 's|/dev/dvd|${WITH_DVD_DEVICE}|g' \ ${WRKSRC}/src/libvlc-module.c @${RM} -r ${WRKSRC}/modules/access/v4l2/linux # XXX FreeBSD doesn't have strerror_l() - use the android version of error.c @${CP} ${WRKSRC}/src/android/error.c ${WRKSRC}/src/posix post-install: @(cd ${STAGEDIR}${PREFIX} && ${FIND} -s lib/vlc -not -name '*.la' \ -type f -o -type l >> ${TMPPLIST}) @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/vlc/plugins/*/*.so # plugin cache becomes stale after strip. Regenerate it: ${WRKSRC}/bin/vlc-cache-gen ${STAGEDIR}${PREFIX}/lib/vlc/plugins .include diff --git a/net-im/folks/Makefile b/net-im/folks/Makefile index ee7195628db0..a87d1ab0022a 100644 --- a/net-im/folks/Makefile +++ b/net-im/folks/Makefile @@ -1,32 +1,33 @@ PORTNAME= folks PORTVERSION= 0.15.9 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Library to aggregates people from multiple sources WWW= https://gitlab.gnome.org/GNOME/folks LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgee-0.8.so:devel/libgee USES= gettext gnome localbase meson python:build pkgconfig \ readline sqlite tar:xz vala:build USE_GNOME= glib20 evolutiondataserver3 introspection:build libxml2 USE_LDCONFIG= yes MESON_ARGS= -Dbluez_backend=false \ -Dtelepathy_backend=false \ -Dtests=false \ -Dinstalled_tests=false GLIB_SCHEMAS= org.freedesktop.folks.gschema.xml PLIST_SUB= LIBVER=26 LIBVERLONG=26.0.0 BINARY_ALIAS= python3=${PYTHON_CMD} .include diff --git a/net-im/libaccounts-glib/Makefile b/net-im/libaccounts-glib/Makefile index ea4da2f5762f..7e8885c076fe 100644 --- a/net-im/libaccounts-glib/Makefile +++ b/net-im/libaccounts-glib/Makefile @@ -1,32 +1,33 @@ PORTNAME= libaccounts-glib DISTVERSION= 1.27 +PORTREVISION= 1 CATEGORIES= net-im DIST_SUBDIR= KDE/${GL_ACCOUNT} MAINTAINER= kde@FreeBSD.org COMMENT= Accounts and SSO framework for Linux and POSIX based platforms WWW= https://gitlab.com/accounts-sso LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= checkmk:devel/check USES= gnome meson pathfix pkgconfig sqlite:3 vala:build USE_GITLAB= yes GL_ACCOUNT= accounts-sso GL_TAGNAME= 26c54322304e9df598b2ba67427433a2e68b823e USE_GNOME= introspection libxml2 USE_LDCONFIG= yes CONFIGURE_ARGS= -Dtests=false INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= docs .include diff --git a/net-im/libpurple/Makefile b/net-im/libpurple/Makefile index 96c6a3ee1dc1..1d05d1ee4d6f 100644 --- a/net-im/libpurple/Makefile +++ b/net-im/libpurple/Makefile @@ -1,307 +1,307 @@ PORTNAME?= libpurple PORTVERSION= 2.14.14 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= net-im MASTER_SITES= SF/pidgin/Pidgin/${PORTVERSION} DISTNAME= pidgin-${PORTVERSION} MAINTAINER?= marcus@FreeBSD.org COMMENT?= Backend library for the Pidgin multi-protocol messaging client WWW= https://www.pidgin.im/ LICENSE= GPLv3 USES+= cpe gettext gmake gnome libtool localbase pathfix pkgconfig \ tar:bzip2 USE_GNOME?= gnomeprefix intltool glib20 libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS?=--disable-gtkui \ --disable-consoleui \ --with-dynamic-prpls=${PRPL_MODULES:S/,$//} \ --enable-static \ --disable-nm \ --with-system-ssl-certs=/usr/share/certs/trusted \ --disable-schemas-install INSTALL_TARGET= install-strip .if !defined(PIDGIN_SLAVE) # Pidgin slave ports that require the following functionality, must explicitly # set these macros themselves. USES+= iconv shebangfix USE_LDCONFIG= yes SHEBANG_FILES= libpurple/purple-remote \ libpurple/purple-url-handler .if defined(PACKAGE_BUILDING) WITH_GNOME= yes .endif .endif PRPL_MODULES= CPE_VENDOR= pidgin OPTIONS_DEFINE= DBUS SASL GSTREAMER VV IDN PERL TCLTK OPTIONS_GROUP= PROTOCOLS OPTIONS_RADIO= TLS OPTIONS_RADIO_TLS= NSS GNUTLS OPTIONS_GROUP_PROTOCOLS=BONJOUR GG SAMETIME SILC IRC JABBER \ NOVELL QQ SIMPLE ZEPHYR OPTIONS_DEFAULT= BONJOUR DBUS NSS GSTREAMER VV IDN GG IRC JABBER \ NOVELL QQ SASL SIMPLE ZEPHYR BONJOUR_DESC= mDNS support and Bonjour protocol GNUTLS_DESC= Use GNUTLS for encryption support NSS_DESC= Use Mozilla NSS for encryption support SASL_DESC= Cyrus SASL support (for jabberd) GSTREAMER_DESC= Use GStreamer for playing sounds VV_DESC= Video and voice support SAMETIME_DESC= The Lotus Sametime chat protocol SILC_DESC= The Secure Internet Live Conferencing protocol GG_DESC= The Gadu-Gadu chat protocol IRC_DESC= The Internet Relay Chat protocol JABBER_DESC= The Jabber/XMPP/Google Talk protocol NOVELL_DESC= The Novell GroupWise chat protocol QQ_DESC= The Tencent QQ chat protocol SIMPLE_DESC= The SIMPLE chat protocol ZEPHYR_DESC= The Zephyr chat protocol PLIST_SUB+= SHLIB_VERSION=${PORTVERSION:R:E}.${PORTVERSION:E} .if defined(WITH_GTKUI) OPTIONS_DEFINE+= GTKSPELL CAP OPTIONS_DEFAULT+= GTKSPELL CAP GTKSPELL_DESC= Spell checking support CAP_DESC= Contact Availability Prediction plugin PLIST_SUB+= GTKUI="" .else PLIST_SUB+= GTKUI="@comment not installed: " .endif .if defined(WITH_CONSOLEUI) USES+= ncurses CONFIGURE_ARGS+=--with-ncurses-headers=${NCURSESINC} PLIST_SUB+= CONSOLEUI="" .else PLIST_SUB+= CONSOLEUI="@comment not installed: " .endif CONFIGURE_ARGS+=--disable-doxygen .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .if ${PORT_OPTIONS:MTCLTK} USES+= tk CFLAGS+= -I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR} CONFIGURE_ARGS+= --with-tclconfig=${TCL_LIBDIR} \ --with-tkconfig=${TK_LIBDIR} PLIST_SUB+= TCL:="" .else CONFIGURE_ARGS+= --disable-tcl PLIST_SUB+= TCL:="@comment not installed: " .endif .if ${PORT_OPTIONS:MPERL} USES+= perl5 CONFIGURE_ARGS+= --with-perl-lib=site PLIST_SUB+= PERL:="" .if !defined(PIDGIN_SLAVE) || defined(WITH_GTKUI) PLIST_SUB+= PERLMAN:="" .else PLIST_SUB+= PERLMAN:="@comment not installed: " .endif .else CONFIGURE_ARGS+= --disable-perl PLIST_SUB+= PERL:="@comment not installed: " \ PERLMAN:="@comment not installed: " .endif .if defined(WITH_GTKUI) USE_GNOME+= evolutiondataserver3 PLIST_SUB+= EVO="" CONFIGURE_ARGS+= --enable-gevolution .else CONFIGURE_ARGS+= --disable-gevolution PLIST_SUB+= EVO="@comment not installed: " .endif .if ${PORT_OPTIONS:MGSTREAMER} USES+= gstreamer USE_GSTREAMER+=core good .else CONFIGURE_ARGS+=--disable-gstreamer .endif .if ${PORT_OPTIONS:MVV} && ${PORT_OPTIONS:MGSTREAMER} LIB_DEPENDS+= libfarstream-0.2.so:net-im/farstream USE_GSTREAMER+=v4l2 PLIST_SUB+= VV="" .else CONFIGURE_ARGS+=--disable-vv PLIST_SUB+= VV="@comment " .endif .if ${PORT_OPTIONS:MIDN} LIB_DEPENDS+= libidn.so:dns/libidn .else CONFIGURE_ARGS+=--disable-idn .endif .if ${PORT_OPTIONS:MCAP} LIB_DEPENDS+= libsqlite3.so:databases/sqlite3 CONFIGURE_ARGS+=--enable-cap PLIST_SUB+= CAP="" .else CONFIGURE_ARGS+=--disable-cap PLIST_SUB+= CAP="@comment not installed: " .endif .if ${PORT_OPTIONS:MGNUTLS} LIB_DEPENDS+= libgnutls.so:security/gnutls CONFIGURE_ARGS+= --enable-gnutls=yes PLIST_SUB+= GNUTLS="" .else CONFIGURE_ARGS+= --enable-gnutls=no PLIST_SUB+= GNUTLS="@comment " .endif .if ${PORT_OPTIONS:MNSS} LIB_DEPENDS+= libnss3.so:security/nss CONFIGURE_ARGS+= --enable-nss=yes \ --with-nspr-includes=${LOCALBASE}/include/nspr \ --with-nspr-libs=${LOCALBASE}/lib \ --with-nss-includes=${LOCALBASE}/include/nss \ --with-nss-libs=${LOCALBASE}/lib PLIST_SUB+= NSS="" .else CONFIGURE_ARGS+= --enable-nss=no PLIST_SUB+= NSS="@comment " .endif .if ${PORT_OPTIONS:MSASL} LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 CONFIGURE_ARGS+= --enable-cyrus-sasl .else CONFIGURE_ARGS+= --disable-cyrus-sasl .endif .if ${PORT_OPTIONS:MBONJOUR} LIB_DEPENDS+= libavahi-client.so:net/avahi-app PLIST_SUB+= BONJOUR="" PRPL_MODULES:= bonjour,${PRPL_MODULES} .else CONFIGURE_ARGS+=--disable-avahi PLIST_SUB+= BONJOUR="@comment not installed: " .endif .if ${PORT_OPTIONS:MGTKSPELL} LIB_DEPENDS+= libgtkspell.so:textproc/gtkspell .else CONFIGURE_ARGS+= --disable-gtkspell .endif .if ${PORT_OPTIONS:MDBUS} USES+= python LIB_DEPENDS+= libdbus-glib-1.so:devel/dbus-glib .if !defined(PIDGIN_SLAVE) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} .endif CONFIGURE_ARGS+= --enable-dbus --with-python3=${PYTHON_CMD} PLIST_SUB+= DBUS="" .else CONFIGURE_ARGS+= --disable-dbus PLIST_SUB+= DBUS="@comment not installed: " .endif .if ${PORT_OPTIONS:MSAMETIME} LIB_DEPENDS+= libmeanwhile.so:net-im/meanwhile PLIST_SUB+= SAMETIME="" PRPL_MODULES:= sametime,${PRPL_MODULES} .else PLIST_SUB+= SAMETIME="@comment not installed: " CONFIGURE_ARGS+=--disable-meanwhile .endif .if ${PORT_OPTIONS:MSILC} LIB_DEPENDS+= libsilcclient.so:devel/silc-toolkit CONFIGURE_ARGS+= --with-silc-includes=${LOCALBASE}/include/silc \ --with-silc-libs=${LOCALBASE}/lib PLIST_SUB+= SILC="" PRPL_MODULES:= silc,${PRPL_MODULES} .else PLIST_SUB+= SILC="@comment not installed: " .endif .if ${PORT_OPTIONS:MGG} PLIST_SUB+= GG="" PRPL_MODULES:= gg,${PRPL_MODULES} .else PLIST_SUB+= GG="@comment not installed: " .endif .if ${PORT_OPTIONS:MIRC} PLIST_SUB+= IRC="" PRPL_MODULES:= irc,${PRPL_MODULES} .else PLIST_SUB+= IRC="@comment not installed: " .endif .if ${PORT_OPTIONS:MJABBER} PLIST_SUB+= JABBER="" PRPL_MODULES:= jabber,${PRPL_MODULES} .else PLIST_SUB+= JABBER="@comment not installed: " .endif .if ${PORT_OPTIONS:MNOVELL} PLIST_SUB+= NOVELL="" PRPL_MODULES:= novell,${PRPL_MODULES} .else PLIST_SUB+= NOVELL="@comment not installed: " .endif #.if ${PORT_OPTIONS:MQQ} #PLIST_SUB+= QQ="" #PRPL_MODULES:= qq,${PRPL_MODULES} #.else #PLIST_SUB+= QQ="@comment not installed: " #.endif .if ${PORT_OPTIONS:MSIMPLE} PLIST_SUB+= SIMPLE="" PRPL_MODULES:= simple,${PRPL_MODULES} .else PLIST_SUB+= SIMPLE="@comment not installed: " .endif .if ${PORT_OPTIONS:MZEPHYR} PLIST_SUB+= ZEPHYR="" PRPL_MODULES:= zephyr,${PRPL_MODULES} .else PLIST_SUB+= ZEPHYR="@comment not installed: " .endif pre-everything:: .if ! ${PORT_OPTIONS:MGNUTLS} && ! ${PORT_OPTIONS:MNSS} @${ECHO_MSG} "WARNING: In order to use MSN, you must enable the GNUTLS and/or NSS options." .endif post-patch: @${REINPLACE_CMD} \ -e 's|-lpthread $$LIBDL|-lpthread ${ICONV_LIB}|' \ ${WRKSRC}/configure .if defined(PIDGIN_SLAVE) @${FIND} ${BUILD_WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|$$(top_builddir)/libpurple/libpurple.la|-lpurple|' .endif .if !defined(PIDGIN_SLAVE) && ${PORT_OPTIONS:MPERL} post-install: @${SED} -i '' -e 's|^${STAGEDIR}||g' \ ${STAGEDIR}${PREFIX}/lib/purple-2/perl/auto/Purple/.packlist .endif .include diff --git a/net-im/pidgin-sipe/Makefile b/net-im/pidgin-sipe/Makefile index da9d05173c0a..2d8e03ea3b4f 100644 --- a/net-im/pidgin-sipe/Makefile +++ b/net-im/pidgin-sipe/Makefile @@ -1,66 +1,66 @@ PORTNAME= pidgin-sipe PORTVERSION= 1.24.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net-im MASTER_SITES= SF/sipe/sipe/${DISTNAME} MAINTAINER= john.c.prather@gmail.com COMMENT= Plugin for Pidgin to provide LCS/OCS connectivity WWW= https://www.sourceforge.net/projects/sipe LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_armv6= fails to compile: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8 BROKEN_armv7= fails to compile: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8 LIB_DEPENDS= libnss3.so:security/nss \ libpurple.so:net-im/libpurple \ libplds4.so:devel/nspr \ libgstreamer-1.0.so:multimedia/gstreamer1 \ libnice.so:net-im/libnice \ libgmime-2.6.so:mail/gmime26 \ libdbus-1.so:devel/dbus \ libfarstream-0.2.so:net-im/farstream RUN_DEPENDS= pidgin:net-im/pidgin USES= compiler:c11 gmake gnome gstreamer libtool localbase pkgconfig tar:bzip2 ssl USE_GNOME= gtk20 intltool libxml2 USE_LDCONFIG= yes OPTIONS_DEFINE= OCS2005 KRB5 DOCS NLS OPTIONS_SUB= yes OCS2005_DESC= Message timeout for OCS2005 OCS2005_CONFIGURE_ENABLE= ocs2005-message-hack KRB5_DESC= With Kerberos5 KRB5_CONFIGURE_WITH= krb5 NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext CONFIGURE_ARGS= --enable-purple \ --disable-telepathy GNU_CONFIGURE= yes INSTALL_TARGET= install-strip PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO CFLAGS+= -Wno-error .include .if ${OPSYS} == FreeBSD USES+= llvm:max=15 .endif post-patch: @${REINPLACE_CMD} 's/LDLAGS/LDFLAGS/' ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docs in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net-im/pidgin-twitter/Makefile b/net-im/pidgin-twitter/Makefile index 4163373c2f9a..b47567cb22e9 100644 --- a/net-im/pidgin-twitter/Makefile +++ b/net-im/pidgin-twitter/Makefile @@ -1,30 +1,30 @@ PORTNAME= pidgin-twitter PORTVERSION= 0.9.2 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= net-im MASTER_SITES= http://www.honeyplanet.jp/ MAINTAINER= jun-g@daemonfreaks.com COMMENT= Pidgin plugin to help twitting via pidgin WWW= http://honeyplanet.jp/pidgin-twitter/ BUILD_DEPENDS= pidgin:net-im/pidgin RUN_DEPENDS= pidgin:net-im/pidgin USES= gmake gnome pkgconfig USE_GNOME= glib20 libxml2 GNU_CONFIGURE= yes PLIST_FILES= lib/pidgin/pidgin-twitter.so \ ${DATADIR_REL}/prefs.ui post-patch: @${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/Makefile.in do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pidgin ${INSTALL_LIB} ${WRKSRC}/pidgin-twitter.so ${STAGEDIR}${PREFIX}/lib/pidgin ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/prefs.ui ${STAGEDIR}${DATADIR} .include diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile index 092b5f0a3144..499c918f9351 100644 --- a/net-im/signal-desktop/Makefile +++ b/net-im/signal-desktop/Makefile @@ -1,189 +1,189 @@ PORTNAME= signal-desktop DISTVERSIONPREFIX= v DISTVERSION= 7.58.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-im MASTER_SITES= LOCAL/mikael/signal-desktop/:npm \ https://registry.npmjs.org/@esbuild/freebsd-arm64/-/:esbuildarm64 \ https://registry.npmjs.org/@esbuild/freebsd-x64/-/:esbuildx64 DISTFILES= signal-desktop-${DISTVERSION}-npm-cache.tar.gz:npm \ freebsd-arm64-${ESBUILD_VERS}.tgz:esbuildarm64 \ freebsd-x64-${ESBUILD_VERS}.tgz:esbuildx64 MAINTAINER= mikael@FreeBSD.org COMMENT= Cross-platform centralized encrypted messaging service WWW= https://signal.org/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 BUILD_DEPENDS= ${LOCALBASE}/lib/libringrtc.so:multimedia/ringrtc \ ${LOCALBASE}/lib/libsignal_node.so:net-im/libsignal-node \ ${LOCALBASE}/lib/libsignal_sqlcipher_extension.a:devel/signal-sqlcipher-extension \ ${LOCALBASE}/lib/node_sqlcipher.node:security/node-sqlcipher \ app-builder>0:devel/app-builder \ electron${ELECTRON_VER_MAJOR}:devel/electron${ELECTRON_VER_MAJOR} \ npm:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libasound.so:audio/alsa-lib \ libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libcups.so:print/cups \ libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libexpat.so:textproc/expat2 \ libFLAC.so:audio/flac \ libffi.so:devel/libffi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libicuuc.so:devel/icu \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpci.so:devel/libpci \ libpng16.so:graphics/png \ libsnappy.so:archivers/snappy \ libsndio.so:audio/sndio \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence USES= desktop-file-utils gettext-runtime gl gnome jpeg nodejs:20,build pkgconfig ssl xorg USE_GITHUB= yes GH_ACCOUNT= signalapp GH_PROJECT= Signal-Desktop USE_GL= gbm gl USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 libxml2 libxslt pango USE_XORG= x11 xcb xcomposite xdamage xext xfixes xi xrandr xrender xtst PACKAGE_ENV= SIGNAL_ENV=production \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER_MAJOR} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers MAKE_ENV+= ELECTRON_OVERRIDE_DIST_PATH=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} \ HOME=${WRKDIR} \ USE_SYSTEM_APP_BUILDER=true \ SOURCE_DATE_EPOCH=${_BUILD_DATE} \ PATH=${WRKSRC}/node_modules/.bin:${LOCALBASE}/bin:${PATH} # Don't download electron binary distribution on electron node_modules installation MAKE_ENV+= ELECTRON_SKIP_BINARY_DOWNLOAD=1 # Don't create __pycache__ directory when executing node-gyp # This is a workaround to avoid filesystem violations during poudriere build MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 ESBUILD_BINARY_PATH=${WRKSRC}/node_modules/.pnpm/@esbuild+freebsd-${ESBUILD_ARCH}@${ESBUILD_VERS}/node_modules/@esbuild/freebsd-${ESBUILD_ARCH}/package/bin/esbuild _BUILD_DATE= $$(date +'%s') ELECTRON_VER_MAJOR= 35 ESBUILD_VERS= 0.24.0 PNPM_VERS= 10.11 NODE_ARCH= ${ARCH:S/aarch64/arm64/:S/amd64/x64/} ESBUILD_ARCH= ${ARCH:S/aarch64/arm64/:S/amd64/x64/} APP_OUT_DIR= linux-${ARCH:S/aarch64/arm64-/:S/amd64//}unpacked PLIST_SUB= NODE_ARCH=${NODE_ARCH} \ SHARP_ARCH=${ARCH:S/aarch64/arm64v8/:S/amd64/x64/} .include .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " .elif ${ARCH} == amd64 PLIST_SUB+= NOT_AARCH64="" .endif do-build: # electron-builder is stupid and tries to open ${LOCALBASE}/share/electron34/electron with WRITE priv # copy ${LOCALBASE}/share/electron34 in WRKDIR # it's needed for the do-install phase, it's here because of this issue # https://github.com/MikaelUrankar/signal-desktop/issues/6 (I don't know why it fails though) @${RM} -r ${WRKDIR}/electron${ELECTRON_VER_MAJOR} @${CP} -pR ${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} ${WRKDIR}/electron${ELECTRON_VER_MAJOR} ${CHMOD} -R a+w ${WRKDIR}/electron${ELECTRON_VER_MAJOR} ${ECHO_CMD} offline=true >> ${WRKSRC}/.npmrc ${ECHO_CMD} store-dir=true >> ${WRKSRC}/.pnpm-store ${CP} ${FILESDIR}/package-lock.json ${WRKSRC} ${CP} ${FILESDIR}/pnpm-lock.yaml ${WRKSRC} cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npm install --ignore-scripts pnpm@${PNPM_VERS} cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ESBUILD_BINARY_PATH=${ESBUILD_BINARY_PATH} npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers pnpm install --ignore-scripts || ${TRUE} # Install libsignal_node.so, libringrtc.so and node_sqlcipher.node binaries in node_modules ${MKDIR} ${WRKSRC}/node_modules/@signalapp/libsignal-client/prebuilds/freebsd-${NODE_ARCH} \ ${WRKSRC}/node_modules/@signalapp/ringrtc/build/freebsd \ ${WRKSRC}/node_modules/@signalapp/sqlcipher/prebuilds/freebsd-${NODE_ARCH} ${CP} ${LOCALBASE}/lib/libsignal_node.so \ ${WRKSRC}/node_modules/@signalapp/libsignal-client/prebuilds/freebsd-${NODE_ARCH}/@signalapp+libsignal-client.node ${CP} ${LOCALBASE}/lib/libringrtc.so \ ${WRKSRC}/node_modules/@signalapp/ringrtc/build/freebsd/libringrtc-${NODE_ARCH}.node ${CP} ${LOCALBASE}/lib/node_sqlcipher.node \ ${WRKSRC}/node_modules/@signalapp/sqlcipher/prebuilds/freebsd-${NODE_ARCH} # don't ask me why ${MKDIR} ${WRKSRC}/node_modules/.pnpm/@esbuild+freebsd-${ESBUILD_ARCH}@${ESBUILD_VERS}/node_modules/@esbuild/freebsd-${ESBUILD_ARCH} ${TAR} xf ${DISTDIR}/freebsd-${ESBUILD_ARCH}-${ESBUILD_VERS}.tgz -C ${WRKSRC}/node_modules/.pnpm/@esbuild+freebsd-${ESBUILD_ARCH}@${ESBUILD_VERS}/node_modules/@esbuild/freebsd-${ESBUILD_ARCH} cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ESBUILD_BINARY_PATH=${ESBUILD_BINARY_PATH} npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers pnpm install # found in reproducible-builds/docker-entrypoint.sh cd ${WRKSRC}/sticker-creator && \ ${SETENV} ${MAKE_ENV} pnpm install cd ${WRKSRC}/sticker-creator && \ ${SETENV} ${MAKE_ENV} pnpm run build cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} pnpm run generate do-install: # taken from https://github.com/tagattie/FreeBSD-Electron/blob/master/Mk/Uses/electron.mk#L387 # and editors/vscode cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${PACKAGE_ENV} npm run build:electron -- \ --linux --dir --config.npmRebuild=false \ --config.electronDist=${WRKDIR}/electron${ELECTRON_VER_MAJOR} ${MKDIR} ${STAGEDIR}${DATADIR} cd ${BUILD_WRKSRC}/dist/${APP_OUT_DIR} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/images/signal-logo-desktop-linux.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/signal-desktop.png ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications .for f in chromedriver mksnapshot v8_context_snapshot_generator ${RM} ${STAGEDIR}${DATADIR}/${f} .endfor ${RM} -r ${STAGEDIR}${DATADIR}/gen ${RM} -r ${STAGEDIR}${DATADIR}/node_headers ${RM} -r ${STAGEDIR}${DATADIR}/resources/completions ${RLN} ${STAGEDIR}${DATADIR}/signal-desktop ${STAGEDIR}${PREFIX}/bin ${RM} -r ${STAGEDIR}${DATADIR}/resources/app.asar.unpacked/node_modules/pnpm create-caches-tarball: # do some cleanup first ${RM} -r ${WRKDIR}/.npm/_logs ${WRKDIR}/.npm/_update-notifier-last-checked cd ${WRKDIR} && \ ${TAR} czf signal-desktop-${DISTVERSION}-npm-cache.tar.gz .npm pnpm .include diff --git a/net-im/telepathy-gabble/Makefile b/net-im/telepathy-gabble/Makefile index 574f5f207e26..86cda8c2303e 100644 --- a/net-im/telepathy-gabble/Makefile +++ b/net-im/telepathy-gabble/Makefile @@ -1,56 +1,56 @@ PORTNAME= telepathy-gabble PORTVERSION= 0.18.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net-im MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/ MAINTAINER= gnome@FreeBSD.org COMMENT= Jabber Connection Manager for Telepathy Framework WWW= https://telepathy.freedesktop.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= telepathy-glib>=0.22.0:net-im/telepathy-glib \ ca_root_nss>=0:security/ca_root_nss LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libnice.so:net-im/libnice \ libtelepathy-glib.so:net-im/telepathy-glib \ libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus \ libgnutls.so:security/gnutls \ libuuid.so:misc/e2fsprogs-libuuid \ libloudmouth-1.so:net-im/loudmouth RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ libnice-gst1>=0:net-im/libnice-gst1 PORTSCOUT= limitw:1,even USES= alias gmake gnome libtool pathfix pkgconfig python:build \ shebangfix sqlite ssl USE_GNOME= glib20 gtksourceview3 libxslt:build GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt CONFIGURE_ENV= LIBS="-pthread" INSTALL_TARGET= install-strip SHEBANG_FILES= plugins/telepathy-gabble-xmpp-console PLIST_SUB= PVERSION=${PORTVERSION} .include .if ${SSL_DEFAULT} == base CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -ssl -crypto" OPENSSL_CFLAGS="-I/usr/include" .endif .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|-Werror||g' \ ${WRKSRC}/lib/ext/wocky/configure .include diff --git a/net-im/telepathy-logger/Makefile b/net-im/telepathy-logger/Makefile index b60b189f7404..05e0c623c2b2 100644 --- a/net-im/telepathy-logger/Makefile +++ b/net-im/telepathy-logger/Makefile @@ -1,31 +1,31 @@ PORTNAME= telepathy-logger PORTVERSION= 0.8.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-im MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/ MAINTAINER= gnome@FreeBSD.org COMMENT= Logger utility library for the Telepathy framework WWW= https://telepathy.freedesktop.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libtelepathy-glib.so:net-im/telepathy-glib USES= gettext-tools gmake gnome libtool pathfix pkgconfig \ python:build sqlite tar:bzip2 GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_GNOME= glib20 intltool libxml2 \ libxslt:build introspection:build GLIB_SCHEMAS= org.freedesktop.Telepathy.Logger.gschema.xml INSTALL_TARGET= install-strip MAKE_ENV= PYTHONDONTWRITEBYTECODE=1 post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|g' \ ${WRKSRC}/tools/*.py .include diff --git a/net-im/tuba/Makefile b/net-im/tuba/Makefile index 36d327cae6a7..f7161987038f 100644 --- a/net-im/tuba/Makefile +++ b/net-im/tuba/Makefile @@ -1,43 +1,43 @@ PORTNAME= Tuba DISTVERSIONPREFIX= v DISTVERSION= 0.9.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-im MAINTAINER= nxjoseph@protonmail.com COMMENT= Browse the Fediverse WWW= https://github.com/GeopJr/Tuba \ https://tuba.geopjr.dev LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libgraphene-1.0.so:graphics/graphene \ libicuuc.so:devel/icu \ libjson-glib-1.0.so:devel/json-glib \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 RUN_DEPENDS= gnome-keyring>=0:security/gnome-keyring USES= desktop-file-utils gettext-tools gnome gstreamer meson \ pkgconfig vala:build USE_GITHUB= yes GH_ACCOUNT= GeopJr USE_GNOME= cairo gdkpixbuf glib20 gtk40 gtksourceview5 libadwaita libxml2 GLIB_SCHEMAS= dev.geopjr.Tuba.gschema.xml OPTIONS_DEFINE= SPELLCHECK OPTIONS_DEFAULT= SPELLCHECK SPELLCHECK_DESC= Enable spell-checking support SPELLCHECK_LIB_DEPENDS= libspelling-1.so:x11-toolkits/libspelling USE_GSTREAMER1+= yes post-install: @(cd ${WRKSRC}/_build && \ ${STRIP_CMD} dev.geopjr.Tuba && \ ${LN} dev.geopjr.Tuba ${STAGEDIR}${PREFIX}/bin/tuba) .include diff --git a/net-mgmt/libfds/Makefile b/net-mgmt/libfds/Makefile index ba2e06a5fcaa..ddbc1efe298c 100644 --- a/net-mgmt/libfds/Makefile +++ b/net-mgmt/libfds/Makefile @@ -1,24 +1,25 @@ PORTNAME= libfds DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= zarychtam@plan-b.pwste.edu.pl COMMENT= Flow Data Storage library for IPFIX messages WWW= https://github.com/CESNET/libfds LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libzstd.so:archivers/zstd USES= cmake gnome localbase:ldflags pkgconfig USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= CESNET CXXFLAGS+= -D_GNU_SOURCE .include diff --git a/net-mgmt/lldpd/Makefile b/net-mgmt/lldpd/Makefile index b011c518822b..74bc47a32d48 100644 --- a/net-mgmt/lldpd/Makefile +++ b/net-mgmt/lldpd/Makefile @@ -1,78 +1,79 @@ PORTNAME= lldpd DISTVERSION= 1.0.19 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ \ http://media.luffy.cx/files/${PORTNAME}/ MAINTAINER= freebsd@simweb.ch COMMENT= Link-Layer Discovery Protocol (LLDP 802.1ab) daemon WWW= https://lldpd.github.io/ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libevent.so:devel/libevent FLAVORS= default tiny FLAVOR?= ${FLAVORS:[1]} tiny_PKGNAMESUFFIX= -tiny USES= cpe libtool pkgconfig CPE_VENDOR= ${PORTNAME}_project USE_LDCONFIG= yes EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/libevent \ --no-same-owner --no-same-permissions USE_RC_SUBR= ${PORTNAME} USERS= _lldpd GROUPS= _lldpd GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-doxygen-doc \ --enable-hardening \ --enable-privsep \ --with-privsep-chroot=/var/run/lldpd \ --with-lldpd-ctl-socket=/var/run/lldpd.socket \ --with-lldpd-pid-file=/var/run/lldpd.pid \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig .if ${FLAVOR} == tiny OPTIONS_UNSET= ${OPTIONS_DEFAULT} SUB_LIST+= BASH="@comment " \ ZSH="@comment " .endif OPTIONS_DEFINE= BASH DOCS LIBXML2 PIE PROPRIETARY READLINE SNMP ZSH OPTIONS_DEFAULT= BASH LIBXML2 PROPRIETARY SNMP ZSH OPTIONS_SUB= yes PIE_DESC= Build PIE (position independant executables) PROPRIETARY_DESC= Support proprietary protocols (CDP/EDP/FDP/SONMP) SNMP_DESC= Enable SNMP sub-agent (AgentX) LIBXML2_USES= gnome LIBXML2_USE= GNOME=libxml2 LIBXML2_CONFIGURE_WITH= xml PIE_CONFIGURE_ENABLE= pie PROPRIETARY_CONFIGURE_ENABLE= cdp edp fdp sonmp READLINE_CONFIGURE_WITH= readline SNMP_USES= ssl SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_WITH= snmp post-install: ${MKDIR} ${STAGEDIR}/var/run/lldpd post-install-DOCS-on: ${INSTALL_DATA} ${FILESDIR}/README.bsd ${STAGEDIR}${DOCSDIR} .include diff --git a/net-mgmt/ndpmon/Makefile b/net-mgmt/ndpmon/Makefile index fa6236b6e894..c43a6a28c431 100644 --- a/net-mgmt/ndpmon/Makefile +++ b/net-mgmt/ndpmon/Makefile @@ -1,79 +1,79 @@ PORTNAME= ndpmon PORTVERSION= 1.4.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.4/ MAINTAINER= pi@FreeBSD.org COMMENT= On-link icmpv6 message monitoring and reporting daemon WWW= https://ndpmon.sourceforge.net LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome perl5 shebangfix ssl tar:tgz SHEBANG_FILES= demopipeprogram.pl.sample USE_PERL5= run USE_GNOME= libxml2 USE_RC_SUBR= ndpmonitor GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= OSTYPE=FreeBSD CONFIGURE_ARGS= --with-var-datadir=${PREFIX}/var --with-confdir=${ETCDIR} \ --with-libxml2=${LOCALBASE} --cache-file=/dev/null PORTDOCS= INSTALL README CUSTOMMSG= ${WRKDIR}/custom-message PKGMESSAGE= ${CUSTOMMSG} OPTIONS_DEFINE= DOCS MACRESOLV OPTIONS_DEFAULT= OPTIONS_SUB= yes MACRESOLV_DESC= Enable MAC Manufacturer Resolution MACRESOLV_CONFIGURE_ENABLE= mac-resolv MACRESOLV_BUILD_DEPENDS= p5-libwww>=6.05:www/p5-libwww MACRESOLV_RUN_DEPENDS= p5-libwww>=6.05:www/p5-libwww MACRESOLV_BROKEN= MACRESOLV option tries to fetch during build .include post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/ndpmon.8 \ ${WRKSRC}/create_html_table.py \ ${WRKSRC}/demopipeprogram.pl.sample \ ${WRKSRC}/config_ndpmon.xml.in \ ${WRKSRC}/config_ndpmon.xml (cd ${WRKSRC}; ${MAKE} clean) ${TOUCH} ${CUSTOMMSG} .if ${PORT_OPTIONS:MMACRESOLV} ${CAT} ${.CURDIR}/pkg-message.MACRESOLV > ${CUSTOMMSG} .endif do-install: ${INSTALL_MAN} ${WRKSRC}/ndpmon.8 ${STAGEDIR}${PREFIX}/share/man/man8 ${INSTALL_PROGRAM} ${WRKSRC}/ndpmon ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.dtd ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/demopipeprogram.pl.sample ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MMACRESOLV} ${MKDIR} ${STAGEDIR}${DATADIR}/plugins/mac_resolv ${INSTALL_SCRIPT} ${WRKSRC}/plugins/mac_resolv/make-manuf ${STAGEDIR}${DATADIR}/plugins/mac_resolv ${INSTALL_DATA} ${WRKSRC}/plugins/mac_resolv/*.tmpl ${STAGEDIR}${DATADIR}/plugins/mac_resolv ${INSTALL_DATA} ${WRKSRC}/plugins/mac_resolv/manuf ${STAGEDIR}${DATADIR}/plugins/mac_resolv .endif ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/config_ndpmon.xml ${STAGEDIR}${ETCDIR}/config_ndpmon.xml-dist ${MKDIR} ${STAGEDIR}${PREFIX}/var/ndpmon ${INSTALL_DATA} ${WRKSRC}/neighbor_list.xml ${STAGEDIR}${PREFIX}/var/ndpmon/neighbor_list.xml do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/net-mgmt/virt-viewer/Makefile b/net-mgmt/virt-viewer/Makefile index a203260ca397..c1322b970452 100644 --- a/net-mgmt/virt-viewer/Makefile +++ b/net-mgmt/virt-viewer/Makefile @@ -1,48 +1,48 @@ PORTNAME= virt-viewer PORTVERSION= 11.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= net-mgmt MASTER_SITES= https://releases.pagure.org/${PORTNAME}/ PATCH_SITES= https://gitlab.com/${PORTNAME}/${PORTNAME}/-/commit/ PATCHFILES+= 41cc016278e7.patch:-p1 # https://gitlab.com/virt-viewer/virt-viewer/-/merge_requests/117 MAINTAINER= novel@FreeBSD.org COMMENT= Provides a graphical viewer for a guest OS display WWW= https://virt-manager.org/ LICENSE= GPLv2 USES= cpe desktop-file-utils gettext gettext-tools gmake gnome \ meson perl5 pkgconfig python:build \ shared-mime-info tar:xz xorg CPE_VENDOR= redhat USE_GNOME= gtk30 libxml2 USE_PERL5= build # pod2man USE_XORG= xorgproto MESON_ARGS= -Dbash_completion=disabled -Dovirt=disabled BINARY_ALIAS= python3=${PYTHON_CMD} OPTIONS_DEFINE= SPICE VNC LIBVIRT VTE OPTIONS_DEFAULT= SPICE VNC LIBVIRT VTE OPTIONS_SUB= yes SPICE_DESC= SPICE support VNC_DESC= VNC support VTE_DESC= VTE support LIBVIRT_LIB_DEPENDS= libvirt.so:devel/libvirt \ libvirt-glib-1.0.so:devel/libvirt-glib LIBVIRT_MESON_ENABLED= libvirt SPICE_BUILD_DEPENDS= spice-protocol>=0.12.7:devel/spice-protocol SPICE_LIB_DEPENDS= libspice-client-glib-2.0.so:deskutils/spice-gtk SPICE_MESON_ENABLED= spice VNC_LIB_DEPENDS= libgtk-vnc-2.0.so:net/gtk-vnc VNC_MESON_ENABLED= vnc VTE_USE= GNOME=vte3 VTE_MESON_ENABLED= vte .include diff --git a/net-mgmt/zabbix5-proxy/Makefile b/net-mgmt/zabbix5-proxy/Makefile index c8bfb9914ee0..63994ac5b766 100644 --- a/net-mgmt/zabbix5-proxy/Makefile +++ b/net-mgmt/zabbix5-proxy/Makefile @@ -1,9 +1,10 @@ PORTNAME= zabbix5 +PORTREVISION= 1 CATEGORIES= net-mgmt PKGNAMESUFFIX= -proxy MASTERDIR= ${.CURDIR}/../zabbix5-server OPTIONS_SINGLE_DB= MYSQL ORACLE PGSQL SQLITE .include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix5-server/Makefile b/net-mgmt/zabbix5-server/Makefile index a359f23f8460..f74b80a08db4 100644 --- a/net-mgmt/zabbix5-server/Makefile +++ b/net-mgmt/zabbix5-server/Makefile @@ -1,229 +1,229 @@ PORTNAME= zabbix5 DISTVERSION= 5.0.47 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= net-mgmt MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/ PKGNAMESUFFIX?= -server DISTNAME= zabbix-${DISTVERSION} MAINTAINER= otis@FreeBSD.org COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LTS WWW= https://www.zabbix.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Upstream EOL reaches on 2025-05-31 EXPIRATION_DATE= 2025-06-30 LIB_DEPENDS= libpcre.so:devel/pcre CONFLICTS_INSTALL= zabbix[0-9][0-9]${PKGNAMESUFFIX} zabbix[0-46-9]${PKGNAMESUFFIX} PORTSCOUT= limit:^5\.0\. ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} USES= pkgconfig iconv .if ${ZABBIX_BUILD} != "agent" CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} --cache-file=${WRKSRC}/config.cache LIB_DEPENDS+= libevent.so:devel/libevent USE_RC_SUBR= zabbix_${ZABBIX_BUILD} # -server and -proxy depends on libxml2 .if ${ZABBIX_BUILD} != "java" USES+= gnome USE_GNOME= libxml2 .endif .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} != "proxy" PLIST_SUB= PROXY="@comment " .else PLIST_SUB= PROXY="" .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} DISTVERSION=${DISTVERSION} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --datadir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} .if ${ZABBIX_BUILD} == "java" USES+= java .endif .if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" CPPFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message OPTIONS_DEFINE= IPV6 FPING CURL LDAP IPMI SNMP SSH NMAP LIBXML2 UNIXODBC OPTIONS_DEFAULT= IPV6 FPING CURL SNMP SSH LIBXML2 MYSQL OPENSSL UNIXODBC OPTIONS_SUB= yes FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install nmap for o/s detection SNMP_DESC= Support for SNMP checks SSH_DESC= Support for SSH-based checks UNIXODBC_DESC= Support for database checks via ODBC LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) OPTIONS_SINGLE= DB SSL OPTIONS_SINGLE_DB?= MYSQL PGSQL ORACLE OPTIONS_SINGLE_SSL= OPENSSL GNUTLS MYSQL_CONFIGURE_WITH= mysql MYSQL_USES+= compiler:c11 mysql PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES+= pgsql SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_WITH= net-snmp SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES+= sqlite:3 ORACLE_CONFIGURE_WITH= oracle LDAP_CONFIGURE_WITH= ldap LDAP_USES= ldap IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi FPING_RUN_DEPENDS= fping:net/fping SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:security/libssh2 UNIXODBC_CONFIGURE_WITH=unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC .elif ${ZABBIX_BUILD} == "agent" OPTIONS_SINGLE= SSL OPTIONS_SINGLE_SSL= OPENSSL GNUTLS .endif # if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" CURL_DESC= Support for web monitoring CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl IPV6_CONFIGURE_ENABLE= ipv6 NMAP_RUN_DEPENDS= nmap:security/nmap \ sudo:security/sudo LIBXML2_CONFIGURE_WITH= libxml2=${LOCALBASE} LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ BROKEN_SSL_REASON="PSK is not provided by LibreSSL" GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/usr/local/etc#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \ ${WRKSRC}/conf/zabbix_*.conf \ ${WRKSRC}/src/zabbix_proxy/proxy.c \ ${WRKSRC}/src/zabbix_server/server.c .if ${ZABBIX_BUILD} == "server" @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.pid#/var/run/zabbix/zabbix_server.pid#g' \ ${WRKSRC}/conf/zabbix_server.conf \ ${WRKSRC}/src/zabbix_server/server.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.log#/var/log/zabbix/zabbix_server.log#g' \ ${WRKSRC}/conf/zabbix_server.conf .endif .if ${ZABBIX_BUILD} == "proxy" @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.pid#/var/run/zabbix/zabbix_proxy.pid#g' \ ${WRKSRC}/conf/zabbix_proxy.conf \ ${WRKSRC}/src/zabbix_proxy/proxy.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.log#/var/log/zabbix/zabbix_proxy.log#g' \ ${WRKSRC}/conf/zabbix_proxy.conf .endif .if ${ZABBIX_BUILD} == "agent" @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.pid#/var/run/zabbix/zabbix_agentd.pid#g' \ ${WRKSRC}/conf/zabbix_agentd.conf \ ${WRKSRC}/src/zabbix_agent/zabbix_agentd.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.log#/var/log/zabbix/zabbix_agentd.log#g' \ ${WRKSRC}/conf/zabbix_agentd.conf .endif .if ${ZABBIX_BUILD} == "java" @${REINPLACE_CMD} -e 's#/tmp/zabbix_java.pid#/var/run/zabbix/zabbix_java.pid#g' \ ${WRKSRC}/src/zabbix_java/settings.sh .endif .if ${ZABBIX_BUILD} != "agent" . for d in mysql oracle postgresql sqlite3 @${REINPLACE_CMD} \ -e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \ -e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \ ${WRKSRC}/database/${d}/data.sql . endfor .endif @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \ -exec ${RM} {} + pre-configure: @echo "ac_cv_env_PKG_CONFIG_set=${LOCALBASE}/bin/pkgconf" > ${WRKSRC}/config.cache post-install: .if ${ZABBIX_BUILD} == "java" ${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \ ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample @${MKDIR} ${STAGEDIR}/var/run/zabbix .endif .if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" ${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database @${RM} ${WRKSRC}/database/*/Makefile* (cd ${WRKSRC}/database/ && \ ${COPYTREE_SHARE} "mysql oracle postgresql sqlite3" \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf \ ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf.sample .endif .if ${ZABBIX_BUILD} == "agent" ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf \ ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf.sample .endif .if ${ZABBIX_BUILD} == "proxy" ${MV} ${STAGEDIR}${LOCALBASE}/bin/zabbix_js \ ${STAGEDIR}${LOCALBASE}/bin/zabbix_proxy_js .endif .include diff --git a/net-mgmt/zabbix6-proxy/Makefile b/net-mgmt/zabbix6-proxy/Makefile index cb5b906e60fc..3a3846276d86 100644 --- a/net-mgmt/zabbix6-proxy/Makefile +++ b/net-mgmt/zabbix6-proxy/Makefile @@ -1,8 +1,8 @@ PORTNAME= zabbix6 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net-mgmt PKGNAMESUFFIX= -proxy MASTERDIR= ${.CURDIR}/../${PORTNAME}-server .include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix6-server/Makefile b/net-mgmt/zabbix6-server/Makefile index 4ade120fe87e..c6b43c7a4331 100644 --- a/net-mgmt/zabbix6-server/Makefile +++ b/net-mgmt/zabbix6-server/Makefile @@ -1,264 +1,264 @@ PORTNAME= zabbix6 DISTVERSION= 6.0.40 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= net-mgmt MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/ PKGNAMESUFFIX?= -server DISTNAME= zabbix-${DISTVERSION} MAINTAINER= otis@FreeBSD.org COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) WWW= https://www.zabbix.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS_INSTALL= ${PORTNAME}[0-9]${PKGNAMESUFFIX} \ zabbix5[0-9]${PKGNAMESUFFIX} \ zabbix[0-57-9]${PKGNAMESUFFIX} ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//:S/-$//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings USES= iconv pkgconfig .if ${ZABBIX_BUILD} != "agent" CONFIGURE_ARGS+= --cache-file=${WRKSRC}/config.cache \ --with-libevent=${LOCALBASE} \ --with-libxml2 LIB_DEPENDS+= libevent.so:devel/libevent USE_RC_SUBR= zabbix_${ZABBIX_BUILD} # -server and -proxy depends on libxml2 .if ${ZABBIX_BUILD} != "java" USES+= gnome USE_GNOME= libxml2 .endif .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} == "proxy" PLIST_SUB= PROXY="" .else PLIST_SUB= PROXY="@comment " .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= DISTVERSION=${DISTVERSION} \ ZABBIX_BUILD=${ZABBIX_BUILD} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+= --datadir=${ETCDIR} \ --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} PORTSCOUT= limit:^6\.0\. .if ${ZABBIX_BUILD} != "java" OPTIONS_DEFAULT+= PCRE2 OPTIONS_SINGLE+= PCRE OPTIONS_SINGLE_PCRE= PCRE1 PCRE2 PCRE_DESC= PCRE library to use PCRE1_DESC= Use PCRE v1 library PCRE2_DESC= Use PCRE v2 library PCRE1_LIB_DEPENDS= libpcre.so:devel/pcre PCRE1_CONFIGURE_WITH= libpcre PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PCRE2_CONFIGURE_WITH= libpcre2 .if ${ZABBIX_BUILD} != "agent" CPPFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message OPTIONS_DEFAULT+= CURL FPING IPMI IPV6 MYSQL OPENSSL SNMP SSH UNIXODBC OPTIONS_DEFINE= CURL FPING IPMI IPV6 LDAP NMAP SNMP SSH UNIXODBC OPTIONS_SINGLE+= DB SSL OPTIONS_SINGLE_DB= MDB5 MDB6 MYSQL MYSQLDV ORACLE PGSQL .if ${ZABBIX_BUILD} == "proxy" OPTIONS_SINGLE_DB+= SQLITE .endif OPTIONS_SINGLE_SSL= GNUTLS OPENSSL OPTIONS_SUB= yes FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install nmap for o/s detection SNMP_DESC= Support for SNMP checks SSH_DESC= Support for SSH-based checks UNIXODBC_DESC= Support for database checks via ODBC MYSQL_DESC= MySQL 8.0 database support MYSQLDV_DESC= MYSQL DEFAULT_VERSIONS= (poudriere) FPING_RUN_DEPENDS= fping:net/fping IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi LDAP_CONFIGURE_WITH= ldap LDAP_USES= ldap MYSQL_CONFIGURE_ON= --with-mysql MYSQL_USES+= compiler:c11 mysql:80 MYSQLDV_CONFIGURE_ON= --with-mysql MYSQLDV_USES+= compiler:c11 mysql MDB5_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config MDB5_USES+= compiler:c11 mysql:105m MDB5_DESC= Mariadb 10.5 database support MDB6_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config MDB6_USES+= compiler:c11 mysql:106m MDB6_DESC= Mariadb 10.6 database support ORACLE_CONFIGURE_WITH= oracle PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES+= pgsql SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_WITH= net-snmp SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES+= sqlite:3 SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:security/libssh2 UNIXODBC_CONFIGURE_WITH= unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC .elif ${ZABBIX_BUILD} == "agent" OPTOINS_DEFINE+= PCRE OPTIONS_SINGLE+= SSL OPTIONS_SINGLE_SSL= GNUTLS OPENSSL .endif # if ${ZABBIX_BUILD} != "agent" CURL_DESC= Support for web monitoring CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl IPV6_CONFIGURE_ENABLE= ipv6 MODBUS_DESC= Support for Modbus checks MODBUS_CONFIGURE_WITH= libmodbus MODBUS_LIB_DEPENDS= libmodbus.so:comms/libmodbus NMAP_RUN_DEPENDS= nmap:security/nmap \ sudo:security/sudo OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ BROKEN_SSL_REASON="PSK is not provided by LibreSSL" GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls .endif # if ${ZABBIX_BUILD} != "java" .if ${ZABBIX_BUILD} == "java" USES+= java JAVA_VERSION= 11+ .endif .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/usr/local/etc#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \ ${WRKSRC}/conf/zabbix_*.conf \ ${WRKSRC}/src/zabbix_proxy/proxy.c \ ${WRKSRC}/src/zabbix_server/server.c .if ${ZABBIX_BUILD} == "server" @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.pid#/var/run/zabbix/zabbix_server.pid#g' \ ${WRKSRC}/conf/zabbix_server.conf \ ${WRKSRC}/src/zabbix_server/server.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.log#/var/log/zabbix/zabbix_server.log#g' \ ${WRKSRC}/conf/zabbix_server.conf .endif .if ${ZABBIX_BUILD} == "proxy" @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.pid#/var/run/zabbix/zabbix_proxy.pid#g' \ ${WRKSRC}/conf/zabbix_proxy.conf \ ${WRKSRC}/src/zabbix_proxy/proxy.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.log#/var/log/zabbix/zabbix_proxy.log#g' \ ${WRKSRC}/conf/zabbix_proxy.conf .endif .if ${ZABBIX_BUILD} == "agent" @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.pid#/var/run/zabbix/zabbix_agentd.pid#g' \ ${WRKSRC}/conf/zabbix_agentd.conf \ ${WRKSRC}/src/zabbix_agent/zabbix_agentd.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.log#/var/log/zabbix/zabbix_agentd.log#g' \ ${WRKSRC}/conf/zabbix_agentd.conf .endif .if ${ZABBIX_BUILD} == "java" @${REINPLACE_CMD} -e 's#/tmp/zabbix_java.pid#/var/run/zabbix/zabbix_java.pid#g' \ ${WRKSRC}/src/zabbix_java/settings.sh .endif .if ${ZABBIX_BUILD} != "agent" . for d in mysql oracle postgresql @${REINPLACE_CMD} \ -e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \ -e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \ ${WRKSRC}/database/${d}/data.sql . endfor .endif @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \ -exec ${RM} {} + pre-configure: @echo "ac_cv_env_PKG_CONFIG_set=${LOCALBASE}/bin/pkgconf" > ${WRKSRC}/config.cache post-install: .if ${ZABBIX_BUILD} == "java" ${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \ ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample @${MKDIR} ${STAGEDIR}/var/run/zabbix .endif .if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" ${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database ${FIND} ${WRKSRC}/database -type f -name 'Makefile*' -exec ${RM} {} + # @${RM} ${WRKSRC}/database/*/*/Makefile* (cd ${WRKSRC}/database/ && \ ${COPYTREE_SHARE} "mysql oracle postgresql sqlite3" \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf \ ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf.sample .endif .if ${ZABBIX_BUILD} == "agent" ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf \ ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf.sample .endif .if ${ZABBIX_BUILD} == "proxy" ${MV} ${STAGEDIR}${LOCALBASE}/bin/zabbix_js \ ${STAGEDIR}${LOCALBASE}/bin/zabbix_proxy_js .endif .else # frontend .include .endif .include diff --git a/net-mgmt/zabbix7-proxy/Makefile b/net-mgmt/zabbix7-proxy/Makefile index 19e3722102c1..f7464fee38c7 100644 --- a/net-mgmt/zabbix7-proxy/Makefile +++ b/net-mgmt/zabbix7-proxy/Makefile @@ -1,8 +1,8 @@ PORTNAME= zabbix7 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net-mgmt PKGNAMESUFFIX= -proxy MASTERDIR= ${.CURDIR}/../${PORTNAME}-server .include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix7-server/Makefile b/net-mgmt/zabbix7-server/Makefile index 49f2847358f5..f33df360a5eb 100644 --- a/net-mgmt/zabbix7-server/Makefile +++ b/net-mgmt/zabbix7-server/Makefile @@ -1,262 +1,262 @@ PORTNAME= zabbix7 DISTVERSION= 7.0.16 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= net-mgmt MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/ PKGNAMESUFFIX?= -server DISTNAME= zabbix-${DISTVERSION} MAINTAINER= otis@FreeBSD.org COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) WWW= https://www.zabbix.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS_INSTALL= ${PORTNAME}[0-9]${PKGNAMESUFFIX} \ zabbix[0-6][0-9]${PKGNAMESUFFIX} ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//:S/-$//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings USES= iconv pkgconfig .if ${ZABBIX_BUILD} != "agent" CONFIGURE_ARGS+= --cache-file=${WRKSRC}/config.cache \ --with-libevent=${LOCALBASE} \ --with-libxml2 LIB_DEPENDS+= libevent.so:devel/libevent USE_RC_SUBR= zabbix_${ZABBIX_BUILD} # -server and -proxy depends on libxml2 .if ${ZABBIX_BUILD} != "java" USES+= gnome USE_GNOME= libxml2 .endif .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} == "proxy" PLIST_SUB= PROXY="" .else PLIST_SUB= PROXY="@comment " .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= DISTVERSION=${DISTVERSION} \ ZABBIX_BUILD=${ZABBIX_BUILD} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+= --datadir=${ETCDIR} \ --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} PORTSCOUT= limit:^7\.0\. .if ${ZABBIX_BUILD} != "java" OPTIONS_DEFAULT+= PCRE2 OPTIONS_SINGLE+= PCRE OPTIONS_SINGLE_PCRE= PCRE1 PCRE2 PCRE_DESC= PCRE library to use PCRE1_DESC= Use PCRE v1 library PCRE2_DESC= Use PCRE v2 library PCRE1_LIB_DEPENDS= libpcre.so:devel/pcre PCRE1_CONFIGURE_WITH= libpcre PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PCRE2_CONFIGURE_WITH= libpcre2 .if ${ZABBIX_BUILD} != "agent" CPPFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message OPTIONS_DEFAULT+= CURL FPING IPMI IPV6 MYSQL OPENSSL SNMP SSH UNIXODBC OPTIONS_DEFINE= CURL FPING IPMI IPV6 LDAP NMAP SNMP SSH UNIXODBC OPTIONS_SINGLE+= DB SSL OPTIONS_SINGLE_DB= MDB5 MDB6 MYSQL MYSQLDV ORACLE PGSQL .if ${ZABBIX_BUILD} == "proxy" OPTIONS_SINGLE_DB+= SQLITE .endif OPTIONS_SINGLE_SSL= GNUTLS OPENSSL OPTIONS_SUB= yes FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install nmap for o/s detection SNMP_DESC= Support for SNMP checks SSH_DESC= Support for SSH-based checks UNIXODBC_DESC= Support for database checks via ODBC MYSQL_DESC= MySQL 8.0 database support MYSQLDV_DESC= MYSQL DEFAULT_VERSIONS= (poudriere) FPING_RUN_DEPENDS= fping:net/fping IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi LDAP_CONFIGURE_WITH= ldap LDAP_USES= ldap MYSQL_CONFIGURE_ON= --with-mysql MYSQL_USES+= compiler:c11 mysql:80 MYSQLDV_CONFIGURE_ON= --with-mysql MYSQLDV_USES+= compiler:c11 mysql MDB5_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config MDB5_USES+= compiler:c11 mysql:105m MDB5_DESC= Mariadb 10.5 database support MDB6_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config MDB6_USES+= compiler:c11 mysql:106m MDB6_DESC= Mariadb 10.6 database support ORACLE_CONFIGURE_WITH= oracle PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES+= pgsql SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_WITH= net-snmp SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES+= sqlite:3 SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:security/libssh2 UNIXODBC_CONFIGURE_WITH= unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC .elif ${ZABBIX_BUILD} == "agent" OPTOINS_DEFINE+= PCRE OPTIONS_SINGLE+= SSL OPTIONS_SINGLE_SSL= GNUTLS OPENSSL .endif # if ${ZABBIX_BUILD} != "agent" CURL_DESC= Support for web monitoring CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl IPV6_CONFIGURE_ENABLE= ipv6 MODBUS_DESC= Support for Modbus checks MODBUS_CONFIGURE_WITH= libmodbus MODBUS_LIB_DEPENDS= libmodbus.so:comms/libmodbus NMAP_RUN_DEPENDS= nmap:security/nmap \ sudo:security/sudo OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ BROKEN_SSL_REASON="PSK is not provided by LibreSSL" GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls .endif # if ${ZABBIX_BUILD} != "java" .if ${ZABBIX_BUILD} == "java" USES+= java JAVA_VERSION= 11+ .endif .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/usr/local/etc#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \ ${WRKSRC}/conf/zabbix_*.conf \ ${WRKSRC}/src/zabbix_proxy/proxy.c \ ${WRKSRC}/src/zabbix_server/server.c .if ${ZABBIX_BUILD} == "server" @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.pid#/var/run/zabbix/zabbix_server.pid#g' \ ${WRKSRC}/conf/zabbix_server.conf \ ${WRKSRC}/src/zabbix_server/server.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.log#/var/log/zabbix/zabbix_server.log#g' \ ${WRKSRC}/conf/zabbix_server.conf .endif .if ${ZABBIX_BUILD} == "proxy" @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.pid#/var/run/zabbix/zabbix_proxy.pid#g' \ ${WRKSRC}/conf/zabbix_proxy.conf \ ${WRKSRC}/src/zabbix_proxy/proxy.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.log#/var/log/zabbix/zabbix_proxy.log#g' \ ${WRKSRC}/conf/zabbix_proxy.conf .endif .if ${ZABBIX_BUILD} == "agent" @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.pid#/var/run/zabbix/zabbix_agentd.pid#g' \ ${WRKSRC}/conf/zabbix_agentd.conf \ ${WRKSRC}/src/zabbix_agent/zabbix_agentd.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.log#/var/log/zabbix/zabbix_agentd.log#g' \ ${WRKSRC}/conf/zabbix_agentd.conf .endif .if ${ZABBIX_BUILD} == "java" @${REINPLACE_CMD} -e 's#/tmp/zabbix_java.pid#/var/run/zabbix/zabbix_java.pid#g' \ ${WRKSRC}/src/zabbix_java/settings.sh .endif .if ${ZABBIX_BUILD} != "agent" . for d in mysql oracle postgresql @${REINPLACE_CMD} \ -e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \ -e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \ ${WRKSRC}/database/${d}/data.sql . endfor .endif @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \ -exec ${RM} {} + pre-configure: @echo "ac_cv_env_PKG_CONFIG_set=${LOCALBASE}/bin/pkgconf" > ${WRKSRC}/config.cache post-install: .if ${ZABBIX_BUILD} == "java" ${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \ ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample @${MKDIR} ${STAGEDIR}/var/run/zabbix .endif .if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" ${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database ${FIND} ${WRKSRC}/database -name 'Makefile*' -delete (cd ${WRKSRC}/database/ && \ ${COPYTREE_SHARE} "mysql oracle postgresql sqlite3" \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf \ ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf.sample .endif .if ${ZABBIX_BUILD} == "agent" ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf \ ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf.sample .endif .if ${ZABBIX_BUILD} == "proxy" ${MV} ${STAGEDIR}${LOCALBASE}/bin/zabbix_js \ ${STAGEDIR}${LOCALBASE}/bin/zabbix_proxy_js .endif .else # frontend .include .endif .include diff --git a/net-mgmt/zabbix72-proxy/Makefile b/net-mgmt/zabbix72-proxy/Makefile index 7c6e732cca30..763bd2362400 100644 --- a/net-mgmt/zabbix72-proxy/Makefile +++ b/net-mgmt/zabbix72-proxy/Makefile @@ -1,8 +1,8 @@ PORTNAME= zabbix72 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net-mgmt PKGNAMESUFFIX= -proxy MASTERDIR= ${.CURDIR}/../${PORTNAME}-server .include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix72-server/Makefile b/net-mgmt/zabbix72-server/Makefile index 3bd9300ddcbc..9dce8b461d88 100644 --- a/net-mgmt/zabbix72-server/Makefile +++ b/net-mgmt/zabbix72-server/Makefile @@ -1,260 +1,260 @@ PORTNAME= zabbix72 DISTVERSION= 7.2.10 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= net-mgmt MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/ PKGNAMESUFFIX?= -server DISTNAME= zabbix-${DISTVERSION} MAINTAINER= otis@FreeBSD.org COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) WWW= https://www.zabbix.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS_INSTALL= zabbix[0-9]${PKGNAMESUFFIX} \ zabbix[0-6][0-9]${PKGNAMESUFFIX} ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//:S/-$//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings USES= iconv pkgconfig .if ${ZABBIX_BUILD} != "agent" CONFIGURE_ARGS+= --cache-file=${WRKSRC}/config.cache \ --with-libevent=${LOCALBASE} \ --with-libxml2 LIB_DEPENDS+= libevent.so:devel/libevent USE_RC_SUBR= zabbix_${ZABBIX_BUILD} # -server and -proxy depends on libxml2 .if ${ZABBIX_BUILD} != "java" USES+= gnome USE_GNOME= libxml2 .endif .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} == "proxy" PLIST_SUB= PROXY="" .else PLIST_SUB= PROXY="@comment " .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= DISTVERSION=${DISTVERSION} \ ZABBIX_BUILD=${ZABBIX_BUILD} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+= --datadir=${ETCDIR} \ --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} PORTSCOUT= limit:^7\.0\. .if ${ZABBIX_BUILD} != "java" OPTIONS_DEFAULT+= PCRE2 OPTIONS_SINGLE+= PCRE OPTIONS_SINGLE_PCRE= PCRE1 PCRE2 PCRE_DESC= PCRE library to use PCRE1_DESC= Use PCRE v1 library PCRE2_DESC= Use PCRE v2 library PCRE1_LIB_DEPENDS= libpcre.so:devel/pcre PCRE1_CONFIGURE_WITH= libpcre PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PCRE2_CONFIGURE_WITH= libpcre2 .if ${ZABBIX_BUILD} != "agent" CPPFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message OPTIONS_DEFAULT+= CURL FPING IPMI IPV6 MYSQL OPENSSL SNMP SSH UNIXODBC OPTIONS_DEFINE= CURL FPING IPMI IPV6 LDAP NMAP SNMP SSH UNIXODBC OPTIONS_SINGLE+= DB SSL OPTIONS_SINGLE_DB= MDB5 MDB6 MYSQL MYSQLDV PGSQL .if ${ZABBIX_BUILD} == "proxy" OPTIONS_SINGLE_DB+= SQLITE .endif OPTIONS_SINGLE_SSL= GNUTLS OPENSSL OPTIONS_SUB= yes FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install nmap for o/s detection SNMP_DESC= Support for SNMP checks SSH_DESC= Support for SSH-based checks UNIXODBC_DESC= Support for database checks via ODBC MYSQL_DESC= MySQL 8.0 database support MYSQLDV_DESC= MYSQL DEFAULT_VERSIONS= (poudriere) FPING_RUN_DEPENDS= fping:net/fping IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi LDAP_CONFIGURE_WITH= ldap LDAP_USES= ldap MYSQL_CONFIGURE_ON= --with-mysql MYSQL_USES+= compiler:c11 mysql:80 MYSQLDV_CONFIGURE_ON= --with-mysql MYSQLDV_USES+= compiler:c11 mysql MDB5_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config MDB5_USES+= compiler:c11 mysql:105m MDB5_DESC= Mariadb 10.5 database support MDB6_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config MDB6_USES+= compiler:c11 mysql:106m MDB6_DESC= Mariadb 10.6 database support PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES+= pgsql SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_WITH= net-snmp SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES+= sqlite:3 SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:security/libssh2 UNIXODBC_CONFIGURE_WITH= unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC .elif ${ZABBIX_BUILD} == "agent" OPTOINS_DEFINE+= PCRE OPTIONS_SINGLE+= SSL OPTIONS_SINGLE_SSL= GNUTLS OPENSSL .endif # if ${ZABBIX_BUILD} != "agent" CURL_DESC= Support for web monitoring CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl IPV6_CONFIGURE_ENABLE= ipv6 MODBUS_DESC= Support for Modbus checks MODBUS_CONFIGURE_WITH= libmodbus MODBUS_LIB_DEPENDS= libmodbus.so:comms/libmodbus NMAP_RUN_DEPENDS= nmap:security/nmap \ sudo:security/sudo OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ BROKEN_SSL_REASON="PSK is not provided by LibreSSL" GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls .endif # if ${ZABBIX_BUILD} != "java" .if ${ZABBIX_BUILD} == "java" USES+= java JAVA_VERSION= 11+ .endif .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/usr/local/etc#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \ ${WRKSRC}/conf/zabbix_*.conf \ ${WRKSRC}/src/zabbix_proxy/proxy.c \ ${WRKSRC}/src/zabbix_server/server.c .if ${ZABBIX_BUILD} == "server" @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.pid#/var/run/zabbix/zabbix_server.pid#g' \ ${WRKSRC}/conf/zabbix_server.conf \ ${WRKSRC}/src/zabbix_server/server.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.log#/var/log/zabbix/zabbix_server.log#g' \ ${WRKSRC}/conf/zabbix_server.conf .endif .if ${ZABBIX_BUILD} == "proxy" @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.pid#/var/run/zabbix/zabbix_proxy.pid#g' \ ${WRKSRC}/conf/zabbix_proxy.conf \ ${WRKSRC}/src/zabbix_proxy/proxy.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.log#/var/log/zabbix/zabbix_proxy.log#g' \ ${WRKSRC}/conf/zabbix_proxy.conf .endif .if ${ZABBIX_BUILD} == "agent" @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.pid#/var/run/zabbix/zabbix_agentd.pid#g' \ ${WRKSRC}/conf/zabbix_agentd.conf \ ${WRKSRC}/src/zabbix_agent/zabbix_agentd.c @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.log#/var/log/zabbix/zabbix_agentd.log#g' \ ${WRKSRC}/conf/zabbix_agentd.conf .endif .if ${ZABBIX_BUILD} == "java" @${REINPLACE_CMD} -e 's#/tmp/zabbix_java.pid#/var/run/zabbix/zabbix_java.pid#g' \ ${WRKSRC}/src/zabbix_java/settings.sh .endif .if ${ZABBIX_BUILD} != "agent" . for d in mysql postgresql @${REINPLACE_CMD} \ -e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \ -e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \ ${WRKSRC}/database/${d}/data.sql . endfor .endif @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \ -exec ${RM} {} + pre-configure: @echo "ac_cv_env_PKG_CONFIG_set=${LOCALBASE}/bin/pkgconf" > ${WRKSRC}/config.cache post-install: .if ${ZABBIX_BUILD} == "java" ${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \ ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample @${MKDIR} ${STAGEDIR}/var/run/zabbix .endif .if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" ${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database ${FIND} ${WRKSRC}/database -name 'Makefile*' -delete (cd ${WRKSRC}/database/ && \ ${COPYTREE_SHARE} "mysql postgresql sqlite3" \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf \ ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf.sample .endif .if ${ZABBIX_BUILD} == "agent" ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf \ ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf.sample .endif .if ${ZABBIX_BUILD} == "proxy" ${MV} ${STAGEDIR}${LOCALBASE}/bin/zabbix_js \ ${STAGEDIR}${LOCALBASE}/bin/zabbix_proxy_js .endif .else # frontend .include .endif .include diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile index ecfa1b97b6b8..f7c83ef8a3cf 100644 --- a/net-p2p/dclib/Makefile +++ b/net-p2p/dclib/Makefile @@ -1,32 +1,32 @@ PORTNAME= dclib PORTVERSION= 0.3.23 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= net-p2p MASTER_SITES= SF/wxdcgui/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Direct connect interface library for valknut WWW= https://wxdcgui.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome jpeg libtool localbase pathfix ssl tar:bzip2 USE_CXXSTD= c++14 USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${DISTNAME} post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|dclib-0.3/||g' @${REINPLACE_CMD} -e 's|-0.3||g' ${WRKSRC}/dclib.pc.in @${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=500||g; \ s|-D_BSD_SOURCE||g' ${WRKSRC}/configure .include diff --git a/net-p2p/linuxdcpp/Makefile b/net-p2p/linuxdcpp/Makefile index 88b19cd4057f..8da1c1af8b9b 100644 --- a/net-p2p/linuxdcpp/Makefile +++ b/net-p2p/linuxdcpp/Makefile @@ -1,37 +1,37 @@ PORTNAME= linuxdcpp PORTVERSION= 1.1.0 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= net-p2p MASTER_SITES= http://launchpadlibrarian.net/69733951/ MAINTAINER= danfe@FreeBSD.org COMMENT= Port of the DC++ Direct Connect client to Unix-like systems WWW= https://launchpad.net/linuxdcpp LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/License.txt BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs USES= compiler:c++11-lang gettext gnome iconv localbase:ldflags \ pkgconfig scons ssl tar:bzip2 USE_CXXSTD= c++14 USE_GNOME= cairo libglade2 PORTDOCS= * DESTDIRNAME= FAKE_ROOT OPTIONS_DEFINE= NOTIFY DOCS OPTIONS_DEFAULT=NOTIFY NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_MAKE_ARGS_OFF= libnotify=0 .if defined(WITH_DEBUG) MAKE_ARGS+= debug=1 .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/net-p2p/microdc2/Makefile b/net-p2p/microdc2/Makefile index 6ca497d5c7a1..ebcbe846a797 100644 --- a/net-p2p/microdc2/Makefile +++ b/net-p2p/microdc2/Makefile @@ -1,31 +1,31 @@ PORTNAME= microdc2 PORTVERSION= 0.15.6 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= net-p2p MASTER_SITES= http://vault.101011010.xyz/distfiles/ ${WWW:S,/h,if_&,} LOCAL/danfe MAINTAINER= danfe@FreeBSD.org COMMENT= Command-line based Direct Connect client WWW= http://web.archive.org/web/20070214093745/http://corsair626.no-ip.org/microdc/ LICENSE= GPLv2+ CONFLICTS= tthsum USES= gnome iconv readline GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GNOME= libxml2 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls post-stage: @${MKDIR} ${STAGEDIR}${PREFIX}/share/man/pl/man1 cd ${STAGEDIR}${PREFIX}/share/man && \ ${MV} man1/microdc.pl.1 pl/man1/microdc.1 .include diff --git a/net-p2p/minder/Makefile b/net-p2p/minder/Makefile index 8eff37a76dae..ce9a233353c1 100644 --- a/net-p2p/minder/Makefile +++ b/net-p2p/minder/Makefile @@ -1,48 +1,48 @@ PORTNAME= minder PORTVERSION= 2.0.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= http://www.alhem.net/project/minder/ MAINTAINER= ports@FreeBSD.org COMMENT= Small network application for automatic maintenance of peer lists WWW= https://www.alhem.net/project/minder/index.html LICENSE= GPLv2+ LIB_DEPENDS= libSockets.so:net/Sockets USES= gmake gnome pkgconfig ssl USE_CXXSTD= c++14 USE_GNOME= libxml2 CFLAGS+= -DHAVE_OPENSSL CPPFLAGS+= $$(pkg-config --cflags libxml-2.0) \ -I${LOCALBASE}/include/Sockets -I${LOCALBASE}/include LDFLAGS+= $$(pkg-config --libs libxml-2.0) \ -L${LOCALBASE}/lib PORTEXAMPLES= minder.cfg PLIST_FILES= bin/minder OPTIONS_DEFINE= EXAMPLES post-patch: @${REINPLACE_CMD} -e \ 's|^CFLAGS|#CFLAGS| ; \ s|^CPPFLAGS =|CPPFLAGS +=| ; \ s|-L/usr/local/lib|$$(LDFLAGS)| ; \ s|-luuid|| ; \ s|-lpthread|-pthread| ; \ s|g++|$$(CXX)|' ${BUILD_WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e \ 's|(__sighandler_t)||' ${WRKSRC}/minder.cpp do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} minder \ ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${FILESDIR} && ${INSTALL_DATA} minder.cfg.sample \ ${STAGEDIR}${EXAMPLESDIR}/minder.cfg) .include diff --git a/net-p2p/retroshare/Makefile b/net-p2p/retroshare/Makefile index 34dfa25094f6..b10550acbe71 100644 --- a/net-p2p/retroshare/Makefile +++ b/net-p2p/retroshare/Makefile @@ -1,74 +1,74 @@ PORTNAME= retroshare DISTVERSIONPREFIX= v DISTVERSION= 0.6.4 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= net-p2p PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 428b331d8efe.patch:-p1 MAINTAINER= peter@netkey.at COMMENT= Private and secure decentralised communication platform WWW= https://retroshare.github.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libsqlcipher.so:databases/sqlcipher \ libgnome-keyring.so:security/libgnome-keyring \ libgpgme.so:security/gpgme \ libcurl.so:ftp/curl \ libminiupnpc.so:net/miniupnpc USES= compiler:features desktop-file-utils dos2unix \ gl gnome pkgconfig qmake qt:5 ssl USE_GITHUB= yes GH_ACCOUNT= RetroShare GH_PROJECT= RetroShare RS_REVISION= 0e6d27a USE_GNOME= libxml2 libxslt USE_GL= gl USE_QT= core gui multimedia printsupport network widgets xml \ buildtools:build uitools:build DOS2UNIX_FILES= retroshare-nogui/src/retroshare-nogui.pro \ retroshare-gui/src/gui/elastic/node.cpp OPTIONS_DEFINE= VOIP WEBUI OPTIONS_SUB= yes VOIP_DESC= Build with VoIP plugin (requires OpenCV) VOIP_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libopencv_highgui.so:graphics/opencv \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp VOIP_BROKEN= gui/QVideoDevice.cpp:1:10: fatal error: 'opencv/cv.h' file not found WEBUI_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd WEBUI_QMAKE_OFF= CONFIG+=no_libresapihttpserver WEBUI_BROKEN= api/ApiServerMHD.cpp:376:5: error: no matching function for call to 'MHD_get_connection_values' .include post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare.pri @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/libretroshare/src/libretroshare.pro @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/libretroshare/src/rsserver/rsaccounts.cc @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare-gui/src/retroshare-gui.pro @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare-nogui/src/retroshare-nogui.pro @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ ${WRKSRC}/data/retroshare.desktop @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/data/retroshare.desktop @${REINPLACE_CMD} -e 's|RS_REVISION_NUMBER.*|RS_REVISION_NUMBER 0x${RS_REVISION}|' \ ${WRKSRC}/libretroshare/src/retroshare/rsversion.h post-patch-VOIP-off: # VoIP plugin does not build against modern `graphics/opencv' port @${REINPLACE_CMD} -e '/VOIP/d' ${WRKSRC}/plugins/plugins.pro .include diff --git a/net/asterisk18/Makefile b/net/asterisk18/Makefile index 9f6a8b917fcc..d83a10a54416 100644 --- a/net/asterisk18/Makefile +++ b/net/asterisk18/Makefile @@ -1,340 +1,341 @@ PORTNAME= asterisk PORTVERSION= 18.26.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ asterisk/old-releases/ \ sounds/releases/:g729 PKGNAMESUFFIX= 18 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY:= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= cmt@FreeBSD.org COMMENT= Open Source PBX and telephony toolkit WWW= https://www.asterisk.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \ libjansson.so:devel/jansson USES= bison compiler:c11 cpe gmake gnome iconv libedit localbase \ pkgconfig shebangfix sqlite ssl ncurses CPE_VENDOR= digium USE_GITHUB= nodefault USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= asterisk SHEBANG_FILES= agi/agi-test.agi \ agi/jukebox.agi \ contrib/scripts/astversion \ contrib/scripts/ast_coredumper GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --datarootdir=${DATADIR} \ --with-ilbc=internal \ --with-crypto=${OPENSSLBASE} \ --with-ssl=${OPENSSLBASE} \ --with-externals-cache=${DISTDIR}/${DIST_SUBDIR} MAKE_ARGS+= NOISY_BUILD=yes \ ASTDATADIR=${DATADIR} MAKE_ENV= PTHREAD_LIBS="-lpthread" \ MKDIR="${MKDIR}" \ PWLIBDIR=${LOCALBASE}/share/pwlib \ OSVERSION=${OSVERSION} \ DOCSDIR=${DOCSDIR} \ ASTCFLAGS="${CFLAGS}" \ ASTLDFLAGS="${LDFLAGS}" LDFLAGS+= -L. CONFLICTS= ossp-uuid CONFLICTS_BUILD= linuxthreads USERS= ${ASTERISK_USER} GROUPS= ${ASTERISK_GROUP} dahdi OPTIONS_DEFINE= ASTVERSION BACKTRACE CURL EXCHANGE FREETDS G729 LDAP LUA MACRO \ MP3PLAYER OOH323 OPTIMIZED_CFLAGS PJSIP PORTAUDIO RADIUS SNMP \ SPANDSP SRTP SYSINFO URIPARSER XMLDOC XMPP OPTIONS_DEFINE_aarch64= GEOLOCATION OPTIONS_DEFINE_amd64= DAHDI GEOLOCATION OPTIONS_DEFINE_i386= DAHDI GEOLOCATION OPTIONS_DEFINE_powerpc= DAHDI OPTIONS_DEFINE_powerpc64= DAHDI OPTIONS_DEFINE_powerpc64le= DAHDI GEOLOCATION OPTIONS_DEFAULT= CURL FREETDS GSM LUA MACRO MP3PLAYER NEWT ODBC OPUS MYSQL PGSQL \ PJSIP PORTAUDIO RADIUS SNMP SPANDSP SPEEX SRTP URIPARSER \ VORBIS XMLDOC OPTIONS_DEFAULT_amd64= DAHDI XMPP OPTIONS_DEFAULT_i386= DAHDI XMPP OPTIONS_DEFAULT_powerpc= DAHDI XMPP OPTIONS_DEFAULT_powerpc64= DAHDI XMPP OPTIONS_DEFAULT_powerpc64le= DAHDI XMPP OPTIONS_GROUP= CODECS DATABASE OPTIONS_GROUP_CODECS= GSM NEWG711 OPUS SPEEX VORBIS OPTIONS_GROUP_DATABASE= MYSQL ODBC PGSQL OPTIONS_MULTI= MENU OPTIONS_MULTI_MENU= NCURSES NEWT OPTIONS_SUB= yes ASTVERSION_DESC?= Install astversion (requires bash) BACKTRACE_DESC?= Stack backtrace support via (lib)execinfo CODECS_DESC= Encoder/Decoder (Codec) Support DAHDI_DESC?= DAHDI support DATABASE_DESC= Database Support EXCHANGE_DESC?= Exchange calendar support G729_DESC?= Install G.729 format sounds for Music-on-Hold (MoH) GEOLOCATION_DESC?= Enable SIP Geolocation support MACRO_DESC?= Enable app_macro (deprecated) MENU_DESC= Menuselect Interface Backend MP3PLAYER_DESC= Install MP3 Player for Music-On-Hold (mpg123) NEWG711_DESC?= New G711 Codec NEWT_DESC= Newt User Interface OOH323_DESC?= ooh323 support OPUS_DESC?= Opus Codec PJSIP_DESC?= Build the PJSIP based SIP channel SRTP_DESC?= SecureRTP support SYSINFO_DESC?= Use devel/libsysinfo to get system information URIPARSER_DESC?= Use RFC 3986 compliant uriparser library XMLDOC_DESC?= Build and install XML documentation XMPP_DESC?= XMPP/GTALK support ASTVERSION_RUN_DEPENDS= bash:shells/bash BACKTRACE_CONFIGURE_WITH= execinfo CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= libcurl DAHDI_LIB_DEPENDS= libpri.so:misc/libpri \ libopenr2.so:misc/openr2 \ libtonezone.so:misc/dahdi DAHDI_CONFIGURE_WITH= dahdi openr2 EXCHANGE_LIB_DEPENDS= libneon.so:www/neon \ libexpat.so:textproc/expat2 EXCHANGE_USES= gettext-runtime EXCHANGE_CONFIGURE_OFF= --without-neon --without-neon29 FREETDS_LIB_DEPENDS= libsybdb.so:databases/freetds FREETDS_CONFIGURE_ON= --with-tds=${LOCALBASE} FREETDS_CONFIGURE_OFF= --without-tds G729_DISTFILES= ${ASTERISK_CORE_G729_SOUNDS}:g729 \ ${ASTERISK_MOH_G729_SOUNDS}:g729 GEOLOCATION_USE= GNOME=libxslt GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_WITH= gsm LDAP_USES= ldap LDAP_CONFIGURE_WITH= ldap LUA_USES= lua LUA_CONFIGURE_WITH= lua LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} MP3PLAYER_RUN_DEPENDS= mpg123:audio/mpg123 MYSQL_LIB_DEPENDS= libzstd.so:archivers/zstd \ libunwind.so:devel/libunwind MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysqlclient NCURSES_USES= ncurses NEWT_LIB_DEPENDS= libnewt.so:devel/newt ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC \ libltdl.so:devel/libltdl ODBC_CONFIGURE_ON= --with-ltdl ODBC_CONFIGURE_WITH= unixodbc OPUS_EXTRACT_ONLY= ${DISTFILE_opus} OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_GH_TUPLE= traud:asterisk-opus:83e1b458c77e0e287adeca494eeb79edb077b0ff:opus PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgres PJSIP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp PJSIP_GH_TUPLE= pjsip:pjproject:${PJSIP_VERSION}:pjsip PJSIP_CONFIGURE_WITH= pjproject pjproject-bundled PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CONFIGURE_WITH= portaudio RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient RADIUS_CONFIGURE_WITH= radius SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libpkg.so:${PKG_ORIGIN} SNMP_CONFIGURE_WITH= netsnmp SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp \ libtiff.so:graphics/tiff SPANDSP_CONFIGURE_WITH= spandsp SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp SPEEX_CONFIGURE_WITH= speex SRTP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 SRTP_CONFIGURE_WITH= srtp SYSINFO_LIB_DEPENDS= libsysinfo.so:devel/libsysinfo URIPARSER_LIB_DEPENDS= liburiparser.so:net/uriparser URIPARSER_CONFIGURE_WITH= uriparser VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_CONFIGURE_WITH= ogg XMLDOC_CONFIGURE_ENABLE= xmldoc XMPP_LIB_DEPENDS= libiksemel.so:textproc/iksemel XMPP_CONFIGURE_WITH= iksemel ASTERISK_CORE_G729_SOUNDS= asterisk-core-sounds-en-g729-1.6.1.tar.gz ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz ASTERISK_USER?= asterisk ASTERISK_GROUP?= asterisk PJSIP_VERSION= 2.14.1 .include .if ${OPSYS} == FreeBSD USES+= llvm:max=14 .endif .include .if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} LIB_DEPENDS+= libgnutls.so:security/gnutls CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L LDFLAGS+= -lgnutls .endif .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no \ ac_cv_lib_iconv_libiconv_open=no .endif .if ${PREFIX} == ${LOCALBASE} VARDIR=/var .else VARDIR=${PREFIX}/var .endif SUB_LIST+= ASTERISK_USER=${ASTERISK_USER} PLIST_SUB+= ASTERISK_USER=${ASTERISK_USER} \ ASTERISK_GROUP=${ASTERISK_GROUP} \ VARDIR=${VARDIR} .if ${PORT_OPTIONS:MGEOLOCATION} .if ${ARCH} == i386 LLD_EMULATION= elf_i386 .elif ${ARCH} == amd64 LLD_EMULATION= elf_x86_64 .elif ${ARCH} == aarch64 LLD_EMULATION= aarch64elf .elif ${ARCH} == powerpc64le LLD_EMULATION= elf64lppc .endif .endif post-extract: @${FIND} ${WRKSRC} -name '*.d' -delete post-extract-G729-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_CORE_G729_SOUNDS} ${WRKSRC}/sounds ${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_MOH_G729_SOUNDS} ${WRKSRC}/sounds post-extract-OPUS-on: ${CP} ${WRKSRC_opus}/include/asterisk/* ${WRKSRC}/include/asterisk ${CP} ${WRKSRC_opus}/codecs/* ${WRKSRC}/codecs ${CP} ${WRKSRC_opus}/res/* ${WRKSRC}/res post-patch: @${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/samples/musiconhold.conf.sample @${REINPLACE_CMD} -e 's/@XMLSTARLET@//' ${WRKSRC}/makeopts.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/main/term.c .if exists(${FILESDIR}/.asterisk.makeopts) ${CP} ${FILESDIR}/.asterisk.makeopts ${WRKSRC}/menuselect.makeopts .endif post-patch-GEOLOCATION-on: @${REINPLACE_CMD} -e 's/%%LLD_EMULATION%%/${LLD_EMULATION}/' ${WRKSRC}/Makefile.rules post-patch-SYSINFO-on: @${REINPLACE_CMD} -e 's/%%LIBSYSINFO%%/-lsysinfo/' ${WRKSRC}/main/Makefile post-patch-SYSINFO-off: @${REINPLACE_CMD} -e '/#define HAVE_SYSINFO 1/d' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/%%LIBSYSINFO%%/d' ${WRKSRC}/main/Makefile post-configure: @cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_mgcp menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable res_pktccops menuselect.makeopts post-configure-GEOLOCATION-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable res_geolocation menuselect.makeopts post-configure-GEOLOCATION-off: @cd ${WRKSRC} && ./menuselect/menuselect --disable res_geolocation menuselect.makeopts post-configure-MACRO-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable app_macro menuselect.makeopts post-configure-MYSQL-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable cdr_mysql menuselect.makeopts post-configure-OOH323-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_ooh323 menuselect.makeopts post-configure-NEWG711-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable G711_NEW_ALGORITHM menuselect.makeopts post-configure-OPTIMIZED_CFLAGS-off: @cd ${WRKSRC} && ./menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts post-configure-OPUS-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable codec_opus_open_source menuselect.makeopts post-install: @${RM} ${STAGEDIR}${ETCDIR}/*.conf ${STAGEDIR}${ETCDIR}/extensions.ael ${STAGEDIR}${ETCDIR}/extensions.lua @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ast[a-f]* ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/*.so ${STAGEDIR}${DATADIR}/agi-bin/eagi-* ${FIND} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules -type f -name '*.so' | ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/sounds -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/moh -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} (cd ${STAGEDIR} && \ ${ECHO} "@owner ${ASTERISK_USER}" >> ${TMPPLIST} && \ ${ECHO} "@group ${ASTERISK_GROUP}" >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/default -type f | ${SED} "s,^,/," >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/ -type d | ${SED} "s,^,@dir /," >> ${TMPPLIST} && \ ${ECHO} "@owner" >> ${TMPPLIST} && \ ${ECHO} "@group" >> ${TMPPLIST}); post-install-ASTVERSION-off: @${RM} ${STAGEDIR}${PREFIX}/sbin/astversion .include diff --git a/net/asterisk20/Makefile b/net/asterisk20/Makefile index 17b082270e80..12e54451bc17 100644 --- a/net/asterisk20/Makefile +++ b/net/asterisk20/Makefile @@ -1,343 +1,344 @@ PORTNAME= asterisk DISTVERSION= 20.14.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ asterisk/old-releases/ \ sounds/releases/:g729 PKGNAMESUFFIX= 20 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${ASTERISK_CORE_G729_SOUNDS}:g729 \ ${ASTERISK_MOH_G729_SOUNDS}:g729 DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= o.kryvulia@flex-it.com.ua COMMENT= Open Source PBX and telephony toolkit WWW= https://www.asterisk.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libjansson.so:devel/jansson \ libuuid.so:misc/e2fsprogs-libuuid USES= bison compiler:c11 cpe gmake gnome iconv libedit localbase \ ncurses pkgconfig shebangfix sqlite ssl CPE_VENDOR= digium USE_GITHUB= nodefault USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= asterisk SHEBANG_FILES= agi/agi-test.agi \ agi/jukebox.agi \ contrib/scripts/astversion \ contrib/scripts/ast_coredumper GNU_CONFIGURE= yes CONFIGURE_ARGS= --datarootdir=${DATADIR} \ --with-crypto=${OPENSSLBASE} \ --with-externals-cache=${DISTDIR}/${DIST_SUBDIR} \ --with-ilbc=internal \ --with-ssl=${OPENSSLBASE} MAKE_ARGS+= ASTDATADIR=${DATADIR} \ NOISY_BUILD=yes MAKE_ENV= ASTCFLAGS="${CFLAGS}" \ ASTLDFLAGS="${LDFLAGS}" \ DOCSDIR=${DOCSDIR} \ MKDIR="${MKDIR}" \ OSVERSION=${OSVERSION} \ PTHREAD_LIBS="-lpthread" \ PWLIBDIR=${LOCALBASE}/share/pwlib LDFLAGS+= -L. -Wl,--undefined-version CONFLICTS= ossp-uuid CONFLICTS_BUILD= linuxthreads CONFLICTS_INSTALL= asterisk18 USERS= ${ASTERISK_USER} GROUPS= ${ASTERISK_GROUP} dahdi OPTIONS_DEFINE= ASTVERSION BACKTRACE CURL EXCHANGE FREETDS G729 LDAP LUA MACRO \ MP3PLAYER OOH323 OPTIMIZED_CFLAGS PJSIP PORTAUDIO RADIUS SNMP \ SIP SPANDSP SRTP SYSINFO URIPARSER XMLDOC XMPP OPTIONS_DEFINE_aarch64= GEOLOCATION OPTIONS_DEFINE_amd64= DAHDI GEOLOCATION OPTIONS_DEFINE_i386= DAHDI GEOLOCATION OPTIONS_DEFINE_powerpc= DAHDI OPTIONS_DEFINE_powerpc64= DAHDI OPTIONS_DEFINE_powerpc64le= DAHDI GEOLOCATION OPTIONS_DEFAULT= CURL FREETDS GSM LUA MACRO MP3PLAYER NEWT ODBC OPUS MYSQL PGSQL \ PJSIP PORTAUDIO RADIUS SNMP SPANDSP SPEEX SRTP URIPARSER \ VORBIS XMLDOC OPTIONS_DEFAULT_amd64= DAHDI XMPP OPTIONS_DEFAULT_i386= DAHDI XMPP OPTIONS_DEFAULT_powerpc= DAHDI XMPP OPTIONS_DEFAULT_powerpc64= DAHDI XMPP OPTIONS_DEFAULT_powerpc64le= DAHDI XMPP OPTIONS_GROUP= CODECS DATABASE OPTIONS_GROUP_CODECS= GSM NEWG711 OPUS SPEEX VORBIS OPTIONS_GROUP_DATABASE= MYSQL ODBC PGSQL OPTIONS_MULTI= MENU OPTIONS_MULTI_MENU= NCURSES NEWT OPTIONS_SUB= yes ASTVERSION_DESC= Install astversion (requires bash) BACKTRACE_DESC= Stack backtrace support via (lib)execinfo CODECS_DESC= Encoder/Decoder (Codec) Support DAHDI_DESC= DAHDI support DATABASE_DESC= Database Support EXCHANGE_DESC= Exchange calendar support G729_DESC= Install G.729 format sounds for Music-on-Hold (MoH) GEOLOCATION_DESC= Enable SIP Geolocation support MACRO_DESC= Enable app_macro (deprecated) MENU_DESC= Menuselect Interface Backend MP3PLAYER_DESC= Install MP3 Player for Music-On-Hold (mpg123) NEWG711_DESC= New G711 Codec NEWT_DESC= Newt User Interface OOH323_DESC= ooh323 support OPUS_DESC= Opus Codec PJSIP_DESC= Build the PJSIP based SIP channel SIP_DESC= Build the legacy SIP based channel SRTP_DESC= SecureRTP support SYSINFO_DESC= Use devel/libsysinfo to get system information URIPARSER_DESC= Use RFC 3986 compliant uriparser library XMLDOC_DESC= Build and install XML documentation XMPP_DESC= XMPP/GTALK support ASTVERSION_RUN_DEPENDS= bash:shells/bash BACKTRACE_CONFIGURE_WITH= execinfo CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= libcurl DAHDI_LIB_DEPENDS= libpri.so:misc/libpri \ libopenr2.so:misc/openr2 \ libtonezone.so:misc/dahdi DAHDI_CONFIGURE_WITH= dahdi openr2 EXCHANGE_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libneon.so:www/neon EXCHANGE_USES= gettext-runtime EXCHANGE_CONFIGURE_OFF= --without-neon --without-neon29 FREETDS_LIB_DEPENDS= libsybdb.so:databases/freetds FREETDS_CONFIGURE_ON= --with-tds=${LOCALBASE} FREETDS_CONFIGURE_OFF= --without-tds GEOLOCATION_USE= GNOME=libxslt GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_WITH= gsm LDAP_USES= ldap LDAP_CONFIGURE_WITH= ldap LUA_USES= lua LUA_CONFIGURE_WITH= lua LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} MP3PLAYER_RUN_DEPENDS= mpg123:audio/mpg123 MYSQL_LIB_DEPENDS= libzstd.so:archivers/zstd \ libunwind.so:devel/libunwind MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysqlclient NCURSES_USES= ncurses NEWT_LIB_DEPENDS= libnewt.so:devel/newt ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC \ libltdl.so:devel/libltdl ODBC_CONFIGURE_ON= --with-ltdl ODBC_CONFIGURE_WITH= unixodbc OPUS_EXTRACT_ONLY= ${DISTFILE_opus} OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_GH_TUPLE= traud:asterisk-opus:83e1b458c77e0e287adeca494eeb79edb077b0ff:opus PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgres PJSIP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp PJSIP_GH_TUPLE= pjsip:pjproject:${PJSIP_VERSION}:pjsip PJSIP_CONFIGURE_WITH= pjproject pjproject-bundled PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CONFIGURE_WITH= portaudio RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient RADIUS_CONFIGURE_WITH= radius SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libpkg.so:${PKG_ORIGIN} SNMP_CONFIGURE_WITH= netsnmp SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp \ libtiff.so:graphics/tiff SPANDSP_CONFIGURE_WITH= spandsp SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp SPEEX_CONFIGURE_WITH= speex SRTP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 SRTP_CONFIGURE_WITH= srtp SYSINFO_LIB_DEPENDS= libsysinfo.so:devel/libsysinfo URIPARSER_LIB_DEPENDS= liburiparser.so:net/uriparser URIPARSER_CONFIGURE_WITH= uriparser VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_CONFIGURE_WITH= ogg XMLDOC_CONFIGURE_ENABLE= xmldoc XMPP_LIB_DEPENDS= libiksemel.so:textproc/iksemel XMPP_CONFIGURE_WITH= iksemel ASTERISK_CORE_G729_SOUNDS= asterisk-core-sounds-en-g729-1.6.tar.gz ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz ASTERISK_USER= asterisk ASTERISK_GROUP= asterisk PJSIP_VERSION= 2.15.1 .include .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500026 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-third-party_pjproject_Makefile .endif .if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base) || \ ${SSL_DEFAULT:Mopenssl3*} LIB_DEPENDS+= libgnutls.so:security/gnutls CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L LDFLAGS+= -lgnutls .endif .if empty(ICONV_LIB) CONFIGURE_ARGS+= ac_cv_lib_iconv_iconv_open=no \ ac_cv_lib_iconv_libiconv_open=no .endif .if ${PREFIX} == ${LOCALBASE} VARDIR= /var .else VARDIR= ${PREFIX}/var .endif SUB_LIST+= ASTERISK_USER=${ASTERISK_USER} PLIST_SUB+= ASTERISK_GROUP=${ASTERISK_GROUP} \ ASTERISK_USER=${ASTERISK_USER} \ VARDIR=${VARDIR} .if ${PORT_OPTIONS:MGEOLOCATION} .if ${ARCH} == i386 LLD_EMULATION= elf_i386 .elif ${ARCH} == amd64 LLD_EMULATION= elf_x86_64 .elif ${ARCH} == aarch64 LLD_EMULATION= aarch64elf .elif ${ARCH} == powerpc64le LLD_EMULATION= elf64lppc .endif .endif post-extract: @${FIND} ${WRKSRC} -name '*.d' -delete post-extract-G729-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_CORE_G729_SOUNDS} ${WRKSRC}/sounds ${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_MOH_G729_SOUNDS} ${WRKSRC}/sounds post-extract-OPUS-on: ${CP} ${WRKSRC_opus}/include/asterisk/* ${WRKSRC}/include/asterisk ${CP} ${WRKSRC_opus}/codecs/* ${WRKSRC}/codecs ${CP} ${WRKSRC_opus}/res/* ${WRKSRC}/res post-patch: @${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/samples/musiconhold.conf.sample @${REINPLACE_CMD} -e 's/@XMLSTARLET@//' ${WRKSRC}/makeopts.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/main/term.c .if exists(${FILESDIR}/.asterisk.makeopts) ${CP} ${FILESDIR}/.asterisk.makeopts ${WRKSRC}/menuselect.makeopts .endif post-patch-GEOLOCATION-on: @${REINPLACE_CMD} -e 's/%%LLD_EMULATION%%/${LLD_EMULATION}/' ${WRKSRC}/Makefile.rules post-patch-SYSINFO-on: @${REINPLACE_CMD} -e 's/%%LIBSYSINFO%%/-lsysinfo/' ${WRKSRC}/main/Makefile post-patch-SYSINFO-off: @${REINPLACE_CMD} -e '/#define HAVE_SYSINFO 1/d' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/%%LIBSYSINFO%%/d' ${WRKSRC}/main/Makefile post-configure: @cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_mgcp menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable res_pktccops menuselect.makeopts post-configure-GEOLOCATION-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable res_geolocation menuselect.makeopts post-configure-GEOLOCATION-off: @cd ${WRKSRC} && ./menuselect/menuselect --disable res_geolocation menuselect.makeopts post-configure-MACRO-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable app_macro menuselect.makeopts post-configure-MYSQL-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts post-configure-OOH323-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_ooh323 menuselect.makeopts post-configure-NEWG711-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable G711_NEW_ALGORITHM menuselect.makeopts post-configure-OPTIMIZED_CFLAGS-off: @cd ${WRKSRC} && ./menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts post-configure-OPUS-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable codec_opus_open_source menuselect.makeopts post-configure-SIP-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_sip menuselect.makeopts post-install: @${RM} ${STAGEDIR}${ETCDIR}/*.conf ${STAGEDIR}${ETCDIR}/extensions.ael ${STAGEDIR}${ETCDIR}/extensions.lua @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ast[a-f]* ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/*.so ${STAGEDIR}${DATADIR}/agi-bin/eagi-* ${FIND} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules -type f -name '*.so' | ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/sounds -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/moh -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} (cd ${STAGEDIR} && \ ${ECHO} "@owner ${ASTERISK_USER}" >> ${TMPPLIST} && \ ${ECHO} "@group ${ASTERISK_GROUP}" >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/default -type f | ${SED} "s,^,/," >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/ -type d | ${SED} "s,^,@dir /," >> ${TMPPLIST} && \ ${ECHO} "@owner" >> ${TMPPLIST} && \ ${ECHO} "@group" >> ${TMPPLIST}); post-install-ASTVERSION-off: @${RM} ${STAGEDIR}${PREFIX}/sbin/astversion .include diff --git a/net/asterisk22/Makefile b/net/asterisk22/Makefile index dd97550b7fa1..e91fbb08754c 100644 --- a/net/asterisk22/Makefile +++ b/net/asterisk22/Makefile @@ -1,331 +1,332 @@ PORTNAME= asterisk DISTVERSION= 22.4.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ asterisk/old-releases/ \ sounds/releases/:g729 PKGNAMESUFFIX= 22 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${ASTERISK_CORE_G729_SOUNDS}:g729 \ ${ASTERISK_MOH_G729_SOUNDS}:g729 DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= o.kryvulia@flex-it.com.ua COMMENT= Open Source PBX and telephony toolkit WWW= https://www.asterisk.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libjansson.so:devel/jansson \ libuuid.so:misc/e2fsprogs-libuuid USES= bison compiler:c11 cpe gmake gnome iconv libedit localbase \ ncurses pkgconfig shebangfix sqlite ssl CPE_VENDOR= digium USE_GITHUB= nodefault USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= asterisk SHEBANG_FILES= agi/agi-test.agi \ agi/jukebox.agi \ contrib/scripts/astversion \ contrib/scripts/ast_coredumper GNU_CONFIGURE= yes CONFIGURE_ARGS= --datarootdir=${DATADIR} \ --with-crypto=${OPENSSLBASE} \ --with-externals-cache=${DISTDIR}/${DIST_SUBDIR} \ --with-ilbc=internal \ --with-ssl=${OPENSSLBASE} MAKE_ARGS+= ASTDATADIR=${DATADIR} \ NOISY_BUILD=yes MAKE_ENV= ASTCFLAGS="${CFLAGS}" \ ASTLDFLAGS="${LDFLAGS}" \ DOCSDIR=${DOCSDIR} \ MKDIR="${MKDIR}" \ OSVERSION=${OSVERSION} \ PTHREAD_LIBS="-lpthread" \ PWLIBDIR=${LOCALBASE}/share/pwlib LDFLAGS+= -L. -Wl,--undefined-version CONFLICTS= ossp-uuid CONFLICTS_BUILD= linuxthreads CONFLICTS_INSTALL= asterisk18 asterisk20 USERS= ${ASTERISK_USER} GROUPS= ${ASTERISK_GROUP} dahdi OPTIONS_DEFINE= ASTVERSION BACKTRACE CURL EXCHANGE FREETDS G729 LDAP LUA \ MP3PLAYER OOH323 OPTIMIZED_CFLAGS PJSIP PORTAUDIO RADIUS SNMP \ SPANDSP SRTP SYSINFO URIPARSER XMLDOC XMPP OPTIONS_DEFINE_aarch64= GEOLOCATION OPTIONS_DEFINE_amd64= DAHDI GEOLOCATION OPTIONS_DEFINE_i386= DAHDI GEOLOCATION OPTIONS_DEFINE_powerpc= DAHDI OPTIONS_DEFINE_powerpc64= DAHDI OPTIONS_DEFINE_powerpc64le= DAHDI OPTIONS_DEFAULT= CURL FREETDS GSM LUA MP3PLAYER NEWT ODBC OPUS MYSQL PGSQL \ PJSIP PORTAUDIO RADIUS SNMP SPANDSP SPEEX SRTP URIPARSER \ VORBIS XMLDOC OPTIONS_DEFAULT_amd64= DAHDI XMPP OPTIONS_DEFAULT_i386= DAHDI XMPP OPTIONS_DEFAULT_powerpc= DAHDI XMPP OPTIONS_DEFAULT_powerpc64= DAHDI XMPP OPTIONS_DEFAULT_powerpc64le= DAHDI XMPP OPTIONS_GROUP= CODECS DATABASE OPTIONS_GROUP_CODECS= GSM NEWG711 OPUS SPEEX VORBIS OPTIONS_GROUP_DATABASE= MYSQL ODBC PGSQL OPTIONS_MULTI= MENU OPTIONS_MULTI_MENU= NCURSES NEWT OPTIONS_SUB= yes ASTVERSION_DESC= Install astversion (requires bash) BACKTRACE_DESC= Stack backtrace support via (lib)execinfo CODECS_DESC= Encoder/Decoder (Codec) Support DAHDI_DESC= DAHDI support DATABASE_DESC= Database Support EXCHANGE_DESC= Exchange calendar support G729_DESC= Install G.729 format sounds for Music-on-Hold (MoH) GEOLOCATION_DESC= Enable SIP Geolocation support MENU_DESC= Menuselect Interface Backend MP3PLAYER_DESC= Install MP3 Player for Music-On-Hold (mpg123) NEWG711_DESC= New G711 Codec NEWT_DESC= Newt User Interface OOH323_DESC= ooh323 support OPUS_DESC= Opus Codec PJSIP_DESC= Build the PJSIP based SIP channel SRTP_DESC= SecureRTP support SYSINFO_DESC= Use devel/libsysinfo to get system information URIPARSER_DESC= Use RFC 3986 compliant uriparser library XMLDOC_DESC= Build and install XML documentation XMPP_DESC= XMPP/GTALK support ASTVERSION_RUN_DEPENDS= bash:shells/bash BACKTRACE_CONFIGURE_WITH= execinfo CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= libcurl DAHDI_LIB_DEPENDS= libpri.so:misc/libpri \ libopenr2.so:misc/openr2 \ libtonezone.so:misc/dahdi DAHDI_CONFIGURE_WITH= dahdi openr2 EXCHANGE_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libneon.so:www/neon EXCHANGE_USES= gettext-runtime EXCHANGE_CONFIGURE_OFF= --without-neon --without-neon29 FREETDS_LIB_DEPENDS= libsybdb.so:databases/freetds FREETDS_CONFIGURE_ON= --with-tds=${LOCALBASE} FREETDS_CONFIGURE_OFF= --without-tds GEOLOCATION_USE= GNOME=libxslt GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_WITH= gsm LDAP_USES= ldap LDAP_CONFIGURE_WITH= ldap LUA_USES= lua LUA_CONFIGURE_WITH= lua LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} MP3PLAYER_RUN_DEPENDS= mpg123:audio/mpg123 MYSQL_LIB_DEPENDS= libzstd.so:archivers/zstd \ libunwind.so:devel/libunwind MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysqlclient NCURSES_USES= ncurses NEWT_LIB_DEPENDS= libnewt.so:devel/newt ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC \ libltdl.so:devel/libltdl ODBC_CONFIGURE_ON= --with-ltdl ODBC_CONFIGURE_WITH= unixodbc OPUS_EXTRACT_ONLY= ${DISTFILE_opus} OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_GH_TUPLE= traud:asterisk-opus:83e1b458c77e0e287adeca494eeb79edb077b0ff:opus PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgres PJSIP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp PJSIP_GH_TUPLE= pjsip:pjproject:${PJSIP_VERSION}:pjsip PJSIP_CONFIGURE_WITH= pjproject pjproject-bundled PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CONFIGURE_WITH= portaudio RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient RADIUS_CONFIGURE_WITH= radius SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libpkg.so:${PKG_ORIGIN} SNMP_CONFIGURE_WITH= netsnmp SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp \ libtiff.so:graphics/tiff SPANDSP_CONFIGURE_WITH= spandsp SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp SPEEX_CONFIGURE_WITH= speex SRTP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 SRTP_CONFIGURE_WITH= srtp SYSINFO_LIB_DEPENDS= libsysinfo.so:devel/libsysinfo URIPARSER_LIB_DEPENDS= liburiparser.so:net/uriparser URIPARSER_CONFIGURE_WITH= uriparser VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_CONFIGURE_WITH= ogg XMLDOC_CONFIGURE_ENABLE= xmldoc XMPP_LIB_DEPENDS= libiksemel.so:textproc/iksemel XMPP_CONFIGURE_WITH= iksemel ASTERISK_CORE_G729_SOUNDS= asterisk-core-sounds-en-g729-1.6.tar.gz ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz ASTERISK_USER= asterisk ASTERISK_GROUP= asterisk PJSIP_VERSION= 2.15.1 .include .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500026 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-third-party_pjproject_Makefile .endif .if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base) || \ ${SSL_DEFAULT:Mopenssl3*} LIB_DEPENDS+= libgnutls.so:security/gnutls CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L LDFLAGS+= -lgnutls .endif .if empty(ICONV_LIB) CONFIGURE_ARGS+= ac_cv_lib_iconv_iconv_open=no \ ac_cv_lib_iconv_libiconv_open=no .endif .if ${PREFIX} == ${LOCALBASE} VARDIR= /var .else VARDIR= ${PREFIX}/var .endif SUB_LIST+= ASTERISK_USER=${ASTERISK_USER} PLIST_SUB+= ASTERISK_GROUP=${ASTERISK_GROUP} \ ASTERISK_USER=${ASTERISK_USER} \ VARDIR=${VARDIR} .if ${PORT_OPTIONS:MGEOLOCATION} .if ${ARCH} == i386 LLD_EMULATION= elf_i386 .elif ${ARCH} == amd64 LLD_EMULATION= elf_x86_64 .elif ${ARCH} == aarch64 LLD_EMULATION= aarch64elf .endif .endif post-extract: @${FIND} ${WRKSRC} -name '*.d' -delete post-extract-G729-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_CORE_G729_SOUNDS} ${WRKSRC}/sounds ${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_MOH_G729_SOUNDS} ${WRKSRC}/sounds post-extract-OPUS-on: ${CP} ${WRKSRC_opus}/include/asterisk/* ${WRKSRC}/include/asterisk ${CP} ${WRKSRC_opus}/codecs/* ${WRKSRC}/codecs ${CP} ${WRKSRC_opus}/res/* ${WRKSRC}/res post-patch: @${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/samples/musiconhold.conf.sample @${REINPLACE_CMD} -e 's/@XMLSTARLET@//' ${WRKSRC}/makeopts.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/main/term.c .if exists(${FILESDIR}/.asterisk.makeopts) ${CP} ${FILESDIR}/.asterisk.makeopts ${WRKSRC}/menuselect.makeopts .endif post-patch-GEOLOCATION-on: @${REINPLACE_CMD} -e 's/%%LLD_EMULATION%%/${LLD_EMULATION}/' ${WRKSRC}/Makefile.rules post-patch-SYSINFO-on: @${REINPLACE_CMD} -e 's/%%LIBSYSINFO%%/-lsysinfo/' ${WRKSRC}/main/Makefile post-patch-SYSINFO-off: @${REINPLACE_CMD} -e '/#define HAVE_SYSINFO 1/d' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/%%LIBSYSINFO%%/d' ${WRKSRC}/main/Makefile post-configure: @cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts post-configure-GEOLOCATION-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable res_geolocation menuselect.makeopts post-configure-GEOLOCATION-off: @cd ${WRKSRC} && ./menuselect/menuselect --disable res_geolocation menuselect.makeopts post-configure-MYSQL-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts post-configure-OOH323-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_ooh323 menuselect.makeopts post-configure-NEWG711-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable G711_NEW_ALGORITHM menuselect.makeopts post-configure-OPTIMIZED_CFLAGS-off: @cd ${WRKSRC} && ./menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts post-configure-OPUS-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable codec_opus_open_source menuselect.makeopts post-install: @${RM} ${STAGEDIR}${ETCDIR}/*.conf ${STAGEDIR}${ETCDIR}/extensions.ael ${STAGEDIR}${ETCDIR}/extensions.lua @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ast[a-f]* ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/*.so ${STAGEDIR}${DATADIR}/agi-bin/eagi-* ${FIND} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules -type f -name '*.so' | ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/sounds -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/moh -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} (cd ${STAGEDIR} && \ ${ECHO} "@owner ${ASTERISK_USER}" >> ${TMPPLIST} && \ ${ECHO} "@group ${ASTERISK_GROUP}" >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/default -type f | ${SED} "s,^,/," >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/ -type d | ${SED} "s,^,@dir /," >> ${TMPPLIST} && \ ${ECHO} "@owner" >> ${TMPPLIST} && \ ${ECHO} "@group" >> ${TMPPLIST}); post-install-ASTVERSION-off: @${RM} ${STAGEDIR}${PREFIX}/sbin/astversion .include diff --git a/net/fort/Makefile b/net/fort/Makefile index 33d8ba10a864..405f921480b9 100644 --- a/net/fort/Makefile +++ b/net/fort/Makefile @@ -1,41 +1,42 @@ PORTNAME= fort DISTVERSION= 1.6.6 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://github.com/NICMx/FORT-validator/releases/download/${DISTVERSION}/ MAINTAINER= toni@devboks.com COMMENT= FORT Validator is an open source RPKI validator WWW= https://fortproject.net/en/validator LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libjansson.so:devel/jansson RUN_DEPENDS= ${LOCALBASE}/bin/rsync:net/rsync USES= gnome localbase:ldflags pkgconfig ssl USE_GNOME= libxml2 USE_RC_SUBR= fort GNU_CONFIGURE= yes SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -e "s|-O2 -g||" \ ${PATCH_WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e "s|/tmp/fort|${ETCDIR}|" \ ${PATCH_WRKSRC}/examples/config.json @${REINPLACE_CMD} -e "s|/usr/local/ssl|/etc/ssl|" \ ${PATCH_WRKSRC}/examples/config.json @${REINPLACE_CMD} -e "s|rsync\",|${LOCALBASE}/bin/rsync\",|" \ ${PATCH_WRKSRC}/examples/config.json @${REINPLACE_CMD} -e "/\"daemon\": false,/d" \ ${PATCH_WRKSRC}/examples/config.json post-install: @${MKDIR} ${STAGEDIR}${ETCDIR}/repository ${STAGEDIR}${ETCDIR}/tal ${INSTALL_DATA} ${WRKSRC}/examples/config.json \ ${STAGEDIR}${ETCDIR}/fort-config.json.sample .include diff --git a/net/gfbgraph/Makefile b/net/gfbgraph/Makefile index 41b9e30406d7..beca16ff66ae 100644 --- a/net/gfbgraph/Makefile +++ b/net/gfbgraph/Makefile @@ -1,27 +1,28 @@ PORTNAME= gfbgraph DISTVERSION= 0.2.5 +PORTREVISION= 1 CATEGORIES= net www MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= GObject library for Facebook Graph API WWW= https://git.gnome.org/browse/libgfbgraph BUILD_DEPENDS= gtkdoc-rebase:textproc/gtk-doc LIB_DEPENDS= librest-0.7.so:devel/librest \ libgoa-1.0.so:net/gnome-online-accounts \ libjson-glib-1.0.so:devel/json-glib \ libsoup-2.4.so:devel/libsoup USES= autoreconf cpe gettext gmake gnome libtool localbase:ldflags pathfix \ pkgconfig tar:xz CPE_VENDOR= gnome CPE_PRODUCT= lib${PORTNAME} USE_GNOME= glib20 intlhack introspection:build libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gtk-doc INSTALL_TARGET= install install-strip .include diff --git a/net/gnome-connections/Makefile b/net/gnome-connections/Makefile index 17c504328ccf..2b62c2d78c77 100644 --- a/net/gnome-connections/Makefile +++ b/net/gnome-connections/Makefile @@ -1,27 +1,28 @@ PORTNAME= gnome-connections PORTVERSION= 47.2.1 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Remote desktop client for GNOME WWW= https://apps.gnome.org/app/org.gnome.Connections/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgtk-vnc-2.0.so:net/gtk-vnc \ libhandy-1.so:x11-toolkits/libhandy \ libfreerdp3.so:net/freerdp3 \ libsecret-1.so:security/libsecret USES= desktop-file-utils fuse:3 gettext gnome meson pkgconfig \ shared-mime-info tar:xz vala:build USE_GNOME= glib20 gtk30 introspection:build libxml2 USE_LDCONFIG= yes GLIB_SCHEMAS= org.gnome.Connections.gschema.xml .include diff --git a/net/gnome-online-accounts/Makefile b/net/gnome-online-accounts/Makefile index a31e7efd2b46..7520dc8c78d6 100644 --- a/net/gnome-online-accounts/Makefile +++ b/net/gnome-online-accounts/Makefile @@ -1,36 +1,37 @@ PORTNAME= gnome-online-accounts PORTVERSION= 3.54.3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Interface provider to access the user's online accounts WWW= https://gnome.pages.gitlab.gnome.org/gnome-online-accounts/ LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 \ librest-1.0.so:net/librest1 \ libp11-kit.so:security/p11-kit \ libdbus-1.so:devel/dbus USES= compiler:c++11-lib desktop-file-utils gettext gnome \ localbase meson pkgconfig tar:xz vala:build USE_GNOME= glib20 gtk40 introspection:build libadwaita libxml2 \ libxslt:build USE_LDCONFIG= yes GLIB_SCHEMAS= org.gnome.online-accounts.gschema.xml MESON_ARGS+= -Dexchange=true \ -Dkerberos=false \ -Dwindows_live=true \ -Dms_graph=false \ -Ddocumentation=false .include diff --git a/net/grilo-plugins/Makefile b/net/grilo-plugins/Makefile index 3823aa21ce83..1527bc49590c 100644 --- a/net/grilo-plugins/Makefile +++ b/net/grilo-plugins/Makefile @@ -1,41 +1,41 @@ PORTNAME= grilo-plugins PORTVERSION= 0.3.16 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Plugins for net/grilo WWW= https://wiki.gnome.org/Grilo LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgrilo-0.3.so:net/grilo \ libavahi-gobject.so:net/avahi-app \ libgdata.so:devel/libgdata \ liboauth.so:net/liboauth \ libgoa-1.0.so:net/gnome-online-accounts \ libgom-1.0.so:databases/gom \ libtotem-plparser.so:multimedia/totem-pl-parser \ libsoup-3.0.so:devel/libsoup3 \ libmediaart-2.0.so:multimedia/libmediaart \ libgmime-2.6.so:mail/gmime26 \ libjson-glib-1.0.so:devel/json-glib \ libtinysparql-3.0.so:devel/tinysparql USES= gettext gperf gnome gstreamer libarchive meson pathfix pkgconfig sqlite tar:xz USE_LDCONFIG= yes USE_GNOME= glib20 intlhack libxml2 USE_GSTREAMER= chromaprint MESON_ARGS= -Denable-lua-factory=no OPTIONS_SUB= yes OPTIONS_DEFINE= DMAP DMAP_DESC= DMAP (DAAP, DPAP & DACP) support with libdmapsharing DMAP_MESON_YES= enable-dmap DMAP_LIB_DEPENDS= libdmapsharing-4.0.so:net/libdmapsharing .include diff --git a/net/gupnp-av/Makefile b/net/gupnp-av/Makefile index 3c0b5da1f593..c92dea7ea06a 100644 --- a/net/gupnp-av/Makefile +++ b/net/gupnp-av/Makefile @@ -1,29 +1,30 @@ PORTNAME= gupnp-av PORTVERSION= 0.14.3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= GNOME MAINTAINER= sunpoet@FreeBSD.org COMMENT= Helpers for audio/video applications using GUPnP WWW= https://wiki.gnome.org/Projects/GUPnP LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= glib>=2.58:devel/glib20 \ gobject-introspection>=1.36:devel/gobject-introspection USES= compiler:c11 gnome meson pkgconfig tar:xz USE_GNOME= glib20 introspection:build libxml2 MESON_ARGS= --default-library=both -Dgtk_doc=false -Dintrospection=true USE_CSTD= c11 USE_LDCONFIG= yes OPTIONS_DEFINE= VAPI OPTIONS_SUB= yes VAPI_USES= vala:build VAPI_MESON_TRUE= vapi .include diff --git a/net/gupnp-tools/Makefile b/net/gupnp-tools/Makefile index 1b6e5c40e82a..50ed5c951586 100644 --- a/net/gupnp-tools/Makefile +++ b/net/gupnp-tools/Makefile @@ -1,36 +1,37 @@ PORTNAME= gupnp-tools PORTVERSION= 0.12.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= GNOME MAINTAINER= sunpoet@FreeBSD.org COMMENT= Set of utilities and demos to work with UPnP WWW= https://wiki.gnome.org/Projects/GUPnP \ https://gitlab.gnome.org/GNOME/gupnp-tools LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= glib>=2.68:devel/glib20 \ gssdp>=1.6.2:net/gssdp \ gtk3>=3.10:x11-toolkits/gtk30 \ gupnp>=1.6.0:net/gupnp \ libsoup3>=3.0:devel/libsoup3 LIB_DEPENDS= libgssdp-1.6.so:net/gssdp \ libgupnp-1.6.so:net/gupnp \ libsoup-3.0.so:devel/libsoup3 USES= gettext-tools gnome meson pkgconfig tar:xz USE_GNOME= glib20 gtk30 libxml2 CFLAGS+= -Wno-error=deprecated-declarations USE_LDCONFIG= yes OPTIONS_DEFINE= AV_TOOLS OPTIONS_DEFAULT=AV_TOOLS AV_TOOLS_MESON_TRUE= av-tools AV_TOOLS_BUILD_DEPENDS= gupnp-av>=0.5.5:net/gupnp-av AV_TOOLS_LIB_DEPENDS= libgupnp-av-1.0.so:net/gupnp-av .include diff --git a/net/gupnp/Makefile b/net/gupnp/Makefile index 2d82ff5d8202..3cdf30b4ad3d 100644 --- a/net/gupnp/Makefile +++ b/net/gupnp/Makefile @@ -1,48 +1,49 @@ PORTNAME= gupnp PORTVERSION= 1.6.8 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= GNOME MAINTAINER= sunpoet@FreeBSD.org COMMENT= Framework for UPnP devices WWW= https://wiki.gnome.org/Projects/GUPnP LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= glib>=2.69:devel/glib20 \ gobject-introspection>=1.36:devel/gobject-introspection \ gssdp>=1.6.2:net/gssdp \ libsoup3>=2.99.0:devel/libsoup3 LIB_DEPENDS= libgssdp-1.6.so:net/gssdp \ libsoup-3.0.so:devel/libsoup3 \ libuuid.so:misc/e2fsprogs-libuuid USES= compiler:c11 cpe gnome meson pkgconfig python:run shebangfix tar:xz USE_GNOME= glib20 introspection:build libxml2 MESON_ARGS= --default-library=both -Dexamples=false -Dgtk_doc=false -Dintrospection=true USE_CSTD= c11 USE_LDCONFIG= yes PLIST_SUB= PATCH_VERSION=${PORTVERSION:E} CPE_VENDOR= gnome CONFLICTS_INSTALL= gupnp14 SHEBANG_FILES= tools/gupnp-binding-tool OPTIONS_DEFINE= VAPI OPTIONS_SUB= yes VAPI_MESON_TRUE= vapi VAPI_USES= vala:build .include .if ${CHOSEN_COMPILER_TYPE} == "clang" CPPFLAGS+= -Wno-return-type .endif .include diff --git a/net/kamailio/Makefile b/net/kamailio/Makefile index 66fce794c32e..1490619a9b43 100644 --- a/net/kamailio/Makefile +++ b/net/kamailio/Makefile @@ -1,176 +1,177 @@ PORTNAME= kamailio DISTVERSION= 6.0.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.kamailio.org/pub/kamailio/${PORTVERSION}/src/ DISTNAME= ${PORTNAME}-${DISTVERSION}_src MAINTAINER= drtr0jan@yandex.ru COMMENT= Very fast and configurable open source SIP proxy WWW= https://www.kamailio.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xsltproc:textproc/libxslt USES= bison cmake compiler:c11 cpe pkgconfig python:build readline \ shebangfix USE_LDCONFIG= yes USE_RC_SUBR= kamailio SHEBANG_FILES= utils/kamctl/dbtextdb/dbtextdb.py utils/kamctl/kamctl \ utils/kamctl/kamdbctl ALL_TARGET= all dbschema man CFLAGS+= -Wall KAMAILIO_USER?= kamailio KAMAILIO_GROUP?= kamailio KAMAILIO_RUNDIR?= /var/run/${PORTNAME} SUB_LIST= KAMAILIO_GROUP=${KAMAILIO_GROUP} \ KAMAILIO_RUNDIR=${KAMAILIO_RUNDIR} \ KAMAILIO_USER=${KAMAILIO_USER} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USERS= ${KAMAILIO_USER} GROUPS= ${KAMAILIO_GROUP} OPTIONS_DEFINE= DIALPLAN DOCS EVAPI GCRYPT HTTP_CLIENT JWT \ KAFKA LOST LWSC MICROHTTPD MQTT NGHTTP2 \ OUTBOUND PERL PHONENUM PRESENCE RADIUS SCTP \ SIPREPO SLACK TLS WEBSOCKET OPTIONS_DEFAULT= MYSQL PRESENCE RADIUS SQLITE TLS OPTIONS_GROUP= DATABASE_DRIVERS KEMI_LANGS OPTIONS_GROUP_DATABASE_DRIVERS= MYSQL PGSQL SQLITE UNIXODBC OPTIONS_GROUP_KEMI_LANGS= LUAJIT PYTHON3 OPTIONS_SUB= YES DATABASE_DRIVERS_DESC= Database drivers DIALPLAN_DESC= String translations based on rules EVAPI_DESC= Network event broadcast API GCRYPT_DESC= Cryptography functions HTTP_CLIENT_DESC= HTTP-client module JWT_DESC= JSON Web Token generation and validation KAFKA_DESC= Produces and sends messages to a Kafka server KEMI_LANGS_DESC= Kamailio Embedded Interface Interpreters LOST_DESC= HELD (RFC6155) and LOST (RFC5222) location-based routing LUAJIT_DESC= Execute embedded Lua scripts LWSC_DESC= Websocket client connector using libwebsockets MICROHTTPD_DESC= Simple HTTP server implementation MQTT_DESC= MQTT connector for bi-directional publish-subscribe communication NGHTTP2_DESC= HTTP2 server module implementation OUTBOUND_DESC= SIP Outbound support PHONENUM_DESC= Phone number lookup and normalization using libphonenumber PRESENCE_DESC= Presence support PYTHON3_DESC= Execute embedded Python3 scripts SCTP_DESC= SCTP support SIPREPO_DESC= In-memory SIP message storage SLACK_DESC= Connector to Slack channels DIALPLAN_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 DIALPLAN_VARS= EXTRA_MODULES+=dialplan DOCS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-cmake_modules-docs.cmake \ ${PATCHDIR}/extra-patch-src_CMakeLists.txt EVAPI_LIB_DEPENDS= libev.so:devel/libev EVAPI_VARS= EXTRA_MODULES+=evapi GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_VARS= EXTRA_MODULES+=gcrypt HTTP_CLIENT_LIB_DEPENDS= libcurl.so:ftp/curl HTTP_CLIENT_VARS= EXTRA_MODULES+=http_client JWT_LIB_DEPENDS= libjwt.so:www/libjwt JWT_VARS= EXTRA_MODULES+=jwt KAFKA_LIB_DEPENDS= librdkafka.so:net/librdkafka KAFKA_VARS= EXTRA_MODULES+=kafka LOST_LIB_DEPENDS= libcurl.so:ftp/curl \ libxml2.so:textproc/libxml2 LOST_VARS= EXTRA_MODULES+=lost LUAJIT_USES= luajit LUAJIT_CMAKE_BOOL= LUAJIT LUAJIT_VARS= EXTRA_MODULES+=app_lua LWSC_LIB_DEPENDS= libwebsockets.so:net/libwebsockets LWSC_VARS= EXTRA_MODULES+=lwsc MICROHTTPD_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd MICROHTTPD_VARS= EXTRA_MODULES+=microhttpd MQTT_LIB_DEPENDS= libev.so:devel/libev \ libmosquitto.so:net/mosquitto MQTT_VARS= EXTRA_MODULES+=mqtt MYSQL_LIB_DEPENDS= libunwind.so:devel/libunwind MYSQL_USES= mysql MYSQL_VARS= EXTRA_MODULES+=db_mysql NGHTTP2_LIB_DEPENDS= libevent.so:devel/libevent \ libnghttp2.so:www/libnghttp2 NGHTTP2_VARS= EXTRA_MODULES+=nghttp2 OUTBOUND_USES= ssl OUTBOUND_VARS= EXTRA_MODULES+=outbound PERL_USES= perl5 PERL_CMAKE_ON= -DPERLCCOPTS="`perl -MExtUtils::Embed -e ccopts`" \ -DPERLLDOPTS="`perl -MExtUtils::Embed -e ldopts`" \ -DTYPEMAP="`perl -MConfig -e 'print $$Config{privlib}'`/ExtUtils/typemap" PERL_VARS= EXTRA_MODULES+="app_perl db_perlvdb" PGSQL_USES= pgsql PGSQL_VARS= EXTRA_MODULES+=db_postgres PHONENUM_LIB_DEPENDS= libphonenumber.so:devel/libphonenumber PHONENUM_VARS= EXTRA_MODULES+=phonenum PRESENCE_LIB_DEPENDS= libcurl.so:ftp/curl \ libicuuc.so:devel/icu \ libxml2.so:textproc/libxml2 PRESENCE_VARS= EXTRA_MODULES+="presence presence_conference presence_dfks presence_dialoginfo presence_mwi presence_profile presence_reginfo presence_xml pua pua_bla pua_dialoginfo pua_reginfo pua_rpc pua_usrloc pua_xmpp rls xcap_client xcap_server" PYTHON3_USES= gettext-runtime python PYTHON3_VARS= EXTRA_MODULES+=app_python3 RADIUS_LIB_DEPENDS= libradcli.so:net/radcli RADIUS_VARS= EXTRA_MODULES+="acc_radius auth_radius misc_radius peering" SCTP_VARS= EXTRA_MODULES+=sctp SIPREPO_VARS= EXTRA_MODULES+=siprepo SLACK_LIB_DEPENDS= libcurl.so:ftp/curl SLACK_VARS= EXTRA_MODULES+=slack SQLITE_USES= sqlite SQLITE_VARS= EXTRA_MODULES+=db_sqlite TLS_USES= ssl TLS_VARS= EXTRA_MODULES+=tls UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC UNIXODBC_VARS= EXTRA_MODULES+=db_unixodbc WEBSOCKET_LIB_DEPENDS= libunistring.so:devel/libunistring WEBSOCKET_USES= ssl WEBSOCKET_VARS= EXTRA_MODULES+=websocket .include .if !empty (EXTRA_MODULES) CMAKE_ARGS+= -DINCLUDE_MODULES="${EXTRA_MODULES}" .endif post-install: @(cd ${STAGEDIR}${ETCDIR}; for i in `${FIND} . -type f`; do ${MV} $$i $$i.sample; done) .include diff --git a/net/kitinerary/Makefile b/net/kitinerary/Makefile index c590eb7fe4bf..20075f98e622 100644 --- a/net/kitinerary/Makefile +++ b/net/kitinerary/Makefile @@ -1,29 +1,30 @@ PORTNAME= kitinerary DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= net kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Data Model and Extraction System for Travel Reservation information WWW= https://www.kde.org/ LICENSE= LGPL21 LIB_DEPENDS= libphonenumber.so:devel/libphonenumber \ libpoppler.so:graphics/poppler \ libZXing.so:textproc/zxing-cpp USES= cmake compiler:c++11-lang gettext gnome kde:6 pkgconfig qt:6 \ shared-mime-info ssl tar:xz USE_GNOME= libxml2 USE_KDE= archive codecs coreaddons i18n \ ecm:build # Pim components USE_KDE+= calendarcore contacts kpkpass mime USE_QT= base USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr OPTIONS_DEFINE= DOCS .include diff --git a/net/libcmis/Makefile b/net/libcmis/Makefile index 2132dba34a28..041bf2e3ba45 100644 --- a/net/libcmis/Makefile +++ b/net/libcmis/Makefile @@ -1,35 +1,35 @@ PORTNAME= libcmis PORTVERSION= 0.6.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net devel MASTER_SITES= https://github.com/tdf/libcmis/releases/download/v${PORTVERSION}/ \ https://dev-www.libreoffice.org/src/ MAINTAINER= office@FreeBSD.org COMMENT= Client library for the CMIS interface WWW= https://github.com/tdf/libcmis LICENSE= LGPL20 MPL11 GPLv2 LICENSE_COMB= dual BUILD_DEPENDS= cppunit-config:devel/cppunit \ ${LOCALBASE}/lib/libboost_regex.a:devel/boost-libs LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \ libcurl.so:ftp/curl USES= compiler:c++11-lib gmake gnome libtool localbase pathfix \ pkgconfig tar:xz USE_GNOME= libxml2 CONFIGURE_ARGS= --disable-werror --with-boost=${LOCALBASE} --without-man GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes PLIST_SUB= MAJVER=${PORTVERSION:R} SHLIBVER=${PORTVERSION:R:E} post-patch: @${REINPLACE_CMD} -e "s|@WITH_LIBCMIS_MAN_FALSE@|#|g" \ ${WRKSRC}/Makefile.in .include diff --git a/net/libgrss/Makefile b/net/libgrss/Makefile index 9094199fc89d..48c2ec5aba49 100644 --- a/net/libgrss/Makefile +++ b/net/libgrss/Makefile @@ -1,25 +1,25 @@ PORTNAME= libgrss PORTVERSION= 0.7.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Library for easy management of RSS/Atom/Pie feeds WWW= https://www.gnome.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsoup-2.4.so:devel/libsoup USES= cpe gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz CPE_VENDOR= gnome USE_GNOME= glib20 intlhack introspection:build libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk-doc INSTALL_TARGET= install-strip .include diff --git a/net/libgweather/Makefile b/net/libgweather/Makefile index a078cfae1216..1acd3b0a7d34 100644 --- a/net/libgweather/Makefile +++ b/net/libgweather/Makefile @@ -1,32 +1,32 @@ PORTNAME= libgweather PORTVERSION= 40.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= net gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Library to access online weather information WWW= https://www.gnome.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgeocode-glib.so:net/geocode-glib \ libsoup-2.4.so:devel/libsoup PORTSCOUT= limitw:1,even USES= gettext gnome localbase meson pkgconfig python:build \ shebangfix tar:xz vala:build USE_GNOME= gtk30 libxml2 pygobject3 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Dglade_catalog=false SHEBANG_FILES= data/gen_locations_variant.py GLIB_SCHEMAS= org.gnome.GWeather.enums.xml \ org.gnome.GWeather.gschema.xml BINARY_ALIAS= python3=${PYTHON_VERSION} .include diff --git a/net/libgweather4/Makefile b/net/libgweather4/Makefile index 5c44cb54ac48..46a1a5b2290b 100644 --- a/net/libgweather4/Makefile +++ b/net/libgweather4/Makefile @@ -1,33 +1,34 @@ PORTNAME= libgweather PORTVERSION= 4.4.4 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome PKGNAMESUFFIX= 4 MAINTAINER= gnome@FreeBSD.org COMMENT= Library to access online weather information WWW= https://gitlab.gnome/GNOME/libgweather LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} LIB_DEPENDS= libgeocode-glib-2.so:net/geocode-glib2 \ libsoup-3.0.so:devel/libsoup3 \ libjson-glib-1.0.so:devel/json-glib USES= gettext gnome localbase meson pkgconfig python:build \ shebangfix tar:xz vala:build USE_GNOME= glib20 gtk30 libxml2 introspection:build pygobject3 USE_LDCONFIG= yes SHEBANG_FILES= build-aux/meson/gen_locations_variant.py MESON_ARGS= -Dtests=false GLIB_SCHEMAS= org.gnome.GWeather4.enums.xml \ org.gnome.GWeather4.gschema.xml BINARY_ALIAS= python3=${PYTHON_VERSION} .include diff --git a/net/libmateweather/Makefile b/net/libmateweather/Makefile index aa98bee56393..28e53f8e80ed 100644 --- a/net/libmateweather/Makefile +++ b/net/libmateweather/Makefile @@ -1,28 +1,29 @@ PORTNAME= libmateweather PORTVERSION= 1.28.0 +PORTREVISION= 1 CATEGORIES= net mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Library to access online weather information WWW= https://mate-desktop.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsoup-2.4.so:devel/libsoup PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz USE_GNOME= cairo gnomeprefix gtk30 intltool libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.weather.gschema.xml OPTIONS_DEFINE= DOCS .include diff --git a/net/librest1/Makefile b/net/librest1/Makefile index fcd55721464f..c7881b8c8ac5 100644 --- a/net/librest1/Makefile +++ b/net/librest1/Makefile @@ -1,33 +1,33 @@ PORTNAME= librest PORTVERSION= 0.9.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net devel gnome PKGNAMESUFFIX= 1 MASTER_SITES= https://gitlab.gnome.org/GNOME/librest/-/archive/${PORTVERSION}/ MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME REST library WWW= https://gitlab.gnome.org/GNOME/librest LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libadwaita-1.so:x11-toolkits/libadwaita \ libjson-glib-1.0.so:devel/json-glib \ libsoup-3.0.so:devel/libsoup3 PORTSCOUT= limitw:1,even USES= gettext gnome localbase meson pkgconfig python tar:bz2 USE_GNOME= glib20 gtksourceview5 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Dca_certificates=true \ -Dca_certificates_path=/etc/ssl/cert.pem \ -Dgtk_doc=false OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} DOCS_MESON_TRUE= gtk_doc .include diff --git a/net/libzapojit/Makefile b/net/libzapojit/Makefile index 4d51f806bbf5..2ef56008f4fb 100644 --- a/net/libzapojit/Makefile +++ b/net/libzapojit/Makefile @@ -1,26 +1,26 @@ PORTNAME= libzapojit PORTVERSION= 0.0.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= GLib/GObject wrapper for the Skydrive and Hotmail API WWW= https://github.com/GNOME/libzapojit BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgoa-1.0.so:net/gnome-online-accounts \ libjson-glib-1.0.so:devel/json-glib \ librest-0.7.so:devel/librest USES= cpe gettext gmake gnome libtool pathfix pkgconfig tar:xz CPE_VENDOR= gnome USE_GNOME= gnomeprefix intltool GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip .include diff --git a/net/liferea/Makefile b/net/liferea/Makefile index 3ba8ecaf9905..6aad2d494a84 100644 --- a/net/liferea/Makefile +++ b/net/liferea/Makefile @@ -1,46 +1,46 @@ PORTNAME= liferea DISTVERSION= 1.14.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net gnome MASTER_SITES= https://github.com/lwindolf/liferea/releases/download/v${DISTVERSION}/ MAINTAINER= kwm@FreeBSD.org COMMENT= Simple RSS/RDF feed reader WWW= https://lzone.de/liferea/ LICENSE= GPLv2 LGPL3 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas LIB_DEPENDS= libfribidi.so:converters/fribidi \ libharfbuzz.so:print/harfbuzz \ libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 \ libpeas-1.0.so:devel/libpeas1 \ libjson-glib-1.0.so:devel/json-glib RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ ${PYTHON_PKGNAMEPREFIX}libpeas1>=0:devel/py-libpeas1@${PY_FLAVOR} USES= compiler:c++11-lang cpe desktop-file-utils gettext \ gmake gnome libtool localbase \ pathfix pkgconfig python sqlite tar:bzip2 USE_GNOME= cairo dconf:run gtk30 gdkpixbuf intltool introspection \ libxslt libxml2 GLIB_SCHEMAS= net.sf.liferea.gschema.xml GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-introspection # Introspection starts the program, but it may hang or crash-abort # without an X server because the Webkit compositor tries to initialize # a graphics backend MAKE_ENV+= WEBKIT_DISABLE_COMPOSITING_MODE=1 INSTALL_TARGET= install-strip EXTRA_PATCHES= ${FILESDIR}/extra-patch-libxml:-p1 .include diff --git a/net/p5-Net-Z3950-SimpleServer/Makefile b/net/p5-Net-Z3950-SimpleServer/Makefile index d59774ae94a9..365dbe377039 100644 --- a/net/p5-Net-Z3950-SimpleServer/Makefile +++ b/net/p5-Net-Z3950-SimpleServer/Makefile @@ -1,22 +1,22 @@ PORTNAME= Net-Z3950-SimpleServer PORTVERSION= 1.20 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= demon@FreeBSD.org COMMENT= Perl module for developing Z39.50 servers WWW= https://www.indexdata.dk/simpleserver/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libyaz.so:net/yaz USES= perl5 shebangfix SHEBANG_FILES= ztest.pl grs_test.pl logging-server.pl USE_PERL5= configure CONFIGURE_ENV= LOCALBASE=${LOCALBASE} .include diff --git a/net/p5-Net-Z3950-ZOOM/Makefile b/net/p5-Net-Z3950-ZOOM/Makefile index 553568bea2e1..06ae879f1ba8 100644 --- a/net/p5-Net-Z3950-ZOOM/Makefile +++ b/net/p5-Net-Z3950-ZOOM/Makefile @@ -1,21 +1,21 @@ PORTNAME= Net-Z3950-ZOOM PORTVERSION= 1.30 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= demon@FreeBSD.org COMMENT= Perl interface to the Z39.50 Object-Orientation Model (ZOOM) WWW= https://metacpan.org/release/Net-Z3950-ZOOM LIB_DEPENDS= libyaz.so:net/yaz BUILD_DEPENDS= p5-MARC-Record>=1.38:textproc/p5-MARC-Record RUN_DEPENDS= p5-MARC-Record>=1.38:textproc/p5-MARC-Record USES= perl5 USE_PERL5= configure CONFLICTS= p5-Net-Z3950 .include diff --git a/net/pacemaker2/Makefile b/net/pacemaker2/Makefile index 02f87e609d0e..197b6d4e1408 100644 --- a/net/pacemaker2/Makefile +++ b/net/pacemaker2/Makefile @@ -1,30 +1,30 @@ PORTVERSION= 2.1.7 -PORTREVISION= 3 +PORTREVISION= 4 PKGNAMESUFFIX= 2 WWW= https://www.clusterlabs.org/pacemaker/ .include "${.CURDIR}/Makefile.common" CONFIGURE_ARGS+= --with-noarch-pkgconfigdir=${PREFIX}/libdata/pkgconfig LIB_DEPENDS+= libffi.so:devel/libffi \ libgmp.so:math/gmp \ libhogweed.so:security/nettle \ libidn2.so:dns/libidn2 \ libnettle.so:security/nettle \ libp11-kit.so:security/p11-kit \ libpcre.so:devel/pcre \ libtasn1.so:security/libtasn1 \ libunistring.so:devel/libunistring USES+= gettext SHEBANG_FILES+= agents/ocf/* post-patch: post-patch-common post-install: ${RM} ${STAGEDIR}/${PREFIX}/etc/rc.d/pacemaker_remote .include diff --git a/net/pecl-xmlrpc/Makefile b/net/pecl-xmlrpc/Makefile index 3bd7e4040496..8c79674b1fe1 100644 --- a/net/pecl-xmlrpc/Makefile +++ b/net/pecl-xmlrpc/Makefile @@ -1,23 +1,23 @@ PORTNAME= xmlrpc DISTVERSION= 1.0.0RC3 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net pear MAINTAINER= dereks@lifeofadishwasher.com COMMENT= PHP extension for XML-RPC servers and clients WWW= https://pecl.php.net/package/xmlrpc LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE USES= iconv:translit gnome php:pecl pkgconfig USE_PHP= xml:build USE_GNOME= libxml2 CONFIGURE_ARGS+= --with-iconv-dir=${LOCALBASE} TEST_TARGET= test TEST_ENV= NO_INTERACTION=yes .include diff --git a/net/php81-soap/Makefile b/net/php81-soap/Makefile index fc40ac2c512d..edfa1b90068d 100644 --- a/net/php81-soap/Makefile +++ b/net/php81-soap/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= net MASTERDIR= ${.CURDIR}/../../lang/php81 PKGNAMESUFFIX= -soap .include "${MASTERDIR}/Makefile" diff --git a/net/php82-soap/Makefile b/net/php82-soap/Makefile index ae7e9925c979..746722745a70 100644 --- a/net/php82-soap/Makefile +++ b/net/php82-soap/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= net MASTERDIR= ${.CURDIR}/../../lang/php82 PKGNAMESUFFIX= -soap .include "${MASTERDIR}/Makefile" diff --git a/net/php83-soap/Makefile b/net/php83-soap/Makefile index da25aa254607..f0decd401d40 100644 --- a/net/php83-soap/Makefile +++ b/net/php83-soap/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= net MASTERDIR= ${.CURDIR}/../../lang/php83 PKGNAMESUFFIX= -soap .include "${MASTERDIR}/Makefile" diff --git a/net/php84-soap/Makefile b/net/php84-soap/Makefile index dbe62dcc4455..35b2ad96dbad 100644 --- a/net/php84-soap/Makefile +++ b/net/php84-soap/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= net MASTERDIR= ${.CURDIR}/../../lang/php84 PKGNAMESUFFIX= -soap .include "${MASTERDIR}/Makefile" diff --git a/net/rubygem-ovirt-engine-sdk/Makefile b/net/rubygem-ovirt-engine-sdk/Makefile index f9da4754e819..49db5a3b2627 100644 --- a/net/rubygem-ovirt-engine-sdk/Makefile +++ b/net/rubygem-ovirt-engine-sdk/Makefile @@ -1,20 +1,21 @@ PORTNAME= ovirt-engine-sdk PORTVERSION= 4.6.0 +PORTREVISION= 1 CATEGORIES= net rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby SDK for the oVirt Engine API WWW= https://ovirt.org/ \ https://github.com/oVirt/ovirt-engine-sdk-ruby LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libcurl.so:ftp/curl RUN_DEPENDS= rubygem-json>=1<3:devel/rubygem-json USES= gem gnome USE_GNOME= libxml2 .include diff --git a/net/sobby/Makefile b/net/sobby/Makefile index 8eaec829a9f2..27e21a1a5142 100644 --- a/net/sobby/Makefile +++ b/net/sobby/Makefile @@ -1,30 +1,30 @@ PORTNAME= sobby PORTVERSION= 0.4.8 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= net MASTER_SITES= http://releases.0x539.de/sobby/ MAINTAINER= ports@FreeBSD.org COMMENT= Standalone obby server WWW= http://gobby.0x539.de LICENSE= GPLv2 DEPRECATED= Abandoned upstream, repo archived Nov 26, 2020 EXPIRATION_DATE=2025-06-30 LIB_DEPENDS= libsigc-2.0.so:devel/libsigc++20 \ libobby.so:devel/obby \ libnet6.so:net/net6 \ libxml++-2.6.so:textproc/libxml++26 USES= compiler:c++11-lang gnome localbase pkgconfig USE_CXXSTD= c++11 USE_GNOME= glibmm GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-zeroconf PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz .include diff --git a/net/vinagre/Makefile b/net/vinagre/Makefile index 4130b055a5dd..2d28510a949d 100644 --- a/net/vinagre/Makefile +++ b/net/vinagre/Makefile @@ -1,71 +1,71 @@ PORTNAME= vinagre PORTVERSION= 3.22.0 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= net gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= VNC client for the GNOME Desktop WWW= https://www.gnome.org/projects/vinagre/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= appstream-glib>=0:devel/appstream-glib \ itstool:textproc/itstool \ gnome-autogen.sh:devel/gnome-common \ yelp-tools>=0:textproc/yelp-tools LIB_DEPENDS= libgtk-vnc-2.0.so:net/gtk-vnc \ libfribidi.so:converters/fribidi \ libgdbm.so:databases/gdbm \ libsecret-1.so:security/libsecret \ libdbus-1.so:devel/dbus \ libpcre2-8.so:devel/pcre2 \ libgnutls.so:security/gnutls RUN_DEPENDS= gnome-icon-theme>=0:misc/gnome-icon-theme PORTSCOUT= limitw:1,even USES= autoreconf:2.69 desktop-file-utils gettext gmake gnome \ localbase pathfix pkgconfig shared-mime-info tar:xz vala:build xorg USE_GNOME= cairo gtk30 intlhack libxml2 vte3 USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-ssh CPPFLAGS+= -Wno-format-nonliteral GLIB_SCHEMAS= org.gnome.Vinagre.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= AVAHI SPICE TELEPATHY RDP DOCS OPTIONS_DEFAULT= AVAHI TELEPATHY RDP OPTIONS_DEFAULT_aarch64= SPICE OPTIONS_DEFAULT_amd64= SPICE OPTIONS_DEFAULT_armv6= SPICE OPTIONS_DEFAULT_armv7= SPICE OPTIONS_DEFAULT_i386= SPICE AVAHI_CONFIGURE_WITH= avahi AVAHI_LIB_DEPENDS= libavahi-ui-gtk3.so:net/avahi-gtk3 \ libavahi-common.so:net/avahi-app SPICE_DESC= SPICE protocol support SPICE_CONFIGURE_ENABLE= spice SPICE_BUILD_DEPENDS= spice-gtk>=0.30_1:deskutils/spice-gtk SPICE_LIB_DEPENDS= libspice-client-gtk-3.0.so:deskutils/spice-gtk TELEPATHY_DESC= Telepathy integration TELEPATHY_CONFIGURE_WITH= telepathy TELEPATHY_LIB_DEPENDS= libtelepathy-glib.so:net-im/telepathy-glib \ libdbus-glib-1.so:devel/dbus-glib RDP_DESC= MS Windows remote desktop support RDP_CONFIGURE_ENABLE= rdp RDP_BUILD_DEPENDS= xfreerdp:net/freerdp RDP_RUN_DEPENDS= xfreerdp:net/freerdp post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in AUTHORS COPYING ChangeLog NEWS README ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net/wireshark/Makefile b/net/wireshark/Makefile index dfbb7f5c7217..13fee48008cf 100644 --- a/net/wireshark/Makefile +++ b/net/wireshark/Makefile @@ -1,131 +1,132 @@ PORTNAME= wireshark DISTVERSION= 4.4.7 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://1.na.dl.wireshark.org/src/ \ https://1.eu.dl.wireshark.org/src/ \ https://1.as.dl.wireshark.org/src/ \ https://2.na.dl.wireshark.org/src/ \ http://ftp.uni-kl.de/pub/wireshark/src/ \ http://ftp.yz.yamagata-u.ac.jp/pub/network/security/wireshark/src/ \ https://wireshark.marwan.ma/download/src/ \ https://www.wireshark.org/download/src/ MAINTAINER= marcus@FreeBSD.org COMMENT= Powerful network analyzer/capture tool WWW= https://www.wireshark.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpcre2-8.so:devel/pcre2 \ libgcrypt.so:security/libgcrypt \ liblz4.so:archivers/liblz4 \ libnghttp2.so:www/libnghttp2 \ libnghttp3.so:www/libnghttp3 \ libbrotlidec.so:archivers/brotli \ libsnappy.so:archivers/snappy \ libcares.so:dns/c-ares \ libzstd.so:archivers/zstd \ libspeexdsp.so:audio/speexdsp FLAVORS= default nox11 FLAVOR?= ${FLAVORS:[1]} nox11_PKGNAMESUFFIX= -nox11 USES= cmake compiler:c++11-lang cpe gettext-runtime:build gnome \ localbase pathfix perl5 pkgconfig python ssl tar:xz USE_GNOME= glib20 libxml2 USE_PERL5= build USE_LDCONFIG= yes CONFLICTS_INSTALL= wireshark-lite tshark tshark-lite CMAKE_OFF= ENABLE_ILBC ENABLE_MINIZIP ENABLE_SBC ENABLE_SINSP \ ENABLE_AMRNB ENABLE_MINIZIPNG ENABLE_ZLIBNG CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_DOXYGEN:BOOL=True \ -DCMAKE_DISABLE_FIND_PACKAGE_Git:BOOL=True OPTIONS_DEFINE= ANDROIDDUMP DEVELOPMENT DOCS GNUTLS GUI LIBSSH LTO LUA \ MANPAGES MAXMIND RTP SNMP .if ${FLAVOR} == nox11 COMMENT+= (without GUI) OPTIONS_EXCLUDE= GUI RTP .endif OPTIONS_DEFAULT= ANDROIDDUMP DEVELOPMENT GNUTLS GSSAPI_BASE GUI MANPAGES MAXMIND \ RTP SNMP OPTIONS_DEFAULT_aarch64=LTO OPTIONS_DEFAULT_amd64= LTO OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_SUB= yes ANDROIDDUMP_DESC= Build androiddump extcap tool DEVELOPMENT_DESC= Install development headers and support files GNUTLS_DESC= Enable crypto support for SSL and IPSec via GnuTLS GUI_DESC= Enable Qt 6 based Wireshark GUI LIBSSH_DESC= Enable libssh support (req by cisco/ssh/wifidump) MAXMIND_DESC= Enable MaxMindDB-based GeoIP geolocation support RTP_DESC= Enable codec support for RTP streams (implies GUI) ANDROIDDUMP_CMAKE_BOOL= BUILD_androiddump DOCS_IMPLIES= MANPAGES GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CMAKE_BOOL= ENABLE_GNUTLS GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit GSSAPI_NONE_CONFIGURE_ENV_OFF= KRB5_CONFIG=${KRB5CONFIG} GSSAPI_NONE_CMAKE_BOOL= ENABLE_KERBEROS GUI_USES= desktop-file-utils shared-mime-info qt:6 GUI_USE= qt=5compat,base,multimedia,tools GUI_CONFIGURE_ENV= PATH="${PATH}:${QT_BINDIR}" GUI_MAKE_ENV= PATH="${PATH}:${QT_BINDIR}" GUI_CMAKE_BOOL= BUILD_wireshark LIBSSH_LIB_DEPENDS= libssh.so:security/libssh LIBSSH_CMAKE_BOOL= BUILD_ciscodump BUILD_sshdump BUILD_wifidump LTO_CMAKE_BOOL= ENABLE_LTO LUA_USES= lua:53-54 LUA_CPPFLAGS= -I${LUA_INCDIR} LUA_CMAKE_BOOL= ENABLE_LUA MANPAGES_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor MANPAGES_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Asciidoctor:BOOL=True MAXMIND_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb MAXMIND_CMAKE_BOOL= BUILD_mmdbresolve RTP_LIB_DEPENDS= libbcg729.so:audio/bcg729 \ libopus.so:audio/opus \ libspandsp.so:comms/spandsp RTP_CMAKE_BOOL= ENABLE_BCG729 ENABLE_OPUS ENABLE_SPANDSP RTP_IMPLIES= GUI SNMP_LIB_DEPENDS= libsmi.so:net-mgmt/libsmi SNMP_CMAKE_BOOL= ENABLE_SMI .include .if ${PORT_OPTIONS:MGSSAPI_BASE} && exists(${LOCALBASE}/include/krb5.h) IGNORE= cannot build with base Kerberos if krb5 port is installed. \ Use ``make config'' to choose a different option .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/share/applications|${DESKTOPDIR}|g ; \ s|/usr/share|${LOCALBASE}/share|g' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|lua$${LUA_INC_SUFFIX}|lua-${LUA_VER}|g' \ ${WRKSRC}/cmake/modules/FindLua.cmake post-install-DEVELOPMENT-on: cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${FAKEROOT} ${CMAKE_BIN} ${CMAKE_ARGS} -DCOMPONENT=Development -P cmake_install.cmake .include diff --git a/net/yaz++/Makefile b/net/yaz++/Makefile index 5044213fd2a2..8b37ee5aad19 100644 --- a/net/yaz++/Makefile +++ b/net/yaz++/Makefile @@ -1,23 +1,24 @@ PORTNAME= yaz++ DISTVERSION= 1.9.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://ftp.indexdata.dk/pub/yazpp/ DISTNAME= yazpp-${DISTVERSION} MAINTAINER= demon@FreeBSD.org COMMENT= C++ toolkit for development of Z39.50v3 clients and servers WWW= https://www.indexdata.dk/yazplusplus/ LIB_DEPENDS= libyaz.so:net/yaz USES= gnome libtool pathfix pkgconfig USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes LDFLAGS+= -Wl,--as-needed GNU_CONFIGURE= yes INSTALL_TARGET= install-strip .include diff --git a/net/yaz/Makefile b/net/yaz/Makefile index 1fdb89fa85dc..b8634223868c 100644 --- a/net/yaz/Makefile +++ b/net/yaz/Makefile @@ -1,49 +1,50 @@ PORTNAME= yaz DISTVERSION= 5.35.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://ftp.indexdata.dk/pub/${PORTNAME}/ MAINTAINER= nc@FreeBSD.org COMMENT= Z39.50/SR client and API library WWW= https://www.indexdata.com/resources/software/yaz/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libicuuc.so:devel/icu \ libgnutls.so:security/gnutls USES= autoreconf gnome iconv libtool ncurses pathfix \ localbase:ldflags pkgconfig readline shebangfix tcl:build,run SHEBANG_FILES= src/yaz-asncomp USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes GNU_CONFIGURE= yes USE_CSTD= c89 CFLAGS+= -Wno-error=int-conversion LIBS+= -lexecinfo PORTDOCS= * INSTALL_TARGET= install-strip CONFIGURE_ARGS= --enable-shared \ --enable-tcpd \ --with-iconv=${ICONV_PREFIX} \ --with-icu \ --with-xml2 \ --with-xslt OPTIONS_DEFINE= DOCS MEMCACHED REDIS MEMCACHED_DESC= Memcached distributed cache system support MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached MEMCACHED_CONFIGURE_WITH= memcached REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis REDIS_CONFIGURE_WITH= redis .include diff --git a/net/yazproxy/Makefile b/net/yazproxy/Makefile index f505cce1c76a..88b5477fdad0 100644 --- a/net/yazproxy/Makefile +++ b/net/yazproxy/Makefile @@ -1,19 +1,20 @@ PORTNAME= yazproxy DISTVERSION= 1.3.13 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://ftp.indexdata.dk/pub/yazproxy/ MAINTAINER= demon@FreeBSD.org COMMENT= Powerful general purpose Z39.50/SRW/SRU proxy WWW= https://www.indexdata.dk/yazproxy/ LIB_DEPENDS= libyaz.so:net/yaz \ libyazpp.so:net/yaz++ USES= gnome libtool USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes GNU_CONFIGURE= yes .include diff --git a/net/zebra-server/Makefile b/net/zebra-server/Makefile index 3e1e41177ea8..928c313f14ae 100644 --- a/net/zebra-server/Makefile +++ b/net/zebra-server/Makefile @@ -1,26 +1,26 @@ PORTNAME= zebra-server PORTVERSION= 2.0.55 -PORTREVISION= 23 +PORTREVISION= 24 CATEGORIES= net MASTER_SITES= http://ftp.indexdata.dk/pub/zebra/ DISTNAME= idzebra-${PORTVERSION} MAINTAINER= ben@gibbed.org COMMENT= Z39.50/SR server software WWW= https://www.indexdata.dk/zebra/ LIB_DEPENDS= libexpat.so:textproc/expat2 \ libicui18n.so:devel/icu \ libyaz.so:net/yaz GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-yaz=${LOCALBASE}/bin \ --with-tclconfig=${TCL_LIBDIR} \ --with-iconv=${ICONV_PREFIX} --with-expat=${LOCALBASE} INSTALL_TARGET= install-strip USES= iconv libtool shebangfix tcl SHEBANG_FILES= util/idzebra-abs2dom USE_LDCONFIG= yes .include diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile index e3f805dfe8e3..7befa37bff70 100644 --- a/news/nzbget/Makefile +++ b/news/nzbget/Makefile @@ -1,60 +1,60 @@ PORTNAME= nzbget DISTVERSIONPREFIX= v DISTVERSION= 24.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= news MAINTAINER= a13xlevy@pm.me COMMENT= Binary newsreader supporting NZB files WWW= https://nzbget.net/ LICENSE= GPLv2 LIB_DEPENDS= libboost_json.so:devel/boost-libs RUN_DEPENDS= 7-zip>0:archivers/7-zip \ unrar>0:archivers/unrar # Since v24.4 nzbget maintainers switched from libpar2 to a fork of par2cmdline-turbo which is in its own repository. # See https://github.com/nzbgetcom/nzbget/blob/v24.4/cmake/par2-turbo.cmake for the version to pull PAR2CMDLINE_TURBO_VERSION= 1.2.0-nzbget-20250213 USES= cmake:testing,noninja gnome ssl USE_GITHUB= yes GH_ACCOUNT= nzbgetcom GH_PROJECT= nzbget par2cmdline-turbo:par2 GH_TAGNAME= ${DISTVERSIONPREFIX}${PAR2CMDLINE_TURBO_VERSION}:par2 USE_GNOME= libxml2 USE_RC_SUBR= nzbget CMAKE_TESTING_ON= ENABLE_TESTS BINMODE= 0755 SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS NCURSES PAR2 PYTHON OPTIONS_DEFAULT= NCURSES PAR2 PAR2_DESC= PAR 2.0 compatible file verification and repair NCURSES_USES= ncurses NCURSES_CMAKE_BOOL_OFF= DISABLE_CURSES PAR2_CMAKE_BOOL_OFF= DISABLE_PARCHECK PYTHON_USES= python:run,3.9+ .include .if (${ARCH} == "i386") CMAKE_ARGS+= -DDISABLE_SIGCHLD_HANDLER=ON .endif pre-configure-PAR2-on: ${MKDIR} ${BUILD_WRKSRC}/par2-turbo/src ${MV} ${WRKDIR}/par2cmdline-turbo-${PAR2CMDLINE_TURBO_VERSION} ${BUILD_WRKSRC}/par2-turbo/src/par2-turbo post-install: ${INSTALL_DATA} ${WRKSRC}/nzbget.conf \ ${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample .include diff --git a/print/fontforge/Makefile b/print/fontforge/Makefile index aa9a0541c9e0..ac4670010de3 100644 --- a/print/fontforge/Makefile +++ b/print/fontforge/Makefile @@ -1,125 +1,125 @@ PORTNAME= fontforge DISTVERSION= 20230101 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Type 1/TrueType/OpenType/bitmap font editor WWW= https://fontforge.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 USES= compiler:c++11-lang cmake cpe desktop-file-utils gettext gnome \ iconv:wchar_t pkgconfig shared-mime-info tar:xz USE_GNOME= cairo glib20 libxml2 USE_LDCONFIG= yes PORTDOCS= * CMAKE_ARGS= -DIconv_INCLUDE_DIR=${ICONV_INCLUDE_PATH} \ -DIconv_LIBRARY=${ICONV_LIB_PATH} OPTIONS_DEFINE= DOCS FREETYPE GIF JPEG PNG PYTHON READLINE SPIRO TIFF \ TILEPATH UNINAMESLIST WOFF2 WRITEPFM OPTIONS_RADIO= GUI OPTIONS_RADIO_GUI= GTK3 X11 OPTIONS_SINGLE= THEME OPTIONS_SINGLE_THEME= TANGO 2012 OPTIONS_DEFAULT=GIF GTK3 JPEG PNG PYTHON READLINE SPIRO TANGO TIFF \ TILEPATH UNINAMESLIST WOFF2 OPTIONS_SUB= yes 2012_DESC= Old theme that was used until 2012 2012_CMAKE_ON= -DTHEME:ENUM=2012 DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} DOCS_CMAKE_BOOL=ENABLE_DOCS FREETYPE_DESC= Include freetype's internal debugger FREETYPE_PATCH_DEPENDS= ${NONEXISTENT}:print/freetype2:extract FREETYPE_CMAKE_ON= -DENABLE_FREETYPE_DEBUGGER:PATH=${WRKSRC}/freetype GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_BOOL= ENABLE_LIBGIF GTK3_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz GTK3_USE= gnome=gdkpixbuf,gtk30 JPEG_USES= jpeg JPEG_CMAKE_BOOL=ENABLE_LIBJPEG PNG_LIB_DEPENDS=libpng.so:graphics/png PNG_CMAKE_BOOL= ENABLE_LIBPNG PYTHON_USES= python PYTHON_USES_OFF=python:build PYTHON_CMAKE_BOOL= ENABLE_PYTHON_SCRIPTING ENABLE_PYTHON_EXTENSION READLINE_USES= readline READLINE_CMAKE_BOOL= ENABLE_LIBREADLINE SPIRO_DESC= Use libspiro to edit with clothoid splines SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro SPIRO_CMAKE_BOOL= ENABLE_LIBSPIRO TANGO_DESC= Default theme based on the Tango Desktop Project TANGO_CMAKE_ON= -DTHEME:ENUM=tango TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_BOOL=ENABLE_LIBTIFF # This is disabled by default in fontforge's CMakeLists.txt, but it was # previously enabled in this port when it was using GNU configure, so I've # defaulted it to enabled TILEPATH_DESC= Enable a 'tile path' command (a variant of 'expand stroke') TILEPATH_CMAKE_BOOL= ENABLE_TILE_PATH UNINAMESLIST_DESC= Use libuninameslist for Unicode attribute data UNINAMESLIST_LIB_DEPENDS= libuninameslist.so:textproc/libuninameslist UNINAMESLIST_CMAKE_BOOL= ENABLE_LIBUNINAMESLIST WOFF2_DESC= WOFF2 web font support WOFF2_LIB_DEPENDS= libbrotlidec.so:archivers/brotli \ libwoff2dec.so:devel/woff2 WOFF2_CMAKE_BOOL= ENABLE_WOFF2 WRITEPFM_DESC= Add ability to save PFM file w/o creating associated font file WRITEPFM_CMAKE_BOOL= ENABLE_WRITE_PFM X11_USES= xorg X11_USE= gnome=pango xorg=ice,sm,x11,xext,xft,xi X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz X11_RUN_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont/unifont.pcf.gz:x11-fonts/gnu-unifont X11_CMAKE_BOOL= ENABLE_X11 .include .if ${PORT_OPTIONS:MGTK3} || ${PORT_OPTIONS:MX11} CMAKE_ARGS+= -DENABLE_GUI:BOOL=true .else CMAKE_ARGS+= -DENABLE_GUI:BOOL=false .endif post-patch: # https://github.com/fontforge/fontforge/issues/5251 @${REINPLACE_CMD} 's/\(%[^%[:space:]]*\)hs/\1s/g' \ ${WRKSRC}/fontforgeexe/searchview.c \ ${WRKSRC}/po/de.po ${WRKSRC}/po/ca.po ${WRKSRC}/po/hr.po \ ${WRKSRC}/po/it.po ${WRKSRC}/po/pl.po ${WRKSRC}/po/uk.po \ ${WRKSRC}/po/en_GB.po ${WRKSRC}/po/fr.po ${WRKSRC}/po/vi.po \ ${WRKSRC}/po/ko.po ${WRKSRC}/po/ja.po post-patch-FREETYPE-on: @${LN} -s $$(${MAKE} -C ${PORTSDIR}/print/freetype2 -V WRKSRC) \ ${WRKSRC}/freetype post-stage-DOCS-on: @${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo \ ${STAGEDIR}${DOCSDIR}/.nojekyll .include diff --git a/print/foomatic-db-engine/Makefile b/print/foomatic-db-engine/Makefile index 79a674cccbe1..6fed59e81519 100644 --- a/print/foomatic-db-engine/Makefile +++ b/print/foomatic-db-engine/Makefile @@ -1,41 +1,41 @@ PORTNAME= foomatic-db-engine PORTVERSION= 4.0.13 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 2 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/foomatic/ MAINTAINER= bofh@FreeBSD.org COMMENT= Foomatic database engine WWW= https://www.linuxprinting.org/foomatic.html LICENSE= GPLv2 LIB_DEPENDS= libcurl.so:ftp/curl USES= gmake gnome perl5 USE_GNOME= libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= PERL=${PERL} LIBDIR=${PREFIX}/share/foomatic/ \ LIB_CUPS=${LOCALBASE}/libexec/cups \ CUPS_FILTERS=${LOCALBASE}/libexec/cups/filters \ CUPS_BACKENDS=${LOCALBASE}/libexec/cups/backends MAKE_JOBS_UNSAFE= yes post-patch: @${REINPLACE_CMD} -e \ "s,sysconfdir=/etc,sysconfdir=\'${PREFIX}/etc\',g ; \ s,/usr/local/etc:,${PREFIX}/etc:,g" ${WRKSRC}/configure @${REINPLACE_CMD} -e \ "s,/usr/local/bin:,${PREFIX}/bin:,g" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ "/if \[ -d/ s,LIB_CUPS,PREFIX," ${WRKSRC}/Makefile.in post-install: .for file in foomatic-combo-xml foomatic-perl-data ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file} .endfor .include diff --git a/print/scribus-devel/Makefile b/print/scribus-devel/Makefile index 9a9b70d4548f..3dd1dd2b0cb5 100644 --- a/print/scribus-devel/Makefile +++ b/print/scribus-devel/Makefile @@ -1,78 +1,78 @@ PORTNAME= scribus DISTVERSION= 1.7.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}/ \ http://www.scribus.net/downloads/${PORTVERSION}/ PKGNAMESUFFIX= -devel PATCH_SITES= https://github.com/scribusproject/scribus/commit/ PATCHFILES= 188d030acd0cb71e89dbb57695fe52158b6a0959.patch:-p1 \ f553dce73905d11b301901dc039e973c18adf0a5.patch:-p1 MAINTAINER= pkubaj@FreeBSD.org COMMENT= Comprehensive desktop publishing program (development version) WWW= https://www.scribus.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ librevenge-0.0.so:textproc/librevenge \ libcups.so:print/cups \ libcdr-0.1.so:graphics/libcdr01 \ libfreehand-0.1.so:graphics/libfreehand \ libpagemaker-0.0.so:print/libpagemaker \ libmspub-0.1.so:print/libmspub01 \ libvisio-0.1.so:textproc/libvisio01 \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libpoppler.so:graphics/poppler \ libharfbuzz-icu.so:print/harfbuzz-icu \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libicuuc.so:devel/icu \ libqxp-0.0.so:textproc/libqxp \ libzmf-0.0.so:graphics/libzmf USES= cmake compiler:c++17-lang desktop-file-utils gl gnome jpeg \ pkgconfig python qt:6 shared-mime-info tar:xz xorg USE_GL= gl opengl USE_GNOME= cairo libxml2 USE_QT= 5compat base svg tools USE_XORG= xcb CMAKE_ARGS= -DWANT_CPP17=YES CONFLICTS_INSTALL= scribus OPTIONS_DEFINE= BOOST DOCS GRAPHICSMAGICK HUNSPELL OSG PDF OPTIONS_DEFAULT=BOOST GRAPHICSMAGICK HUNSPELL OSG PDF BOOST_DESC= Enable support for Boost-based enhancement GRAPHICSMAGICK_DESC= Use GraphicsMagick for image import support HUNSPELL_DESC= Enable spellchecking via hunspell OSG_DESC= Enable 3D rendering via osg PDF_DESC= Enable PDF export via podofo BOOST_BUILD_DEPENDS= boost-libs>0:devel/boost-libs BOOST_CMAKE_BOOL= WITH_BOOST GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick GRAPHICSMAGICK_CMAKE_BOOL= WANT_GRAPHICSMAGICK HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell HUNSPELL_CMAKE_BOOL= WANT_HUNSPELL OSG_LIB_DEPENDS= libosg.so:graphics/osg OSG_CMAKE_BOOL_OFF= WANT_NOOSG PDF_LIB_DEPENDS= libpodofo.so:graphics/podofo PDF_CMAKE_BOOL= WITH_PODOFO post-install: ${LN} -sf ../scribus/icons/1_5_1/scribus.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/print/scribus/Makefile b/print/scribus/Makefile index 473fd8683c42..e29fd7435b9a 100644 --- a/print/scribus/Makefile +++ b/print/scribus/Makefile @@ -1,75 +1,75 @@ PORTNAME= scribus DISTVERSION= 1.6.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}/ \ http://www.scribus.net/downloads/${PORTVERSION}/ PATCH_SITES= https://github.com/scribusproject/scribus/commit/ PATCHFILES= 3f0f902d6e47adb45d280947f448bcca6c4e2556.patch:-p1 MAINTAINER= pkubaj@FreeBSD.org COMMENT= Comprehensive desktop publishing program WWW= https://www.scribus.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ librevenge-0.0.so:textproc/librevenge \ libcups.so:print/cups \ libcdr-0.1.so:graphics/libcdr01 \ libfreehand-0.1.so:graphics/libfreehand \ libpagemaker-0.0.so:print/libpagemaker \ libmspub-0.1.so:print/libmspub01 \ libvisio-0.1.so:textproc/libvisio01 \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libpoppler.so:graphics/poppler \ libharfbuzz-icu.so:print/harfbuzz-icu \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libicuuc.so:devel/icu \ libqxp-0.0.so:textproc/libqxp \ libzmf-0.0.so:graphics/libzmf USES= cmake compiler:c++17-lang desktop-file-utils gnome jpeg \ pkgconfig python qt:5 shared-mime-info tar:xz USE_QT= buildtools:build core gui linguisttools:build network opengl \ printsupport qmake:build widgets xml USE_GNOME= cairo libxml2 CMAKE_ARGS= -DWANT_CPP17=YES CONFLICTS_INSTALL= scribus-devel OPTIONS_DEFINE= BOOST DOCS GRAPHICSMAGICK HUNSPELL OSG PDF OPTIONS_DEFAULT=BOOST GRAPHICSMAGICK HUNSPELL OSG PDF BOOST_DESC= Enable support for Boost-based enhancement GRAPHICSMAGICK_DESC= Use GraphicsMagick for image import support HUNSPELL_DESC= Enable spellchecking via hunspell OSG_DESC= Enable 3D rendering via osg PDF_DESC= Enable PDF export via podofo BOOST_BUILD_DEPENDS= boost-libs>0:devel/boost-libs BOOST_CMAKE_BOOL= WITH_BOOST GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick GRAPHICSMAGICK_CMAKE_BOOL= WANT_GRAPHICSMAGICK HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell HUNSPELL_CMAKE_BOOL= WANT_HUNSPELL OSG_LIB_DEPENDS= libosg.so:graphics/osg OSG_CMAKE_BOOL_OFF= WANT_NOOSG PDF_LIB_DEPENDS= libpodofo.so:graphics/podofo PDF_CMAKE_BOOL= WITH_PODOFO post-install: ${LN} -sf ../scribus/icons/1_5_1/scribus.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/print/simple-fb2-reader/Makefile b/print/simple-fb2-reader/Makefile index 32bd1053402a..da9d91efd7f8 100644 --- a/print/simple-fb2-reader/Makefile +++ b/print/simple-fb2-reader/Makefile @@ -1,20 +1,20 @@ PORTNAME= simple-fb2-reader PORTVERSION= 1.1.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= print MAINTAINER= ports@FreeBSD.org COMMENT= Simple FB2 format book reader WWW= https://github.com/Cactus64k/simple-fb2-reader LICENSE= GPLv3+ LIB_DEPENDS= libzip.so:archivers/libzip USES= cmake desktop-file-utils gettext-runtime gnome pkgconfig \ shared-mime-info sqlite USE_GITHUB= yes GH_ACCOUNT= Cactus64k USE_GNOME= cairo gdkpixbuf gtk30 libxml2 .include diff --git a/print/xreader/Makefile b/print/xreader/Makefile index 2dc372c5e81a..64ddbc76ce5f 100644 --- a/print/xreader/Makefile +++ b/print/xreader/Makefile @@ -1,98 +1,98 @@ PORTNAME= xreader PORTVERSION= 4.2.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Multi-format document reader WWW= https://github.com/linuxmint/xreader LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limit:^[0-9.]+$$ # ignore non-numeric tags BUILD_DEPENDS= intltool-merge:textproc/intltool \ itstool:textproc/itstool LIB_DEPENDS= libxapp.so:x11/xapp USES= desktop-file-utils gettext-tools gnome meson pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf gtk30 libxml2 USE_XORG= ice sm x11 GLIB_SCHEMAS= org.x.reader.gschema.xml MATHJAX_DIR= ${LOCALBASE}/www/MathJax OPTIONS_DEFINE= DBUS DOCS HELP INTROSPECTION KEYRING T1LIB OPTIONS_GROUP= BACKENDS OPTIONS_GROUP_BACKENDS= COMICS DJVU DVI EPUB PDF PIXBUF PS TIFF XPS OPTIONS_DEFAULT= DBUS DJVU DOCS HELP KEYRING PDF TIFF XPS OPTIONS_SUB= yes BACKENDS_DESC= Document formats support COMICS_DESC= Comic book (cbr) support DVI_DESC= DVI format support EPUB_DESC= EPUB e-book format support HELP_DESC= Install help files INTROSPECTION_DESC= Enable GObject introspection KEYRING_DESC= Password-protected document support PIXBUF_DESC= Image files support via GdkPixbuf T1LIB_DESC= Type1 font support in DVI backend XPS_DESC= XPS document format support COMICS_USES= libarchive COMICS_MESON_TRUE= comics DBUS_RUN_DEPENDS= dbus-daemon:devel/dbus DBUS_MESON_TRUE= enable_dbus DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_MESON_TRUE= djvu DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= docs DVI_LIB_DEPENDS= libspectre.so:print/libspectre DVI_USES= tex DVI_USE= TEX=kpathsea DVI_MESON_TRUE= dvi EPUB_BUILD_DEPENDS= ${MATHJAX_DIR}/MathJax.js:www/mathjax EPUB_LIB_DEPENDS= libwebkit2gtk-4.1.so:www/webkit2-gtk@41 EPUB_RUN_DEPENDS= ${EPUB_BUILD_DEPENDS} EPUB_MESON_ON= -Dmathjax-directory=${MATHJAX_DIR} EPUB_MESON_OFF= -Depub=false HELP_RUN_DEPENDS= yelp:x11/yelp HELP_MESON_TRUE= help_files INTROSPECTION_USE= GNOME=introspection:build INTROSPECTION_MESON_TRUE= introspection KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret KEYRING_MESON_TRUE= keyring PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_MESON_TRUE= pdf PIXBUF_MESON_TRUE= pixbuf PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_MESON_TRUE= ps T1LIB_LIB_DEPENDS= libt1.so:devel/t1lib T1LIB_MESON_TRUE= t1lib T1LIB_USES= localbase:ldflags T1LIB_IMPLIES= DVI TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_TRUE= tiff XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps XPS_MESON_TRUE= xps .include diff --git a/science/abinit/Makefile b/science/abinit/Makefile index 2d49adde13b9..a310bee72cd0 100644 --- a/science/abinit/Makefile +++ b/science/abinit/Makefile @@ -1,134 +1,135 @@ PORTNAME= abinit DISTVERSION= 10.2.7 +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Full-featured atomic-scale first-principles simulation software WWW= https://www.abinit.org \ https://github.com/abinit/abinit LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le BUILD_DEPENDS= gm4:devel/m4 \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}graphviz>0:graphics/py-graphviz@${PY_FLAVOR} LIB_DEPENDS= libelpa.so:math/elpa \ libsz.so:science/libaec \ libxc.so:science/libxc \ libfftw3.so:math/fftw3 \ libhdf5.so:science/hdf5 \ libnetcdf.so:science/netcdf \ libxmlf90.so:textproc/xmlf90 \ libwannier.so:science/wannier90 \ libnetcdff.so:science/netcdf-fortran RUN_DEPENDS= atompaw:science/atompaw TEST_DEPENDS= bash:shells/bash \ ${PYNUMPY} \ libyaml>0:textproc/libyaml USES= autoreconf:build blaslapack:netlib fortran gmake gnome localbase:ldflags \ python shebangfix USE_GITHUB= yes USE_GNOME= libxml2 SHEBANG_FILES= config/scripts/* doc/tutorial/paral_bandpw_assets/abinit.sub.* SHEBANG_GLOB= *.py *.sh GNU_CONFIGURE= yes CONFIGURE_ENV= H5CC="${LOCALBASE}/bin/h5cc" \ HDF5_CFLAGS="-I${LOCALBASE}/include" \ HDF5_LDFLAGS="-L${LOCALBASE}/lib -lhdf5" \ LINALG_FCFLAGS="-I${LOCALBASE}/include/elpa-2019.05.002/modules" \ LINALG_LIBS="${BLASLIB} ${LAPACKLIB} -lelpa" \ NETCDF_FORTRAN_FCFLAGS=-I${LOCALBASE}/include \ XMLF90_FCFLAGS=-I${LOCALBASE}/include/xmlf90 \ WANNIER90_LIBS="${BLASLIB} ${LAPACKLIB} -lwannier" CONFIGURE_ARGS= --with-fft --with-libxc --with-libxml2 --with-netcdf \ --with-netcdf-fortran --with-wannier90 --with-xmlf90 FCFLAGS+= -ffree-line-length-none TEST_TARGET= tests_abirules tests_buildsys # Many tests print RuntimeError, https://github.com/abinit/abinit/issues/64 TEST_WRKSRC= ${WRKSRC}/abichecks PORTDOCS= * BINARY_ALIAS= git=false OPTIONS_DEFINE= DOCS OPENMP OPTIONS_DEFAULT= MPICH OPTIONS_RADIO= MPIX OPTIONS_RADIO_MPIX= NOMPI MPICH OPENMPI OPENMP_CONFIGURE_ENABLE= openmp OPENMP_LDFLAGS= -lomp MIX_DESC= MPI options NOMPI_DESC= Do not use MPI NOMPI_CONFIGURE_ON= CC_LDFLAGS="${LDFLAGS}" CXX_LDFLAGS="${LDFLAGS}" \ FC_LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" OPENMPI_USES= mpi:openmpi OPENMPI_CONFIGURE_ON= mpi=yes OPENMPI_VARS= FCFLAGS+="`pkg-config --cflags ompi-fort`" \ CFLAGS+="${MPI_CFLAGS}" \ LDFLAGS+="${MPI_LDFLAGS}" OPENMPI_CONFIGURE_ENV= ${MPIX_CONFIGURE_ENV} \ MPI_FCFLAGS="`pkg-config --cflags ompi-fort`" MPICH_USES= mpi:mpich MPICH_CONFIGURE_ON= mpi=yes MPICH_VARS= FFLAGS+=-I${LOCALBASE}/include FCFLAGS+=-I${LOCALBASE}/include \ CONFIGURE_ENV+=MPI_LIBS="`pkg-config --libs mpich` -lmpifort" \ CONFIGURE_ENV+MPI_LDFLAGS="`pkg-config --libs mpich` -lmpifort" MPICH_CONFIGURE_ENV= ${MPIX_CONFIGURE_ENV} MPIX_CONFIGURE_ENV= CC_LDFLAGS="${MPI_LIBS} ${LDFLAGS}" \ CXX_LDFLAGS="${MPI_LIBS} ${LDFLAGS}" \ FC_LDFLAGS="${MPI_LIBS} ${LDFLAGS}" \ CFLAGS="${MPI_CFLAGS} ${CFLAGS} ${CFLAGS_F2018}" \ MPI_CPPFLAGS="${MPI_CFLAGS}" \ MPI_LIBS="${MPI_LIBS}" \ MPI_LDFLAGS="${MPI_LIBS}" # When OpenMPI is enabled, put its related variables 1st to avoid conflicts with MPICH .if defined(WITH_LEVMAR) # --with-levmar seems deprecated LIB_DEPENDS+= liblevmar.so:math/levmar CONFIGURE_ENV+= LEVMAR_LIBS="-llevmar ${BLASLIB} ${LAPACKLIB}" CONFIGURE_ARGS+= --with-levmar .endif .include .if ${GCC_DEFAULT} >= 10 FCFLAGS+= -fallow-argument-mismatch # see https://github.com/abinit/abinit/issues/41 .endif pre-configure: # version lines below are workaround for https://github.com/abinit/abinit/issues/75 @cd ${WRKSRC} && \ ${ECHO} ${PORTVERSION} > .version && \ ${ECHO} ${PORTVERSION} > .tarball-version && \ ./autogen.sh post-install-DOCS-on: ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/doc/tutorial/paral_moldyn_assets/diag_moldyn.py ${RM} ${WRKSRC}/doc/tutorial/paral_moldyn_assets/diag_moldyn.py.bak @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -R ${WRKSRC}/doc/tutorial ${STAGEDIR}${DOCSDIR} pre-test: ${TOUCH} ${TEST_WRKSRC}/make.log test-long: # run all examples from tutorial/Input @cd ${WRKSRC}/tests/tutorial/Input && \ for abi in `${LS} *.abi`; do \ ${ECHO} "===> Running example $$abi" && \ ${SETENV} PATH=${STAGEDIR}${PREFIX}/bin:${PATH} ABI_PSPDIR=${WRKSRC}/tests/Psps_for_tests abinit $$abi; \ done # fftw3 not enabled because libfftw3_mpi is required but not packaged .include diff --git a/science/afni/Makefile b/science/afni/Makefile index 062b567c1ec2..920401368d79 100644 --- a/science/afni/Makefile +++ b/science/afni/Makefile @@ -1,163 +1,164 @@ PORTNAME= afni DISTVERSIONPREFIX= AFNI_ DISTVERSION= 25.1.15 +PORTREVISION= 1 CATEGORIES= science biology graphics perl5 python MAINTAINER= fernape@FreeBSD.org COMMENT= Advanced Functional Neuro Imaging WWW= https://afni.nimh.nih.gov/afni/ LICENSE= GPLv2 BROKEN_aarch64= fails to build: statement requires expression of scalar type \ ('va_list' (aka '__builtin_va_list') invalid) CRAN_DEPENDS= R-cran-lme4>0:math/R-cran-lme4 \ R-cran-snow>0:science/R-cran-snow \ R-cran-psych>0:math/R-cran-psych BUILD_DEPENDS= gm4:devel/m4 \ R:math/R \ ${CRAN_DEPENDS} LIB_DEPENDS= libexpat.so:textproc/expat2 \ libXm.so:x11-toolkits/open-motif \ libf2c.so:lang/f2c \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgsl.so:math/gsl \ libicudata.so:devel/icu \ libnetcdff.so:science/netcdf-fortran \ libnetpbm.so:graphics/netpbm \ libpcre2-8.so:devel/pcre2 \ libpng16.so:graphics/png # Remote execution of suma. Also needed for glxinfo. RUN_DEPENDS= endian:sysutils/endian \ ffmpeg:multimedia/ffmpeg \ qhull:math/qhull \ R:math/R \ ${CRAN_DEPENDS} USES= gettext gl gmake gnome iconv jpeg:run motif readline USES+= perl5 python shebangfix tar:xz xorg USE_GITHUB= yes USE_GL= gl glu USE_GNOME= glib20 libxml2 USE_XORG= ice sm x11 xau xcb xdmcp xext xft xi xmu xrender xt SHEBANG_FILES= scripts_install/* \ python_scripts/afnipy/*.py \ python_scripts/scripts/*.py \ jzosky/*.py \ jzosky/lib_RetroTS/*.py \ discoraj/ClusterExplorer/*.py \ pkundu/*.py \ pkundu/meica.libs/*.py \ pkundu/meica.libs/*/*.py \ pkundu/meica.libs/*/*/*.py MAKE_ENV= CC="${CC}" R_SHARE_DIR=${LOCALBASE}/lib/R/share MAKE_JOBS_UNSAFE=yes ALL_TARGET= vastness suma CFLAGS+= -fcommon -Wno-incompatible-function-pointer-types ########################################################################### # Install parameters SUB_FILES= pkg-message afni.cshrc afni.profile INSTALL_WRKSRC= ${WRKSRC}/BSD WRKSRC_SUBDIR= src OPTIONS_DEFINE= DOCS INSTALL_TMP= ${INSTALL_WRKSRC}-temp PRESTAGE= ${WRKSRC}/prestage .include CONFLICTS= im \ nifticlib \ open-usp-tukubai X11R6_FILES= coxplot/Makefile \ coxplot/Makefile.f2c PKG_COMPRESSION_LEVEL= 6 post-extract: .for f in ${X11R6_FILES} @${REINPLACE_CMD} \ -e 's|/usr/X11R6|$${LOCALBASE}|g' ${WRKSRC}/${f} .endfor @${REINPLACE_CMD} \ -E 's|AFNI_[0-9_]+|${PORTVERSION}|g' ${WRKSRC}/AFNI_label.h @${CP} ${FILESDIR}/Makefile ${WRKSRC} @${RM} ${WRKSRC}/3DEdge/src/Makefile.orig pre-configure: @${REINPLACE_CMD} -e "s|-lglib|-lglib-2.0|g" \ ${WRKSRC}/SUMA/SUMA_Makefile @${REINPLACE_CMD} \ -e 's|os\.path\.dirname(os\.path\.abspath(os\.path\.expanduser(sys\.argv\[0\])))|"${DATADIR}"|g' \ ${WRKSRC}/pkundu/meica.py do-install: # AFNI install just dumps everything into one flat directory # ${WRKSRC}/BSD == ${INSTALL_WRKSRC}. # Preserve ${INSTALL_WRKSRC} and make a sacrificial temp copy # to be pruned and rearranged for easy staging @${RM} -r ${INSTALL_TMP} @${CP} -R ${INSTALL_WRKSRC} ${INSTALL_TMP} # Clean up and organize files into ${PRESTAGE}, destroying # ${INSTALL_TMP} in the process @${RM} -rf ${PRESTAGE} @${MKDIR} ${PRESTAGE}/bin \ ${PRESTAGE}/scripts \ ${PRESTAGE}/lib \ ${PRESTAGE}/include \ ${PRESTAGE}/trash \ ${PRESTAGE}/doc \ ${PRESTAGE}/share \ ${PRESTAGE}/pylib @${RM} ${INSTALL_TMP}/libf2c.a @${MV} ${INSTALL_TMP}/meica.libs \ ${INSTALL_TMP}/shiny \ ${INSTALL_TMP}/lib_RetroTS \ ${INSTALL_TMP}/funstuff \ ${INSTALL_TMP}/AFNI.*rc \ ${INSTALL_TMP}/afnigui* \ ${PRESTAGE}/share @${MV} ${INSTALL_TMP}/*.a \ ${INSTALL_TMP}/*.so \ ${PRESTAGE}/lib @${MV} ${INSTALL_TMP}/*.h ${PRESTAGE}/include @${MV} ${INSTALL_TMP}/afnipy ${PRESTAGE}/pylib @${CP} ${WRKDIR}/afni-AFNI_${PORTVERSION}/doc/README/* ${PRESTAGE}/doc @for binary in `${FILE} ${INSTALL_TMP}/* | fgrep 'ELF' | ${AWK} -F ':' ' { print $$1 }'` ; do \ ${MV} $${binary} ${PRESTAGE}/bin ; \ done @${MV} ${INSTALL_TMP}/* ${PRESTAGE}/scripts # Install to STAGEDIR using proper ports tools @${MKDIR} \ ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${PREFIX}/lib/afni \ ${STAGEDIR}${PREFIX}/include/afni \ ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${PREFIX}/etc/mri ${INSTALL_PROGRAM} ${PRESTAGE}/bin/* ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${PRESTAGE}/scripts/* ${STAGEDIR}${PREFIX}/bin (cd ${PRESTAGE}/pylib && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}) ${INSTALL_DATA} ${PRESTAGE}/lib/* ${STAGEDIR}${PREFIX}/lib/afni ${INSTALL_DATA} ${PRESTAGE}/include/* ${STAGEDIR}${PREFIX}/include/afni (cd ${PRESTAGE}/share && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${INSTALL_SCRIPT} ${WRKDIR}/afni.cshrc ${WRKDIR}/afni.profile \ ${STAGEDIR}${PREFIX}/etc/mri do-install-DOCS-on: ${INSTALL_DATA} ${PRESTAGE}/doc/* ${STAGEDIR}${DOCSDIR} .include diff --git a/science/fleur/Makefile b/science/fleur/Makefile index f8e5cc7bf64b..062471209bd4 100644 --- a/science/fleur/Makefile +++ b/science/fleur/Makefile @@ -1,87 +1,87 @@ PORTNAME= fleur DISTVERSION= 7.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science # chemistry MAINTAINER= yuri@FreeBSD.org COMMENT= FLAPW code for atomic computations in quantum chemistry and physics WWW= https://www.flapw.de/master/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_aarch64= Fatal Error: Cannot find an intrinsic module named 'ieee_arithmetic' at (1) LIB_DEPENDS= libfftw3.so:math/fftw3 \ libhdf5.so:science/hdf5 \ liblapack.so:math/lapack \ libopenblas.so:math/openblas TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ USES= cmake:noninja fortran gnome localbase:ldflags python:test tar:tgz USE_GNOME= libxml2 USE_GITLAB= yes GL_SITE= https://iffgit.fz-juelich.de GL_TAGNAME= 447eed3b7ec3de5fcdfbd232cd1eda4caefb51d3 FFLAGS= -I${LOCALBASE}/include LDFLAGS+= -llapack -lopenblas -lxml2 # to fix missing symbols, see https://iffgit.fz-juelich.de/fleur/fleur/-/issues/670 OPTIONS_DEFINE= HDF5 KPLIB MPI SCALAPACK ELPA LIBXC WANNIER OPTIONS_DEFAULT= MPI SCALAPACK ELPA WANNIER # HDF5 KPLIB LIBXC HDF5_CMAKE_BOOL= CLI_FLEUR_USE_HDF5 HDF5_CMAKE_ON= -DHDF5_INCLUDE_DIRS=${LOCALBASE}/include HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_BROKEN= Missing hdf5.mod in hdf5 # hdf5 doesn't include Fortran binding KPLIB_DESC= Use kpLib library #KPLIB_CMAKE_BOOL= CLI_FLEUR_USE_KPLIB KPLIB_DEPENDS= libkplib.so:science/kplib KPLIB_BROKEN= Fails to find the pre-installed libkplib.so library, see https://iffgit.fz-juelich.de/fleur/fleur/-/issues/691 MPI_CMAKE_BOOL= CLI_FLEUR_USE_MPI MPI_LDFLAGS= -lmpich -lmpifort MPI_LIB_DEPENDS= libmpich.so:net/mpich MPI_VARS= SUFFIX=_MPI SCALAPACK_DESC= Use the ScaLAPACK Scalable LAPACK library SCALAPACK_CMAKE_BOOL= FLEUR_USE_SCALAPACK # no such variable, see https://iffgit.fz-juelich.de/fleur/fleur/-/issues/692, it works only through LDFLAGS set below SCALAPACK_VARS= FFLAGS+=-fallow-argument-mismatch SCALAPACK_LDFLAGS= -lscalapack SCALAPACK_LIB_DEPENDS= libscalapack.so:math/scalapack SCALAPACK_IMPLIES= MPI ELPA_DESC= Use libelpa, Eigenvalue SoLver for Petaflop Applications ELPA_CMAKE_BOOL= FLEUR_USE_ELPA # no such variable, see https://iffgit.fz-juelich.de/fleur/fleur/-/issues/689, it works only through FFLAGS set below ELPA_VARS= FFLAGS+=-I${LOCALBASE}/include/elpa-2021.11.001/modules ELPA_LDFLAGS= -lelpa ELPA_LIB_DEPENDS= libelpa.so:math/elpa LIBXC_DESC= Use libxc library LIBXC_CMAKE_BOOL= CLI_FLEUR_USE_LIBXC LIBXC_LIB_DEPENDS= libxc.so:science/libxc LIBXC_BROKEN= Silently links with libxc when CLI_FLEUR_USE_LIBXC=OFF, see https://iffgit.fz-juelich.de/fleur/fleur/-/issues/690 WANNIER_DESC= Use Wannier library WANNIER_CMAKE_BOOL= CLI_FLEUR_USE_WANNIER WANNIER_LIB_DEPENDS= libwannier.so:science/wannier90 EXECUTABLES= bin/fleur${SUFFIX} \ bin/inpgen PLIST_FILES= ${EXECUTABLES} CONFLICTS_BUILD= libxc # see https://iffgit.fz-juelich.de/fleur/fleur/-/issues/690 post-install: # strip @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} ${EXECUTABLES} do-test: # now: some tests fail or freeze, possibly because of missing hdf5 and kplib dependencies # was: 9 testcases are known to fail, see https://iffgit.fz-juelich.de/fleur/fleur/-/issues/671 @cd ${WRKSRC}/testing && pytest tests --build_dir=${TEST_WRKSRC} # tests fail to run: INTERNALERROR> pluggy._manager.PluginValidationError: unknown hook 'pytest_html_report_title' in plugin .include diff --git a/science/gchemutils/Makefile b/science/gchemutils/Makefile index 7c54225e49b6..644ef599a5f7 100644 --- a/science/gchemutils/Makefile +++ b/science/gchemutils/Makefile @@ -1,70 +1,70 @@ PORTNAME= gchemutils PORTVERSION= 0.14.17 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= science MASTER_SITES= SAVANNAH/${PORTNAME}/${PORTVERSION:R} DISTNAME= gnome-chemistry-utils-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= C++ classes and Gtk3 widgets related to chemistry WWW= https://www.nongnu.org/gchemutils/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/bodr.pc:science/bodr \ ${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:science/chemical-mime-data LIB_DEPENDS= libopenbabel.so:science/openbabel \ libgoffice-0.10.so:devel/goffice RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/bodr.pc:science/bodr \ ${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:science/chemical-mime-data PORTSCOUT= limitw:1,even USES= compiler:c++11-lang desktop-file-utils gettext gl gmake gnome \ libtool:keepla localbase:ldflags pathfix pkgconfig \ shared-mime-info tar:xz xorg USE_CXXSTD= c++14 USE_XORG= x11 USE_GNOME= cairo gtk30 intlhack libgsf libxml2 USE_GL= gl USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-omf-dir=${PREFIX}/share/omf GLIB_SCHEMAS= org.gnome.gchemutils.crystal.gschema.xml \ org.gnome.gchemutils.gschema.xml \ org.gnome.gchemutils.paint.gschema.xml \ org.gnome.gchemutils.paint.plugins.arrows.gschema.xml VER= ${PORTVERSION:R} PLIST_SUB= VER=${VER} GOFFICE=0.10 VERSION=${PORTVERSION} OPTIONS_DEFINE= GNUMERIC XUL OPTIONS_SUB= yes GNUMERIC_DESC= Build gnumeric plugin XUL_DESC= Build browser plugin (requires libxul) XUL_BROKEN= XULrunner and non-Flash plugins are no longer supported XUL_CONFIGURE_ON=--enable-mozilla-plugin \ --with-mozilla-libdir=${PREFIX}/lib/xulrunner XUL_CONFIGURE_OFF=--disable-mozilla-plugin .include .if ${PORT_OPTIONS:MGNUMERIC} || exists(${LOCALBASE}/lib/libspreadsheet.so) LIB_DEPENDS+= libspreadsheet.so:math/gnumeric PLIST_SUB+= GNUMERIC="" .else PLIST_SUB+= GNUMERIC="@comment " .endif pre-configure: ${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/libs/gcp/Makefile.in ${REINPLACE_CMD} -e 's|openbabel-2.0|openbabel-3|' ${WRKSRC}/${CONFIGURE_SCRIPT} post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*/*/*/*/*.so .include diff --git a/science/ghemical/Makefile b/science/ghemical/Makefile index 0d393aa81339..3900f5d87dc8 100644 --- a/science/ghemical/Makefile +++ b/science/ghemical/Makefile @@ -1,45 +1,45 @@ PORTNAME= ghemical PORTVERSION= 3.0.0 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= science MASTER_SITES= http://bioinformatics.org/ghemical/download/%SUBDIR%/ MASTER_SITE_SUBDIR= release20111012 current MAINTAINER= yuri@FreeBSD.org COMMENT= Computational chemistry software package WWW= https://www.bioinformatics.org/ghemical/ghemical/index.html LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libblas.so:math/blas \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libghemical.so:science/libghemical \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libharfbuzz.so:print/harfbuzz \ libint.so:science/libint \ liblapack.so:math/lapack \ liboglappth.so:science/liboglappth \ libmpqc.so:science/mpqc RUN_DEPENDS= xdg-open:devel/xdg-utils USES= compiler:c++11-lang fortran gettext gl gmake gnome pathfix \ pkgconfig xorg GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gtk --enable-threads --disable-openbabel # not compatible with OpenBabel-3 so it is disabled USE_GNOME= cairo gdkpixbuf gtk20 libglade2 intltool pangox-compat USE_GL= gl glu USE_XORG= x11 CPPFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -Wno-c++11-narrowing # prevent build errors: non-constant-expression cannot be narrowed from type 'double' to 'fGL' (aka 'float') PLIST_SUB= GHEMICAL_VERSION="${PORTVERSION}" post-patch: @${REINPLACE_CMD} -e \ 's|"mozilla "|"xdg-open "|' ${WRKSRC}/src/gtk_app.cpp @${REINPLACE_CMD} -e 's|openbabel-2.0|openbabel-3|' ${WRKSRC}/configure # attempt at OpenBabel-3 compatibility .include diff --git a/science/ghmm/Makefile b/science/ghmm/Makefile index b665afc62876..2b596af2cb00 100644 --- a/science/ghmm/Makefile +++ b/science/ghmm/Makefile @@ -1,30 +1,30 @@ PORTNAME= ghmm DISTVERSION= 0.9-rc3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science math MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${DISTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= General Hidden Markov Model Library in C WWW= https://ghmm.sourceforge.net/ LICENSE= GPLv3 USES= autoreconf gnome libtool pkgconfig USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --without-python INSTALL_TARGET= install-strip CONFLICTS_INSTALL= graphviz # bin/cluster .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif .include diff --git a/science/openbabel/Makefile b/science/openbabel/Makefile index a5db531efc36..b14fb8f12ff0 100644 --- a/science/openbabel/Makefile +++ b/science/openbabel/Makefile @@ -1,71 +1,71 @@ PORTNAME= openbabel DISTVERSION= 3-1-1-178 -PORTREVISION= 4 +PORTREVISION= 5 #DISTVERSIONSUFFIX= -source DISTVERSIONSUFFIX= -g2b211d6ac CATEGORIES= science #MASTER_SITES= https://github.com/openbabel/openbabel/releases/download/openbabel-${PORTVERSION:C/\./-/g}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Chemical toolbox designed to speak the many languages of chemical data WWW= https://openbabel.org/wiki/Main_Page LICENSE= GPLv2+ BUILD_DEPENDS= rapidjson>0:devel/rapidjson LIB_DEPENDS= libmaeparser.so:science/maeparser \ libcoordgen.so:science/coordgenlibs \ libboost_thread.so:devel/boost-libs CONFLICTS_INSTALL= babel USES= cmake:testing compiler:c++11-lang eigen:3 gnome perl5 pkgconfig tar:bz2 USE_CXXSTD= c++11 USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes # temporary USE_PERL5= build CMAKE_ON= WITH_COORDGEN WITH_JSON OPENBABEL_USE_SYSTEM_RAPIDJSON WITH_MAEPARSER CMAKE_OFF= ENABLE_TESTS PYTHON_BINDINGS CMAKE_TESTING_ON= ENABLE_TESTS #WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_SUB= VERSION=${PORTVERSION:R} OPTIONS_DEFINE= CAIRO GUI OPTIONS_DEFAULT= CAIRO GUI OPTIONS_SUB= yes CAIRO_DESC= PNG support via cairo library CAIRO_USE= GNOME=cairo GUI_CMAKE_BOOL= BUILD_GUI GUI_CMAKE_ON= -DwxWidgets_CONFIG_EXECUTABLE:STRING=${WX_CONFIG} GUI_USE= WX=3.0 .include .if ${CHOSEN_COMPILER_TYPE} == gcc CXXFLAGS+= -Wno-narrowing USE_CXXSTD= c++11 .endif pre-configure: ${REINPLACE_CMD} -e '/pkgconfig/s,$${LIB_INSTALL_DIR},libdata,' \ ${WRKSRC}/CMakeLists.txt pre-configure-CAIRO-off: ${REINPLACE_CMD} -e '/find_package(Cairo)/d' \ ${WRKSRC}/CMakeLists.txt post-install-PYTHON-on: (cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,}) (cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,}) # 2 tests fail, see https://github.com/openbabel/openbabel/issues/2604 .include diff --git a/science/paraview/Makefile b/science/paraview/Makefile index 53ae109ad5bb..4e69796ed499 100644 --- a/science/paraview/Makefile +++ b/science/paraview/Makefile @@ -1,180 +1,180 @@ PORTNAME= paraview DISTVERSION= ${PARAVIEW_VER}.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science graphics MASTER_SITES= http://www.paraview.org/files/v${PARAVIEW_VER}/ DISTNAME= ParaView-v${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Powerful scientific data visualization application WWW= https://www.paraview.org/ # See https://www.paraview.org/license/ LICENSE= BSD3CLAUSE #BROKEN_i386= no matching member function for call to 'getArrayType' BUILD_DEPENDS= ${PYNUMPY} \ cli11>0:devel/cli11 \ utf8cpp>0:devel/utf8cpp \ fast_float>0:math/fast_float \ nlohmann-json>0:devel/nlohmann-json \ vulkan-headers>0:graphics/vulkan-headers \ ${LOCALBASE}/include/exprtk.hpp:math/exprtk \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib@${PY_FLAVOR} LIB_DEPENDS= libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libjbig.so:graphics/jbigkit \ liborc-0.4.so:devel/orc \ libpcre.so:devel/pcre \ libicuuc.so:devel/icu \ libffi.so:devel/libffi \ libtbb.so:devel/onetbb \ libogg.so:audio/libogg \ libgl2ps.so:print/gl2ps \ libOT.so:math/openturns \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libhpdf.so:print/libharu \ libproj.so:graphics/proj \ libpdalcpp.so:math/pdal \ libdrm.so:graphics/libdrm \ libcgns.so:science/cgnslib \ liblz4.so:archivers/liblz4 \ libverdict.so:math/verdict \ libnetcdf.so:science/netcdf \ libjsoncpp.so:devel/jsoncpp \ libprotobuf.so:devel/protobuf \ libpugixml.so:textproc/pugixml \ libavutil.so:multimedia/ffmpeg \ libcgraph.so:graphics/graphviz \ libxkbcommon.so:x11/libxkbcommon \ libtheora.so:multimedia/libtheora \ libgeotiff.so:graphics/libgeotiff \ libboost_thread.so:devel/boost-libs \ libfontconfig.so:x11-fonts/fontconfig \ libdouble-conversion.so:devel/double-conversion RUN_DEPENDS= ${PYNUMPY} \ bash:shells/bash \ vtk${VTK_VER:R}>0:math/vtk${VTK_VER:R} \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib@${PY_FLAVOR} USES= alias cmake compiler:c++17-lang desktop-file-utils eigen:3 fortran gl gnome \ jpeg localbase llvm:min=19 pkgconfig python qt:6 shebangfix sqlite tar:xz xorg USE_GL= glew opengl USE_GNOME= libxml2 USE_QT= 5compat base svg tools webengine #buildtools:build core gui help network opengl qmake:build sql svg \ # webengine widgets x11extras glew xmlpatterns USE_XORG= ice sm x11 xau xcb xcursor xdamage xdmcp xext xfixes xorgproto xrender \ xxf86vm USE_LDCONFIG= yes CFLAGS+= -Wno-missing-template-arg-list-after-template-kw \ -I${WRKSRC}/Clients/ParaView/Documentation CMAKE_ARGS+= -DPARAVIEW_BUILD_SHARED_LIBS=ON \ -DPARAVIEW_BUILD_WITH_EXTERNAL=ON \ -DCMAKE_CXX_STANDARD=17 \ -DPARAVIEW_USE_PYTHON:BOOL=ON \ -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ -DPARAVIEW_ENABLE_LAS:BOOL=OFF \ -DPARAVIEW_ENABLE_WEB:BOOL=ON \ -DPARAVIEW_ENABLE_GDAL:BOOL=ON \ -DPARAVIEW_ENABLE_PDAL:BOOL=ON \ -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON \ -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON \ -DPARAVIEW_ENABLE_MOTIONFX:BOOL=ON \ -DPARAVIEW_ENABLE_XDMF2:BOOL=ON \ -DPARAVIEW_ENABLE_XDMF3:BOOL=ON \ -DPARAVIEW_USE_QT:BOOL=ON \ -DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION:BOOL=OFF \ -DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION:BOOL=OFF \ -DVTK_FORBID_DOWNLOADS:BOOL=OFF \ -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1 \ -DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_token:BOOL=OFF \ -DExternalData_OBJECT_STORES="${WRKDIR}/VTK/ExternalData/MD5" \ -DFREETYPE_INCLUDE_DIRS="${LOCALBASE}/include/freetype2" # VTKm is BROKEN ATM: https://gitlab.kitware.com/paraview/paraview/-/issues/22876 CMAKE_ARGS+= -DPARAVIEW_USE_VTKM:BOOL=OFF .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -DVTK_FORBID_DOWNLOADS:BOOL=ON .endif MAKE_ENV= XDG_CONFIG_HOME=${WRKDIR} USE_CXXSTD= c++17 SHEBANG_GLOB= *.py SHEBANG_FILES= VTK/Examples/SearchScript.sh \ VTK/Utilities/Maintenance/*.sh \ Clients/CommandLineExecutables/paraview-config.in OPTIONS_DEFINE= DOCS EXAMPLES MPICH OSMESA OPTIONS_SUB= yes OSMESA_DESC= Use Mesa for off-screen rendering # mpi4py and other programs must be compiled against the same MPI provider MPICH_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py-mpich>=0:net/py-mpi4py-mpich@${PY_FLAVOR} MPICH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py-mpich>=0:net/py-mpi4py-mpich@${PY_FLAVOR} MPICH_USES= mpi # mpich is set by default, use mpi:openmpi if needed MPICH_CMAKE_ON= -DPARAVIEW_USE_MPI:BOOL=ON MPICH_CMAKE_OFF= -DPARAVIEW_USE_MPI:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa OSMESA_USES_OFF= desktop-file-utils OSMESA_CMAKE_BOOL= VTK_OPENGL_HAS_OSMESA OSMESA_CMAKE_ON= -DVTK_USE_X:BOOL="OFF" \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so OSMESA_CMAKE_OFF= -DVTK_USE_X:BOOL="ON" EXAMPLES_CMAKE_BOOL= PARAVIEW_ENABLE_EXAMPLES PORTEXAMPLES= * #TEST_CMAKE_ON= -DPARAVIEW_BUILD_TESTING=WANT \ -DPARAVIEW_BUILD_VTK_TESTING=WANT # Error with ADIOS2 #LIB_DEPENDS+= libadios2_c.so:misc/adios2 #CMAKE_ARGS+= -DPARAVIEW_ENABLE_ADIOS2:BOOL=ON # Missing GenericIO for CosmoTools #CMAKE_ARGS+= -DPARAVIEW_ENABLE_COSMOTOOLS:BOOL=ON # Errors with VisItBridge / VisItLib #CMAKE_ARGS+= -DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=ON # MomentInvariants needs to download a module #CMAKE_ARGS+= -DPARAVIEW_ENABLE_MOMENTINVARIANTS:BOOL=ON # No package for graphics/ospray #LIB_DEPENDS+= libospray.so:graphics/ospray #CMAKE_ARGS+= -DPARAVIEW_ENABLE_RAYTRACING PLIST_SUB+= VERMAJORMINOR=${PARAVIEW_VER} VTK9_CONFLICTS= vtk.py vtkmodules/__init__.py vtkmodules/all.py \ vtkmodules/gtk vtkmodules/numpy_interface \ vtkmodules/qt vtkmodules/test vtkmodules/tk \ vtkmodules/util vtkmodules/wx vtkmodules/generate_pyi.py \ vtkmodules/web/errors.py pre-configure: ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${PATCH_WRKSRC}/VTK/IO/Image/vtkPNGReader.cxx ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ${PATCH_WRKSRC}/VTK/Utilities/Maintenance/vtk_site_history.py post-install: # vtk9 is not a real run dependency, but it installs several common files .for py in ${VTK9_CONFLICTS} ${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/${py} .endfor post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/Examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include <./Makefile.version> .include <../../math/vtk9/Makefile.version> .include diff --git a/science/py-pymol/Makefile b/science/py-pymol/Makefile index 35810048bbd2..a5d83df2c640 100644 --- a/science/py-pymol/Makefile +++ b/science/py-pymol/Makefile @@ -1,63 +1,63 @@ PORTNAME= pymol DISTVERSIONPREFIX= v DISTVERSION= 3.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science biology python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= OpenGL-based molecular visualization system WWW= https://pymol.org/2/ LICENSE= PyMOL LICENSE_NAME= Open-Source PyMOL Copyright LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${PYNUMPY} \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ ${LOCALBASE}/include/mmtf.hpp:science/mmtf-cpp LIB_DEPENDS= libfreetype.so:print/freetype2 \ libnetcdf.so:science/netcdf \ libpng16.so:graphics/png RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>0:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Pmw>0:x11-toolkits/py-Pmw@${PY_FLAVOR} \ ${PYNUMPY} USES= compiler:c++11-lang gl gnome python tar:bz2 USE_GL= gl glew glu USE_GNOME= libxml2 USE_PYTHON= distutils concurrent # autoplist is broken: https://github.com/schrodinger/pymol-open-source/issues/99 USE_GITHUB= yes GH_ACCOUNT= schrodinger GH_PROJECT= ${PORTNAME}-open-source CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}chempy # chempy port is unrelated, see https://github.com/schrodinger/pymol-open-source/issues/100 CXXFLAGS+= -DMSGPACK_NO_BOOST # in line with MSGPACK_USE_BOOST=OFF in devel/msgpack-cxx .if !exists(/usr/include/omp.h) PYDISTUTILS_CONFIGUREARGS+= --use-openmp=no PYDISTUTILS_BUILDARGS+= --use-openmp=no .endif OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= QT5 TK OPTIONS_DEFAULT= QT5 QT5_USES= pyqt:5 QT5_USE= PYQT=pyqt5:run post-patch-TK-on: @${REINPLACE_CMD} -e ' \ 23s|if not PYQT_NAME:|if False:| ; \ s|from PyQt5 import|from X import|' \ ${WRKSRC}/modules/${PORTNAME}/Qt/__init__.py post-install: @${REINPLACE_CMD} -i '' -e 's|#!/bin/bash|#!/bin/sh|' ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_cmd*.so @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/chempy/champ/_champ*.so .include diff --git a/science/qmcpack/Makefile b/science/qmcpack/Makefile index 231e826dbf21..e53ffec135e8 100644 --- a/science/qmcpack/Makefile +++ b/science/qmcpack/Makefile @@ -1,68 +1,68 @@ PORTNAME= qmcpack DISTVERSIONPREFIX= v DISTVERSION= 4.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Many-body ab initio Quantum Monte Carlo code for quantum chemistry WWW= https://www.qmcpack.org/ \ https://github.com/QMCPACK/qmcpack LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= undefined reference to `__atomic_load' .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libfftw3.so:math/fftw3 \ libhdf5.so:science/hdf5 \ libmpich.so:net/mpich \ libopenblas.so:math/openblas \ libsz.so:science/libaec TEST_DEPENDS= bash:shells/bash USES= cmake:testing compiler:c++17-lang fortran gnome localbase:ldflags pkgconfig python shebangfix USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:tu} SHEBANG_FILES= src/QMCTools/gpaw4qmcpack.py \ ${NEXUS_PLIST_FILES:C/^/nexus\//} SHEBANG_GLOB= check.sh CMAKE_OFF= BUILD_UNIT_TESTS CMAKE_ARGS= -DFREEBSD_PYTHON_VER=${PYTHON_VER} CMAKE_TESTING_ON= BUILD_UNIT_TESTS # many tests fail, see https://github.com/QMCPACK/qmcpack/issues/4274 PROGS= convert4qmc convertpw4qmc gpaw4qmcpack.py ppconvert qmc-check-affinity qmc-extract-eshdf-kvectors qmc-get-supercell qmcfinitesize qmcpack qmcpack.settings PLIST_FILES= ${PROGS:C/^/bin\//} BINARY_ALIAS= python=${PYTHON_CMD} python3=${PYTHON_CMD} OPTIONS_DEFINE= NEXUS OPTIONS_DEFAULT= NEXUS OPTIONS_SUB= yes NEXUS_DESC= Install Nexus (workflow utility) alongside QMCPACK NEXUS_CMAKE_BOOL= INSTALL_NEXUS NEXUS_PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyscf>0:science/py-pyscf@${PY_FLAVOR} NEXUS_BUILD_DEPENDS= ${NEXUS_PY_DEPENDS} NEXUS_RUN_DEPENDS= ${NEXUS_PY_DEPENDS} NEXUS_PLIST_FILES= bin/eshdf \ bin/nxs-redo \ bin/nxs-sim \ bin/nxs-test \ bin/qdens \ bin/qdens-radial \ bin/qmc-fit \ bin/qmca .include diff --git a/security/beid/Makefile b/security/beid/Makefile index 0729194afca3..0e3dee8dcd46 100644 --- a/security/beid/Makefile +++ b/security/beid/Makefile @@ -1,71 +1,71 @@ PORTNAME= beid DISTVERSIONPREFIX= v DISTVERSION= 5.1.21 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= tijl@FreeBSD.org COMMENT= Belgian eID middleware WWW= https://github.com/Fedict/eid-mw/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/aclocal/ax_cxx_compile_stdcxx_11.m4:devel/autoconf-archive LIB_DEPENDS= libassuan.so:security/libassuan \ libcurl.so:ftp/curl \ libgpg-error.so:security/libgpg-error \ libpcsclite.so:devel/pcsc-lite \ libproxy.so:net/libproxy RUN_DEPENDS= pinentry:security/pinentry USES= autoreconf gettext-tools gmake gnome libtool pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= Fedict GH_PROJECT= eid-mw USE_GNOME= gtk30 libxml2 GLIB_SCHEMAS= eid-viewer.gschema.xml GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-p11kit \ --disable-static \ --enable-webextension \ --with-gtkvers=3 \ --with-mozext=${PREFIX}/lib/firefox/distribution/extensions \ SSL_CFLAGS="-I${OPENSSLINC}" \ SSL_LIBS="-L${OPENSSLLIB} -lcrypto" \ SSL_PREFIX="${OPENSSLBASE}" INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: @${ECHO_CMD} ${DISTVERSION}-${GH_TAGNAME} > ${WRKSRC}/.version @${REINPLACE_CMD} -e 's,/usr/bin/pinentry,${LOCALBASE}/bin/pinentry,' \ -e 's,/proc/%d/exe,/proc/%d/file,' \ ${WRKSRC}/cardcomm/pkcs11/src/dialogs/dialogspinentry/dlgs_pinentry.cpp @${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' \ -e '/^LIBS=/s,=.*,=${PREFIX}/lib,' \ ${WRKSRC}/plugins_tools/chrome_pkcs11/beid-update-nssdb @${REINPLACE_CMD} '/^Exec=/s,/usr/bin,${PREFIX}/bin,' \ ${WRKSRC}/plugins_tools/chrome_pkcs11/beid-update-nssdb.desktop post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pkcs11 ${LN} -s ../libbeidpkcs11.so.0 \ ${STAGEDIR}${PREFIX}/lib/pkcs11/beidpkcs11.so ${MKDIR} ${STAGEDIR}${PREFIX}/share/p11-kit/modules ${INSTALL_DATA} ${WRKSRC}/cardcomm/pkcs11/src/beid.module \ ${STAGEDIR}${PREFIX}/share/p11-kit/modules post-install-NLS-on: ${RMDIR} ${STAGEDIR}${PREFIX}/share/locale/en@boldquot/LC_MESSAGES ${RMDIR} ${STAGEDIR}${PREFIX}/share/locale/en@boldquot ${RMDIR} ${STAGEDIR}${PREFIX}/share/locale/en@quot/LC_MESSAGES ${RMDIR} ${STAGEDIR}${PREFIX}/share/locale/en@quot .include diff --git a/security/certmonger/Makefile b/security/certmonger/Makefile index 6d992e7e3e51..8e086c03f98e 100644 --- a/security/certmonger/Makefile +++ b/security/certmonger/Makefile @@ -1,41 +1,42 @@ PORTNAME= certmonger DISTVERSION= 0.79.20 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://pagure.io/certmonger/archive/${DISTVERSION}/ MAINTAINER= crees@FreeBSD.org COMMENT= Daemon to enrol with a CA and renew SSL certificates WWW= https://pagure.io/certmonger LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libidn2.so:dns/libidn2 \ libjansson.so:devel/jansson \ libldap.so:net/openldap26-client \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libpopt.so:devel/popt \ libtalloc.so:devel/talloc \ libtevent.so:devel/tevent \ libuuid.so:misc/e2fsprogs-libuuid USES= autoreconf gettext gnome gssapi:mit iconv pkgconfig ssl USE_GNOME= libxml2 USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS+= ${ICONV_CONFIGURE_ARG} CFLAGS+= -L${PREFIX}/lib -lintl # There appears to be some hardcoded gettext dependencies #OPTIONS_DEFINE= NLS post-install: ${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf \ ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample ${RMDIR} ${STAGEDIR}/var/lib/${PORTNAME}/cas ${RMDIR} ${STAGEDIR}/var/lib/${PORTNAME}/requests .include diff --git a/security/clamav-lts/Makefile b/security/clamav-lts/Makefile index d4a76df191c8..60a6937de18f 100644 --- a/security/clamav-lts/Makefile +++ b/security/clamav-lts/Makefile @@ -1,141 +1,141 @@ PORTNAME= clamav DISTVERSION= 1.0.8 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= https://www.clamav.net/downloads/production/ PKGNAMESUFFIX= -lts MAINTAINER= yasu@FreeBSD.org COMMENT= Open-source (GPL) anti-virus engine (LTS Feature Release) WWW= https://www.clamav.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.txt BUILD_DEPENDS= ${RUST_DEFAULT}>=1.56.0:lang/${RUST_DEFAULT} LIB_DEPENDS= libcurl.so:ftp/curl \ libjson-c.so:devel/json-c \ libmspack.so:archivers/libmspack \ libpcre2-8.so:devel/pcre2 USES= cmake cpe gnome iconv ncurses pkgconfig ssl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= clamav_clamd clamav_freshclam CMAKE_ARGS= -DDATABASE_DIRECTORY:STRING=${_DBDIR} \ -DOPENSSL_CRYPTO_LIBRARY=${OPENSSLLIB}/libcrypto.so \ -DOPENSSL_INCLUDE_DIR=${OPENSSLINC} \ -DOPENSSL_ROOT_DIR=${OPENSSLBASE} \ -DOPENSSL_SSL_LIBRARY=${OPENSSLLIB}/libssl.so CMAKE_ON= ENABLE_EXTERNAL_MSPACK TEST_TARGET= check CONFLICTS_INSTALL= clamav-lts SUB_FILES= pkg-message SUB_LIST+= CHMOD=${CHMOD} \ CHOWN=${CHOWN} \ CLAMAV_CLAMD_PIDFILE=${_CLAMAV_CLAMD_PIDFILE} \ CLAMAV_CLAMD_SOCKET=${_CLAMAV_CLAMD_SOCKET} \ CLAMAV_MILTER_SOCKET=${_CLAMAV_MILTER_SOCKET} \ CLAMAVGROUP=${_CLAMAVGROUP} \ CLAMAVUSER=${_CLAMAVUSER} \ DBDIR=${_DBDIR} \ LOGDIR=${_LOGDIR} \ RUNDIR=${_RUNDIR} USERS= ${_CLAMAVUSER} GROUPS= ${_CLAMAVGROUP} mail PLIST_SUB+= CLAMAVGROUP=${_CLAMAVGROUP} \ CLAMAVUSER=${_CLAMAVUSER} \ DBDIR=${_DBDIR} \ LOGDIR=${_LOGDIR} \ RUNDIR=${_RUNDIR} OPTIONS_DEFINE= ARC ARJ DOCS EXPERIMENTAL LHA MILTER STDERR TESTS UNRAR UNZOO OPTIONS_DEFAULT= ARC ARJ MILTER UNRAR UNZOO OPTIONS_SUB= yes ARC_DESC= Enable arch archives support ARJ_DESC= Enable arj archives support EXPERIMENTAL_DESC= Build experimental code LHA_DESC= Enable lha archives support MILTER_DESC= Compile the milter interface STDERR_DESC= Print logs to stderr instead of stdout TESTS_DESC= Build with test enabled (`make test` requires it) UNZOO_DESC= Enable zoo archives support ARC_RUN_DEPENDS= arc:archivers/arc ARJ_RUN_DEPENDS= arj:archivers/arj EXPERIMENTAL_CMAKE_BOOL= ENABLE_EXPERIMENTAL LHA_RUN_DEPENDS= lha:archivers/lha .if !exists(/usr/lib/libmilter.so) MILTER_LIB_DEPENDS= libmilter.so:mail/libmilter .endif MILTER_USE= RC_SUBR=clamav_milter .if !exists(/usr/lib/libmilter.so) MILTER_USE+= localbase .endif MILTER_CMAKE_BOOL= ENABLE_MILTER STDERR_EXTRA_PATCHES= ${FILESDIR}/extra-patch-common_output.c TESTS_BUILD_DEPENDS= ${LOCALBASE}/include/check.h:devel/check TESTS_USES= python:build TESTS_CMAKE_BOOL= ENABLE_TESTS UNRAR_CMAKE_BOOL= ENABLE_UNRAR UNZOO_RUN_DEPENDS= unzoo:archivers/unzoo _CLAMAVUSER?= clamav _CLAMAVGROUP?= clamav _CLAMAV_CLAMD_SOCKET?= ${_RUNDIR}/clamd.sock _CLAMAV_CLAMD_PIDFILE?= ${_RUNDIR}/clamd.pid _CLAMAV_MILTER_SOCKET?= ${_RUNDIR}/clmilter.sock _DBDIR= /var/db/clamav _LOGDIR= /var/log/clamav _RUNDIR= /var/run/clamav _SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' -e \ 's|^\#?((Update)?LogFile) .*/([a-z]+\.log)$$|\1 ${_LOGDIR}/\3|' \ -e 's|^\#?(PidFile) .*/([a-z\-]+\.pid)$$|\1 ${_RUNDIR}/\2|' -e \ 's|^\#?(LocalSocket) .*$$|\1 ${_CLAMAV_CLAMD_SOCKET}|' -e \ 's|^\#?(User) .*$$|\1 ${_CLAMAVUSER}|' -e \ 's|^\#?(AllowSupplementaryGroups).*$$|\1 yes|' -e \ 's|^\#?(ScanMail).*$$|\1 yes|' -e \ 's|^\#?(DatabaseDirectory) .*$$|\1 ${_DBDIR}|' -e \ 's|^\#?(DatabaseOwner) .*$$|\1 ${_CLAMAVUSER}|' -e \ 's|^\#?(FixStaleSocket).*$$|\1 yes|' -e \ 's|^\#?(NotifyClamd) .*$$|\1 ${PREFIX}/etc/clamd.conf|' -e \ 's|^\#?(MilterSocket) */tmp.*$$|\1 ${_CLAMAV_MILTER_SOCKET}|' \ -e 's|^\#?(ClamdSocket).*$$|\1 unix:${_CLAMAV_CLAMD_SOCKET}|' post-patch: @${REINPLACE_CMD} ${_SED_CONF} \ ${WRKSRC}/etc/clamd.conf.sample \ ${WRKSRC}/etc/freshclam.conf.sample \ ${WRKSRC}/etc/clamav-milter.conf.sample post-install: ${INSTALL_DATA} ${INSTALL_WRKSRC}/clamav-config.h ${STAGEDIR}${PREFIX}/include @${MKDIR} ${STAGEDIR}${_DBDIR} \ ${STAGEDIR}${_LOGDIR} \ ${STAGEDIR}${_RUNDIR} post-install-DOCS-on: ${MV} ${STAGEDIR}${PREFIX}/share/doc/ClamAV ${STAGEDIR}${DOCSDIR} post-install-DOCS-off: ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/ClamAV pre-test-TESTS-off: @${ECHO_MSG} '******************************************************************' && \ ${ECHO_MSG} '***** You need to enable TESTS option to execute `make test` *****' && \ ${ECHO_MSG} '******************************************************************' && \ ${FALSE} .include diff --git a/security/clamav/Makefile b/security/clamav/Makefile index b0eeb25b33e2..dec2065af9ae 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -1,138 +1,138 @@ PORTNAME= clamav DISTVERSION= 1.4.2 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= https://www.clamav.net/downloads/production/ MAINTAINER= yasu@FreeBSD.org COMMENT= Open-source (GPL) anti-virus engine (Regular Feature Release) WWW= https://www.clamav.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.txt BUILD_DEPENDS= ${RUST_DEFAULT}>=1.56.0:lang/${RUST_DEFAULT} LIB_DEPENDS= libcurl.so:ftp/curl \ libjson-c.so:devel/json-c \ libmspack.so:archivers/libmspack \ libpcre2-8.so:devel/pcre2 USES= cmake cpe gnome iconv ncurses pkgconfig ssl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= clamav_clamd clamav_freshclam CMAKE_ARGS= -DDATABASE_DIRECTORY:STRING=${_DBDIR} \ -DOPENSSL_CRYPTO_LIBRARY=${OPENSSLLIB}/libcrypto.so \ -DOPENSSL_INCLUDE_DIR=${OPENSSLINC} \ -DOPENSSL_ROOT_DIR=${OPENSSLBASE} \ -DOPENSSL_SSL_LIBRARY=${OPENSSLLIB}/libssl.so CMAKE_ON= ENABLE_EXTERNAL_MSPACK TEST_TARGET= check CONFLICTS_INSTALL= clamav-lts SUB_FILES= pkg-message SUB_LIST+= CHMOD=${CHMOD} \ CHOWN=${CHOWN} \ CLAMAV_CLAMD_PIDFILE=${_CLAMAV_CLAMD_PIDFILE} \ CLAMAV_CLAMD_SOCKET=${_CLAMAV_CLAMD_SOCKET} \ CLAMAV_MILTER_SOCKET=${_CLAMAV_MILTER_SOCKET} \ CLAMAVGROUP=${_CLAMAVGROUP} \ CLAMAVUSER=${_CLAMAVUSER} \ DBDIR=${_DBDIR} \ LOGDIR=${_LOGDIR} \ RUNDIR=${_RUNDIR} USERS= ${_CLAMAVUSER} GROUPS= ${_CLAMAVGROUP} mail PLIST_SUB+= CLAMAVGROUP=${_CLAMAVGROUP} \ CLAMAVUSER=${_CLAMAVUSER} \ DBDIR=${_DBDIR} \ LOGDIR=${_LOGDIR} \ RUNDIR=${_RUNDIR} OPTIONS_DEFINE= ARC ARJ DOCS EXPERIMENTAL MILTER STDERR TESTS UNRAR UNZOO OPTIONS_DEFAULT= ARC ARJ MILTER UNRAR UNZOO OPTIONS_SUB= yes ARC_DESC= Enable arch archives support ARJ_DESC= Enable arj archives support EXPERIMENTAL_DESC= Build experimental code MILTER_DESC= Compile the milter interface STDERR_DESC= Print logs to stderr instead of stdout TESTS_DESC= Build with test enabled (`make test` requires it) UNZOO_DESC= Enable zoo archives support ARC_RUN_DEPENDS= arc:archivers/arc ARJ_RUN_DEPENDS= arj:archivers/arj EXPERIMENTAL_CMAKE_BOOL= ENABLE_EXPERIMENTAL .if !exists(/usr/lib/libmilter.so) MILTER_LIB_DEPENDS= libmilter.so:mail/libmilter .endif MILTER_USE= RC_SUBR=clamav_milter .if !exists(/usr/lib/libmilter.so) MILTER_USE+= localbase .endif MILTER_CMAKE_BOOL= ENABLE_MILTER STDERR_EXTRA_PATCHES= ${FILESDIR}/extra-patch-common_output.c TESTS_BUILD_DEPENDS= ${LOCALBASE}/include/check.h:devel/check TESTS_USES= python:build TESTS_CMAKE_BOOL= ENABLE_TESTS UNRAR_CMAKE_BOOL= ENABLE_UNRAR UNZOO_RUN_DEPENDS= unzoo:archivers/unzoo _CLAMAVUSER?= clamav _CLAMAVGROUP?= clamav _CLAMAV_CLAMD_SOCKET?= ${_RUNDIR}/clamd.sock _CLAMAV_CLAMD_PIDFILE?= ${_RUNDIR}/clamd.pid _CLAMAV_MILTER_SOCKET?= ${_RUNDIR}/clmilter.sock _DBDIR= /var/db/clamav _LOGDIR= /var/log/clamav _RUNDIR= /var/run/clamav _SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' -e \ 's|^\#?((Update)?LogFile) .*/([a-z]+\.log)$$|\1 ${_LOGDIR}/\3|' \ -e 's|^\#?(PidFile) .*/([a-z\-]+\.pid)$$|\1 ${_RUNDIR}/\2|' -e \ 's|^\#?(LocalSocket) .*$$|\1 ${_CLAMAV_CLAMD_SOCKET}|' -e \ 's|^\#?(User) .*$$|\1 ${_CLAMAVUSER}|' -e \ 's|^\#?(AllowSupplementaryGroups).*$$|\1 yes|' -e \ 's|^\#?(ScanMail).*$$|\1 yes|' -e \ 's|^\#?(DatabaseDirectory) .*$$|\1 ${_DBDIR}|' -e \ 's|^\#?(DatabaseOwner) .*$$|\1 ${_CLAMAVUSER}|' -e \ 's|^\#?(FixStaleSocket).*$$|\1 yes|' -e \ 's|^\#?(NotifyClamd) .*$$|\1 ${PREFIX}/etc/clamd.conf|' -e \ 's|^\#?(MilterSocket) */tmp.*$$|\1 ${_CLAMAV_MILTER_SOCKET}|' \ -e 's|^\#?(ClamdSocket).*$$|\1 unix:${_CLAMAV_CLAMD_SOCKET}|' post-patch: @${REINPLACE_CMD} ${_SED_CONF} \ ${WRKSRC}/etc/clamd.conf.sample \ ${WRKSRC}/etc/freshclam.conf.sample \ ${WRKSRC}/etc/clamav-milter.conf.sample post-install: ${INSTALL_DATA} ${INSTALL_WRKSRC}/clamav-config.h ${STAGEDIR}${PREFIX}/include @${MKDIR} ${STAGEDIR}${_DBDIR} \ ${STAGEDIR}${_LOGDIR} \ ${STAGEDIR}${_RUNDIR} post-install-DOCS-on: ${MV} ${STAGEDIR}${PREFIX}/share/doc/ClamAV ${STAGEDIR}${DOCSDIR} post-install-DOCS-off: ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/ClamAV pre-test-TESTS-off: @${ECHO_MSG} '******************************************************************' && \ ${ECHO_MSG} '***** You need to enable TESTS option to execute `make test` *****' && \ ${ECHO_MSG} '******************************************************************' && \ ${FALSE} .include diff --git a/security/gsad/Makefile b/security/gsad/Makefile index d09ccc640d2a..93105ab32e2e 100644 --- a/security/gsad/Makefile +++ b/security/gsad/Makefile @@ -1,54 +1,55 @@ PORTNAME= gsad DISTVERSIONPREFIX= v DISTVERSION= 24.3.0 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= acm@FreeBSD.org COMMENT= Greenbone Security Assistant HTTP server WWW= https://github.com/greenbone/gsad LICENSE= AGPLv3+ LIB_DEPENDS= libgvm_base.so:security/gvm-libs \ libgnutls.so:security/gnutls \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libmicrohttpd.so:www/libmicrohttpd RUN_DEPENDS= doxygen>0:devel/doxygen \ ${PYTHON_PKGNAMEPREFIX}polib>=0:devel/py-polib@${PY_FLAVOR} USES= cmake gettext-runtime gnome pkgconfig python USE_GNOME= glib20 libxml2 USE_GITHUB= yes GH_ACCOUNT= greenbone GH_PROJECT= gsad USERS= gvm GROUPS= ${USERS} USE_RC_SUBR= gsad LDFLAGS+= -lm ETCDIR= ${PREFIX}/etc/gvm post-extract: @${MV} ${WRKSRC}/src/gsad_log_conf.cmake_in ${WRKSRC}/src/gsad_log.conf.sample post-patch: ${REINPLACE_CMD} -e 's|$${GVM_LOG_DIR}|/var/log/gvm|g' ${WRKSRC}/src/gsad_log.conf.sample post-install: @${MKDIR} ${STAGEDIR}/var/run/gsad @${MKDIR} ${STAGEDIR}/var/run/gvm @${MKDIR} ${STAGEDIR}${ETCDIR} @${INSTALL_DATA} ${WRKSRC}/src/gsad_log.conf.sample ${STAGEDIR}${ETCDIR} @${ECHO_CMD} "@sample etc/gvm/gsad_log.conf.sample" >> ${TMPPLIST} @${ECHO_CMD} "sbin/gsad" >> ${TMPPLIST} >> ${TMPPLIST} @${ECHO_CMD} "share/man/man8/gsad.8.gz" >> ${TMPPLIST} @${ECHO_CMD} "@dir(gvm,gvm,750) /var/run/gsad" >> ${TMPPLIST} @${ECHO_CMD} "@dir(gvm,gvm,750) /var/run/gvm" >> ${TMPPLIST} .include diff --git a/security/gvm-libs/Makefile b/security/gvm-libs/Makefile index f11ade33a8ca..9196b191731d 100644 --- a/security/gvm-libs/Makefile +++ b/security/gvm-libs/Makefile @@ -1,51 +1,51 @@ PORTNAME= gvm DISTVERSIONPREFIX= v DISTVERSION= 22.22.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security PKGNAMESUFFIX= -libs MAINTAINER= acm@FreeBSD.org COMMENT= Libraries module for the GVM solution WWW= https://github.com/greenbone/gvm-libs LICENSE= GPLv2+ BUILD_DEPENDS= doxygen>0:devel/doxygen LIB_DEPENDS= libassuan.so:security/libassuan \ libcjson.so:devel/libcjson \ libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libgpgme.so:security/gpgme \ libgpg-error.so:security/libgpg-error \ libhiredis.so:databases/hiredis \ libnet.so:net/libnet \ libpaho-mqtt3a.so:net/libpaho-mqtt3 \ libssh.so:security/libssh \ libuuid.so:misc/e2fsprogs-libuuid \ libjson-glib-1.0.so:devel/json-glib \ libcurl.so:ftp/curl RUN_DEPENDS= doxygen>0:devel/doxygen USES= cmake gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= greenbone GH_PROJECT= ${PORTNAME}${PKGNAMESUFFIX} USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes OPTIONS_DEFINE= LDAP RADIUS LDAP_CMAKE_ON= -DBUILD_WITH_LDAP=1 LDAP_CMAKE_OFF= -DBUILD_WITH_LDAP=0 LDAP_USES= ldap RADIUS_CMAKE_ON= -DBUILD_WITH_RADIUS=1 RADIUS_CMAKE_OFF= -DBUILD_WITH_RADIUS=0 RADIUS_LIB_DEPENDS= libfreeradius-client.so:net/freeradius-client post-patch: @${REINPLACE_CMD} -e 's|2.25.0|1.45.6|g' ${WRKSRC}/util/libgvm_util.pc.in @${REINPLACE_CMD} -e 's|uuid>=2.25.0|uuid>=1.45.6|g' ${WRKSRC}/util/CMakeLists.txt @${REINPLACE_CMD} '17d' ${WRKSRC}/base/proctitle.c .include diff --git a/security/kc/Makefile b/security/kc/Makefile index 6d034b44451e..2d5086a34a0e 100644 --- a/security/kc/Makefile +++ b/security/kc/Makefile @@ -1,58 +1,58 @@ PORTNAME= kc DISTVERSION= 2.5.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MAINTAINER= leva@ecentrum.hu COMMENT= Console based password storing application WWW= https://github.com/levaidaniel/kc LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= bash:shells/bash USES= gnome ncurses pkgconfig ssl uidfix USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= levaidaniel MAKE_ARGS= BINDIR="${PREFIX}/bin" \ MANDIR="${PREFIX}/share/man/man" MAKE_ENV= BUNDLED_BCRYPT=y TEST_ENV= SH=${PREFIX}/bin/bash TEST_TARGET= test CONFLICTS= kc24 PLIST_FILES= bin/kc share/doc/kc/Changelog.md share/man/man1/kc.1.gz OPTIONS_DEFINE= SCRYPT YUBIKEY OPTIONS_DEFAULT= LIBEDIT SCRYPT OPTIONS_SINGLE= CLI OPTIONS_SINGLE_CLI= LIBEDIT READLINE SCRYPT_DESC= Scrypt KDF support (needs libscrypt) YUBIKEY_DESC= YubiKey support (needs libyubikey and ykpers) LIBEDIT_USES= libedit LIBEDIT_MAKE_ENV= EDITLINE=y READLINE_USES= readline READLINE_MAKE_ENV= READLINE=y SCRYPT_LIB_DEPENDS= libscrypt.so:security/libscrypt SCRYPT_MAKE_ENV= HAVE_LIBSCRYPT=1 YUBIKEY_LIB_DEPENDS= libykpers-1.so:security/ykpers \ libyubikey.so:security/libyubikey YUBIKEY_MAKE_ENV+= CFLAGS=-I${PREFIX}/include \ HAVE_YUBIKEY=y post-patch: @${REINPLACE_CMD} -e 's|-lncursesw|${NCURSESLIBS}|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|^#!/bin/sh|#!${PREFIX}/bin/bash|' ${WRKSRC}/regress/run_tests.sh post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Changelog.md ${STAGEDIR}${DOCSDIR} .include diff --git a/security/lasso/Makefile b/security/lasso/Makefile index a08a8ac302aa..b8cbb53f54e1 100644 --- a/security/lasso/Makefile +++ b/security/lasso/Makefile @@ -1,58 +1,58 @@ PORTNAME= lasso PORTVERSION= 2.8.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= https://dev.entrouvert.org/releases/lasso/ PATCH_SITES= https://git.entrouvert.org/entrouvert/lasso/commit/ PATCHFILES= 46caef81855e58629516f09b101e40bf8778981d.patch:-p1 \ 1ca8e8699ce1ed072f99ed881a7348f9a78b1e1f.patch:-p1 \ 66c9f50f1f6b00d621a9a0ca2f924875f94d14ae.patch:-p1 \ 21c224cfefa1018be9e40fab9a7e36865bf4d0d6.patch:-p1 \ 3768f1bedf1502a54634195dbb88e5a54869d9b9.patch:-p1 MAINTAINER= bofh@FreeBSD.org COMMENT= Free Liberty Alliance Implementation WWW= https://lasso.entrouvert.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} LIB_DEPENDS= libltdl.so:devel/libltdl \ libxmlsec1-openssl.so:security/xmlsec1 RUN_DEPENDS:= ${BUILD_DEPENDS} USES= cpe gmake gnome libtool pathfix pkgconfig python ssl CPE_VENDOR= entrouvert USE_GNOME= glib20 libxml2 libxslt USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-java \ --disable-php5 \ --with-zlib INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS PERL PYTHON OPTIONS_SUB= yes PERL_USES= perl5 PERL_CONFIGURE_ENABLE= perl PYTHON_CONFIGURE_ENABLE= python .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -E 's,(xmlsec1-openssl >= 1\.2\.6) openssl,\1,' \ ${CONFIGURE_WRKSRC}/configure # Fix build with new xmlsec1 as this function was deprecated @${REINPLACE_CMD} -e 's|BAD_CAST XMLSEC_CRYPTO|BAD_CAST xmlSecGetDefaultCrypto()|g' \ ${WRKSRC}/lasso/lasso.c .include diff --git a/security/lastpass-cli/Makefile b/security/lastpass-cli/Makefile index 2b94ac6a3b32..ce644ca1e0f7 100644 --- a/security/lastpass-cli/Makefile +++ b/security/lastpass-cli/Makefile @@ -1,46 +1,47 @@ PORTNAME= lastpass-cli PORTVERSION= 1.6.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://github.com/lastpass/lastpass-cli/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= LastPass command line interface tool WWW= https://lastpass.com/ \ https://github.com/lastpass/lastpass-cli LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl USES= cmake gnome pkgconfig shebangfix ssl USE_GNOME= libxml2 CMAKE_ARGS= -DOPENSSL_ROOT_DIR=${OPENSSLBASE} TEST_TARGET= lpass-test test PLIST_FILES= bin/lpass SHEBANG_FILES= test/tests OPTIONS_DEFINE= BASH MANPAGES PINENTRY XCLIP XSEL OPTIONS_DEFAULT=BASH MANPAGES PINENTRY_DESC= Use pinentry for password entry XCLIP_DESC= Use xclip for interacting with X11 clipboard XSEL_DESC= Use xsel for interacting with X11 clipboard BASH_BUILD_DEPENDS= bash-completion>=0:shells/bash-completion BASH_PLIST_FILES= share/bash-completion/completions/lpass BASH_RUN_DEPENDS= bash-completion>=0:shells/bash-completion MANPAGES_ALL_TARGET= all doc-man MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc MANPAGES_INSTALL_TARGET=install install-doc MANPAGES_PLIST_FILES= ${PREFIX}/share/man/man1/lpass.1.gz PINENTRY_RUN_DEPENDS= pinentry:security/pinentry XCLIP_RUN_DEPENDS= xclip:x11/xclip XSEL_RUN_DEPENDS= xsel:x11/xsel-conrad post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lpass .include diff --git a/security/libpki/Makefile b/security/libpki/Makefile index 1fc399318268..0fd4d9e05873 100644 --- a/security/libpki/Makefile +++ b/security/libpki/Makefile @@ -1,63 +1,63 @@ PORTNAME= libpki DISTVERSIONPREFIX= v DISTVERSION= 0.9.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= security PATCH_SITES= https://github.com/openca/libpki/commit/ PATCHFILES= d7617046e9da97473a140c02582fa571f6359ae3.patch:-p1 \ 9c4865ad476a75c34d89e0bd663c280f544590c0.patch:-p1 MAINTAINER= bruno@ruomad.net COMMENT= OpenCA PKI library (libpki) and tools WWW= https://www.openca.org/projects/libpki LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf gnome libtool ssl USE_GITHUB= yes GH_ACCOUNT= openca USE_GNOME= libxml2 USE_LDCONFIG= yes PATCH_STRIP= -p0 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking \ --disable-iphone INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= DNS LDAP MYSQL PGSQL DNS_DESC= "Enable DNS support" LDAP_DESC= "Enable LDAP support" MYSQL_DESC= "Enable MySQL support" PGSQL_DESC= "Enable PostgreSQL support" DNS_CONFIGURE_ENABLE= dns LDAP_USES= ldap LDAP_CONFIGURE_ENABLE= ldap MYSQL_USES= mysql MYSQL_CONFIGURE_ENABLE= mysql PGSQL_USES= pgsql PGSQL_CONFIGURE_ENABLE= pg post-stage: ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc; \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki; \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/hsm.d; \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/profile.d; \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/store.d; \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/token.d; \ ${MV} ${STAGEDIR}${PREFIX}/etc/pki.conf ${STAGEDIR}${PREFIX}/share/libpki/etc/pki.conf.sample; \ cd ${STAGEDIR}${PREFIX}/etc/libpki; \ for f in $$(find * -type f); do \ ${MV} ${STAGEDIR}${PREFIX}/etc/libpki/$$f ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/$$f.sample; \ done; \ ${RM} -rf ${STAGEDIR}${PREFIX}/include/internal .include diff --git a/security/modsecurity3/Makefile b/security/modsecurity3/Makefile index 15147e278ed0..186cfe1dc959 100644 --- a/security/modsecurity3/Makefile +++ b/security/modsecurity3/Makefile @@ -1,46 +1,47 @@ PORTNAME= modsecurity DISTVERSIONPREFIX= v DISTVERSION= 3.0.14 +PORTREVISION= 1 CATEGORIES= security www MASTER_SITES= https://github.com/owasp-modsecurity/ModSecurity/releases/download/v${PORTVERSION}/ PKGNAMESUFFIX= 3 MAINTAINER= marius.halden@modirum.com COMMENT= Intrusion detection and prevention engine WWW= https://www.modsecurity.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libpcre.so:devel/pcre \ libyajl.so:devel/yajl \ libmaxminddb.so:net/libmaxminddb USES= cpe gmake gnome libtool pkgconfig:build CPE_VENDOR= trustwave USE_GNOME= libxml2 # GCC because of https://github.com/SpiderLabs/ModSecurity/issues/1411 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-lmdb --without-ssdeep --without-lua INSTALL_TARGET= install-strip CONFLICTS_INSTALL= ap??-mod_security mod_security3 ETCDIR= ${PREFIX}/etc/modsecurity PLIST_SUB= SHLIBVER=${DISTVERSION} post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended \ ${STAGEDIR}${ETCDIR}/modsecurity.conf.sample ${INSTALL_DATA} ${WRKSRC}/unicode.mapping \ ${STAGEDIR}${ETCDIR}/unicode.mapping .include diff --git a/security/oath-toolkit/Makefile b/security/oath-toolkit/Makefile index 645c44354cd5..6e7185c29f6b 100644 --- a/security/oath-toolkit/Makefile +++ b/security/oath-toolkit/Makefile @@ -1,49 +1,49 @@ PORTNAME= oath-toolkit PORTVERSION= 2.6.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SAVANNAH MAINTAINER= ale@FreeBSD.org COMMENT= Library, tools, and PAM module for OATH authentication WWW= https://www.nongnu.org/oath-toolkit/ LICENSE= GPLv3+ LGPL20+ LICENSE_COMB= multi LIB_DEPENDS= libltdl.so:devel/libltdl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \ --disable-pam-tests USES= gmake libtool pathfix pkgconfig USE_GNOME= libxslt USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= PSKC DOCS OPTIONS_DEFAULT=PSKC OPTIONS_SUB= yes PSKC_DESC= Portable Symmetric Key Container (RFC 6030) support PSKC_CONFIGURE_ENABLE= pskc PSKC_CONFIGURE_ON= --with-xml-prefix=${LOCALBASE} PSKC_LIB_DEPENDS= libxml2.so:textproc/libxml2 \ libxmlsec1.so:security/xmlsec1 DOCS= AUTHORS ChangeLog NEWS README PORTDOCS= * post-install: .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR}/ .endfor ${MKDIR} ${STAGEDIR}/${DOCSDIR}/pam_oath ${INSTALL_DATA} ${WRKSRC}/pam_oath/README \ ${STAGEDIR}/${DOCSDIR}/pam_oath/ .include diff --git a/security/openca-ocspd/Makefile b/security/openca-ocspd/Makefile index 9b07cdf85926..83338f75a91a 100644 --- a/security/openca-ocspd/Makefile +++ b/security/openca-ocspd/Makefile @@ -1,53 +1,54 @@ PORTNAME= openca-ocspd DISTVERSIONPREFIX= v DISTVERSION= 3.1.3 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= bruno@ruomad.net COMMENT= OpenCA OCSP responder WWW= https://www.openca.org/projects/ocspd LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= arm64 LIB_DEPENDS= libpki.so:security/libpki USES= autoreconf gnome libtool shebangfix ssl USE_GITHUB= yes GH_ACCOUNT= openca USE_GNOME= libxml2 # Add a rc script to start the OCSP daemon USE_RC_SUBR= ocspd SHEBANG_FILES= etc/ocspd.in scripts/ocspd-genreq.sh.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libpki-prefix=${PREFIX} # Rename installed configuration files to samples post-stage: ${MKDIR} ${STAGEDIR}${PREFIX}/share/openca-ocspd/etc; \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/openca-ocspd/etc/ocspd; \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/openca-ocspd/etc/ocspd/ca.d; \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/openca-ocspd/etc/ocspd/pki; \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/openca-ocspd/etc/ocspd/pki/token.d; \ cd ${STAGEDIR}${PREFIX}/etc/ocspd/pki; \ for f in $$(find * -type f); do \ ${MV} ${STAGEDIR}${PREFIX}/etc/ocspd/pki/$$f ${STAGEDIR}${PREFIX}/share/openca-ocspd/etc/ocspd/pki/$$f.sample; \ done; \ cd ${STAGEDIR}${PREFIX}/etc/ocspd/ca.d; \ for f in $$(find * -type f); do \ ${MV} ${STAGEDIR}${PREFIX}/etc/ocspd/ca.d/$$f ${STAGEDIR}${PREFIX}/share/openca-ocspd/etc/ocspd/ca.d/$$f.sample; \ done; \ for f in $$(find ${STAGEDIR}${PREFIX}/etc/ocspd -type f); do \ ${MV} $$f $$f.sample; \ done; \ ${RM} ${STAGEDIR}${PREFIX}/bin/test.sh; \ ${RM} ${STAGEDIR}${PREFIX}/etc/init.d/ocspd; \ ${RMDIR} ${STAGEDIR}${PREFIX}/etc/init.d ${RMDIR} ${STAGEDIR}${PREFIX}/var/run ${RMDIR} ${STAGEDIR}${PREFIX}/var .include diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile index dde1ab75f49e..729c3f55d101 100644 --- a/security/openconnect/Makefile +++ b/security/openconnect/Makefile @@ -1,65 +1,65 @@ PORTNAME= openconnect PORTVERSION= 9.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security net-vpn MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/ \ ZI MAINTAINER= zi@FreeBSD.org COMMENT= Client for Cisco's AnyConnect SSL VPN WWW= https://www.infradead.org/openconnect/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL RUN_DEPENDS= vpnc-script:sysutils/vpnc-scripts GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --disable-nls --with-vpnc-script=${LOCALBASE}/sbin/vpnc-script \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ --without-openssl-version-check --without-libpcsclite \ --without-libpskc USES= cpe gmake gnome iconv libtool localbase pkgconfig python:build ssl \ shebangfix CPE_VENDOR= infradead INSTALL_TARGET= install-strip USE_LDCONFIG= yes SHEBANG_LANG+= SH SH_OLD_CMD+= /system/bin/sh SHEBANG_FILES= trojans/csd-post.sh trojans/csd-wrapper.sh \ trojans/tncc-emulate.py \ trojans/hipreport-android.sh trojans/tncc-wrapper.py USE_GNOME= libxml2 PORTDOCS= * OPTIONS_DEFINE= DOCS PROXY GNUTLS GSSAPI LZ4 P11 STOKEN OPTIONS_DEFAULT=GSSAPI LZ4_DESC= LZ4-based compression LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZ4_CONFIGURE_WITH= lz4 PROXY_DESC= Automatic proxy configuration via libproxy PROXY_LIB_DEPENDS= libproxy.so:net/libproxy PROXY_CONFIGURE_WITH= libproxy GNUTLS_DESC= Use GnuTLS instead of OpenSSL (experimental) GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GSSAPI_CONFIGURE_WITH= gssapi P11_DESC= PKCS \#11 support via libp11 P11_LIB_DEPENDS= libp11.so:security/libp11 STOKEN_DESC= With RSA soft token support via libstoken STOKEN_LIB_DEPENDS= libstoken.so:security/stoken \ libtomcrypt.so:security/libtomcrypt STOKEN_CONFIGURE_WITH= stoken post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR} .include diff --git a/security/pwman/Makefile b/security/pwman/Makefile index f5ae9fa4c85f..ece00f434d62 100644 --- a/security/pwman/Makefile +++ b/security/pwman/Makefile @@ -1,37 +1,37 @@ PORTNAME= pwman DISTVERSION= 0.4.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Console password management application based on gpg(me) WWW= https://pwman.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= gpgv:security/gnupg1 USES= gnome ncurses USE_GNOME= libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= curses_loc=${NCURSESBASE} PORTDOCS= AUTHORS ChangeLog README TODO PLIST_FILES= bin/convert_pwdb bin/pwdb2csv bin/pwman share/man/man1/pwman.1.gz CFLAGS+= -Wno-error=return-type OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/src/options.c post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/security/py-xmlsec/Makefile b/security/py-xmlsec/Makefile index 188ed4360ba0..b657e758b557 100644 --- a/security/py-xmlsec/Makefile +++ b/security/py-xmlsec/Makefile @@ -1,32 +1,33 @@ PORTNAME= xmlsec DISTVERSION= 1.3.15 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Python bindings for XML Security Library WWW= https://github.com/mehcode/python-xmlsec/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.8.0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>=1.5.1:devel/py-pkgconfig@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libltdl.so:devel/libltdl \ libxmlsec1-openssl.so:security/xmlsec1 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} USES= gnome pkgconfig python USE_GNOME= libxml2 libxslt USE_PYTHON= autoplist pep517 flavors pytest INSTALL_TARGET= install-strip post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xmlsec*.so .include diff --git a/security/stoken/Makefile b/security/stoken/Makefile index eb0280267bd1..8d4eb834d47f 100644 --- a/security/stoken/Makefile +++ b/security/stoken/Makefile @@ -1,36 +1,36 @@ PORTNAME= stoken DISTVERSIONPREFIX= v DISTVERSION= 0.93 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MAINTAINER= samm@FreeBSD.org COMMENT= Software Token for UNIX compatible with RSA SecurID WWW= https://sourceforge.net/p/stoken/wiki/Home/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libtomcrypt.so:security/libtomcrypt # can alternatively use nettle, potentially port option can be created USES= gnome libtool localbase pkgconfig autoreconf GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= stoken-dev INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS X11 OPTIONS_SUB= yes X11_CONFIGURE_WITH= gtk X11_DESC= Build GUI token interface X11_USE= GNOME=gtk30,cairo,gdkpixbuf X11_USES= desktop-file-utils do-test: build cd ${WRKSRC} && ${MAKE} check .include diff --git a/security/xmlsec1/Makefile b/security/xmlsec1/Makefile index a3c3fae2f27c..731d8f136cb4 100644 --- a/security/xmlsec1/Makefile +++ b/security/xmlsec1/Makefile @@ -1,70 +1,71 @@ PORTNAME= xmlsec1 DISTVERSION= 1.3.6 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://github.com/lsh123/xmlsec/releases/download/xmlsec_${DISTVERSION:S,.,_,g}/ \ https://www.aleksey.com/xmlsec/download/ MAINTAINER= hrs@FreeBSD.org COMMENT= XML Security Library WWW= https://www.aleksey.com/xmlsec/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/Copyright LIB_DEPENDS= libltdl.so:devel/libltdl USES= gmake gnome libtool localbase pathfix pkgconfig USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip PORTDOCS= * PLIST_SUB= DISTVERSION=${DISTVERSION} OPTIONS_DEFINE= DOCS OPTIONS_MULTI= SSL OPTIONS_MULTI_SSL= GNUTLS NSS OPENSSL OPTIONS_DEFAULT= OPENSSL NSS OPTIONS_SUB= yes GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gcrypt gnutls NSS_LIB_DEPENDS= libnspr4.so:devel/nspr \ libnss3.so:security/nss NSS_CONFIGURE_WITH= nspr nss OPENSSL_USES= ssl OPENSSL_CONFIGURE_OFF= --without-openssl OPENSSL_CONFIGURE_ON= --with-openssl="${OPENSSLBASE}" post-patch: cd ${PATCH_WRKSRC} && ${REINPLACE_CMD} \ -e 's/(CP) -ru/(CP) -r/' \ -e 's/(CP) -u/(CP)/' \ docs/Makefile.am \ docs/Makefile.in \ docs/api/Makefile.am \ docs/api/Makefile.in \ man/Makefile.am \ man/Makefile.in post-patch-GNUTLS-on: # Don't rely on broken autodetection ${REINPLACE_CMD} -e '/^GNUTLS_FOUND/s/no/yes/' \ -e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \ ${PATCH_WRKSRC}/${CONFIGURE_SCRIPT} post-patch-NSS-on: ${REINPLACE_CMD} -e 's/mozilla-nss/nss/' \ -e 's/mozilla-nspr/nspr/' ${PATCH_WRKSRC}/${CONFIGURE_SCRIPT} ${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib -lpthread\\,' \ ${PATCH_WRKSRC}/apps/Makefile.in post-install: ${RMDIR} ${STAGEDIR}${DOCSDIR}/css .include diff --git a/sysutils/bacula-libs3/Makefile b/sysutils/bacula-libs3/Makefile index d6a95873bcdf..39e921186072 100644 --- a/sysutils/bacula-libs3/Makefile +++ b/sysutils/bacula-libs3/Makefile @@ -1,29 +1,29 @@ PORTNAME= bacula11-libs3 PORTVERSION= 20200523 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://www.bacula.org/downloads/ DISTNAME= libs3-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= ml@netfence.it COMMENT= Bacula libs3 WWW= https://www.bacula.org/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS+= libcurl.so:ftp/curl USES= compiler:gcc-c++11-lib gmake gnome ssl USE_GNOME+= libxml2 MAKEFILE= GNUmakefile MAKE_ARGS= MYDESTDIR=${STAGEDIR}/${PREFIX} \ MYINSTALL=install CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L # openssl3 compat post-install: ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/s3 ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libs3.so.4.1.bac .include diff --git a/sysutils/brasero/Makefile b/sysutils/brasero/Makefile index a16d627d78eb..60cb1b91f567 100644 --- a/sysutils/brasero/Makefile +++ b/sysutils/brasero/Makefile @@ -1,50 +1,50 @@ PORTNAME= brasero PORTVERSION= 3.12.3 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= sysutils audio multimedia gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= CD/DVD mastering tool for the GNOME desktop WWW= https://projects.gnome.org/brasero/ BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libnotify.so:devel/libnotify \ libtotem-plparser.so:multimedia/totem-pl-parser \ libcanberra-gtk3.so:audio/libcanberra-gtk3 RUN_DEPENDS= growisofs:sysutils/dvd+rw-tools \ cdrdao:sysutils/cdrdao USES= desktop-file-utils gettext gmake gnome gstreamer libtool pathfix \ pkgconfig shared-mime-info tar:xz xorg USE_GNOME= cairo gdkpixbuf gnomeprefix gtk30 intlhack \ introspection:build libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_XORG= sm ice USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-inotify --enable-search=no --enable-playlist=no \ --enable-introspection=yes CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_CAM_LIB_H=1 -Wno-error=format-nonliteral LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.brasero.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= LIBBURNIA LIBBURNIA_DESC= Build libburnia plug-ins LIBBURNIA_LIB_DEPENDS= libburn.so:devel/libburn \ libisofs.so:devel/libisofs LIBBURNIA_CONFIGURE_ENABLE= libburnia PLIST_SUB= FULL_VERSION=${PORTVERSION} post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/libbrasero-burn/burn-process.c .include diff --git a/sysutils/cfengine-devel/Makefile b/sysutils/cfengine-devel/Makefile index a9a08bc64d46..53931940a9e8 100644 --- a/sysutils/cfengine-devel/Makefile +++ b/sysutils/cfengine-devel/Makefile @@ -1,74 +1,75 @@ PORTNAME= cfengine PORTVERSION= 3.25.${CFENGINE_COMMIT_DATE} +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= sysutils PKGNAMESUFFIX= -devel CFENGINE_HASH= 90e7ea198 LIBNTECH_HASH= 0908e5e CFENGINE_COMMIT_DATE= 20250625 MAINTAINER= cy@FreeBSD.org COMMENT= Systems administration tool for networks WWW= https://cfengine.com/ LICENSE= GPLv3 USE_GITHUB= yes # GH_PROJECT= core libntech:libntech # GH_TAGNAME= ${CFENGINE_HASH} ${LIBNTECH_HASH} GH_TUPLE= cfengine:core:${CFENGINE_HASH} \ cfengine:libntech:${LIBNTECH_HASH}:libntech/libntech CPE_VENDOR= gnu CONFLICTS= cfengine cfengine3[0-9] cfengine3[0-9][0-9] USE_RC_SUBR= cf-execd cf-serverd cf-monitord MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes USES= autoreconf:build cpe gmake gnome libtool localbase shebangfix \ ssl USE_GNOME= libxml2 SHEBANG_FILES= examples/remake_outputs.pl CFLAGS+= -Wno-return-type -fcommon \ -Wno-int-conversion \ -Wno-implicit-function-declaration # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine MAKE_ENV= EXPLICIT_VERSION=${PORTVERSION}-${HASH} EXPLICIT_VERSION=${PORTVERSION}-${HASH} CONFIGURE_SCRIPT= ./autogen.sh CONFIGURE_ENV= EXPLICIT_VERSION=${PORTVERSION}-${HASH} CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --libexecdir=${PREFIX}/libexec \ --libdir=${PREFIX}/libexec \ --mandir=${PREFIX}/man \ --with-workdir=/var/cfengine \ --with-pcre2=${LOCALBASE} \ --with-lmdb=${LOCALBASE} \ --enable-fhs INSTALL_TARGET= install-strip LIB_DEPENDS+= libpcre.so:devel/pcre \ libpcre2-posix.so:devel/pcre2 \ liblmdb.so:databases/lmdb \ libyaml.so:textproc/libyaml \ libcurl.so:ftp/curl \ librsync.so:net/librsync OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgresql=${LOCALBASE} MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql=${LOCALBASE} MYSQL_LIB_DEPENDS= libmysqlclient.so:${_MYSQL_CLIENT} MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql LIBVIRT_CONFIGURE_WITH= libvirt=${LOCALBASE} LIBVIRT_LIB_DEPENDS+= libvirt.so:devel/libvirt .include diff --git a/sysutils/cfengine-lts/Makefile b/sysutils/cfengine-lts/Makefile index 5127ea44669f..2fbfc6311697 100644 --- a/sysutils/cfengine-lts/Makefile +++ b/sysutils/cfengine-lts/Makefile @@ -1,8 +1,9 @@ VERSIONS= 321 324 # Upgrade to LTS versions only: https://cfengine.com/supported-versions/ CFENGINE_VERSION?= 324 +PORTREVISION= 1 PKGNAMESUFFIX= -lts MASTERDIR= ${.CURDIR}/../cfengine${CFENGINE_VERSION} .include "${MASTERDIR}/Makefile" diff --git a/sysutils/cfengine321/Makefile b/sysutils/cfengine321/Makefile index 8cffbc2026fd..68b8587b9d79 100644 --- a/sysutils/cfengine321/Makefile +++ b/sysutils/cfengine321/Makefile @@ -1,68 +1,69 @@ PORTNAME= cfengine DISTVERSION= 3.21.3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/ DISTNAME= ${PORTNAME}-community-${DISTVERSION} MAINTAINER= cy@FreeBSD.org COMMENT= Systems administration tool for networks WWW= https://cfengine.com/ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} LICENSE= GPLv3 CPE_VENDOR= gnu CONFLICTS= cfengine cfengine3[0-9] cfengine3[0-9][0-9] .if !defined(MASTERDIR) PKGNAMESUFFIX= 321 .endif FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} USE_RC_SUBR= cf-execd cf-serverd cf-monitord MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes USES= autoreconf cpe gmake gnome libtool localbase shebangfix ssl USE_GNOME= libxml2 SHEBANG_FILES= examples/remake_outputs.pl CFLAGS+= -Wno-return-type -fcommon # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine MAKE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --libexecdir=${PREFIX}/libexec \ --libdir=${PREFIX}/libexec \ --mandir=${PREFIX}/man \ --with-workdir=/var/cfengine \ --with-pcre=${LOCALBASE} \ --with-lmdb=${LOCALBASE} \ --enable-fhs INSTALL_TARGET= install-strip LIB_DEPENDS+= libpcre.so:devel/pcre \ liblmdb.so:databases/lmdb \ libyaml.so:textproc/libyaml \ libcurl.so:ftp/curl OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= --with-postgresql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-postgresql MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= --with-mysql=${LOCALBASE} MYSQL_CONFIGURE_OFF= --without-mysql MYSQL_LIB_DEPENDS= libmysqlclient.so:${_MYSQL_CLIENT} MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql LIBVIRT_CONFIGURE_WITH= --with-libvirt=${LOCALBASE} LIBVIRT_LIB_DEPENDS+= libvirt.so:devel/libvirt .include diff --git a/sysutils/cfengine322/Makefile b/sysutils/cfengine322/Makefile index 91de35d33b1d..5481233737c7 100644 --- a/sysutils/cfengine322/Makefile +++ b/sysutils/cfengine322/Makefile @@ -1,68 +1,69 @@ PORTNAME= cfengine DISTVERSION= 3.22.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/ DISTNAME= ${PORTNAME}-community-${DISTVERSION} MAINTAINER= cy@FreeBSD.org COMMENT= Systems administration tool for networks WWW= https://cfengine.com/ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} LICENSE= GPLv3 CPE_VENDOR= gnu CONFLICTS= cfengine cfengine3[0-9] cfengine3[0-9][0-9] .if !defined(MASTERDIR) PKGNAMESUFFIX= 322 .endif FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} USE_RC_SUBR= cf-execd cf-serverd cf-monitord MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes USES= autoreconf cpe gmake gnome libtool localbase shebangfix ssl USE_GNOME= libxml2 SHEBANG_FILES= examples/remake_outputs.pl CFLAGS+= -Wno-return-type -fcommon # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine MAKE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --libexecdir=${PREFIX}/libexec \ --libdir=${PREFIX}/libexec \ --mandir=${PREFIX}/man \ --with-workdir=/var/cfengine \ --with-pcre=${LOCALBASE} \ --with-lmdb=${LOCALBASE} \ --enable-fhs INSTALL_TARGET= install-strip LIB_DEPENDS+= libpcre.so:devel/pcre \ liblmdb.so:databases/lmdb \ libyaml.so:textproc/libyaml \ libcurl.so:ftp/curl OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= --with-postgresql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-postgresql MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= --with-mysql=${LOCALBASE} MYSQL_CONFIGURE_OFF= --without-mysql MYSQL_LIB_DEPENDS= libmysqlclient.so:${_MYSQL_CLIENT} MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql LIBVIRT_CONFIGURE_WITH= --with-libvirt=${LOCALBASE} LIBVIRT_LIB_DEPENDS+= libvirt.so:devel/libvirt .include diff --git a/sysutils/cfengine323/Makefile b/sysutils/cfengine323/Makefile index e0d9faea2b85..6ddd2fc73593 100644 --- a/sysutils/cfengine323/Makefile +++ b/sysutils/cfengine323/Makefile @@ -1,68 +1,69 @@ PORTNAME= cfengine DISTVERSION= 3.23.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/ DISTNAME= ${PORTNAME}-community-${DISTVERSION} MAINTAINER= cy@FreeBSD.org COMMENT= Systems administration tool for networks WWW= https://cfengine.com/ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} LICENSE= GPLv3 CPE_VENDOR= gnu CONFLICTS= cfengine cfengine3[0-9] cfengine3[0-9][0-9] .if !defined(MASTERDIR) PKGNAMESUFFIX= 323 .endif FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} USE_RC_SUBR= cf-execd cf-serverd cf-monitord MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes USES= autoreconf cpe gmake gnome libtool localbase shebangfix ssl USE_GNOME= libxml2 SHEBANG_FILES= examples/remake_outputs.pl CFLAGS+= -Wno-return-type -fcommon # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine MAKE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --libexecdir=${PREFIX}/libexec \ --libdir=${PREFIX}/libexec \ --mandir=${PREFIX}/man \ --with-workdir=/var/cfengine \ --with-pcre=${LOCALBASE} \ --with-lmdb=${LOCALBASE} \ --enable-fhs INSTALL_TARGET= install-strip LIB_DEPENDS+= libpcre.so:devel/pcre \ liblmdb.so:databases/lmdb \ libyaml.so:textproc/libyaml \ libcurl.so:ftp/curl OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= --with-postgresql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-postgresql MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= --with-mysql=${LOCALBASE} MYSQL_CONFIGURE_OFF= --without-mysql MYSQL_LIB_DEPENDS= libmysqlclient.so:${_MYSQL_CLIENT} MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql LIBVIRT_CONFIGURE_WITH= --with-libvirt=${LOCALBASE} LIBVIRT_LIB_DEPENDS+= libvirt.so:devel/libvirt .include diff --git a/sysutils/cfengine324/Makefile b/sysutils/cfengine324/Makefile index cb4abb288e0e..efd097803bb8 100644 --- a/sysutils/cfengine324/Makefile +++ b/sysutils/cfengine324/Makefile @@ -1,69 +1,70 @@ PORTNAME= cfengine DISTVERSION= 3.24.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/ DISTNAME= ${PORTNAME}-community-${DISTVERSION} MAINTAINER= cy@FreeBSD.org COMMENT= Systems administration tool for networks WWW= https://cfengine.com/ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} LICENSE= GPLv3 CPE_VENDOR= gnu CONFLICTS= cfengine cfengine3[0-9] cfengine3[0-9][0-9] .if !defined(MASTERDIR) PKGNAMESUFFIX= 324 .endif FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} USE_RC_SUBR= cf-execd cf-serverd cf-monitord MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes USES= autoreconf cpe gmake gnome libtool localbase shebangfix ssl USE_GNOME= libxml2 SHEBANG_FILES= examples/remake_outputs.pl CFLAGS+= -Wno-return-type -fcommon # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine MAKE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --libexecdir=${PREFIX}/libexec \ --libdir=${PREFIX}/libexec \ --mandir=${PREFIX}/man \ --with-workdir=/var/cfengine \ --with-pcre2=${LOCALBASE} \ --with-lmdb=${LOCALBASE} \ --enable-fhs INSTALL_TARGET= install-strip LIB_DEPENDS+= libpcre.so:devel/pcre \ libpcre2-posix.so:devel/pcre2 \ liblmdb.so:databases/lmdb \ libyaml.so:textproc/libyaml \ libcurl.so:ftp/curl OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= --with-postgresql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-postgresql MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= --with-mysql=${LOCALBASE} MYSQL_CONFIGURE_OFF= --without-mysql MYSQL_LIB_DEPENDS= libmysqlclient.so:${_MYSQL_CLIENT} MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql LIBVIRT_CONFIGURE_WITH= --with-libvirt=${LOCALBASE} LIBVIRT_LIB_DEPENDS+= libvirt.so:devel/libvirt .include diff --git a/sysutils/cfengine325/Makefile b/sysutils/cfengine325/Makefile index 2a5f20c53195..d4d32d61711a 100644 --- a/sysutils/cfengine325/Makefile +++ b/sysutils/cfengine325/Makefile @@ -1,70 +1,71 @@ PORTNAME= cfengine DISTVERSION= 3.25.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/ DISTNAME= ${PORTNAME}-community-${DISTVERSION} MAINTAINER= cy@FreeBSD.org COMMENT= Systems administration tool for networks WWW= https://cfengine.com/ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} LICENSE= GPLv3 CPE_VENDOR= gnu CONFLICTS= cfengine cfengine3[0-9] cfengine3[0-9][0-9] .if !defined(MASTERDIR) PKGNAMESUFFIX= 325 .endif FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} USE_RC_SUBR= cf-execd cf-serverd cf-monitord MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes USES= autoreconf cpe gmake gnome libtool localbase shebangfix ssl USE_GNOME= libxml2 SHEBANG_FILES= examples/remake_outputs.pl CFLAGS+= -Wno-return-type -fcommon # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine MAKE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --libexecdir=${PREFIX}/libexec \ --libdir=${PREFIX}/libexec \ --mandir=${PREFIX}/man \ --with-workdir=/var/cfengine \ --with-pcre2=${LOCALBASE} \ --with-lmdb=${LOCALBASE} \ --enable-fhs INSTALL_TARGET= install-strip LIB_DEPENDS+= libpcre.so:devel/pcre \ libpcre2-posix.so:devel/pcre2 \ liblmdb.so:databases/lmdb \ libyaml.so:textproc/libyaml \ libcurl.so:ftp/curl \ librsync.so:net/librsync OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= --with-postgresql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-postgresql MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= --with-mysql=${LOCALBASE} MYSQL_CONFIGURE_OFF= --without-mysql MYSQL_LIB_DEPENDS= libmysqlclient.so:${_MYSQL_CLIENT} MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql LIBVIRT_CONFIGURE_WITH= --with-libvirt=${LOCALBASE} LIBVIRT_LIB_DEPENDS+= libvirt.so:devel/libvirt .include diff --git a/sysutils/cfengine326/Makefile b/sysutils/cfengine326/Makefile index 97fa75ecefdc..ab418bf9ac57 100644 --- a/sysutils/cfengine326/Makefile +++ b/sysutils/cfengine326/Makefile @@ -1,70 +1,71 @@ PORTNAME= cfengine DISTVERSION= 3.26.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/ DISTNAME= ${PORTNAME}-community-${DISTVERSION} MAINTAINER= cy@FreeBSD.org COMMENT= Systems administration tool for networks WWW= https://cfengine.com/ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} LICENSE= GPLv3 CPE_VENDOR= gnu CONFLICTS= cfengine cfengine3[0-9] cfengine3[0-9][0-9] .if !defined(MASTERDIR) PKGNAMESUFFIX= 326 .endif FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTFILES} USE_RC_SUBR= cf-execd cf-serverd cf-monitord MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes USES= autoreconf cpe gmake gnome libtool localbase shebangfix ssl USE_GNOME= libxml2 SHEBANG_FILES= examples/remake_outputs.pl CFLAGS+= -Wno-return-type -fcommon # EXAMPLESDIR= ${PREFIX}/share/examples/cfengine3 DOCSDIR= ${PREFIX}/share/doc/cfengine MAKE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ENV= EXPLICIT_VERSION=${PORTVERSION} CONFIGURE_ARGS= --docdir=${DOCSDIR} \ --htmldir=${DOCSDIR}/html \ --libexecdir=${PREFIX}/libexec \ --libdir=${PREFIX}/libexec \ --mandir=${PREFIX}/man \ --with-workdir=/var/cfengine \ --with-pcre2=${LOCALBASE} \ --with-lmdb=${LOCALBASE} \ --enable-fhs INSTALL_TARGET= install-strip LIB_DEPENDS+= libpcre.so:devel/pcre \ libpcre2-posix.so:devel/pcre2 \ liblmdb.so:databases/lmdb \ libyaml.so:textproc/libyaml \ libcurl.so:ftp/curl \ librsync.so:net/librsync OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= --with-postgresql=${LOCALBASE} PGSQL_CONFIGURE_OFF= --without-postgresql MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= --with-mysql=${LOCALBASE} MYSQL_CONFIGURE_OFF= --without-mysql MYSQL_LIB_DEPENDS= libmysqlclient.so:${_MYSQL_CLIENT} MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql LIBVIRT_CONFIGURE_WITH= --with-libvirt=${LOCALBASE} LIBVIRT_LIB_DEPENDS+= libvirt.so:devel/libvirt .include diff --git a/sysutils/cluster-glue/Makefile b/sysutils/cluster-glue/Makefile index 3acdb915b594..c0965bed5a7d 100644 --- a/sysutils/cluster-glue/Makefile +++ b/sysutils/cluster-glue/Makefile @@ -1,77 +1,77 @@ PORTNAME= cluster-glue PORTVERSION= 1.0.12 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= sysutils MASTER_SITES= http://hg.linux-ha.org/glue/archive/ DISTNAME= 0a7add1d9996 DIST_SUBDIR= linux-ha MAINTAINER= ports@FreeBSD.org COMMENT= High availability cluster libraries and utilities WWW= http://linux-ha.org/wiki/Cluster_Glue LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libltdl.so:devel/libltdl \ libuuid.so:misc/e2fsprogs-libuuid \ libnet.so:net/libnet USES= autoreconf gettext gmake gnome libtool localbase perl5 pkgconfig python shebangfix \ tar:bz2 ssl SHEBANG_FILES= lib/plugins/stonith/external/ibmrsa-telnet \ lib/plugins/stonith/external/vmware \ lib/plugins/stonith/external/xen0-ha.in \ lib/plugins/stonith/external/xen0-ha-dom0-stonith-helper \ lib/plugins/stonith/external/riloe \ lib/plugins/stonith/external/dracmc-telnet USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes USE_RC_SUBR= ha_logd WRKSRC= ${WRKDIR}/Reusable-Cluster-Components-glue--${DISTNAME} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-fatal-warnings \ --with-initdir=${PREFIX}/etc/rc.d \ --with-ocf-root=${PREFIX}/etc/ocf \ ac_cv_header_openhpi_SaHpi_h=no INSTALL_TARGET= install-strip USERS= hacluster GROUPS= haclient OPTIONS_DEFINE= DOCS DRAC3 IPMI MANPAGES SNMP OPTIONS_DEFAULT= DRAC3 IPMI MANPAGES SNMP OPTIONS_SUB= yes DRAC3_CONFIGURE_OFF= ac_cv_header_curl_curl_h=no DRAC3_DESC= Dell DRAC III support DRAC3_LIB_DEPENDS= libcurl.so:ftp/curl IPMI_CONFIGURE_ENABLE= ipmilan IPMI_DESC= Intelligent Platform Management Interface support IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \ help2man:misc/help2man \ xsltproc:textproc/libxslt MANPAGES_CONFIGURE_ENABLE=doc SNMP_CONFIGURE_ENABLE= snmp SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp .include .if exists(${LOCALBASE}/include/vacmclient_api.h) PLIST_SUB+= VACM="" .else PLIST_SUB+= VACM="@comment " .endif post-install: ${INSTALL_DATA} ${WRKSRC}/logd/logd.cf \ ${STAGEDIR}${PREFIX}/etc/ha_logd.cf.sample .include diff --git a/sysutils/createrepo_c/Makefile b/sysutils/createrepo_c/Makefile index ba3fe4a76c83..d9fe6fd24cba 100644 --- a/sysutils/createrepo_c/Makefile +++ b/sysutils/createrepo_c/Makefile @@ -1,50 +1,51 @@ PORTNAME= createrepo_c DISTVERSION= 1.1.4 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= ktk@netlabs.org COMMENT= C implementation of createrepo WWW= http://rpm-software-management.github.io/createrepo_c/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= librpm.so:archivers/rpm4 \ libcurl.so:ftp/curl \ libmodulemd.so:misc/libmodulemd \ libpopt.so:devel/popt \ libzck.so:archivers/zchunk \ libzstd.so:archivers/zstd TEST_DEPENDS= bash:shells/bash USES= cmake:testing gnome pathfix pkgconfig shebangfix sqlite ssl USE_GNOME= glib20 libxml2 USE_GITHUB= yes GH_ACCOUNT= rpm-software-management CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Doxygen CMAKE_OFF= ENABLE_PYTHON SHEBANG_FILES= tests/run_tests.sh.in USE_LDCONFIG= yes post-patch: ${REINPLACE_CMD} \ -e '/pkg_check_modules/s|REQUIRED|REQUIRED IMPORTED_TARGET|' \ -e 's|EXCLUDE_FROM_ALL||' \ ${WRKSRC}/CMakeLists.txt for m in GLIB2 GIO GTHREAD2 LIBMODULEMD LZMA SQLITE3 RPM ZCK ZSTD; do \ ${REINPLACE_CMD} \ "s/\$${$${m}_LIBRARIES}/PkgConfig::$${m}/" \ ${WRKSRC}/src/CMakeLists.txt; \ done for m in GLIB2; do \ ${REINPLACE_CMD} \ "s/\$${$${m}_LIBRARIES}/PkgConfig::$${m}/" \ ${WRKSRC}/tests/CMakeLists.txt; \ done .include diff --git a/sysutils/gdmap/Makefile b/sysutils/gdmap/Makefile index b6923ec4ea01..181bf2578cfc 100644 --- a/sysutils/gdmap/Makefile +++ b/sysutils/gdmap/Makefile @@ -1,35 +1,35 @@ PORTNAME= gdmap PORTVERSION= 0.8.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils gnome MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Graphical disk map Utility WWW= https://gdmap.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser USES= gettext gmake gnome pathfix perl5 pkgconfig USE_PERL5= build USE_GNOME= gtk20 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lm post-patch: @${REINPLACE_CMD} -e \ 's|-D.*_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|||' \ ${WRKSRC}/src/gui_main.c @${REINPLACE_CMD} -e \ 's|=\(gdmap_icon.png\)|=${PREFIX}/share/pixmaps/\1|' \ ${WRKSRC}/data/gdmap.desktop.in .include diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile index a31a4e275cb5..f5f4c56a1801 100644 --- a/sysutils/gnome-control-center/Makefile +++ b/sysutils/gnome-control-center/Makefile @@ -1,69 +1,70 @@ PORTNAME= gnome-control-center PORTVERSION= 47.6 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Control center for the GNOME desktop WWW= https://apps.gnome.org/Settings/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limit:^47\. BUILD_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ tecla>0:x11/tecla LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice \ libcolord-gtk4.so:graphics/colord-gtk \ libcolord.so:graphics/colord \ libcups.so:print/cups \ libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libgoa-1.0.so:net/gnome-online-accounts \ libgtop-2.0.so:devel/libgtop \ libibus-1.0.so:textproc/ibus \ libpolkit-gobject-1.so:sysutils/polkit \ libpulse.so:audio/pulseaudio \ libpwquality.so:security/libpwquality \ libsecret-1.so:security/libsecret \ libudisks2.so:sysutils/libudisks \ libupower-glib.so:sysutils/upower \ libgudev-1.0.so:devel/libgudev \ libgcr-4.so:security/gcr \ libgnutls.so:security/gnutls RUN_DEPENDS= cantarell-fonts>=0:x11-fonts/cantarell-fonts \ gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ gnome-backgrounds>0:x11-themes/gnome-backgrounds \ tecla>0:x11/tecla \ cups-pk-helper>0:print/cups-pk-helper USES= compiler:c++11-lib gettext gnome localbase:ldflags meson \ pkgconfig python:build samba:lib tar:xz xorg USE_GNOME= cairo gdkpixbufextra gnomedesktop4 glib20 gtk40 gsound \ libadwaita libxml2 USE_XORG= x11 xi USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_VERSION} MESON_ARGS= -Dlocation-services=disabled \ -Dsnap=false \ -Dtests=false GLIB_SCHEMAS= org.gnome.Settings.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= WAYLAND OPTIONS_DEFAULT= WAYLAND WAYLAND_MESON_TRUE= wayland post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${LOCALBASE}|' \ ${WRKSRC}/panels/printers/pp-host.c .include diff --git a/sysutils/graveman/Makefile b/sysutils/graveman/Makefile index c8ac85bf1685..254ba2bebf63 100644 --- a/sysutils/graveman/Makefile +++ b/sysutils/graveman/Makefile @@ -1,33 +1,33 @@ PORTNAME= graveman DISTVERSION= 0.3.12-5 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= sysutils MASTER_SITES= http://graveman.tuxfamily.org/sources/ MAINTAINER= ports@FreeBSD.org COMMENT= Another GTK2 frontend for cdrecord, mkisofs, readcd, and sox WWW= https://www.nongnu.org/graveman/ LIB_DEPENDS= libmng.so:graphics/libmng BUILD_DEPENDS= cdrecord:sysutils/cdrtools RUN_DEPENDS:= ${BUILD_DEPENDS} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USES= gettext gmake gnome pathfix pkgconfig tar:bzip2 USE_GNOME= libglade2 intlhack gnomeprefix CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= MP3 OGG DVD DVD_DESC= DVD+RW support MP3_LIB_DEPENDS= libmad.so:audio/libmad \ libid3tag.so:audio/libid3tag MP3_RUN_DEPENDS= sox:audio/sox MP3_CONFIGURE_OFF= --disable-mp3 OGG_LIB_DEPENDS= libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis OGG_CONFIGURE_OFF= --disable-ogg DVD_RUN_DEPENDS= growisofs:sysutils/dvd+rw-tools .include diff --git a/sysutils/khelpcenter/Makefile b/sysutils/khelpcenter/Makefile index f19b66b5eaf0..273be8e965af 100644 --- a/sysutils/khelpcenter/Makefile +++ b/sysutils/khelpcenter/Makefile @@ -1,29 +1,30 @@ PORTNAME= khelpcenter DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= sysutils kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Plasma5 application to show KDE application documentation WWW= https://projects.kde.org/projects/kde/workspace/khelpcenter LIB_DEPENDS= libxapian.so:databases/xapian-core USES= cmake compiler:c++11-lib desktop-file-utils gettext gnome \ kde:6 python:env,run qt:6 shebangfix tar:xz xorg USE_GNOME= libxml2 USE_KDE= archive auth bookmarks codecs completion config configwidgets \ coreaddons dbusaddons i18n itemmodels itemviews jobwidgets \ kcmutils kio parts service solid sonnet texttemplate \ textwidgets widgetsaddons windowsystem xmlgui \ ecm:build # This port depends on doctools; we need the entities and such for runtime # documentation support, where all the other KDE Plasma parts need it # only for the build-time documentation-generation. USE_KDE+= doctools USE_QT= base webengine USE_XORG= x11 SHEBANG_FILES= searchhandlers/khc_mansearch.py OPTIONS_DEFINE= DOCS .include diff --git a/sysutils/localsearch/Makefile b/sysutils/localsearch/Makefile index f6bbcd8fc890..a800e81bced7 100644 --- a/sysutils/localsearch/Makefile +++ b/sysutils/localsearch/Makefile @@ -1,50 +1,50 @@ PORTNAME= localsearch PORTVERSION= 3.8.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= collection of data extractors for Tracker/Nepomuk WWW= https://gnome.pages.gitlab.gnome.org/localsearch/ LICENSE= LGPL21 GPLv2+ LICENSE_COMB= multi BUILD_DEPENDS= a2x:textproc/asciidoc LIB_DEPENDS= libexempi.so:textproc/exempi \ libgexiv2.so:graphics/gexiv2 \ libgudev-1.0.so:devel/libgudev \ libcue.so:textproc/libcue \ libexif.so:graphics/libexif \ libgsf-1.so:devel/libgsf \ libgxps.so:graphics/libgxps \ libiptcdata.so:graphics/libiptcdata \ libosinfo-1.0.so:devel/libosinfo \ libpoppler-glib.so:graphics/poppler-glib \ libtiff.so:graphics/tiff \ libtinysparql-3.0.so.0:devel/tinysparql \ libtotem-plparser.so:multimedia/totem-pl-parser \ libupower-glib.so:sysutils/upower \ libgif.so:graphics/giflib USES= tar:xz meson pkgconfig gstreamer gnome USE_GSTREAMER= core good bad USE_GNOME= glib20 GLIB_SCHEMAS= org.freedesktop.Tracker3.Extract.gschema.xml \ org.freedesktop.Tracker3.FTS.gschema.xml \ org.freedesktop.Tracker3.Miner.Files.gschema.xml \ org.freedesktop.TrackerMiners3.enums.xml LDFLAGS= -L/usr/local/lib MESON_ARGS= -Dminer_rss=false \ -Dfunctional_tests=false \ -Dnetwork_manager=disabled \ -Dsystemd_user_services=false \ -Dlandlock=disabled \ -Dfanotify=disabled .include diff --git a/sysutils/mate-control-center/Makefile b/sysutils/mate-control-center/Makefile index 297e3f3bc18d..39fead4e5bf8 100644 --- a/sysutils/mate-control-center/Makefile +++ b/sysutils/mate-control-center/Makefile @@ -1,59 +1,59 @@ PORTNAME= mate-control-center PORTVERSION= 1.28.1 DISTVERSIONPREFIX= v -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils mate DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Control center for MATE project WWW= https://mate-desktop.org/ LICENSE= GPLv2+ GPLv3+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool \ yelp-tools>0:textproc/yelp-tools \ yelp-xsl>0:textproc/yelp-xsl LIB_DEPENDS= libayatana-appindicator3.so:devel/libayatana-appindicator \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libxklavier.so:x11/libxklavier \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libstartup-notification-1.so:x11/startup-notification \ libunique-3.0.so:x11-toolkits/libunique3 \ libpolkit-gobject-1.so:sysutils/polkit \ libaccountsservice.so:sysutils/accountsservice \ libudisks2.so:sysutils/libudisks PORTSCOUT= limitw:1,even USES= autoreconf desktop-file-utils gettext gmake gnome libtool localbase mate \ pathfix pkgconfig shared-mime-info tar:xz xorg USE_GITHUB= yes GH_ACCOUNT= mate-desktop USE_CSTD= c99 USE_MATE= desktop libmatekbd marco menus settingsdaemon USE_XORG= ice sm x11 xcursor xext xft xi xrandr xscrnsaver USE_GNOME= cairo dconf glib20 gtk30 intlhack libxml2 librsvg2 pango USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-appindicator=no \ --disable-update-mimedb \ --disable-systemd INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.control-center.gschema.xml \ org.mate.control-center.keybinding.gschema.xml post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/capplets/common/mate-theme-info.c @${REINPLACE_CMD} -e 's|/usr/sbin|${PREFIX}/sbin|g' \ ${WRKSRC}/capplets/display/org.mate.randr.policy.in .include diff --git a/sysutils/mate-system-monitor/Makefile b/sysutils/mate-system-monitor/Makefile index 11c42059d67d..08fc1295b815 100644 --- a/sysutils/mate-system-monitor/Makefile +++ b/sysutils/mate-system-monitor/Makefile @@ -1,32 +1,33 @@ PORTNAME= mate-system-monitor PORTVERSION= 1.28.1 +PORTREVISION= 1 CATEGORIES= sysutils mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= MATE system monitor program WWW= https://mate-desktop.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgtop-2.0.so:devel/libgtop \ libdbus-glib-1.so:devel/dbus-glib PORTSCOUT= limitw:1,even USES= alias compiler:c++11-lib gettext gmake gnome localbase mate \ pathfix pkgconfig tar:xz USE_MATE= icontheme USE_GNOME= gtkmm30 intlhack librsvg2 libwnck3 libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-systemd CONFIGURE_ENV= LIBS="-lutil" DATADIRNAME="share" GLIB_SCHEMAS= org.mate.system-monitor.enums.xml \ org.mate.system-monitor.gschema.xml .include diff --git a/sysutils/osinfo-db-tools/Makefile b/sysutils/osinfo-db-tools/Makefile index ff4947f36265..36019a6ba630 100644 --- a/sysutils/osinfo-db-tools/Makefile +++ b/sysutils/osinfo-db-tools/Makefile @@ -1,20 +1,20 @@ PORTNAME= osinfo-db-tools DISTVERSION= 1.12.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://releases.pagure.org/libosinfo/ MAINTAINER= novel@FreeBSD.org COMMENT= Tools for managing the osinfo database WWW= https://libosinfo.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libsoup-2.4.so:devel/libsoup USES= gettext gnome libarchive meson pkgconfig tar:xz USE_GNOME= glib20 intltool libxml2 .include diff --git a/textproc/R-cran-XML/Makefile b/textproc/R-cran-XML/Makefile index 53b38f5bc741..2e5d441c2fce 100644 --- a/textproc/R-cran-XML/Makefile +++ b/textproc/R-cran-XML/Makefile @@ -1,15 +1,16 @@ PORTNAME= XML DISTVERSION= 3.99-0.18 +PORTREVISION= 1 CATEGORIES= textproc DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= Tools for parsing and generating XML WWW= https://cran.r-project.org/web/packages/XML/ LICENSE= BSD3CLAUSE USES= cran:auto-plist,compiles gnome USE_GNOME= libxml2 .include diff --git a/textproc/R-cran-xml2/Makefile b/textproc/R-cran-xml2/Makefile index 13b93f21e51b..9214eef0d49d 100644 --- a/textproc/R-cran-xml2/Makefile +++ b/textproc/R-cran-xml2/Makefile @@ -1,18 +1,19 @@ PORTNAME= xml2 PORTVERSION= 1.3.8 +PORTREVISION= 1 CATEGORIES= textproc DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= tota@FreeBSD.org COMMENT= Parse XML WWW= https://cran.r-project.org/web/packages/xml2/ LICENSE= MIT RUN_DEPENDS= R-cran-cli>0:devel/R-cran-cli \ R-cran-rlang>=1.1.0:devel/R-cran-rlang USES= cran:auto-plist,compiles gnome USE_GNOME= libxml2 .include diff --git a/textproc/apertium/Makefile b/textproc/apertium/Makefile index 07b49e5692fc..42ec4f996306 100644 --- a/textproc/apertium/Makefile +++ b/textproc/apertium/Makefile @@ -1,43 +1,44 @@ PORTNAME= apertium DISTVERSIONPREFIX= v DISTVERSION= 3.9.12 +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= bofh@FreeBSD.org COMMENT= Toolbox to build shallow-transfer machine translation systems WWW= https://www.apertium.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash \ utf8cpp>=4.0.0:devel/utf8cpp LIB_DEPENDS= libicudata.so:devel/icu \ liblttoolbox.so:textproc/lttoolbox RUN_DEPENDS= bash:shells/bash USES= autoreconf gmake gnome libtool localbase:ldflags pathfix \ pkgconfig python shebangfix USE_GITHUB= yes GH_ACCOUNT= apertium:contrib GH_PROJECT= apertium-get:contrib GH_SUBDIR= apertium/apertium-get:contrib GH_TAGNAME= 74d7d35:contrib USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes SHEBANG_FILES= apertium/apertium-get/apertium-get.sh scripts/apertium-editdist \ scripts/apertium-filter-dix.in scripts/apertium-filter-rules \ scripts/apertium-filter-xml scripts/apertium-genvdix \ scripts/apertium-genvldix scripts/apertium-genvrdix \ scripts/apertium-metalrx scripts/apertium-metalrx-to-lrx.in \ scripts/apertium-translate-to-default-equivalent.in GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip CFLAGS+= -I${LOCALBASE}/include/utf8cpp .include diff --git a/textproc/augeas/Makefile b/textproc/augeas/Makefile index 36012ee3bd09..728645ba0704 100644 --- a/textproc/augeas/Makefile +++ b/textproc/augeas/Makefile @@ -1,44 +1,44 @@ PORTNAME= augeas DISTVERSION= 1.14.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc MASTER_SITES= https://github.com/hercules-team/augeas/releases/download/release-${DISTVERSION}/ PATCH_SITES= https://github.com/hercules-team/augeas/commit/ PATCHFILES+= 7b26cbb74ed634d886ed842e3d5495361d8fd9b1.patch:-p1 # https://github.com/hercules-team/augeas/pull/792 MAINTAINER= puppet@FreeBSD.org COMMENT= Configuration editing tool WWW= https://augeas.net/ LICENSE= LGPL21 TEST_DEPENDS= bash:shells/bash \ gsed:textproc/gsed USES= autoreconf cpe gmake gnome libtool pathfix pkgconfig readline USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip LENSESDIR= ${PREFIX}/share/augeas/lenses .include .if ${OPSYS} == FreeBSD CFLAGS+=-Wno-error=int-conversion .endif post-patch: @${REINPLACE_CMD} -e 's:/bin/bash:/usr/bin/env bash:' ${WRKSRC}/tests/*.sh @${REINPLACE_CMD} -e 's:sed:gsed:' ${WRKSRC}/tests/test-augtool.sh @${REINPLACE_CMD} -e 's:/usr/local:${LOCALBASE}:' \ ${WRKSRC}/lenses/puppet.aug \ ${WRKSRC}/lenses/puppet_auth.aug \ ${WRKSRC}/lenses/puppetfileserver.aug .include diff --git a/textproc/ebook-tools/Makefile b/textproc/ebook-tools/Makefile index 0a90f3f6f9ce..f19e46180b7a 100644 --- a/textproc/ebook-tools/Makefile +++ b/textproc/ebook-tools/Makefile @@ -1,21 +1,21 @@ PORTNAME= ebook-tools PORTVERSION= 0.2.2 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= textproc kde MASTER_SITES= SF MAINTAINER= kde@FreeBSD.org COMMENT= Accesses and converts various ebook file formats WWW= https://sourceforge.net/projects/ebook-tools/ LICENSE= MIT LIB_DEPENDS= libzip.so:archivers/libzip USES= cmake gnome USE_LDCONFIG= yes USE_GNOME= libxml2 CONFLICTS_INSTALL= ncbi-entrez-direct # bin/einfo .include diff --git a/textproc/gdome2/Makefile b/textproc/gdome2/Makefile index 572c0eb4c624..ee21865cb50a 100644 --- a/textproc/gdome2/Makefile +++ b/textproc/gdome2/Makefile @@ -1,64 +1,64 @@ PORTNAME= gdome2 PORTVERSION= 0.8.1 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= textproc MASTER_SITES= http://gdome2.cs.unibo.it/tarball/ MAINTAINER= bofh@FreeBSD.org COMMENT= Gnome DOM Engine WWW= http://gdome2.cs.unibo.it/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB USES= gnome libtool localbase pathfix pkgconfig USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= GLIB_CONFIG="${LOCALBASE}/bin/pkg-config glib-2.0" INSTALL_TARGET= install-strip CFLAGS+= -fcommon DOCSDIR= ${PREFIX}/share/doc/${DISTNAME} PORTDOCS= * OPTIONS_DEFINE= DOCS .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${FIND} ${WRKSRC} -type f -and \ '(' -name '*.[ch]' -or -name '*.xml' ')' | \ ${XARGS} ${REINPLACE_CMD} -e ' \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,' post-patch-DOCS-on: @${REINPLACE_CMD} -E -e \ 's,^(HTML_DIR *= *).*,\1\$$(DESTDIR)$$(prefix)/share/doc,' \ ${WRKSRC}/gtk-doc/Makefile.in post-patch-DOCS-off: @${REINPLACE_CMD} '/gtk-doc/d' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdome.so .include diff --git a/textproc/lasem/Makefile b/textproc/lasem/Makefile index b2893c0c165c..f93fe3785c41 100644 --- a/textproc/lasem/Makefile +++ b/textproc/lasem/Makefile @@ -1,28 +1,28 @@ PORTNAME= lasem PORTVERSION= 0.5.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= SVG/Mathml renderer and editor WWW= https://wiki.gnome.org/Projects/Lasem OPTIONS_DEFINE= DOCS LICENSE= GPLv2 RUN_DEPENDS= stixfonts>0:x11-fonts/stix-fonts GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz USE_GNOME= glib20 pango intltool gdkpixbuf libxml2 introspection:build CONFIGURE_ARGS= --disable-gtk-doc-html \ --without-html-dir INSTALL_TARGET= install-strip MAKE_ARGS= lasemdocdir=${DOCSDIR} .include diff --git a/textproc/libabw/Makefile b/textproc/libabw/Makefile index c11883da1278..43be0399deb3 100644 --- a/textproc/libabw/Makefile +++ b/textproc/libabw/Makefile @@ -1,26 +1,26 @@ PORTNAME= libabw PORTVERSION= 0.1.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc MASTER_SITES= LODEV/${PORTNAME} MAINTAINER= office@FreeBSD.org COMMENT= Library providing ability to interpret Abiword documents WWW= https://wiki.documentfoundation.org/DLP/Libraries/libabw LICENSE= MPL20 BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string.hpp:devel/boost-libs LIB_DEPENDS= librevenge-0.0.so:textproc/librevenge USES= compiler:c++11-lib gnome gperf libtool localbase pathfix perl5 pkgconfig \ tar:xz USE_LDCONFIG= yes USE_GNOME= libxml2 GNU_CONFIGURE= yes USE_PERL5= build INSTALL_TARGET= install-strip CONFIGURE_ARGS= --without-docs .include diff --git a/textproc/libcroco/Makefile b/textproc/libcroco/Makefile index 0656e15d2079..25e2df98622f 100644 --- a/textproc/libcroco/Makefile +++ b/textproc/libcroco/Makefile @@ -1,23 +1,23 @@ PORTNAME= libcroco PORTVERSION= 0.6.13 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc gnome MASTER_SITES= GNOME MAINTAINER= desktop@FreeBSD.org COMMENT= CSS2 parsing library WWW= http://www.freespiders.org/projects/libcroco/ LICENSE= LGPL21 GNU_CONFIGURE= yes USES= cpe gettext gmake gnome libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes USE_GNOME= glib20 libxml2 CONFIGURE_ARGS= --disable-gtk-doc-html INSTALL_TARGET= install-strip CPE_VENDOR= gnome PLIST_SUB= VERSION="0.6" .include diff --git a/textproc/libe-book/Makefile b/textproc/libe-book/Makefile index 98479558b731..0c944eae8823 100644 --- a/textproc/libe-book/Makefile +++ b/textproc/libe-book/Makefile @@ -1,37 +1,37 @@ PORTNAME= libe-book DISTVERSION= 0.1.3 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= textproc MASTER_SITES= SF/libebook/${PORTNAME}-${DISTVERSION}/ MAINTAINER= office@FreeBSD.org COMMENT= Library for import of reflowable e-book formats WWW= https://sourceforge.net/projects/libebook/ LICENSE= MPL20 BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string/classification.hpp:devel/boost-libs LIB_DEPENDS= libicui18n.so:devel/icu \ liblangtag.so:devel/liblangtag \ librevenge-0.0.so:textproc/librevenge USES= autoreconf compiler:c++11-lib gmake gnome gperf libtool \ localbase pathfix pkgconfig tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip PORTDOCS= * CPPFLAGS+= -DBOOST_ERROR_CODE_HEADER_ONLY CONFIGURE_ARGS= --disable-werror --disable-tests OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CONFIGURE_OFF= --without-docs .include diff --git a/textproc/libfo/Makefile b/textproc/libfo/Makefile index b23c6f5880a4..786330c75875 100644 --- a/textproc/libfo/Makefile +++ b/textproc/libfo/Makefile @@ -1,38 +1,38 @@ PORTNAME= libfo PORTVERSION= 0.6.3 DISTVERSIONPREFIX= v -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= textproc MAINTAINER= hrs@FreeBSD.org COMMENT= XSL formatter library for xmlroff WWW= http://xmlroff.org LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/catalog.xml:textproc/docbook-xsl \ xmlcatmgr:textproc/xmlcatmgr LIB_DEPENDS= libcairo.so:graphics/cairo \ libfreetype.so:print/freetype2 CONFLICTS_INSTALL= xmlroff-0.6.[12] xmlroff-0.6.2_[12345] USES= autoreconf gettext gmake gnome localbase libtool pathfix pkgconfig USE_GNOME= libxslt libxml2 glib20 pango \ librsvg2 gdkpixbuf USE_GITHUB= yes GH_PROJECT= xmlroff GH_ACCOUNT= xmlroff USE_LDCONFIG= yes WRKSRC_SUBDIR= xmlroff GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gtk-doc \ --disable-gp INSTALL_TARGET= install-strip post-patch: ${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/libfo/fo-libfo-basic.h .include diff --git a/textproc/libfolia/Makefile b/textproc/libfolia/Makefile index 350f374ad3ee..6f0bee103d2a 100644 --- a/textproc/libfolia/Makefile +++ b/textproc/libfolia/Makefile @@ -1,28 +1,28 @@ PORTNAME= libfolia DISTVERSION= 2.21 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= https://github.com/LanguageMachines/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Library for FoLiA, a format for annotated language resources WWW= https://proycon.github.io/folia/ \ https://github.com/proycon/folia LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libicui18n.so:devel/icu \ libticcutils.so:devel/ticcutils USES= autoreconf compiler:c++17-lang gmake gnome libtool \ pathfix pkgconfig USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip .include diff --git a/textproc/libgepub/Makefile b/textproc/libgepub/Makefile index 6634e331343f..795739e2e8ca 100644 --- a/textproc/libgepub/Makefile +++ b/textproc/libgepub/Makefile @@ -1,22 +1,23 @@ PORTNAME= libgepub PORTVERSION= 0.7.3 +PORTREVISION= 1 CATEGORIES= textproc gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GObject based library for handling and rendering epub documents WWW= https://gitlab.gnome.org/GNOME/libgepub LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3 USES= compiler:c11 gettext-runtime gnome libarchive meson \ pkgconfig tar:xz USE_GNOME= glib20 introspection:build libxml2 MESON_ARGS= -Dwidget=false .include diff --git a/textproc/libinfinity/Makefile b/textproc/libinfinity/Makefile index ea6b7c94d0c4..8911f47f0517 100644 --- a/textproc/libinfinity/Makefile +++ b/textproc/libinfinity/Makefile @@ -1,37 +1,38 @@ PORTNAME= libinfinity DISTVERSION= 0.7.2 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://github.com/gobby/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= nxjoseph@protonmail.com COMMENT= Collaborative editing library WWW= https://github.com/gobby/libinfinity LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gtkdocize:textproc/gtk-doc LIB_DEPENDS= libatk-1.0.so:accessibility/at-spi2-core \ libavahi-client.so:net/avahi-app \ libdaemon.so:devel/libdaemon \ libgnutls.so:security/gnutls \ libgsasl.so:security/libgsasl \ libharfbuzz.so:print/harfbuzz USES= gettext gmake gnome libtool:build pathfix pkgconfig USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libxml2 pango USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip post-install: @cd ${STAGEDIR}${PREFIX}/bin && \ ${MV} infinoted-0.7 \ infinoted @cd ${STAGEDIR}${PREFIX}/share/man/man1 && \ ${MV} infinoted-0.7.1 \ infinoted.1 .include diff --git a/textproc/libodfgen01/Makefile b/textproc/libodfgen01/Makefile index c5a0bb54fd9d..546b33ad528f 100644 --- a/textproc/libodfgen01/Makefile +++ b/textproc/libodfgen01/Makefile @@ -1,26 +1,26 @@ PORTNAME= libodfgen PORTVERSION= 0.1.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc MASTER_SITES= SF/libwpd/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= 01 MAINTAINER= office@FreeBSD.org COMMENT= Library for generating documents in Open Document Format (ODF) WWW= https://sourceforge.net/p/libwpd/wiki/libodfgen LICENSE= LGPL21 MPL20 LICENSE_COMB= dual LIB_DEPENDS= librevenge-0.0.so:textproc/librevenge CONFIGURE_ARGS= --disable-werror --without-docs CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes USES= compiler:c++11-lib gnome libtool pathfix pkgconfig tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip .include diff --git a/textproc/libtranslate/Makefile b/textproc/libtranslate/Makefile index b6bf9127dad2..7822e37976ed 100644 --- a/textproc/libtranslate/Makefile +++ b/textproc/libtranslate/Makefile @@ -1,61 +1,61 @@ PORTNAME= libtranslate PORTVERSION= 0.99 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= textproc MASTER_SITES= SAVANNAH DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # May append to this PATCHFILES= libtranslate-0.99-services.diff libtranslate-0.99-postmarker.diff PATCH_SITES= ${MASTER_SITES} PATCH_DIST_STRIP=-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Natural language translation library WWW= https://www.nongnu.org/libtranslate/ USES= gettext gmake gnome libtool pathfix pkgconfig USE_GNOME= glib20 intlhack GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc INSTALL_TARGET= install-strip OPTIONS_DEFINE= GENERIC TALKFILTERS OPTIONS_DEFAULT= GENERIC TALKFILTERS GENERIC_DESC= generic module TALKFILTERS_DESC= talkfilters module post-patch:: @${REINPLACE_CMD} -e 's|libsoup-2.2|libsoup-2.4|g' ${WRKSRC}/configure .include .if ${PORT_OPTIONS:MGENERIC} PLIST_SUB+= GENERIC="" USE_GNOME+= libxml2 LIB_DEPENDS+= libsoup-2.4.so:devel/libsoup CPPFLAGS+= -DHAVE_LIBSOUP24 DISTFILES+= libtranslate-0.99-libsoup24.diff EXTRACT_ONLY= ${DISTFILES:M*tar.*} # This patching needs to happen AFTER the stock patches were applied: post-patch:: ${SED} s,SOUP_MESSAGE_RESPONSE_,trans_SOUP_MESSAGE_RESPONSE_,g \ ${DISTDIR}/libtranslate-0.99-libsoup24.diff \ | ${PATCH} -d ${WRKSRC} -p1 .else CONFIGURE_ARGS+=--disable-generic PLIST_SUB+= GENERIC="@comment " .endif .if ${PORT_OPTIONS:MTALKFILTERS} PLIST_SUB+= TALKFILTERS="" LIB_DEPENDS+= libtalkfilters.so:misc/talkfilters .else CONFIGURE_ARGS+=--disable-talkfilters PLIST_SUB+= TALKFILTERS="@comment " .endif .include diff --git a/textproc/libvisio01/Makefile b/textproc/libvisio01/Makefile index 62910bdae2e4..2875f6d1dd74 100644 --- a/textproc/libvisio01/Makefile +++ b/textproc/libvisio01/Makefile @@ -1,31 +1,31 @@ PORTNAME= libvisio PORTVERSION= 0.1.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc devel MASTER_SITES= LODEV/${PORTNAME} PKGNAMESUFFIX= 01 MAINTAINER= office@FreeBSD.org COMMENT= Library and tools for parsing the visio file format structure WWW= https://wiki.documentfoundation.org/DLP/Libraries/libvisio LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING.MPL BUILD_DEPENDS= ${LOCALBASE}/include/boost/spirit/include/classic_core.hpp:devel/boost-libs LIB_DEPENDS= libicui18n.so:devel/icu \ librevenge-0.0.so:textproc/librevenge CONFIGURE_ARGS= --disable-tests --disable-werror --without-docs CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes USES= compiler:c++11-lib gmake gnome gperf libtool pathfix perl5 \ pkgconfig tar:xz USE_LDCONFIG= yes USE_PERL5= build USE_GNOME= libxml2 INSTALL_TARGET= install-strip PLIST_SUB= LIBVERSION=1.0.${PORTVERSION:E} .include diff --git a/textproc/libxml++/Makefile b/textproc/libxml++/Makefile index f89334433f34..07e59ea961e9 100644 --- a/textproc/libxml++/Makefile +++ b/textproc/libxml++/Makefile @@ -1,27 +1,27 @@ PORTNAME= libxml++ DISTVERSION= 5.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= GNOME \ https://github.com/libxmlplusplus/libxmlplusplus/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= 50 MAINTAINER= jcfyecrayz@liamekaens.com COMMENT= XML API for C++ WWW= https://github.com/libxmlplusplus/libxmlplusplus LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++17-lang gnome meson pkgconfig tar:xz USE_GNOME= libxml2 USE_LDCONFIG= yes MESON_ARGS= -Dbuild-examples=false \ -Dbuild-manual=false \ -Ddefault_library=both PLIST_SUB= API_VERSION=5.0 \ VERSION=5.0 .include diff --git a/textproc/libxml++26/Makefile b/textproc/libxml++26/Makefile index 802aa7711329..e9ebd8b26306 100644 --- a/textproc/libxml++26/Makefile +++ b/textproc/libxml++26/Makefile @@ -1,26 +1,27 @@ PORTNAME= libxml++ DISTVERSION= 2.42.3 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= textproc MASTER_SITES= GNOME \ https://github.com/libxmlplusplus/libxmlplusplus/releases/download/${DISTVERSION}/ MAINTAINER= gnome@FreeBSD.org COMMENT= XML API for C++ WWW= https://libxmlplusplus.github.io/libxmlplusplus/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang meson gnome pkgconfig tar:xz USE_GNOME= glibmm libxml2 USE_LDCONFIG= yes PLIST_SUB= VERSION="2.6" \ API_VERSION="2.6" MESON_ARGS= -Ddefault_library=both \ -Dbuild-examples=false \ -Dbuild-manual=false .include diff --git a/textproc/libxml++30/Makefile b/textproc/libxml++30/Makefile index d86c29d2c0d9..1ccf86ddc707 100644 --- a/textproc/libxml++30/Makefile +++ b/textproc/libxml++30/Makefile @@ -1,23 +1,23 @@ PORTNAME= libxml++ DISTVERSION= 3.2.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= GNOME PKGNAMESUFFIX= 30 MAINTAINER= gnome@FreeBSD.org COMMENT= XML API for C++ WWW= https://libxmlplusplus.github.io/libxmlplusplus/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome meson pkgconfig tar:xz USE_GNOME= glibmm libxml2 USE_LDCONFIG= yes MESON_ARGS= -Ddefault_library=both PLIST_SUB= API_VERSION="3.0" \ VERSION="3.0" .include diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile index 801171772c21..dcfd2041aefc 100644 --- a/textproc/libxslt/Makefile +++ b/textproc/libxslt/Makefile @@ -1,42 +1,43 @@ PORTNAME= libxslt DISTVERSION= 1.1.43 +PORTREVISION= 1 CATEGORIES= textproc gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= XML stylesheet transformation library WWW= https://gitlab.gnome.org/GNOME/libxslt/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/Copyright # See note in textproc/libxml2 for why this port uses autotools USES= cpe gmake gnome libtool localbase:ldflags pathfix pkgconfig tar:xz CPE_VENDOR= xmlsoft GNU_CONFIGURE= yes USE_GNOME= libxml2 USE_LDCONFIG= yes CONFIGURE_ARGS+= --without-python INSTALL_TARGET= install-strip TEST_TARGET= check PLIST_SUB= LIBVERSION=${PORTVERSION} OPTIONS_DEFINE= CRYPTO PLUGINS STATIC OPTIONS_DEFAULT= CRYPTO PLUGINS STATIC OPTIONS_SUB= yes CRYPTO_DESC= Enable crypto support PLUGINS_DESC= Enable dynamically-loaded plugins support CRYPTO_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error CRYPTO_CONFIGURE_WITH= crypto PLUGINS_CONFIGURE_WITH= plugins STATIC_CONFIGURE_ENABLE= static .include diff --git a/textproc/lttoolbox/Makefile b/textproc/lttoolbox/Makefile index 97b1df820a58..00e43a6fcce3 100644 --- a/textproc/lttoolbox/Makefile +++ b/textproc/lttoolbox/Makefile @@ -1,24 +1,25 @@ PORTNAME= lttoolbox DISTVERSION= 3.8.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://github.com/apertium/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Tool for lexical, morphological analysis and generation of words WWW= https://wiki.apertium.org/wiki/Lttoolbox LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= utf8cpp>=4.0.3:devel/utf8cpp LIB_DEPENDS= libicuio.so:devel/icu USES= cmake compiler:c++14-lang gnome libtool localbase pathfix pkgconfig \ tar:bz2 USE_GNOME= libxml2 USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include/utf8cpp -D_XOPEN_SOURCE=600 LDFLAGS+= -lpthread .include diff --git a/textproc/p5-CSS-Croco/Makefile b/textproc/p5-CSS-Croco/Makefile index 390c23f1bda7..88fd2043124c 100644 --- a/textproc/p5-CSS-Croco/Makefile +++ b/textproc/p5-CSS-Croco/Makefile @@ -1,19 +1,19 @@ PORTNAME= CSS-Croco PORTVERSION= 0.09 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Quick CSS parser WWW= https://metacpan.org/release/CSS-Croco BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-URI>=0:net/p5-URI LIB_DEPENDS= libcroco-0.6.so:textproc/libcroco USES= perl5 pkgconfig USE_PERL5= configure .include diff --git a/textproc/p5-XML-CanonicalizeXML/Makefile b/textproc/p5-XML-CanonicalizeXML/Makefile index 6124826a191e..8ba5f4e2ca95 100644 --- a/textproc/p5-XML-CanonicalizeXML/Makefile +++ b/textproc/p5-XML-CanonicalizeXML/Makefile @@ -1,24 +1,24 @@ PORTNAME= XML-CanonicalizeXML PORTVERSION= 0.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Extension for inclusive/exclusive canonicalization of XML WWW= https://metacpan.org/release/XML-CanonicalizeXML LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= gnome perl5 USE_GNOME= libxml2 USE_PERL5= configure MAKE_JOBS_UNSAFE= yes post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/CanonicalizeXML/CanonicalizeXML.so .include diff --git a/textproc/p5-XML-LibXML/Makefile b/textproc/p5-XML-LibXML/Makefile index 9462c7b0e50e..15a09e5f13f2 100644 --- a/textproc/p5-XML-LibXML/Makefile +++ b/textproc/p5-XML-LibXML/Makefile @@ -1,33 +1,34 @@ PORTNAME= XML-LibXML PORTVERSION= 2.0210 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Interface to Gnome libxml2 library WWW= https://metacpan.org/release/XML-LibXML LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-XML-NamespaceSupport>=1.07:textproc/p5-XML-NamespaceSupport \ p5-XML-SAX>=0.11:textproc/p5-XML-SAX TEST_DEPENDS= p5-Test-LeakTrace>=0:devel/p5-Test-LeakTrace \ p5-URI>=0:net/p5-URI USES= gnome perl5 USE_GNOME= libxml2 USE_PERL5= configure CONFIGURE_ENV= LOCALBASE=${LOCALBASE} SKIP_SAX_INSTALL=1 PKGDEINSTALL= ${PKGINSTALL} CONFLICTS_INSTALL= p5-XML-LibXML-XPathContext p5-XML-LibXML-Common post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/LibXML/LibXML.so .include diff --git a/textproc/p5-XML-LibXSLT/Makefile b/textproc/p5-XML-LibXSLT/Makefile index a5321b899e22..5b6de3958d1e 100644 --- a/textproc/p5-XML-LibXSLT/Makefile +++ b/textproc/p5-XML-LibXSLT/Makefile @@ -1,24 +1,25 @@ PORTNAME= XML-LibXSLT PORTVERSION= 2.003000 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to the GNOME XSLT library WWW= https://metacpan.org/release/XML-LibXSLT LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-XML-LibXML>=1.70:textproc/p5-XML-LibXML USES= gnome perl5 pkgconfig USE_GNOME= libxml2 libxslt USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/LibXSLT/LibXSLT.so .include diff --git a/textproc/php81-dom/Makefile b/textproc/php81-dom/Makefile index d6610e9682c1..18ce3512cdbf 100644 --- a/textproc/php81-dom/Makefile +++ b/textproc/php81-dom/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php81 PKGNAMESUFFIX= -dom .include "${MASTERDIR}/Makefile" diff --git a/textproc/php81-simplexml/Makefile b/textproc/php81-simplexml/Makefile index 4771fd3f274a..171dd964ccbf 100644 --- a/textproc/php81-simplexml/Makefile +++ b/textproc/php81-simplexml/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php81 PKGNAMESUFFIX= -simplexml .include "${MASTERDIR}/Makefile" diff --git a/textproc/php81-xml/Makefile b/textproc/php81-xml/Makefile index 6baacc4611cc..0800edeb41eb 100644 --- a/textproc/php81-xml/Makefile +++ b/textproc/php81-xml/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php81 PKGNAMESUFFIX= -xml .include "${MASTERDIR}/Makefile" diff --git a/textproc/php81-xmlreader/Makefile b/textproc/php81-xmlreader/Makefile index 2a5922ee6820..414e7cc8b146 100644 --- a/textproc/php81-xmlreader/Makefile +++ b/textproc/php81-xmlreader/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php81 PKGNAMESUFFIX= -xmlreader .include "${MASTERDIR}/Makefile" diff --git a/textproc/php81-xmlwriter/Makefile b/textproc/php81-xmlwriter/Makefile index e0cadc6a76b0..9d8addc95c93 100644 --- a/textproc/php81-xmlwriter/Makefile +++ b/textproc/php81-xmlwriter/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php81 PKGNAMESUFFIX= -xmlwriter .include "${MASTERDIR}/Makefile" diff --git a/textproc/php81-xsl/Makefile b/textproc/php81-xsl/Makefile index e15435fa3047..fe4f8282559f 100644 --- a/textproc/php81-xsl/Makefile +++ b/textproc/php81-xsl/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php81 PKGNAMESUFFIX= -xsl .include "${MASTERDIR}/Makefile" diff --git a/textproc/php82-dom/Makefile b/textproc/php82-dom/Makefile index 390d9cc54d32..1b17c3323f41 100644 --- a/textproc/php82-dom/Makefile +++ b/textproc/php82-dom/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php82 PKGNAMESUFFIX= -dom .include "${MASTERDIR}/Makefile" diff --git a/textproc/php82-simplexml/Makefile b/textproc/php82-simplexml/Makefile index 68049351ec54..1016f80f18e9 100644 --- a/textproc/php82-simplexml/Makefile +++ b/textproc/php82-simplexml/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php82 PKGNAMESUFFIX= -simplexml .include "${MASTERDIR}/Makefile" diff --git a/textproc/php82-xml/Makefile b/textproc/php82-xml/Makefile index 48da35d981d6..8cef4f4b8419 100644 --- a/textproc/php82-xml/Makefile +++ b/textproc/php82-xml/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php82 PKGNAMESUFFIX= -xml .include "${MASTERDIR}/Makefile" diff --git a/textproc/php82-xmlreader/Makefile b/textproc/php82-xmlreader/Makefile index e77d2697d3ac..75aa98acb965 100644 --- a/textproc/php82-xmlreader/Makefile +++ b/textproc/php82-xmlreader/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php82 PKGNAMESUFFIX= -xmlreader .include "${MASTERDIR}/Makefile" diff --git a/textproc/php82-xmlwriter/Makefile b/textproc/php82-xmlwriter/Makefile index 39f5feada4d6..e71ac7a52dc8 100644 --- a/textproc/php82-xmlwriter/Makefile +++ b/textproc/php82-xmlwriter/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php82 PKGNAMESUFFIX= -xmlwriter .include "${MASTERDIR}/Makefile" diff --git a/textproc/php82-xsl/Makefile b/textproc/php82-xsl/Makefile index a65a869982bc..5e7b28bc2776 100644 --- a/textproc/php82-xsl/Makefile +++ b/textproc/php82-xsl/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php82 PKGNAMESUFFIX= -xsl .include "${MASTERDIR}/Makefile" diff --git a/textproc/php83-dom/Makefile b/textproc/php83-dom/Makefile index 152ab51944ab..1933bf17bab9 100644 --- a/textproc/php83-dom/Makefile +++ b/textproc/php83-dom/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php83 PKGNAMESUFFIX= -dom .include "${MASTERDIR}/Makefile" diff --git a/textproc/php83-simplexml/Makefile b/textproc/php83-simplexml/Makefile index 87996eb406d9..69388320ee18 100644 --- a/textproc/php83-simplexml/Makefile +++ b/textproc/php83-simplexml/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php83 PKGNAMESUFFIX= -simplexml .include "${MASTERDIR}/Makefile" diff --git a/textproc/php83-xml/Makefile b/textproc/php83-xml/Makefile index e9650249edbd..9fc5ef4eda12 100644 --- a/textproc/php83-xml/Makefile +++ b/textproc/php83-xml/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php83 PKGNAMESUFFIX= -xml .include "${MASTERDIR}/Makefile" diff --git a/textproc/php83-xmlreader/Makefile b/textproc/php83-xmlreader/Makefile index fc29a603edcd..4a4f2f98d761 100644 --- a/textproc/php83-xmlreader/Makefile +++ b/textproc/php83-xmlreader/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php83 PKGNAMESUFFIX= -xmlreader .include "${MASTERDIR}/Makefile" diff --git a/textproc/php83-xmlwriter/Makefile b/textproc/php83-xmlwriter/Makefile index 0aec419cb0a5..f93e37ec6e8a 100644 --- a/textproc/php83-xmlwriter/Makefile +++ b/textproc/php83-xmlwriter/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php83 PKGNAMESUFFIX= -xmlwriter .include "${MASTERDIR}/Makefile" diff --git a/textproc/php83-xsl/Makefile b/textproc/php83-xsl/Makefile index 13cf30a12fa5..59cb10d26d57 100644 --- a/textproc/php83-xsl/Makefile +++ b/textproc/php83-xsl/Makefile @@ -1,12 +1,13 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php83 PKGNAMESUFFIX= -xsl post-patch: ${REINPLACE_CMD} -e \ 's|#include "../dom/xml_common.h"|#include "ext/dom/xml_common.h"|g' \ ${WRKSRC}/php_xsl.h .include "${MASTERDIR}/Makefile" diff --git a/textproc/php84-dom/Makefile b/textproc/php84-dom/Makefile index 02a3ee9976c6..45f6e658b8df 100644 --- a/textproc/php84-dom/Makefile +++ b/textproc/php84-dom/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php84 PKGNAMESUFFIX= -dom .include "${MASTERDIR}/Makefile" diff --git a/textproc/php84-simplexml/Makefile b/textproc/php84-simplexml/Makefile index ddb54ac3fffd..42e38d98b4e4 100644 --- a/textproc/php84-simplexml/Makefile +++ b/textproc/php84-simplexml/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php84 PKGNAMESUFFIX= -simplexml .include "${MASTERDIR}/Makefile" diff --git a/textproc/php84-xml/Makefile b/textproc/php84-xml/Makefile index 1d04b9033f65..c8219b5b9e5c 100644 --- a/textproc/php84-xml/Makefile +++ b/textproc/php84-xml/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php84 PKGNAMESUFFIX= -xml .include "${MASTERDIR}/Makefile" diff --git a/textproc/php84-xmlreader/Makefile b/textproc/php84-xmlreader/Makefile index 4af62c73f7c1..bbe854b9e45a 100644 --- a/textproc/php84-xmlreader/Makefile +++ b/textproc/php84-xmlreader/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php84 PKGNAMESUFFIX= -xmlreader .include "${MASTERDIR}/Makefile" diff --git a/textproc/php84-xmlwriter/Makefile b/textproc/php84-xmlwriter/Makefile index 7adfd0814081..1d9010ad49c3 100644 --- a/textproc/php84-xmlwriter/Makefile +++ b/textproc/php84-xmlwriter/Makefile @@ -1,7 +1,8 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php84 PKGNAMESUFFIX= -xmlwriter .include "${MASTERDIR}/Makefile" diff --git a/textproc/php84-xsl/Makefile b/textproc/php84-xsl/Makefile index 64d8e7f98be1..8624e2a9f3b8 100644 --- a/textproc/php84-xsl/Makefile +++ b/textproc/php84-xsl/Makefile @@ -1,12 +1,13 @@ +PORTREVISION= 1 CATEGORIES= textproc MASTERDIR= ${.CURDIR}/../../lang/php84 PKGNAMESUFFIX= -xsl post-patch: ${REINPLACE_CMD} -e \ 's|#include "../dom/xml_common.h"|#include "ext/dom/xml_common.h"|g' \ ${WRKSRC}/php_xsl.h .include "${MASTERDIR}/Makefile" diff --git a/textproc/raptor2/Makefile b/textproc/raptor2/Makefile index 4b045be2cbdb..ca561bbc56d0 100644 --- a/textproc/raptor2/Makefile +++ b/textproc/raptor2/Makefile @@ -1,33 +1,33 @@ PORTNAME= raptor2 DISTVERSION= 2.0.16 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= https://download.librdf.org/source/ PATCH_SITES= https://github.com/dajobe/raptor/commit/ PATCHFILES= 4dbc4c1da2a033c497d84a1291c46f416a9cac51.patch:-p1 MAINTAINER= kde@FreeBSD.org COMMENT= RDF Parser Toolkit for Redland WWW= https://librdf.org/raptor/ # Even though GPLv3 is not explicitly mentioned in the port's LICENSE.html, one # of its licenses is "GPLv2 or newer", which includes GPLv3. LICENSE= APACHE20 GPLv2 GPLv3 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= libcurl.so:ftp/curl \ libicuuc.so:devel/icu \ libyajl.so:devel/yajl CONFLICTS= raptor-1.4.1[0-9]* raptor-1.4.21 USES= gnome libtool:keepla localbase pathfix pkgconfig USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip .include diff --git a/textproc/rubygem-libxml-ruby/Makefile b/textproc/rubygem-libxml-ruby/Makefile index 9c32803a0ae0..cfbf561d5dc7 100644 --- a/textproc/rubygem-libxml-ruby/Makefile +++ b/textproc/rubygem-libxml-ruby/Makefile @@ -1,17 +1,18 @@ PORTNAME= libxml-ruby PORTVERSION= 5.0.4 +PORTREVISION= 1 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby language bindings for the GNOME Libxml2 XML toolkit WWW= https://xml4r.github.io/libxml-ruby/ \ https://github.com/xml4r/libxml-ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gem gnome USE_GNOME= libxml2 .include diff --git a/textproc/rubygem-nokogiri/Makefile b/textproc/rubygem-nokogiri/Makefile index f055fdca9e5b..2e0c2493d183 100644 --- a/textproc/rubygem-nokogiri/Makefile +++ b/textproc/rubygem-nokogiri/Makefile @@ -1,32 +1,32 @@ PORTNAME= nokogiri PORTVERSION= 1.18.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= HTML, XML, SAX, and Reader parser WWW= https://nokogiri.org/ \ https://github.com/sparklemotion/nokogiri LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md # Do not add mini_portile2 to RUN_DEPENDS. Read ext/nokogiri/extconf.rb # and https://lists.freebsd.org/pipermail/svn-ports-all/2019-March/209423.html BUILD_DEPENDS= ${RUN_DEPENDS} \ rubygem-mini_portile2>=2.8.2<2.9:devel/rubygem-mini_portile2 \ rubygem-pkg-config>=1.1<2:devel/rubygem-pkg-config RUN_DEPENDS= rubygem-racc>=1.4<2:devel/rubygem-racc USES= cpe gem gnome gettext-runtime USE_GNOME= libxml2 libxslt CONFIGURE_ARGS= --use-system-libraries PLIST_FILES= bin/nokogiri post-patch: @${RM} -r ${WRKSRC}/patches/ ${WRKSRC}/ports/ .include diff --git a/textproc/rubygem-ruby-augeas/Makefile b/textproc/rubygem-ruby-augeas/Makefile index 87a4aa1d9605..d3515ee33655 100644 --- a/textproc/rubygem-ruby-augeas/Makefile +++ b/textproc/rubygem-ruby-augeas/Makefile @@ -1,20 +1,21 @@ PORTNAME= ruby-augeas PORTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby bindings for Augeas WWW= https://augeas.net/ \ https://github.com/hercules-team/ruby-augeas LICENSE= LGPL21 LIB_DEPENDS= libaugeas.so:textproc/augeas USES= gem gnome pkgconfig USE_GNOME= libxml2 CONFIGURE_ARGS= --with-opt-include=${LOCALBASE}/include/libxml2 .include diff --git a/textproc/rubygem-ruby-xslt/Makefile b/textproc/rubygem-ruby-xslt/Makefile index 9c9acf150c12..23e88b7e271a 100644 --- a/textproc/rubygem-ruby-xslt/Makefile +++ b/textproc/rubygem-ruby-xslt/Makefile @@ -1,19 +1,19 @@ PORTNAME= ruby-xslt PORTVERSION= 0.9.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= XSLT processor in pure Ruby WWW= https://github.com/glejeune/ruby-xslt LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gem gnome USE_GNOME= libxslt CONFIGURE_ARGS= --with-cflags=-Wno-incompatible-function-pointer-types .include diff --git a/textproc/ucto/Makefile b/textproc/ucto/Makefile index 77c5e7076688..3a23509e3958 100644 --- a/textproc/ucto/Makefile +++ b/textproc/ucto/Makefile @@ -1,39 +1,39 @@ PORTNAME= ucto DISTVERSION= 0.35 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= https://github.com/LanguageMachines/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Advanced rule-based (regular-expression) and unicode-aware tokenizer WWW= https://languagemachines.github.io/ucto/ \ https://github.com/LanguageMachines/ucto LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= uctodata>0:textproc/uctodata LIB_DEPENDS= libexttextcat-2.0.so:textproc/libexttextcat \ libfolia.so:textproc/libfolia \ libicuio.so:devel/icu \ libticcutils.so:devel/ticcutils RUN_DEPENDS= uctodata>0:textproc/uctodata USES= compiler:c++11-lang gmake gnome libedit libtool \ pathfix pkgconfig readline USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share TEST_TARGET= check INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-static post-patch: @${REINPLACE_CMD} -e 's|-g -O3||g' \ ${PATCH_WRKSRC}/src/Makefile.in .include diff --git a/textproc/wv/Makefile b/textproc/wv/Makefile index ae58bd664ad5..248b43e74073 100644 --- a/textproc/wv/Makefile +++ b/textproc/wv/Makefile @@ -1,39 +1,39 @@ PORTNAME= wv PORTVERSION= 1.2.9 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= textproc MASTER_SITES= http://www.abisource.com/downloads/wv/${PORTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Library and executables to access Microsoft Word files WWW= https://wvware.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libwmf.so:graphics/libwmf USES= gmake gnome jpeg pkgconfig libtool xorg USE_GNOME= libgsf USE_LDCONFIG= yes USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-png=${LOCALBASE} \ --with-libwmf=${LOCALBASE} CONFIGURE_ENV= MKDIR_P="${MKDIR}" MAKEFILE= GNUmakefile MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ INSTALL_STRIP_FLAG="${STRIP}" .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/textproc/xmlroff/Makefile b/textproc/xmlroff/Makefile index 012f8d80f34b..f7381e71b10c 100644 --- a/textproc/xmlroff/Makefile +++ b/textproc/xmlroff/Makefile @@ -1,37 +1,37 @@ PORTNAME= xmlroff PORTVERSION= 0.6.3 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc MAINTAINER= hrs@FreeBSD.org COMMENT= XSL formatter that produces PDF and PostScript WWW= http://xmlroff.org LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= libfo>=0.6.2:textproc/libfo RUN_DEPENDS:= ${BUILD_DEPENDS} USES= autoreconf gmake gnome gettext localbase libtool pkgconfig USE_GITHUB= yes USE_GNOME= libartlgpl2 pango glib20 \ libxslt libxml2 gdkpixbuf GH_ACCOUNT= xmlroff GH_PROJECT= xmlroff WRKSRC_SUBDIR= ${PORTNAME} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc --enable-man \ --disable-gp INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS DOCS_CONFIGURE_ENABLE= gtk-doc DOCS_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-doc.pc:textproc/gtk-doc post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/docs/Makefile.am .include diff --git a/textproc/xmlstarlet/Makefile b/textproc/xmlstarlet/Makefile index 8f540ce005b0..671edd0eb723 100644 --- a/textproc/xmlstarlet/Makefile +++ b/textproc/xmlstarlet/Makefile @@ -1,44 +1,44 @@ PORTNAME= xmlstarlet DISTVERSION= 1.6.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= SF/xmlstar/${PORTNAME}/${DISTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Command Line XML Toolkit WWW= https://xmlstar.sourceforge.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf gnome iconv pkgconfig USE_GNOME= libxml2 libxslt GNU_CONFIGURE= yes CFLAGS+= -Wno-incompatible-function-pointer-types PLIST_FILES= bin/xml \ share/man/man1/xmlstarlet.1.gz PORTDOCS= xmlstarlet.txt \ xmlstarlet-man.xml \ xmlstarlet-ug.html xmlstarlet-ug.pdf \ xmlstarlet-ug.ps xmlstarlet-ug.xml \ html.css CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|g' \ ${PATCH_WRKSRC}/configure.ac @${REINPLACE_CMD} -e 's/ATTRIBUTE_UNUSED/__attribute__((unused))/g' \ ${PATCH_WRKSRC}/src/xml_pyx.c post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/textproc/xmlwrapp/Makefile b/textproc/xmlwrapp/Makefile index 9ee7a8cd03a4..5359a6528fea 100644 --- a/textproc/xmlwrapp/Makefile +++ b/textproc/xmlwrapp/Makefile @@ -1,43 +1,43 @@ PORTNAME= xmlwrapp PORTVERSION= 0.7.0 -PORTREVISION= 31 +PORTREVISION= 32 CATEGORIES= textproc MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Modern style C++ library for working with XML data WWW= https://xmlwrapp.sourceforge.net/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs OPTIONS_DEFINE= XSLT DOCS XSLT_DESC= Build libxsltwrap library (requires libxslt) OPTIONS_SUB= yes XSLT_USE= gnome=libxslt XSLT_CONFIGURE_ENABLE= xslt USES= compiler:c++11-lang gnome libtool localbase:ldflags pathfix \ pkgconfig USE_CXXSTD= c++11 USE_GNOME= libxml2 GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip LDFLAGS+= -lboost_system PORTDOCS= * post-patch: @${REINPLACE_CMD} '/if test/s|==|=|' ${WRKSRC}/configure @${REINPLACE_CMD} '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in post-install: @(cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .include diff --git a/www/apache24/Makefile b/www/apache24/Makefile index 3b171ae3ef8c..7ce75c1927d0 100644 --- a/www/apache24/Makefile +++ b/www/apache24/Makefile @@ -1,243 +1,244 @@ PORTNAME= apache24 PORTVERSION= 2.4.63 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= APACHE_HTTPD DISTNAME= httpd-${PORTVERSION} DIST_SUBDIR= apache24 MAINTAINER= apache@FreeBSD.org COMMENT= Version 2.4.x of Apache web server WWW= https://httpd.apache.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libexpat.so:textproc/expat2 \ libapr-1.so:devel/apr1 \ libpcre2-8.so:devel/pcre2 USES= apache:server,2.4 autoreconf compiler:c11 cpe iconv libtool perl5 tar:bzip2 USE_PERL5= run USE_RC_SUBR= apache24 htcacheclean GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFLICTS_INSTALL= py*-circuits # bin/htpasswd CPE_VENDOR= apache CPE_PRODUCT= http_server PORTDOCS= * SUB_FILES= pkg-install pkg-deinstall # Fallback MPM after switching from static to modular MPM SUB_LIST+= MPMF="000_mpm_prefork_fallback.conf" USERS?= ${WWWOWN} GROUPS?= ${WWWGRP} .include "${.CURDIR}/Makefile.options" .include "${.CURDIR}/Makefile.options.desc" OPTIONS_SUB= yes # IMPLIES AUTHN_DBD_IMPLIES= DBD HEARTBEAT_IMPLIES= WATCHDOG STATUS HEARTMONITOR_IMPLIES= WATCHDOG STATUS LBMETHOD_HEARTBEAT_IMPLIES= WATCHDOG STATUS HEARTMONITOR PROXY_HCHECK_IMPLIES= WATCHDOG PROXY_HTTP2_IMPLIES= PROXY_BALANCER .for module in ${PROXY_ENABLED_MODULES:NPROXY} ${PROXY_DISABLED_MODULES} ${module}_IMPLIES= PROXY .endfor .for module in ${SESSION_ENABLED_MODULES:NSESSION} ${SESSION_DISABLED_MODULES} ${module}_IMPLIES= SESSION .endfor # Multi-Processing Modules options handling MPM_PREFORK_CONFIGURE_ON= --with-mpm=prefork MPM_WORKER_CONFIGURE_ON= --with-mpm=worker MPM_EVENT_CONFIGURE_ON= --with-mpm=event MPM_SHARED_CONFIGURE_ON= --enable-mpms-shared=all MPM_SHARED_SUB_LIST= MPM_FALLBACK_CHECK="" MPM_SHARED_SUB_LIST_OFF= MPM_FALLBACK_CHECK="\#" AUTHNZ_LDAP_CONFIGURE_ON= --enable-authnz-ldap BROTLI_CONFIGURE_WITH= brotli=${LOCALBASE} BROTLI_LIB_DEPENDS= libbrotlicommon.so:archivers/brotli HTTP2_CONFIGURE_ON= --with-nghttp2=${LOCALBASE} \ --with-ssl=${OPENSSLBASE} HTTP2_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 HTTP2_USES= ssl IPV4_MAPPED_CONFIGURE_ENABLE= v4-mapped LDAP_CONFIGURE_ON= --enable-ldap=shared LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUA_CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" \ LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" LUA_CONFIGURE_WITH= lua=${LOCALBASE} LUA_USES= lua MD_CONFIGURE_ON= --with-curl=${LOCALBASE} \ --with-jansson=${LOCALBASE} \ --with-ssl=${OPENSSLBASE} MD_LIB_DEPENDS= libcurl.so:ftp/curl \ libjansson.so:devel/jansson MD_USES= ssl PROXY_HTML_USE= GNOME=libxml2 PROXY_HTML_USES= gnome PROXY_HTTP2_CONFIGURE_ON= --with-nghttp2=${LOCALBASE} PROXY_HTTP2_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 SOCACHE_DC_CONFIGURE_ON= --with-distcache=${LOCALBASE} SOCACHE_DC_LIB_DEPENDS= libdistcache.so:security/distcache # Note: OpenSSL version (base/ports) depends how devel/apr1 was built # apu-1-config --(includes|ldflags) and apr_rules.mk SSL_CONFIGURE_ON= --with-ssl=${OPENSSLBASE} SSL_USES= ssl TLS_BROKEN= Module removed upstream, replaced by security/mod_tls SUEXEC_SYSLOG_CONFIGURE_ON= --without-suexec-logfile --with-suexec-syslog XML2ENC_USE= GNOME=libxml2 XML2ENC_USES= gnome ETC_SUBDIRS= Includes envvars.d extra modules.d APR_CONFIG?= ${LOCALBASE}/bin/apr-1-config APU_CONFIG?= ${LOCALBASE}/bin/apu-1-config APU_LDAP?= ${LOCALBASE}/lib/apr-util-1/apr_ldap.so APU_CRYPTO_OPENSSL?= ${LOCALBASE}/lib/apr-util-1/apr_crypto_openssl.so APU_CRYPTO_NSS?= ${LOCALBASE}/lib/apr-util-1/apr_crypto_nss.so .include PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} CONFIGURE_ARGS+=--prefix=${PREFIX_RELDEST} \ --enable-layout=FreeBSD \ --enable-http \ --with-pcre=${LOCALBASE} \ --with-apr=${APR_CONFIG} \ --with-apr-util=${APU_CONFIG} CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}" \ CONFIG_SHELL="${SH}" MAKE_ENV+= EXPR_COMPAT=yes \ INSTALL_MAN="${INSTALL_MAN}" \ DATADIR=${DATADIR} .for module in ${ALL_MODULES} .if ${PORT_OPTIONS:M${module}} CONFIGURE_ARGS+= --enable-${module:S/_/-/g:tl}=shared .else CONFIGURE_ARGS+= --disable-${module:S/_/-/g:tl} .endif .endfor #===================================================== # here we do only OPTIONS fixups # Check for APR-util module exists .if exists(${APU_CONFIG}) . if (${PORT_OPTIONS:MLDAP} || ${PORT_OPTIONS:MAUTHNZ_LDAP}) && !exists(${APU_LDAP}) IGNORE= LDAP and AUTHNZ_LDAP requires APR-util to have LDAP support built in.\ Please rebuild APR with LDAP support . endif . if ${PORT_OPTIONS:MSESSION_CRYPTO} && \ !(exists(${APU_CRYPTO_OPENSSL}) || exists(${APU_CRYPTO_NSS})) IGNORE= SESSION_CRYPTO requires APR-util to have crypto openssl support built in.\ Please rebuild APR with crypto openssl support . endif .endif # exists APU_CONFIG .if ( ${PORT_OPTIONS:MAUTH_BASIC} || ${PORT_OPTIONS:MAUTH_DIGEST} ) && \ empty(PORT_OPTIONS:MAUTHN*) IGNORE= AUTH_BASIC and AUTH_DIGEST need at least one AUTHN provider .endif .if ${PORT_OPTIONS:MAUTH_BASIC} && empty(PORT_OPTIONS:MAUTHZ*) IGNORE= AUTH_BASIC needs at least one AUTHZ provider .endif # Non options-NG option handling .if ${PORT_OPTIONS:MXML2ENC} || ${PORT_OPTIONS:MPROXY_HTML} CONFIGURE_ARGS+= --with-libxml2=${LOCALBASE}/include/libxml2 .else CONFIGURE_ARGS+= --without-libxml2 .endif # WITH_STATIC_SUPPORT, WITH_DEBUG, WITH_EXCEPTION_HOOK # Only to be used for special builds .if defined(WITH_STATIC_SUPPORT) CONFIGURE_ARGS+= --enable-static-support .endif .if defined(WITH_DEBUG) # debug overrides CFLAGS DEBUG_FLAGS?= -O0 -g -ggdb3 CFLAGS= ${DEBUG_FLAGS} CONFIGURE_ARGS+= --enable-maintainer-mode WITH_EXCEPTION_HOOK= yes .else CONFIGURE_ENV+= INSTALL_PROG_FLAGS="-s" EXTRA_PATCHES+= ${FILESDIR}/extra-patch-server_buildmark.c .endif .if defined(WITH_EXCEPTION_HOOK) CONFIGURE_ARGS+= --enable-exception-hook .endif pre-extract-SUEXEC-on: @${ECHO_CMD} "" @${ECHO_CMD} "suexec builds with user '${USERS}' and docroot '${PREFIX}/www' by default," @${ECHO_CMD} "use SUEXEC_DOCROOT and SUEXEC_USERDIR in /etc/make.conf to adjust." @${ECHO_CMD} "" post-extract: # make sure the configure script contains our patches, preserve the original script for comparsion -${MV} -v ${WRKSRC}/configure ${WRKSRC}/configure.upstream # make stage-qa script happy, it complains on empty dirs even 'PORTDOCS=*' is set # use RMDIR in case upstream ever place some files into this directories .for d in xsl/util xsl lang -${RMDIR} ${WRKSRC}/docs/manual/style/${d} .endfor post-patch: ${REINPLACE_CMD} -e 's," PLATFORM ",FreeBSD,' ${WRKSRC}/server/core.c ${REINPLACE_CMD} -e 's|logs/error_log|/var/log/httpd-error.log|' \ ${WRKSRC}/include/httpd.h ${REINPLACE_CMD} -e 's|perlbin=.*|perlbin=${PERL}|' \ ${WRKSRC}/configure.in ${RM} ${WRKSRC}/docs/docroot/*.bak ${INSTALL_DATA} ${WRKSRC}/NOTICE ${WRKSRC}/docs/manual pre-configure:: # silence autotools -@${MV} -v ${WRKSRC}/configure.in ${WRKSRC}/configure.ac 2>/dev/null post-configure: @FTPUSERS=`${EGREP} -v '^#' /etc/ftpusers| ${TR} -s "\n" " "` ;\ ${REINPLACE_CMD} -e "s,%%FTPUSERS%%,$${FTPUSERS}," \ ${WRKSRC}/docs/conf/extra/httpd-userdir.conf ${REINPLACE_CMD} -e "/EXTRA_LDFLAGS/s|-L/usr/lib||g" ${WRKSRC}/build/config_vars.mk ${REINPLACE_CMD} -e "s,%%WWWOWN%%,${WWWOWN}," -e "s,%%WWWGRP%%,${WWWGRP}," \ ${WRKSRC}/docs/conf/httpd.conf ${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/support/envvars-std post-install: @${MKDIR} ${ETC_SUBDIRS:S|^|${STAGEDIR}${ETCDIR}/|} ${INSTALL_DATA} ${FILESDIR}/no-accf.conf ${STAGEDIR}${ETCDIR}/Includes/ ${INSTALL_DATA} ${FILESDIR}/README_modules.d ${STAGEDIR}${ETCDIR}/modules.d/ -${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/apache24/mod_*.so # Remove files left behind by strip ${RM} ${STAGEDIR}${DATADIR}/build/ecp.???????? 2>/dev/null post-install-LOG_FORENSIC-on: ${INSTALL_SCRIPT} ${WRKSRC}/support/check_forensic ${STAGEDIR}${PREFIX}/sbin # maintainer only, check for new modules modlist: extract @${AWK} '/: checking whether to enable mod_/ \ {printf "%%%%%s%%%%libexec/apache24/%s.so\n", \ toupper($$8), $$8}' ${WRKSRC}/configure.upstream \ | ${TR} -d '"' \ | ${SORT} -u \ | ${GREP} -E -v '^%%MOD_(HTTP|ISAPI|LOG_CONFIG|PRIVILEGES|SO|UNIXD)%%' .include diff --git a/www/aria2/Makefile b/www/aria2/Makefile index b66f43f641c2..c1dcb3e55212 100644 --- a/www/aria2/Makefile +++ b/www/aria2/Makefile @@ -1,78 +1,79 @@ PORTNAME= aria2 PORTVERSION= 1.37.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://github.com/aria2/aria2/releases/download/release-${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Yet another download tool WWW= https://aria2.github.io/ \ https://github.com/aria2/aria2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang cpe libtool pathfix pkgconfig ssl tar:xz CONFIGURE_ARGS= --disable-epoll \ --enable-bittorrent \ --enable-libaria2 \ --enable-metalink \ --enable-shared \ --enable-ssl \ --enable-threads=posix \ --enable-websocket \ --with-disk-cache=${ARIA2_DISK_CACHE} \ --with-libz \ --with-openssl \ --without-appletls \ --without-gnutls \ --without-libgcrypt \ --without-libgmp \ --without-libnettle CONFIGURE_ENV= OPENSSL_CFLAGS=-I${OPENSSLINC} \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ ac_cv_path_RST2HTML=no GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_CXXSTD= c++11 USE_LDCONFIG= yes USE_RC_SUBR= aria2 PORTDOCS= * ARIA2_DISK_CACHE?= 16M CPE_VENDOR= aria2_project OPTIONS_DEFINE= CARES DOCS LIBUV NLS SQLITE SSH2 STATIC OPTIONS_SINGLE= XML OPTIONS_SINGLE_XML= EXPAT LIBXML2 OPTIONS_DEFAULT=LIBXML2 SQLITE STATIC OPTIONS_SUB= yes LIBUV_DESC= Event polling via libuv SSH2_DESC= SSH2 protocol support CARES_CONFIGURE_WITH= libcares CARES_LIB_DEPENDS= libcares.so:dns/c-ares EXPAT_CONFIGURE_WITH= libexpat EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 LIBUV_CONFIGURE_WITH= libuv LIBUV_LIB_DEPENDS= libuv.so:devel/libuv LIBXML2_CONFIGURE_WITH= libxml2 LIBXML2_USE= GNOME=libxml2 LIBXML2_USES= gnome NLS_CONFIGURE_OFF= --disable-nls --without-libintl-prefix NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} NLS_LDFLAGS= -lintl NLS_USES= gettext localbase SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES= sqlite SSH2_CONFIGURE_WITH= libssh2 SSH2_LIB_DEPENDS= libssh2.so:security/libssh2 STATIC_CONFIGURE_ENABLE=static post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ ${INSTALL_DATA} ${WRKSRC}/doc/bash_completion/aria2c ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ .include diff --git a/www/badwolf/Makefile b/www/badwolf/Makefile index a0988795a887..0d31df9cc8c8 100644 --- a/www/badwolf/Makefile +++ b/www/badwolf/Makefile @@ -1,47 +1,47 @@ PORTNAME= badwolf DISTVERSION= 1.3.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= https://hacktivis.me/releases/ MAINTAINER= dtxdf@FreeBSD.org COMMENT= Minimalist and privacy-oriented WebKitGTK browser WWW= https://hacktivis.me/projects/badwolf LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz \ libwebkit2gtk-4.0.so:www/webkit2-gtk@40 USES= desktop-file-utils gnome ninja pkgconfig USE_GNOME= atk cairo gdkpixbuf gtk30 libxml2 pango HAS_CONFIGURE= yes CONFIGURE_ENV= WITH_WEBKITGTK=4.0 OPTIONS_DEFINE= GSTREAMER NLS OPTIONS_DEFAULT= GSTREAMER LIBSOUP OPTIONS_SINGLE= URI_PARSER OPTIONS_SINGLE_URI_PARSER= GURI LIBSOUP OPTIONS_SUB= yes GURI_DESC= Use GUri from glib-2.0 LIBSOUP_DESC= Use libsoup URI_PARSER_DESC= URI PARSER GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad,good,libav GURI_CONFIGURE_ENV= WITH_URI_PARSER=guri LIBSOUP_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup LIBSOUP_CONFIGURE_ENV= WITH_URI_PARSER=libsoup2 NLS_USES= gettext NLS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-configure GURI_USE_GNOME= glib20 LIBAV_USE_GSTREAMER= libav post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/www/bluefish/Makefile b/www/bluefish/Makefile index acbf984c605e..f8b1f93b19ff 100644 --- a/www/bluefish/Makefile +++ b/www/bluefish/Makefile @@ -1,45 +1,46 @@ PORTNAME= bluefish DISTVERSION= 2.2.17 +PORTREVISION= 1 CATEGORIES= www editors MASTER_SITES= https://www.bennewitz.com/bluefish/stable/source/ \ SF MAINTAINER= eduardo@FreeBSD.org COMMENT= HTML editor designed for the experienced web designer WWW= http://bluefish.openoffice.nl/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libgucharmap_2_90.so:deskutils/gucharmap \ libharfbuzz.so:print/harfbuzz \ libpcre2-8.so:devel/pcre2 USES= desktop-file-utils gettext-tools gmake gnome libtool localbase \ pkgconfig python shared-mime-info shebangfix tar:bzip2 USE_GNOME= cairo gdkpixbuf gtk30 intltool libxml2 SHEBANG_FILES= data/css_decompressor data/cssmin.py data/jsmin.py \ data/json_prettyprint.py data/lorem-ipsum-generator \ src/plugin_zencoding/zencoding/*.py \ src/plugin_zencoding/zencoding/actions/*.py \ src/plugin_zencoding/zencoding/filters/*.py GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-update-databases \ --with-freedesktop_org-menu=${PREFIX}/share/applications \ --with-freedesktop_org-mime=${PREFIX}/share/mime \ --with-icon-path=${PREFIX}/share/pixmaps INSTALL_TARGET= install-strip PORTSCOUT= skipv:2.2.15fp OPTIONS_DEFINE= DEBUG DOCS NLS TIDY OPTIONS_SUB= yes DEBUG_CONFIGURE_ENABLE= debugging-output NLS_CONFIGURE_ENABLE= nls TIDY_RUN_DEPENDS= tidy4:www/tidy .include diff --git a/www/castget/Makefile b/www/castget/Makefile index 0b6289736065..662a0b8f111a 100644 --- a/www/castget/Makefile +++ b/www/castget/Makefile @@ -1,34 +1,34 @@ PORTNAME= castget DISTVERSION= 2.0.1-20220211 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= ports@FreeBSD.org COMMENT= Command-line podcast downloader WWW= https://castget.johndal.com/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= ronn:textproc/rubygem-ronn LIB_DEPENDS= libtag.so:audio/taglib \ libcurl.so:ftp/curl USES= autoreconf compiler:c11 gmake gnome groff libtool \ localbase:ldflags pkgconfig USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= mlj GH_TAGNAME= da9727d #CONFIGURE_ARGS= --disable-static GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip PLIST_FILES= bin/castget \ share/man/man1/castget.1.gz share/man/man5/castgetrc.5.gz .include diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 377b7f666949..1017ff55f224 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,388 +1,389 @@ PORTNAME= chromium PORTVERSION= 137.0.7151.119 +PORTREVISION= 1 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ https://nerd.hu/distfiles/:external \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ pulseaudio-${PULSEV}.tar.gz:pulseaudio MAINTAINER= chromium@FreeBSD.org COMMENT= Google web browser based on WebKit WWW= https://www.chromium.org/Home LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ bindgen:devel/rust-bindgen-cli \ gperf:devel/gperf \ flock:sysutils/flock \ node:www/node \ rustc:lang/rust \ xcb-proto>0:x11/xcb-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/va/va.h:multimedia/libva \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ ${LOCALBASE}/libdata/pkgconfig/Qt5Core.pc:devel/qt5-core \ ${LOCALBASE}/libdata/pkgconfig/Qt5Widgets.pc:x11-toolkits/qt5-widgets LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic USES= bison compiler:c++17-lang cpe desktop-file-utils gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja perl5 pkgconfig \ python:build qt:5 shebangfix tar:xz xorg CPE_VENDOR= google CPE_PRODUCT= chrome USE_GL= gbm gl USE_GNOME= atk dconf gdkpixbuf glib20 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst USE_QT= buildtools:build SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper #buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome BINARY_ALIAS= python3=${PYTHON_CMD} # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) # # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_nacl=false \ enable_remoting=false \ enable_widevine=true \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ moc_qt5_path="${QT_TOOLDIR}/moc" \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_qt5=true \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles # FreeBSD Chromium Api Key # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . # Note: these are for FreeBSD use ONLY. For your own distribution, # please get your own set of keys. GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8" SUB_FILES= chromium-browser.desktop chrome SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO PIPEWIRE TEST WIDEVINE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE SNDIO ALSA PULSEAUDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="60 GB" \ WANTMEM="32 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="35 GB" \ WANTMEM="8 GB" DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="40 GB" \ WANTMEM="16 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false WIDEVINE_DESC= Depend on foreign-cdm to enable playback of DRM content WIDEVINE_RUN_DEPENDS= foreign-cdm>0:www/foreign-cdm .include "Makefile.tests" TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX} TEST_ALL_TARGET= ${TEST_TARGETS} .include .include # for COMPILER_VERSION .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 19 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} # - swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only # - map ffmpeg target to ${ARCH} .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == amd64 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == i386 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build ${PORTNAME}, you should have at least:" @${ECHO_MSG} "- ${WANTMEM} of memory" @${ECHO_MSG} "- ${WANTSPACE} of free disk space" @${ECHO_MSG} "- 1.5 million free inodes" @${ECHO_MSG} pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig harfbuzz-ng libdrm libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/rust/rust_bindgen.gni \ ${WRKSRC}/build/rust/rust_bindgen_generator.gni do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ ${STAGEDIR}${PREFIX}/share/man/man1/chrome.1 @${SED} -i "" -e 's,\@\@PACKAGE\@\@,chromium,g;s,\@\@MENUNAME\@\@,Chromium Web Browser,g' \ ${STAGEDIR}${PREFIX}/share/man/man1/chrome.1 ${CP} ${WRKSRC}/chrome/app/theme/chromium/product_logo_22_mono.png ${WRKSRC}/chrome/app/theme/chromium/product_logo_22.png .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png .endfor ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.png ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.pak ${STAGEDIR}${DATADIR} .for d in protoc mksnapshot ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor .for d in snapshot_blob.bin v8_context_snapshot.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \ ${STAGEDIR}${DATADIR} # ANGLE, EGL, Vk .for f in libEGL.so libGLESv2.so libVkICD_mock_icd.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${STAGEDIR}${DATADIR}/libvulkan.so .if ${BUILDTYPE} == Debug ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libVkLayer_khronos_validation.so ${STAGEDIR}${DATADIR} .endif # SwiftShader .if ${ARCH} != aarch64 ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/vk_swiftshader_icd.json ${STAGEDIR}${DATADIR} .endif post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${PREFIX}/bin/chromedriver do-test-TEST-on: .for t in ${TEST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \ ./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE} .endfor .include diff --git a/www/davix/Makefile b/www/davix/Makefile index 3a39c2bdc809..1236ea4435f8 100644 --- a/www/davix/Makefile +++ b/www/davix/Makefile @@ -1,40 +1,41 @@ PORTNAME= davix DISTVERSIONPREFIX= R_ DISTVERSION= 0_8_10 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org COMMENT= Make the task of managing files over HTTP-based protocols simple WWW= https://dmc-docs.web.cern.ch/dmc-docs/davix.html \ https://github.com/cern-fts/davix LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libuuid.so:misc/e2fsprogs-libuuid TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++11-lang gnome localbase:ldflags python:build shebangfix ssl SHEBANG_GLOB= *.py USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= cern-fts CMAKE_OFF= EMBEDDED_LIBCURL DAVIX_TESTS CMAKE_TESTING_ON= DAVIX_TESTS UNIT_TESTS BENCH_TESTS TESTING_UNSAFE= 1 test fails, and several tests hang, see https://github.com/cern-fts/davix/issues/108 PLIST_SUB= PORTVERSION=${PORTVERSION} PORTSCOUT= limit:^[0-9\.]*$$ # prevent versions like N.N.N-el7.x86_64 post-install: @${RM} -r ${STAGEDIR}${DOCSDIR} # tests as of 0.8.8: tests freeze, see https://github.com/cern-fts/davix/issues/133 .include diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile index 33c2d637e808..4f2ee24b4b13 100644 --- a/www/epiphany/Makefile +++ b/www/epiphany/Makefile @@ -1,46 +1,47 @@ PORTNAME= epiphany PORTVERSION= 47.7 +PORTREVISION= 1 CATEGORIES= www gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Extremely lightweight and simple web browser for GNOME WWW= https://apps.gnome.org/Epiphany/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limit:^47\. BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ iso-codes>=0:misc/iso-codes \ itstool:textproc/itstool LIB_DEPENDS= libgcr-4.so:security/gcr \ libgmp.so:math/gmp \ libjson-glib-1.0.so:devel/json-glib \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 \ libnettle.so:security/nettle \ libportal.so:deskutils/libportal \ libportal-gtk4.so:deskutils/libportal-gtk4 \ libwebkitgtk-6.0.so:www/webkit2-gtk@60 RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ iso-codes>=0:misc/iso-codes \ dbus>0:devel/dbus USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome \ gstreamer libarchive localbase:ldflags meson pkgconfig \ sqlite tar:xz CPE_VENDOR= gnome USE_GNOME= cairo gdkpixbuf glib20 gtk40 libadwaita libxml2 USE_LDCONFIG= yes MESON_ARGS= -Db_lundef=false \ -Dunit_tests=disabled GLIB_SCHEMAS= org.gnome.Epiphany.enums.xml \ org.gnome.epiphany.gschema.xml PLIST_SUB+= EPHY_VERSION=${PORTVERSION:R} .include diff --git a/www/flickcurl/Makefile b/www/flickcurl/Makefile index 2fa52dc33f70..5739c068abef 100644 --- a/www/flickcurl/Makefile +++ b/www/flickcurl/Makefile @@ -1,40 +1,40 @@ PORTNAME= flickcurl PORTVERSION= 1.26 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= http://download.dajobe.org/flickcurl/ MAINTAINER= ports@FreeBSD.org COMMENT= C library for the Flickr API WWW= https://librdf.org/flickcurl/ LICENSE= APACHE20 GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= libcurl.so:ftp/curl OPTIONS_DEFINE= RAPTOR DOCS OPTIONS_RADIO= WEBSERVICE OPTIONS_RADIO_WEBSERVICE= OFFLINE CAPTURE OPTIONS_DEFAULT=RAPTOR RAPTOR_DESC= Use Raptor to serialize to triples OFFLINE_DESC= Offline use of captured XML web service responses CAPTURE_DESC= Capturing web service responses USES= gnome libtool pathfix pkgconfig USE_GNOME= libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc USE_LDCONFIG= yes INSTALL_TARGET= install-strip OFFLINE_CONFIGURE_ON= --enable-offline OFFLINE_CONFIGURE_OFF= offline=no CAPTURE_CONFIGURE_ON= --enable-capture CAPTURE_CONFIGURE_OFF= capture=no RAPTOR_LIB_DEPENDS= libraptor2.so:textproc/raptor2 RAPTOR_CONFIGURE_ON= --with-raptor=2 RAPTOR_CONFIGURE_OFF= --with-raptor=no .include diff --git a/www/hiawatha/Makefile b/www/hiawatha/Makefile index 4ad3351a850b..b5fd0a9b7200 100644 --- a/www/hiawatha/Makefile +++ b/www/hiawatha/Makefile @@ -1,70 +1,71 @@ PORTNAME= hiawatha DISTVERSION= 11.7 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://hiawatha.leisink.net/files/ MAINTAINER= cpetrik@proton.me COMMENT= Advanced and secure web server for Unix WWW= https://hiawatha.leisink.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libmbedtls.so:security/mbedtls3 USES= cmake:insource compiler:c11 cpe localbase:ldflags shebangfix CPE_VENDOR= hiawatha-webserver USE_RC_SUBR= hiawatha SHEBANG_FILES= extra/letsencrypt/lefh.in CMAKE_ARGS= -DCMAKE_INSTALL_LOCALSTATEDIR=/var \ -DWEBROOT_DIR=${WWWDIR} \ -DWORK_DIR=/var/db/${PORTNAME} CMAKE_ON= USE_SYSTEM_MBEDTLS OPTIONS_DEFINE= CACHE CGIWRAPPER LEFH LOADCHECK MONITOR RPROXY TOMAHAWK \ TOOLKIT XSLT OPTIONS_DEFAULT= CACHE CGIWRAPPER RPROXY TOOLKIT XSLT OPTIONS_SUB= yes CACHE_DESC= Caching support CGIWRAPPER_DESC= Install cgi-wrapper(1) (needs setuid bit) LEFH_DESC= Install Let\'s Encrypt For Hiawatha script LOADCHECK_DESC= Load check support (experimental) MONITOR_DESC= Hiawatha Monitor support RPROXY_DESC= Reverse proxy support TOMAHAWK_DESC= Tomahawk command shell support TOOLKIT_DESC= URL toolkit support XSLT_DESC= XSLT support CACHE_CMAKE_BOOL= ENABLE_CACHE LEFH_USES= php:cli LOADCHECK_CMAKE_BOOL= ENABLE_LOADCHECK MONITOR_CMAKE_BOOL= ENABLE_MONITOR RPROXY_CMAKE_BOOL= ENABLE_RPROXY TOMAHAWK_CMAKE_BOOL= ENABLE_TOMAHAWK TOOLKIT_CMAKE_BOOL= ENABLE_TOOLKIT XSLT_USES= gnome XSLT_USE= GNOME=libxslt XSLT_CMAKE_BOOL= ENABLE_XSLT post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/ssi-cgi|${PREFIX}/bin/ssi-cgi|g' \ -e 's|/usr/bin|${LOCALBASE}/bin|g' \ ${WRKSRC}/config/cgi-wrapper.conf \ ${WRKSRC}/config/hiawatha.conf.in @${REINPLACE_CMD} -e 's|/usr/sbin|${PREFIX}/sbin|g' \ -e 's|/etc/hiawatha|${ETCDIR}|g' \ ${WRKSRC}/man/hiawatha.1.in post-install: .for f in hiawatha.conf mimetype.conf cgi-wrapper.conf toolkit.conf error.xslt \ index.xslt ${INSTALL_DATA} ${WRKSRC}/config/${f} \ ${STAGEDIR}${PREFIX}/etc/hiawatha/${f}.sample .endfor @${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/extra/index.html \ ${STAGEDIR}${WWWDIR}/index.html.sample .include diff --git a/www/hurl/Makefile b/www/hurl/Makefile index 3e0fa80fb0be..197a36adf7b3 100644 --- a/www/hurl/Makefile +++ b/www/hurl/Makefile @@ -1,30 +1,30 @@ PORTNAME= hurl DISTVERSION= 6.1.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MAINTAINER= rodrigo@FreeBSD.org COMMENT= CLI to run HTTP requests defined in a simple plain text format WWW= https://hurl.dev/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl USES= cargo gnome ssl USE_GITHUB= yes GH_ACCOUNT= Orange-OpenSource USE_GNOME= libxml2 CARGO_INSTALL_PATH= packages/hurl packages/hurlfmt PLIST_FILES= bin/hurl \ bin/hurlfmt \ share/man/man1/hurl.1.gz \ share/man/man1/hurlfmt.1.gz post-install: ${INSTALL_MAN} ${WRKSRC}/docs/manual/*.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/www/iridium/Makefile b/www/iridium/Makefile index e9b029ff5b2e..9fd0d1381b2d 100644 --- a/www/iridium/Makefile +++ b/www/iridium/Makefile @@ -1,360 +1,361 @@ PORTNAME= iridium PORTVERSION= 2025.06.137.3 +PORTREVISION= 1 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= www wayland MASTER_SITES= https://downloads.iridiumbrowser.de/source/ \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio PKGNAMESUFFIX= -browser DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ pulseaudio-${PULSEV}.tar.gz:pulseaudio MAINTAINER= chromium@FreeBSD.org COMMENT= Iridium browser WWW= https://iridiumbrowser.de/ LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ bindgen:devel/rust-bindgen-cli \ gperf:devel/gperf \ flock:sysutils/flock \ node:www/node \ rustc:lang/rust \ xcb-proto>0:x11/xcb-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/va/va.h:multimedia/libva \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ ${LOCALBASE}/libdata/pkgconfig/Qt5Core.pc:devel/qt5-core \ ${LOCALBASE}/libdata/pkgconfig/Qt5Widgets.pc:x11-toolkits/qt5-widgets LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libepoll-shim.so:devel/libepoll-shim \ libffi.so:devel/libffi \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic USES= bison compiler:c++17-lang cpe desktop-file-utils gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja perl5 pkgconfig \ python:build qt:5 shebangfix tar:xz xorg CPE_VENDOR= google CPE_PRODUCT= chrome USE_GL= gbm gl USE_GNOME= atk dconf gdkpixbuf glib20 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst USE_QT= buildtools:build SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome BINARY_ALIAS= python3=${PYTHON_CMD} \ moc=${PREFIX}/bin/moc-qt5 # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) # # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= clang_use_chrome_plugins=false \ chrome_pgo_phase=0 \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_nacl=false \ enable_remoting=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles SUB_FILES= iridium-browser.desktop iridium SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG KERBEROS LTO PIPEWIRE OPTIONS_DEFAULT= CODECS CUPS KERBEROS PIPEWIRE SNDIO ALSA PULSEAUDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="60 GB" \ WANTMEM="32 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="35 GB" \ WANTMEM="8 GB" HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="40 GB" \ WANTMEM="16 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false .include .include # for COMPILER_VERSION .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 19 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} # - swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only # - map ffmpeg target to ${ARCH} .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == amd64 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == i386 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build ${PORTNAME}, you should have at least:" @${ECHO_MSG} "- ${WANTMEM} of memory" @${ECHO_MSG} "- ${WANTSPACE} of free disk space" @${ECHO_MSG} "- 1.5 million free inodes" @${ECHO_MSG} pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig harfbuzz-ng libdrm libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Iridium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/rust/rust_bindgen.gni \ ${WRKSRC}/build/rust/rust_bindgen_generator.gni do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ ${STAGEDIR}${PREFIX}/share/man/man1/iridium.1 @${SED} -i "" -e 's,\@\@PACKAGE\@\@,chromium,g;s,\@\@MENUNAME\@\@,Iridium Web Browser,g' \ ${STAGEDIR}${PREFIX}/share/man/man1/iridium.1 ${CP} ${WRKSRC}/chrome/app/theme/chromium/product_logo_22_mono.png ${WRKSRC}/chrome/app/theme/chromium/product_logo_22.png .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/iridium.png .endfor ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.png ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.pak ${STAGEDIR}${DATADIR} .for d in protoc mksnapshot ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor .for d in snapshot_blob.bin v8_context_snapshot.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR}/iridium cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/iridium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/iridium ${STAGEDIR}${PREFIX}/bin # ANGLE, EGL, Vk .for f in libEGL.so libGLESv2.so libVkICD_mock_icd.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${STAGEDIR}${DATADIR}/libvulkan.so .if ${BUILDTYPE} == Debug ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libVkLayer_khronos_validation.so ${STAGEDIR}${DATADIR} .endif # SwiftShader .if ${ARCH} != aarch64 @${MKDIR} ${STAGEDIR}${DATADIR}/swiftshader ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/vk_swiftshader_icd.json ${STAGEDIR}${DATADIR} .endif post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} .include diff --git a/www/kannel-sqlbox/Makefile b/www/kannel-sqlbox/Makefile index a81db9999ecf..1a2a775bec66 100644 --- a/www/kannel-sqlbox/Makefile +++ b/www/kannel-sqlbox/Makefile @@ -1,43 +1,43 @@ PORTNAME= kannel-sqlbox PORTVERSION= 1.0.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= www MAINTAINER= ports@FreeBSD.org # Co-maintainer: Alberto Mijares (PR/173889) COMMENT= Add-on module for www/kannel (svn rev.55) WWW= https://redmine.kannel.org/projects/kannel-sq-lbox LICENSE= The_Kannel_Software_License LICENSE_NAME= The Kannel Software License, Version 1.0 LICENSE_FILE= ${WRKSRC}/KannelLICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${LOCALBASE}/include/kannel/gw-config.h:www/kannel LIB_DEPENDS= libpcreposix.so:devel/pcre RUN_DEPENDS= ${LOCALBASE}/sbin/bearerbox:www/kannel USES= gmake gnome iconv ssl USE_GCC= yes USE_GITHUB= yes GH_ACCOUNT= dbaio USE_GNOME= libxml2 USE_RC_SUBR= kannel_sqlbox GNU_CONFIGURE= yes SUB_FILES= pkg-message OPTIONS_DEFAULT= SQLITE3 OPTIONS_MULTI= DATABASE OPTIONS_MULTI_DATABASE= MYSQL PGSQL SQLITE3 MYSQL_USES= mysql MYSQL_VARS= IGNORE_WITH_MYSQL=80 PGSQL_USES= pgsql SQLITE3_USES= sqlite:3 post-install: ${INSTALL_DATA} ${WRKSRC}/example/sqlbox.conf.example \ ${STAGEDIR}${PREFIX}/etc/sqlbox.conf.sample .include diff --git a/www/kannel/Makefile b/www/kannel/Makefile index 6e746664afd9..d73fa931e95b 100644 --- a/www/kannel/Makefile +++ b/www/kannel/Makefile @@ -1,66 +1,66 @@ PORTNAME= kannel PORTVERSION= 1.4.4 -PORTREVISION= 14 +PORTREVISION= 15 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://www.kannel.org/download/${PORTVERSION}/ DISTNAME= gateway-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= WAP/SMS gateway WWW= http://www.kannel.org/ LICENSE= The_Kannel_Software_License LICENSE_NAME= The Kannel Software License, Version 1.0 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpcre.so:devel/pcre USES= cpe gmake gnome iconv ssl tar:bzip2 USE_GCC= yes USE_GNOME= libxml2 USE_RC_SUBR= ${PORTNAME}_bearerbox ${PORTNAME}_smsbox ${PORTNAME}_wapbox GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-pcre=yes --enable-docs=no --with-malloc=native \ --enable-start-stop-daemon=no CFLAGS+= -fcommon \ -fpermissive PORTSCOUT= skipv:1.5.0 USERS= kannel GROUPS= kannel OPTIONS_DEFINE= MYSQL PGSQL SQLITE3 OPTIONS_DEFAULT= SQLITE3 MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql MYSQL_VARS= IGNORE_WITH_MYSQL="80 81" PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= pgsql SQLITE3_USES= sqlite:3 SQLITE3_CONFIGURE_WITH= sqlite3 post-patch: @${RM} ${WRKSRC}/wmlscript/wsgram.y post-install: .for filename in wapkannel.conf smskannel.conf ${INSTALL_DATA} ${WRKSRC}/gw/${filename} \ ${STAGEDIR}${PREFIX}/etc/${filename}.sample .endfor .for filename in mtbatch seewbmp wmlsc wmlsdasm decode_emimsg @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${filename} .endfor .for filename in bearerbox run_kannel_box smsbox wapbox @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${filename} .endfor @${MKDIR} ${STAGEDIR}/var/log/kannel @${MKDIR} ${STAGEDIR}/var/run/kannel .include diff --git a/www/mod_auth_mellon/Makefile b/www/mod_auth_mellon/Makefile index a8ebf8c28969..ae72e85ac645 100644 --- a/www/mod_auth_mellon/Makefile +++ b/www/mod_auth_mellon/Makefile @@ -1,43 +1,44 @@ PORTNAME= mod_auth_mellon PORTVERSION= 0.19.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= www PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} MAINTAINER= zi@FreeBSD.org COMMENT= Apache module with a simple SAML 2.0 service provider WWW= https://github.com/latchset/mod_auth_mellon LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ liblasso.so:security/lasso USES= apache autoreconf cpe gettext-runtime gnome libtool \ pkgconfig ssl USE_GNOME= glib20 USE_GITHUB= yes GH_ACCOUNT= latchset CPE_VENDOR= mod_auth_mellon_project GNU_CONFIGURE= yes CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" \ PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig" PLIST_FILES= ${APACHEMODDIR}/mod_auth_mellon.so ${DATADIR}/mellon_create_metadata.sh SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -e \ 's|@APXS2@ -i|@APXS2@ -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} -i|' \ ${WRKSRC}/Makefile.in pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${STAGEDIR}${DATADIR} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${PORTNAME}.so ${INSTALL_SCRIPT} ${WRKSRC}/mellon_create_metadata.sh ${STAGEDIR}${DATADIR} .include diff --git a/www/mod_php81/Makefile b/www/mod_php81/Makefile index 82d7543e42b3..4d6184f9cdb3 100644 --- a/www/mod_php81/Makefile +++ b/www/mod_php81/Makefile @@ -1,19 +1,20 @@ +PORTREVISION= 1 CATEGORIES= www devel PKGNAMEPREFIX= mod_ MAINTAINER= bofh@FreeBSD.org CONFLICTS_INSTALL= mod_php[0-9][0-9] PHP_PORT= lang/php81 MASTERDIR= ${.CURDIR}/../../${PHP_PORT} OPTIONS_DEFINE= AP2FILTER OPTIONS_EXCLUDE= CGI CLI EMBED FPM AP2FILTER_DESC= Use Apache 2.x filter interface (experimental) AP2FILTER_CONFIGURE_ON=--with-apxs2filter=${APXS} AP2FILTER_CONFIGURE_OFF=--with-apxs2=${APXS} .include "${MASTERDIR}/Makefile" diff --git a/www/mod_php82/Makefile b/www/mod_php82/Makefile index 723a425618b4..1f467c919023 100644 --- a/www/mod_php82/Makefile +++ b/www/mod_php82/Makefile @@ -1,18 +1,19 @@ +PORTREVISION= 1 CATEGORIES= www devel PKGNAMEPREFIX= mod_ MAINTAINER= bofh@FreeBSD.org CONFLICTS_INSTALL= mod_php[0-9][0-9] MASTERDIR= ${.CURDIR}/../../lang/php82 OPTIONS_DEFINE= AP2FILTER OPTIONS_EXCLUDE= CGI CLI EMBED FPM AP2FILTER_DESC= Use Apache 2.x filter interface (experimental) AP2FILTER_CONFIGURE_ON=--with-apxs2filter=${APXS} AP2FILTER_CONFIGURE_OFF=--with-apxs2=${APXS} .include "${MASTERDIR}/Makefile" diff --git a/www/mod_php83/Makefile b/www/mod_php83/Makefile index 1972e34e820a..caf07c783696 100644 --- a/www/mod_php83/Makefile +++ b/www/mod_php83/Makefile @@ -1,18 +1,19 @@ +PORTREVISION= 1 CATEGORIES= www devel PKGNAMEPREFIX= mod_ MAINTAINER= bofh@FreeBSD.org CONFLICTS_INSTALL= mod_php[0-9][0-9] MASTERDIR= ${.CURDIR}/../../lang/php83 OPTIONS_DEFINE= AP2FILTER OPTIONS_EXCLUDE= CGI CLI EMBED FPM AP2FILTER_DESC= Use Apache 2.x filter interface (experimental) AP2FILTER_CONFIGURE_ON=--with-apxs2filter=${APXS} AP2FILTER_CONFIGURE_OFF=--with-apxs2=${APXS} .include "${MASTERDIR}/Makefile" diff --git a/www/mod_php84/Makefile b/www/mod_php84/Makefile index 1ee419ec5ebd..73e543e37799 100644 --- a/www/mod_php84/Makefile +++ b/www/mod_php84/Makefile @@ -1,18 +1,19 @@ +PORTREVISION= 1 CATEGORIES= www devel PKGNAMEPREFIX= mod_ MAINTAINER= bofh@FreeBSD.org CONFLICTS_INSTALL= mod_php[0-9][0-9] MASTERDIR= ${.CURDIR}/../../lang/php84 OPTIONS_DEFINE= AP2FILTER OPTIONS_EXCLUDE= CGI CLI EMBED FPM AP2FILTER_DESC= Use Apache 2.x filter interface (experimental) AP2FILTER_CONFIGURE_ON=--with-apxs2filter=${APXS} AP2FILTER_CONFIGURE_OFF=--with-apxs2=${APXS} .include "${MASTERDIR}/Makefile" diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile index 422a359bdf8c..2c50163b7600 100644 --- a/www/mod_security/Makefile +++ b/www/mod_security/Makefile @@ -1,82 +1,83 @@ PORTNAME= mod_security PORTVERSION= 2.9.10 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= www security PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} MAINTAINER= joneum@FreeBSD.org COMMENT= Intrusion detection and prevention engine WWW= https://www.modsecurity.org/ LICENSE= APACHE20 LIB_DEPENDS+= libpcre2-8.so:devel/pcre2 \ libapr-1.so:devel/apr1 \ libyajl.so:devel/yajl \ libcurl.so:ftp/curl \ libgdbm.so:databases/gdbm \ libexpat.so:textproc/expat2 USES= apache bdb:18 gnome perl5 pkgconfig shebangfix autoreconf libtool:build USE_GITHUB= yes GH_ACCOUNT= owasp-modsecurity GH_PROJECT= ModSecurity USE_GNOME= libxml2 GNU_CONFIGURE= yes SHEBANG_FILES= tools/rules-updater.pl.in mlogc/mlogc-batch-load.pl.in perl_OLD_CMD= @PERL@ AP_INC= ${LOCALBASE}/include/libxml2 AP_LIB= ${LOCALBASE}/lib MODULENAME= mod_security2 SRC_FILE= *.c PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/${MODULENAME} SUB_FILES+= pkg-message SUB_FILES+= README SUB_FILES+= ${APMOD_FILE}.sample APMOD_FILE= 280_${PORTNAME}.conf SUB_LIST+= APMOD_FILE=${APMOD_FILE} OPTIONS_DEFINE= DOCS FUZZYHASH LUA MLOGC OPTIONS_SUB= yes LUA_CONFIGURE_ON= --with-lua=${LOCALBASE} LUA_CONFIGURE_OFF+= --without-lua LUA_USES= lua:51+ MLOGC_DESC= Build ModSecurity Log Collector MLOGC_CONFIGURE_ON= --disable-errors MLOGC_CONFIGURE_OFF= --disable-mlogc FUZZYHASH_DESC= Allow matching contents using fuzzy hashes with ssdeep FUZZYHASH_CONFIGURE_ON= --with-ssdeep=${LOCALBASE} FUZZYHASH_CONFIGURE_OFF=--without-ssdeep FUZZYHASH_LIB_DEPENDS= libfuzzy.so:security/ssdeep ETCDIR= ${PREFIX}/etc/modsecurity REINPLACE_ARGS= -i "" AP_EXTRAS+= -DWITH_LIBXML2 CONFIGURE_ARGS+=--with-apxs=${APXS} --with-pcre2=${LOCALBASE} --with-yajl=${LOCALBASE} --with-curl=${LOCALBASE} pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended \ ${STAGEDIR}${ETCDIR}/modsecurity.conf.sample ${INSTALL_DATA} ${WRKSRC}/unicode.mapping \ ${STAGEDIR}${ETCDIR}/unicode.mapping @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKDIR}/README ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d ${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE}.sample ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d .include diff --git a/www/newsboat/Makefile b/www/newsboat/Makefile index 5b04cc46a36d..40169fc4c52b 100644 --- a/www/newsboat/Makefile +++ b/www/newsboat/Makefile @@ -1,57 +1,57 @@ PORTNAME= newsboat DISTVERSION= 2.39 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://newsboat.org/releases/${DISTVERSION}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= mt-bugs@markoturk.info COMMENT= RSS feed reader for the text console WWW= https://newsboat.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor LIB_DEPENDS= libcurl.so:ftp/curl \ libjson-c.so:devel/json-c \ libstfl.so:devel/stfl USES= cargo compiler:c++11-lang gettext gmake gnome iconv:translit \ ncurses pkgconfig python:env shebangfix sqlite ssl tar:xz USE_GNOME= libxml2 SHEBANG_FILES= contrib/bookmark-evernote.sh contrib/exportOPMLWithTags.py \ contrib/feedgrabber.rb contrib/getpocket.com/send-to-pocket.sh \ contrib/heise.rb contrib/image-pager/bootstrap_image_pager.sh \ contrib/image-preview/nbparser contrib/move_url.py \ contrib/newsboat_reorganize.py contrib/slashdot.rb \ doc/examples/example-exec-script.py CARGO_BUILD= no CARGO_INSTALL= no CARGO_TARGET_DIR= ${WRKSRC}/target MAKE_ENV= ${CARGO_ENV} OPTIONS_DEFINE= DOCS TESTING_UNSAFE= https://github.com/newsboat/newsboat/issues/2783 .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's,fail "ncursesw",true,; s,fail "libcrypto",true,' \ -e 's,fail "libssl",true,' \ ${WRKSRC}/config.sh @${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB} -lcrypto ${NCURSESLIBS}|;s|-Werror||' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .include diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile index 5668318a80fa..2c997b38233e 100644 --- a/www/nghttp2/Makefile +++ b/www/nghttp2/Makefile @@ -1,65 +1,66 @@ PORTNAME= nghttp2 PORTVERSION= 1.66.0 +PORTREVISION= 1 CATEGORIES= www net MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= HTTP/2 tools WWW= https://nghttp2.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= libnghttp2>=${PORTVERSION}:www/libnghttp2 LIB_DEPENDS= libnghttp2.so:www/libnghttp2 USES= cmake compiler:c++20-lang cpe localbase:ldflags pathfix pkgconfig python:env ssl tar:xz CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=share/man CMAKE_OFF= BUILD_SHARED_LIBS \ BUILD_STATIC_LIBS \ BUILD_TESTING \ ENABLE_DEBUG \ ENABLE_HTTP3 \ ENABLE_LIB_ONLY \ ENABLE_STATIC_CRT \ ENABLE_WERROR \ WITH_LIBBPF \ WITH_MRUBY \ WITH_NEVERBLEED CMAKE_ON= ENABLE_FAILMALLOC \ ENABLE_THREADS \ WITH_JEMALLOC USE_CXXSTD= c++20 USE_RC_SUBR= nghttpx OPTIONS_DEFINE= APP DOCS EXAMPLES HPACK OPTIONS_DEFAULT=APP HPACK OPTIONS_SUB= yes APP_DESC= Build h2load, nghttp, nghttpd and nghttpx APP_BUILD_DEPENDS= c-ares>=1.7.5:dns/c-ares \ libev>=4.11:devel/libev APP_CMAKE_BOOL= ENABLE_APP WITH_LIBXML2 APP_LIB_DEPENDS= libcares.so:dns/c-ares \ libev.so:devel/libev APP_USE= GNOME=libxml2 APP_USES= gnome DOCS_CMAKE_BOOL= ENABLE_DOC EXAMPLES_BUILD_DEPENDS= libevent>=2.0.8:devel/libevent EXAMPLES_CMAKE_BOOL= ENABLE_EXAMPLES EXAMPLES_LIB_DEPENDS= libevent_openssl.so:devel/libevent HPACK_BUILD_DEPENDS= jansson>=2.5:devel/jansson HPACK_CMAKE_BOOL= ENABLE_HPACK_TOOLS HPACK_LIB_DEPENDS= libjansson.so:devel/jansson post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/nghttpx/ ${INSTALL_DATA} ${FILESDIR}/nghttpx.conf.sample ${STAGEDIR}${PREFIX}/etc/nghttpx/nghttpx.conf.sample post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}/ cd ${BUILD_WRKSRC}/examples/ && ${INSTALL_PROGRAM} client deflate libevent-client libevent-server ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/www/nginx-full/Makefile b/www/nginx-full/Makefile index 32fc016270f4..c26b1def1356 100644 --- a/www/nginx-full/Makefile +++ b/www/nginx-full/Makefile @@ -1,44 +1,44 @@ PORTNAME= nginx -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -full MAINTAINER= joneum@FreeBSD.org COMMENT= Robust and small WWW server (full package) MASTERDIR= ${.CURDIR}/../nginx CONFLICTS= nginx-1.* \ nginx-devel-1.* \ nginx-lite-1.* \ nginx-naxsi-1.* OPTIONS_DEFAULT=DSO DEBUG DEBUGLOG FILE_AIO GOOGLE_PERFTOOLS \ HTTP HTTP_ADDITION HTTP_AUTH_REQ HTTP_CACHE HTTP_DAV \ HTTP_FLV HTTP_GZIP_STATIC HTTP_GUNZIP_FILTER \ HTTP_IMAGE_FILTER HTTP_MP4 HTTP_PERL HTTP_RANDOM_INDEX \ HTTP_REALIP HTTP_REWRITE HTTP_SECURE_LINK HTTP_SLICE \ HTTP_SLICE_AHEAD HTTP_SSL HTTP_STATUS HTTP_SUB HTTP_XSLT \ MAIL MAIL_IMAP MAIL_POP3 MAIL_SMTP MAIL_SSL HTTPV2 HTTPV2_AUTOTUNE \ NJS STREAM STREAM_SSL STREAM_SSL_PREREAD THREADS WWW \ AJP AWS_AUTH CACHE_PURGE CLOJURE ECHO FASTDFS HEADERS_MORE \ HTTP_ACCEPT_LANGUAGE HTTP_AUTH_DIGEST HTTP_AUTH_JWT \ HTTP_AUTH_KRB5 HTTP_AUTH_LDAP HTTP_AUTH_PAM HTTP_DAV_EXT \ HTTP_EVAL HTTP_FANCYINDEX HTTP_FOOTER HTTP_GEOIP2 \ HTTP_IP2LOCATION HTTP_IP2PROXY HTTP_JSON_STATUS HTTP_MOGILEFS \ HTTP_MP4_H264 HTTP_NOTICE HTTP_PUSH HTTP_PUSH_STREAM HTTP_REDIS \ HTTP_RESPONSE HTTP_SUBS_FILTER HTTP_TARANTOOL HTTP_UPLOAD \ HTTP_UPLOAD_PROGRESS HTTP_UPSTREAM_CHECK HTTP_UPSTREAM_FAIR \ HTTP_UPSTREAM_STICKY HTTP_VIDEO_THUMBEXTRACTOR HTTP_ZIP \ ARRAYVAR BROTLI DRIZZLE DYNAMIC_TLS DYNAMIC_HC DYNAMIC_UPSTREAM \ ENCRYPTSESSION FORMINPUT GRIDFS ICONV LET LINK LUA MEMC MODSECURITY3 \ NAXSI PASSENGER PCRE_ONE POSTGRES RDS_CSV RDS_JSON REDIS2 \ RTMP SET_MISC SFLOW SHIBBOLETH SLOWFS_CACHE SMALL_LIGHT \ SRCACHE STATSD VOD VTS UDPLOG X11 XSS WEBSOCKIFY .if defined(PACKAGE_BUILDING) || defined(BATCH) # Either GSSAPI_MIT or GSSAPI_HEIMDAL must be enabled to build binary package. # There's no chance to choose GSSAPI_RADIO via dialog while package building. OPTIONS_DEFAULT+= GSSAPI_MIT .endif .include "${MASTERDIR}/Makefile" diff --git a/www/py-html5-parser/Makefile b/www/py-html5-parser/Makefile index cc5f526665da..67683949647d 100644 --- a/www/py-html5-parser/Makefile +++ b/www/py-html5-parser/Makefile @@ -1,23 +1,23 @@ PORTNAME= html5-parser PORTVERSION= 0.4.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= madpilot@FreeBSD.org COMMENT= Fast implementation of the HTML 5 parsing spec for Python WWW= https://html5-parser.readthedocs.io/ LICENSE= APACHE20 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.9.2:devel/py-lxml@${PY_FLAVOR} USES= gnome pkgconfig python USE_PYTHON= autoplist distutils USE_GNOME= libxml2 post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/html5_parser/html_parser*.so .include diff --git a/www/qt5-webengine/Makefile b/www/qt5-webengine/Makefile index 1cd4e912f5ed..3f96af0b733c 100644 --- a/www/qt5-webengine/Makefile +++ b/www/qt5-webengine/Makefile @@ -1,179 +1,180 @@ # QtWebEngine itself is a very thin layer of Qt code on top of a large part of # Chromium (everything up to the content/ layer). As such, most of the work in # this port revolves around taming Chromium and getting it to build on FreeBSD. # While it does build at the moment, there are several items that should be # investigated or improved: # - We are using several stub files, especially in Chromium's base/ and net/ # layers. We should look at implementing the missing bits instead. # - We are currently not using any sandboxing mechanism. # - We need to see if more "use_system_" flags can be passed. # - The process of porting QtWebEngine needs to be documented so we can move to # newer releases more easily. # # Also note that, due to the insane amount of patches this port needs, it tends # to lag behind the rest of the official Qt5 ones, which is why we set # QT5_VERSION and DISTINFO_FILE here. # In order to successfully build this port in poudriere you need to add # MAX_FILES_qt5_webengine=4096 to /usr/local/etc/poudriere.conf PORTNAME= webengine PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 library to render web content BUILD_DEPENDS= bison:devel/bison \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjsoncpp.so:devel/jsoncpp \ liblcms2.so:graphics/lcms2 \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpci.so:devel/libpci \ libpng.so:graphics/png \ libre2.so:devel/re2 \ libsnappy.so:archivers/snappy \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp DISTINFO_FILE= ${.CURDIR}/distinfo QT5_VERSION= ${_KDE_webengine_VERSION} OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_DEFAULT= ALSA AUDIO_DESC= Audio backend # Need the alsa plugins to get sound at runtime, otherwise messages # that the pcm_oss plugin can't be opened. ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins ALSA_VARS= QMAKE_CONFIGURE_ARGS+=-alsa ALSA_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-alsa PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= QMAKE_CONFIGURE_ARGS+=-pulseaudio PULSEAUDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-pulseaudio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= QMAKE_CONFIGURE_ARGS+=-sndio SNDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-sndio # We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks # whether webenginewidgets is available, which fails when qmake processes all # .pro files at once. USES= gl gnome gperf jpeg minizip ninja:build nodejs:build,lts \ perl5 pkgconfig python:build qmake:norecursive,outsource \ qt-dist:5,webengine shebangfix xorg USE_GL= gl USE_GNOME= glib20 libxml2 libxslt USE_PERL5= build USE_QT= core declarative gui location network printsupport \ webchannel widgets \ buildtools:build designer:build qmake:build USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xorgproto xrandr xrender xscrnsaver xtst USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} QMAKE_CONFIGURE_ARGS= -proprietary-codecs -system-ffmpeg # We could just set it to an empty string as well. "all" does not account for # dependencies correctly in the generated Makefiles, use the right target here. ALL_TARGET= first # We need ar(1) from ports because the Chromium code uses the @file syntax. # We then need to ensure ld(1) from ports is used because of the archives ar(1) # generated. USE_BINUTILS= yes CC+= "-B${LOCALBASE}/bin" CXX+= "-B${LOCALBASE}/bin" # The build system reads the environment variable $NINJA_PATH to decide whether # to boostrap ninja or not (and also to invoke it afterwards). CC and CXX are # read by some Chromium code to determine which compiler to invoke when running # some configuration tests. # Since we use USES=qmake:norecursive, we also need to pass some variables to # MAKE_ENV because part of the configuration process happens during the build. CONFIGURE_ENV+= NINJAFLAGS="-j${MAKE_JOBS_NUMBER}" \ NINJA_PATH="${LOCALBASE}/bin/ninja" \ PATH=${CONFIGURE_WRKSRC}/bin:${LOCALBASE}/bin:${PATH} MAKE_ENV+= CC="${CC}" CXX="${CXX}" \ C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include \ ${CONFIGURE_ENV} QT_BINARIES= yes .include .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} PLIST_SUB+= BE="" LE="@comment " .else PLIST_SUB+= BE="@comment " LE="" .endif post-extract: # Install FreeBSD's freebsd.pri file. ${CP} ${FILESDIR}/freebsd.pri ${WRKSRC}/src/buildtools/config/freebsd.pri post-extract-SNDIO-on: @cd ${WRKSRC}/src/3rdparty/chromium/media/audio && ${MKDIR} sndio openbsd @${CP} ${FILESDIR}/sndio_*put.* \ ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio @${CP} ${FILESDIR}/audio_manager_openbsd.* \ ${WRKSRC}/src/3rdparty/chromium/media/audio/openbsd post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/src/3rdparty/chromium/base/linux_util.cc \ ${WRKSRC}/src/3rdparty/chromium/base/test/BUILD.gn \ ${WRKSRC}/src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni \ ${WRKSRC}/src/3rdparty/chromium/chrome/common/chrome_paths.cc \ ${WRKSRC}/src/3rdparty/chromium/third_party/pdfium/core/fxge/fx_ge_linux.cpp \ ${WRKSRC}/src/3rdparty/gn/build/gen.py @${REINPLACE_CMD} -E -e 's|^(MODULE_VERSION = ).*|\1${QT5_VERSION}|' \ ${WRKSRC}/.qmake.conf .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} @${REINPLACE_CMD} -e 's/icudtl.dat/icudtb.dat/' \ ${WRKSRC}/src/core/core_module.pro .endif pre-configure: # Link in ${PYTHON_CMD} to ${CONFIGURE_WRKSRC}/bin -- the scripts hardcode 'python' # in too many places to reasonably patch. So just link in ${PYTHON_CMD} to work around # $LOCALBASE/bin/python being python3 if the default versions is set to 3.x. ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python # Unbundle a few dependencies. cd ${WRKSRC}/src/3rdparty/chromium && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries\ fontconfig freetype harfbuzz-ng libdrm libevent libpng libwebp libxml libxslt openh264 opus || ${FALSE} # Rerun syncqt.pl -- otherwise the resulting package misses some forwarding headers. cd ${WRKSRC} && ${QT_BINDIR}/syncqt.pl -version ${QT5_VERSION} post-build: # Fix version mismatches for CMake .for module in Pdf PdfWidgets WebEngine WebEngineCore WebEngineWidgets @${REINPLACE_CMD} -e '/${QT5_VERSION} $${_Qt5${module}_FIND_VERSION_EXACT}/s|${QT5_VERSION}|'"$$(${MAKE} -C ../../devel/qt5-core -VQT5_VERSION)"'|' \ ${BUILD_WRKSRC}/lib/cmake/Qt5${module}/Qt5${module}Config.cmake .endfor post-install: for lib in ${STAGEDIR}${PREFIX}/${QT_LIBDIR_REL}/*.so.${_QT_VERSION:C/-.*//} ; \ do \ ${BRANDELF} -t FreeBSD $$lib ; \ done .include diff --git a/www/qt6-webengine/Makefile b/www/qt6-webengine/Makefile index af4e2c6f7452..8774fd02a0ef 100644 --- a/www/qt6-webengine/Makefile +++ b/www/qt6-webengine/Makefile @@ -1,181 +1,181 @@ # QtWebEngine itself is a very thin layer of Qt code on top of a large part of # Chromium (everything up to the content/ layer). As such, most of the work in # this port revolves around taming Chromium and getting it to build on FreeBSD. # While it does build at the moment, there are several items that should be # investigated or improved: # - We are using several stub files, especially in Chromium's base/ and net/ # layers. We should look at implementing the missing bits instead. # - We are currently not using any sandboxing mechanism. # - The process of porting QtWebEngine needs to be documented so we can move to # newer releases more easily. # PORTNAME?= webengine DISTVERSION= ${QT6_VERSION} -PORTREVISION?= 0 # Master port for print/qt6-pdf. Please keep this line. +PORTREVISION?= 1 # Master port for print/qt7-pdf. Please keep this line. CATEGORIES?= www PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT?= Qt 6 library to render web content BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers LIB_DEPENDS= libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libopenjp2.so:graphics/openjpeg \ libxkbcommon.so:x11/libxkbcommon USES= bison cmake compiler:c++20-lang gl gperf \ localbase:ldflags ninja:build nodejs:build,lts \ pkgconfig python:build qt-dist:6,webengine USE_GL= opengl USE_QT= base declarative tools USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xshmfence xtst CMAKE_ON= QT_FEATURE_webengine_system_ffmpeg \ QT_FEATURE_webengine_proprietary_codecs USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .if defined(BUILD_QTPDF) CMAKE_ON+= QT_FEATURE_qtpdf_build CMAKE_OFF+= QT_FEATURE_qtwebengine_build SYS_LIBS= freetype .else BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS+= libabsl_base.so:devel/abseil \ libavcodec.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libnspr4.so:devel/nspr \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpci.so:devel/libpci \ libpng.so:graphics/png \ libre2.so:devel/re2 \ libsnappy.so:archivers/snappy \ libtiff.so:graphics/tiff \ libudev.so:devel/libudev-devd \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp USES+= gnome jpeg minizip xorg USE_GL+= gbm USE_QT+= positioning quick3d:build webchannel USE_GNOME+= glib20 libxml2 libxslt USE_XORG+= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xshmfence xtst CMAKE_ON+= QT_FEATURE_qtwebengine_build CMAKE_OFF+= QT_FEATURE_qtpdf_build CXXFLAGS+= -I${LOCALBASE}/include/libepoll-shim SYS_LIBS= freetype harfbuzz-ng libdrm libevent libpng libxml libxslt openh264 opus .endif # The build system reads the environment variable $NINJA_PATH to decide whether # to boostrap ninja or not (and also to invoke it afterwards). CC and CXX are # read by some Chromium code to determine which compiler to invoke when running # some configuration tests. CONFIGURE_ENV+= NINJAFLAGS="-j${MAKE_JOBS_NUMBER}" \ NINJA_PATH="${LOCALBASE}/bin/ninja" \ PATH=${CONFIGURE_WRKSRC}/bin:${LOCALBASE}/bin:${PATH} MAKE_ENV+= CC="${CC}" CXX="${CXX}" \ C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include \ ${CONFIGURE_ENV} # Avoid running multiple make(1) jobs, but only those. Otherwise the build # fails intermittently due race conditions if multiple ninja instances are # running at the same time (mostly for the targets "WebEngineCore" and # "convert_dict"). # # MAKE_JOBS_UNSAFE is too invasive because it also affects the number of jobs # for ninja(1) and would slow everything down which we don't want. We pass the # real number of make jobs via MAKE_JOBS_NUMBER to ninja(1) to CONFIGURE_ENV. DO_MAKE_BUILD= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} -j1 ${MAKE_ARGS:N${DESTDIRNAME}=*} BINARY_ALIAS= python3=${PYTHON_CMD} .if !defined(BUILD_QTPDF) OPTIONS_DEFINE= DRIVER PIPEWIRE OPTIONS_DEFAULT= ALSA DRIVER PIPEWIRE OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_SUB= yes AUDIO_DESC= Audio backend # Need the alsa plugins to get sound at runtime, otherwise messages # that the pcm_oss plugin can't be opened. ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins ALSA_CMAKE_ON= -DQT_FEATURE_webengine_system_alsa:BOOL=ON ALSA_CMAKE_OFF= -DQT_FEATURE_webengine_system_alsa:BOOL=OFF DRIVER_DESC= Install WebEngineDriver DRIVER_CMAKE_ON= -DQT_FEATURE_webenginedriver:BOOL=ON DRIVER_CMAKE_OFF= -DQT_FEATURE_webenginedriver:BOOL=OFF PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_ON= -DQT_FEATURE_webengine_webrtc_pipewire:BOOL=ON PIPEWIRE_CMAKE_OFF= -DQT_FEATURE_webengine_webrtc_pipewire:BOOL=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_pulseaudio:BOOL=ON PULSEAUDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_pulseaudio:BOOL=OFF SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_sndio:BOOL=ON SNDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_sndio:BOOL=OFF .endif post-extract: @${MKDIR} ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/freebsd \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/openbsd post-patch: @${REINPLACE_CMD} -e 's|%%CPPFLAGS%%|${CPPFLAGS}|;s|%%CXXFLAGS%%|${CXXFLAGS}|;s|%%LDFLAGS%%|${LDFLAGS}|' \ ${WRKSRC}/src/host/BUILD.toolchain.gn.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/src/3rdparty/chromium/third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp \ ${WRKSRC}/src/3rdparty/chromium/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc pre-configure: # We used to remove bundled libraries to be sure that webengine uses # system libraries and not shipped ones. # # Leads to missing header errors: icu, libvpx, libwebp, re2, snappy, zlib # No-Op: flac # # Don't attempt to unbundle libraries that the Pdf module doesn't use. It # causes configuration errors. # # cd ${WRKSRC} && ${PYTHON_CMD} \ # ./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC}/src/3rdparty/chromium && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ ${SYS_LIBS} || ${FALSE} .if !defined(BUILD_QTPDF) post-install: # Fix for deskutils/calibre, perhaps others, where this empty directory # is created during build causing a fs-violation. ${MKDIR} ${STAGEDIR}${QT_DATADIR}/resources/locales post-install-DRIVER-on: ${STRIP_CMD} ${STAGEDIR}${QT_TOOLDIR}/webenginedriver .endif .include diff --git a/www/rssroll/Makefile b/www/rssroll/Makefile index 316795aa1ee1..9ddece995c32 100644 --- a/www/rssroll/Makefile +++ b/www/rssroll/Makefile @@ -1,63 +1,64 @@ PORTNAME= rssroll PORTVERSION= 0.11.0 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= koue@chaosophia.net COMMENT= RSS collector in C WWW= http://chaosophia.net/rssroll/ LICENSE= BSD2CLAUSE USES= gnome sqlite:3 USE_GNOME= libxml2 FSL_VERSION= 2.14 CEZ_VERSION= 1.13 RENDER_VERSION= 1.0 USE_GITHUB= yes GH_ACCOUNT= koue GH_PROJECT= rssroll:rssroll \ libfsl:libfsl \ libcez:libcez \ librender:librender GH_TAGNAME= ${FSL_VERSION}:libfsl \ ${CEZ_VERSION}:libcez \ ${RENDER_VERSION}:librender # XXX Static libraries with PIE are currently unsupported. MAKE_ENV+= WITHOUT_PIE=true CFLAGS+= -I${WRKSRC_libfsl}/src/base \ -I${WRKSRC_libfsl}/src/db \ -I${WRKSRC_libcez}/src/core \ -I${WRKSRC_libcez}/src/misc \ -I${WRKSRC_libcez}/src/queue \ -I${WRKSRC_librender}/src LDFLAGS+= -L${WRKSRC_libfsl}/src/base \ -L${WRKSRC_libfsl}/src/db \ -L${WRKSRC_libcez}/src/core \ -L${WRKSRC_libcez}/src/misc \ -L${WRKSRC_libcez}/src/queue \ -L${WRKSRC_librender}/src post-patch: @${REINPLACE_CMD} -e "s|/etc/rssrollrc|${PREFIX}/etc/rssrollrc|" \ ${WRKSRC}/src/rss.h pre-configure: @(cd ${WRKSRC_libfsl}/src/base && ${SETENV} ${MAKE_ENV} ${MAKE}) @(cd ${WRKSRC_libfsl}/src/db && ${SETENV} ${MAKE_ENV} ${MAKE}) @(cd ${WRKSRC_libcez}/src/core && ${SETENV} ${MAKE_ENV} ${MAKE}) @(cd ${WRKSRC_libcez}/src/misc && ${SETENV} ${MAKE_ENV} ${MAKE}) @(cd ${WRKSRC_libcez}/src/queue && ${SETENV} ${MAKE_ENV} ${MAKE}) @(cd ${WRKSRC_librender}/src && ${SETENV} ${MAKE_ENV} ${MAKE}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/rssroll ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC} && ${COPYTREE_SHARE} "html css" ${STAGEDIR}${PREFIX}/www/rssroll/) ${INSTALL_PROGRAM} ${WRKSRC}/src/index.cgi ${STAGEDIR}${PREFIX}/www/rssroll/index.cgi ${INSTALL_DATA} ${WRKSRC}/etc/rssrollrc ${STAGEDIR}${PREFIX}/etc/rssrollrc.sample .include diff --git a/www/rsstool/Makefile b/www/rsstool/Makefile index 44103be44b85..1a3969bfc654 100644 --- a/www/rsstool/Makefile +++ b/www/rsstool/Makefile @@ -1,34 +1,34 @@ PORTNAME= rsstool PORTVERSION= 1.0.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= BERLIOS DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= Read, parse, merge and write RSS and Atom feeds WWW= http://rsstool.berlios.de/ LICENSE= GPLv2+ USES= gmake gnome iconv USE_GNOME= libxml2 BUILD_WRKSRC= ${WRKSRC}/src CONFIGURE_WRKSRC= ${WRKSRC}/src HAS_CONFIGURE= yes OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e 's|gcc|${CC}|' Makefile do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ do-install-DOCS-on: cd ${WRKSRC} && ${COPYTREE_SHARE} "*html images" ${STAGEDIR}${DOCSDIR}/ do-install-EXAMPLES-on: cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index db270d53f383..291314292f78 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,416 +1,417 @@ PORTNAME= ungoogled-chromium PORTVERSION= 137.0.7151.103 +PORTREVISION= 1 PULSEMV= 16 PULSEV= ${PULSEMV}.1 UGVERSION= ${DISTVERSION}-1 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/:goo \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio DISTFILES= chromium-${DISTVERSION}${EXTRACT_SUFX}:goo \ pulseaudio-${PULSEV}.tar.gz:pulseaudio USE_GITHUB= yes GH_ACCOUNT= ungoogled-software GH_TAGNAME= ${UGVERSION} MAINTAINER= chromium@FreeBSD.org COMMENT= Google web browser based on WebKit sans integration with Google WWW= https://github.com/ungoogled-software/ungoogled-chromium LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 PATCH_DEPENDS= gpatch:devel/patch \ ${PYTHON_VERSION}:lang/python${PYTHON_SUFFIX} BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ bindgen:devel/rust-bindgen-cli \ gperf:devel/gperf \ flock:sysutils/flock \ node:www/node \ rustc:lang/rust \ xcb-proto>0:x11/xcb-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/va/va.h:multimedia/libva \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ ${LOCALBASE}/libdata/pkgconfig/Qt5Core.pc:devel/qt5-core \ ${LOCALBASE}/libdata/pkgconfig/Qt5Widgets.pc:x11-toolkits/qt5-widgets LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence RUN_DEPENDS= xdg-open:devel/xdg-utils \ noto-basic>0:x11-fonts/noto-basic USES= bison compiler:c++17-lang cpe desktop-file-utils gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja perl5 pkgconfig \ python:build qt:5 shebangfix tar:xz xorg CPE_VENDOR= google CPE_PRODUCT= chrome USE_GL= gbm gl USE_GNOME= atk dconf gdkpixbuf glib20 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst USE_QT= buildtools:build SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome BINARY_ALIAS= python3=${PYTHON_CMD} # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) # # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= enable_widevine=true \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ moc_qt5_path="${QT_TOOLDIR}/moc" \ optimize_webui=true \ toolkit_views=true \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_qt5=true \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" # sync with flags.gni GN_ARGS+= build_with_tflite_lib=false \ chrome_pgo_phase=0 \ clang_use_chrome_plugins=false \ disable_fieldtrial_testing_config=true \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=false \ enable_mdns=false \ enable_nacl=false \ enable_reading_list=false \ enable_remoting=false \ enable_reporting=false \ enable_service_discovery=false \ exclude_unwind_tables=true \ google_api_key="" \ google_default_client_id="" \ google_default_client_secret="" \ safe_browsing_mode=0 \ treat_warnings_as_errors=false \ use_official_google_api_keys=false \ use_unofficial_version_number=false # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles SUB_FILES= ungoogled-chromium.desktop ungoogled-chromium SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS LTO PIPEWIRE TEST WIDEVINE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE SNDIO ALSA PULSEAUDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="60 GB" \ WANTMEM="8 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="35 GB" \ WANTMEM="8 GB" DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="40 GB" \ WANTMEM="16 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true \ PINCLUDES="-I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false WIDEVINE_DESC= Depend on foreign-cdm to enable playback of DRM content WIDEVINE_RUN_DEPENDS= foreign-cdm>0:www/foreign-cdm .include "Makefile.tests" TEST_DISTFILES= chromium-${DISTVERSION}-testdata${EXTRACT_SUFX} TEST_ALL_TARGET= ${TEST_TARGETS} .include .include # for COMPILER_VERSION .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif LLVM_DEFAULT= 19 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} # - swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only # - map ffmpeg target to ${ARCH} .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == amd64 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == i386 BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/third_party/ffmpeg/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include WRKSRC= ${WRKDIR}/chromium-${DISTVERSION} # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build ${PORTNAME}, you should have at least:" @${ECHO_MSG} "- ${WANTMEM} of memory" @${ECHO_MSG} "- ${WANTSPACE} of free disk space" @${ECHO_MSG} "- 1.5 million free inodes" @${ECHO_MSG} pre-patch: cd ${WRKDIR}/ungoogled-chromium-${UGVERSION} && ${PYTHON_CMD} \ utils/prune_binaries.py ${WRKSRC} pruning.list cd ${WRKDIR}/ungoogled-chromium-${UGVERSION} && PATCH_BIN=gpatch \ ${PYTHON_CMD} utils/patches.py apply ${WRKSRC} patches cd ${WRKDIR}/ungoogled-chromium-${UGVERSION} && ${PYTHON_CMD} \ utils/domain_substitution.py apply -r domain_regex.list -f \ domain_substitution.list -c ${WRKSRC}/domsubcache.tar.gz ${WRKSRC} pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig harfbuzz-ng libdrm libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ ${PYTHON_CMD} scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor touch ${WRKDIR}/pulseaudio-${PULSEV}/src/pulse/version.h @${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \ ${WRKSRC}/build/rust/rust_bindgen.gni \ ${WRKSRC}/build/rust/rust_bindgen_generator.gni do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ ${STAGEDIR}${PREFIX}/share/man/man1/ungoogled-chromium.1 @${SED} -i "" -e 's,\@\@PACKAGE\@\@,chromium,g;s,\@\@MENUNAME\@\@,Chromium Web Browser,g' \ ${STAGEDIR}${PREFIX}/share/man/man1/ungoogled-chromium.1 ${CP} ${WRKSRC}/chrome/app/theme/chromium/product_logo_22_mono.png ${WRKSRC}/chrome/app/theme/chromium/product_logo_22.png .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/ungoogled-chromium.png .endfor ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.png ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.pak ${STAGEDIR}${DATADIR} .for d in protoc mksnapshot ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor .for d in snapshot_blob.bin v8_context_snapshot.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR}/ungoogled-chromium cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/ungoogled-chromium.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/ungoogled-chromium ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \ ${STAGEDIR}${DATADIR} # ANGLE, EGL, Vk .for f in libEGL.so libGLESv2.so libVkICD_mock_icd.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${STAGEDIR}${DATADIR}/libvulkan.so .if ${BUILDTYPE} == Debug ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libVkLayer_khronos_validation.so ${STAGEDIR}${DATADIR} .endif # SwiftShader .if ${ARCH} != aarch64 ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/vk_swiftshader_icd.json ${STAGEDIR}${DATADIR} .endif post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver \ ${STAGEDIR}${PREFIX}/bin/ungoogled-chromedriver do-test-TEST-on: .for t in ${TEST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \ ./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE} .endfor .include diff --git a/www/webkit2-gtk/Makefile b/www/webkit2-gtk/Makefile index b0482bfcdf8c..13f217e5ba6e 100644 --- a/www/webkit2-gtk/Makefile +++ b/www/webkit2-gtk/Makefile @@ -1,138 +1,139 @@ PORTNAME= webkit DISTVERSION= 2.46.6 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://webkitgtk.org/releases/ PKGNAMESUFFIX= 2-gtk_${FLAVOR} DISTNAME= ${PORTNAME}gtk-${DISTVERSION} DIST_SUBDIR= gnome PATCH_SITES= https://github.com/WebKit/WebKit/commit/ MAINTAINER= gnome@FreeBSD.org COMMENT= Opensource browser engine using the GTK 3 toolkit WWW= https://webkitgtk.org/ LICENSE= GPLv2 BSD2CLAUSE LICENSE_COMB= dual BROKEN_riscv64= error: Unknown Architecture BUILD_DEPENDS= rubygem-getoptlong>0:devel/rubygem-getoptlong LIB_DEPENDS= libavif.so:graphics/libavif \ libdrm.so:graphics/libdrm \ libenchant-2.so:textproc/enchant2 \ libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgcrypt.so:security/libgcrypt \ libgraphene-1.0.so:graphics/graphene \ libgpg-error.so:security/libgpg-error \ libharfbuzz-icu.so:print/harfbuzz-icu \ libharfbuzz.so:print/harfbuzz \ libhyphen.so:textproc/hyphen \ libicudata.so:devel/icu \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libsecret-1.so:security/libsecret \ libsysinfo.so:devel/libsysinfo \ libtasn1.so:security/libtasn1 \ libwebp.so:graphics/webp \ libwoff2dec.so:devel/woff2 PORTSCOUT= limitw:1,even FLAVORS= 60 41 40 FLAVOR?= ${FLAVORS:[1]} USES= bison cmake compiler:c++23-lang cpe gettext gl gnome gperf \ jpeg localbase:ldflags perl5 pkgconfig python:build \ ruby:build sqlite tar:xz xorg USE_GNOME= cairo gdkpixbuf introspection:build libxml2 libxslt USE_GL= egl gbm gl glesv2 USE_LDCONFIG= yes USE_PERL5= build USE_XORG= x11 CPE_VENDOR= webkitgtk CPE_PRODUCT= webkitgtk BINARY_ALIAS= python=${PYTHON_CMD} CXXFLAGS+= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 \ -I${LOCALBASE}/include -lsysinfo CMAKE_ARGS= -DPORT=GTK CMAKE_OFF= ${CMAKE_OFF_${ARCH}:U} \ ENABLE_GAMEPAD \ ENABLE_JOURNALD_LOG \ USE_LIBBACKTRACE \ USE_SYSTEM_MALLOC \ USE_SYSPROF_CAPTURE \ USE_SYSTEM_SYSPROF_CAPTURE CMAKE_OFF_armv6= ENABLE_JIT CMAKE_OFF_armv7= ENABLE_JIT INSTALL_TARGET= install .if ${FLAVOR:M60} USE_GNOME+= gtk40 PLIST= ${.CURDIR}/pkg-plist_${FLAVOR} API_VERSION= 6.0 WEBKIT_LIBRARY_VERSION= 4 10 8 JAVASCRIPTCORE_LIBRARY_VERSION= 1 3 15 .else USE_GNOME+= gtk30 CMAKE_OFF+= USE_GTK4 .endif .if ${FLAVOR:M40} LIB_DEPENDS+= libsoup-2.4.so:devel/libsoup CMAKE_ON+= USE_SOUP2 API_VERSION= 4.0 WEBKIT_LIBRARY_VERSION= 37 71 8 JAVASCRIPTCORE_LIBRARY_VERSION= 18 25 15 .else LIB_DEPENDS+= libsoup-3.0.so:devel/libsoup3 .endif .if ${FLAVOR:M41} API_VERSION= 4.1 WEBKIT_LIBRARY_VERSION= 0 16 8 JAVASCRIPTCORE_LIBRARY_VERSION= 0 6 15 .endif PLIST_SUB= API_VERSION=${API_VERSION} \ WEBKIT_LIBRARY_VERSION=${WEBKIT_LIBRARY_VERSION:ts.} \ WEBKIT_LIBRARY_VERSION_MAJOR=${WEBKIT_LIBRARY_VERSION:[1]} \ JAVASCRIPTCORE_LIBRARY_VERSION=${JAVASCRIPTCORE_LIBRARY_VERSION:ts.} \ JAVASCRIPTCORE_LIBRARY_VERSION_MAJOR=${JAVASCRIPTCORE_LIBRARY_VERSION:[1]} OPTIONS_DEFINE= DOCS GEOIP GSTREAMER WAYLAND OPTIONS_DEFAULT= GEOIP GSTREAMER WAYLAND OPTIONS_SUB= yes DOCS_CMAKE_BOOL= ENABLE_DOCUMENTATION DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} GEOIP_CMAKE_BOOL= ENABLE_GEOLOCATION GEOIP_BUILD_DEPENDS= geoclue>=2.4.3:net/geoclue GEOIP_RUN_DEPENDS= geoclue>=2.4.3:net/geoclue GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad,gl GSTREAMER_CMAKE_BOOL= ENABLE_VIDEO ENABLE_WEB_AUDIO WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND_TARGET WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland .include .ifdef WITH_DEBUG DEBUG_FLAGS= -g1 # resulting package otherwise is huge .endif post-install: @${MV} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver \ ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-${API_VERSION} .include diff --git a/x11-clocks/cairo-clock/Makefile b/x11-clocks/cairo-clock/Makefile index 345334d7c184..cb9496e6b833 100644 --- a/x11-clocks/cairo-clock/Makefile +++ b/x11-clocks/cairo-clock/Makefile @@ -1,29 +1,29 @@ PORTNAME= cairo-clock DISTVERSION= 0.3.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-clocks MASTER_SITES= http://ftp.de.debian.org/debian/pool/main/c/cairo-clock/ DISTNAME= ${PORTNAME}_${DISTVERSION}.orig MAINTAINER= yuri@FreeBSD.org COMMENT= Analog clock displaying the system-time WWW= https://launchpad.net/cairo-clock LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-XML-Parser>0:textproc/p5-XML-Parser LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gettext gmake gnome iconv perl5 pkgconfig GNU_CONFIGURE= yes USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 libglade2 pango librsvg2 libxml2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} LDFLAGS+= -lm MAKE_ARGS= GMSGFMT=msgfmt DATADIRNAME=share .include diff --git a/x11-fm/caja/Makefile b/x11-fm/caja/Makefile index 7eec6f669a69..91607a7be497 100644 --- a/x11-fm/caja/Makefile +++ b/x11-fm/caja/Makefile @@ -1,43 +1,43 @@ PORTNAME= caja PORTVERSION= 1.28.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-fm mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT?= File manager for the MATE desktop WWW= https://mate-desktop.org/ LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libexif.so:graphics/libexif \ libexempi.so:textproc/exempi \ libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer \ libstartup-notification-1.so:x11/startup-notification \ libnotify.so:devel/libnotify PORTSCOUT= limitw:1,even USES= compiler:c11 desktop-file-utils gettext gmake gnome libtool \ localbase mate pathfix pkgconfig shared-mime-info tar:xz xorg USE_MATE= desktop icontheme:run USE_XORG= ice sm x11 USE_GNOME= cairo gtk30 gnomeprefix intltool introspection:build libxml2 \ gvfs USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-packagekit INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.caja.gschema.xml \ org.mate.media-handling.gschema.xml post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/caja/extensions-2.0 .include diff --git a/x11-fm/librfm/Makefile b/x11-fm/librfm/Makefile index fdefd0d1a411..e958a934154c 100644 --- a/x11-fm/librfm/Makefile +++ b/x11-fm/librfm/Makefile @@ -1,43 +1,43 @@ PORTNAME= librfm PORTVERSION= 5.3.16.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11-fm MASTER_SITES= SF/xffm/5.3.16.3 DISTNAME= ${PORTNAME}5-${PORTVERSION} MAINTAINER= rodrigo@FreeBSD.org COMMENT= Basic library used by some rfm applications WWW= https://xffm.sourceforge.net/libxffm.html LICENSE= GPLv3 BUILD_DEPENDS= gawk:lang/gawk LIB_DEPENDS= libtubo.so:x11-fm/libtubo \ libdbh.so:databases/dbh \ libzip.so:archivers/libzip \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 OPTIONS_DEFINE= NLS CONFIGURE_ARGS+=--with-pkglibdata USES= autoreconf gettext gnome gmake libtool:keepla pkgconfig \ tar:bzip2 xorg GNU_CONFIGURE= yes USE_GNOME= gtk20 intltool cairo libxml2 librsvg2 USE_XORG+= x11 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}5-${PORTVERSION} .include .if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " CONFIGURE_ARGS+=--disable-nls .endif .include diff --git a/x11-fm/nemo/Makefile b/x11-fm/nemo/Makefile index 51ebf8788fd3..76c50100a16d 100644 --- a/x11-fm/nemo/Makefile +++ b/x11-fm/nemo/Makefile @@ -1,60 +1,60 @@ PORTNAME= nemo PORTVERSION= 5.4.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-fm gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= File manager for the Cinnamon desktop WWW= https://github.com/linuxmint/nemo LICENSE= GPLv2 LGPL20 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= gnome-icon-theme>=0:misc/gnome-icon-theme \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas LIB_DEPENDS= libcinnamon-desktop.so:x11/cinnamon-desktop \ libxapp.so:x11/xapp RUN_DEPENDS= gnome-icon-theme>=0:misc/gnome-icon-theme \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ gvfs>0:filesystems/gvfs USES= compiler:c11 desktop-file-utils gettext gnome meson pkgconfig \ python shared-mime-info shebangfix xorg SHEBANG_FILES= generate_additional_file makepot search-helpers/nemo-xls-to-txt SHEBANG_GLOB= *.py USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_GNOME= cairo gdkpixbuf gtk30 intlhack introspection libgsf \ libxml2 pango pygobject3 USE_XORG= x11 MESON_ARGS= -Dtracker=false GLIB_SCHEMAS= org.nemo.gschema.xml USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS EXEMPI EXIF OPTIONS_DEFAULT= DOCS EXEMPI EXIF OPTIONS_SUB= yes EXEMPI_DESC= XMP support EXIF_DESC= Digital camera file meta-data support DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= gtk_doc EXEMPI_LIB_DEPENDS= libexempi.so:textproc/exempi EXEMPI_MESON_TRUE= xmp EXIF_LIB_DEPENDS= libexif.so:graphics/libexif EXIF_MESON_TRUE= exif .include diff --git a/x11-fm/polo/Makefile b/x11-fm/polo/Makefile index b4b379c34711..9109224d18fb 100644 --- a/x11-fm/polo/Makefile +++ b/x11-fm/polo/Makefile @@ -1,35 +1,35 @@ PORTNAME= polo DISTVERSIONPREFIX= v DISTVERSION= 18.8-beta -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-fm MAINTAINER= gnome@FreeBSD.org COMMENT= Advanced graphical file manager written in Vala WWW= https://teejee2008.github.io/polo/ LICENSE= GPLv2+ LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib USES= desktop-file-utils gettext-tools gmake gnome pkgconfig \ vala:build USE_GITHUB= yes GH_ACCOUNT= teejee2008 USE_GNOME= cairo gdkpixbuf gtk30 libxml2 vte3 MAKEFILE= makefile WRKSRC_SUBDIR= src post-patch: @${RM} ${WRKSRC}/share/polo/files/gtk-theme/*.orig @${RM} ${WRKSRC}/share/polo/files/install-*.sh @${RM} -r ${WRKSRC}/share/polo/files/udisks2 # Adhere to GLib.Object naming conventions for properties @${REINPLACE_CMD} -e 's,7zip_version,sevenzip_version,g' \ ${WRKSRC}/Gtk/MainMenubar.vala \ ${WRKSRC}/Utility/ArchiveTask.vala .include diff --git a/x11-fm/rodent/Makefile b/x11-fm/rodent/Makefile index ceaa3aa1525d..ba48b0d69ce8 100644 --- a/x11-fm/rodent/Makefile +++ b/x11-fm/rodent/Makefile @@ -1,40 +1,40 @@ PORTNAME= rodent PORTVERSION= 5.3.16.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-fm MASTER_SITES= SF/xffm/${PORTVERSION} MAINTAINER= rodrigo@FreeBSD.org COMMENT= Fast, small, and powerful file manager WWW= http://xffm.org/ LICENSE= GPLv3 BUILD_DEPENDS= bash:shells/bash \ gawk:lang/gawk \ intltoolize:textproc/intltool LIB_DEPENDS= libcairo.so:graphics/cairo \ libmagic.so:sysutils/file \ librfm.so:x11-fm/librfm USES= desktop-file-utils gmake gnome libtool:keepla pkgconfig \ shebangfix tar:bzip2 USE_GNOME= glib20 gtk20 librsvg2 libxml2 USE_LDCONFIG= yes SHEBANG_FILES= configure GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --docdir=${DOCSDIR} INSTALL_TARGET= install-strip PORTDOCS= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/x11-fm/rox-filer/Makefile b/x11-fm/rox-filer/Makefile index 49c18a2477c1..e433b5202370 100644 --- a/x11-fm/rox-filer/Makefile +++ b/x11-fm/rox-filer/Makefile @@ -1,57 +1,57 @@ PORTNAME= rox-filer PORTVERSION= 2.11 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= x11-fm gnome MASTER_SITES= SF/rox/rox/${PORTVERSION} MAINTAINER= olgeni@FreeBSD.org COMMENT= Simple and easy to use graphical file manager WWW= https://rox.sourceforge.net/phpwiki/index.php/ROX-Filer LICENSE= GPLv2+ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libinotify.so:devel/libinotify PLIST_SUB+= LOCALBASE=${LOCALBASE} USES= gettext-runtime:build gmake gnome pkgconfig shared-mime-info \ tar:bzip2 xorg USE_XORG= ice sm x11 xaw xorgproto USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 libxml2 pango GNU_CONFIGURE= yes CONFIGURE_ENV= APP_DIR=${WRKSRC}/ROX-Filer CONFIGURE_ARGS= --enable-rox --with-platform=FreeBSD CONFIGURE_WRKSRC= ${WRKSRC}/ROX-Filer/src BUILD_WRKSRC= ${CONFIGURE_WRKSRC} ALL_TARGET= LIBS+= -lm OPTIONS_DEFINE= NLS NLS_USES= gettext-runtime:run post-configure: ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${CONFIGURE_WRKSRC}/configure \ ${CONFIGURE_WRKSRC}/choices.c \ ${CONFIGURE_WRKSRC}/support.c \ ${CONFIGURE_WRKSRC}/type.c \ ${CONFIGURE_WRKSRC}/usericons.c \ ${CONFIGURE_WRKSRC}/xdgmime.c ${TOUCH} ${CONFIGURE_WRKSRC}/config.status do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/apps/ROX-Filer cd ${WRKSRC}/ROX-Filer && ${CP} -r .DirIcon AppInfo.xml AppRun \ Help Messages Options.xml ROX ROX-Filer Templates.ui images \ style.css subclasses ${STAGEDIR}${PREFIX}/apps/ROX-Filer cd ${WRKSRC} && ${CP} -r Choices ${STAGEDIR}${PREFIX}/share/ ${CAT} ${FILESDIR}/rox | ${SED} -e "s|%%PREFIX%%|${PREFIX}|" > ${STAGEDIR}${PREFIX}/bin/rox ${INSTALL_MAN} ${WRKSRC}/rox.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/rox.xml ${STAGEDIR}${PREFIX}/share/mime/packages .include diff --git a/x11-fonts/afdko/Makefile b/x11-fonts/afdko/Makefile index cdbe6f8348f6..d03232922de2 100644 --- a/x11-fonts/afdko/Makefile +++ b/x11-fonts/afdko/Makefile @@ -1,17 +1,18 @@ PORTNAME= afdko PORTVERSION= 4.0.2 +PORTREVISION= 1 CATEGORIES= x11-fonts MASTER_SITES= https://github.com/adobe-type-tools/afdko/releases/download/${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Adobe Font Development Kit for OpenType (AFDKO) WWW= https://github.com/adobe-type-tools/afdko LICENSE= APACHE20 USES= cmake compiler:c++11-lang gnome USE_GNOME= libxml2 CMAKE_OFF= SKBUILD .include diff --git a/x11-fonts/font-manager/Makefile b/x11-fonts/font-manager/Makefile index 64a1f6eb3e33..b47fe49d182d 100644 --- a/x11-fonts/font-manager/Makefile +++ b/x11-fonts/font-manager/Makefile @@ -1,48 +1,49 @@ PORTNAME= font-manager DISTVERSION= 0.9.4 +PORTREVISION= 1 CATEGORIES= x11-fonts gnome MAINTAINER= ehaupt@FreeBSD.org COMMENT= Font management application for the GNOME desktop WWW= https://fontmanager.github.io/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cmake:devel/cmake-core \ itstool:textproc/itstool \ yelp-build:textproc/yelp-tools LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome \ libarchive meson pkgconfig python shebangfix sqlite vala:build USE_GITHUB= yes GH_ACCOUNT= FontManager USE_GNOME= cairo glib20 gtk40 libxml2 pango GLIB_SCHEMAS= com.github.FontManager.FontManager.gschema.xml \ com.github.FontManager.FontViewer.gschema.xml USE_LDCONFIG= yes SHEBANG_GLOB= *.py # Requires webkit2gtk-4.1, which is currently unavailable in ports MESON_ARGS= -Dwebkit=false PLIST_SUB= PORTVERSION="${PORTVERSION}" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_MESON_TRUE= enable-nls post-patch: @${REINPLACE_CMD} \ -e "s|\(find_installation.*\)python3|\1${PYTHON_CMD}|" \ ${WRKSRC}/meson.build .include diff --git a/x11-fonts/py-cffsubr/Makefile b/x11-fonts/py-cffsubr/Makefile index bdd725366876..56be69563466 100644 --- a/x11-fonts/py-cffsubr/Makefile +++ b/x11-fonts/py-cffsubr/Makefile @@ -1,39 +1,40 @@ PORTNAME= cffsubr PORTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= x11-fonts python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Standalone CFF subroutinizer based on the AFDKO tx tool WWW= https://github.com/adobe-type-tools/cffsubr LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= tx:x11-fonts/afdko \ ${PYTHON_PKGNAMEPREFIX}afdko>=0:x11-fonts/py-afdko@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fonttools>=4.10.2:print/py-fonttools@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes PLIST_FILES= ${PYTHON_SITELIBDIR}/cffsubr/tx # Clean up bundled libraries .if !defined(MAINTAINER_MODE) EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/external \ --no-same-owner --no-same-permissions .else post-patch: @${RM} -r ${WRKSRC}/external/ .endif post-install: ${LN} -s ${LOCALBASE}/bin/tx ${STAGEDIR}${PYTHON_SITELIBDIR}/cffsubr/tx .include diff --git a/x11-toolkits/gdl/Makefile b/x11-toolkits/gdl/Makefile index ec227966afd0..da1dc801a0ff 100644 --- a/x11-toolkits/gdl/Makefile +++ b/x11-toolkits/gdl/Makefile @@ -1,23 +1,23 @@ PORTNAME= gdl PORTVERSION= 3.40.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Components intended to be shared between GNOME development tools WWW= https://www.gnome.org/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limitw:1,even USE_GNOME= cairo gdkpixbuf gtk30 intltool introspection:build libxml2 USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip .include diff --git a/x11-toolkits/gtk-sharp20/Makefile b/x11-toolkits/gtk-sharp20/Makefile index 27537090c1f8..3399891b1eca 100644 --- a/x11-toolkits/gtk-sharp20/Makefile +++ b/x11-toolkits/gtk-sharp20/Makefile @@ -1,32 +1,32 @@ PORTNAME= gtk-sharp PORTVERSION= 2.12.45 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-toolkits MASTER_SITES= http://download.mono-project.com/sources/gtk-sharp212/ PKGNAMESUFFIX= 20 MAINTAINER= ports@FreeBSD.org COMMENT= GTK and GNOME interfaces for the .NET runtime WWW= https://www.mono-project.com/Gtk LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= p5-XML-LibXML>=0:textproc/p5-XML-LibXML USES= gmake gnome libtool mono pathfix perl5 pkgconfig shebangfix USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf gtk20 libglade2 USE_PERL5= run SHEBANG_FILES= parser/*.pl GNU_CONFIGURE= yes MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} post-patch: @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/glib/glue/*.c .include diff --git a/x11-toolkits/gtksourceview2/Makefile b/x11-toolkits/gtksourceview2/Makefile index 534f24ab2f4b..8ea20a25dd74 100644 --- a/x11-toolkits/gtksourceview2/Makefile +++ b/x11-toolkits/gtksourceview2/Makefile @@ -1,25 +1,25 @@ PORTNAME= gtksourceview2 DISTVERSION= 2.10.5 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME DISTNAME= ${PORTNAME:S/2$//}-${DISTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Widget that adds syntax highlighting to GtkTextView USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:bzip2 USE_GNOME= gnomeprefix gtk20 libxml2 intlhack USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip PORTSCOUT= ignore:1 CONFIGURE_ARGS= --enable-compile-warnings=no \ --enable-glade-catalog=no \ --disable-gtk-doc-html .include diff --git a/x11-toolkits/gtksourceview3/Makefile b/x11-toolkits/gtksourceview3/Makefile index 6006c15e042e..2d4353718bf9 100644 --- a/x11-toolkits/gtksourceview3/Makefile +++ b/x11-toolkits/gtksourceview3/Makefile @@ -1,42 +1,42 @@ PORTNAME= gtksourceview PORTVERSION= 3.24.11 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 3 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Text widget that adds syntax highlighting to the GtkTextView widget WWW= https://wiki.gnome.org/Projects/GtkSourceView/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c11 tar:xz vala:build PORTSCOUT= limitw:1,even LIB_DEPENDS= libfribidi.so:converters/fribidi USES+= gettext gmake gnome libtool localbase pathfix pkgconfig USE_CSTD= c11 USE_GNOME= cairo gdkpixbuf gnomeprefix gtk30 \ introspection:build libxml2 GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-compile-warnings=no \ --enable-glade-catalog=no \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ --enable-introspection INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|tests testsuite||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|--warn-all||g' \ ${WRKSRC}/gtksourceview/Makefile.in .include diff --git a/x11-toolkits/gtksourceview4/Makefile b/x11-toolkits/gtksourceview4/Makefile index 4573c175a9cf..372f0270d34b 100644 --- a/x11-toolkits/gtksourceview4/Makefile +++ b/x11-toolkits/gtksourceview4/Makefile @@ -1,22 +1,23 @@ PORTNAME= gtksourceview PORTVERSION= 4.8.4 +PORTREVISION= 1 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 4 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Text widget that adds syntax highlighting to the GtkTextView widget WWW= https://gitlab.gnome.org/GNOME/gtksourceview LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfribidi.so:converters/fribidi USES= compiler:c11 gettext gnome meson pkgconfig tar:xz vala:build USE_CSTD= c11 USE_GNOME= cairo gdkpixbuf gtk30 libxml2 introspection:build USE_LDCONFIG= yes .include diff --git a/x11-toolkits/gtksourceview5/Makefile b/x11-toolkits/gtksourceview5/Makefile index c2f2fe679cd8..96e05f59bb9d 100644 --- a/x11-toolkits/gtksourceview5/Makefile +++ b/x11-toolkits/gtksourceview5/Makefile @@ -1,26 +1,27 @@ PORTNAME= gtksourceview DISTVERSION= 5.14.2 +PORTREVISION= 1 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 5 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Text widget that adds syntax highlighting to the GtkTextView widget WWW= https://wiki.gnome.org/Projects/GtkSourceView LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfribidi.so:converters/fribidi \ libpcre2-8.so:devel/pcre2 USES= compiler:c11 gettext gnome meson pkgconfig tar:xz vala:build USE_CSTD= c11 USE_GNOME= cairo gdkpixbuf gtk40 libxml2 introspection:build USE_LDCONFIG= yes PORTSCOUT= limitw:1,even .include diff --git a/x11-toolkits/guile-gnome-platform/Makefile b/x11-toolkits/guile-gnome-platform/Makefile index 957e821999df..67cfb2a437f9 100644 --- a/x11-toolkits/guile-gnome-platform/Makefile +++ b/x11-toolkits/guile-gnome-platform/Makefile @@ -1,159 +1,159 @@ PORTNAME= guile-gnome-platform DISTVERSION= 2.16.5 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= x11-toolkits MASTER_SITES= GNU/guile-gnome/${PORTNAME} MAINTAINER= andrew@tao11.riddles.org.uk COMMENT= Guile bindings for Gnome libraries WWW= https://www.gnu.org/software/guile-gnome/ LICENSE= GPLv2+ LIB_DEPENDS= libgwrap-guile-runtime.so:devel/g-wrap \ libffi.so:devel/libffi FLAVORS= lite full FLAVOR?= ${FLAVORS:[1]} full_PKGNAMESUFFIX=-full full_CONFLICTS_INSTALL=${PORTNAME}-lite lite_PKGNAMESUFFIX=-lite lite_CONFLICTS_INSTALL=${PORTNAME}-full # We don't actually need gettext, but for some incomprehensible reason it # is the package that installs some basic gnulib autoconf functionality. USES= autoreconf gettext-tools gmake gnome guile:2.2,alias \ libtool pkgconfig USE_GNOME= glib20 USE_LDCONFIG= yes GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE=yes INSTALL_TARGET= install-strip DATADIR= ${PREFIX}/share/guile-gnome-2 INFO= guile-gnome-gconf guile-gnome-glib guile-gnome-gobject \ guile-gnome-libgnome guile-gnome-libgnomeui OPTIONS_DEFINE= ATK CAIRO CANVAS GLADE GTK2 PANGO OPTIONS_DEFAULT=ATK CAIRO CANVAS GLADE GTK2 PANGO .if ${FLAVOR} == full OPTIONS_SLAVE= ATK CAIRO CANVAS GLADE GTK2 PANGO .endif OPTIONS_SUB= yes # other options have descriptions provided by ports/Mk/* ATK_DESC= GNOME accessibility toolkit (ATK) CANVAS_DESC= GNOMECanvas Graphics library ATK_USE= gnome=atk ATK_CONFIGURE_WITH= atk ATK_INFO= guile-gnome-atk # Cairo support depends on a separate module. CAIRO_BUILD_DEPENDS= ${LOCALBASE}/lib/guile/${GUILE_VER}/extensions/libguile-cairo.so:graphics/guile-cairo@${GUILE_FLAVOR} CAIRO_RUN_DEPENDS= ${LOCALBASE}/lib/guile/${GUILE_VER}/extensions/libguile-cairo.so:graphics/guile-cairo@${GUILE_FLAVOR} CAIRO_USE= gnome=cairo CAIRO_CONFIGURE_WITH= cairo CANVAS_IMPLIES= GLADE GTK2 CAIRO CANVAS_USE= gnome=libgnomecanvas CANVAS_CONFIGURE_WITH= canvas CANVAS_INFO= guile-gnome-libgnomecanvas GLADE_IMPLIES= GTK2 CAIRO GLADE_USE= gnome=libglade2 GLADE_CONFIGURE_WITH= libglade GLADE_INFO= guile-gnome-libglade GTK2_IMPLIES= CAIRO # These dependencies are brought in from gtk2's pkgconf, but # not accounted for by Uses/gnome GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz GTK2_USE= gnome=gtk20,gdkpixbuf GTK2_CONFIGURE_WITH= gtk pixbuf GTK2_INFO= guile-gnome-gtk guile-gnome-gdk PANGO_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz PANGO_USE= gnome=pango PANGO_CONFIGURE_WITH= pango PANGO_INFO= guile-gnome-pango # pangocairo doesn't have its own option, but is enabled if both PANGO # and CAIRO are set. PANGOCAIRO_INFO=guile-gnome-pangocairo HAS_PANGOCAIRO= ${"${PORT_OPTIONS:MPANGO}${PORT_OPTIONS:MCAIRO}" == "PANGOCAIRO":?1:} INFO+= ${"${HAS_PANGOCAIRO}":?${PANGOCAIRO_INFO}:} # Compute the list of info files that are _not_ installed. INFO_UNUSED= ${DESELECTED_OPTIONS:@s@${${s}_INFO}@} \ ${OPTIONS_EXCLUDE:@s@${${s}_INFO}@} \ ${"${HAS_PANGOCAIRO}":?:${PANGOCAIRO_INFO}} post-patch: @${REINPLACE_CMD} -e '/grep/s,\^ {|,^ \\{|,' ${WRKSRC}/gconf/gnome/gw/Makefile.in \ ${WRKSRC}/gconf/gnome/overrides/Makefile.in \ ${WRKSRC}/gconf/gnome/Makefile.in \ ${WRKSRC}/libgnome/gnome/gw/Makefile.in \ ${WRKSRC}/libgnome/gnome/Makefile.in \ ${WRKSRC}/libgnome/gnome/overrides/Makefile.in \ ${WRKSRC}/defs/gnome/defs/Makefile.in \ ${WRKSRC}/defs/Makefile.in \ ${WRKSRC}/gtk/Makefile.in \ ${WRKSRC}/gtk/gnome/gw/Makefile.in \ ${WRKSRC}/gtk/gnome/gtk/Makefile.in \ ${WRKSRC}/gtk/gnome/overrides/Makefile.in \ ${WRKSRC}/gtk/gnome/contrib/Makefile.in \ ${WRKSRC}/gtk/gnome/Makefile.in \ ${WRKSRC}/libgnomeui/Makefile.in \ ${WRKSRC}/libgnomeui/gnome/overrides/Makefile.in \ ${WRKSRC}/libgnomeui/gnome/gw/Makefile.in \ ${WRKSRC}/libgnomeui/gnome/Makefile.in \ ${WRKSRC}/libgnomecanvas/gnome/gw/Makefile.in \ ${WRKSRC}/libgnomecanvas/gnome/Makefile.in \ ${WRKSRC}/libgnomecanvas/gnome/overrides/Makefile.in \ ${WRKSRC}/libglade/gnome/overrides/Makefile.in \ ${WRKSRC}/libglade/gnome/gw/Makefile.in \ ${WRKSRC}/libglade/gnome/Makefile.in \ ${WRKSRC}/pango/gnome/Makefile.in \ ${WRKSRC}/pango/gnome/overrides/Makefile.in \ ${WRKSRC}/pango/gnome/gw/Makefile.in \ ${WRKSRC}/glib/gnome/Makefile.in \ ${WRKSRC}/glib/gnome/gobject/Makefile.in \ ${WRKSRC}/glib/gnome/overrides/Makefile.in \ ${WRKSRC}/glib/gnome/gw/Makefile.in \ ${WRKSRC}/glib/gnome/gw/support/Makefile.in \ ${WRKSRC}/glib/Makefile.in \ ${WRKSRC}/glib/bin/Makefile.in \ ${WRKSRC}/glib/test-suite/Makefile.in \ ${WRKSRC}/common.mk \ ${WRKSRC}/cairo/gnome/gw/Makefile.in \ ${WRKSRC}/cairo/gnome/Makefile.in \ ${WRKSRC}/atk/gnome/overrides/Makefile.in \ ${WRKSRC}/atk/gnome/gw/Makefile.in \ ${WRKSRC}/atk/gnome/Makefile.in # pacify check-plist by removing any .info files for deselected # components. This doesn't affect the packaging but makes QA testing # of the options much easier. # DO NOT try and add rules here to strip .go files, no matter how loudly # testport / stage-qa shouts at you about it, because .go files (which are # compiled bytecode) are not intended to be stripped and doing so causes # breakage at run time. post-install: for f in ${INFO_UNUSED}; do \ ${RM} ${STAGEDIR}${PREFIX}/${INFO_PATH}/$${f}.info*; \ done; .include diff --git a/x11-toolkits/libgedit-gtksourceview/Makefile b/x11-toolkits/libgedit-gtksourceview/Makefile index 34912914a0db..2691fa8524ac 100644 --- a/x11-toolkits/libgedit-gtksourceview/Makefile +++ b/x11-toolkits/libgedit-gtksourceview/Makefile @@ -1,22 +1,23 @@ PORTNAME= libgedit-gtksourceview DISTVERSION= 299.5.0 +PORTREVISION= 1 CATEGORIES= x11-toolkits DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Extend GtkTextView source code editing widget WWW= https://gitlab.gnome.org/World/gedit/libgedit-gtksourceview LICENSE= LGPL21 USES= gettext gnome meson pkgconfig tar:bz2 USE_GNOME= cairo gdkpixbuf glib20 gtk30 libxml2 introspection:build USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World/gedit MESON_ARGS= -Dgtk_doc=false \ -Dtests=false .include diff --git a/x11-toolkits/ocaml-lablgtk2/Makefile b/x11-toolkits/ocaml-lablgtk2/Makefile index feb5a8d49d0f..e8bae499a412 100644 --- a/x11-toolkits/ocaml-lablgtk2/Makefile +++ b/x11-toolkits/ocaml-lablgtk2/Makefile @@ -1,83 +1,83 @@ PORTNAME= lablgtk2 PORTVERSION= 2.18.13 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-toolkits PKGNAMEPREFIX= ocaml- MAINTAINER= danfe@FreeBSD.org COMMENT= Objective Caml interface to GTK 2.x WWW= https://garrigue.github.io/lablgtk/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake gnome ocaml:camlp4,findlib,ldconfig,wash pkgconfig USE_GNOME= cairo gdkpixbuf gtk20 HAS_CONFIGURE= yes ALL_TARGET= all opt MAKE_JOBS_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= garrigue GH_PROJECT= lablgtk PORTSCOUT= limit:^${PORTVERSION:R:R} CONFIGURE_ARGS= --prefix=${PREFIX} --with-libdir=${PREFIX}/${OCAML_LIBDIR} \ --without-gtksourceview --without-gnomeui \ --without-panel --without-gnomecanvas CONFIGURE_ENV= CAMLP4O="camlp4 pa_o.cmo pa_op.cmo pr_dump.cmo" DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= COPYING README EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES GLADE GTKGLAREA GTKSOURCEVIEW2 GTKSPELL LIBRSVG2 OPTIONS_DEFAULT= GLADE GTKGLAREA GTKSOURCEVIEW2 GTKSPELL LIBRSVG2 OPTIONS_SUB= yes GTKGLAREA_DESC= GtkGLArea support GTKSOURCEVIEW2_DESC= GtkSourceView 2 support GTKSPELL_DESC= GtkSpell support GLADE_CONFIGURE_WITH=glade GLADE_USE= GNOME=libglade2 GLADE_VARS= EXAMPLES_SUBDIRS+=glade GTKGLAREA_BUILD_DEPENDS=lablgl:graphics/ocaml-lablgl GTKGLAREA_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 GTKGLAREA_RUN_DEPENDS= lablgl:graphics/ocaml-lablgl GTKGLAREA_CONFIGURE_WITH=gl GTKGLAREA_CONFIGURE_ENV=LABLGLDIR=+site-lib/lablGL GTKGLAREA_VARS= EXAMPLES_SUBDIRS+=GL GTKSOURCEVIEW2_CONFIGURE_WITH=gtksourceview2 GTKSOURCEVIEW2_USE= GNOME=gtksourceview2 GTKSOURCEVIEW2_VARS= EXAMPLES_SUBDIRS+=sourceview GTKSPELL_LIB_DEPENDS= libgtkspell.so:textproc/gtkspell GTKSPELL_CONFIGURE_WITH=gtkspell LIBRSVG2_CONFIGURE_WITH=rsvg LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_VARS= EXAMPLES_SUBDIRS+=rsvg .include .if ${ARCH} == powerpc USE_BINUTILS= yes .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \ "*.ml *.png *.rgb *.xpm text ${EXAMPLES_SUBDIRS}" \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/x11-wm/compiz-plugins-extra/Makefile b/x11-wm/compiz-plugins-extra/Makefile index e93e780d09f7..bb2bc5243e26 100644 --- a/x11-wm/compiz-plugins-extra/Makefile +++ b/x11-wm/compiz-plugins-extra/Makefile @@ -1,44 +1,44 @@ PORTNAME= compiz-plugins-extra PORTVERSION= 0.8.8 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= x11-wm MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/ MAINTAINER= samy.mahmoudi@gmail.com COMMENT= Plugins for Compiz Composite Window Manager WWW= https://gitlab.com/compiz/compiz-plugins-extra LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcairo.so:graphics/cairo \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libnotify.so:devel/libnotify \ libstartup-notification-1.so:x11/startup-notification BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz \ ${LOCALBASE}/libdata/pkgconfig/bcop.pc:devel/compiz-bcop \ ${LOCALBASE}/libdata/pkgconfig/compiz-text.pc:x11-wm/compiz-plugins-main RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gettext-tools gmake gl gnome libtool:keepla localbase:ldflags \ pathfix pkgconfig tar:bzip2 xorg USE_GL= glu USE_CSTD= gnu89 USE_GNOME= gdkpixbuf intltool libxslt USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto xrandr xrender USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-schemas GNU_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \ ${WRKSRC}/src/group/group-internal.h \ .include diff --git a/x11-wm/compiz-plugins-main/Makefile b/x11-wm/compiz-plugins-main/Makefile index 9ff004132748..2a1fcf1494be 100644 --- a/x11-wm/compiz-plugins-main/Makefile +++ b/x11-wm/compiz-plugins-main/Makefile @@ -1,41 +1,41 @@ PORTNAME= compiz-plugins-main PORTVERSION= 0.8.8 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= x11-wm MASTER_SITES= https://BSDforge.com/projects/source/x11-wm/compiz-plugins-main/ MAINTAINER= portmaster@BSDforge.com COMMENT= Plugins for Compiz Composite Window Manager WWW= https://gitlab.com/compiz/compiz-plugins-main LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcairo.so:graphics/cairo \ libpangocairo-1.0.so:x11-toolkits/pango \ libstartup-notification-1.so:x11/startup-notification BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz \ ${LOCALBASE}/libdata/pkgconfig/bcop.pc:devel/compiz-bcop RUN_DEPENDS:= ${BUILD_DEPENDS} GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= gettext-tools gl gmake gnome jpeg libtool:keepla localbase:ldflags pathfix \ pkgconfig tar:bzip2 xorg USE_CSTD= gnu89 USE_GL= glu USE_GNOME= intltool libxslt USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto xrandr xrender USE_LDCONFIG= yes # Fix build with clang11 CFLAGS+= -fcommon CONFIGURE_ARGS= --disable-schemas OPTIONS_DEFINE= NLS NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/x11-wm/compiz-plugins-unsupported/Makefile b/x11-wm/compiz-plugins-unsupported/Makefile index 80b6be7ffcde..cafb0961cae6 100644 --- a/x11-wm/compiz-plugins-unsupported/Makefile +++ b/x11-wm/compiz-plugins-unsupported/Makefile @@ -1,37 +1,37 @@ PORTNAME= compiz-plugins-unsupported PORTVERSION= 0.8.8 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= x11-wm MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/ \ https://BSDforge.com/prolects/source/x11-wm/compiz-plugins-unsupported/ MAINTAINER= portmaster@BSDforge.com COMMENT= Plugins for Compiz Composite Window Manager LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcairo.so:graphics/cairo \ libstartup-notification-1.so:x11/startup-notification BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz \ ${LOCALBASE}/libdata/pkgconfig/bcop.pc:devel/compiz-bcop \ ${LOCALBASE}/libdata/pkgconfig/compiz-text.pc:x11-wm/compiz-plugins-main RUN_DEPENDS:= ${BUILD_DEPENDS} GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= gettext-tools gmake gnome libtool:keepla localbase:ldflags pathfix \ pkgconfig tar:bzip2 xorg USE_GNOME= intltool libxslt USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto xrandr USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-schemas OPTIONS_DEFINE= NLS NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime .include diff --git a/x11-wm/compiz/Makefile b/x11-wm/compiz/Makefile index a2ad76a1714a..ab77c8b2a26d 100644 --- a/x11-wm/compiz/Makefile +++ b/x11-wm/compiz/Makefile @@ -1,89 +1,89 @@ PORTNAME= compiz PORTVERSION= 0.8.8 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= x11-wm MASTER_SITES= https://BSDforge.com/projects/source/x11-wm/compiz/ MAINTAINER= portmaster@BSDforge.com COMMENT= Compiz Composite/Window Manager WWW= http://www.compiz.org/ LICENSE= GPLv2+ LGPL21+ MIT LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.GPL LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LGPL LICENSE_FILE_MIT= ${WRKSRC}/COPYING.MIT LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtop-2.0.so:devel/libgtop \ libpng.so:graphics/png \ libstartup-notification-1.so:x11/startup-notification RUN_DEPENDS= ${RUN_DEPENDS_${ARCH}} \ glxinfo:graphics/mesa-demos RUN_DEPENDS_amd64= nvidia-settings:x11/nvidia-settings RUN_DEPENDS_i386= nvidia-settings:x11/nvidia-settings USES= gettext-runtime gettext-tools gl gmake gnome libtool localbase \ pathfix tar:bzip2 xorg xorg-cat:app USE_GL= gl glu USE_GNOME= cairo intltool libxslt USE_LDCONFIG= yes USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto \ xrandr xrender GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gconf \ --disable-gnome \ --disable-gnome-keybindings \ --disable-inotify \ --disable-kde \ --disable-kde4 \ --disable-metacity INSTALL_TARGET= install-strip DESKTOP_ENTRIES= "Compiz Manager" \ "Wrapper script for starting compiz" \ "" \ "compiz-manager" \ "System;Core;" \ false SUB_FILES= compiz-manager OPTIONS_DEFINE= DBUS FUSE GTK2 SVG OPTIONS_DEFAULT= DBUS GTK2 SVG OPTIONS_SUB= yes DBUS_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus DBUS_RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus DBUS_CONFIGURE_ENABLE= dbus FUSE_USES= fuse FUSE_CONFIGURE_ENABLE= fuse GTK2_LIB_DEPENDS= libwnck-1.so:x11-toolkits/libwnck GTK2_USE= GNOME=glib20 GTK2_CONFIGURE_ENABLE= gtk SVG_USE= GNOME=librsvg2 SVG_CONFIGURE_ENABLE= librsvg .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .if ${PORT_OPTIONS:MDBUS} && ${PORT_OPTIONS:MGTK2} CONFIGURE_ARGS+= --enable-dbus-glib BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib .else CONFIGURE_ARGS+= --disable-dbus-glib .endif post-install: ${INSTALL_SCRIPT} ${WRKDIR}/compiz-manager ${STAGEDIR}${PREFIX}/bin/compiz-manager .include diff --git a/x11-wm/labwc/Makefile b/x11-wm/labwc/Makefile index 3f6676506972..a3e21ee7af1d 100644 --- a/x11-wm/labwc/Makefile +++ b/x11-wm/labwc/Makefile @@ -1,107 +1,108 @@ PORTNAME= labwc DISTVERSION= 0.8.4 +PORTREVISION= 1 CATEGORIES= x11-wm wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland stacking compositor WWW= https://github.com/labwc/labwc LICENSE= GPLv2 BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.35:graphics/wayland-protocols LIB_DEPENDS= libpng.so:graphics/png \ libwayland-server.so:graphics/wayland \ libwlroots-0.18.so:x11-toolkits/wlroots018 \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gnome meson pkgconfig xorg USE_GITHUB= yes USE_GITLAB= nodefault USE_GNOME= cairo libxml2 pango USE_XORG= pixman GL_TUPLE= https://gitlab.freedesktop.org:vyivel:libsfdo:v0.1.4:libsfdo/subprojects/libsfdo-basedir PLIST_FILES= bin/${PORTNAME} \ share/icons/hicolor/scalable/apps/${PORTNAME}-symbolic.svg \ share/icons/hicolor/scalable/apps/${PORTNAME}.svg \ share/wayland-sessions/${PORTNAME}.desktop \ share/xdg-desktop-portal/${PORTNAME}-portals.conf PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES LIBRSVG2 MANPAGES NLS X11 OPTIONS_DEFAULT=EXAMPLES LIBRSVG2 MANPAGES NLS X11 OPTIONS_EXCLUDE=${LIBRSVG2_DEFAULT:Mlegacy:C/.+/LIBRSVG2/} LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= svg MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \ share/man/man5/${PORTNAME}-actions.5.gz \ share/man/man5/${PORTNAME}-config.5.gz \ share/man/man5/${PORTNAME}-menu.5.gz \ share/man/man5/${PORTNAME}-theme.5.gz NLS_USES= gettext NLS_MESON_ENABLED= nls NLS_PLIST_FILES= share/locale/ar/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ca/LC_MESSAGES/${PORTNAME}.mo \ share/locale/cs/LC_MESSAGES/${PORTNAME}.mo \ share/locale/da/LC_MESSAGES/${PORTNAME}.mo \ share/locale/de/LC_MESSAGES/${PORTNAME}.mo \ share/locale/el/LC_MESSAGES/${PORTNAME}.mo \ share/locale/es/LC_MESSAGES/${PORTNAME}.mo \ share/locale/et/LC_MESSAGES/${PORTNAME}.mo \ share/locale/eu/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fa/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fi/LC_MESSAGES/${PORTNAME}.mo \ share/locale/fr/LC_MESSAGES/${PORTNAME}.mo \ share/locale/gl/LC_MESSAGES/${PORTNAME}.mo \ share/locale/hu/LC_MESSAGES/${PORTNAME}.mo \ share/locale/id/LC_MESSAGES/${PORTNAME}.mo \ share/locale/it/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ja/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ka/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ko/LC_MESSAGES/${PORTNAME}.mo \ share/locale/lt/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ms/LC_MESSAGES/${PORTNAME}.mo \ share/locale/nl/LC_MESSAGES/${PORTNAME}.mo \ share/locale/pa/LC_MESSAGES/${PORTNAME}.mo \ share/locale/pl/LC_MESSAGES/${PORTNAME}.mo \ share/locale/pt/LC_MESSAGES/${PORTNAME}.mo \ share/locale/pt_BR/LC_MESSAGES/${PORTNAME}.mo \ share/locale/ru/LC_MESSAGES/${PORTNAME}.mo \ share/locale/sv/LC_MESSAGES/${PORTNAME}.mo \ share/locale/tr/LC_MESSAGES/${PORTNAME}.mo \ share/locale/uk/LC_MESSAGES/${PORTNAME}.mo \ share/locale/zh_CN/LC_MESSAGES/${PORTNAME}.mo X11_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland post-patch: # Force system dependencies @${RM} ${WRKSRC}/subprojects/*.wrap # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build # Respect PREFIX for system-wide config and Openbox themes @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/docs/${PORTNAME}-config.5.scd \ ${WRKSRC}/src/common/dir.c # Respect hier(7) for examples @${REINPLACE_CMD} '/datadir/s/doc/examples/' \ ${WRKSRC}/docs/meson.build .ifdef GL_TUPLE post-configure: @${REINPLACE_CMD} 's/meson install/& \ --skip-subprojects/' ${BUILD_WRKSRC}/build.ninja .endif .include diff --git a/x11-wm/libcompizconfig/Makefile b/x11-wm/libcompizconfig/Makefile index 15daa1c45088..c04140bff23e 100644 --- a/x11-wm/libcompizconfig/Makefile +++ b/x11-wm/libcompizconfig/Makefile @@ -1,47 +1,47 @@ PORTNAME= libcompizconfig PORTVERSION= 0.8.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-wm MASTER_SITES= https://BSDforge.com/projects/source/x11-wm/libcompizconfig/ MAINTAINER= portmaster@BSDforge.com COMMENT= Alternative configuration system for Compiz LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= gettext gmake gnome libtool:keepla pathfix pkgconfig tar:bzip2 USE_GNOME= intltool libxml2 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpthread OPTIONS_DEFINE= INOTIFY OPTIONS_DEFAULT= INOTIFY INOTIFY_DESC?= Enable inotify support INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify INOTIFY_LDFLAGS= -linotify post-patch: @echo "OSVERSION=${OSVERSION}" @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \ ${WRKSRC}/src/main.c \ ${WRKSRC}/src/lists.c \ ${WRKSRC}/src/filewatch.c \ ${WRKSRC}/src/ini.c \ ${WRKSRC}/backend/ini.c post-patch-INOTIFY-off: @${REINPLACE_CMD} -e 's|sys/inotify.h||' ${WRKSRC}/configure post-install: .for l in compizconfig/backends/libini.so compiz/libccp.so libcompizconfig.so.0.0.0 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${l} .endfor .include diff --git a/x11-wm/lxappearance-obconf/Makefile b/x11-wm/lxappearance-obconf/Makefile index aba6df76cc31..d384bd97d9e1 100644 --- a/x11-wm/lxappearance-obconf/Makefile +++ b/x11-wm/lxappearance-obconf/Makefile @@ -1,30 +1,30 @@ PORTNAME= lxappearance-obconf PORTVERSION= 0.2.3 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11-wm MASTER_SITES= SF/lxde/LXAppearance%20Obconf/ MAINTAINER= ports@FreeBSD.org COMMENT= LXAppearance ObConf plugin WWW= https://www.lxde.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libImlib2.so:graphics/imlib2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 BUILD_DEPENDS= openbox:x11-wm/openbox \ lxappearance:x11-themes/lxappearance RUN_DEPENDS= ${BUILD_DEPENDS} USES= gettext-tools gmake gnome libtool pkgconfig tar:xz xorg GNU_CONFIGURE= yes USE_GNOME= glib20 gtk20 intltool intlhack atk cairo pango gdkpixbuf \ librsvg2 libxml2 USE_XORG= ice sm x11 xft INSTALL_TARGET= install-strip CONFIGURE_ARGS+= --disable-static .include diff --git a/x11-wm/obconf-qt/Makefile b/x11-wm/obconf-qt/Makefile index 0eadbbf1c114..03f8717a0fe1 100644 --- a/x11-wm/obconf-qt/Makefile +++ b/x11-wm/obconf-qt/Makefile @@ -1,31 +1,31 @@ PORTNAME= obconf-qt PORTVERSION= 0.16.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= LXQT/${PORTNAME} MAINTAINER= lxqt@FreeBSD.org COMMENT= Qt port of preferences manager for Openbox WWW= https://github.com/lxqt/obconf-qt LICENSE= GPLv2 LIB_DEPENDS= libobt.so:x11-wm/openbox \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libImlib2.so:graphics/imlib2 \ libharfbuzz.so:print/harfbuzz USES= cmake compiler:c++20-lang gettext-runtime localbase qt:6 \ gnome lxqt:2 perl5 pkgconfig tar:xz xorg USE_PERL5= build USE_QT= base:run tools:build USE_LXQT= buildtools2 USE_GNOME= glib20 pango librsvg2 gdkpixbuf libxml2 cairo USE_XORG= ice sm x11 xft .include diff --git a/x11-wm/obconf/Makefile b/x11-wm/obconf/Makefile index 04f1da506a69..83e9a1cd282b 100644 --- a/x11-wm/obconf/Makefile +++ b/x11-wm/obconf/Makefile @@ -1,42 +1,42 @@ PORTNAME= obconf PORTVERSION= 2.0.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-wm MASTER_SITES= http://openbox.org/dist/obconf/ MAINTAINER= novel@FreeBSD.org COMMENT= Preferences manager for the Openbox window manager WWW= http://openbox.org/wiki/Obconf LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \ libobrender.so:x11-wm/openbox USES= desktop-file-utils gnome pkgconfig shared-mime-info USE_GNOME= libglade2 GNU_CONFIGURE= yes CONFIGURE_ENV= OPENBOX_CFLAGS="`pkg-config --cflags obrender-3.5 obt-3.5`" \ OPENBOX_LIBS="`pkg-config --libs obrender-3.5 obt-3.5`" CONFIGURE_ARGS= --sysconfdir=${STAGEDIR}${PREFIX}/etc/openbox MAKE_ARGS= mkdir_p='${MKDIR}' CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= ABOUT-NLS AUTHORS README TODO OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/x11-wm/openbox/Makefile b/x11-wm/openbox/Makefile index 153c040d17f7..93f876b33437 100644 --- a/x11-wm/openbox/Makefile +++ b/x11-wm/openbox/Makefile @@ -1,63 +1,63 @@ PORTNAME= openbox PORTVERSION= 3.6 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= x11-wm MASTER_SITES= http://openbox.org/dist/openbox/ MAINTAINER= novel@FreeBSD.org COMMENT= Small, fast, standards compliant, extensible window manager WWW= http://openbox.org/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USES= gmake gnome libtool pathfix python:run pkgconfig shebangfix xorg USE_GNOME= cairo glib20 libxml2 pango USE_XORG= ice sm x11 xcursor xext xft xinerama xrandr \ xrender xau USE_LDCONFIG= yes INSTALL_TARGET= install-strip SHEBANG_FILES= data/autostart/openbox-xdg-autostart ETCDIR= ${PREFIX}/etc/xdg/${PORTNAME} CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lXext PLIST_SUB= VERSION=${PORTVERSION} OPTIONS_DEFINE= NLS IMLIB SVG NOTIFY PATCHES OPTIONS_DEFAULT= IMLIB NOTIFY SVG OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls NOTIFY_LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification NOTIFY_CONFIGURE_OFF= --disable-startup-notification IMLIB_CONFIGURE_ENABLE= imlib2 IMLIB_LIB_DEPENDS= libImlib2.so:graphics/imlib2 SVG_USE= GNOME=librsvg2 SVG_CONFIGURE_ENABLE= librsvg PATCHES_DESC= Enable 3rd party patches (such as rounded corners) PATCHES_EXTRA_PATCHES= ${PATCHDIR}/openbox-3.5.0-title-matching.patch:-p1 \ ${PATCHDIR}/openbox-3.5.0-which-2.20.patch:-p1 \ ${PATCHDIR}/openbox-3.6.2-fix-out-of-bounds.patch:-p1 \ ${PATCHDIR}/openbox-3.6.2-rounded-corners.patch:-p1 post-configure: @${CHMOD} +x ${WRKSRC}/install-sh post-install: .for config_file in autostart environment menu.xml rc.xml @${MV} ${STAGEDIR}${ETCDIR}/${config_file} \ ${STAGEDIR}${ETCDIR}/${config_file}.sample .endfor .include diff --git a/x11/apwal/Makefile b/x11/apwal/Makefile index f37bdafe5f47..a74d20c933ec 100644 --- a/x11/apwal/Makefile +++ b/x11/apwal/Makefile @@ -1,27 +1,27 @@ PORTNAME= apwal PORTVERSION= 0.4.5 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= x11 MASTER_SITES= http://apwal.free.fr/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple and powerful application launcher WWW= http://apwal.free.fr/ USE_GNOME= gtk20 libxml2 USES= gmake gnome pkgconfig WRKSRC= ${WRKDIR}/${PORTNAME}/src PLIST_FILES= bin/apwal bin/apwal-editor post-patch: @${CP} ${FILESDIR}/group_member.c ${WRKSRC} @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \ ${WRKSRC}/cereimg.c ${WRKSRC}/../example/apwalrc.xml do-install: ${INSTALL_PROGRAM} ${WRKSRC}/apwal ${STAGEDIR}${PREFIX}/bin ${LN} -sf apwal ${STAGEDIR}${PREFIX}/bin/apwal-editor .include diff --git a/x11/florence/Makefile b/x11/florence/Makefile index 0cf8024f64d7..79c42323dec3 100644 --- a/x11/florence/Makefile +++ b/x11/florence/Makefile @@ -1,56 +1,56 @@ PORTNAME= florence PORTVERSION= 0.6.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11 MASTER_SITES= SF/florence/florence/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Extensible scalable virtual keyboard WWW= https://florence.sourceforge.net/ LICENSE= GPLv2+ GFDL LICENSE_COMB= multi LIB_DEPENDS= libnotify.so:devel/libnotify USES= gmake gnome gstreamer iconv libtool pathfix pkgconfig tar:bzip2 xorg USE_GNOME= gtk30 cairo intlhack librsvg2 USE_LDCONFIG= yes USE_XORG= xtst xext GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static --without-docs GLIB_SCHEMAS= org.florence.gschema.xml INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes PORTDOCS= AUTHORS ChangeLog NEWS README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|^Categories=.*|Categories=Application;Accessibility;System;|' \ ${WRKSRC}/data/florence.desktop.in.in post-patch-NLS-off: @${REINPLACE_CMD} -e 's|^ALL_LINGUAS.*|ALL_LINGUAS =|' \ ${WRKSRC}/po/Makefile.in.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile index 32c95ec75abc..0701c5156549 100644 --- a/x11/gnome-applets/Makefile +++ b/x11/gnome-applets/Makefile @@ -1,55 +1,56 @@ PORTNAME= gnome-applets PORTVERSION= 3.56.0 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Small programs for the GNOME panel WWW= https://gitlab.gnome.org/GNOME/gnome-applets LICENSE= GPLv2 BUILD_DEPENDS= adwaita-icon-theme>=46.0:x11-themes/adwaita-icon-theme \ xorgproto>0:x11/xorgproto \ itstool>0:textproc/itstool LIB_DEPENDS= libgnome-panel.so:x11/gnome-panel \ libgtop-2.0.so:devel/libgtop \ libnotify.so:devel/libnotify \ libupower-glib.so:sysutils/upower \ libgweather-4.so:net/libgweather4 \ libgucharmap_2_90.so:deskutils/gucharmap \ libpcre2-8.so:devel/pcre2 \ libpolkit-gobject-1.so:sysutils/polkit RUN_DEPENDS= adwaita-icon-theme>=46.0:x11-themes/adwaita-icon-theme USES= gettext gmake gnome iconv libtool pkgconfig tar:xz xorg GNU_CONFIGURE= yes USE_GNOME= cairo gdkpixbuf glib20 gtk30 libwnck3 libxml2 pango USE_XORG= ice sm x11 INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-cpufreq \ --enable-frequency-selector=no OPTIONS_DEFINE= TRACKER OPTIONS_DEFAULT= TRACKER TRACKER_DESC= Install search applet TRACKER_LIB_DEPENDS= libtinysparql-3.0.so:devel/tinysparql TRACKER_CONFIGURE_ENABLE= tracker-search-bar GLIB_SCHEMAS= org.gnome.gnome-applets.battstat.gschema.xml \ org.gnome.gnome-applets.charpick.gschema.xml \ org.gnome.gnome-applets.command.gschema.xml \ org.gnome.gnome-applets.enums.xml \ org.gnome.gnome-applets.geyes.gschema.xml \ org.gnome.gnome-applets.gweather.gschema.xml \ org.gnome.gnome-applets.mini-commander.gschema.xml \ org.gnome.gnome-applets.stickynotes.gschema.xml \ org.gnome.gnome-applets.timer.gschema.xml \ org.gnome.gnome-applets.window-buttons.gschema.xml \ org.gnome.gnome-applets.window-picker-applet.gschema.xml \ org.gnome.gnome-applets.window-title.gschema.xml .include diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile index 0748dfd11724..dc6440ccb638 100644 --- a/x11/gnome-panel/Makefile +++ b/x11/gnome-panel/Makefile @@ -1,58 +1,59 @@ PORTNAME= gnome-panel PORTVERSION= 3.56.0 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Panel for the GNOME Flashback session WWW= https://gitlab.gnome.org/GNOME/gnome-panel LICENSE_COMB= multi LICENSE= GPLv2 LGPL21 BUILD_DEPENDS= gdm>0:x11/gdm \ itstool>0:textproc/itstool LIB_DEPENDS= libgweather-4.so:net/libgweather4 \ libgeocode-glib-2.so:net/geocode-glib2 \ libsoup-3.0.so:devel/libsoup3 \ libjson-glib-1.0.so:devel/json-glib \ libical.so:devel/libical \ libical-glib.so:devel/libical \ libicalss.so:devel/libical \ libicalvcal.so:devel/libical \ libconsolekit.so:sysutils/consolekit2 \ libpolkit-gobject-1.so:sysutils/polkit \ libgdm.so:x11/gdm USES= gettext gmake gnome libtool pathfix pkgconfig tar:xz xorg GNU_CONFIGURE= yes USE_GNOME= cairo dconf evolutiondataserver3 gdkpixbuf glib20 \ gnomedesktop3 gnomemenus3 gtk30 libwnck3 pango libxml2 USE_XORG= x11 xext xi xrandr CONFIGURE_ARGS= --disable-documentation \ --disable-gtk-doc-html \ --without-html-dir INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.gnome-panel.applet.clock.gschema.xml \ org.gnome.gnome-panel.applet.fish.gschema.xml \ org.gnome.gnome-panel.applet.initial-settings.gschema.xml \ org.gnome.gnome-panel.applet.window-list.gschema.xml \ org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml \ org.gnome.gnome-panel.applet.menu-button.gschema.xml \ org.gnome.gnome-panel.applet.launcher.gschema.xml \ org.gnome.gnome-panel.gschema.xml \ org.gnome.gnome-panel.enums.xml \ org.gnome.gnome-panel.object.gschema.xml \ org.gnome.gnome-panel.toplevel.gschema.xml post-extract: ${CP} ${FILESDIR}/gp-consolekit-manager-gen.* \ ${WRKSRC}/modules/menu/ ${CP} ${FILESDIR}/org.freedesktop.ConsoleKit.Manager.xml \ ${WRKSRC}/modules/menu/ .include diff --git a/x11/gnome-pie/Makefile b/x11/gnome-pie/Makefile index 111ccb7597d1..0130ad90dcf8 100644 --- a/x11/gnome-pie/Makefile +++ b/x11/gnome-pie/Makefile @@ -1,54 +1,54 @@ PORTNAME= gnome-pie PORTVERSION= 0.7.3 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 MAINTAINER= nivit@FreeBSD.org COMMENT= Circular application launcher WWW= https://schneegans.github.io/gnome-pie.html LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libbamf3.so:sysutils/bamf \ libgee-0.8.so:devel/libgee \ libharfbuzz.so:print/harfbuzz \ libunique-1.0.so:x11-toolkits/unique RUN_DEPENDS= gnome-settings-daemon>=2.32.1_4:sysutils/gnome-settings-daemon USES= cmake desktop-file-utils gnome libarchive pkgconfig \ vala:build xorg USE_GITHUB= yes GH_ACCOUNT= Simmesimme GH_PROJECT= Gnome-Pie USE_GNOME= cairo gnomemenus3 gtk30 librsvg2 libwnck3 libxml2 USE_XORG= x11 xtst SHEBANG_FILES= resources/locale/compile-po.sh REINPLACE_ARGS= -i '' PLIST_SUB= DESKTOPDIR=${DESKTOPDIR} OPTIONS_DEFINE= DOCS MANPAGES NLS OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes DOCS_CMAKE_BOOL= INSTALL_DOCS MANPAGES_CMAKE_BOOL= INSTALL_MANPAGES NLS_BUILD_DEPENDS= bash:shells/bash NLS_USES= gettext shebangfix NLS_CMAKE_BOOL= INSTALL_NLS post-patch: ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},1' \ -e 's,%%DESKTOPDIR%%,${DESKTOPDIR},1' \ -e 's,%%PREFIX%%,${PREFIX},1' \ ${WRKSRC}/src/actions/actionRegistry.vala \ ${WRKSRC}/src/gui/indicator.vala \ ${WRKSRC}/src/utilities/paths.vala post-build-NLS-on: (cd ${WRKSRC}/resources/locale && ./compile-po.sh) .include diff --git a/x11/jgmenu/Makefile b/x11/jgmenu/Makefile index 99e4dc7b4c9d..5f070b4a86fc 100644 --- a/x11/jgmenu/Makefile +++ b/x11/jgmenu/Makefile @@ -1,63 +1,64 @@ PORTNAME= jgmenu DISTVERSIONPREFIX= v DISTVERSION= 4.4.1 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= lcook@FreeBSD.org COMMENT= Simple X11 menu WWW= https://jgmenu.github.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png USES= compiler:c11 gmake gnome pkgconfig python shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= johanmalm USE_GNOME= cairo gdkpixbuf glib20 librsvg2 libxml2 pango USE_XORG= x11 xrandr SHEBANG_FILES= contrib/gtktheme/*.py contrib/pmenu/*.py src/*.py HAS_CONFIGURE= yes CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec \ --prefix=${PREFIX} PORTDOCS= ${_DOCS:T} OPTIONS_DEFINE= DOCS LX PMENU OPTIONS_DEFAULT= LX PMENU OPTIONS_SUB= yes LX_DESC= Generate menu data for freedesktop defined application menus PMENU_DESC= Generate menu data based on desktop and directory files LX_LIB_DEPENDS+= libmenu-cache.so:x11/menu-cache LX_CONFIGURE_ON= --with-lx PMENU_CONFIGURE_ON= --with-pmenu _LIBEXEC= greeneye apps socket i18n obtheme config ob _DOCS= AUTHORS.md CONTRIBUTING.md INSTALL.md NEWS.md README.md TODO.md \ docs/coding_style docs/default.csv docs/notes_on_icons \ docs/relnotes/${DISTVERSION}.txt .include .if ${PORT_OPTIONS:MLX} _LIBEXEC+= lx .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .for f in ${_LIBEXEC} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/${PORTNAME}-${f} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} ${_DOCS} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/keyboardcast/Makefile b/x11/keyboardcast/Makefile index 0b36fc5687fe..4da1f6077d30 100644 --- a/x11/keyboardcast/Makefile +++ b/x11/keyboardcast/Makefile @@ -1,23 +1,23 @@ PORTNAME= keyboardcast PORTVERSION= 0.1.1 DISTVERSIONPREFIX= v -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11 MAINTAINER= eimar.koort@gmail.com COMMENT= Broadcast keystrokes to multiple X windows for Gnome2 WWW= https://launchpad.net/keyboardcast LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libwnck-1.so:x11-toolkits/libwnck USE_GITHUB= yes GH_ACCOUNT= ekoort USES= gnome pkgconfig xorg USE_XORG= xmu x11 USE_GNOME= libglade2 gtk20 .include diff --git a/x11/libxkbcommon/Makefile b/x11/libxkbcommon/Makefile index 324bdda2c4b9..5e9d87888c88 100644 --- a/x11/libxkbcommon/Makefile +++ b/x11/libxkbcommon/Makefile @@ -1,51 +1,51 @@ PORTNAME= libxkbcommon DISTVERSION= 1.8.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 PATCH_SITES= https://github.com/xkbcommon/libxkbcommon/commit/ PATCHFILES= d7e112febb7ab756563da6eced0a650396be5945.patch:-p1 MAINTAINER= x11@FreeBSD.org COMMENT= Keymap handling library for toolkits and window systems WWW= https://xkbcommon.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= xkeyboard-config>0:x11/xkeyboard-config USES= bison compiler:c11 cpe gnome meson pkgconfig python:test \ shebangfix CPE_VENDOR= xkbcommon SHEBANG_FILES= test/xkeyboard-config-test.py.in \ test/*.py USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= xkbcommon GH_TAGNAME= ${GH_ACCOUNT}-${DISTVERSION} HAS_SYMBOL_VERSION= ${PREFIX}/lib/libxkbregistry.so.0.8.1 MESON_ARGS= -Denable-docs=false \ -Dx-locale-root="${PREFIX}/lib/X11/locale" OPTIONS_DEFINE= EVDEV WAYLAND X11 OPTIONS_DEFAULT=EVDEV WAYLAND X11 OPTIONS_SUB= yes EVDEV_DESC= Interactive debugger for XKB keymaps for evdev EVDEV_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto EVDEV_USES= localbase WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_MESON_TRUE= enable-wayland X11_USES= xorg X11_USE= XORG=xcb X11_MESON_TRUE= enable-x11 .include diff --git a/x11/libxklavier/Makefile b/x11/libxklavier/Makefile index f9c4936e9aeb..7a37474d5e78 100644 --- a/x11/libxklavier/Makefile +++ b/x11/libxklavier/Makefile @@ -1,33 +1,33 @@ PORTNAME= libxklavier PORTVERSION= 5.3 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Utility library to make XKB stuff easier WWW= https://gswitchit.sourceforge.net/ BUILD_DEPENDS= iso-codes>=0:misc/iso-codes RUN_DEPENDS= xkbcomp:x11/xkbcomp \ iso-codes>=0:misc/iso-codes USES= gmake gnome libtool pathfix pkgconfig tar:xz xorg USE_XORG= x11 xkbfile USE_GNOME= libxml2 glib20 introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --with-xkb-base=${LOCALBASE}/share/X11/xkb \ --with-xkb-bin-base=${LOCALBASE}/bin \ --with-xmodmap-base=${LOCALBASE}/share/xmodmap \ --disable-gtk-doc \ --with-html-dir=${GNOME_HTML_DIR} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip PLIST_SUB= VERSION=${PORTVERSION} .include diff --git a/x11/lxpanel/Makefile b/x11/lxpanel/Makefile index 2efc7e7e2ae2..58c82ac07bb9 100644 --- a/x11/lxpanel/Makefile +++ b/x11/lxpanel/Makefile @@ -1,57 +1,57 @@ PORTNAME= lxpanel PORTVERSION= 0.9.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11 MASTER_SITES= SF/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20${PORTVERSION:R}.x/ MAINTAINER= danfe@FreeBSD.org COMMENT= Lightweight X11 desktop panel WWW= https://github.com/lxde/lxpanel LICENSE= GPLv2+ MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmenu-cache.so:x11/menu-cache \ libkeybinder.so:x11/keybinder \ libfm-gtk.so:x11/libfm@gtk2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwnck-1.so:x11-toolkits/libwnck RUN_DEPENDS= ${LOCALBASE}/etc/xdg/menus/lxde-applications.menu:x11/lxmenu-data USES= gmake gnome libtool localbase pathfix pkgconfig tar:xz xorg USE_GNOME= glib20 gtk20 cairo gdkpixbuf gdkpixbuf2xlib intltool USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \ --with-plugins="${LXPANEL_PLUGINS}" INSTALL_TARGET= install-strip # Panel plugins LXPANEL_PLUGINS= "-netstat,-netstatus,deskno,-batt,kbled,xkb,-thermal,cpu,cpufreq,monitors,-indicator" OPTIONS_SINGLE= SOUND OPTIONS_SINGLE_SOUND= ALSA OSS OPTIONS_DEFINE= NLS WEATHER OPTIONS_DEFAULT= OSS WEATHER OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa ALSA_VARS= lxpanel_plugins+=",-volume,volumealsa" OSS_VARS= lxpanel_plugins+=",volume,-volumealsa" NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext NLS_USES_OFF= gettext-tools WEATHER_USE= gnome=libxml2 WEATHER_VARS= lxpanel_plugins+=",weather" WEATHER_VARS_OFF= lxpanel_plugins+=",-weather" WEATHER_DESC= Weather plugin post-patch-NLS-off: @${REINPLACE_CMD} -e 's|po man|man|' \ ${WRKSRC}/Makefile.in .include diff --git a/x11/mate-applets/Makefile b/x11/mate-applets/Makefile index b47916d84fcf..211a7780d16c 100644 --- a/x11/mate-applets/Makefile +++ b/x11/mate-applets/Makefile @@ -1,75 +1,75 @@ PORTNAME= mate-applets PORTVERSION= 1.28.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Applets components for the MATE Desktop Environment WWW= https://mate-desktop.org/ LICENSE= GPLv2 GFDL LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_GFDL= ${WRKSRC}/COPYING-DOCS BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libgtop-2.0.so:devel/libgtop \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libupower-glib.so:sysutils/upower \ libgucharmap_2_90.so:deskutils/gucharmap \ libnotify.so:devel/libnotify PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gmake gnome libtool localbase mate \ pkgconfig tar:xz xorg USE_CSTD= c11 USE_MATE= libmateweather panel USE_XORG= ice sm x11 USE_GNOME= cairo gtk30 gtksourceview4 intltool libwnck3 libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= OS_SYS="/usr/include" CONFIGURE_ARGS= --without-nl INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.drivemount.gschema.xml \ org.mate.panel.applet.charpick.gschema.xml \ org.mate.panel.applet.command.gschema.xml \ org.mate.panel.applet.geyes.gschema.xml \ org.mate.panel.applet.multiload.gschema.xml \ org.mate.panel.applet.netspeed.gschema.xml \ org.mate.panel.applet.timer.gschema.xml \ org.mate.stickynotes.gschema.xml MAKE_JOBS_UNSAFE= yes .include .if ${ARCH} != "i386" && ${ARCH} != "amd64" CONFIGURE_ARGS+=--disable-battstat CFLAGS+= -fPIC PLIST_SUB+= BATTERY="@comment " .else #CONFIGURE_ARGS+=--enable-battstat GLIB_SCHEMAS+= org.mate.panel.applet.battstat.gschema.xml PLIST_SUB+= BATTERY="" .endif # requires linux libcpufreq library # .if ${ARCH} != "i386" && ${ARCH} != "amd64" CONFIGURE_ARGS+=--disable-cpufreq PLIST_SUB+= CPUFREQ="@comment " # .else # CONFIGURE_ARGS+=--enable-cpufreq # PLIST_SUB+= CPUFREQ="" # GLIB_SCHEMAS+= org.mate.panel.applet.cpufreq.gschema.xml # .endif .include diff --git a/x11/pipeglade/Makefile b/x11/pipeglade/Makefile index a67d36c1aef3..73f6b2cf1fc8 100644 --- a/x11/pipeglade/Makefile +++ b/x11/pipeglade/Makefile @@ -1,34 +1,34 @@ PORTNAME= pipeglade PORTVERSION= 4.7.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11 devel MAINTAINER= trebbu@googlemail.com COMMENT= Graphical user interface driven by pipes or fifos WWW= http://pipeglade.boundp.org LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= trebb USES= gettext-runtime gnome pkgconfig USE_GNOME= cairo gdkpixbuf glib20 gtk30 libxml2 OPTIONS_DEFINE= EXAMPLES OPTIONS_SUB= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/ post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/clock.sh ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/echo.sh ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/clock.ui ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/pipeglade.ui ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/simple_dialog.ui ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/simple_open.ui ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/x11/swaysettings/Makefile b/x11/swaysettings/Makefile index 981d5ce2b607..8ade08fd89b8 100644 --- a/x11/swaysettings/Makefile +++ b/x11/swaysettings/Makefile @@ -1,49 +1,50 @@ PORTNAME= swaysettings DISTVERSIONPREFIX= v DISTVERSION= 0.5.0 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org COMMENT= GUI for setting Sway wallpaper, default apps, GTK themes, etc. WWW= https://github.com/ErikReider/SwaySettings LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= blueprint-compiler:devel/blueprint-compiler LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libjson-glib-1.0.so:devel/json-glib \ libgee-0.8.so:devel/libgee \ libgtop-2.0.so:devel/libgtop \ libaccountsservice.so:sysutils/accountsservice \ libudisks2.so:sysutils/libudisks \ libgtk4-layer-shell.so:x11-toolkits/gtk4-layer-shell USES= compiler:c11 gettext gnome meson pkgconfig \ python:build shebangfix vala:build USE_GITHUB= yes USE_GNOME= gdkpixbuf gtk40 libadwaita libxml2 GH_ACCOUNT= ErikReider GH_PROJECT= SwaySettings SHEBANG_FILES= build-aux/meson/postinstall.py GLIB_SCHEMAS= org.erikreider.swaysettings.gschema.xml post-patch: # Respect PREFIX for images and XKB layouts @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/Settings/Page/InputPage.vala \ ${WRKSRC}/src/Settings/Pages/Background/BackgroundPage.vala \ ${WRKSRC}/src/Settings/Pages/Users/Users.vala # Drop unused dependency @${REINPLACE_CMD} -e 's/granite-7/gio-unix-2.0/' \ ${WRKSRC}/src/meson.build # Disable Linux-only bluez and rfkill @${REINPLACE_CMD} -e '/Bluetooth/d; /Rfkill/d' \ ${WRKSRC}/src/Settings/meson.build \ ${WRKSRC}/src/Settings/Pages/meson.build \ ${WRKSRC}/data/swaysettings.gresource.xml @${REINPLACE_CMD} -e '/bluetooth-symbolic/d' \ -e 's/new BluetoothPage.*/null;/' \ ${WRKSRC}/src/Settings/Window/Window.vala .include diff --git a/x11/wbar/Makefile b/x11/wbar/Makefile index 09c4a97ad27d..39b16483cf34 100644 --- a/x11/wbar/Makefile +++ b/x11/wbar/Makefile @@ -1,40 +1,40 @@ PORTNAME= wbar PORTVERSION= 2.3.4 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= x11 MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PORTNAME}/ MAINTAINER= nivit@FreeBSD.org COMMENT= Simple and highly customizable quick launch bar WWW= https://code.google.com/archive/p/wbar/ LICENSE= GPLv3 BUILD_DEPENDS= intltool-update:textproc/intltool LIB_DEPENDS= libImlib2.so:graphics/imlib2 USES= compiler:c++11-lang gettext gmake gnome pkgconfig tar:tgz GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --exec-prefix=${PREFIX} LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,} OPTIONS_DEFINE= NLS WBARCONFIG OPTIONS_DEFAULT= WBARCONFIG OPTIONS_SUB= yes WBARCONFIG_DESC= Build the GTK configuration interface NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -lintl WBARCONFIG_USE= GNOME=libglade2 WBARCONFIG_CONFIGURE_ENABLE= wbar-config post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/wbar.d/wbar.desktop ${STAGEDIR}${DESKTOPDIR}/wbar.desktop .include diff --git a/x11/wcm/Makefile b/x11/wcm/Makefile index 4077d80c1c63..5c9a05933b71 100644 --- a/x11/wcm/Makefile +++ b/x11/wcm/Makefile @@ -1,41 +1,42 @@ PORTNAME= wcm DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayfire Config Manager WWW= https://wayfire.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols \ wayfire>0:x11-wm/wayfire LIB_DEPENDS= libevdev.so:devel/libevdev \ libwf-config.so:devel/wf-config \ libwayland-client.so:graphics/wayland RUN_DEPENDS= wayfire>0:x11-wm/wayfire CONFLICTS_INSTALL= wcmcommander # bin/wcm USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= gdkpixbuf gtk30 libxml2 GH_ACCOUNT= WayfireWM MESON_ARGS= -Denable_wdisplays=false # use package DATADIR= ${PREFIX}/share/wayfire OPTIONS_DEFINE= WDISPLAYS WFSHELL OPTIONS_DEFAULT=WDISPLAYS WFSHELL OPTIONS_SUB= yes WDISPLAYS_DESC= Configure outputs via wdisplays WDISPLAYS_RUN_DEPENDS= wdisplays>0:x11/wdisplays WFSHELL_DESC= Build with wf-shell support WFSHELL_BUILD_DEPENDS= wf-shell>0:x11/wf-shell WFSHELL_MESON_ENABLED= wf_shell .include diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile index 55a9538c8a06..07f7fc17cc02 100644 --- a/x11/xscreensaver/Makefile +++ b/x11/xscreensaver/Makefile @@ -1,105 +1,106 @@ PORTNAME= xscreensaver DISTVERSION= 6.09 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://www.jwz.org/xscreensaver/ MAINTAINER= zirias@FreeBSD.org COMMENT= Save your screen while you entertain your cat WWW= https://www.jwz.org/xscreensaver/ LICENSE= MIT LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgle.so:graphics/gle \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= giftopnm:graphics/netpbm \ p5-libwww>0:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \ unix-selfauth-helper>0:security/unix-selfauth-helper USES= cpe gettext gl gmake gnome jpeg localbase:ldflags perl5 \ pkgconfig shebangfix xorg CPE_VENDOR= xscreensaver_project USE_GL= gl glu USE_GNOME= cairo gdkpixbuf gtk30 intltool libxml2 USE_XORG= ice sm x11 xext xft xi xinerama xmu xrandr xrender xt xxf86vm SHEBANG_FILES= hacks/check-configs.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --enable-locking \ --with-app-defaults=${PREFIX}/lib/X11/app-defaults \ --with-configdir=${PREFIX}/share/xscreensaver/config/ \ --with-dpms-ext \ --with-gl \ --with-gle \ --with-gtk \ --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \ --with-jpeg=${LOCALBASE} \ --with-pam \ --with-pixbuf \ --with-randr-ext \ --with-xdbe-ext \ --with-xf86gamma-ext \ --with-xf86vmode-ext \ --with-xft \ --with-xinerama-ext \ --with-xshm-ext \ --without-kerberos \ --without-shadow CONFIGURE_ENV= PERL="${PERL}" MAKE_ARGS= install_prefix=${STAGEDIR} SUB_FILES= xscreensaver-blank.desktop xscreensaver-lock.desktop \ xscreensaver-start.desktop xscreensaver-stop.desktop OPTIONS_DEFINE= FIREF NLS NSFW SETUID_HACKS XAOS1 XDALI XEARTH XMOUN XPLANET \ XSNOW OPTIONS_SUB= yes FIREF_DESC= Add extra port x11/fireflies NSFW_DESC= Include material that is Not Safe For Work SETUID_HACKS_DESC= Install sonar hack suid so it can ping XAOS1_DESC= Add extra port graphics/xaos XDALI_DESC= Add extra port x11-clocks/xdaliclock XEARTH_DESC= Add extra port astro/xearth XMOUN_DESC= Add extra port graphics/xmountains XPLANET_DESC= Add extra port astro/xplanet XSNOW_DESC= Add extra port x11/xsnow FIREF_RUN_DEPENDS= ${FIREF_HACKBIN}:x11/fireflies NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls SETUID_HACKS_CONFIGURE_WITH= setuid-hacks XAOS1_RUN_DEPENDS= xaos:graphics/xaos XDALI_RUN_DEPENDS= xdaliclock:x11-clocks/xdaliclock XEARTH_RUN_DEPENDS= xearth:astro/xearth XMOUN_RUN_DEPENDS= xmountains:graphics/xmountains XPLANET_RUN_DEPENDS= xplanet:astro/xplanet XSNOW_RUN_DEPENDS= xsnow:x11/xsnow FIREF_HACKBIN= ${LOCALBASE}/bin/xscreensaver-hacks/fireflies post-patch: ${REINPLACE_CMD} -e "s|/etc/pam.d|${PREFIX}/etc/pam.d|g" \ ${WRKSRC}/driver/passwd-pam.c \ ${WRKSRC}/driver/xscreensaver.man post-patch-NSFW-off: ${REINPLACE_CMD} -e 's|Dick Pix|Stuff|' ${WRKSRC}/hacks/bsod.c ${REINPLACE_CMD} -e 's|dick pics|data, etc.|' ${WRKSRC}/hacks/bsod.c pre-configure-NLS-on: cd ${WRKSRC} && ${LOCALBASE}/bin/intltoolize -f -c post-install: ${INSTALL_DATA} ${FILESDIR}/x*.xml ${STAGEDIR}${DATADIR}/config/ ${INSTALL_DATA} ${WRKDIR}/*.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver ${LN} -s ${LOCALBASE}/etc/pam.d/unix-selfauth \ ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver .include diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile index 7947afe0ab20..38327c22a4bf 100644 --- a/x11/yelp/Makefile +++ b/x11/yelp/Makefile @@ -1,41 +1,42 @@ PORTNAME= yelp DISTVERSION= 42.3 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Help browser for the GNOME desktop WWW= https://gitlab.gnome.org/GNOME/yelp LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool \ yelp-xsl>=0:textproc/yelp-xsl \ bash:shells/bash LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libhandy-1.so:x11-toolkits/libhandy \ libharfbuzz.so:print/harfbuzz \ libsoup-3.0.so:devel/libsoup3 \ libwebkit2gtk-4.1.so:www/webkit2-gtk@41 RUN_DEPENDS= yelp-xsl>=0:textproc/yelp-xsl USES= compiler:c11 desktop-file-utils gettext gnome meson \ pkgconfig shebangfix sqlite tar:xz xorg USE_GNOME= cairo gdkpixbuf gtk30 libxml2 libxslt USE_XORG= ice x11 SHEBANG_FILES= data/domains/gen_yelp_xml.sh \ src/link-gnome-help.sh GLIB_SCHEMAS= org.gnome.yelp.gschema.xml USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e 's|%%LIBEXECDIR%%|${PREFIX}/libexec|g' \ ${WRKSRC}/libyelp/yelp-man-parser.c post-install: ${INSTALL_SCRIPT} ${FILESDIR}/yelp-groff ${STAGEDIR}${PREFIX}/libexec .include