diff --git a/accessibility/caribou/Makefile b/accessibility/caribou/Makefile index 1cb48e0c6c18..df45e65ff4db 100644 --- a/accessibility/caribou/Makefile +++ b/accessibility/caribou/Makefile @@ -1,40 +1,40 @@ # Created by: Koop Mast PORTNAME= caribou PORTVERSION= 0.4.21 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= accessibility gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome On-Screen keyboard LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING 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= gettext gl gmake gnome libtool localbase pathfix \ pkgconfig python:3.3+ shebangfix tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk30 intlhack introspection:build libxml2 \ libxslt:build pygobject3 USE_PYTHON= py3kplist SHEBANG_FILES= tools/fix_gir.py tools/make_schema.py USE_GL= egl USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr xtst GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --enable-gtk2-module=no GLIB_SCHEMAS= org.gnome.caribou.gschema.xml \ org.gnome.antler.gschema.xml .include diff --git a/accessibility/gammy/Makefile b/accessibility/gammy/Makefile index e9687f04bb7e..18af99564c27 100644 --- a/accessibility/gammy/Makefile +++ b/accessibility/gammy/Makefile @@ -1,23 +1,24 @@ PORTNAME= gammy DISTVERSIONPREFIX= v DISTVERSION= 0.9.64 +PORTREVISION= 1 CATEGORIES= accessibility MAINTAINER= me@igalic.co COMMENT= Adaptive screen brightness and temperature for Windows and Unix LICENSE= GPLv3 USES= compiler:c++11-lang gl qmake qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= Fushko USE_GL= gl USE_QT= core dbus gui widgets \ buildtools_build qmake_build USE_XORG= x11 xext xxf86vm PLIST_FILES= bin/gammy \ share/applications/gammy.desktop \ share/pixmaps/gammy.png .include diff --git a/accessibility/qt5-speech/Makefile b/accessibility/qt5-speech/Makefile index b451bb6a9a75..f78c49fdea3a 100644 --- a/accessibility/qt5-speech/Makefile +++ b/accessibility/qt5-speech/Makefile @@ -1,39 +1,39 @@ PORTNAME= speech DISTVERSION= ${QT5_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= accessibility PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Accessibilty features for Qt5 USES= compiler:c++11-lang gl pkgconfig qmake:outsource,norecursive \ qt-dist:5,speech xorg USE_GL= gl USE_QT= core gui buildtools_build qmake_build OPTIONS_DEFINE= ALSA OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= SPEECHD FLITE OPTIONS_DEFAULT= SPEECHD OPTIONS_SUB= yes SPEECHD_DESC= Speech Dispatcher Backend SPEECHD_USES= gettext-runtime gnome SPEECHD_USE= GNOME=glib20 SPEECHD_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher SPEECHD_VARS= QMAKE_CONFIGURE_ARGS+=--feature-speechd SPEECHD_VARS_OFF= QMAKE_CONFIGURE_ARGS+=--no-feature-speechd FLITE_DESC= Festival Lite Backend FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_USE= QT=multimedia,network FLITE_VARS= QMAKE_CONFIGURE_ARGS+=--feature-flite FLITE_VARS_OFF= QMAKE_CONFIGURE_ARGS+=--no-feature-flite --no-feature-flite_alsa ALSA_IMPLIES= FLITE ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_VARS= QMAKE_CONFIGURE_ARGS+=--feature-flite_alsa ALSA_VARS_OFF= QMAKE_CONFIGURE_ARGS+=--no-feature-flite_alsa .include diff --git a/astro/celestia/Makefile b/astro/celestia/Makefile index 5314974973b1..e62cec3d3c48 100644 --- a/astro/celestia/Makefile +++ b/astro/celestia/Makefile @@ -1,100 +1,100 @@ # Created by: trevor PORTNAME= celestia PORTVERSION= 1.6.1 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= astro MASTER_SITES= SF/${PORTNAME}/Celestia-source/${PORTVERSION} PKGNAMESUFFIX= -${CELESTIA_UI} MAINTAINER= danfe@FreeBSD.org COMMENT= Scriptable space flight simulator for X11 LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png USES= compiler:c++11-lang gettext gl gmake jpeg libtool lua:52 pkgconfig USE_GL= gl GNU_CONFIGURE= yes EXTRA_PATCHES= ${FILESDIR}/celestia-1.6.1-lua-5.2.patch:-p1 \ ${FILESDIR}/celestia-lua-52-fix.patch:-p1 \ ${FILESDIR}/celestia-1.6.1-gcc47.patch:-p1 \ ${FILESDIR}/celestia-1.6.1-gcc48.patch:-p1 CXXFLAGS+= -fsigned-char # fix text rendering (see Gentoo bug 316573) CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -pthread UI_LIST= glut gtk gnome CELESTIA_UI?= glut CONFLICTS= ${UI_LIST:S|${CELESTIA_UI}||:S|^|celestia-|:S|$|-[0-9]*|} # Celestia provides different UI frontends; you should pick one that suits # you best by setting CELESTIA_UI variable. Possible values are: # # glut Bare-boned minimal GLUT-based core with no toolbar or menu (this is # the default one); # gtk Full interface with minimal dependencies: adds menu, configuration # dialog, some other utilities; # .if ${CELESTIA_UI} == "glut" CONFIGURE_ARGS+= --with-glut USE_GL+= glut LDFLAGS+= -lGL .elif ${CELESTIA_UI} == "gtk" CONFIGURE_ARGS+= --with-gtk USES+= gnome USE_GNOME+= gtk20 PLIST_FILES= share/applications/celestia.desktop .else IGNORE= requires one of the <${UI_LIST}> values for CELESTIA_UI .endif .if ${CELESTIA_UI} == "gtk" USES+= pathfix LIB_DEPENDS+= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libtheora.so:multimedia/libtheora STARTUP_NOTIFY= true PLIST_FILES+= share/celestia/celestia-logo.png share/celestia/celestiaui.xml .else STARTUP_NOTIFY= false .endif PORTDOCS= AUTHORS ChangeLog README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -E '/fav(->|\.)fov/s|NULL|0.0|' \ ${WRKSRC}/src/celestia/celestiacore.cpp \ ${WRKSRC}/src/celestia/favorites.cpp @${REINPLACE_CMD} -e '280s,NULL,false,' \ ${WRKSRC}/src/celengine/parseobject.cpp # Fix Lua discovery pkg-config(1) calls @${REINPLACE_CMD} -E 's|lua5\.?|lua-5.|' ${WRKSRC}/configure # Remove controversial compiler options (respect our C[XX]FLAGS) .for o in O2 ffast-math fexpensive-optimizations fomit-frame-pointer @${REINPLACE_CMD} -e 's|-${o}||g' ${WRKSRC}/configure .endfor # Allow add-ons to be placed inside user's home directory @${REINPLACE_CMD} -e '/^#/!s|"extras"|& "~/.celestia"|' \ ${WRKSRC}/celestia.cfg # Inhibit installation of copies of GPL (lots of them; use LICENSE framework # instead) and remove bogus argument from mv(1) @${REINPLACE_CMD} -e 's|COPYING||g ; s| -b|| ' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|=.*COPYING_\*)|=| ; \ /KDE_DIST/s|COPYING_[^ ]* ||g' ${WRKSRC}/locale/Makefile.in @${REINPLACE_CMD} -e 's|kde_libs_htmldir|kde_htmldir|' \ ${WRKSRC}/src/celestia/kde/doc/celestia/Makefile.in post-install: # Technically, we should only install icon explicitly for GLUT UI, since # correct icons are properly installed for other cases, but doing it here # does not hurt and simplifies PLIST handling ${INSTALL_DATA} ${WRKSRC}/src/celestia/gtk/data/celestia.png \ ${STAGEDIR}${PREFIX}/share/pixmaps @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/astro/nightfall/Makefile b/astro/nightfall/Makefile index 0b295168773e..9c9b362b7842 100644 --- a/astro/nightfall/Makefile +++ b/astro/nightfall/Makefile @@ -1,55 +1,55 @@ # Created by: Christian Brueffer PORTNAME= nightfall PORTVERSION= 1.92 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= astro education MASTER_SITES= http://www.la-samhna.de/nightfall/ MAINTAINER= ports@FreeBSD.org COMMENT= Interactive binary star application LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= compiler gettext gmake gnome jpeg pathfix perl5 pkgconfig USE_GNOME= cairo gdkpixbuf2 gtk20 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-locale-prefix=${PREFIX}/share/locale \ --disable-gnome OPTIONS_DEFINE= PGPLOT OPENGL OPTIONS_DEFAULT= PGPLOT OPENGL OPTIONS_SUB= yes OPENGL_CONFIGURE_ON= --with-lib-GL OPENGL_CONFIGURE_OFF= --disable-opengl OPENGL_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 OPENGL_USES= gl OPENGL_USE= GL=glut,gl,glu PGPLOT_DESC= PGPLOT support PGPLOT_CONFIGURE_ON= --with-pgplot-include=${LOCALBASE}/include \ --with-pgplot-lib=${LOCALBASE}/lib PGPLOT_CONFIGURE_OFF= --with-gnuplot PGPLOT_LIB_DEPENDS= libpgplot.so:graphics/pgplot PGPLOT_RUN_DEPENDS_OFF= gnuplot:math/gnuplot PGPLOT_USES= fortran .include post-patch: .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|-fforce-addr||' ${WRKSRC}/configure .endif @${REINPLACE_CMD} -e 's|CFLAGS -O3|CFLAGS|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|^Icon=gnome|Icon=${DATADIR}/pixmaps|g' \ ${WRKSRC}/nightfall.desktop post-install: ${INSTALL_DATA} ${WRKSRC}/nightfall.desktop \ ${STAGEDIR}${PREFIX}/share/applications .include diff --git a/astro/opencpn/Makefile b/astro/opencpn/Makefile index a9af372af96c..1e469e1f9e49 100644 --- a/astro/opencpn/Makefile +++ b/astro/opencpn/Makefile @@ -1,67 +1,67 @@ PORTNAME= opencpn PORTVERSION= 5.2.4 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONPREFIX= v CATEGORIES= astro geography MAINTAINER= ml@netfence.it COMMENT= Concise ChartPlotter/Navigator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING.gplv2 LIB_DEPENDS= libportaudio.so:audio/portaudio \ libcurl.so:ftp/curl \ libexif.so:graphics/libexif \ libexpat.so:textproc/expat2 \ libsndfile.so:audio/libsndfile \ libtinyxml.so:textproc/tinyxml \ liblz4.so:archivers/liblz4 USES= cmake compiler:c++11-lang gettext-tools gl gnome libarchive \ localbase pkgconfig sqlite xorg USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= ${GH_PROJECT} GH_PROJECT= OpenCPN USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 gtk30 pango INSTALLS_ICONS= yes USE_LDCONFIG= ${PREFIX}/lib/opencpn USE_WX= 3.0+ WX_CONF_ARGS= absolute WX_PREMK= yes USE_XORG= ice sm x11 xext CMAKE_ARGS= -DOCPN_BUNDLE_GSHHS=CRUDE CMAKE_ON= OCPN_BUNDLE_TCDATA OCPN_FORCE_GTK3 # OCPN_USE_CRASHREPORT CMAKE_OFF= OCPN_USE_NEWSERIAL OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_ON= -DOCPN_BUNDLE_DOCS:STRING="ON" DOCS_CMAKE_OFF= -DOCPN_BUNDLE_DOCS:STRING="OFF" .include .if ${ARCH:Mpowerpc64*} CMAKE_ARGS+= -DHAVE_MSSE=OFF -DHAVE_MSSE2=OFF -DHAVE_MSSE3=OFF -DHAVE_MAVX2=OFF -DHAVE_MFPU_NEON=OFF .endif .include post-patch: @${REINPLACE_CMD} \ -e 's,wx-config,${WX_CONFIG},' \ -e 's,$${PREFIX_PKGDATA}/doc,${DOCSDIR},g' \ ${WRKSRC}/CMakeLists.txt .if ${ARCH} != amd64 && ${ARCH} != i386 @${REINPLACE_CMD} -e '/-msse/d' -e '/-mssse3/d' \ -e '/-mavx2/d' ${WRKSRC}/CMakeLists.txt .endif post-install-DOCS-on: ${CP} -R ${WRKSRC}/Docs/OSENC ${STAGEDIR}${DOCSDIR}/OSENC.docx .include diff --git a/astro/openuniverse/Makefile b/astro/openuniverse/Makefile index 88209ec27dff..625f7095acc2 100644 --- a/astro/openuniverse/Makefile +++ b/astro/openuniverse/Makefile @@ -1,24 +1,24 @@ # Created by: Andrey Zakhvatov PORTNAME= openuniverse DISTVERSION= 1.0beta3 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= astro MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0beta3 MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL Solar System simulator for X Window System USES= gl gmake jpeg xorg USE_GL= glut USE_XORG= sm ice xmu xi xext x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \ --libdir="${LOCALBASE}/lib" \ CPPFLAGS+= -I${LOCALBASE}/include/GL -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lm -lcompat .include diff --git a/astro/qmapshack/Makefile b/astro/qmapshack/Makefile index d73e2e89fdab..7c596ba5f425 100644 --- a/astro/qmapshack/Makefile +++ b/astro/qmapshack/Makefile @@ -1,37 +1,38 @@ # Created by: Muhammad Moinur Rahman PORTNAME= qmapshack PORTVERSION= 1.16.0 DISTVERSIONPREFIX= V_ +PORTREVISION= 1 CATEGORIES= astro MAINTAINER= bofh@FreeBSD.org COMMENT= Ultimate outdoor aficionado's tool LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 BROKEN_FreeBSD_11= Requires OpenSSL 1.1.0+ LIB_DEPENDS= libgdal.so:graphics/gdal \ libproj.so:graphics/proj \ libquazip1-qt5.so:archivers/quazip \ libroutino.so:astro/routino RUN_DEPENDS= ${LOCALBASE}/bin/bsdisks:sysutils/bsdisks USES= cmake compiler:c++11-lib desktop-file-utils gl jpeg \ pkgconfig qt:5 xorg USE_GITHUB= yes USE_GL= gl USE_QT= buildtools core dbus declarative gui help linguisttools location network \ printsupport qmake sql sql-sqlite3 uitools \ webchannel webengine widgets xml GH_ACCOUNT= Maproom OPTIONS_DEFINE= DOCS .include diff --git a/audio/abgate-lv2/Makefile b/audio/abgate-lv2/Makefile index fd11b5a8e542..fa6004ddf3b7 100644 --- a/audio/abgate-lv2/Makefile +++ b/audio/abgate-lv2/Makefile @@ -1,40 +1,41 @@ PORTNAME= abGate DISTVERSIONPREFIX= v DISTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Noise gate LV2 plugin LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 USES= compiler:c++11-lang gl gmake gnome pkgconfig qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= antanasbruzas USE_CXXSTD= c++11 USE_QT= core gui widgets buildtools_build qmake_build USE_GL= gl USE_GNOME= atkmm gtk20 gtkmm24 libsigc++20 USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e ' \ s|PREFIX = |PREFIX ?= |; \ s|g++|$$(CXX)|; \ s|CPPFLAGS|CXXFLAGS|; \ s| -g -O3||; \ s|cd abGateQt; qmake; make|cd abGateQt; $(QMAKE) \&\& $$(MAKE)|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -E ' \ s|^QMAKE_CXXFLAGS (.*)|QMAKE_CXXFLAGS = ${CXXFLAGS}|; \ s|^QMAKE_LFLAGS (.*)|QMAKE_LFLAGS = ${LDFLAGS}|' \ ${WRKSRC}/abGateQt/abGateQt.pro post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/abGate.lv2/*.so .include diff --git a/audio/avldrums-lv2/Makefile b/audio/avldrums-lv2/Makefile index 66d203bf1ce4..a7df1de76198 100644 --- a/audio/avldrums-lv2/Makefile +++ b/audio/avldrums-lv2/Makefile @@ -1,40 +1,41 @@ PORTNAME= avldrums DISTVERSIONPREFIX= v DISTVERSION= 0.4.2 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Dedicated AVLDrumkits LV2 Plugin LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 USES= gl gmake gnome pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= x42 GH_PROJECT= ${PORTNAME}.lv2 GH_TUPLE= x42:robtk:52e7789d1f013491d484cfe1a1adb2bde293e7a1:x42_robtk/robtk USE_GL= gl glu USE_GNOME= glib20 pango cairo USE_XORG= x11 MAKE_ENV= avldrums_VERSION=${PORTVERSION} PLIST_FILES= lib/lv2/avldrums.lv2/Black_Pearl_4_LV2.sf2 \ lib/lv2/avldrums.lv2/Red_Zeppelin_4_LV2.sf2 \ lib/lv2/avldrums.lv2/avldrums.so \ lib/lv2/avldrums.lv2/avldrums.ttl \ lib/lv2/avldrums.lv2/avldrumsUI_gl.so \ lib/lv2/avldrums.lv2/manifest.ttl OPTIONS_DEFINE_amd64= SSE OPTIONS_DEFINE_i386= SSE OPTIONS_DEFAULT_amd64= SSE OPTIONS_DEFAULT_i386= SSE SSE_MAKE_ARGS= PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse" .include diff --git a/audio/bambootracker/Makefile b/audio/bambootracker/Makefile index 959149544157..ea654a7f44ac 100644 --- a/audio/bambootracker/Makefile +++ b/audio/bambootracker/Makefile @@ -1,78 +1,79 @@ # Created by: Emanuel Haupt PORTNAME= bambootracker DISTVERSIONPREFIX= v DISTVERSION= 0.4.5 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= LOCAL/ehaupt:extras DISTFILES= ${PORTNAME}-extras-${EXTRASVERSION}${EXTRACT_SUFX}:extras MAINTAINER= ehaupt@FreeBSD.org COMMENT= Music tracker for the Yamaha YM2608 (OPNA) sound chip LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++14-lang qmake qt:5 gl xorg USE_GITHUB= yes GH_ACCOUNT= rerrahkr GH_PROJECT= BambooTracker USE_GL= gl USE_QT= buildtools core gui linguisttools_build multimedia network \ widgets BUILD_WRKSRC= ${WRKSRC}/BambooTracker CONFIGURE_WRKSRC= ${WRKSRC}/BambooTracker PORTEXAMPLES= * EXTRASVERSION= 2 OPTIONS_DEFINE= ALSA EXAMPLES JACK NLS PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO ALSA_DESC= ALSA audio architecture support (EXPERIMENTAL) JACK_DESC= JACK audio server support (EXPERIMENTAL) OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib JACK_LIB_DEPENDS= libjack.so:audio/jack PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include .if ${PORT_OPTIONS:MALSA} QMAKE_ARGS+= CONFIG+="use_alsa" .endif .if ${PORT_OPTIONS:MJACK} QMAKE_ARGS+= CONFIG+="use_jack" \ CONFIG+="jack_has_rename" .endif .if ${PORT_OPTIONS:MPULSEAUDIO} QMAKE_ARGS+= CONFIG+="use_pulse" .endif do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons \ ${STAGEDIR}${MANPREFIX}/man/fr.UTF-8/man1 ${INSTALL_PROGRAM} ${WRKSRC}/BambooTracker/BambooTracker \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/data/man/en/man1/BambooTracker.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/data/man/fr/man1/BambooTracker.1 \ ${STAGEDIR}${MANPREFIX}/man/fr.UTF-8/man1 ${INSTALL_DATA} ${WRKSRC}/data/applications/BambooTracker.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/img/icon.png \ ${STAGEDIR}${PREFIX}/share/icons/BambooTracker.png do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/data/demos/modules/*.btm \ ${WRKDIR}/${PORTNAME}-extras-${EXTRASVERSION}/*.btm \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/audio/carla/Makefile b/audio/carla/Makefile index fcb198f5a849..e5c479148f89 100644 --- a/audio/carla/Makefile +++ b/audio/carla/Makefile @@ -1,76 +1,76 @@ PORTNAME= Carla DISTVERSIONPREFIX= v DISTVERSION= 2.3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Audio plugin host for Jack and PulseAudio LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/GPL.txt LIB_DEPENDS= liblo.so:audio/liblo \ libsndfile.so:audio/libsndfile RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyliblo>0:audio/py-pyliblo@${PY_FLAVOR} USES= compiler:c++11-lib desktop-file-utils gl gmake gnome localbase \ pkgconfig pyqt:5 python:3.4+ qt:5 shared-mime-info shebangfix \ tar:bz2 xorg USE_PYQT= core_run gui_run sip svg_run widgets_run xml_build # "sip" should be "sip_build", but "import PyQt5.QtCore" wants "sip". See bug#225040 USE_GNOME= gtk20 gtk30 USE_QT= core gui widgets buildtools_build USE_GL= gl USE_XORG= x11 USE_LDCONFIG= ${PREFIX}/lib/carla CONFLICTS_BUILD= rtaudio rtmidi SHEBANG_FILES= data/carla-single data/carla-bridge-lv2-modgui source/native-plugins/resources/* source/frontend/* USE_GITHUB= yes GH_ACCOUNT= falkTX MAKE_ARGS= HAVE_QT4=false \ EXTERNAL_PLUGINS=false \ # Give the Makefile the proper versioned binaries of PyQt BINARY_ALIAS= pyuic5=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ pyrcc5=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} INSTALLS_ICONS= yes OPTIONS_DEFINE= FFMPEG FLUIDSYNTH LINUXSAMPLER OPTIONS_DEFAULT= FFMPEG FLUIDSYNTH JACK LINUXSAMPLER OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= JACK PULSEAUDIO BACKEND_DESC= Audio backend FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FFMPEG_MAKE_ARGS_OFF= HAVE_FFMPEG=false FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUIDSYNTH_MAKE_ARGS_OFF= HAVE_FLUIDSYNTH=false LINUXSAMPLER_DESC= Use LinuxSampler: a software audio sampler LINUXSAMPLER_LIB_DEPENDS= liblinuxsampler.so:audio/linuxsampler LINUXSAMPLER_MAKE_ARGS_OFF= HAVE_LINUXSAMPLER=false JACK_BUILD_DEPENDS= jackit>0:audio/jack JACK_RUN_DEPENDS= ${LOCALBASE}/lib/libjack.so:audio/jack JACK_MAKE_ARGS_OFF= HAVE_JACK=false PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio PULSEAUDIO_MAKE_ARGS_OFF= HAVE_PULSEAUDIO=false post-install: @${REINPLACE_CMD} -i '' -e ' \ s|^PYTHON=.*|PYTHON=${PYTHON_CMD}|; \ s|#!/bin/bash|#!/bin/sh|' \ ${STAGEDIR}${PREFIX}/bin/carla* ${RMDIR} ${STAGEDIR}${PREFIX}/share/carla/resources/translations devel-features: patch @${ECHO} "Developer command: show build features" cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} features .include diff --git a/audio/clementine-player/Makefile b/audio/clementine-player/Makefile index bf8a2a29667e..e5848b105879 100644 --- a/audio/clementine-player/Makefile +++ b/audio/clementine-player/Makefile @@ -1,206 +1,206 @@ # Created by: Veniamin Gvozdikov PORTNAME= clementine DISTVERSION= 1.4.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio PKGNAMESUFFIX= -player MAINTAINER= sbruno@FreeBSD.org COMMENT= Cross-platform music player based on Amarok 1.4 LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libtag.so:audio/taglib \ libchromaprint.so:audio/chromaprint \ libprotobuf.so:devel/protobuf \ libqjson-qt5.so:devel/qjson \ libfftw3.so:math/fftw3 \ libechonest5.so:audio/libechonest \ libcryptopp.so:security/cryptopp USES= cmake \ compiler:c++11-lib \ desktop-file-utils \ gettext-tools \ pkgconfig \ qca \ qt:5 \ sqlite \ gl \ gnome \ xorg USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= clementine-player GH_PROJECT= Clementine GH_TAGNAME= 1.4.0rc1 USE_GL= gl glew glu USE_XORG= x11 USE_QT= buildtools_build \ concurrent \ core \ dbus \ gui \ imageformats \ linguist_build \ network \ opengl \ qmake_build \ testlib_build \ sql \ widgets \ x11extras \ xml USE_GSTREAMER1= cdparanoia \ chromaprint \ faac \ faad \ flac \ lame \ mpg123 \ neon \ opus \ shout2 \ soup \ taglib \ twolame \ vorbis INSTALLS_ICONS= yes CFLAGS+= -Wno-inconsistent-missing-override \ -Wno-unused-variable \ -Wno-unused-function CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib" \ -DENABLE_DBUS=ON \ -DENABLE_SPOTIFY_BLOB=OFF OPTIONS_SUB= yes OPTIONS_DEFINE= AMAZON \ AUDIOCD \ BOX \ BREAKPAD \ DEVICEKIT \ DROPBOX \ GIO \ GOOGLE_DRIVE \ GPOD \ LASTFM \ MOODBAR \ MTP \ PULSEAUDIO \ SKYDRIVE \ VISUALISATION \ WIIMOTEDEV AMAZON_DESC= Amazon Drive support AUDIOCD_DESC= Devices: Audio CD support BOX_DESC= Box Drive support BREAKPAD_DESC= Crash reporting DEVICEKIT_DESC= Devices: DeviceKit backend DROPBOX_DESC= Dropbox Support GIO_DESC= Devices: GIO device backend GOOGLE_DRIVE_DESC= Google Drive support GPOD_DESC= iPod support LASTFM_DESC= Support Last.fm service (requires ruby) MOODBAR_DESC= Moodbar Support MTP_DESC= MTP device support PULSEAUDIO_DESC= Enable Pulseaudio Support SKYDRIVE_DESC= Microsoft SkyDrive Support VISUALISATION_DESC= Visualisations from projectM WIIMOTEDEV_DESC= Wiimote support OPTIONS_DEFAULT= AMAZON \ AUDIOCD \ BOX \ DEVICEKIT \ DROPBOX \ GIO \ GOOGLE_DRIVE \ GPOD \ LASTFM \ MOODBAR \ MTP \ SKYDRIVE \ VISUALISATION \ WIIMOTEDEV AMAZON_CMAKE_ON= -DENABLE_AMAZON_CLOUD_DRIVE=ON AMAZON_CMAKE_OFF= -DENABLE_AMAZON_CLOUD_DRIVE=OFF AUDIOCD_LIB_DEPENDS= libcdio.so:sysutils/libcdio AUDIOCD_CMAKE_ON= -DENABLE_AUDIOCD=ON AUDIOCD_CMAKE_OFF= -DENABLE_AUDIOCD=OFF BOX_BUILD_DEPENDS= sparsehash>=2.0.2:devel/sparsehash BOX_CMAKE_ON= -DENABLE_BOX=ON BOX_CMAKE_OFF= -DENABLE_BOX=OFF BREAKPAD_CMAKE_ON= -DENABLE_BREAKPAD=ON BREAKPAD_CMAKE_OFF= -DENABLE_BREAKPAD=OFF DEVICEKIT_CMAKE_ON= -DENABLE_DEVICEKIT=ON DEVICEKIT_CMAKE_OFF= -DENABLE_DEVICEKIT=OFF DROPBOX_BUILD_DEPENDS= sparsehash>=2.0.2:devel/sparsehash DROPBOX_CMAKE_ON= -DENABLE_DROPBOX=ON DROPBOX_CMAKE_OFF= -DENABLE_DROPBOX=OFF GIO_USES= gnome GIO_USE= GNOME=glib20 GIO_CMAKE_ON= -DENABLE_GIO=ON GIO_CMAKE_OFF= -DENABLE_GIO=OFF GOOGLE_DRIVE_BUILD_DEPENDS= sparsehash>=2.0.2:devel/sparsehash GOOGLE_DRIVE_CMAKE_ON= -DENABLE_GOOGLE_DRIVE=ON GOOGLE_DRIVE_CMAKE_OFF= -DENABLE_GOOGLE_DRIVE=OFF GPOD_LIB_DEPENDS= libgpod.so:audio/libgpod \ libplist-2.0.so:devel/libplist \ libusbmuxd-2.0.so:comms/libusbmuxd \ libimobiledevice-1.0.so:comms/libimobiledevice GPOD_CMAKE_ON= -DENABLE_LIBGPOD=ON GPOD_CMAKE_OFF= -DENABLE_LIBGPOD=OFF LASTFM_LIB_DEPENDS= liblastfm5.so:audio/liblastfm-qt5 LASTFM_CMAKE_ON= -DENABLE_LIBLASTFM=ON LASTFM_CMAKE_OFF= -DENABLE_LIBLASTFM=OFF MOODBAR_CMAKE_ON= -DENABLE_MOODBAR=ON MOODBAR_CMAKE_OFF= -DENABLE_MOODBAR=OFF MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp MTP_CMAKE_ON= -DENABLE_LIBMTP=ON MTP_CMAKE_OFF= -DENABLE_LIBMTP=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_ON= -DENABLE_LIBPULSE=ON PULSEAUDIO_CMAKE_OFF= -DENABLE_LIBPULSE=OFF SKYDRIVE_BUILD_DEPENDS= sparsehash>=2.0.2:devel/sparsehash SKYDRIVE_CMAKE_ON= -DENABLE_SKYDRIVE=ON SKYDRIVE_CMAKE_OFF= -DENABLE_SKYDRIVE=OFF VISUALISATION_CMAKE_ON= -DENABLE_VISUALISATIONS=ON VISUALISATION_CMAKE_OFF=-DENABLE_VISUALISATIONS=OFF WIIMOTEDEV_CMAKE_ON= -DENABLE_WIIMOTEDEV=ON WIIMOTEDEV_CMAKE_OFF= -DENABLE_WIIMOTEDEV=OFF .include .if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS+= -Wno-unknown-warning-option -Wno-undefined-var-template .endif .include diff --git a/audio/csoundqt/Makefile b/audio/csoundqt/Makefile index e16e2d440e54..ec6bd46e9f57 100644 --- a/audio/csoundqt/Makefile +++ b/audio/csoundqt/Makefile @@ -1,36 +1,37 @@ PORTNAME= CsoundQt DISTVERSIONPREFIX= v DISTVERSION= 0.9.8.1 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Csound frontend with editor, integrated help, widgets, other features LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/lgpl-2.1.txt LIB_DEPENDS= libcsound64.so:audio/csound USES= compiler:c++11-lib desktop-file-utils gl gmake qmake qt:5 shared-mime-info USE_GITHUB= yes USE_QT= concurrent core declarative gui network printsupport webchannel webkit widgets xml buildtools_build USE_GL= gl QMAKE_ARGS= CONFIG+="CSOUND_API_INCLUDE_DIR=${LOCALBASE}/include/csound CSOUND_LIBRARY_DIR=${LOCALBASE}/lib build64" \ INSTALL_DIR=${PREFIX} SHARE_DIR=${PREFIX}/share \ qcs.pro OPTIONS_DEFINE= EXAMPLES DATADIR= ${PREFIX}/share/${PORTNAME:tl} PORTEXAMPLES= * post-patch: @${REINPLACE_CMD} 's|Q_OS_LINUX|Q_OS_FREEBSD| ; s|/usr/|${LOCALBASE}/|' ${WRKSRC}/src/types.h post-install: @${MV} ${STAGEDIR}${DATADIR}/Examples ${STAGEDIR}${EXAMPLESDIR} @${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/bin/${PORTNAME}-d-cs6 .include diff --git a/audio/din/Makefile b/audio/din/Makefile index 433c157067f0..7638be35a1dc 100644 --- a/audio/din/Makefile +++ b/audio/din/Makefile @@ -1,37 +1,38 @@ PORTNAME= din PORTVERSION= 50.2 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://archive.org/download/dinisnoise_source_code/ MAINTAINER= fox@FreeBSD.org COMMENT= Open source, cross-platform sound synthesizer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libasound.so:audio/alsa-lib \ libboost_system.so:devel/boost-libs \ libjack.so:audio/jack USES= autoreconf gl gnome sdl tcl:86+ xorg USE_GL= gl USE_SDL= sdl GNU_CONFIGURE= yes INSTALLS_ICONS= yes OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND= ALSA JACK OPTIONS_DEFAULT= JACK JACK_DESC= Uses JACK sound server ALSA_DESC= Uses ALSA sound server ALSA_CXXFLAGS+= -D__LINUX_ALSA__ JACK_CXXFLAGS+= -D__UNIX_JACK__ CXXFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl${TCL_VER} LIBS+= -L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER} -lthr -ljack .include diff --git a/audio/dpf-plugins-lv2/Makefile b/audio/dpf-plugins-lv2/Makefile index a6a3989bde56..92a90451d5a1 100644 --- a/audio/dpf-plugins-lv2/Makefile +++ b/audio/dpf-plugins-lv2/Makefile @@ -1,47 +1,48 @@ PORTNAME= dpf-plugins DISTVERSIONPREFIX= v DISTVERSION= 1.4 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Collection of DPF-based LV2 plugins LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash LIB_DEPENDS= liblo.so:audio/liblo \ libprojectM.so:graphics/libprojectm USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix xorg SHEBANG_FILES= dpf/utils/generate-ttl.sh USE_GITHUB= yes GH_ACCOUNT= DISTRHO GH_PROJECT= DPF-Plugins USE_XORG= x11 USE_GL= gl CXXFLAGS+= -I${FILESDIR} LDFLAGS+= -pthread OPTIONS_DEFINE= JACK OPTIONS_DEFAULT= JACK OPTIONS_SUB= yes OPTIONS_DEFINE_amd64= SIMD OPTIONS_DEFINE_i386= SIMD OPTIONS_DEFAULT_amd64= SIMD OPTIONS_DEFAULT_i386= SIMD JACK_MAKE_ARGS= HAVE_JACK=true JACK_MAKE_ARGS_OFF= HAVE_JACK=false JACK_LIB_DEPENDS= libjack.so:audio/jack SIMD_MAKE_ENV= SIMD_FLAGS="-mtune=generic -msse -msse2 -mfpmath=sse" post-patch: # disable all plugins except for LV2 @${FIND} ${WRKSRC} -name "*.mk" | ${XARGS} ${REINPLACE_CMD} -i '' -E 's/BUILD_(LADSPA|DSSI|VST2) *= *true/BUILD_\1 = false/' .include diff --git a/audio/dragonfly-reverb-lv2/Makefile b/audio/dragonfly-reverb-lv2/Makefile index 56db5c4115ff..637b071eeeb7 100644 --- a/audio/dragonfly-reverb-lv2/Makefile +++ b/audio/dragonfly-reverb-lv2/Makefile @@ -1,57 +1,58 @@ PORTNAME= dragonfly-reverb DISTVERSION= 3.2.5 +PORTREVISION= 1 CATEGORIES= audio multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Bundle of free audio effects LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix xorg SHEBANG_FILES= dpf/utils/generate-ttl.sh USE_GL= gl USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= michaelwillis GH_TUPLE= DISTRHO:DPF:226f219:DISTRHO_DPF/dpf MAKE_ARGS= LINUX=true # it fails to set it for BSD for some reason even though the code seems to intend to do this CXXFLAGS+= -I${FILESDIR} EFFECTS= DragonflyEarlyReflections DragonflyHallReverb DragonflyPlateReverb DragonflyRoomReverb OPTIONS_DEFINE= APPS VST OPTIONS_DEFAULT= APPS VST OPTIONS_SUB= yes APPS_DESC= Install apps instantiating effects in Jack sound server APPS_LIB_DEPENDS= libjack.so:audio/jack VST_DESC= Install VST plugins # project doesn't have the install target: https://github.com/michaelwillis/dragonfly-reverb/issues/80 do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2 .for r in ${EFFECTS} cd ${WRKSRC}/bin && ${COPYTREE_SHARE} ${r}.lv2 ${STAGEDIR}${PREFIX}/lib/lv2 .endfor do-install-APPS-on: .for r in ${EFFECTS} ${INSTALL_PROGRAM} ${WRKSRC}/bin/${r} ${STAGEDIR}${PREFIX}/bin .endfor do-install-VST-on: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst .for r in ${EFFECTS} ${INSTALL_LIB} ${WRKSRC}/bin/${r}-vst.so ${STAGEDIR}${PREFIX}/lib/vst .endfor .include diff --git a/audio/drumkv1-lv2/Makefile b/audio/drumkv1-lv2/Makefile index e72abfad4c83..1d358d66685c 100644 --- a/audio/drumkv1-lv2/Makefile +++ b/audio/drumkv1-lv2/Makefile @@ -1,24 +1,25 @@ PORTNAME= drumkv1 DISTVERSION= 0.9.22 +PORTREVISION= 1 CATEGORIES= audio multimedia MASTER_SITES= SF PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Old-school drum-kit sampler: LV2 plugin and Jack app LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libjack.so:audio/jack \ libsndfile.so:audio/libsndfile \ liblo.so:audio/liblo USES= cmake compiler:c++17-lang gl localbase:ldflags pkgconfig qt:5 shared-mime-info USE_QT= core gui widgets xml buildtools_build linguisttools_build qmake_build USE_GL= gl CMAKE_OFF= CONFIG_ALSA_MIDI .include diff --git a/audio/dsbmixer/Makefile b/audio/dsbmixer/Makefile index e7e78ad0539d..9a09403eb4d2 100644 --- a/audio/dsbmixer/Makefile +++ b/audio/dsbmixer/Makefile @@ -1,28 +1,29 @@ PORTNAME= dsbmixer PORTVERSION= 1.7 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= mk@nic-nac-project.org COMMENT= Tabbed Qt mixer for FreeBSD LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= dsbwrtsysctl:sysutils/dsbwrtsysctl USES= compiler:c++11-lang gl qmake qt:5 tar:tgz USE_GL= gl USE_QT= buildtools_build core gui linguisttools_build widgets USE_GITHUB= yes GH_ACCOUNT= mrclksr GH_PROJECT= DSBMixer QMAKE_ARGS= PORTS=1 OPTIONS_DEFINE= DEVD OPTIONS_DEFAULT=DEVD DEVD_DESC= Add new USB audio devices at runtime DEVD_MAKE_ARGS_OFF= -DWITHOUT_DEVD .include diff --git a/audio/faustlive/Makefile b/audio/faustlive/Makefile index 48c4facc0c46..4d6a73f81d19 100644 --- a/audio/faustlive/Makefile +++ b/audio/faustlive/Makefile @@ -1,64 +1,64 @@ PORTNAME= faustlive DISTVERSION= 2.5.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Standalone application that embeds Faust LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/GPL.txt BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libLLVM-${LLVM_VERSION}.so:devel/llvm${LLVM_VERSION} \ libasound.so:audio/alsa-lib \ libcurl.so:ftp/curl \ libfaust.so:audio/faust \ libjack.so:audio/jack \ libmicrohttpd.so:www/libmicrohttpd \ libqrencode.so:graphics/libqrencode \ libsndfile.so:audio/libsndfile # audio/alsa-lib isn't really needed: https://github.com/grame-cncm/faustlive/issues/3 USES= compiler:c++11-lang gl pkgconfig qmake qt:5 shebangfix USE_QT= core gui network widgets buildtools_build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= grame-cncm GH_TUPLE= grame-cncm:faustlibraries:cde5c7b:grame_cncm_faustlibraries/Resources/Libs SHEBANG_GLOB= build install makelibs LLVM_VERSION= 11 # llvm version should be the same as in audio/faust QMAKE_ARGS= Build/FaustLive.pro CXXFLAGS+= $$(llvm-config${LLVM_VERSION} --cflags) LDFLAGS+= -lexecinfo BINARY_ALIAS= llvm-config=llvm-config${LLVM_VERSION} PLIST_FILES= bin/FaustLive \ share/applications/FaustLive.desktop \ share/icons/hicolor/32x32/apps/Faustlive.png \ share/icons/hicolor/scalable/apps/Faustlive.svg \ share/pixmaps/Faustlive.xpm OPTIONS_DEFINE= PORTAUDIO PORTAUDIO_MAKE_ARGS= PORTAUDIO=1 PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_BROKEN= PORTAUDIO support needs to be updated for qmake post-extract: @${RM} ${WRKSRC}/version # mixup with STL header 'version' do-install: # workaround for https://github.com/grame-cncm/faustlive/issues/38 ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_PROGRAM} ${WRKSRC}/Build/FaustLive/FaustLive ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/Build/rsrc/FaustLive.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/Resources/Images/Faustlive.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps ${INSTALL_DATA} ${WRKSRC}/Resources/Images/Faustlive.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/Resources/Images/Faustlive.xpm ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/audio/fmit/Makefile b/audio/fmit/Makefile index ae82d95ae5fb..9b77df3c52b5 100644 --- a/audio/fmit/Makefile +++ b/audio/fmit/Makefile @@ -1,42 +1,43 @@ # Created by: Edward Tomasz Napierala PORTNAME= fmit PORTVERSION= 1.2.14 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= danilo@FreeBSD.org COMMENT= Free Music Instrument Tuner LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING_GPL.txt LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING_LGPL.txt LIB_DEPENDS= libfftw3.so:math/fftw3 USES= compiler:c++11-lang gl gnome pkgconfig qmake qt:5 tar:bzip2 xorg USE_QT= buildtools_build core gui opengl qmake_build multimedia network svg widgets USE_GL= gl glut USE_GITHUB= yes GH_ACCOUNT= gillesdegottex QMAKE_ARGS+= PREFIXSHORTCUT=${PREFIX} OPTIONS_DEFINE= ALSA JACK OSS PORTAUDIO OPTIONS_DEFAULT= JACK OSS ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_QMAKE_ON= CONFIG+=acs_alsa OSS_QMAKE_ON= CONFIG+=acs_oss JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_QMAKE_ON= CONFIG+=acs_jack PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_QMAKE_ON= CONFIG+=acs_portaudio .include diff --git a/audio/fossmixer/Makefile b/audio/fossmixer/Makefile index 30c80d6a8ea2..f5ea00bd8225 100644 --- a/audio/fossmixer/Makefile +++ b/audio/fossmixer/Makefile @@ -1,68 +1,69 @@ PORTNAME= fossmixer PORTVERSION= 0.0.3 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/detroit DISTNAME= detroit-0.2.2 MAINTAINER= salojan@goto10.co COMMENT= Graphical mixer application for OSS LICENSE= BSD3CLAUSE RUN_DEPENDS= ${LOCALBASE}/share/fonts/noto/NotoSans-Italic.ttf:x11-fonts/noto-basic \ ${LOCALBASE}/share/fonts/noto/NotoSans-Regular.ttf:x11-fonts/noto-basic LIB_DEPENDS= libao.so:audio/libao \ libportaudio.so:audio/portaudio \ libpulse-simple.so:audio/pulseaudio \ libiconv.so:converters/libiconv \ libltdl.so:devel/libltdl \ libfreetype.so:print/freetype2 USES= gettext-runtime gl perl5 pkgconfig tar:xz xorg USE_GL= gl USE_PERL5= patch build USE_XORG= x11 xext xrandr HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-bob \ --disable-color \ --disable-coords \ --disable-draw \ --disable-image \ --disable-math \ --disable-menu \ --disable-remote \ --sysconfdir="${ETCDIR}" \ --with-libiconv="${LOCALBASE}" \ --with-libintl="${LOCALBASE}" \ --with-libltdl="${LOCALBASE}" ALL_TARGET= INSTALL_TARGET= install-strip post-patch: @(cd ${WRKSRC}/apps && ./build.sh fossmixer) @for i in alsa flac samplerate gnutls openssl librsvg-2.0; do \ ${REINPLACE_CMD} -e "s|$${i}|$${i}_EXCLUDE|g" ${WRKSRC}/configure ; \ done @${REINPLACE_CMD} -e "s|^.*bobs.*$$||" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|@echo Compiling engine/$$< ; ||" ${WRKSRC}/engine/Makefile.in post-install: @for i in conf res; do \ if [ -e "${STAGEDIR}${PREFIX}/etc/fossmixer/fossmixer.$${i}" ]; then \ ${MV} -f \ ${STAGEDIR}${PREFIX}/etc/fossmixer/fossmixer.$${i} \ ${STAGEDIR}${PREFIX}/etc/fossmixer/fossmixer.$${i}.sample ; \ fi ; \ done @for i in NotoSans-Italic NotoSans-Regular; do \ ${LN} -sf \ "${LOCALBASE}/share/fonts/noto/$${i}.ttf" \ "${STAGEDIR}${PREFIX}/share/detroit/fonts/$${i}.ttf" ; \ done .include diff --git a/audio/gogglesmm/Makefile b/audio/gogglesmm/Makefile index 12f506667659..0d18aeecd0fe 100644 --- a/audio/gogglesmm/Makefile +++ b/audio/gogglesmm/Makefile @@ -1,112 +1,112 @@ # Created by: Sascha Klauder PORTNAME= gogglesmm PORTVERSION= 1.2.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio MAINTAINER= jhale@FreeBSD.org COMMENT= Music collection manager and player LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= fails to compile: ap_mad.cpp:358:2: \#error fixme LIB_DEPENDS= libtag.so:audio/taglib \ libexpat.so:textproc/expat2 \ libFOX-1.7.so:x11-toolkits/fox17 USES= cmake compiler:c++11-lib desktop-file-utils gnome \ localbase:ldflags pkgconfig sqlite xorg USE_GITHUB= yes USE_XORG= ice sm x11 CMAKE_OFF= WITH_CFOX WITH_IMPORT INSTALLS_ICONS= yes PORTDOCS= AUTHORS ChangeLog README OPTIONS_DEFINE= A52 ALSA DBUS DCA DOCS FAAD FLAC MAD NLS \ OGG OPENGL OPUS PULSEAUDIO SNDIO ZLIB OPTIONS_RADIO= SSL VORBISDEC OPTIONS_RADIO_SSL= GCRYPT GNUTLS OPENSSL VORBISDEC_DESC= Vorbis decoder library OPTIONS_RADIO_VORBISDEC= TREMOR VORBIS OPTIONS_DEFAULT= DBUS FAAD FLAC MAD OGG OPENGL OPENSSL OPUS VORBIS ZLIB OPTIONS_SUB= yes A52_LIB_DEPENDS= liba52.so:audio/liba52 A52_CMAKE_BOOL= WITH_A52 ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= WITH_ALSA DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_BOOL= WITH_DBUS DCA_LIB_DEPENDS= libdca.so:multimedia/libdca DCA_CMAKE_BOOL= WITH_DCA FAAD_LIB_DEPENDS= libfaad.so:audio/faad FAAD_CMAKE_BOOL= WITH_FAAD FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CMAKE_BOOL= WITH_FLAC FLAC_IMPLIES= OGG GCRYPT_DESC= MD5 calculation via libgcrypt (no https) GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CMAKE_BOOL= WITH_GCRYPT GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CMAKE_BOOL= WITH_GNUTLS MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CMAKE_BOOL= WITH_MAD NLS_USES= gettext NLS_CMAKE_BOOL= WITH_NLS OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CMAKE_BOOL= WITH_OGG OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy OPENGL_USES= gl OPENGL_USE= GL=gl,glu OPENGL_CMAKE_BOOL= WITH_OPENGL OPENSSL_USES= ssl OPENSSL_CMAKE_BOOL= WITH_OPENSSL OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CMAKE_BOOL= WITH_OPUS OPUS_IMPLIES= OGG PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSE SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= WITH_SNDIO TREMOR_LIB_DEPENDS= libvorbisidec.so:audio/libtremor TREMOR_CMAKE_BOOL= WITH_TREMOR TREMOR_IMPLIES= OGG VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CMAKE_BOOL= WITH_VORBIS VORBIS_IMPLIES= OGG ZLIB_CMAKE_BOOL= WITH_ZLIB .include .if ${PORT_OPTIONS:MOGG} && !${PORT_OPTIONS:MTREMOR} && !${PORT_OPTIONS:MVORBIS} IGNORE= you have selected an option that requires a Vorbis decoder. Run 'make config' and select one .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/guidolib/Makefile b/audio/guidolib/Makefile index 8440a4ff79c3..b14095435821 100644 --- a/audio/guidolib/Makefile +++ b/audio/guidolib/Makefile @@ -1,78 +1,79 @@ PORTNAME= guidolib DISTVERSIONPREFIX= v DISTVERSION= 168 +PORTREVISION= 1 CATEGORIES= audio graphics print MAINTAINER= yuri@FreeBSD.org COMMENT= Library for graphic rendering of music scores LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cmake:devel/cmake LIB_DEPENDS= libmidisharelight.so:audio/midisharelight USES= compiler:c++11-lang gl gmake gnome localbase:ldflags pkgconfig qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= grame-cncm USE_QT= core gui widgets printsupport xml buildtools_build qmake_build USE_GL= gl USE_GNOME= cairo USE_LDCONFIG= yes BUILD_WRKSRC= ${WRKSRC}/build INSTALL_WRKSRC= ${WRKSRC}/build MAKE_ARGS= LINUXMIDI=no LDFLAGS+= -lmidisharelight OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * post-extract: @${RM} -r ${WRKSRC}/src/midisharelight post-patch: @${REINPLACE_CMD} -i '' -E ' \ s|Linux|FreeBSD|; \ s|-DMIDIEXPORT=yes|-DMIDIEXPORT=off|' \ $$(${FIND} ${WRKSRC} -name Makefile) \ $$(${FIND} ${WRKSRC}/environments/Qt -name Make.shared) @${REINPLACE_CMD} -i '' -e ' \ s|PUBLIC_HEADER DESTINATION /usr/include/guido|PUBLIC_HEADER DESTINATION ${PREFIX}/include/guido|; \ s|LIBDEST /usr/lib|LIBDEST ${PREFIX}/lib|; \ s|LIBPATH "/usr/lib"|LIBPATH "${LOCALBASE}/lib"|; \ s|-L/usr/local|-L${LOCALBASE}|' \ ${WRKSRC}/build/CMakeLists.txt @${REINPLACE_CMD} -i '' -e ' \ s|-lGUIDOEngine|-L${WRKSRC}/build -lGUIDOEngine|' \ ${WRKSRC}/environments/Qt/apps/GUIDOEngine.shared \ ${WRKSRC}/environments/Qt/GuidoServer/GUIDOEngineLink.pri \ ${WRKSRC}/environments/Qt/libs/GuidoQt/GuidoQt.pro \ ${WRKSRC}/environments/Qt/apps/guido2image/Makefile \ ${WRKSRC}/src/tools/Makefile \ ${WRKSRC}/validate/Makefile @${REINPLACE_CMD} -i '' -e ' \ s|!android:CONFIG += staticlib|#!android:CONFIG += staticlib|' \ ${WRKSRC}/environments/Qt/libs/GuidoQt/GuidoQt.pro @${REINPLACE_CMD} -i '' -e ' \ s|/usr|$$(DESTDIR)$$(PREFIX)|; \ s|libGuidoQt.a|libGuidoQt.*|' \ ${WRKSRC}/environments/Qt/libs/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libGUIDOEngine.so.* ${RM} -r ${STAGEDIR}${DATADIR}/python do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/package/doc/*.pdf ${STAGEDIR}${DOCSDIR} ${CP} -r ${WRKSRC}/package/doc/html ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -r ${WRKSRC}/gmn-examples/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/audio/hpsjam/Makefile b/audio/hpsjam/Makefile index d4463f33be7a..8b7332584037 100644 --- a/audio/hpsjam/Makefile +++ b/audio/hpsjam/Makefile @@ -1,29 +1,30 @@ # Created by: Hans Petter Selasky PORTNAME= hpsjam DISTVERSIONPREFIX= v DISTVERSION= 1.0.14 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= hselasky@FreeBSD.org COMMENT= Online jamming client and server tool LICENSE= BSD2CLAUSE LIB_DEPENDS= \ libfftw3.so:math/fftw3 \ libjack.so:audio/jack USES= compiler:c++11-lang gl qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= buildtools_build core gui widgets svg USE_GITHUB= yes GH_ACCOUNT= hselasky PLIST_FILES= \ bin/HpsJam \ share/pixmaps/HpsJam.png \ share/applications/HpsJam.desktop .include diff --git a/audio/jamulus/Makefile b/audio/jamulus/Makefile index 4eb1f46d6c43..59c5b32a2c89 100644 --- a/audio/jamulus/Makefile +++ b/audio/jamulus/Makefile @@ -1,68 +1,69 @@ PORTNAME= jamulus DISTVERSIONPREFIX= r DISTVERSION= 3_8_0 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Internet jam session software LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libjack.so:audio/jack FLAVORS= desktop server FLAVOR?= ${FLAVORS:[1]} server_PKGNAMESUFFIX= -server USES= compiler:c++11-lang gl pkgconfig qmake qt:5 USE_QT= concurrent core network xml buildtools_build linguisttools_build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= jamulussoftware .if ${FLAVOR:U} == desktop USE_QT+= gui widgets PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/applications/${PORTNAME}-server.desktop \ share/pixmaps/${PORTNAME}.png \ share/pixmaps/${PORTNAME}-server.png .endif .if ${FLAVOR:U} == server COMMENT+= (headless server) QMAKE_ARGS= CONFIG+="headless nosound" USER= nobody SUB_LIST= USER=${USER} USE_RC_SUBR= ${PORTNAME}-server PLIST_FILES= bin/${PORTNAME}-server .endif QMAKE_ARGS+= CONFIG+="noupcasename" PORTSCOUT= limit:^r\d+_ # prevent malformatted tags, like 'latest' .if ${FLAVOR:U} == desktop post-install: # workaround for https://gitlab.xfce.org/xfce/xfdesktop/-/issues/131 ${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/jamulus.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${RM} -r ${STAGEDIR}${PREFIX}/share/icons # add Jamulus Server menu item which is simply 'jamulus -s' with a special icon ${CP} ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}-server.desktop ${REINPLACE_CMD} -i '' ' \ s|Name=Jamulus|Name=Jamulus Server| ; \ s|Comment=Jam Session|Comment=Jam Session Server| ; \ s|Exec=jamulus|Exec=jamulus -s| ; \ s|Icon=jamulus|Icon=jamulus-server| ; \ ' ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}-server.desktop ${INSTALL_DATA} ${WRKSRC}/src/res/fronticonserver.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}-server.png .endif .if ${FLAVOR:U} == server post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-server .endif .include diff --git a/audio/komposter/Makefile b/audio/komposter/Makefile index 3ccc5e92426c..804133791bb9 100644 --- a/audio/komposter/Makefile +++ b/audio/komposter/Makefile @@ -1,43 +1,44 @@ # Created by: Emanuel Haupt PORTNAME= komposter DISTVERSION= g20201211 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= ehaupt@FreeBSD.org COMMENT= Lightweight music composing system LICENSE= GPLv2 LIB_DEPENDS= libfreetype.so:print/freetype2 USES= autoreconf compiler:c++11-lang gl libtool openal pkgconfig USE_GITHUB= yes GH_ACCOUNT= electronoora GH_TAGNAME= f75eeb7 USE_GL= gl glu glut GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-optimizations \ --disable-silent-rules \ --without-auto-arch CFLAGS_i386= -Wl,-znotext DESKTOP_ENTRIES= "Komposter" \ "${COMMENT}" \ "${DATADIR}/komposter_icon.png" \ "${PORTNAME}" \ "Audio;" \ false OPTIONS_DEFINE= EXAMPLES post-extract: @${RM} ${WRKSRC}/resources/libfreetype* ${WRKSRC}/resources/komposter.* @${RM} -rf ${WRKSRC}/resources/GLUT.framework post-install: (cd ${WRKSRC}/resources && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/audio/lsp-plugins-lv2/Makefile b/audio/lsp-plugins-lv2/Makefile index 83050bbd4c9d..13842eaf4b71 100644 --- a/audio/lsp-plugins-lv2/Makefile +++ b/audio/lsp-plugins-lv2/Makefile @@ -1,56 +1,57 @@ PORTNAME= lsp-plugins DISTVERSION= 1.1.30 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Collection of free LV2 plugins LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= amd64 armv7 i386 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= assembly only for these architectures BROKEN_i386= error: inline assembly requires more registers than available BUILD_DEPENDS= llvm${LLVM_VERSION}>0:devel/llvm${LLVM_VERSION} \ lv2>0:audio/lv2 LIB_DEPENDS= libsndfile.so:audio/libsndfile USES= gmake gl gnome iconv:wchar_t pkgconfig xorg # compiler:c11 USE_GITHUB= yes GH_ACCOUNT= sadko4u USE_GNOME= cairo USE_XORG= x11 USE_GL= gl BINARY_ALIAS= g++=${CXX} c++=${CXX} MAKE_ARGS= BUILD_MODULES='lv2' ETC_PATH=${PREFIX}/etc VERSION=${DISTVERSION} # clang-8, 9, 10 crash: fatal error: error in backend: Cannot select: 0x805afb270: v4f32 = fp_extend 0x805afbc98 LLVM_VERSION= 11 CPP= clang-cpp${LLVM_VERSION} CC= clang${LLVM_VERSION} CXX= clang++${LLVM_VERSION} OPTIONS_DEFINE= JACK OPTIONS_DEFAULT= JACK OPTIONS_SUB= yes JACK_MAKE_ARGS= BUILD_MODULES+='jack' JACK_LIB_DEPENDS= libjack.so:audio/jack post-patch: # FreeBSD does not have exp10(3), use pow(3) instead @${GREP} -lR "exp10(" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|exp10(|pow(10.,|' @${GREP} -lR "" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|||' post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/lsp-plugins.lv2/lsp-*.so post-install-JACK-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lsp-* ${STAGEDIR}${PREFIX}/lib/lsp-plugins/lsp-*.so .include diff --git a/audio/midi-matrix-lv2/Makefile b/audio/midi-matrix-lv2/Makefile index e1d672ee928e..bdd049c070fd 100644 --- a/audio/midi-matrix-lv2/Makefile +++ b/audio/midi-matrix-lv2/Makefile @@ -1,26 +1,27 @@ # Created by: Yuri Victorovich PORTNAME= midi-matrix DISTVERSION= 0.28.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://gitlab.com/OpenMusicKontrollers/midi_matrix.lv2/repository/archive.tar.gz?ref=${DISTVERSION}&dummy=/ PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= LV2 'Midi Matrix' plugin bundle: 'Channel Filter' LICENSE= ART20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 \ lv2lint:audio/lv2lint \ sord_validate:devel/sord USES= compiler:c11 gl meson pkgconfig xorg USE_XORG= x11 xext USE_GL= gl glew glu post-extract: @${MV} ${WRKDIR}/midi_matrix* ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/audio/mixxx/Makefile b/audio/mixxx/Makefile index f1602552d900..1006e8cdd791 100644 --- a/audio/mixxx/Makefile +++ b/audio/mixxx/Makefile @@ -1,115 +1,115 @@ # Created by: Jean-Yves Lefort PORTNAME= mixxx DISTVERSIONPREFIX= release- DISTVERSION= 2.2.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio MAINTAINER= acm@FreeBSD.org COMMENT= DJ mixing application LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>=1.14.0:audio/lv2 LIB_DEPENDS= libchromaprint.so:audio/chromaprint \ libFLAC.so:audio/flac \ libfftw3.so:math/fftw3 \ libhidapi.so:comms/hidapi \ libid3tag.so:audio/libid3tag \ libmad.so:audio/libmad \ libmodplug.so:audio/libmodplug \ libportaudio.so:audio/portaudio \ libSoundTouch.so:audio/soundtouch \ libebur128.so:audio/libebur128 \ librubberband.so:audio/rubberband \ libsndfile.so:audio/libsndfile \ libvamp-sdk.so:audio/vamp-plugin-sdk \ libogg.so:audio/libogg \ libvorbisfile.so:audio/libvorbis \ libtag.so:audio/taglib \ libprotobuf.so:devel/protobuf \ liblilv-0.so:audio/lilv USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons xorg USE_XORG= x11 USE_GL= gl glu USE_GITHUB= yes GH_ACCOUNT= mixxxdj USE_QT= buildtools concurrent core dbus gui network opengl script scripttools \ sql sql-sqlite3 svg testlib xml xmlpatterns linguisttools_build \ qmake_build widgets CONFLICTS= mixxx20* mixxx21* MAKE_ARGS= qtdir="${PREFIX}" install_root="${PREFIX}" \ build=release optimize=off ${GUI} battery=0 vamp=1 modplug=1 mad=1 LATE_INSTALL_ARGS= --install-sandbox=${STAGEDIR} GUI= qt5=1 PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS FAAD FFMPEG GPERFTOOLS HID LAME OPUS SHOUTCAST WAVPACK OPTIONS_DEFAULT= FAAD FFMPEG HID SHOUTCAST OPUS WAVPACK OPTIONS_SUB= yes FAAD_LIB_DEPENDS= libfaad.so:audio/faad \ libmp4v2.so:multimedia/mp4v2 FAAD_MAKE_ARGS= faad=1 FAAD_MAKE_ARGS_OFF= faad=0 FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_MAKE_ARGS= ffmpeg=1 FFMPEG_MAKE_ARGS_OFF= ffmpeg=0 GPERFTOOLS_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools GPERFTOOLS_MAKE_ARGS= perftools=1 GPERFTOOLS_MAKE_ARGS_OFF= perftools=0 HID_DESC= USB HID controllers support HID_MAKE_ARGS= hid=1 HID_MAKE_ARGS_OFF= hid=0 LAME_RUN_DEPENDS= lame:audio/lame OPUS_LIB_DEPENDS= libopus.so:audio/opus \ libopusfile.so:audio/opusfile OPUS_MAKE_ARGS= opus=1 OPUS_MAKE_ARGS_OFF= opus=0 SHOUTCAST_LIB_DEPENDS= libshout.so:audio/libshout SHOUTCAST_MAKE_ARGS= shoutcast=1 SHOUTCAST_MAKE_ARGS_OFF= shoutcast=0 WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_MAKE_ARGS= wv=1 WAVPACK_MAKE_ARGS_OFF= wv=0 post-patch: @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g ; \ s|%%PREFIX%%|${PREFIX}|g" \ ${WRKSRC}/build/depends.py @${REINPLACE_CMD} -e "s|bzr |true |g" \ ${WRKSRC}/build/util.py @${REINPLACE_CMD} -e "/('install', docs)/d" \ ${WRKSRC}/src/SConscript @${REINPLACE_CMD} -e "s|^Exec=.*|Exec=mixxx| ; \ s|^Icon=.*|Icon=${PREFIX}/share/pixmaps/mixxx_icon.svg|" \ ${WRKSRC}/res/linux/mixxx.desktop @${REINPLACE_CMD} -e "s,(Q_OS_LINUX),(Q_OS_LINUX) || defined(Q_OS_FREEBSD),g" \ ${WRKSRC}/src/util/screensaver.h .for i in midi/midimessage.h @${ECHO_CMD} >> ${WRKSRC}/src/controllers/${i} .endfor post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mixxx @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mixxx/plugins/*/*.so @${MKDIR} ${STAGEDIR}${PREFIX}/lib/mixxx/plugins/soundsource @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in Mixxx-Manual.pdf README README.md (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${DOCSDIR}) .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} Mixxx-Manual.pdf \ ${STAGEDIR}${DOCSDIR} @${FIND} ${STAGEDIR}${PREFIX}/lib/mixxx/plugins/soundsource -type d -empty -delete .include diff --git a/audio/moony-lv2/Makefile b/audio/moony-lv2/Makefile index baef2557b5d2..4e2e78ede439 100644 --- a/audio/moony-lv2/Makefile +++ b/audio/moony-lv2/Makefile @@ -1,26 +1,27 @@ # Created by: Yuri Victorovich PORTNAME= moony DISTVERSION= 0.36.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://gitlab.com/OpenMusicKontrollers/moony.lv2/repository/archive.tar.gz?ref=${PORTVERSION}&dummy=/ PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Realtime Lua as programmable glue in LV2 BROKEN_FreeBSD_11= undefined reference to `clog', see bug#237771 LICENSE= ART20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 USES= compiler:c++11-lang gl meson pkgconfig xorg USE_XORG= x11 xext USE_GL= gl glew glu post-extract: @${MV} ${WRKDIR}/moony* ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/audio/mumble/Makefile b/audio/mumble/Makefile index b3618d981d9b..7db044d453d9 100644 --- a/audio/mumble/Makefile +++ b/audio/mumble/Makefile @@ -1,111 +1,111 @@ # Created by: marius nuennerich PORTNAME= mumble PORTVERSION= 1.3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= feld@FreeBSD.org COMMENT= Voice chat software primarily intended for use while gaming LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS+= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp \ libsndfile.so:audio/libsndfile \ libboost_iostreams.so:devel/boost-libs \ libprotoc.so:devel/protobuf \ libopus.so:audio/opus USES= compiler:c++11-lang cpe desktop-file-utils gl gmake gnome pkgconfig python:build qmake qt:5 ssl xorg PATCHVERSION= ${PORTVERSION} MINORVERSION= ${PORTVERSION:R} MAJORVERSION= ${PORTVERSION:R:R} PLIST_SUB+= PATCHVERSION="${PATCHVERSION}" PLIST_SUB+= MINORVERSION="${MINORVERSION}" PLIST_SUB+= MAJORVERSION="${MAJORVERSION}" USE_CXXSTD= c++11 USE_GITHUB= yes GH_TUPLE= mumble-voip:mumble:${DISTVERSION} \ mumble-voip:celt-0.7.0:5a16cda:mumble_celt_0_7/3rdparty/celt-0.7.0-src \ mumble-voip:celt-0.11.0:e18de77:mumble_celt_0_11/3rdparty/celt-0.11.0-src \ mumble-voip:mach_override:919148f:mumble_mach_override/3rdparty/mach-override-src \ mumble-voip:minhook:5e338f8:mumble_minhook/3rdparty/minhook-src \ mumble-voip:rnnoise:b30f2bb:mumble_rnnoise/3rdparty/rnnoise-src \ mumble-voip:sbcelt:045493d:mumble_sbcelt/3rdparty/sbcelt-src \ mumble-voip:mumble-theme:9467fe8:mumble_theme/themes/Mumble USE_QT= buildtools_build core gui l10n linguist_build network opengl sql sql-sqlite3_run svg widgets xml USE_LDCONFIG= yes USE_XORG= ice xi x11 USE_GL= gl CONFIG= bundled-celt bundled-rnnoise no-bundled-opus no-bundled-speex no-bundled-speexdsp \ no-embed-qt-translations no-g15 no-server no-update QMAKE_ARGS= "CONFIG+=${CONFIG}" OPTIONS_DEFINE= ALSA DBUS BONJOUR JACK PORTAUDIO PULSEAUDIO SPEECHD OPTIONS_DEFAULT= DBUS ALSA_VARS_OFF= CONFIG+=no-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib DBUS_VARS_OFF= CONFIG+=no-dbus DBUS_USE= QT=dbus BONJOUR_DESC= Bonjour support BONJOUR_VARS_OFF= CONFIG+=no-bonjour BONJOUR_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder JACK_VARS_OFF= CONFIG+=no-jackaudio JACK_LIB_DEPENDS= libjack.so:audio/jack PORTAUDIO_VARS_OFF= CONFIG+=no-portaudio PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PULSEAUDIO_VARS_OFF= CONFIG+=no-pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio SPEECHD_DESC= Support for Speech Dispatcher SPEECHD_VARS_OFF= CONFIG+=no-speechd SPEECHD_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher CONFIGURE_ENV+= MUMBLE_PYTHON=${PYTHON_CMD} .include # PCH is broken on GCC .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIG+= no-pch .endif MAKE_JOBS_UNSAFE=yes post-patch: @${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/overlay_gl/overlay_gl.pro @${RM} ${WRKSRC}/plugins/manual/.qmake.cache do-install: ${INSTALL_PROGRAM} ${WRKSRC}/release/mumble ${STAGEDIR}${PREFIX}/bin ${INSTALL_LIB} ${WRKSRC}/release/libcelt0.so.0.7.0 ${STAGEDIR}${PREFIX}/lib/libcelt-mumble.so.0.7.0 ${INSTALL_LIB} ${WRKSRC}/release/libcelt0.so.0.11.0 ${STAGEDIR}${PREFIX}/lib/libcelt-mumble.so.0.11.0 ${INSTALL_LIB} ${WRKSRC}/release/libmumble.so.${PATCHVERSION} ${STAGEDIR}${PREFIX}/lib/libmumble.so.${PATCHVERSION} ${RLN} ${STAGEDIR}${PREFIX}/lib/libmumble.so.${PATCHVERSION} ${STAGEDIR}${PREFIX}/lib/libmumble.so ${RLN} ${STAGEDIR}${PREFIX}/lib/libmumble.so.${PATCHVERSION} ${STAGEDIR}${PREFIX}/lib/libmumble.so.${MAJORVERSION} ${RLN} ${STAGEDIR}${PREFIX}/lib/libmumble.so.${PATCHVERSION} ${STAGEDIR}${PREFIX}/lib/libmumble.so.${MINORVERSION} ${MKDIR} ${STAGEDIR}${PREFIX}/share/services ${INSTALL_DATA} ${WRKSRC}/scripts/mumble.protocol ${STAGEDIR}${PREFIX}/share/services ${INSTALL_DATA} ${WRKSRC}/scripts/mumble.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/icons/mumble.xpm ${STAGEDIR}${PREFIX}/share/pixmaps ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/icons/mumble.osx.installer.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/mumble.png ${INSTALL_DATA} ${WRKSRC}/icons/mumble.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_MAN} ${WRKSRC}/man/mumble.1 ${STAGEDIR}${MANPREFIX}/man/man1/mumble.1 .include diff --git a/audio/nekobi-lv2/Makefile b/audio/nekobi-lv2/Makefile index e06b650363ff..26c8ef311197 100644 --- a/audio/nekobi-lv2/Makefile +++ b/audio/nekobi-lv2/Makefile @@ -1,43 +1,43 @@ PORTNAME= nekobi DISTVERSION= g20180825 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Simple single-oscillator synth based on the Roland TB-303 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash LIB_DEPENDS= libjack.so:audio/jack USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix xorg SHEBANG_FILES= dpf/utils/generate-ttl.sh USE_GITHUB= yes GH_ACCOUNT= DISTRHO GH_PROJECT= Nekobi GH_TAGNAME= 840a692 GH_TUPLE= DISTRHO:DPF:ea7545a:dpf/dpf USE_GL= gl USE_XORG= x11 CFLAGS+= -I${FILESDIR} CFLAGS+= -Wno-c++11-narrowing # clang prints errors: https://github.com/DISTRHO/Nekobi/issues/7 .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: @${REINPLACE_CMD} -e 's/-mtune=generic -msse -msse2 //' \ ${WRKSRC}/dpf/Makefile.base.mk .endif do-install: # https://github.com/DISTRHO/Nekobi/issues/8 @${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2 cd ${WRKSRC}/bin && ${COPYTREE_SHARE} Nekobi.lv2 ${STAGEDIR}${PREFIX}/lib/lv2/ ${INSTALL_PROGRAM} ${WRKSRC}/bin/Nekobi ${STAGEDIR}${PREFIX}/bin .include diff --git a/audio/padthv1-lv2/Makefile b/audio/padthv1-lv2/Makefile index f416c718e736..bc85b6fd6bbd 100644 --- a/audio/padthv1-lv2/Makefile +++ b/audio/padthv1-lv2/Makefile @@ -1,29 +1,30 @@ PORTNAME= padthv1 DISTVERSIONPREFIX= ${PORTNAME}_ DISTVERSION= 0_9_22 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Old-school polyphonic additive synthesizer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libjack.so:audio/jack \ liblo.so:audio/liblo USES= cmake compiler:c++17-lang gl pkgconfig qt:5 \ shared-mime-info USE_GL= gl USE_QT= core gui widgets xml buildtools_build linguisttools_build qmake_build USE_GITHUB= yes GH_ACCOUNT= rncbc CMAKE_OFF= CONFIG_ALSA_MIDI .include diff --git a/audio/pc-mixer/Makefile b/audio/pc-mixer/Makefile index f8787d3383bf..2b90c0ac0bd1 100644 --- a/audio/pc-mixer/Makefile +++ b/audio/pc-mixer/Makefile @@ -1,32 +1,32 @@ PORTNAME= pc-mixer PORTVERSION= 20171212 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio MAINTAINER= jmaloney@ixsystems.com COMMENT= QT5 based audio mixer for FreeBSD LICENSE= BSD2CLAUSE MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} MAKE_JOBS_UNSAFE=yes USES= compiler:c++11-lang gl qmake qt:5 shebangfix tar:xz USE_LDCONFIG= yes USE_QT= core gui network svg linguist \ buildtools x11extras widgets multimedia USE_GL+= gl WRKSRC_SUBDIR= src-qt5 QMAKE_ARGS= CONFIG+="configure" USE_GITHUB= yes GH_ACCOUNT= trueos GH_PROJECT= pc-mixer GH_TAGNAME= ac1d74cc261337998526d091123c28d4ae85277e PLIST_FILES= bin/pc-mixer \ share/applications/pc-mixer.desktop .include diff --git a/audio/pianobooster/Makefile b/audio/pianobooster/Makefile index ed850479ec23..ddcb0437a1a5 100644 --- a/audio/pianobooster/Makefile +++ b/audio/pianobooster/Makefile @@ -1,36 +1,37 @@ PORTNAME= pianobooster DISTVERSIONPREFIX= v DISTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= MIDI file player that teaches how to play the piano LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/gplv3.txt LIB_DEPENDS= libftgl.so:graphics/ftgl \ libjack.so:audio/jack \ librtmidi.so:audio/rtmidi USES= cmake compiler:c++11-lang desktop-file-utils gl pkgconfig qt:5 USE_GITHUB= yes GH_ACCOUNT= captnfab GH_PROJECT= PianoBooster USE_QT= core gui opengl widgets xml buildtools_build linguisttools_build qmake_build USE_GL= gl glu CMAKE_ON= USE_JACK CMAKE_OFF= USE_BUNDLED_RTMIDI CMAKE_ARGS= -DDATA_DIR:STRING=share/${PORTNAME} OPTIONS_DEFINE= FLUIDSYNTH OPTIONS_DEFAULT= FLUIDSYNTH FLUIDSYNTH_CMAKE_BOOL= EXPERIMENTAL_USE_FLUIDSYNTH FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth post-stage: @${RM} -r ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/polyphone/Makefile b/audio/polyphone/Makefile index 8a13a138fad7..e752f4a3428a 100644 --- a/audio/polyphone/Makefile +++ b/audio/polyphone/Makefile @@ -1,43 +1,44 @@ PORTNAME= polyphone DISTVERSION= 2.2.0.20210109 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Graphical user interface for editing soundfont (sf2 and sfz) files LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../LICENSE.txt LIB_DEPENDS= libFLAC.so:audio/flac \ libjack.so:audio/jack \ libogg.so:audio/libogg \ libportaudio.so:audio/portaudio \ libQCustomPlot-qt5.so:graphics/qcustomplot-qt5 \ librtmidi.so:audio/rtmidi \ libstk.so:audio/stk \ libvorbisfile.so:audio/libvorbis USES= compiler:c++11-lang desktop-file-utils dos2unix gl gnome pkgconfig qmake:outsource qt:5 shared-mime-info ssl xorg DOS2UNIX_FILES= polyphone.pro \ editor/graphics/graphiquefourier.cpp \ editor/tree/treeitemdelegate.cpp USE_GL= gl USE_QT= core concurrent gui network printsupport svg widgets buildtools_build linguisttools_build qmake_build USE_GNOME= glib20 USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= davy7125 GH_TAGNAME= 75a5e88 CXXFLAGS+= -D__UNIX_JACK__ LIBS+= -lssl -lcrypto WRKSRC_SUBDIR= sources INSTALLS_ICONS= yes post-extract: # unbundle @${RM} -r ${WRKSRC}/lib/_option_qcustomplot ${WRKSRC}/lib/_option_rtmidi ${WRKSRC}/lib/_option_stk .include diff --git a/audio/qaudiosonar/Makefile b/audio/qaudiosonar/Makefile index 4d2c9945a7db..1aa76f5d665a 100644 --- a/audio/qaudiosonar/Makefile +++ b/audio/qaudiosonar/Makefile @@ -1,27 +1,28 @@ # Created by: Hans Petter Selasky PORTNAME= qaudiosonar DISTVERSIONPREFIX= v DISTVERSION= 1.7.4 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= hselasky@FreeBSD.org COMMENT= Quick Audio Sonar LICENSE= BSD2CLAUSE LIB_DEPENDS= libportaudio.so:audio/portaudio USES= compiler:c++11-lang gl qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= buildtools_build core gui widgets USE_GITHUB= yes GH_ACCOUNT= hselasky PLIST_FILES= \ bin/qaudiosonar \ share/pixmaps/qaudiosonar.png \ share/applications/qaudiosonar.desktop .include diff --git a/audio/qjackctl/Makefile b/audio/qjackctl/Makefile index 3a92f78d96ab..74970bd1dc48 100644 --- a/audio/qjackctl/Makefile +++ b/audio/qjackctl/Makefile @@ -1,51 +1,52 @@ # Created by: trasz PORTNAME= qjackctl DISTVERSIONPREFIX= qjackctl_ DISTVERSION= 0_9_3 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Qt interface for JACK Audio Connection Kit LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libjack.so:audio/jack USES= autoreconf compiler:c++11-lib gl gmake localbase pkgconfig qt:5 GNU_CONFIGURE= yes USE_QT= core gui network widgets x11extras xml buildtools_build linguisttools_build qmake_build USE_GL= gl USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= rncbc BINARY_ALIAS= qmake=${QMAKE} OPTIONS_DEFINE= DBUS SYSTRAY XUNIQUE OPTIONS_DEFAULT= DBUS SYSTRAY XUNIQUE OPTIONS_GROUP= AIFACE OPTIONS_GROUP_AIFACE= ALSA PORTAUDIO AIFACE_DESC= Other audio interfaces SYSTRAY_DESC= System tray icon support XUNIQUE_DESC= X11 unique/single instance ALSA_CONFIGURE_ENABLE= alsa_seq ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib DBUS_CONFIGURE_ENABLE= dbus DBUS_USE= QT=dbus PORTAUDIO_CONFIGURE_ENABLE= portaudio PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio SYSTRAY_CONFIGURE_ENABLE= system-tray XUNIQUE_CONFIGURE_ENABLE= xunique XUNIQUE_USES= xorg XUNIQUE_USE= XORG=x11 .include diff --git a/audio/qmidictl/Makefile b/audio/qmidictl/Makefile index 37fe433dc4e2..cf99da0318eb 100644 --- a/audio/qmidictl/Makefile +++ b/audio/qmidictl/Makefile @@ -1,19 +1,20 @@ PORTNAME= qmidictl DISTVERSION= 0.9.3 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= yuri@FreeBSD.org COMMENT= MIDI remote control application sending MIDI over UDP/IP multicast LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gl gmake localbase pkgconfig qt:5 GNU_CONFIGURE= yes USE_QT= core gui network widgets qmake_build buildtools_build linguisttools_build USE_GL= gl BINARY_ALIAS= qmake=${QMAKE} .include diff --git a/audio/qsampler/Makefile b/audio/qsampler/Makefile index 77cf37c806af..7d5d0a5eff33 100644 --- a/audio/qsampler/Makefile +++ b/audio/qsampler/Makefile @@ -1,45 +1,45 @@ # Created by: trasz diff --git a/audio/quimup/Makefile b/audio/quimup/Makefile index 6a3af336835f..b355579097f7 100644 --- a/audio/quimup/Makefile +++ b/audio/quimup/Makefile @@ -1,43 +1,43 @@ # Created by: Cezary Morga PORTNAME= quimup PORTVERSION= 1.4.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME} DISTNAME= Quimup_${PORTVERSION}_source MAINTAINER= cmangin@arobas.net COMMENT= Qt5 client for MPD (the Music Player Daemon) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \ libtag.so:audio/taglib USES= compiler:c++11-lang gl pkgconfig qmake qt:5 USE_QT= core gui network widgets buildtools_build USE_GL= gl WRKSRC= ${WRKDIR}/Quimup_${PORTVERSION}_source CXXFLAGS+= -std=c++11 PLIST_FILES= bin/quimup \ share/pixmaps/quimup.png DESKTOP_ENTRIES="Quimup" "MPD client" "quimup" "quimup" \ "Audio;AudioVideo;Qt;" true post-patch: @${REINPLACE_CMD} -e \ '/^#define get_time/d' ${WRKSRC}/src/qm_playlistview.h @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/qm_mpdcom.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/quimup ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/src/resources/mn_icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/quimup.png .include diff --git a/audio/samplv1-lv2/Makefile b/audio/samplv1-lv2/Makefile index 48f57133ca17..c829c5631355 100644 --- a/audio/samplv1-lv2/Makefile +++ b/audio/samplv1-lv2/Makefile @@ -1,32 +1,33 @@ PORTNAME= samplv1 DISTVERSIONPREFIX= ${PORTNAME}_ DISTVERSION= 0_9_22 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Old-school polyphonic sampler LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libjack.so:audio/jack \ liblo.so:audio/liblo \ libsndfile.so:audio/libsndfile USES= cmake compiler:c++17-lang gl pkgconfig qt:5 \ shared-mime-info USE_GL= gl USE_QT= core gui widgets xml buildtools_build linguisttools_build qmake_build USE_GITHUB= yes GH_ACCOUNT= rncbc PLIST_SUB= SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} CMAKE_OFF= CONFIG_ALSA_MIDI .include diff --git a/audio/sherlock-lv2/Makefile b/audio/sherlock-lv2/Makefile index 8f65731c17ae..9334c7886f48 100644 --- a/audio/sherlock-lv2/Makefile +++ b/audio/sherlock-lv2/Makefile @@ -1,26 +1,27 @@ # Created by: Yuri Victorovich PORTNAME= sherlock DISTVERSION= 0.28.0 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Investigative LV2 plugin bundle LICENSE= ART20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libserd-0.so:devel/serd \ libsord-0.so:devel/sord \ libsratom-0.so:audio/sratom USES= compiler:c11 gl meson pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= OpenMusicKontrollers GH_PROJECT= sherlock.lv2 USE_XORG= x11 xext USE_GL= gl glew glu .include diff --git a/audio/sonic-visualiser/Makefile b/audio/sonic-visualiser/Makefile index eed5285cd1d5..a59d73164a53 100644 --- a/audio/sonic-visualiser/Makefile +++ b/audio/sonic-visualiser/Makefile @@ -1,87 +1,87 @@ PORTNAME= sonic-visualiser DISTVERSION= 4.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= https://code.soundsoftware.ac.uk/attachments/download/2607/ MAINTAINER= uddka@student.kit.edu COMMENT= Program for viewing and analysing the contents of music audio files LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcapnp.so:devel/capnproto \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ liblrdf.so:textproc/liblrdf \ libogg.so:audio/libogg \ liboggz.so:audio/liboggz \ libopusfile.so:audio/opusfile \ librubberband.so:audio/rubberband \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libserd-0.so:devel/serd \ libsord-0.so:devel/sord \ libvamp-hostsdk.so:audio/vamp-plugin-sdk USES= autoreconf compiler:c++11-lang desktop-file-utils dos2unix gmake gl pkgconfig qt:5 xorg DOS2UNIX_FILES= convert.pro USE_QT= buildtools_build core gui network qmake_build svg testlib widgets xml USE_XORG= x11 USE_GL= gl GNU_CONFIGURE= yes OPTIONS_DEFINE= DEBUG FISHSOUND ID3TAG JACK MAD OSC PORTAUDIO PULSEAUDIO OPTIONS_DEFAULT= FISHSOUND ID3TAG JACK MAD PORTAUDIO OPTIONS_SUB= yes DEBUG_CONFIGURE_ENABLE= debug FISHSOUND_DESC= FLAC, Speex and Vorbis codecs support FISHSOUND_CONFIGURE_WITH= fishsound FISHSOUND_LIB_DEPENDS= libfishsound.so:audio/libfishsound \ libvorbis.so:audio/libvorbis \ libspeex.so:audio/speex \ libFLAC.so:audio/flac ID3TAG_CONFIGURE_WITH= id3tag ID3TAG_LIB_DEPENDS= libid3tag.so:audio/libid3tag JACK_CONFIGURE_WITH= jack JACK_LIB_DEPENDS= libjack.so:audio/jack MAD_CONFIGURE_WITH= mad MAD_LIB_DEPENDS= libmad.so:audio/libmad OSC_DESC= OpenSound Control support OSC_CONFIGURE_WITH= lo OSC_LIB_DEPENDS= liblo.so:audio/liblo PORTAUDIO_CONFIGURE_WITH= portaudio PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PULSEAUDIO_CONFIGURE_WITH= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio post-patch: # remove the bundled vamp-plugin-sdk to avoid possible confusion @${RM} -r ${WRKSRC}/vamp-plugin-sdk # workaround for https://sourceforge.net/p/sv1/bugs/280/, also see Bug#236000 @${FIND} ${WRKSRC} -name "*.pro" -o -name "*.pri" | ${XARGS} ${REINPLACE_CMD} -e 's|-Werror| |' do-install: .for f in sonic-visualiser piper-vamp-simple-server piper-convert checker/vamp-plugin-load-checker ${INSTALL_PROGRAM} ${WRKSRC}/$f ${STAGEDIR}${PREFIX}/bin .endfor .for f in sonic-visualiser.desktop x-sonicvisualiser.desktop x-sonicvisualiser-layer.desktop ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${PREFIX}/share/applications .endfor ${INSTALL_DATA} ${WRKSRC}/icons/sv-icon.svg ${STAGEDIR}${PREFIX}/share/pixmaps ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} do-install-OSC-on: ${INSTALL_DATA} ${WRKSRC}/README.OSC ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/spectacle-lv2/Makefile b/audio/spectacle-lv2/Makefile index fac90fc6068c..243f50306622 100644 --- a/audio/spectacle-lv2/Makefile +++ b/audio/spectacle-lv2/Makefile @@ -1,45 +1,46 @@ PORTNAME= spectacle DISTVERSIONPREFIX= v DISTVERSION= 2.0-1 DISTVERSIONSUFFIX= -g27b1525 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Realtime graphical spectrum analyzer, LV2 plugin and JACK application LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash \ ${LOCALBASE}/include/fftw3.h:math/fftw3 \ xxd:editors/vim-console LIB_DEPENDS= libfftw3f.so:math/fftw3-float USES= compiler:c++0x gl gmake gnome pkgconfig shebangfix xorg USE_GNOME= cairo USE_GL= gl USE_XORG= x11 SHEBANG_FILES= dpf/utils/generate-ttl.sh USE_GITHUB= yes GH_ACCOUNT= jpcima GH_TUPLE= DISTRHO:DPF:4be6a2c:DISTRHO_DPF/dpf CXXFLAGS+= -I${FILESDIR} LDFLAGS+= -lpthread OPTIONS_DEFINE= JACK VST OPTIONS_DEFAULT= JACK OPTIONS_SUB= yes JACK_MAKE_ARGS= BUILD_JACK=true JACK_MAKE_ARGS_OFF= BUILD_JACK=false JACK_LIB_DEPENDS= libjack.so:audio/jack VST_MAKE_ARGS= BUILD_VST=true VST_MAKE_ARGS_OFF= BUILD_VST=false .include diff --git a/audio/stmp/Makefile b/audio/stmp/Makefile index f5a66103e352..21d554261c3f 100644 --- a/audio/stmp/Makefile +++ b/audio/stmp/Makefile @@ -1,55 +1,56 @@ PORTNAME= stmp PORTVERSION= 0.0.2 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= bapt@FreeBSD.org COMMENT= Subsonic terminal music player LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/libHLSL.a:graphics/glslang LIB_DEPENDS= libmpv.so:multimedia/mpv USES= go:modules xorg gl USE_GL= egl USE_GITHUB= yes GH_ACCOUNT= wildeyedskies GH_TUPLE= \ fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ gdamore:encoding:v1.0.0:gdamore_encoding/vendor/github.com/gdamore/encoding \ gdamore:tcell:v2.1.0:gdamore_tcell_v2/vendor/github.com/gdamore/tcell/v2 \ go-ini:ini:v1.51.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ go-yaml:yaml:v2.2.4:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ golang:sys:b09fb700fbb7:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.3.3:golang_text/vendor/golang.org/x/text \ hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ lucasb-eyer:go-colorful:v1.0.3:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \ magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \ mattn:go-runewidth:v0.0.9:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ pelletier:go-toml:v1.2.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ rivo:tview:5406288b8e4e:rivo_tview/vendor/github.com/rivo/tview \ rivo:uniseg:v0.2.0:rivo_uniseg/vendor/github.com/rivo/uniseg \ spf13:afero:v1.1.2:spf13_afero/vendor/github.com/spf13/afero \ spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \ spf13:jwalterweatherman:v1.0.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \ spf13:viper:v1.7.1:spf13_viper/vendor/github.com/spf13/viper \ subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv \ yourok:go-mpv:ecdfd901e332:yourok_go_mpv/vendor/github.com/yourok/go-mpv CGO_CFLAGS= -DTAG_EGL CGO_LDFLAGS= -lEGL PLIST_FILES= bin/stmp \ ${EXAMPLESDIR}/stmp-example.toml post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/stmp-example.toml ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/audio/synthv1-lv2/Makefile b/audio/synthv1-lv2/Makefile index e1b232a5e8f1..c069c798cf03 100644 --- a/audio/synthv1-lv2/Makefile +++ b/audio/synthv1-lv2/Makefile @@ -1,29 +1,30 @@ PORTNAME= synthv1 DISTVERSIONPREFIX= ${PORTNAME}_ DISTVERSION= 0_9_22 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Old-school polyphonic synthesizer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libjack.so:audio/jack \ liblo.so:audio/liblo USES= cmake compiler:c++17-lang gl pkgconfig qt:5 \ shared-mime-info USE_GL= gl USE_QT= core gui widgets xml buildtools_build linguisttools_build qmake_build USE_GITHUB= yes GH_ACCOUNT= rncbc PLIST_SUB= SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} CMAKE_OFF= CONFIG_ALSA_MIDI .include diff --git a/audio/tiatracker/Makefile b/audio/tiatracker/Makefile index 76dbf7ab5472..b4bbc6c40793 100644 --- a/audio/tiatracker/Makefile +++ b/audio/tiatracker/Makefile @@ -1,58 +1,58 @@ # Created by: Emanuel Haupt PORTNAME= tiatracker PORTVERSION= 1.3 DISTVERSIONSUFFIX= .orig -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= DEBIAN DISTNAME= ${PORTNAME}_${PORTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Music tracker for making Atari VCS 2600 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license.txt USES= compiler:c++11-lang dos2unix gl qmake qt:5 sdl tar:xz DOS2UNIX_GLOB= *.c *.cpp *.h *.k65 *.pro USE_GL= gl USE_QT= core gui widgets buildtools_build USE_SDL= sdl2 CFLAGS+= `sdl2-config --cflags` LDFLAGS+= `sdl2-config --libs` DESKTOP_ENTRIES= "TIATracker" \ "${COMMENT}" \ "tt_icon" \ "TIATracker" \ "AudioVideo;AudioVideoEditing;" \ false WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} \ -e "s|\(TIATracker_manual.pdf\)|${DOCSDIR}/\1|" \ -e "s|\(keymap.cfg\)|${ETCDIR}/\1|" \ ${WRKSRC}/mainwindow.cpp do-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${ETCDIR} ${INSTALL_PROGRAM} ${WRKSRC}/TIATracker ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/data/keymap.cfg ${STAGEDIR}${ETCDIR}/keymap.cfg.sample ${INSTALL_DATA} ${WRKSRC}/songs/*.ttt ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/graphics/tt_icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/data/TIATracker_manual.pdf \ ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manual/TIATracker_manual.odt \ ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manual/Talk_Revision/TIATracker_Revision.odp \ ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/virtual_oss_ctl/Makefile b/audio/virtual_oss_ctl/Makefile index d424b550cf19..9771d47d219d 100644 --- a/audio/virtual_oss_ctl/Makefile +++ b/audio/virtual_oss_ctl/Makefile @@ -1,30 +1,31 @@ # Created by: Hans Petter Selasky PORTNAME= virtual_oss_ctl DISTVERSIONPREFIX= v DISTVERSION= 1.2.9 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= hselasky@FreeBSD.org COMMENT= Graphical control panel for the virtual OSS daemon LICENSE= BSD2CLAUSE RUN_DEPENDS= virtual_oss>=1.2.6:audio/virtual_oss LIB_DEPENDS= libfftw3.so:math/fftw3 USES= compiler:c++11-lang gl qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= buildtools_build core gui widgets USE_GITHUB= yes GH_ACCOUNT= hselasky GH_TUPLE= hselasky:virtual_oss:v1.2.11:d/virtual_oss PLIST_FILES= \ bin/virtual_oss_ctl \ share/pixmaps/virtual_oss_ctl.png \ share/applications/virtual_oss_ctl.desktop .include diff --git a/audio/vm-lv2/Makefile b/audio/vm-lv2/Makefile index 3a015d2b905a..ce1ebac3af1b 100644 --- a/audio/vm-lv2/Makefile +++ b/audio/vm-lv2/Makefile @@ -1,32 +1,33 @@ # Created by: Yuri Victorovich PORTNAME= vm DISTVERSION= 0.14.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://gitlab.com/OpenMusicKontrollers/vm.lv2/-/archive/${DISTVERSION}/ DISTNAME= vm.lv2-${DISTVERSION} PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Virtual machine LV2 plugin bundle LICENSE= ART20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 \ lv2lint:audio/lv2lint LIB_DEPENDS= liblilv-0.so:audio/lilv \ libserd-0.so:devel/serd \ libsord-0.so:devel/sord \ libsratom-0.so:audio/sratom USES= compiler:c++11-lib gl meson pkgconfig localbase xorg USE_XORG= x11 xext USE_GL= gl glew glu WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} post-extract: @${MV} ${WRKDIR}/vm* ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/audio/wolf-shaper-lv2/Makefile b/audio/wolf-shaper-lv2/Makefile index 505bc76e89f8..c4cb912273c8 100644 --- a/audio/wolf-shaper-lv2/Makefile +++ b/audio/wolf-shaper-lv2/Makefile @@ -1,47 +1,48 @@ PORTNAME= wolf-shaper DISTVERSIONPREFIX= v DISTVERSION= 0.1.8-33 DISTVERSIONSUFFIX= -ge84de58 +PORTREVISION= 1 CATEGORIES= audio multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Waveshaper plugin with a graph editor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash LIB_DEPENDS= liblo.so:audio/liblo # not used other than in makefiles, see https://github.com/wolf-plugins/wolf-shaper/issues/148 USES= gl gmake localbase pkgconfig shebangfix xorg USE_GL= gl USE_XORG= x11 xext xrandr USE_GITHUB= yes GH_ACCOUNT= wolf-plugins GH_TUPLE= DISTRHO:DPF:d592c24:DISTRHO_DPF/dpf \ DISTRHO:pugl:13cd61b:DISTRHO_DPF_pugl/dpf/dgl/src/pugl-upstream SHEBANG_FILES= dpf/utils/generate-ttl.sh MAKE_ARGS= BUILD_LV2=true CFLAGS+= -I${FILESDIR} # for mntent.h OPTIONS_DEFINE= DSSI JACK VST OPTIONS_DEFAULT= DSSI JACK VST OPTIONS_SUB= yes DSSI_DESC= Install the DSSI Plugin DSSI_MAKE_ARGS= BUILD_DSSI=true DSSI_MAKE_ARGS_OFF= BUILD_DSSI=false JACK_MAKE_ARGS= BUILD_JACK=true JACK_MAKE_ARGS_OFF= BUILD_JACK=false JACK_LIB_DEPENDS= libjack.so:audio/jack VST_DESC= Install the VST plugin VST_MAKE_ARGS= BUILD_VST2=true VST_MAKE_ARGS_OFF= BUILD_VST2=false .include diff --git a/audio/x42-plugins-lv2/Makefile b/audio/x42-plugins-lv2/Makefile index 880409a2d305..04c52ebd74d6 100644 --- a/audio/x42-plugins-lv2/Makefile +++ b/audio/x42-plugins-lv2/Makefile @@ -1,52 +1,53 @@ # Created by: Yuri Victorovich PORTNAME= x42-plugins DISTVERSION= 20210409 # the version is published here: http://gareus.org/misc/x42-plugins.php +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://gareus.org/misc/x42-plugins/ PKGNAMESUFFIX= -lv2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # only to allow USE_GITHUB=nodefault for zita4 compatilility patch MAINTAINER= yuri@FreeBSD.org COMMENT= Collection of LV2 plugins (submodules) LICENSE= GPLv2 BUILD_DEPENDS= lv2>0:audio/lv2 \ ${LOCALBASE}/include/fftw3.h:math/fftw3 \ bash:shells/bash LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ libjack.so:audio/jack \ liblo.so:audio/liblo \ libltc.so:audio/libltc \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libzita-convolver.so:audio/zita-convolver USES= compiler:c++11-lang gl gmake gnome localbase pkgconfig tar:xz \ shebangfix xorg USE_GITHUB= nodefault GH_TUPLE= x42:convoLV2:ff291a3:x/convoLV2zita4 USE_GNOME= glib20 pango cairo USE_XORG= x11 USE_GL= glu gl MAKE_ENV= BUILDOPENGL=yes BUILDGTK=no LV2DIR=${PREFIX}/lib/lv2 MANDIR=${PREFIX}/man/man1 SHEBANG_FILES= stepseq.lv2/gridgen.sh CXXFLAGS+= -std=c++98 OPTIONS_DEFINE_amd64= SSE OPTIONS_DEFINE_i386= SSE OPTIONS_DEFAULT_amd64= SSE OPTIONS_DEFAULT_i386= SSE SSE_MAKE_ARGS= PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse" post-patch: @${REINPLACE_CMD} 's| -O3||' \ ${WRKSRC}/*.lv2/Makefile @cd ${WRKSRC} && ${RM} -r convoLV2 && ${MV} convoLV2zita4 convoLV2 @${REINPLACE_CMD} 's| -msse -msse2 -mfpmath=sse| $$(PORT_SIMD_FLAGS)|' \ ${WRKSRC}/*.lv2/Makefile ${WRKSRC}/convoLV2/Makefile .include diff --git a/audio/zam-plugins-lv2/Makefile b/audio/zam-plugins-lv2/Makefile index 6d9df0972abb..63d388bdfdb9 100644 --- a/audio/zam-plugins-lv2/Makefile +++ b/audio/zam-plugins-lv2/Makefile @@ -1,43 +1,44 @@ PORTNAME= zam-plugins DISTVERSION= 3.14 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Collection of LADSPA/LV2/VST/JACK audio plugins LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 \ ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ libjack.so:audio/jack \ libsamplerate.so:audio/libsamplerate \ libzita-convolver.so:audio/zita-convolver USES= compiler:c++11-lib gl gmake localbase:ldflags pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= zamaudio GH_TUPLE= DISTRHO:DPF:68b3a57:d/dpf USE_GL= gl USE_XORG= x11 CFLAGS+= -I${FILESDIR} MAKE_ARGS+= USE_SYSTEM_LIBS=1 HAVE_ZITA_CONVOLVER=true .include post-extract: @${RM} -r ${WRKSRC}/lib/zita-convolver-* post-patch: @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|' ${WRKSRC}/dpf/utils/generate-ttl.sh ${REINPLACE_CMD} -e 's/-mtune=generic//' \ ${WRKSRC}/dpf/Makefile.base.mk .if ! ${ARCH} == amd64 && ! ${ARCH} == i386 ${REINPLACE_CMD} -e 's/-msse -msse2//' \ ${WRKSRC}/dpf/Makefile.base.mk .endif .include diff --git a/audio/zynaddsubfx/Makefile b/audio/zynaddsubfx/Makefile index 6d87b0146e1c..ef17b3027bb4 100644 --- a/audio/zynaddsubfx/Makefile +++ b/audio/zynaddsubfx/Makefile @@ -1,116 +1,116 @@ # Created by: trasz PORTNAME= zynaddsubfx DISTVERSION= 3.0.6-rc3 PORTEPOCH= 1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MAINTAINER= hselasky@FreeBSD.org COMMENT= Realtime software synthesizer LICENSE= GPLv2 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libmxml.so:textproc/mxml \ liblo.so:audio/liblo USES= cmake:insource compiler:c++11-lang pkgconfig tar:bzip2 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= zynaddsubfx GH_TUPLE= DISTRHO:DPF:e0d8e14a14d407648768da7e34bcf31812245387:d/DPF \ fundamental:rtosc:7de244bae04deb5964516ba544e551d95e7f15ce:e/rtosc \ zynaddsubfx:instruments:39e17e1c5c3db56fe9d0308af28be90f172e455e:f/instruments OPTIONS_DEFINE= BASH OSS JACK GUI PORTAUDIO SNDIO LASH DOCS EXAMPLES OPTIONS_DEFAULT= OSS JACK GUI PORTAUDIO OPTIONS_RADIO= AUDIO OPTIONS_RADIO_AUDIO= ALSAMIDI DSSI OPTIONS_SUB= yes ALSAMIDI_DESC= MIDI input through ALSA DSSI_DESC= DSSI Plugin ALSAMIDI_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSAMIDI_CMAKE_OFF= -DAlsaEnable:BOOL=OFF BASH_DESC= Support for bash auto-completion BASH_BUILD_DEPENDS= bash-completion>=0:shells/bash-completion DSSI_LIB_DEPENDS= libdssialsacompat.so:audio/libdssialsacompat DSSI_BUILD_DEPENDS= dssi>0:audio/dssi DSSI_RUN_DEPENDS= dssi>0:audio/dssi DSSI_CFLAGS= -I${LOCALBASE}/include/dssi DSSI_CMAKE_OFF= -DDssiEnable:BOOL=OFF GUI_LIB_DEPENDS= libntk.so:x11-toolkits/ntk \ libpng.so:graphics/png \ libfontconfig.so:x11-fonts/fontconfig GUI_CMAKE_ON= -DGuiModule:STRING=ntk GUI_CMAKE_OFF= -DGuiModule:STRING=OFF GUI_USE+= XORG=x11,xext,xfixes,xcursor,xrender,ice,sm,xpm,xinerama,xft GUI_USE+= GL=gl,glu GUI_USES= gl gnome jpeg xorg OSS_CMAKE_ON= -DOssEnable:BOOL=ON OSS_CMAKE_OFF= -DOssEnable:BOOL=OFF LASH_LIB_DEPENDS= liblash.so:audio/lash LASH_CMAKE_OFF= -DLashEnable:BOOL=OFF JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_OFF= -DJackEnable:BOOL=OFF PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_OFF= -DPaEnable:BOOL=OFF SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_OFF= -DSndioEnable:BOOL=OFF PORTDOCS= * DOCSRCDIR1= ${WRKSRC} DOC_FILES1= AUTHORS.txt NEWS.txt DOCSRCDIR2= ${WRKSRC}/doc DOCSDIR2= ${DOCSDIR}/doc DOC_FILES2= adsynth.txt controller.txt envelope.txt filter.txt intro.txt \ lfo.txt mididefaults.txt nrpn.txt saving.txt zynaddsubfx.txt DOCSRCDIR3= ${WRKSRC}/doc/images DOCSDIR3= ${DOCSDIR}/doc/images DOC_FILES3= *.png *.jpg PORTEXAMPLES= * CMAKE_ARGS+= -DZYN_DATADIR:STRING=${DATADIR} CMAKE_ARGS+= -DZYN_EXAMPLESDIR:STRING=${EXAMPLESDIR} .include .if ${ARCH} == "i386" || ${ARCH} == "amd64" CFLAGS+= -DASM_F2I_YES .endif post-patch: @${REINPLACE_CMD} -e \ 's|-O3 .* -fomit-frame-pointer|| ; \ /-DASM_F2I_YES/d ; \ /-g #/d' ${WRKSRC}/src/CMakeLists.txt post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/banks \ ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${DOCSDIR2} \ ${STAGEDIR}${DOCSDIR3} \ ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/instruments/banks && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/banks) ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} ${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3} .include diff --git a/benchmarks/glmark2/Makefile b/benchmarks/glmark2/Makefile index 09d20c0937bd..e633763cf704 100644 --- a/benchmarks/glmark2/Makefile +++ b/benchmarks/glmark2/Makefile @@ -1,56 +1,56 @@ # Created by: Alexey Dokuchaev PORTNAME= glmark2 PORTVERSION= 2021.02 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= benchmarks PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= bd2c4ca8360a.patch:-p1 # https://github.com/glmark2/glmark2/issues/147 PATCHFILES+= 042bbea08fae.patch:-p1 # https://github.com/glmark2/glmark2/issues/155 MAINTAINER= danfe@FreeBSD.org COMMENT= Benchmark for OpenGL (ES) 2.0 LICENSE= GPLv3 LIB_DEPENDS= libpng.so:graphics/png USES= compiler:c++14-lang gl jpeg localbase:ldflags pkgconfig waf USE_GL= egl gl glesv2 USE_GITHUB= yes CONFIGURE_ARGS= --with-flavors=${PLATFORMS:ts,} --no-opt --no-debug PORTDOCS= NEWS OPTIONS_DEFINE= DOCS OPTIONS_MULTI= PLATFORM OPTIONS_MULTI_PLATFORM= DRM WAYLAND X11 OPTIONS_DEFAULT=DRM WAYLAND X11 OPTIONS_SUB= yes PLATFORM_DESC= Window systems DRM_DESC= KMS console support DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdrm.so:graphics/libdrm DRM_USE= GL=gbm DRM_VARS= PLATFORMS+="drm-gl drm-glesv2" WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ wayland-protocols>=1.12:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland WAYLAND_VARS= PLATFORMS+="wayland-gl wayland-glesv2" X11_USES= xorg X11_USE= XORG=x11 X11_VARS= PLATFORMS+="x11-gl x11-glesv2" post-patch: @${REINPLACE_CMD} -e "/lib/s/, 'dl'//" ${WRKSRC}/src/wscript_build post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/benchmarks/vkmark/Makefile b/benchmarks/vkmark/Makefile index dde324844947..f7ec5441783d 100644 --- a/benchmarks/vkmark/Makefile +++ b/benchmarks/vkmark/Makefile @@ -1,51 +1,52 @@ PORTNAME= vkmark DISTVERSION= 2017.08-24 DISTVERSIONSUFFIX= -g53abc4f +PORTREVISION= 1 CATEGORIES= benchmarks PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 27fa846e34ed.patch:-p1 # https://github.com/vkmark/vkmark/pull/29 MAINTAINER= jbeich@FreeBSD.org COMMENT= Vulkan benchmark LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING-LGPL2.1 BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers \ glm>0:math/glm LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \ libassimp.so:multimedia/assimp USES= compiler:c++14-lang localbase meson pkgconfig USE_GITHUB= yes OPTIONS_DEFINE= DRM WAYLAND X11 OPTIONS_DEFAULT=DRM WAYLAND X11 OPTIONS_EXCLUDE=${ARCH:Namd64:Ni386:Nx86_64:C/.+/DRM/} # https://github.com/vkmark/vkmark/issues/33 OPTIONS_SUB= yes DRM_DESC= KMS console support DRM_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan_intel.h:graphics/mesa-dri DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_USES= gl DRM_USE= GL=gbm DRM_MESON_TRUE= kms WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.12:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_MESON_TRUE= wayland X11_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm X11_USES= xorg X11_USE= XORG=xcb X11_MESON_TRUE= xcb post-patch: # 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 .include diff --git a/biology/molden/Makefile b/biology/molden/Makefile index 089279889f16..101b12f668b9 100644 --- a/biology/molden/Makefile +++ b/biology/molden/Makefile @@ -1,82 +1,82 @@ # Created by: Ryo MIYAMOTO PORTNAME= molden DISTVERSION= 5.8.2 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= biology MASTER_SITES= ftp://ftp.cmbi.umcn.nl/pub/molgraph/molden/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= jmd@FreeBSD.org COMMENT= Display molecular orbitals and electron densities in 2D and 3D LICENSE= Molden LICENSE_NAME= Molden LICENSE_FILE= ${WRKSRC}/CopyRight # free for academic, non profit usage; do not re-distribute source and executable. LICENSE_PERMS= auto-accept WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R} USES= fortran gl gmake xorg USE_XORG= x11 USE_GL= gl glu MAKEFILE= makefile MAKE_JOBS_UNSAFE=yes CFLAGS+= -D${OPSYS:tu} -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0 \ -I${LOCALBASE}/include -Wno-return-type PORTDOCS= * PORTDATA= * PLIST_FILES= bin/ambfor bin/gmolden bin/molden bin/surf PORTSCOUT= limit:^5\.0\. OPTIONS_DEFINE= DATA DOCS OPTIONS_DEFAULT= DATA post-patch: @${REINPLACE_CMD} -e \ 's|^CC |#CC | ; \ s|^FC |#FC | ; \ s|/usr/X11R6|${LOCALBASE}| ; \ s|$$(LIBS)|$$(LIBS) $$(LDFLAGS)| ; \ s|-lXmu|| ; \ /depend/s|^|#|' ${WRKSRC}/makefile post-configure: @${ECHO_MSG} "********************" @${ECHO_MSG} "** If you want to use a larger MOLDEN," @${ECHO_MSG} "** edit change_parameter.sh and run it," @${ECHO_MSG} "** before \'make build\'." @${ECHO_MSG} "********************" do-install: .for i in molden gmolden (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin) .endfor .for i in ambfor surf (cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}/${PREFIX}/bin) .endfor do-install-DATA-on: @${MKDIR} ${STAGEDIR}${DATADIR}/test (cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/test) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils) do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include .if ${GCC_DEFAULT} >= 10 # workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)). # in theory, this should set FCFLAGS, but the port does not conform FFLAGS+= -fallow-argument-mismatch .endif .include diff --git a/biology/ugene/Makefile b/biology/ugene/Makefile index f1d8b2834ae3..e7f773e0d0af 100644 --- a/biology/ugene/Makefile +++ b/biology/ugene/Makefile @@ -1,64 +1,65 @@ # Created by: Hannes Hauswedell PORTNAME= ugene PORTVERSION= 38.1 +PORTREVISION= 1 CATEGORIES= biology science MAINTAINER= h2+fbsdports@fsfe.org COMMENT= Integrated bioinformatics toolkit LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_aarch64= Fails to build: invokes x86 asm BROKEN_riscv64= Fails to build: invokes x86 asm RUN_DEPENDS= bash:shells/bash USE_GITHUB= yes GH_ACCOUNT= ugeneunipro USES= desktop-file-utils gl qmake qt:5 shared-mime-info sqlite xorg USE_GL= gl glu USE_QT= buildtools_build linguisttools_build \ core gui network opengl printsupport scripttools script \ sql svg testlib widgets xml \ imageformats_run USE_XORG= x11 xtst QMAKE_ARGS= INSTALL_PREFIX="${PREFIX}" UGENE_INSTALL_DATA="${DATADIR}" \ INSTALL_MANDIR="${MAN1PREFIX}/man" \ UGENE_LRELEASE="${LRELEASE}" UGENE_LUPDATE="${LUPDATE}" \ UGENE_USE_BUNDLED_SQLITE=0 ALL_TARGET= release CXXFLAGS_i386= -msse2 OPTIONS_DEFINE= OPENCL OPENCL_QMAKE_ON= UGENE_OPENCL_DETECTED=1 .include .if ${ARCH} == i386 QMAKE_ARGS+= CONFIG+=x86 .endif post-patch: # yes, bash is required, stuff will not execute with sh @${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' \ ${WRKSRC}/src/gen_bin_script.cmd \ ${WRKSRC}/installer/_common_data/ugene @${REINPLACE_CMD} -e 's|-bit version|& for ${OPSYS}/${ARCH}|' \ ${WRKSRC}/src/ugeneui/src/main_window/AboutDialogController.cpp @${REINPLACE_CMD} 's, -lbreakpad$$$$D,,' \ ${WRKSRC}/src/corelibs/U2Private/U2Private.pri \ ${WRKSRC}/src/plugins_checker/plugins_checker.pri \ ${WRKSRC}/src/ugenecl/ugenecl.pri \ ${WRKSRC}/src/ugeneui/ugeneui.pri @${REINPLACE_CMD} -e '218,220s|NULL)|false)|' \ ${WRKSRC}/src/plugins/GUITestBase/src/GTUtilsMdi.cpp post-stage: @cd ${STAGEDIR}${PREFIX} && ${RM} bin/ecp.* lib/ugene/ecp.* .include diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile index 8f216df2963c..ecf6aaa783ea 100644 --- a/cad/PrusaSlicer/Makefile +++ b/cad/PrusaSlicer/Makefile @@ -1,38 +1,38 @@ PORTNAME= PrusaSlicer DISTVERSIONPREFIX=version_ DISTVERSION= 2.3.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= cad MAINTAINER= teodorsigaev@gmail.com COMMENT= Slicing application for 3D printers LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtbb.so:devel/tbb \ libboost_log.so:devel/boost-libs \ libImath.so:math/Imath \ libnlopt.so:math/nlopt \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libopenvdb.so:misc/openvdb \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libdbus-1.so:devel/dbus \ libpng.so:graphics/png BUILD_DEPENDS= cereal>=1.3.0.10:devel/cereal \ cgal>=5.0.2:math/cgal USES= cmake desktop-file-utils eigen:3 gettext gl iconv pkgconfig CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DSLIC3R_GTK=3 \ -DSLIC3R_FHS=1 USE_GITHUB= yes GH_ACCOUNT= prusa3d USE_WX= 3.1 USE_GL= gl glu glew PORTDATA= * .include diff --git a/cad/brlcad/Makefile b/cad/brlcad/Makefile index 24a37c48f701..2e30321b066b 100644 --- a/cad/brlcad/Makefile +++ b/cad/brlcad/Makefile @@ -1,64 +1,65 @@ # Created by: Pedro F. Giffuni PORTNAME= brlcad PORTVERSION= 7.30.2 DISTVERSIONSUFFIX= -1 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/BRL-CAD%20Source/${PORTVERSION} MAINTAINER= erik@brlcad.org COMMENT= CSG modelling system from the US Ballistic Research Laboratory WRKSRC=${WRKDIR}/${PORTNAME}-${PORTVERSION} LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_sparc64= does not compile: invokes i386 assembler BUILD_DEPENDS= xsltproc:textproc/libxslt LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig USES= bison:alias cmake:insource gl pathfix pkgconfig python:env \ tar:bzip2 tk xorg USE_GL= gl glu USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft xi \ xorgproto xrender xscrnsaver xt xxf86vm USE_LDCONFIG= yes CONFLICTS_INSTALL= py[23][0-9]-epsilon NO_MTREE= yes PLIST_SUB+= PORTVERSION=${PORTVERSION} CMAKE_OFF= BRLCAD_ENABLE_STRICT CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME} MANPREFIX= ${PREFIX}/${PORTNAME}/share TEST_TARGET= check post-patch: @${REINPLACE_CMD} -e 's+-exact Tcl 8\.5\.9+Tcl 8.5+' \ ${WRKSRC}/src/other/tcl/library/init.tcl @${REINPLACE_CMD} -e '2745s+^+include(CheckSymbolExists)+' \ ${WRKSRC}/CMakeLists.txt pre-install: ${CP} ${FILESDIR}/mged.sh ${WRKSRC} ${REINPLACE_CMD} -e 's+%%BRLCAD_ROOT%%+${PREFIX}/${PORTNAME}+g;' ${WRKSRC}/mged.sh # note that installing outside of PREFIX wigs out package stuff... :/ post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/mged.sh ${STAGEDIR}${PREFIX}/bin/mged.sh regression-test: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test) .include diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile index acae57d95636..853d8342e6fd 100644 --- a/cad/calculix/Makefile +++ b/cad/calculix/Makefile @@ -1,93 +1,94 @@ # Created by: Pedro Giffuni PORTNAME= calculix PORTVERSION= 2.17.1 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://www.dhondt.de/ DISTFILES= ${DIST_SOURCES} DIST_SUBDIR= calculix EXTRACT_ONLY= ${DIST_SOURCES} MAINTAINER= pfg@FreeBSD.org COMMENT= Three-Dimensional Structural Finite Element Program LICENSE= GPLv2 RUN_DEPENDS= ccx:cad/calculix-ccx USES= gl gmake tar:bzip2 compiler:c++11-lib xorg USE_XORG= ice sm x11 xext xi xmu xt USE_GL= gl glu # uses its own glut DIST_SOURCES= cgx_${PORTVERSION}.all${EXTRACT_SUFX} DIST_HTM= cgx_${PORTVERSION}.htm${EXTRACT_SUFX} DIST_PDF= cgx_${PORTVERSION}.pdf DIST_EXAMPLES= cgx_${PORTVERSION}.exa${EXTRACT_SUFX} WRKSRC= ${WRKDIR}/CalculiX CGX_VER= cgx_${PORTVERSION} CXXFLAGS+= -std=c++98 BROWSER?= firefox PSVIEWER?= gv OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MEXAMPLES} DISTFILES+= ${DIST_EXAMPLES} EXTRACT_ONLY+= ${DIST_EXAMPLES} .endif .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${DIST_HTM} ${DIST_PDF} EXTRACT_ONLY+= ${DIST_HTM} DOCSDIR= ${PREFIX}/share/doc/CalculiX .endif .if ${ARCH} == "sparc64" CFLAGS+= -fPIC FFLAGS+= -fPIC .else CFLAGS+= -fpic FFLAGS+= -fpic .endif pre-build: @${REINPLACE_CMD} -e 's!c++!${CXX}!g;' \ ${WRKSRC}/libSNL/src/makefile @${REINPLACE_CMD} -e 's+%%DOCSDIR%%+${DOCSDIR}+g; \ s+"firefox"+"${BROWSER}"+ ; \ s+"gv"+"${PSVIEWER}"+ ;' \ ${WRKSRC}/${CGX_VER}/src/cgx.h @${REINPLACE_CMD} -e 's!CalculiX/${CGX_VER}/doc!share/doc/CalculiX!g;' \ ${WRKSRC}/${CGX_VER}/src/cgx.h do-build: @(cd ${WRKSRC}/libSNL/src; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ) @(cd ${WRKSRC}/${CGX_VER}/src; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${CGX_VER}/src/cgx \ ${STAGEDIR}${PREFIX}/bin/cgx .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR}/cgx @(cd ${WRKSRC}/${CGX_VER}/doc/cgx && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}/cgx) ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DIST_PDF} \ ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} # Some garbage crept in @${RM} ${WRKSRC}/${CGX_VER}/examples/OpenFOAM/couette/constant/polyMesh/*~ @${RM} ${WRKSRC}/${CGX_VER}/examples/OpenFOAM/couette/constant/*~ @${RM} ${WRKSRC}/${CGX_VER}/examples/OpenFOAM/couette/system/*~ @${RM} ${WRKSRC}/${CGX_VER}/examples/ifwhiledemo/*.*~ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/${CGX_VER}/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) .endif .include diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile index ed8dec413c9d..c173b88dde18 100644 --- a/cad/freecad/Makefile +++ b/cad/freecad/Makefile @@ -1,77 +1,78 @@ PORTNAME= FreeCAD DISTVERSION= 0.19.2 +PORTREVISION= 1 # use these for bugfixes/snapshots # DISTVERSION= 0.18-16093 # git rev-list --count # DISTVERSIONSUFFIX= -g690774c0e CATEGORIES= cad MAINTAINER= cmt@FreeBSD.org COMMENT= General purpose 3D CAD modeller LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyside2-tools>5.14.0:devel/pyside2-tools@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib@${PY_FLAVOR} \ swig:devel/swig LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ ${PY_BOOST} \ libpyside2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/pyside2@${PY_FLAVOR} \ libCoin.so:graphics/Coin \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libvtkFiltersTexture-8.2.so:math/vtk8 \ libTKernel.so:cad/opencascade \ libxerces-c.so:textproc/xerces-c3 \ libboost_thread.so:devel/boost-libs \ libarea.so:devel/libarea \ libmed.so:french/med \ libmpi.so:net/openmpi \ libshiboken2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/shiboken2@${PY_FLAVOR} \ libhdf5.so:science/hdf5 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pivy>0:graphics/py-pivy@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib@${PY_FLAVOR} USES= dos2unix compiler:c++11-lib cmake gl eigen:3 fortran jpeg \ localbase:ldflags pkgconfig python:3.7+ localbase qt:5 xorg USE_GITHUB= yes USE_XORG= ice sm x11 xext xt USE_GL= gl glu USE_QT= buildtools concurrent core gui network opengl printsupport \ qmake_build svg webkit widgets xml xmlpatterns USE_LDCONFIG= yes DOS2UNIX_GLOB= *.txt *.h *.cpp *.py *.qss *.csv *.pov *.stp *.ui *.wrl *.WRL CMAKE_ARGS+= -DOCC_INCLUDE_DIR="${LOCALBASE}/include/OpenCASCADE" \ -DOPENMPI_INCLUDE_DIRS="${LOCALBASE}/mpi/openmpi/include" \ -DBUILD_QT5="ON" \ -DPYTHON_LIBRARY="${PYTHONBASE}/lib/libpython${PYTHON_VER}${PYTHON_ABIVER}.so" \ -DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" \ -DPYTHON_PACKAGES_PATH="${PYTHON_SITELIBDIR}" \ -DPYTHON_EXECUTABLE="${PYTHON_CMD}" \ -DBUILD_ASSEMBLY="OFF" -DBUILD_FLAT_MESH="ON" \ -DPYSIDE2RCCBINARY="${LOCALBASE}/bin/rcc" \ -DPYSIDE2UICBINARY="${LOCALBASE}/bin/uic" \ -DVTK_DIR:PATH=${LOCALBASE}/lib/vtk-8.2/cmake/vtk-8.2 CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME} OPTIONS_DEFINE= COLLADA COLLADA_DESC= Install pycollada for Collada files import COLLADA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycollada>0:graphics/py-pycollada@${PY_FLAVOR} DESKTOP_ENTRIES=${PORTNAME} "" "${PREFIX}/FreeCAD/data/freecad.svg" \ ${PORTNAME} "Graphics;Engineering;" false post-patch: @${REINPLACE_CMD} -e '/self\.rev/s/Unknown/${DISTVERSION:C/.*-//}/' \ ${WRKSRC}/src/Tools/SubWCRev.py post-install: ${LN} -s ../${PORTNAME}/bin/FreeCAD ${STAGEDIR}${LOCALBASE}/bin/FreeCAD ${LN} -s ../${PORTNAME}/bin/FreeCADCmd ${STAGEDIR}${LOCALBASE}/bin/FreeCADCmd .include diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile index a031e9cd05ee..1d50a93ad9eb 100644 --- a/cad/gmsh/Makefile +++ b/cad/gmsh/Makefile @@ -1,69 +1,69 @@ # Created by: Pedro Giffuni PORTNAME= gmsh DISTVERSION= 4.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad MASTER_SITES= LOCAL/wen \ LOCAL/zeising \ http://gmsh.info/src/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source DIST_SUBDIR= gmsh MAINTAINER= wen@FreeBSD.org COMMENT= Automatic 3D finite element mesh generator LICENSE= AGPLv3+ APACHE20 GPLv3+ GPLv2+ LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig \ libgmp.so:math/gmp \ libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libsz.so:science/szip \ libfreetype.so:print/freetype2 RUN_DEPENDS= getdp:science/getdp USES= blaslapack compiler:c++11-lang cmake fortran gl jpeg tar:tgz \ xorg USE_GL= gl glu USE_XORG= x11 xcursor xext xinerama xfixes xft xrender CMAKE_ARGS= -DCMAKE_SKIP_RPATH:BOOL=YES OPTIONS_DEFINE= CGNS DOCS MED OCC SHARED STATIC OPTIONS_DEFAULT= CGNS MED OCC OPTIONS_SUB= yes CGNS_DESC= Enable CGNS mesh import MED_DESC= Enable MED mesh and post file formats OCC_DESC= Enable OpenCASCADE geometrical models SHARED_DESC= Build shared library and install header files STATIC_DESC= Build static library PLIST_SUB= VER=${PORTVERSION} VE=${PORTVERSION:R} # TODO # Dependencies against PythonLibs, swig and petsc are found and registered if # installed # => add knobs to handle them. CGNS_CMAKE_BOOL= ENABLE_CGNS CGNS_LIB_DEPENDS= libcgns.so:science/cgnslib DOCS_CMAKE_BOOL= INSTALL_DOCS MED_CMAKE_BOOL= ENABLE_MED MED_LIB_DEPENDS= libmed.so:french/med OCC_CMAKE_BOOL= ENABLE_OCC OCC_CMAKE_ON= -DOCC_INC=${LOCALBASE}/include/OpenCASCADE OCC_LIB_DEPENDS= libopenblas.so:math/openblas libTKernel.so:cad/opencascade OCC_USES= gnome OCC_USE= gnome=cairo SHARED_CMAKE_BOOL= ENABLE_BUILD_SHARED SHARED_USE= LDCONFIG=yes STATIC_CMAKE_BOOL= ENABLE_BUILD_LIB post-install-SHARED-on: ${RM} -r ${STAGEDIR}/wrkdirs .include diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile index 951865550ac0..2a50cd98f6b5 100644 --- a/cad/kicad-devel/Makefile +++ b/cad/kicad-devel/Makefile @@ -1,165 +1,165 @@ # Created by: Michael Reifenberger PORTNAME= kicad DISTVERSION= r${GIT_SRC_DATE} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= cad PKGNAMESUFFIX= -devel DIST_SUBDIR= ${PORTNAME} MAINTAINER= mr@FreeBSD.org COMMENT= Schematic and PCB editing software LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/bin/git:devel/git \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ ${LOCALBASE}/bin/swig:devel/swig LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libngspice.so:cad/ngspice_rework@shlib \ libTKernel.so:cad/opencascade \ libpixman-1.so:x11/pixman \ libpng.so:graphics/png \ libcurl.so:ftp/curl CONFLICTS= kicad-4.* USE_GITLAB= yes GL_ACCOUNT= kicad/code GL_PROJECT= kicad GL_COMMIT= ${GIT_SRC_HASH} CXXFLAGS+= --std=c++14 -I${WRKSRC} -I${WRKSRC}/include -I${LOCALBASE}/include USE_GL= gl glew glu glut USE_WX= 3.0 WX_COMPS= wx python:lib USE_GNOME= atk cairo # Required by libwx_gtk2_aui-2.8.so USE_XORG+= ice pixman x11 xext BROKEN_aarch64= Fails to compile: use of undeclared identifier builtin_ia32_emms OPTIONS_DEFINE= DOCS PLIST_SUB= OPSYS=${OPSYS} \ DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} BINS= cvpcb eeschema gerbview kicad pcbnew EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \ contrib_makefiles.txt running_kicad_under_W98.txt USES= desktop-file-utils shared-mime-info compiler:c++14-lang tar:bzip2 cmake:insource,noninja \ gettext pkgconfig python:3.5+ shebangfix ssl gl xorg gnome SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \ -DCMAKE_BUILD_TYPE="Debug" \ -DKICAD_TESTING_VERSION=ON \ -DKICAD_VERSION=${DISTVERSION} \ -DCMAKE_INCLUDE_PATH="${WRKSRC}/include ${LOCALBASE}/include" \ -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DwxWidgets_USE_DEBUG=ON \ -DwxWidgets_USE_USE_UNICODE=ON \ -DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD} \ -DKICAD_SCRIPTING=ON \ -DKICAD_SCRIPTING_MODULES=ON \ -DKICAD_SCRIPTING_PYTHON3=ON \ -DKICAD_SCRIPTING_WXPYTHON=ON \ -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON \ -DKICAD_SKIP_BOOST=YES \ -DKICAD_SPICE=ON \ -DKICAD_USE_OCE=OFF \ -DKICAD_USE_OCC=ON \ -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE USE_LDCONFIG= yes INSTALLS_ICONS= yes .include "Makefile.git_rev" showversions: @${ECHO} "GIT_SRC_HASH: ${GIT_SRC_HASH}" @${ECHO} "GIT_SRC_DATE: ${GIT_SRC_DATE}" @${ECHO} "DISTDIR: ${DISTDIR}" @${ECHO} "DIST_SUBDIR: ${DIST_SUBDIR}" @${ECHO} "DISTNAME: ${DISTNAME}" @${ECHO} "DISTVERSION: ${DISTVERSION}" # Updating to new rev: # sh files/newVersion.sh # make makesum && make clean # make install #breaks probably due to plist differences # make makeplist > pkg-plist #One has to edit/review the generated plist # make generate-plist && make check-plist # < Check PLIST_FILE_LIST below > tmp: echo "${DATADIR} ${DATADIR:H}" # The CheckCXXSymbolExists module has been shipped with CMake since 3.0 times. # The ancient implementation that this bundled module uses, no longer works # because it uses CMake internals that have gone away in 3.11. post-extract: ${RM} ${WRKSRC}/CMakeModules/CheckCXXSymbolExists.cmake pre-configure: ${REINPLACE_CMD} -e 's|/usr/share/kicad|${DATADIR}|' \ -e 's|/usr/local|${PREFIX}|' \ ${WRKSRC}/common/gestfich.cpp ${REINPLACE_CMD} -e 's|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp post-configure: ${REINPLACE_CMD} -e 's|#define HAVE_ISO646_H|//#define HAVE_ISO646_H|' \ ${WRKSRC}/config.h for f in `${FIND} ${WRKSRC} -name \*.make -o -name link.txt` ; do \ ${REINPLACE_CMD} \ -e 's|CC = gcc|#CC = gcc|' \ -e 's|LD = gcc|LD = ${CC}|' \ -e 's|LD = g++|LD = ${CXX}|' \ -e 's|wx-config|${WX_CONFIG}|' \ -e 's|CXX_FLAGS =|CXX_FLAGS = ${WRKSRC}/include -I${LOCALBASE}/include|' \ -e 's|C_FLAGS =|C_FLAGS = ${WRKSRC}/include -I${LOCALBASE}/include|' \ -e 's|LDFLAGS =|LDFLAGS += -L${LOCALBASE}/lib|' \ -e 's|gcc -D|${CC} -D|' \ -e 's/-pthread;-D_THREAD_SAFE/-pthread -D_THREAD_SAFE/g' \ $$f ; \ done pre-install: @echo "${DATADIR}, ${DOCSDIR}" #post-install: #.for subdir in library modules template # ${CP} -Rp ${WRKDIR}/kicad-library-master/${subdir} ${STAGEDIR}${DATADIR} #.endfor #.for subdir in internat # ${CP} -Rp ${WRKDIR}/kicad-doc/${subdir} ${STAGEDIR}${DOCSDIR} #.endfor PLIST_FILE_LIST= bin/freeroute.jnlp \ bin/cvpcb \ bin/eeschema \ bin/gerbview \ bin/kicad \ bin/pcbnew \ bin/pl_editor \ bin/bitmap2component \ bin/pcb_calculator \ share/mimelnk/application/x-kicad-schematic.desktop \ share/mimelnk/application/x-kicad-project.desktop \ share/icons/hicolor/24x24/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/48x48/apps/kicad.png \ share/icons/hicolor/48x48/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/scalable/apps/kicad.svg \ share/icons/hicolor/scalable/mimetypes/application-x-kicad-project.svg \ share/icons/hicolor/16x16/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/32x32/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/22x22/mimetypes/application-x-kicad-project.png \ share/mime/packages/kicad.xml \ share/applications/kicad.desktop \ share/applications/eeschema.desktop PLIST_DIR_LIST= lib/kicad PLIST_SHAREDDIR_LIST= share/mimelnk/application \ share/mimelnk .include diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile index 56aabeac7a02..503e9c0bdb5a 100644 --- a/cad/kicad/Makefile +++ b/cad/kicad/Makefile @@ -1,73 +1,74 @@ # Created by: Thierry Thomas PORTNAME= kicad PORTVERSION= 5.1.10 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= cad MASTER_SITES= https://gitlab.com/${PORTNAME}/code/${PORTNAME}/-/archive/${DISTVERSION}/ MAINTAINER= cmt@FreeBSD.org COMMENT= Schematic and PCB editing software LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm \ swig:devel/swig LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libngspice.so:cad/ngspice_rework@shlib \ libTKernel.so:cad/opencascade \ libpixman-1.so:x11/pixman \ libpng.so:graphics/png \ libcurl.so:ftp/curl CONFLICTS= kicad-devel-r201* USES= cmake:noninja compiler:c++11-lib desktop-file-utils gl \ gnome pkgconfig python:3.5+ shared-mime-info shebangfix ssl \ tar:bz2 xorg SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py USE_XORG= ice x11 xext USE_GL= gl glew glu glut USE_WX= 3.0 WX_COMPS= python:lib wx USE_GNOME= atk cairo CXXFLAGS+= --std=c++11 -I${WRKSRC}/include -I${LOCALBASE}/include CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} \ -DwxWidgets_USE_UNICODE=ON \ -DKICAD_SCRIPTING_WXPYTHON=ON \ -DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD} \ -DKICAD_SCRIPTING=ON \ -DKICAD_SCRIPTING_MODULES=ON \ -DKICAD_SCRIPTING_PYTHON3=ON \ -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON \ -DKICAD_USE_OCE=OFF \ -DKICAD_USE_OCC=ON \ -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE USE_LDCONFIG= yes INSTALLS_ICONS= yes PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} OPTIONS_DEFINE= DOCS DOXYGEN NLS OPTIONS_SUB= yes NLS_USES= gettext DOXYGEN_VARS= LICENSE+=GFDL LICENSE_COMB=multi DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS DOXYGEN_ALL_TARGET= all doxygen-docs DOXYGEN_PORTDOCS= doxygen pre-configure: ${REINPLACE_CMD} -e 's|/usr/share/kicad|${DATADIR}|' \ -e 's|/usr/local|${PREFIX}|' \ ${WRKSRC}/common/gestfich.cpp ${REINPLACE_CMD} -e 's|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp post-install-DOCS-on: (cd ${WRKSRC}/Documentation && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/cad/klayout/Makefile b/cad/klayout/Makefile index 8b81b12fd764..76384db137b6 100644 --- a/cad/klayout/Makefile +++ b/cad/klayout/Makefile @@ -1,52 +1,52 @@ PORTNAME= klayout PORTVERSION= 0.25.8 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= cad MAINTAINER= hrs@FreeBSD.org COMMENT= Qt-based GDS2 Viewer LICENSE= GPLv2 BROKEN_i386= type 'hash' does not provide a call operator BROKEN_sparc64= Does not compile on sparc64: gcc bug USES= compiler:c++0x gmake gl python qt:5 USE_GITHUB= yes GH_ACCOUNT= KLayout USE_GL= gl USE_RUBY= yes USE_QT= core buildtools designer gui multimedia network printsupport \ qmake sql svg testlib widgets xml xmlpatterns USE_LDCONFIG= yes CXXFLAGS+= -fPIC -I${LOCALBASE}/include/qt5 LDFLAGS+= ${LIBS} -L${LOCALBASE}/lib/qt5 -lpthread QT5MODULES= Core Designer Gui Multimedia MultimediaWidgets \ Network PrintSupport Sql Svg Test Widgets Xml XmlPatterns .for M in ${QT5MODULES} CXXFLAGS+= -I${LOCALBASE}/include/qt5/Qt${M} LIBS+= -lQt5${M} .endfor MAKE_ENV= INSTALL_ROOT=${STAGEDIR} BUILD_WRKSRC= ${WRKSRC}/build-release INSTALL_WRKSRC= ${WRKSRC}/build-release do-configure: cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${SH} build.sh \ -with-qtbinding \ -qt5 \ -rpath ${LOCALBASE}/lib \ -prefix ${PREFIX} \ -python ${PYTHON_CMD} \ -ruby ${RUBY} \ -dry-run post-install: cd ${STAGEDIR}${PREFIX} && \ ${MV} libklayout* ${STAGEDIR}${PREFIX}/lib && \ ${MV} klayout strm* ${STAGEDIR}${PREFIX}/bin .include diff --git a/cad/ldview/Makefile b/cad/ldview/Makefile index fb3c4ec0aadc..28a3d9d945fa 100644 --- a/cad/ldview/Makefile +++ b/cad/ldview/Makefile @@ -1,43 +1,44 @@ PORTNAME= ldview DISTVERSIONPREFIX= v DISTVERSION= 4.4_Beta5 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org COMMENT= LDraw model viewer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../license.txt LIB_DEPENDS= lib3ds.so:graphics/lib3ds \ libgl2ps.so:print/gl2ps \ libOSMesa.so:graphics/libosmesa \ libpng16.so:graphics/png \ libtinyxml.so:textproc/tinyxml RUN_DEPENDS= bash:shells/bash \ ldraw>0:cad/ldraw USES= desktop-file-utils gl gmake jpeg qmake qt:5 shared-mime-info shebangfix xorg USE_QT= core gui linguist opengl printsupport widgets buildtools_build qmake_build USE_GL= gl glu USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= tcobbs SHEBANG_FILES= desktop/ldraw-thumbnailer WRKSRC_SUBDIR= QT QMAKE_ARGS= MANDIR=${PREFIX}/man CONFIG+=EXPORT_3DS post-patch: @${REINPLACE_CMD} -e 's|"/usr/share/ldraw"|"${PREFIX}/share/ldraw"|' ${WRKSRC}/ModelViewerWidget.cpp pre-configure: @cd ${WRKSRC} && lrelease LDView.pro post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/LDView .include diff --git a/cad/leocad/Makefile b/cad/leocad/Makefile index 93b189ff79e1..c35093228231 100644 --- a/cad/leocad/Makefile +++ b/cad/leocad/Makefile @@ -1,29 +1,30 @@ # Created by: David Yeske PORTNAME= leocad DISTVERSIONPREFIX= v DISTVERSION= 21.06 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org COMMENT= CAD program for creating virtual LEGO models LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt RUN_DEPENDS= ldraw>0:cad/ldraw USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 shared-mime-info xorg USE_GITHUB= yes GH_ACCOUNT= leozide USE_QT= core gui concurrent network opengl printsupport widgets xml buildtools_build linguisttools_build USE_GL= gl QMAKE_ARGS= INSTALL_PREFIX=${PREFIX} MAN_DIR=${PREFIX}/man/man1 LDRAW_LIBRARY_PATH=${PREFIX}/share/ldraw PORTSCOUT= limit:^[0-9\.]*$$ # to ignore the 'continuous' tag post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/leocad .include diff --git a/cad/librecad/Makefile b/cad/librecad/Makefile index cc9e5da78917..9523a5e6ac53 100644 --- a/cad/librecad/Makefile +++ b/cad/librecad/Makefile @@ -1,50 +1,51 @@ PORTNAME= librecad DISTVERSION= 2.2.0-rc2 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= jhale@FreeBSD.org COMMENT= 2D CAD system LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/licenses/gpl-2.0.txt BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs LIB_DEPENDS= libmuparser.so:math/muparser \ libfreetype.so:print/freetype2 USES= compiler:c++11-lib desktop-file-utils pkgconfig gl qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= LibreCAD GH_PROJECT= LibreCAD USE_GL= gl USE_QT= core gui printsupport svg widgets \ buildtools_build linguisttools_build QMAKE_ARGS+= BOOST_DIR="${LOCALBASE}" post-patch: @${REINPLACE_CMD} -e 's|QMAKE_CXXFLAGS += -g||' \ ${WRKSRC}/common.pri @${REINPLACE_CMD} -e 's|lrelease|${LRELEASE}|' \ ${WRKSRC}/scripts/postprocess-unix.sh @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/librecad/src/lib/engine/rs_settings.cpp \ ${WRKSRC}/librecad/src/lib/engine/rs_system.cpp pre-install: @${CHMOD} +w ${WRKSRC}/unix/resources/plugins/*.so @${STRIP_CMD} ${WRKSRC}/unix/resources/plugins/*.so do-install: ${INSTALL_PROGRAM} ${WRKSRC}/unix/librecad ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/unix/ttf2lff ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC}/unix/resources && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo ${INSTALL_DATA} ${WRKSRC}/unix/appdata/librecad.appdata.xml \ ${STAGEDIR}${PREFIX}/share/metainfo ${INSTALL_DATA} ${WRKSRC}/desktop/librecad.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/librecad/res/main/librecad.png \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/cad/librepcb/Makefile b/cad/librepcb/Makefile index 69a4ffc6d36c..4526df12d98d 100644 --- a/cad/librepcb/Makefile +++ b/cad/librepcb/Makefile @@ -1,37 +1,38 @@ PORTNAME= librepcb DISTVERSION= 0.1.5 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org COMMENT= Schematic and PCB editing software LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 shared-mime-info USE_GITHUB= yes GH_ACCOUNT= LibrePCB GH_PROJECT= LibrePCB GH_TUPLE= \ LibrePCB:hoedown:dae7992:hoedown/libs/hoedown \ LibrePCB:quazip:e13d52b:quazip/libs/quazip \ LibrePCB:googletest:2a26840:googletest/libs/googletest \ LibrePCB:librepcb-test-data:c1912fd5c2123d5e530da7784381ec8a7fca23ad:LibrePCB_librepcb_test_data/tests/data \ LibrePCB:parseagle:e3ef228:parseagle/libs/parseagle \ LibrePCB:sexpresso:5020552:sexpresso/libs/sexpresso \ fontobene:fontobene-qt5:0f75902:fontobene_lib/libs/fontobene-qt5 \ LibrePCB:fontobene-fonts:f197bc5:fontobene_share/share/librepcb/fontobene \ LibrePCB:delaunay-triangulation:bd71456:delaunay_triangulation/libs/delaunay-triangulation \ LibrePCB:librepcb-fonts:c30f3b9:librepcb_fonts/share/librepcb/fonts \ LibrePCB:optional:89d6d30:optional/libs/optional \ LibrePCB:type_safe:206f0db:type_safe/libs/type_safe \ LibrePCB:librepcb-i18n:efc96aa:i18n/i18n \ LibrePCB:muparser:28a90191aa80889e29d80d5c0ab842b2bcd1ba95:LibrePCB_muparser/libs/muparser \ foonathan:debug_assert:130adcb:debug_assert/libs/type_safe/external/debug_assert USE_QT= concurrent core gui network opengl printsupport sql svg xml widgets buildtools_build testlib_build USE_GL= gl post-install: # installs unnecessary headers: https://github.com/LibrePCB/LibrePCB/issues/781 @${RM} -r ${STAGEDIR}${PREFIX}/include/fontobene-qt5 .include diff --git a/cad/magic/Makefile b/cad/magic/Makefile index 02e81e4e0f31..3567a646f7b2 100644 --- a/cad/magic/Makefile +++ b/cad/magic/Makefile @@ -1,61 +1,62 @@ # Created by: swallace PORTNAME= magic DISTVERSION= 8.3.145 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://opencircuitdesign.com/magic/archive/ MAINTAINER= hrs@FreeBSD.org COMMENT= Interactive editor for VLSI layouts LICENSE= MIT LICENSE_FILE= ${FILESDIR}/license.txt LIB_DEPENDS= libBLT25.so:x11-toolkits/blt \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= bash:shells/bash USES= gmake gnome gl localbase python:3.6+,build shebangfix tk:tea tar:tgz xorg USE_GNOME= cairo USE_XORG= ice x11 xext xi xmu USE_GL= gl glu SHEBANG_FILES= scripts/preproc.py tcltk/magic.sh.in tcltk/ext2sim.sh.in tcltk/ext2spice.sh.in CONFIGURE_ARGS= --with-opengl CONFIGURE_WRKSRC= ${WRKSRC}/scripts ALL_TARGET= tcllibrary CFLAGS+= -Wno-return-type # workaround for https://github.com/RTimothyEdwards/magic/issues/67 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib DESKTOP_ENTRIES="Magic" "" "" "${PORTNAME}" "" "" PORTSCOUT= limit:^8\. post-patch: @${REINPLACE_CMD} -e \ 's|^#!.*|#!${AWK} -f|' ${WRKSRC}/ext2spice/spice2sim @${REINPLACE_CMD} -e \ 's|TCL_LIB_NAME=.*|TCL_LIB_NAME="tcl${TCL_VER:S/.//}"|g ; \ s|TK_LIB_NAME=.*|TK_LIB_NAME="tk${TK_VER:S/.//}"|g ; \ s|wish$${TK_VERSION}|${WISH:T}|g ; \ s|tclsh$${TK_VERSION}|${TCLSH:T}|g ; \ s|-l/usr/X11R6/include|-I${LOCALBASE}/include|g' \ ${CONFIGURE_WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|^#!.*|#!${TCLSH}|' ${WRKSRC}/tcltk/strip_reflibs.tcl @${REINPLACE_CMD} -e \ 's|^#!.*|#!${WISH}|' ${WRKSRC}/tcltk/tkshell.tcl pre-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} database/database.h post-install: @cd ${STAGEDIR}${PREFIX}/lib/magic/tcl && ${STRIP_CMD} magicexec magicdnull tclmagic.so .include diff --git a/cad/meshlab/Makefile b/cad/meshlab/Makefile index 19445ed89ade..5a1dafd4ff64 100644 --- a/cad/meshlab/Makefile +++ b/cad/meshlab/Makefile @@ -1,41 +1,42 @@ # Created by: gahr PORTNAME= meshlab DISTVERSIONPREFIX= Meshlab- DISTVERSION= 2020.05 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= lbartoletti@FreeBSD.org COMMENT= 3D triangular meshes processing and editing tool LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/vcglib/img/img.h:devel/vcglib LIB_DEPENDS= libmpirxx.so:math/mpir USES= compiler:c++11-lang dos2unix gl qmake:outsource qt:5 USE_GL= gl glu glew USE_QT= buildtools_build core gui network \ opengl script xml xmlpatterns widgets USE_GITHUB= yes GH_ACCOUNT= cnr-isti-vclab USE_LDCONFIG= yes QMAKE_SOURCE_PATH= ${WRKSRC}/src/meshlab.pro DOS2UNIX_GLOB= *.c *.cpp *.h post-patch: ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/general.pri do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/meshlab/plugins cd ${BUILD_WRKSRC}/distrib/plugins && ${INSTALL_LIB} *.so ${STAGEDIR}${PREFIX}/lib/meshlab/plugins ${MKDIR} ${STAGEDIR}${PREFIX}/lib/meshlab/shaders cd ${WRKSRC}/distrib/shaders && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/meshlab/shaders ${INSTALL_LIB} ${BUILD_WRKSRC}/distrib/lib/* ${STAGEDIR}${PREFIX}/lib ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/distrib/meshlab ${STAGEDIR}${PREFIX}/lib/meshlab ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/distrib/meshlabserver ${STAGEDIR}${PREFIX}/lib/meshlab ${RLN} ${STAGEDIR}${PREFIX}/lib/meshlab/meshlab ${STAGEDIR}${PREFIX}/bin ${RLN} ${STAGEDIR}${PREFIX}/lib/meshlab/meshlabserver ${STAGEDIR}${PREFIX}/bin .include diff --git a/cad/netgen/Makefile b/cad/netgen/Makefile index 4e5030ae75f8..e12d84145757 100644 --- a/cad/netgen/Makefile +++ b/cad/netgen/Makefile @@ -1,47 +1,48 @@ # Created by: Thierry Thomas PORTNAME= netgen PORTVERSION= 6.2.2103 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= stephen@FreeBSD.org COMMENT= Automatic 3D tetrahedral mesh generator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= relies on rdtsc() call and the TSC is specific to x86 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ git:devel/git USES= cmake python tcl tk gl xorg USE_GITHUB= yes GH_ACCOUNT= NGSolve GH_TUPLE= NGSolve:pybind11:v2.4.3:pybind11/external_dependencies/pybind11 USE_GL= gl glu USE_XORG= x11 xmu xi USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix CXXFLAGS+= -I${LOCALBASE}/include -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix LDFLAGS+= -lexecinfo OPTIONS_DEFINE= JPEG MPEG CGNS JPEG_DESC= Enable snapshots using jpeg MPEG_DESC= Enable recording with FFmpeg CGNS_DESC= Enable CGNS file read/write support JPEG_CMAKE_BOOL= USE_JPEG JPEG_USES= jpeg MPEG_CMAKE_BOOL= USE_MPEG MPEG_LIB_DEPENDS= libavcodec.so:multimedia/libav CGNS_CMAKE_BOOL= USE_CGNS CGNS_LIB_DEPENDS= libcgns.so:science/cgnslib .include diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile index fb1bde023035..5b163334736f 100644 --- a/cad/opencascade/Makefile +++ b/cad/opencascade/Makefile @@ -1,153 +1,153 @@ # Created by: Thierry Thomas PORTNAME= opencascade PORTVERSION= 7.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad science MASTER_SITES= LOCAL/thierry MAINTAINER= thierry@FreeBSD.org COMMENT= Open CASCADE Technology, 3D modeling & numerical simulation LICENSE= OCTPL LICENSE_NAME= LGPL21 with exception LICENSE_FILE= ${WRKSRC}/OCCT_LGPL_EXCEPTION.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= rapidjson>0:devel/rapidjson \ ${LOCALBASE}/lib/qt5/bin/qmake:devel/qt5-qmake \ ${LOCALBASE}/lib/qt5/bin/moc:devel/qt5-buildtools LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libvtksys-${VTKVER}.so:math/vtk8 \ libfreetype.so:print/freetype2 RUN_DEPENDS= bash:shells/bash # Check ${WRKSRC}/dox/overview/overview.md # and ${WRKSRC}/dox/dev_guides/building USES= alias:10 cmake compiler:c++14-lang dos2unix \ gl python qt:5 shebangfix tk tar:tgz xorg USE_XORG= ice sm x11 xext xi xmu xt USE_GL= gl glu DOS2UNIX_FILES= adm/templates/* SHEBANG_FILES= adm/templates/*.sh \ adm/templates/*.sh.in \ adm/templates/*.sh.main \ adm/genconf.tcl \ adm/start.tcl \ gendoc ENVSH= adm/templates/env.sh VTKVER= 8.2 OPTIONS_DEFINE= DOCS DOXYGEN FFMPEG VIS VIS_DESC= Build Visualizazion module (requires OpenGL, freetype, ftgl) OPTIONS_DEFAULT=FFMPEG VIS OPTIONS_SUB= yes REINPLACE_ARGS= -i "" CFLAGS+= -I${LOCALBASE}/include CMAKE_ARGS+= -DINSTALL_DIR=${OCCROOT} \ -DINSTALL_DIR_INCLUDE=${PREFIX}/include/OpenCASCADE \ -DINSTALL_DIR_LIB=${PREFIX}/lib \ -DINSTALL_DIR_CMAKE=${PREFIX}/lib/cmake \ -DINSTALL_DIR_DATA=${OCCROOT}/data \ -DINSTALL_DIR_RESOURCE=${OCCROOT}/resources \ -DINSTALL_DIR_SAMPLES=${OCCROOT}/samples \ -DINSTALL_DIR_TESTS=${OCCROOT}/tests \ -DINSTALL_TEST_CASES:BOOL=ON \ -DUSE_TBB:BOOL=OFF \ -DUSE_RAPIDJSON:BOOL=ON \ -DUSE_VTK:BOOL=ON \ -DVTK_DIR:PATH=${LOCALBASE}/lib/vtk-${VTKVER}/cmake/vtk-${VTKVER} # TODO: TBB to be replaced by onetbb later #CMAKE_ARGS+= -DUSE_EIGEN:BOOL=ON -DUSE_TBB:BOOL=ON #USES+= eigen:3 #LIB_DEPENDS+= libtbb.so:devel/tbb USE_LDCONFIG= yes LOCCROOT= OpenCAS OCCROOT= ${PREFIX}/${LOCCROOT} PLIST_SUB= OCCROOT="${LOCCROOT}" BITS=${BITS} CC=${CHOSEN_COMPILER_TYPE} \ VE=${PORTVERSION:R:R} VER=${PORTVERSION} FFMPEG_CMAKE_ON= -DUSE_FFMPEG:BOOL=ON FFMPEG_CMAKE_OFF= -DUSE_FFMPEG:BOOL=OFF FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg VIS_CMAKE_ON= -DUSE_FREEIMAGE:BOOL=ON \ -DUSE_FREETYPE:BOOL=ON \ -DUSE_GLES2:BOOL=ON \ -D3RDPARTY_FREETYPE_DIR=${LOCALBASE} VIS_CMAKE_OFF= -DUSE_FREEIMAGE:BOOL=OFF \ -DUSE_FREETYPE:BOOL=OFF \ -DUSE_GLES2:BOOL=OFF VIS_LIB_DEPENDS= libftgl.so:graphics/ftgl \ libfreeimageplus.so:graphics/freeimage VIS_USE= GL=glesv2 DOXYGEN_IMPLIES= DOCS DOXYGEN_USE= TEX=latex:build DOXYGEN_BUILD_DEPENDS= bash:shells/bash \ doxygen:devel/doxygen \ dot:graphics/graphviz \ pdftex:print/tex-basic-engines \ inkscape:graphics/inkscape DOXYGEN_RUN_DEPENDS= ${LOCALBASE}/www/MathJax/MathJax.js:www/mathjax .include .if ${ARCH} == "i386" BITS= 32 .else BITS= 64 .endif pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "Warning: to build OpenCascade, you should have at least" @${ECHO_MSG} "2.6 Gb of free disk space in build area!" @${ECHO_MSG} pre-patch: ${REINPLACE_CMD} 's|||' \ ${WRKSRC}/src/BRepMesh/delabella.cpp\ ${WRKSRC}/src/OSD/OSD_MemInfo.cxx pre-configure: ${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|' ${WRKSRC}/gendoc ${REINPLACE_CMD} -e 's|/usr/bin/|${LOCALBASE}/bin/|' ${WRKSRC}/adm/genconfdeps.tcl ${GREP} -rl x86_64 ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ -e 's|x86_64|amd64|' .for es in ${ENVSH} ${REINPLACE_CMD} -e 's|lin|bsd|' ${WRKSRC}/${es} .endfor post-build-DOXYGEN-on: (cd ${WRKSRC} && ./gendoc -overview) post-install: ${MV} ${STAGEDIR}${OCCROOT}/bin/DRAWEXE-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/DRAWEXE (cd ${STAGEDIR}${PREFIX}/bin && \ ${LN} -sf DRAWEXE ${STAGEDIR}${OCCROOT}/bin/DRAWEXE) post-install-DOXYGEN-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc/overview && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${RM} -r ${STAGEDIR}${DOCSDIR}/latex ${RM} ${STAGEDIR}${DOCSDIR}/html/build_upgrade_building_3rdparty.html.bak .if defined(MAINTAINER_MODE) regression-test: install ${RM} -rf /tmp/testOCC ${MKDIR} /tmp/testOCC bash -c "\ cd ${OCCROOT} && . ${OCCROOT}/bin/env.sh && \ CSF_TestScriptsPath=${OCCROOT}/tests \ CSF_TestDataPath=${OCCROOT}/data \ DRAWEXE -f ${FILESDIR}/regtest " .endif .include diff --git a/cad/openctm/Makefile b/cad/openctm/Makefile index 10675e51c4fd..8147da3869de 100644 --- a/cad/openctm/Makefile +++ b/cad/openctm/Makefile @@ -1,35 +1,36 @@ PORTNAME= openctm DISTVERSION= 1.0.3 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= https://sourceforge.net/projects/openctm/files/ DISTNAME= OpenCTM-${DISTVERSION}-src MAINTAINER= db@FreeBSD.org COMMENT= File format for compression of 3D triangle meshes LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libtinyxml.so:textproc/tinyxml \ libpnglite.so:graphics/pnglite \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig BUILD_DEPENDS= pnglite>0:graphics/pnglite \ tinyxml>0:textproc/tinyxml USES= compiler:c++11-lang dos2unix gettext-runtime gl gmake \ gnome jpeg pkgconfig tar:bz2 USE_GL= gl glu glew glut USE_GNOME= gtk20 pango atk cairo gdkpixbuf2 glib20 MAKEFILE= Makefile.linux USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/OpenCTM-${DISTVERSION} post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ -e 's|%%STAGEDIR%%|${STAGEDIR}|' ${WRKSRC}/Makefile.linux @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/tools/Makefile.linux ${WRKSRC}/Makefile.linux .include diff --git a/cad/openscad-devel/Makefile b/cad/openscad-devel/Makefile index 1f526f7d23ed..73268db18dfe 100644 --- a/cad/openscad-devel/Makefile +++ b/cad/openscad-devel/Makefile @@ -1,50 +1,50 @@ # Created by: Michael Reifenberger PORTNAME= openscad PORTVERSION= 2021.02.09 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= cad PKGNAMESUFFIX= -devel #PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ #PATCHFILES+= b6c170cc5dd1.patch:-p1 MAINTAINER= mr@FreeBSD.org COMMENT= Programmer's solid 3D CAD modeller #' LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cgal>0:math/cgal LIB_DEPENDS= libzip.so:archivers/libzip \ libhidapi.so:comms/hidapi \ libboost_regex.so:devel/boost-libs \ libqscintilla2_qt5.so:devel/qscintilla2-qt5 \ libopencsg.so:graphics/opencsg \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libdouble-conversion.so:devel/double-conversion CONFLICTS= openscad USES= bison compiler:c++14-lang desktop-file-utils eigen:3 gettext \ gl gnome pkgconfig qmake qt:5 shared-mime-info xorg USE_GITHUB= yes USE_GL= gl glu glew USE_GNOME= glib20 libxml2 USE_QT= buildtools_build core concurrent_build dbus gui multimedia widgets USE_XORG= x11 GH_TAGNAME= 63a7c77740030c63d646eb0684ba6947eecb0db7 QMAKE_ARGS= CONFIG+="experimental" VERSION=${PORTVERSION} # Avoid overlinking: kvm, procstat, boost(thread, system), Qt5(concurrent, network, printsupport) LDFLAGS+= -Wl,--as-needed post-patch: @${REINPLACE_CMD} 's/-libusb//' ${WRKSRC}/features/hidapi.prf @${REINPLACE_CMD} -e 's,share/man,man,' \ ${WRKSRC}/openscad.pro .include diff --git a/cad/openscad/Makefile b/cad/openscad/Makefile index 53c16a69f32c..e4229d7c1663 100644 --- a/cad/openscad/Makefile +++ b/cad/openscad/Makefile @@ -1,52 +1,52 @@ # Created by: Michael Reifenberger PORTNAME= openscad PORTVERSION= 2021.01.01 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= cad #PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ #PATCHFILES+= b6c170cc5dd1.patch:-p1 \ # 15acf6700674.patch:-p1 \ # 9c4d5ae7ab05.patch:-p1 \ # 07a56df933a3.patch:-p1 MAINTAINER= mr@FreeBSD.org COMMENT= Programmer's solid 3D CAD modeller #' LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cgal>0:math/cgal LIB_DEPENDS= libzip.so:archivers/libzip \ libhidapi.so:comms/hidapi \ libboost_regex.so:devel/boost-libs \ libqscintilla2_qt5.so:devel/qscintilla2-qt5 \ libopencsg.so:graphics/opencsg \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libdouble-conversion.so:devel/double-conversion #CONFLICTS= openscad-devel USES= bison compiler:c++14-lang desktop-file-utils eigen:3 gettext \ gl gnome pkgconfig qmake qt:5 shared-mime-info xorg USE_GITHUB= yes USE_GL= gl glu glew USE_GNOME= glib20 libxml2 USE_QT= buildtools_build core concurrent_build dbus gui multimedia widgets USE_XORG= x11 GH_TAGNAME= 41f58fe57c03457a3a8b4dc541ef5654ec3e8c78 QMAKE_ARGS= CONFIG+="experimental" VERSION=${PORTVERSION} # Avoid overlinking: kvm, procstat, boost(thread, system), Qt5(concurrent, network, printsupport) LDFLAGS+= -Wl,--as-needed post-patch: @${REINPLACE_CMD} 's/-libusb//' ${WRKSRC}/features/hidapi.prf @${REINPLACE_CMD} -e 's,share/man,man,' \ ${WRKSRC}/openscad.pro .include diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile index 0b7d78891656..1b0e8e6700b3 100644 --- a/cad/openvsp/Makefile +++ b/cad/openvsp/Makefile @@ -1,79 +1,79 @@ PORTNAME= openvsp DISTVERSIONPREFIX= ${GH_PROJECT}_ DISTVERSION= 3.20.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad MAINTAINER= fernape@FreeBSD.org COMMENT= Create a 3D model of an aircraft defined by engineering parameters 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 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 BUILD_DEPENDS= ${LOCALBASE}/lib/libopenNURBS.a:graphics/opennurbs \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs USES= compiler:c++11-lang cmake:noninja localbase\ gl gnome jpeg xorg USE_GITHUB= yes GH_PROJECT= OpenVSP GH_ACCOUNT= ${GH_PROJECT} CMAKE_SOURCE_PATH= ${WRKSRC}/SuperProject CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} 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=yes \ -DVSP_USE_SYSTEM_CMINPACK:boolean=no \ -DVSP_USE_SYSTEM_GLM:BOOLEAN=yes \ -DVSP_USE_SYSTEM_GLEW:BOOLEAN=yes USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft \ xinerama xrender xxf86vm USE_GL= gl glew glu USE_GNOME= libxml2 .include .include # See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888 .if ${OPSYS} == FreeBSD .if (${OSVERSION} < 1104507) || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1202000) || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300115) BROKEN= undefined reference to __atomic_load .endif .endif BUILD_PREFIX= OpenVSP-prefix/src/OpenVSP-build/_CPack_Packages/FreeBSD/ZIP/OpenVSP-${DISTVERSION}-FreeBSD 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 vspscript vspslicer 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/pcb/Makefile b/cad/pcb/Makefile index aab263b56f06..4407bf9dbc9b 100644 --- a/cad/pcb/Makefile +++ b/cad/pcb/Makefile @@ -1,73 +1,73 @@ # Created by: Michael Reifenberger PORTNAME= pcb PORTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= X11 interactive printed circuit board layout system LICENSE= GPLv2 BUILD_DEPENDS= m4>=1.4.11:devel/m4 \ ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus LIB_DEPENDS= libgd.so:graphics/gd \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= m4>=1.4.11:devel/m4 \ ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus USES= gl gmake gnome pkgconfig tk:run shared-mime-info \ desktop-file-utils xorg USE_GL= gl glu USE_GNOME= intltool cairo pangox-compat USE_XORG= x11 xrender xinerama CONFLICTS= gts-[0-9]* INSTALLS_ICONS= yes GNU_CONFIGURE= yes CONFIGURE_ENV+= INSTALL_DATA="${BSD_INSTALL_DATA}" LDFLAGS+= -lpthread PORTDOCS= \ pcb.html pcb.pdf refcard.pdf pad.png puller.png thermal.png \ examples tutorial gcode.png gcode_control_img.png \ gcode_tool_path.png OPTIONS_DEFINE= DOCS NLS OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI=MOTIF GTK NONE OPTIONS_DEFAULT=GTK DOCS_CONFIGURE_ENABLE= doc DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} \ ${ICONV_CONFIGURE_ARG} NLS_CONFIGURE_OFF= --without-libintl \ --without-iconv NLS_USES= gettext iconv .for L in fr nl ru pt_BR NLS_PLIST_FILES+= share/locale/${L}/LC_MESSAGES/pcb.mo .endfor MOTIF_DESC= Motif widgets MOTIF_USES= motif MOTIF_CONFIGURE_ON= --with-gui=lesstif MOTIF_CONFIGURE_ENV= WISH=${WISH} GTK_DESC= GIMP ToolKit widgets GTK_USE= GNOME=gtk20 GTK_CONFIGURE_ON= --with-gui=gtk GTK_CONFIGURE_ENV= WISH=${WISH} NONE_DESC= No GUI support NONE_CONFIGURE_ON= --without-gui NONE_CONFIGURE_ENV= WISH=/usr/bin/true ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Uses x86 specific libc functions and has not been ported DOCS_INFO= pcb .include diff --git a/cad/pdnmesh/Makefile b/cad/pdnmesh/Makefile index 3278c0ee380a..a8cfabed3836 100644 --- a/cad/pdnmesh/Makefile +++ b/cad/pdnmesh/Makefile @@ -1,51 +1,51 @@ # Created by: Sarod Yatawatta PORTNAME= pdnmesh PORTVERSION= 0.2.2 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Mesh generator and solver for Finite Element problems LICENSE= GPLv2+ LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext OPTIONS_DEFINE= ATLAS DOCS EXAMPLES ATLAS_DESC= Enable ATLAS support USES= compiler:c++11-lang fortran gl gnome pkgconfig USE_GL= glu USE_GNOME= gtk20 GNU_CONFIGURE= yes LDFLAGS+= -lm DESKTOP_ENTRIES="pdnMesh" "${COMMENT}" "" "${PORTNAME}" "" true ATLAS_USES= blaslapack:atlas ATLAS_CONFIGURE_ON=--with-blas=cblas --with-lapack=alapack ATLAS_USES_OFF= blaslapack ATLAS_CONFIGURE_OFF=--with-blas=blas --with-lapack=lapack post-patch: @${REINPLACE_CMD} -e \ '/^SUBDIRS/s|doc|| ; \ s|^pkgdata_DATA|#pkgdata_DATA|' ${WRKSRC}/Makefile.in post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} \ && ${INSTALL_DATA} ChangeLog ${STAGEDIR}${DOCSDIR} \ && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}) ${MKDIR} ${STAGEDIR}${DOCSDIR}/tutorial (cd ${WRKSRC}/doc/tutorial \ && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}/tutorial \ && ${INSTALL_DATA} tutorial.* ${STAGEDIR}${DOCSDIR}/tutorial) post-install-EXAMPLES-on: (cd ${WRKSRC}/doc/examples && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) ${RM} ${STAGEDIR}${EXAMPLESDIR}/Makefile* .include diff --git a/cad/py-ocp/Makefile b/cad/py-ocp/Makefile index f0a6dbbb6137..f216d98fb5f5 100644 --- a/cad/py-ocp/Makefile +++ b/cad/py-ocp/Makefile @@ -1,42 +1,42 @@ PORTNAME= ocp DISTVERSION= 7.4-RC2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= cad # Direct access to github is needed because the release added an extra archive which # we need to build from, rather than the initial release. MASTER_SITES= https://github.com/CadQuery/OCP/releases/download/${DISTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= OCP_src_Linux MAINTAINER= ports@nicandneal.net COMMENT= Python wrapper for OCCT generated using pywrap BROKEN= Mismatch between OpenCascase (7.5) and py-ocp (7.4) LICENSE= APACHE20 PATCH_DEPENDS= ${LOCALBASE}/include/OpenCASCADE/OpenGl_HaltonSampler.hxx:cad/opencascade LIB_DEPENDS= libTKernel.so:cad/opencascade BUILD_DEPENDS= ${LOCALBASE}/share/cmake/pybind11/pybind11Config.cmake:devel/pybind11 \ ${PYTHON_SITELIBDIR}/pybind11:devel/py-pybind11@${PY_FLAVOR} USES= cmake compiler:c++11-lang gl python:3.6+ zip USE_GL= gl glu glut WRKSRC= ${WRKDIR}/OCP_src_Ubuntu-16.04 OCCT= ${LOCALBASE}/include/OpenCASCADE OCCT_LOCAL= ${WRKSRC}/OCCT CMAKE_ARGS= -DOPENCASCADE_INCLUDE_DIR=${OCCT} \ -DPYTHON_EXECUTABLE=${PYTHON_CMD} USE_PYTHON= flavors PLIST_FILES= ${PYTHON_SITELIBDIR}/OCP.so do-install: @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/ ${INSTALL_LIB} ${BUILD_WRKSRC}/OCP.so ${STAGEDIR}${PYTHON_SITELIBDIR} .include diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile index 322ce5188fb2..4aef1f6c7234 100644 --- a/cad/qcad/Makefile +++ b/cad/qcad/Makefile @@ -1,94 +1,94 @@ # Created by: Thomas Gellekum PORTNAME= qcad PORTVERSION= 3.26.1.0 DISTVERSIONPREFIX= v -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= cad DIST_SUBDIR= ${PORTNAME} #PATCH_SITES= https://github.com/qcad/qcad/commit/ #PATCHFILES= bbcd195f199e75190e758f46475b4f723643a820.patch:-p1 #GH_TAGNAME= 98f92a5a275102dfab915b920e2ebf52f43bf091 MAINTAINER= mr@FreeBSD.org COMMENT= Professional CAD system LICENSE= GPLv3 BUILD_DEPENDS= bash:shells/bash \ ${LOCALBASE}/lib/libopenNURBS.a:graphics/opennurbs USES= compiler:c++11-lang gl gmake qmake qt:5 USE_GITHUB= yes USE_LDCONFIG= yes USE_QT= buildtools qmake_build \ designer gui help imageformats network opengl script \ scripttools sql svg uitools xml xmlpatterns webkit USE_GL= glu DESKTOP_ENTRIES="QCad" \ "" \ "${DATADIR}/scripts/qcad_icon.png" \ "${PREFIX}/bin/qcad-bin" \ "" \ true .if defined(WITH_DEBUG) RESDIR= ${WRKSRC}/debug .else RESDIR= ${WRKSRC}/release .endif SHRLIBS= qcadcore qcadecmaapi qcadentity qcadgrid qcadgui qcadoperations \ qcadsnap qcadspatialindex qcadstemmer spatialindexnavel STALIBS= dxflib stemmer SHRDIR= fonts libraries linetypes patterns plugins scripts themes ts #QSCRIPTS should not be installed to avoid conflicts with texlive-base QSCRIPTS= bbox dwg2bmp dwg2pdf dwg2svg OPTIONS_DEFINE= EXAMPLES CFLAGS_i386= -fPIC CXXFLAGS_i386= -fPIC LDFLAGS_i386= -Wl,-z,notext .include .if defined(WITH_DEBUG) ALL_TARGET= debug PLIST_SUB+= DEBUG_LIB_SUFFIX="_debug" RESDIR= ${WRKSRC}/debug .else ALL_TARGET= release PLIST_SUB+= DEBUG_LIB_SUFFIX="" RESDIR= ${WRKSRC}/release .endif pre-configure: ${MKDIR} ${WRKSRC}/src/3rdparty/qt-labs-qtscriptgenerator-${_QT_VERSION} ${CP} ${WRKSRC}/src/3rdparty/qt-labs-qtscriptgenerator-5.13.2/qt-labs-qtscriptgenerator-5.13.2.pro \ ${WRKSRC}/src/3rdparty/qt-labs-qtscriptgenerator-${_QT_VERSION}/qt-labs-qtscriptgenerator-${_QT_VERSION}.pro ${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \ ${WRKSRC}/src/core/RS.cpp ${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \ ${WRKSRC}/src/core/RSettings.cpp do-install: ${INSTALL_PROGRAM} ${RESDIR}/qcad-bin ${STAGEDIR}${PREFIX}/bin/ ${LN} -sf qcad-bin ${STAGEDIR}${PREFIX}/bin/qcad .for lib in ${SHRLIBS:C|^|lib|:C|$|.so|} ${INSTALL_LIB} ${RESDIR}/${lib} ${STAGEDIR}${PREFIX}/lib/${lib}.0 ${LN} -sf ${lib}.0 ${STAGEDIR}${PREFIX}/lib/${lib} .endfor .for lib in ${STALIBS:C|^|lib|:C|$|.a|} ${INSTALL_DATA} ${RESDIR}/${lib} ${STAGEDIR}${PREFIX}/lib/ .endfor ${MKDIR} ${STAGEDIR}${DATADIR} .for dir in ${SHRDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/cad/qelectrotech/Makefile b/cad/qelectrotech/Makefile index 657fcfbc8ea6..2c663b62bd9f 100644 --- a/cad/qelectrotech/Makefile +++ b/cad/qelectrotech/Makefile @@ -1,44 +1,45 @@ # Created by: Veniamin Gvozdikov PORTNAME= qelectrotech DISTVERSION= 0.7.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= https://git.tuxfamily.org/qet/qet.git/snapshot/ DISTNAME= qet-${DISTVERSION} MAINTAINER= arrowd@FreeBSD.org COMMENT= Application to design electric diagrams LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lib desktop-file-utils gl kde:5 qmake qt:5 \ shared-mime-info USE_GL= gl USE_QT= concurrent core gui network printsupport sql sql-sqlite3 \ svg widgets xml \ buildtools_build USE_KDE= coreaddons widgetsaddons OPTIONS_DEFINE= DEBUG DOCS DEBUG_VARS= BUILD_TYPE=debug DEBUG_VARS_OFF= BUILD_TYPE=release ALL_TARGET= ${BUILD_TYPE}-all pre-configure: ${MV} ${WRKSRC}/man/files/pt ${WRKSRC}/man/files/pt_PT ${REINPLACE_CMD} -e 's,/usr/local/,${PREFIX}/,g' \ ${WRKSRC}/${PORTNAME}.pro ${REINPLACE_CMD} -e 's,doc/,share/doc/,g' \ ${WRKSRC}/${PORTNAME}.pro ${REINPLACE_CMD} -e 's,../share,share,g' \ ${WRKSRC}/${PORTNAME}.pro post-stage: # Sources come with accidental Dolphin state ${RM} ${STAGEDIR}${DATADIR}/elements/10_electric/20_manufacturers_articles/bosch_rexroth/.directory .include diff --git a/cad/repsnapper/Makefile b/cad/repsnapper/Makefile index c9be35bf08fa..87f9fd1d79ac 100644 --- a/cad/repsnapper/Makefile +++ b/cad/repsnapper/Makefile @@ -1,34 +1,34 @@ # Created by: Martin Dieringer PORTNAME= repsnapper DISTVERSION= 2.5a4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= cad MAINTAINER= martin.dieringer@gmx.de COMMENT= Controller and GCode generator for RepRap 3D printers LICENSE= GPLv2 BSD3CLAUSE MIT LICENSE_COMB= multi LIB_DEPENDS= libgtkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm \ libpolyclipping.so:graphics/polyclipping \ libzip.so:archivers/libzip USES= compiler:c++11-lib autoreconf gettext gl gmake gnome libtool \ localbase perl5 pkgconfig USE_GITHUB= yes GH_ACCOUNT= timschmidt USE_GNOME= gtkmm24 intltool libxml++26 USE_GL= gl USE_PERL5= build GNU_CONFIGURE= yes INSTALLS_ICONS= 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/cad/solvespace/Makefile b/cad/solvespace/Makefile index 0a0649e699b2..2d18b8bc03bc 100644 --- a/cad/solvespace/Makefile +++ b/cad/solvespace/Makefile @@ -1,34 +1,34 @@ PORTNAME= solvespace PORTVERSION= 2.3 DISTVERSIONPREFIX= v -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= cad MAINTAINER= ports@FreeBSD.org COMMENT= Parametric 2d/3d CAD LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.txt LIB_DEPENDS= libpng.so:graphics/png \ libjson-c.so:devel/json-c \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkmm-2.4.so:x11-toolkits/gtkmm24 USE_GITHUB= yes GH_PROJECT= libdxfrw:libdxfrw GH_TAGNAME= 8f95895:libdxfrw GH_SUBDIR= extlib/libdxfrw:libdxfrw USES= cmake compiler:c++11-lang gl gnome pkgconfig xorg USE_GL= gl glu glew USE_GNOME= atkmm gtk20 pangomm USE_XORG= x11 USE_LDCONFIG= yes INSTALLS_ICONS= yes post-patch: ${REINPLACE_CMD} -e '/-stdlib=libc++/d' ${WRKSRC}/CMakeLists.txt .include diff --git a/cad/sumo/Makefile b/cad/sumo/Makefile index 9e1f8889c826..f0c0b47e4837 100644 --- a/cad/sumo/Makefile +++ b/cad/sumo/Makefile @@ -1,33 +1,33 @@ PORTNAME= sumo DISTVERSION= 1.2.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= cad MASTER_SITES= http://www.dlr.de/ts/en/Portaldata/16/Resources/projekte/sumo/ DISTFILES= ${PORTNAME}-src-${DISTVERSIONFULL}${EXTRACT_SUFX} MAINTAINER= enriquefynn@gmail.com COMMENT= Traffic simulation suite for road vehicles, public transportation, etc LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libFOX-1.6.so:x11-toolkits/fox16 \ libfreetype.so:print/freetype2 \ libgdal.so:graphics/gdal \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libxerces-c.so:textproc/xerces-c3 USES= compiler:c++11-lang cmake gl jpeg python shebangfix zip xorg SHEBANG_FILES= tools/*.py tools/*/*.py \ tools/*/*/*.py tools/*/*/*/*.py \ tools/*/*/*/*/*/*.py \ tools/game/A10KW/build.sh \ tools/game/rebuild_networks.sh \ tools/build/rebuild_cscope.sh \ tools/build/dailyUpdateMakeGCC.sh python_OLD_CMD+="/usr/bin/env python" USE_GL= gl glu USE_XORG= x11 xcursor xext xfixes xft xi xrandr xrender .include diff --git a/cad/veroroute/Makefile b/cad/veroroute/Makefile index 165ff1e61125..b67585931a9b 100644 --- a/cad/veroroute/Makefile +++ b/cad/veroroute/Makefile @@ -1,23 +1,24 @@ PORTNAME= veroroute DISTVERSION= 2.13 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= yuri@FreeBSD.org COMMENT= PCB (printed circuit board) design software LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../licenses/license_GPLv3.txt USES= compiler:c++11-lang gl qmake qt:5 USE_QT= core gui network widgets buildtools_build USE_GL= gl WRKSRC= ${WRKDIR}/VeroRoute WRKSRC_SUBDIR= Src post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/veroroute .include diff --git a/cad/z88/Makefile b/cad/z88/Makefile index b6acf669edb2..8142b21a7b3f 100644 --- a/cad/z88/Makefile +++ b/cad/z88/Makefile @@ -1,64 +1,65 @@ # Created by: Pedro F. Giffuni PORTNAME= z88 DISTVERSIONPREFIX= v DISTVERSION= 15 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= ports@FreeBSD.org COMMENT= Compact Finite Element Analysis System LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_FreeBSD_12_powerpc64= fails to link: /usr/bin/ld: : No such file: No such file or directory LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gl gnome pkgconfig xorg USE_GITHUB= yes USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 gtk20 USE_XORG= x11 GH_ACCOUNT= LSCAD GH_PROJECT= Z88OS BUILD_WRKSRC= ${WRKSRC}/make/make_unix_64 INSTALL_WRKSRC= ${WRKSRC}/bin/unix64 Z88_BIN_SUFFIXES= g h n r o x Z88_DATA= 51.txt z88.dyn z88.fcd z88elp.txt z88i1.txt z88i2.txt z88i5.txt z88int.txt \ z88man.txt z88mat.txt z88ni.txt z88o0.txt z88o1.txt z88o2.txt z88o3.txt z88o4.txt z88o5.txt z88o8.txt z88x.dxf OPTIONS_DEFINE= DOCS EXAMPLES post-patch: for x in ${BUILD_WRKSRC}/*; do ${REINPLACE_CMD} 's,z88v15os,Z88OS-15, ; s,gcc,${CC}, ; s,CFLAGS =,CFLAGS+=, ; s,-O2,, ; s,LDLIBSOX,LDFLAGS, ; s,LDFLAGS =,LDFLAGS+=, ; s,--copy-dt-needed-entries,,' $$x; done post-patch-DOCS-on: ${REINPLACE_CMD} 's,%%DOCSDIR%%,${DOCSDIR},' ${INSTALL_WRKSRC}/z88.fcd do-build: cd ${BUILD_WRKSRC}; for x in com ${Z88_BIN_SUFFIXES}; do ${SETENV} ${MAKE_ENV} ${MAKE} -f z88$$x.mk.gcc64 z88$$x ; done do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/z88com ${STAGEDIR}${DATADIR} for x in ${Z88_BIN_SUFFIXES}; do ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/z88$$x ${STAGEDIR}${PREFIX}/bin; done ${INSTALL_DATA} ${Z88_DATA:S,^,${INSTALL_WRKSRC}/,} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${FILESDIR}/z88 ${STAGEDIR}${PREFIX}/bin ${SED} -i '' 's,%%DATADIR%%,${DATADIR},' ${STAGEDIR}${PREFIX}/bin/z88 ${SED} -i '' 's,%%Z88_DATA%%,${Z88_DATA},' ${STAGEDIR}${PREFIX}/bin/z88 do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} for x in e g; do ${INSTALL_DATA} ${WRKSRC}/docu/z88man$$x.pdf ${STAGEDIR}${DOCSDIR}; done do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/comms/cubicsdr/Makefile b/comms/cubicsdr/Makefile index e2d4427be935..14baa17393c4 100644 --- a/comms/cubicsdr/Makefile +++ b/comms/cubicsdr/Makefile @@ -1,40 +1,40 @@ PORTNAME= cubicsdr DISTVERSION= 0.2.5 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= comms hamradio MAINTAINER= hamradio@FreeBSD.org COMMENT= SDR receiver using liquidsdr LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYNUMPY} \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri LIB_DEPENDS= libSoapySDR.so:misc/soapysdr \ libliquid.so:comms/liquid-dsp \ libpulse.so:audio/pulseaudio \ libhamlib.so:comms/hamlib USES= cmake compiler:c++0x gl python USE_WX= 3.1 USE_GL+= egl glu OPTIONS_DEFINE= HAMLIB HAMLIB_DESC= Support rig control via hamlib OPTIONS_DEFAULT= HAMLIB .include .if ${PORT_OPTIONS:MHAMLIB} LIB_DEPENDS+= libhamlib.so:comms/hamlib CMAKE_ARGS+= -DUSE_HAMLIB=1 .endif CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wxgtk3u-3.1-config USE_GITHUB= yes GH_ACCOUNT= cjcliffe GH_PROJECT= CubicSDR GH_TAGNAME= 9c32b97 .include diff --git a/comms/gqrx/Makefile b/comms/gqrx/Makefile index 8b454bccce46..a33f4284b289 100644 --- a/comms/gqrx/Makefile +++ b/comms/gqrx/Makefile @@ -1,57 +1,58 @@ # Created by: Ganael Laplanche PORTNAME= gqrx PORTVERSION= 2.14.4 DISTVERSIONPREFIX= v +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= comms hamradio MAINTAINER= martymac@FreeBSD.org COMMENT= Software defined radio receiver powered by GNU Radio and Qt LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgnuradio-runtime.so:comms/gnuradio \ libgnuradio-analog.so:comms/gnuradio \ libgnuradio-blocks.so:comms/gnuradio \ libgnuradio-filter.so:comms/gnuradio \ libgnuradio-fft.so:comms/gnuradio \ libgnuradio-digital.so:comms/gnuradio \ libgnuradio-pmt.so:comms/gnuradio \ libgnuradio-osmosdr.so:comms/gr-osmosdr \ libboost_system.so:devel/boost-libs \ liblog4cpp.so:devel/log4cpp \ libgmpxx.so:math/gmp \ libgmp.so:math/gmp \ libvolk.so:devel/volk \ libfftw3f.so:math/fftw3-float \ libfftw3f_threads.so:math/fftw3-float \ liborc-0.4.so:devel/orc \ libasound.so:audio/alsa-lib \ libjack.so:audio/jack \ libportaudio.so:audio/portaudio USES= cmake compiler:c++11-lang gl pkgconfig qt:5 USE_GITHUB= yes GH_ACCOUNT= csete USE_GL= gl USE_QT= core gui network svg widgets # XXX Use Portaudio as Gqrx is invariably linked to it # (auto-detected and used through Gnuradio CMake files) CMAKE_ARGS+= -DLINUX_AUDIO_BACKEND:STRING="Portaudio" PLIST_FILES= bin/gqrx \ share/applications/gqrx.desktop \ man/man1/gqrx.1.gz do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/src/gqrx ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/gqrx.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_MAN} ${WRKSRC}/resources/gqrx.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/comms/klog/Makefile b/comms/klog/Makefile index 0b37dbee76d2..c9881fd5a0ef 100644 --- a/comms/klog/Makefile +++ b/comms/klog/Makefile @@ -1,52 +1,53 @@ PORTNAME= klog PORTVERSION= 0.9.8.1 +PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= SAVANNAH MAINTAINER= hamradio@FreeBSD.org COMMENT= Simple Qt-based amateur radio logger LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libhamlib.so:comms/hamlib USES= compiler:c++11-lang gl qmake qt:5 xorg USE_GL= gl USE_QT= buildtools_build charts core gui linguisttools_build multimedia network \ printsupport sql sql-sqlite3_run serialport widgets DESKTOP_ENTRIES= "KLog" "Simple Amateur Radio Logging Program" \ "" "klog" "Network;HamRadio;" \ true PLIST_FILES= bin/klog \ ${DATADIR}/translations/klog_ca.qm \ ${DATADIR}/translations/klog_de.qm \ ${DATADIR}/translations/klog_es.qm \ ${DATADIR}/translations/klog_fr.qm \ ${DATADIR}/translations/klog_ja.qm \ ${DATADIR}/translations/klog_da.qm \ ${DATADIR}/translations/klog_fi.qm \ ${DATADIR}/translations/klog_hr.qm \ ${DATADIR}/translations/klog_it.qm \ ${DATADIR}/translations/klog_pl.qm \ man/man1/klog.1.gz post-patch: @${REINPLACE_CMD} '/"\/usr\/share\/klog\/translations\/klog_" + \ QLocale::system().name()/\ s|);|, "${DATADIR}/translations/");|' \ ${WRKSRC}/main.cpp #post-build: # ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro do-install: ${INSTALL_PROGRAM} ${WRKSRC}/build/target/klog ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR}/translations ${INSTALL_DATA} ${WRKSRC}/build/target/translations/klog_*.qm \ ${STAGEDIR}${DATADIR}/translations ${INSTALL_MAN} ${WRKSRC}/klog.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/comms/limesuite/Makefile b/comms/limesuite/Makefile index dda09bb6a6c3..e65b88a2d2e3 100644 --- a/comms/limesuite/Makefile +++ b/comms/limesuite/Makefile @@ -1,103 +1,103 @@ PORTNAME= limesuite DISTVERSIONPREFIX= v DISTVERSION= 20.10.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= comms astro hamradio MAINTAINER= tomek@cedro.info COMMENT= Software Defined Radio Software Suite from Lime Microsystems LICENSE= APACHE20 BUILD_DEPENDS= gnuplot:math/gnuplot RUN_DEPENDS= sqlite3:databases/sqlite3 USES= cmake compiler:c11 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= myriadrf GH_PROJECT= LimeSuite CMAKE_ARGS= -DENABLE_SIMD_FLAGS:STRING="none" # DESKTOP IS LINUX ONLY. # SPI IS LINUX ONLY. # STREAM UNITE BROKEN UPSTREAM CMAKE_OFF= ENABLE_DESKTOP \ ENABLE_SPI \ ENABLE_STREAM \ ENABLE_STREAM_UNITE CMAKE_ON= ENABLE_LIBRARY \ ENABLE_LIME_UTIL \ ENABLE_EXAMPLES \ ENABLE_LIMERFE \ ENABLE_EVB7COM OPTIONS_DEFINE= DOCS GUI QUICKTEST OCTAVE REMOTE SOAPYSDR DEBUG OPTIONS_DEFAULT= GUI QUICKTEST SOAPYSDR DEBUG OPTIONS_UNSET= DOCS OPTIONS_SUB= yes QUICKTEST_DESC= Build QuickTest Self-Test suite OCTAVE_DESC= Enable Octave integration REMOTE_DESC= Enable remote testing operations SOAPYSDR_DESC= Build LMS7 SoapySDR bindings PLIST_SUB= PORTVERSION=${PORTVERSION} DOCS_CMAKE_BOOL= ENABLE_API_DOXYGEN DOCS_BUILD_DEPENDS= doxygen:devel/doxygen GUI_CMAKE_BOOL= ENABLE_GUI QUICKTEST_CMAKE_BOOL= ENABLE_QUICKTEST QUICKTEST_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk OCTAVE_CMAKE_BOOL= ENABLE_OCTAVE OCTAVE_BUILD_DEPENDS= octave:math/octave REMOTE_CMAKE_BOOL= ENABLE_REMOTE SOAPYSDR_CMAKE_BOOL= ENABLE_SOAPY_LMS7 SOAPYSDR_LIB_DEPENDS= libSoapySDR.so:misc/soapysdr .include .if ${PORT_OPTIONS:MGUI} USES+= gl xorg USE_XORG+= x11 ice sm xcursor xext xfixes xinerama xft xrender USE_GL+= gl glu USE_WX+= 3.1 WX_COMPS+= wx:lib LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig .endif .if ${PORT_OPTIONS:MOCTAVE} .include "${.CURDIR}/../../math/octave/Makefile.version" OCTAVE_OCT_SITE_DIR= "lib/octave/${OCTAVE_VERSION}/site/oct/${CONFIGURE_TARGET}/" PLIST_SUB+= OCTAVE_OCT_SITE_DIR=${OCTAVE_OCT_SITE_DIR} OCTAVE_M_SITE_DIR= "share/octave/${OCTAVE_VERSION}/site/m/" PLIST_SUB+= OCTAVE_M_SITE_DIR=${OCTAVE_M_SITE_DIR} .endif .if ${PORT_OPTIONS:MDEBUG} WITH_DEBUG= yes .endif post-build: # N.B. COPYTREE_BIN here chmods 555 which breaks CMAKE_INSTALL in user mode! (cd ${BUILD_WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin) ${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .endif .if ${PORT_OPTIONS:MGUI} ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications (cd ${WRKSRC}/Desktop && ${CP} *.png ${STAGEDIR}${PREFIX}/share/pixmaps/) (cd ${WRKSRC}/Desktop && ${CP} lime-suite.desktop ${STAGEDIR}${PREFIX}/share/applications/) .endif .include diff --git a/comms/py-qt5-sensors/Makefile b/comms/py-qt5-sensors/Makefile index cd39a1c97990..3cd83443d3df 100644 --- a/comms/py-qt5-sensors/Makefile +++ b/comms/py-qt5-sensors/Makefile @@ -1,29 +1,30 @@ PORTNAME= sensors +PORTREVISION= 1 CATEGORIES= comms devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtSensors module CONFIGURE_ARGS= --enable QtSensors PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui sensors qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtSensors API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtSensors.so .include diff --git a/comms/py-qt5-serialport/Makefile b/comms/py-qt5-serialport/Makefile index 304b2795329c..3064d50099c2 100644 --- a/comms/py-qt5-serialport/Makefile +++ b/comms/py-qt5-serialport/Makefile @@ -1,29 +1,30 @@ PORTNAME= serialport +PORTREVISION= 1 CATEGORIES= comms devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtSerialPort module CONFIGURE_ARGS= --enable QtSerialPort PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui serialport qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtSerialPort API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtSerialPort.so .include diff --git a/comms/qsstv/Makefile b/comms/qsstv/Makefile index 0c88719d4fb8..d113f63af596 100644 --- a/comms/qsstv/Makefile +++ b/comms/qsstv/Makefile @@ -1,51 +1,51 @@ PORTNAME= qsstv PORTVERSION= 9.3.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= comms hamradio MASTER_SITES= http://users.telenet.be/on4qz/qsstv/downloads/ \ LOCAL/shurd DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio SSTV/FAX reception program for unix LICENSE= GPLv3 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libhamlib.so:comms/hamlib \ libopenjp2.so:graphics/openjpeg \ libpulse.so:audio/pulseaudio \ libv4l2.so:multimedia/libv4l BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat USES= compiler:c++11-lang gl pkgconfig qmake qt:5 USE_QT= buildtools core gui network widgets xml USE_GL= gl OPTIONS_DEFINE= DOCS DOCS_CXXFLAGS= -DWITH_DOCS DOCS_QMAKE_ON= CONFIG+=dox DOCS_BUILD_DEPENDS= doxygen:devel/doxygen post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|%%DOCSDIR%%|${DOCSDIR}|g' \ -e 's|%%PERL%%|${PERL}|g' \ ${WRKSRC}/qsstv/qsstv.pro ${WRKSRC}/qwt/qwt.pro \ ${WRKSRC}/qsstv/config/directoriesconfig.cpp \ ${WRKSRC}/qsstv/documentation/manual/manual.doxy \ ${WRKSRC}/qsstv/documentation/manual/manual.txt \ ${WRKSRC}/qsstv/documentation/api/api.doxy ${RM} ${WRKSRC}/qsstv/documentation/manual/manual.txt.* ${RM} ${WRKSRC}/qsstv/documentation/manual/manual.*.orig post-install: -${RM} ${STAGEDIR}/${DOCSDIR}/manual.doxy -${RM} ${STAGEDIR}/${DOCSDIR}/doxygen_sqlite3.db -${RM} ${STAGEDIR}/${DOCSDIR}/*.bak -${RM} ${STAGEDIR}/${DOCSDIR}/*.orig .include diff --git a/comms/wsjtx/Makefile b/comms/wsjtx/Makefile index c4be13a73fab..28c0a86012df 100644 --- a/comms/wsjtx/Makefile +++ b/comms/wsjtx/Makefile @@ -1,68 +1,68 @@ PORTNAME= wsjtx DISTVERSION= 2.1.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= comms hamradio MASTER_SITES= SF/wsjt/${PORTNAME}-${PORTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= hamradio@FreeBSD.org COMMENT= Weak signal ham radio communication package LICENSE= GPLv3 BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor \ autoconf>=2.69:devel/autoconf \ automake>=1.16.1:devel/automake \ a2x:textproc/asciidoc \ libtool:devel/libtool \ ${LOCALBASE}/share/xsl/docbook:textproc/docbook-xsl LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libxslt.so:textproc/libxslt USES= cmake compiler:c++11-lib fortran gl \ makeinfo pkgconfig qt:5 tar:tgz USE_GL= glu USE_QT= core gui network widgets \ multimedia concurrent printsupport serialport sql sql-sqlite3 \ buildtools_build linguisttools_build qmake_build CMAKE_ARGS+= -DCMAKE_PREFIX_PATH+=${LOCALBASE}/wsjtx/lib \ -DLOCALBASE::STRING="${LOCALBASE}" # for detailed debugging uncomment the next line #CMAKE_ARGS+= --debug-output --trace PLIST_SUB+= PORTVERSION="${PORTVERSION}" _PATCHES= wsjtx.patch hamlib.patch .include .if ${GCC_DEFAULT} >= 10 # workaround for More actual than formal arguments in procedure call at (1) FFLAGS+= -fallow-argument-mismatch .endif post-patch: . for _patch in ${_PATCHES} # Keep a copy of the blank patch for the post-build target below ${MV} ${WRKSRC}/${_patch} ${WRKSRC}/${_patch}.orig # Copy the patch provided by the ports system ${CP} ${FILESDIR}/${_patch} ${WRKSRC} . endfor post-build: # With cmake 3.18, the patching stage in the internal build # is run again, trick it by removing the patch again. . for _patch in ${_PATCHES} ${MV} ${WRKSRC}/${_patch}.orig ${WRKSRC}/${_patch} . endfor do-install: (cd ${CONFIGURE_WRKSRC};${MAKE} -f Makefile DESTDIR=${STAGEDIR} install) post-install: .for f in fcal fmeasure fmtave ft8code jt4code jt65code jt9 jt9code \ message_aggregator msk144code qra64code qra64sim udp_daemon wsjtx wsprd ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} .endfor .include diff --git a/databases/grass7/Makefile b/databases/grass7/Makefile index 7f42447a1759..6833baf7a306 100644 --- a/databases/grass7/Makefile +++ b/databases/grass7/Makefile @@ -1,215 +1,215 @@ # Created by: Mikael URANKAR and Loïc BARTOLETTI PORTNAME= grass PORTVERSION= 7.8.5 -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= 7 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Open source Geographical Information System (GIS) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL.TXT BROKEN_sparc64= Does not configure on sparc64 BUILD_DEPENDS= ${PY_NUMPY} \ ${PYTHON_SITELIBDIR}/six.py:devel/py-six@${PY_FLAVOR} LIB_DEPENDS= libgdal.so:graphics/gdal \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgeos.so:graphics/geos RUN_DEPENDS= ${PY_NUMPY} \ ${PYTHON_SITELIBDIR}/six.py:devel/py-six@${PY_FLAVOR} USES= blaslapack compiler:c11 gl gmake gnome iconv \ jpeg perl5 pkgconfig python:3.6+ readline shebangfix 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.0 WX_COMPS= wx:build 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 \ --with-openmp \ --prefix=${LOCALBASE} \ --exec-prefix=${LOCALBASE} CFLAGS+= -std=c11 SUB_FILES= pkg-message 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= LAS NETCDF NLS PDAL ZSTD OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL ODBC PGSQL SQLITE #OPTIONS_SINGLE= BLAS #OPTIONS_SINGLE_BLAS= ATLAS NETLIB GOTOBLAS OPENBLAS OPTIONS_DEFAULT= LAS NETCDF NLS PDAL PGSQL SQLITE ZSTD OPTIONS_SUB= yes # BLAS/LAPACK: Only netlib compile the maxmimum number of modules #BLAS_DESC= BLAS/LAPACK support #GOTOBLAS_DESC= GotoBLAS implementationS #ATLAS_USES= blaslapack:atlas #NETLIB_USES= blaslapack #GOTOBLAS_USES= blaslapack:gotoblas #OPENBLAS_USES= blaslapack:openblas LAS_DESC= Enable LiDAR modules PDAL_DESC= Enable points cloud data modules DB_DESC= Database support LAS_CONFIGURE_ON= --with-liblas=yes LAS_LIB_DEPENDS= liblas.so:devel/liblas \ libboost_program_options.so:devel/boost-libs \ libboost_thread.so:devel/boost-libs \ libgeotiff.so:graphics/libgeotiff 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= libpdal_base.so:math/pdal PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgres SQLITE_USES= sqlite SQLITE_CONFIGURE_WITH= sqlite SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} ZSTD_CONFIGURE_WITH= zstd ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd .include .if ${ARCH} == "i386" USE_GCC= yes PLIST_SUB+= NOTONI386="@comment " .else PLIST_SUB+= NOTONI386="" .endif .if !defined (GRASS_INST_DIR) GRASS_INST_DIR= ${PORTNAME}${VER} .endif MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1 post-patch: ${REINPLACE_CMD} -e \ 's|make -C|$$(MAKE) -C| ; \ /^BINDIR/s|=.*|= $${DESTDIR}$${UNIX_BIN}| ; \ /test /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /tar /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /chmod /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /tar /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /rm /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /$$(MAKE) /s| $$(INST_DIR)| $${DESTDIR}$${INST_DIR}|g ; \ /^$$(INST_DIR)\//s|$$(INST_DIR)|$${DESTDIR}$${INST_DIR}|g ; \ s|> $$(INST_DIR)|> $${DESTDIR}$${INST_DIR}|' \ ${WRKSRC}/include/Make/Install.make ${REINPLACE_CMD} \ 's|= python3|= ${PYTHON_CMD:T}|' ${WRKSRC}/include/Make/Platform.make.in ${REINPLACE_CMD} -e \ "s|'make'|'gmake'|g; \ s|gcc|${CC}|" ${WRKSRC}/scripts/g.extension/g.extension.py ${REINPLACE_CMD} \ 's|$$(ARCH)|$$(TARGET)|g' ${WRKSRC}/include/Make/Grass.make # Replace hardcoded python interpreter to PYTHON_CMD ${REINPLACE_CMD} "s|'GRASS_PYTHON', 'python'|'GRASS_PYTHON', \'${PYTHON_CMD}\'|g" \ ${WRKSRC}/scripts/wxpyimgview/wxpyimgview.py ${REINPLACE_CMD} 's|GRASS_PYTHON=python|GRASS_PYTHON=${PYTHON_CMD}|g' \ ${WRKSRC}/lib/init/grass.sh ${REINPLACE_CMD} \ "s|environ\['GRASS_PYTHON'\] = "'"python3"'"|environ['GRASS_PYTHON'] = "'"${PYTHON_CMD}"'"|g" \ ${WRKSRC}/lib/python/script/setup.py post-install: # remove useless files ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/db.test/ ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/demolocation/PERMANENT/.tmp/ ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/docs/html/colortables/*bak.png # fix pkg-plist issues # poudriere testport, poudriere bulk -t and make ports can create different pkg-plist for i in `${FIND} ${WRKSRC}/scripts -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done for i in `${FIND} ${WRKSRC}/gui/wxpython -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done for i in `${FIND} ${WRKSRC}/raster -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done for i in `${FIND} ${WRKSRC}/imagery -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done ${INSTALL_SCRIPT} ${WRKSRC}/scripts/wxpyimgview/wxpyimgview_gui.py ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/wxpyimgview_gui.py ${MKDIR} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/d.polar ${INSTALL_DATA} ${WRKSRC}/scripts/d.polar/ps_defs.eps ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/d.polar # 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}/tools/g.echo ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/lib/* # symlink grass7 ${LN} -sf ${PORTNAME}${VER} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} .include diff --git a/databases/pgmodeler/Makefile b/databases/pgmodeler/Makefile index 8771bd1e58d2..f5c7f48a975d 100644 --- a/databases/pgmodeler/Makefile +++ b/databases/pgmodeler/Makefile @@ -1,31 +1,32 @@ # Created by: Loïc BARTOLETTI PORTNAME= pgmodeler PORTVERSION= 0.9.3 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= -beta +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= lbartoletti@FreeBSD.org COMMENT= PostgreSQL Database Modeler LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lib gl gmake gnome pgsql pkgconfig qmake qt:5 \ xorg USE_GITHUB= yes USE_GNOME= libxml2 USE_GL= gl USE_QT= core gui network printsupport sql svg widgets testlib uitools \ buildtools_build 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/py-qt5-sql/Makefile b/databases/py-qt5-sql/Makefile index c14bf64d300c..0f35d928b0d7 100644 --- a/databases/py-qt5-sql/Makefile +++ b/databases/py-qt5-sql/Makefile @@ -1,29 +1,30 @@ PORTNAME= sql +PORTREVISION= 1 CATEGORIES= databases devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtSql module CONFIGURE_ARGS= --enable QtSql PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui sql widgets buildtools_build qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtSql API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtSql.so .include diff --git a/databases/redisdesktopmanager/Makefile b/databases/redisdesktopmanager/Makefile index 4e7e2a4e3fb2..ebe12846f08c 100644 --- a/databases/redisdesktopmanager/Makefile +++ b/databases/redisdesktopmanager/Makefile @@ -1,54 +1,55 @@ PORTNAME= redisdesktopmanager PORTVERSION= 2021.2 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= swills@FreeBSD.org COMMENT= Redis DB management tool LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libpython${PYTHON_VER}${PYTHON_ABIVER}.so:lang/python${PYTHON_SUFFIX} \ libssh2.so:security/libssh2 USES= compiler:c++0x dos2unix gettext-runtime gl kde:5 python:build \ qmake qt:5 USE_GL= gl USE_GITHUB= yes DOS2UNIX_FILES= 3rdparty/3rdparty.pri BUILD_WRKSRC= ${WRKSRC}/src CONFIGURE_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${WRKSRC}/bin/linux/release PLIST_FILES= bin/rdm \ share/pixmaps/rdm.png DESKTOP_ENTRIES= "Redis Desktop Manager" \ "Redis Desktop Manager" \ "rdm" \ "rdm" \ "Development;" \ "" GH_TUPLE= uglide:RedisDesktopManager:${PORTVERSION}:DEFAULT/RedisDesktopManager-${PORTVERSION} \ benlau:asyncfuture:5ca0304:asyncfuture/3rdparty/qredisclient/3rdparty/asyncfuture \ uglide:qredisclient:103096d:qredisclient/3rdparty/qredisclient \ sijk:qt-unix-signals:d6a1d12:qtunixsignals/3rdparty/qt-unix-signals \ uglide:qsshclient:6fa7fb7:qsshclient/3rdparty/qredisclient/3rdparty/qsshclient \ uglide:pyotherside:c1a8cc0:pyotherside/3rdparty/pyotherside \ redis:hiredis:6850306:hiredis/3rdparty/qredisclient/3rdparty/hiredis USE_QT= charts concurrent core declarative gui network svg \ widgets buildtools_build qmake_build QMAKE_ARGS+= SYSTEM_LZ4=1 VERSION=${PORTVERSION} BINARY_ALIAS= python3-config=${PYTHON_CMD}-config python3=${PYTHON_CMD} do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/share/pixmaps cd ${INSTALL_WRKSRC} ; \ ${STRIP_CMD} rdm ; \ ${INSTALL_PROGRAM} rdm ${STAGEDIR}${PREFIX}/bin/rdm ${INSTALL_DATA} ${BUILD_WRKSRC}/resources/images/rdm.png ${STAGEDIR}${PREFIX}/share/pixmaps/rdm.png .include diff --git a/databases/sqlitestudio/Makefile b/databases/sqlitestudio/Makefile index 937c15e657c6..77e044a76fd2 100644 --- a/databases/sqlitestudio/Makefile +++ b/databases/sqlitestudio/Makefile @@ -1,81 +1,82 @@ # Created by: Yuri Victorovich PORTNAME= sqlitestudio DISTVERSION= 3.3.3 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= yuri@FreeBSD.org COMMENT= SQLite database GUI manager LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../LICENSE OPTIONS_GROUP= PLUGINS OPTIONS_DEFAULT= ${OPTIONS_GROUP_PLUGINS} OPTIONS_SUB= yes PLUGINS_DESC= Install plugins: ALL_PLUGINS= CsvImport CsvExport DbSqliteCipher HtmlExport JsonExport MultiEditorImage PdfExport Printing \ RegExpImport SqlFormatterSimple SqlExport SqlEnterpriseFormatter XmlExport .for p in ${ALL_PLUGINS} OPTIONS_GROUP_PLUGINS+= PLUGIN${p:C/([A-Z])/_\1/g:tu} PLUGIN${p:C/([A-Z])/_\1/g:tu}_DESC= ${p} plugin PLUGIN${p:C/([A-Z])/_\1/g:tu}_VARS= PLUGIN_DIRS+=${p} .endfor PLUGIN_DB_SQLITE_CIPHER_USES= ssl PLUGIN_PRINTING_USE= QT=printsupport USES= compiler:c++17-lang gl gmake ncurses qmake qt:5 readline sqlite USE_GITHUB= yes GH_ACCOUNT= pawelsalawa USE_QT= core concurrent gui network script sql sql-sqlite3_run svg widgets xml \ uitools buildtools_build linguisttools_build USE_GL= gl WRKSRC_SUBDIR= SQLiteStudio3 CXXFLAGS+= -I${WRKSRC}/coreSQLiteStudio DESKTOP_ENTRIES= "SQLite database manager" \ "Advanced SQLite database manager" \ "SQLiteStudio" \ "SQLiteStudio" \ "Database;Viewer;DataVisualization;Development;Qt;" \ "" post-patch: @${REINPLACE_CMD} -e 's|/usr/|${LOCALBASE}/|' \ ${WRKSRC}/dirs.pri @${REINPLACE_CMD} -e 's|pluginDirs += QDir(CFG->getConfigDir()).absoluteFilePath("plugins");|pluginDirs += "${LOCALBASE}/lib/sqlitestudio";|' \ ${WRKSRC}/coreSQLiteStudio/services/impl/pluginmanagerimpl.cpp post-configure: # Fix for a suspected bug in qmake: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210418 @${REINPLACE_CMD} -E 's|SUBLIBS) -L[^ ]+|SUBLIBS) |' ${WRKSRC}/sqlitestudio/Makefile @${REINPLACE_CMD} -E 's|LIBS)$$|LIBS) -L${PREFIX}/lib|' ${WRKSRC}/sqlitestudio/Makefile @for plugin in ${PLUGIN_DIRS}; do \ cd ${WRKSRC}/../Plugins/$$plugin && \ ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${QMAKE_SOURCE_PATH}; \ done; post-build: @for plugin in ${PLUGIN_DIRS}; do \ cd ${WRKSRC}/../Plugins/$$plugin && \ ${DO_MAKE_BUILD} ${ALL_TARGET}; \ done; post-install: @for plugin in ${PLUGIN_DIRS}; do \ cd ${WRKSRC}/../Plugins/$$plugin && \ ${SETENV} ${MAKE_ENV} ${FAKEROOT} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}; \ done; # install icons for the .desktop file to work @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} \ ${WRKSRC}/guiSQLiteStudio/img/sqlitestudio.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/SQLiteStudio.svg # add the lowercase link to the executable for convenience @cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s SQLiteStudio sqlitestudio .include diff --git a/deskutils/anydesk/Makefile b/deskutils/anydesk/Makefile index 1935b22a1e1f..b44eb173fd30 100644 --- a/deskutils/anydesk/Makefile +++ b/deskutils/anydesk/Makefile @@ -1,38 +1,39 @@ PORTNAME= anydesk DISTVERSION= 6.0.1 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= https://download.anydesk.com/freebsd/ DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}-${ARCH:S/amd64/x86_64/:S/i386/i386/} MAINTAINER= freebsd@sysctl.cz COMMENT= Fast remote desktop #LICENSE= commercial #LICENSE_NAME= commercial #LICENSE_FILE= ${WRKSRC}/copyright #LICENSE_PERMS= no-auto-accept no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libinotify.so:devel/libinotify \ libpolkit-gobject-1.so:sysutils/polkit \ libxkbfile.so:x11/libxkbfile USES= gl gnome xorg USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 pangox-compat USE_XORG= x11 xcb xdamage xext xfixes xi xrandr xrender xtst NO_BUILD= YES WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/anydesk do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/deskutils/cairo-dock/Makefile b/deskutils/cairo-dock/Makefile index f140240d2bda..31e6c29b35f6 100644 --- a/deskutils/cairo-dock/Makefile +++ b/deskutils/cairo-dock/Makefile @@ -1,67 +1,67 @@ PORTNAME= cairo-dock PORTVERSION= 3.4.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= deskutils MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight and eye-candy dock (program launcher) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcairo.so:graphics/cairo \ libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext RUN_DEPENDS= bash:shells/bash \ sox:audio/sox USE_GITHUB= yes GH_ACCOUNT= Cairo-Dock GH_PROJECT= ${PORTNAME}-core GNU_CONFIGURE= yes USES= cmake compiler:c++11-lang gettext gl gnome localbase:ldflags \ pkgconfig USE_GL= glu USE_GNOME= glib20 gtk30 librsvg2 libxml2 USE_LDCONFIG= yes CMAKE_ARGS= -Dinstall-pc-path:STRING="${LOCALBASE}/libdata/pkgconfig" \ -DROOT_PREFIX:PATH=${STAGEDIR} \ -DCMAKE_INSTALL_MANDIR:PATH=man \ OPTIONS_DEFINE= X11 WAYLAND OPTIONS_DEFAULT=EGL WAYLAND X11 OPTIONS_RADIO= GL OPTIONS_RADIO_GL= GLX EGL EGL_DESC= ${GLX_DESC:S/X11/Native/} EGL_CMAKE_BOOL= enable-egl-support EGL_USE= GL=egl GLX_USE= GL=gl GLX_IMPLIES= X11 WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_USE= GL=egl WAYLAND_CMAKE_BOOL= enable-wayland-support WAYLAND_IMPLIES= EGL X11_USES= xorg X11_USE= XORG=x11,xcomposite,xinerama,xrandr,xrender,xtst X11_CMAKE_BOOL= enable-x11-support post-patch: @${FIND} ${WRKSRC} -type f -name "*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|/usr/share/pixmaps/|${LOCALBASE}/share/pixmaps/|g; \ s|/usr/bin/cairo-dock|${LOCALBASE}/bin/cairo-dock|g; \ s|/bin/bash|${LOCALBASE}/bin/bash|g; \ s|/usr/share/applications|${LOCALBASE}/share/applications|g; \ s|/usr/share/icons|${LOCALBASE}/share/icons|g; \ s|%%LOCALBASE%%|${LOCALBASE}|g;' post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgldi.so .include diff --git a/deskutils/calibre/Makefile b/deskutils/calibre/Makefile index c62febda5f5d..eecbe45cdfdb 100644 --- a/deskutils/calibre/Makefile +++ b/deskutils/calibre/Makefile @@ -1,119 +1,120 @@ # Created by: stas PORTNAME= calibre PORTVERSION= 5.21.0 +PORTREVISION= 1 CATEGORIES= deskutils python MASTER_SITES= http://download.calibre-ebook.com/${PORTVERSION}/ MAINTAINER= madpilot@FreeBSD.org COMMENT= Ebook management application LICENSE= GPLv3 DEPRECATED= Uses EOL Python 2.7 via www/py-qt5-webengine EXPIRATION_DATE=2021-06-23 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libpoppler-qt5.so:graphics/poppler-qt5 \ libwmflite.so:graphics/libwmf \ libchm.so:misc/chmlib \ libicudata.so:devel/icu \ libpodofo.so:graphics/podofo \ libmtp.so:multimedia/libmtp \ libfreetype.so:print/freetype2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}css-parser>=1.0.4:www/py-css-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}apsw>=0:databases/py-apsw@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0.3:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5-parser>=0.4.3:www/py-html5-parser@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf RUN_DEPENDS= xdg-open:devel/xdg-utils \ ${PYTHON_PKGNAMEPREFIX}css-parser>=1.0.4:www/py-css-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dnspython>=0:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mechanize>=0:www/py-mechanize@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netifaces>=0:net/py-netifaces@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect>=0:www/py-cssselect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}apsw>=0:databases/py-apsw@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0.3:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=0:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cchardet>=0:textproc/py-cchardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5-parser>=0.4.3:www/py-html5-parser@${PY_FLAVOR} \ ${PY_PILLOW} \ pdftohtml:graphics/poppler-utils \ ${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf USES= desktop-file-utils gettext-runtime gl gnome localbase:ldflags \ pkgconfig pyqt:5 python:3.8+ qt:5 shared-mime-info shebangfix \ ssl tar:xz xorg USE_RC_SUBR= calibre SUB_LIST+= PYTHON_VERSION=${PYTHON_VERSION} USE_PYQT= core gui network pysip qtbuilder sip svg webengine widgets xmlpatterns USE_QT= buildtools_build core dbus gui qmake_build widgets USE_GL= egl gl USE_GNOME= glib20 USE_XORG= xrender xext x11 EXTRACT_BEFORE_ARGS= -x -s '/^calibre/~-src/' -f SHEBANG_GLOB= *.sh *.py *.recipe python_OLD_CMD= "/usr/bin/env python2" "/usr/bin/env python2" "/usr/bin/env python" /bin/python2 \ /usr/bin/python2 ${LOCALBASE}/bin/python3 WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION} MAKE_ENV+= FC_INC_DIR="${LOCALBASE}/include/fontconfig" \ FC_LIB_DIR="${LOCALBASE}/lib" \ OVERRIDE_CFLAGS="${CFLAGS}" \ OVERRIDE_LDFLAGS="${LDFLAGS}" \ PODOFO_LIB_DIR="${LOCALBASE}/lib" \ PODOFO_INC_DIR="${LOCALBASE}/include/podofo" \ WITH_USB=yes \ CALIBRE_CONFIG_DIRECTORY=${WRKDIR}/calibre-config \ XDG_DATA_DIRS=${STAGEDIR}${PREFIX}/share \ XDG_CONFIG_HOME=${WRKDIR}/xdg-config \ XDG_UTILS_INSTALL_MODE=system \ QMAKE=${QMAKE} \ SIP_BIN=${SIP} \ SIP_DIR=${PYQT_SIPDIR} \ CALIBRE_PY3_PORT=1 post-patch: @${REINPLACE_CMD} -e "s|#!/usr/bin/env python{py_major_version}|#!${PYTHON_CMD}|" \ -e "s|#!/usr/bin/env python2|#!${PYTHON_CMD}|" \ -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \ ${WRKSRC}/setup/install.py \ ${WRKSRC}/src/calibre/gui2/dialogs/custom_recipes.py \ ${WRKSRC}/src/calibre/gui2/preferences/tweaks.py do-build: @${MKDIR} ${WRKDIR}/calibre-config ${WRKDIR}/xdg-config @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ ${PYSETUP} build) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages \ ${STAGEDIR}${PREFIX}/share/icons/hicolor \ ${STAGEDIR}${PREFIX}/share/applications \ ${STAGEDIR}${PREFIX}/share/desktop-directories \ ${STAGEDIR}${PREFIX}/share/mime/packages # Create this file to avoid what looks like a bug in xdg-desktop-menu @${TOUCH} ${STAGEDIR}${PREFIX}/share/applications/defaults.list (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ ${PYSETUP} install --prefix ${PREFIX} \ --staging-root ${STAGEDIR}${PREFIX}) @${RM} ${STAGEDIR}${PREFIX}/bin/calibre-uninstall \ ${STAGEDIR}${PREFIX}/share/applications/defaults.list @${RMDIR} ${STAGEDIR}${PREFIX}/share/desktop-directories @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/calibre/calibre/plugins/* .include diff --git a/deskutils/calindori/Makefile b/deskutils/calindori/Makefile index bed11e974c15..6dcbdae06d85 100644 --- a/deskutils/calindori/Makefile +++ b/deskutils/calindori/Makefile @@ -1,24 +1,25 @@ PORTNAME= calindori DISTVERSION= 1.4 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= KDE/stable/${PORTNAME}/ MAINTAINER= adridg@FreeBSD.org COMMENT= Calendar application for desktop and phone LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt USES= cmake compiler:c++17-lang gl kde:5 pkgconfig qt:5 tar:xz USE_GL= gl USE_QT= core dbus declarative gui \ network quickcontrols quickcontrols2 \ svg widgets \ buildtools_build linguist_build qmake_build USE_KDE= calendarcore config coreaddons dbusaddons i18n kirigami2 \ notifications people service \ ecm_build CMAKE_OFF= BUILD_TESTING .include diff --git a/deskutils/fet/Makefile b/deskutils/fet/Makefile index a1879a91930a..4a94ee85e60d 100644 --- a/deskutils/fet/Makefile +++ b/deskutils/fet/Makefile @@ -1,57 +1,58 @@ # Created by: Leinier Cruz Salfran PORTNAME= fet DISTVERSION= 6.0.0 +PORTREVISION= 1 CATEGORIES= deskutils education MASTER_SITES= https://lalescu.ro/liviu/fet/download/ \ https://lalescu.ro/liviu/fet/download/old/ \ https://timetabling.de/download/ \ https://timetabling.de/download/old/ MAINTAINER= uzsolt@uzsolt.hu COMMENT= Free timetabling software LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++14-lang gl qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= buildtools_build core printsupport widgets INSTALL_TARGET= ${WRKSRC}/fet-cl DESKTOP_ENTRIES="FET" \ "Free timetable software" \ "" \ "fet" \ "Education;Qt;" \ true PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES NLS ONLYCL OPTIONS_SUB= yes ONLYCL_DESC= Build only command line version (without Qt GUI) ONLYCL_VARS= QMAKE_SOURCE_PATH=${WRKSRC}/src/src-cl.pro ONLYCL_VARS_OFF= INSTALL_TARGET+=${WRKSRC}/fet USE_QT+="gui network" post-patch: @${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \ ${WRKSRC}/src/interface/fet.cpp do-install: ${INSTALL_PROGRAM} ${INSTALL_TARGET} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/fet*.gz ${STAGEDIR}${MANPREFIX}/man/man1 do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} do-install-NLS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/translations cd ${WRKSRC}/translations && ${INSTALL_DATA} *.qm ${STAGEDIR}${DATADIR}/translations .include diff --git a/deskutils/flameshot/Makefile b/deskutils/flameshot/Makefile index 40772cbc4586..60e100d4d6e6 100644 --- a/deskutils/flameshot/Makefile +++ b/deskutils/flameshot/Makefile @@ -1,30 +1,30 @@ # Created by: Nicola Stanislao Vitale PORTNAME= flameshot PORTVERSION= 0.9.0 DISTVERSIONPREFIX= v -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= nivit@FreeBSD.org COMMENT= Powerful yet simple to use screenshot software LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake compiler:c++11-lang gl qmake qt:5 CMAKE_INSTALL_PREFIX= ${STAGEDIR}/${PREFIX} GH_ACCOUNT= flameshot-org USE_GITHUB= yes USE_GL= gl USE_QT= core dbus gui linguist network svg widgets \ buildtools_build post-patch: @${REINPLACE_CMD} -e 's,$${CMAKE_INSTALL_FULL_BINDIR},${LOCALBASE}/bin,1' \ ${WRKSRC}/data/dbus/org.flameshot.Flameshot.service.in .include diff --git a/deskutils/gnome-contacts/Makefile b/deskutils/gnome-contacts/Makefile index 037a8b4f1852..4f9ce74ada40 100644 --- a/deskutils/gnome-contacts/Makefile +++ b/deskutils/gnome-contacts/Makefile @@ -1,64 +1,65 @@ # Created by: Koop Mast PORTNAME= gnome-contacts PORTVERSION= 3.38.1 +PORTREVISION= 2 CATEGORIES= deskutils gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Contacts manager for gnome LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= vala>=0.14.0:lang/vala LIB_DEPENDS= libchamplain-0.12.so:graphics/libchamplain \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libdrm.so:graphics/libdrm \ libexpat.so:textproc/expat2 \ libfolks.so:net-im/folks \ libgee-0.8.so:devel/libgee \ libgeocode-glib.so:net/geocode-glib \ libgoa-1.0.so:net/gnome-online-accounts \ libgstreamer-1.0.so:multimedia/gstreamer1 \ libjson-glib-1.0.so:devel/json-glib \ libnotify.so:devel/libnotify \ libnspr4.so:devel/nspr \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ libtelepathy-glib.so:net-im/telepathy-glib \ libhandy-1.so:x11-toolkits/libhandy PORTSCOUT= limitw:1,even USE_GL= egl USE_GNOME= cairo evolutiondataserver3 gdkpixbuf2 gnomedesktop3 gtk30 \ intlhack introspection:build USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr USES= compiler:c11 gettext gl gnome localbase meson perl5 pkgconfig \ python:3.4+,build sqlite tar:xz xorg GLIB_SCHEMAS= org.gnome.Contacts.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES OPTIONS_DEFINE_i386= CHEESE OPTIONS_DEFINE_amd64= CHEESE OPTIONS_DEFAULT_i386= CHEESE OPTIONS_DEFAULT_amd64= CHEESE MANPAGES_MESON_TRUE= with-manpage MANPAGES_USE= GNOME=libxslt:build MANPAGES_BUILD_DEPENDS= docbook-xml>=0:textproc/docbook-xml \ docbook-xsl>=0:textproc/docbook-xsl \ docbook-xsl-ns>=0:textproc/docbook-xsl-ns CHEESE_DESC= Cheese webcam support CHEESE_MESON_YES= with-cheese CHEESE_LIB_DEPENDS= libcheese-gtk.so:multimedia/cheese .include diff --git a/deskutils/gnome-maps/Makefile b/deskutils/gnome-maps/Makefile index 90869085c79d..80757a227157 100644 --- a/deskutils/gnome-maps/Makefile +++ b/deskutils/gnome-maps/Makefile @@ -1,44 +1,45 @@ # Created by: Gustau Perez PORTNAME= gnome-maps DISTVERSION= 3.38.5 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Map application for GNOME 3 LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= geoclue>=0:net/geoclue LIB_DEPENDS= libgeocode-glib.so:net/geocode-glib \ libgee-0.8.so:devel/libgee \ libcogl.so:graphics/cogl \ libclutter-1.0.so:graphics/clutter \ libchamplain-0.12.so:graphics/libchamplain \ libsoup-2.4.so:devel/libsoup \ librest-0.7.so:devel/librest \ libjson-glib-1.0.so:devel/json-glib \ libfolks.so:net-im/folks \ libgfbgraph-0.2.so:net/gfbgraph \ libgjs.so:lang/gjs \ libsoup-2.4.so:devel/libsoup \ librest-0.7.so:devel/librest RUN_DEPENDS= geoclue>=0:net/geoclue PORTSCOUT= limitw:1,even USES= desktop-file-utils gettext gl gnome meson \ pkgconfig tar:xz xorg USE_GNOME= cairo gtk30 intltool libxml2 USE_GL= egl USE_LDCONFIG= yes USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr INSTALLS_ICONS= yes INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.Maps.gschema.xml .include diff --git a/deskutils/kongress/Makefile b/deskutils/kongress/Makefile index 0330b1051a87..98820021393a 100644 --- a/deskutils/kongress/Makefile +++ b/deskutils/kongress/Makefile @@ -1,24 +1,25 @@ PORTNAME= kongress DISTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} MAINTAINER= adridg@FreeBSD.org COMMENT= Conference companion application LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt USES= cmake compiler:c++17-lang gl kde:5 pkgconfig qt:5 tar:xz USE_GL= gl USE_QT= core dbus declarative gui \ network quickcontrols quickcontrols2 \ svg widgets \ buildtools_build linguist_build qmake_build USE_KDE= calendarcore config coreaddons dbusaddons i18n kirigami2 notifications service \ ecm_build CMAKE_ON= REMINDERS_ENABLED CMAKE_OFF= BUILD_TESTING .include diff --git a/deskutils/lumina-archiver/Makefile b/deskutils/lumina-archiver/Makefile index e6736e531395..6264bd70ad4b 100644 --- a/deskutils/lumina-archiver/Makefile +++ b/deskutils/lumina-archiver/Makefile @@ -1,32 +1,33 @@ # Created by: Ken Moore PORTNAME= lumina-archiver DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Archive manager from the Lumina Desktop LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../../../LICENSE USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 USE_QT= buildtools_build concurrent core gui \ multimedia network svg widgets x11extras USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= lumina-desktop GH_PROJECT= lumina OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= qt=linguist_build NLS_QMAKE_ON= CONFIG+=WITH_I18N CONFLICTS_INSTALL= lumina-1.2.* WRKSRC_SUBDIR= src-qt5/desktop-utils/${PORTNAME} .include diff --git a/deskutils/lumina-calculator/Makefile b/deskutils/lumina-calculator/Makefile index 3f5ac620e8d4..c22b7d77133f 100644 --- a/deskutils/lumina-calculator/Makefile +++ b/deskutils/lumina-calculator/Makefile @@ -1,29 +1,30 @@ PORTNAME= lumina-calculator DISTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Scientific calculator from the Lumina Desktop LICENSE= BSD3CLAUSE USES= compiler:c++11-lang gl qmake qt:5 xorg USE_GL= gl USE_XORG= x11 USE_QT= buildtools_build core gui svg widgets USE_GITHUB= yes GH_ACCOUNT= lumina-desktop GH_PROJECT= lumina-calculator GH_TAGNAME= ccb792fc713aa7163fffd37fc20c83ffe9ca7523 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= qt=linguist_build NLS_QMAKE_ON= CONFIG+=WITH_I18N CONFLICTS_INSTALL= lumina-1.2.* WRKSRC_SUBDIR= src-qt5 .include diff --git a/deskutils/lumina-fileinfo/Makefile b/deskutils/lumina-fileinfo/Makefile index 1b1a1ec95848..f60d9c073dd3 100644 --- a/deskutils/lumina-fileinfo/Makefile +++ b/deskutils/lumina-fileinfo/Makefile @@ -1,32 +1,33 @@ # Created by: Ken Moore PORTNAME= lumina-fileinfo DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= lbartoletti@FreeBSD.org COMMENT= File properties utility from the Lumina Desktop LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../../../LICENSE USES= compiler:c++11-lang gl qmake qt:5 USE_QT= buildtools_build concurrent core gui \ multimedia network svg widgets x11extras USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= lumina-desktop GH_PROJECT= lumina OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_QMAKE_ON= CONFIG+=WITH_I18N NLS_USE= QT=linguist_build CONFLICTS_INSTALL= lumina-1.2.* WRKSRC_SUBDIR= src-qt5/desktop-utils/${PORTNAME} .include diff --git a/deskutils/lumina-fm/Makefile b/deskutils/lumina-fm/Makefile index 1fc84fe68b8f..ec850e1b1398 100644 --- a/deskutils/lumina-fm/Makefile +++ b/deskutils/lumina-fm/Makefile @@ -1,29 +1,30 @@ PORTNAME= lumina-fm DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Insight file manager from the Lumina Desktop LICENSE= BSD3CLAUSE USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 USE_QT= buildtools_build concurrent core gui imageformats \ multimedia network svg widgets x11extras USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= lumina-desktop GH_PROJECT= lumina OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= QT=linguist_build NLS_QMAKE_ON= CONFIG+=WITH_I18N CONFLICTS_INSTALL= lumina-1.2.* WRKSRC_SUBDIR= src-qt5/desktop-utils/${PORTNAME} .include diff --git a/deskutils/lumina-mediaplayer/Makefile b/deskutils/lumina-mediaplayer/Makefile index c7f7679d8ac2..69903b04e4fe 100644 --- a/deskutils/lumina-mediaplayer/Makefile +++ b/deskutils/lumina-mediaplayer/Makefile @@ -1,33 +1,34 @@ # Created by: Ken Moore PORTNAME= lumina-mediaplayer DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Streaming media player from the Lumina Desktop LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../../../LICENSE RUN_DEPENDS= gstreamer1-qt5>=0:multimedia/gstreamer1-qt \ gstreamer1-plugins-gl>=0:graphics/gstreamer1-plugins-gl USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 USE_GL= gl USE_QT= buildtools_build core concurrent gui \ multimedia network svg widgets x11extras USE_GITHUB= yes GH_ACCOUNT= lumina-desktop GH_PROJECT= lumina OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= qt=linguist_build NLS_QMAKE_ON= CONFIG+=WITH_I18N WRKSRC_SUBDIR= src-qt5/desktop-utils/${PORTNAME} .include diff --git a/deskutils/lumina-pdf/Makefile b/deskutils/lumina-pdf/Makefile index 9127b117b379..1703594dbf7d 100644 --- a/deskutils/lumina-pdf/Makefile +++ b/deskutils/lumina-pdf/Makefile @@ -1,46 +1,46 @@ PORTNAME= lumina-pdf DISTVERSION= 1.6.0 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= deskutils MAINTAINER= lbartoletti@FreeBSD.org COMMENT= PDF viewer from the Lumina Desktop LICENSE= BSD3CLAUSE USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 USE_QT= buildtools_build concurrent core gui \ multimedia network printsupport \ svg widgets x11extras USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= lumina-desktop GH_PROJECT= lumina-pdf GH_TAGNAME= 645ed591ef91c3607d3ab87dd86f7acfd08b05c9 OPTIONS_DEFINE= NLS OPTIONS_SINGLE= RENDERER OPTIONS_SINGLE_RENDERER= POPPLER MUPDF OPTIONS_DEFAULT= POPPLER OPTIONS_SUB= yes POPPLER_DESC= Use Poppler-qt5 backend renderer MUPDF_DESC= Use MuPDF backend renderer (broken) MUPDF_BROKEN= Does not build with MuPDF backend MUPDF_QMAKE_ON= USE_MUPDF=true MUPDF_LIB_DEPENDS= libmupdf.so:graphics/mupdf NLS_QMAKE_ON= CONFIG+=WITH_I18N NLS_USE= qt=linguist_build POPPLER_QMAKE_ON= USE_POPPLER=true POPPLER_LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 WRKSRC_SUBDIR= src-qt5 CONFLICTS_INSTALL= lumina-1.2.* .include diff --git a/deskutils/lumina-photo/Makefile b/deskutils/lumina-photo/Makefile index ab64b66a2d99..a287062300bb 100644 --- a/deskutils/lumina-photo/Makefile +++ b/deskutils/lumina-photo/Makefile @@ -1,27 +1,28 @@ PORTNAME= lumina-photo DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Image viewer utility from the Lumina Desktop LICENSE= BSD3CLAUSE USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 USE_QT= buildtools_build concurrent core gui multimedia \ printsupport network svg widgets x11extras USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= lumina-desktop GH_PROJECT= lumina OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= QT=linguist_build NLS_QMAKE_ON= CONFIG+=WITH_I18N WRKSRC_SUBDIR= src-qt5/desktop-utils/${PORTNAME} .include diff --git a/deskutils/lumina-screenshot/Makefile b/deskutils/lumina-screenshot/Makefile index c37795df98ef..ab9972ef4fd7 100644 --- a/deskutils/lumina-screenshot/Makefile +++ b/deskutils/lumina-screenshot/Makefile @@ -1,38 +1,39 @@ # Created by: Ken Moore PORTNAME= lumina-screenshot DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Screenshot utility from the Lumina Desktop LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../../../LICENSE LIB_DEPENDS= libxcb-ewmh.so:x11/xcb-util-wm \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-image.so:x11/xcb-util-image \ libxcb-util.so:x11/xcb-util USES= compiler:c++11-lang gl qmake qt:5 xorg USE_QT= buildtools_build concurrent core gui \ multimedia network svg x11extras widgets USE_XORG= xcb xdamage USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= lumina-desktop GH_PROJECT= lumina OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= QT=linguist_build NLS_QMAKE_ON= CONFIG+=WITH_I18N CONFLICTS_INSTALL= lumina-1.2.* WRKSRC_SUBDIR= src-qt5/desktop-utils/${PORTNAME} .include diff --git a/deskutils/lumina-textedit/Makefile b/deskutils/lumina-textedit/Makefile index 58b426829d4b..fe894c2dedb6 100644 --- a/deskutils/lumina-textedit/Makefile +++ b/deskutils/lumina-textedit/Makefile @@ -1,32 +1,33 @@ # Created by: Ken Moore PORTNAME= lumina-textedit DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Plaintext editor from the Lumina Desktop LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../../../LICENSE USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 USE_QT= buildtools_build concurrent core gui multimedia \ network printsupport svg widgets x11extras USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= lumina-desktop GH_PROJECT= lumina OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= QT=linguist_build NLS_QMAKE_ON= CONFIG+=WITH_I18N CONFLICTS_INSTALL= lumina-1.2.* WRKSRC_SUBDIR= src-qt5/desktop-utils/${PORTNAME} .include diff --git a/deskutils/qownnotes/Makefile b/deskutils/qownnotes/Makefile index 1a35dcf7aa65..416a84da2e71 100644 --- a/deskutils/qownnotes/Makefile +++ b/deskutils/qownnotes/Makefile @@ -1,18 +1,18 @@ PORTNAME= qownnotes DISTVERSION= 19.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils MASTER_SITES= https://download.tuxfamily.org/qownnotes/src/ MAINTAINER= stobbsm@gmail.com COMMENT= Manage notes using nextcloud and markdown LICENSE= GPLv2 RUN_DEPENDS= git:devel/git USES= gl gmake qmake qt:5 tar:xz USE_GL= gl USE_QT= buildtools_build linguisttools_build core dbus declarative gui printsupport network sql svg webkit websockets widgets xml xmlpatterns .include diff --git a/deskutils/recoll/Makefile b/deskutils/recoll/Makefile index 518ff57ae312..f936aa4ef4ce 100644 --- a/deskutils/recoll/Makefile +++ b/deskutils/recoll/Makefile @@ -1,101 +1,101 @@ # Created by: J.F. Dockes PORTNAME= recoll PORTVERSION= 1.27.3 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= deskutils MASTER_SITES= https://www.lesbonscomptes.com/recoll/ MAINTAINER= jjuanino@gmail.com COMMENT= Personal full text search package, based on Xapian LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} LIB_DEPENDS= libxapian.so:databases/xapian-core RUN_DEPENDS= unrar:archivers/unrar \ antiword:textproc/antiword \ catdoc:textproc/catdoc \ wpd2html:textproc/libwpd010 \ unrtf:textproc/unrtf USES= bison compiler:c++11-lang gmake gnome iconv libtool localbase \ pkgconfig python:3.5+ shebangfix USE_GNOME= libxslt USE_LDCONFIG= yes USE_PYTHON= py3kplist SHEBANG_FILES= filters/*.py filters/rcl7z filters/rclaudio \ filters/rclchm filters/rcldia filters/rclepub \ filters/rclepub1 filters/rclics filters/rclimg \ filters/rclinfo filters/rclkar filters/rclpython \ filters/rclrar filters/rcltar filters/rclwar \ filters/rclzip desktop/hotrecoll.py GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-recollq --enable-xadump MAKE_ENV= PYTHON_CMD=${PYTHON_CMD} PYDISTUTILS_PKGNAME= Recoll PYDISTUTILS_PKGVERSION= 1.0 PLIST_SUB= VERSION="${PORTVERSION}" \ PYDISTUTILS_EGGINFO="${PYDISTUTILS_EGGINFO}" OPTIONS_DEFINE= ASPELL CHM DJVU LATEX IMAGE PDF PS \ SOUND QT5 X11MON OPTIONS_DEFAULT= ASPELL CHM IMAGE PDF PS QT5 SOUND OPTIONS_SUB= yes ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell ASPELL_CONFIGURE_WITH= 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_USE= tex=dvipsk:run,latex:run PDF_RUN_DEPENDS= pdftotext:graphics/poppler-utils PS_RUN_DEPENDS= pstotext:print/pstotext USE_QT= core gui printsupport widgets xml \ buildtools_build qmake_build QT5_USES= qt:5 gl QT5_USE= GL=gl QT5_CONFIGURE_ENABLE= qtgui QT5_CONFIGURE_ON= --disable-webkit QT5_CONFIGURE_ENV= QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}" \ QTDIR="${PREFIX}" 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_ENABLE= x11mon X11MON_CONFIGURE_WITH= fam X11MON_BROKEN= does not build: index/rclmonrcv.cpp:(.text+0x1f13): undefined reference to `FAMOpen2' 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|python setup.py|${PYTHON_CMD} setup.py|; s|sudo||' \ ${WRKSRC}/python/recoll/Makefile @${REINPLACE_CMD} -e \ 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ ${WRKSRC}/Makefile.in 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}${PYTHONPREFIX_SITELIBDIR}/recollchm/*.so \ ${STAGEDIR}${PREFIX}/lib/recoll/*.so \ ${STAGEDIR}${PREFIX}/bin/recoll .include diff --git a/deskutils/znotes/Makefile b/deskutils/znotes/Makefile index 35f4ced46a96..11854eb16e4b 100644 --- a/deskutils/znotes/Makefile +++ b/deskutils/znotes/Makefile @@ -1,37 +1,38 @@ # Created by: Veniamin Gvozdikov PORTNAME= znotes DISTVERSION= 0.4.6 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= rigoletto@FreeBSD.org COMMENT= Simple notes managment application based on Qt LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang gl qmake qt:5 USE_GL= gl USE_QT= buildtools_build linguisttools_build core gui network \ printsupport widgets xml USE_GITHUB= yes GH_ACCOUNT= proton GH_PROJECT= zNotes CONFLICTS_INSTALL= znotes-qt[45] DESKTOP_ENTRIES="zNotes" "Notes managment" \ "${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \ "Utility;TextEditor;Qt;" true post-patch: @${REINPLACE_CMD} -e '/.path =/s|/usr|$$$$PREFIX|g' \ -e '/PREFIX = /d' \ ${WRKSRC}/${PORTNAME}.pro pre-configure: #Work around badly written .pro cd ${WRKSRC} && ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro .include diff --git a/devel/agar/Makefile b/devel/agar/Makefile index 8dc5c5289739..84aff0d4a0ab 100644 --- a/devel/agar/Makefile +++ b/devel/agar/Makefile @@ -1,87 +1,87 @@ PORTNAME= agar PORTVERSION= 1.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://stable.hypertriton.com/agar/ MAINTAINER= vedge@hypertriton.com COMMENT= Cross-platform GUI toolkit LICENSE= BSD2CLAUSE BROKEN_FreeBSD_12_powerpc64= fails to compile: cpuinfo.c:289: error: 'IllegalInsn' undeclared (first use in this function) BROKEN_FreeBSD_13_powerpc64= fails to compile: include/agar/core/byteswap.h:46:8: error: unsupported inline asm: input with type 'int' matching output with type 'u_int16_t' (aka 'unsigned short') USES= libtool pathfix perl5 pkgconfig jpeg USE_PERL5= build USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DEBUG FONTCONFIG GUI NETWORK PORTAUDIO SDL SNDFILE X11 XINERAMA OPTIONS_DEFAULT=FONTCONFIG GUI NETWORK PORTAUDIO SDL SNDFILE X11 XINERAMA OPTIONS_SUB= yes NETWORK_DESC= Network support in AG_Net(3) DEBUG_CONFIGURE_ENABLE= debug NETWORK_CONFIGURE_ENABLE=network PORTAUDIO_CONFIGURE_ENABLE=au PORTAUDIO_CONFIGURE_ON= --with-portaudio=${LOCALBASE} PORTAUDIO_CONFIGURE_OFF=--without-portaudio PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_IMPLIES= SNDFILE SNDFILE_CONFIGURE_ON= --with-sndfile=${LOCALBASE} SNDFILE_CONFIGURE_OFF= --without-sndfile SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_IMPLIES= PORTAUDIO GUI_CONFIGURE_ENABLE= gui GUI_CONFIGURE_ON= --with-jpeg=${LOCALBASE} \ --with-png=${LOCALBASE} \ --with-freetype=${LOCALBASE} GUI_LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 FONTCONFIG_CONFIGURE_WITH=fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_IMPLIES= GUI X11_USES= gl xorg X11_USE= GL=gl XORG=x11,xext X11_CONFIGURE_ON= --with-x=${LOCALBASE} --with-glx X11_CONFIGURE_OFF= --without-x --without-glx X11_IMPLIES= GUI XINERAMA_USE= XORG=xinerama XINERAMA_CONFIGURE_WITH=xinerama XINERAMA_IMPLIES= X11 SDL_USES= gl sdl SDL_USE= SDL=sdl GL=gl SDL_CONFIGURE_WITH= sdl SDL_IMPLIES= GUI .if defined(MACHINE_CPU) && (${MACHINE_CPU:Msse} == "sse" || ${MACHINE_CPU:Mamd64} == "amd64") CONFIGURE_ARGS+= --with-sse \ --with-sse-inline PLIST_SUB+= SSE="" .else CONFIGURE_ARGS+= --without-sse PLIST_SUB+= SSE="@comment " .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libag_*.so.* post-patch-GUI-off: @${REINPLACE_CMD} -e 's|^LIBS=.*|LIBS=|' ${WRKSRC}/au/Makefile @${REINPLACE_CMD} -e 's|^LIBS=.*|LIBS=|' ${WRKSRC}/math/Makefile .include diff --git a/devel/allegro/Makefile b/devel/allegro/Makefile index af7a524d3434..2cfb905ae024 100644 --- a/devel/allegro/Makefile +++ b/devel/allegro/Makefile @@ -1,76 +1,76 @@ # Created by: Jimmy Olgeni PORTNAME= allegro DISTVERSION= 4.4.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= https://github.com/liballeg/allegro5/releases/download/${DISTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform library for games and multimedia programming LICENSE= GIFTWARE LICENSE_NAME= Giftware LICENSE_FILE= ${WRKSRC}/docs/txt/license.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libogg.so:audio/libogg \ libpng.so:graphics/png \ libvorbis.so:audio/libvorbis USES= cmake gl makeinfo pkgconfig xorg USE_GL= gl glu USE_XORG= ice sm x11 xcursor xext xpm xxf86dga xxf86vm USE_LDCONFIG= yes INFO= allegro PORTDOCS= * PORTEXAMPLES= * PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" CMAKE_ARGS= -DDOCDIR="${DOCSDIR}" CMAKE_OFF= WANT_EXAMPLES WANT_MODULES CMAKE_ON= WANT_LOGG # Wrong versioning upstream PORTSCOUT= ignore:1 OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_MULTI= AUDIO OPTIONS_MULTI_AUDIO= ALSA JACK OSS SNDIO OPTIONS_DEFAULT= OSS OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_USES= localbase:ldflags ALSA_CMAKE_BOOL= WANT_ALSA JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= WANT_JACK OSS_CMAKE_BOOL= WANT_OSS SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= WANT_SNDIO post-patch: @${REINPLACE_CMD} -e 's|/allegro-$${ALLEGRO_VERSION}|| ; s|"info"|"${INFO_PATH}"|g ' \ ${WRKSRC}/docs/CMakeLists.txt @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/src/x/xdga2.c @${CP} ${FILESDIR}/sndio.c ${WRKSRC}/src/unix post-patch-JACK-on: @${REINPLACE_CMD} -e 's|jack_client = jack_client_new(jack_client_name);|jack_client = jack_client_open(jack_client_name, (jack_options_t)0, NULL);|' \ ${WRKSRC}/src/unix/jack.c post-install: ${INSTALL_MAN} ${INSTALL_WRKSRC}/docs/man/*.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/ post-install-EXAMPLES-on: @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) @(cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${STAGEDIR}${EXAMPLESDIR}) ${INSTALL_DATA} ${WRKSRC}/allegro.cfg ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/devel/allegro5/Makefile b/devel/allegro5/Makefile index bdbc97f4dffd..6b33cee0fc26 100644 --- a/devel/allegro5/Makefile +++ b/devel/allegro5/Makefile @@ -1,83 +1,84 @@ # Created by: Rusmir Dusko PORTNAME= allegro DISTVERSION= 5.2.7.0 +PORTREVISION= 1 CATEGORIES= devel games PKGNAMESUFFIX= 5 MAINTAINER= kpedersen@disroot.org COMMENT= Cross-platform C library for games and multimedia programming LICENSE= ZLIB BSD3CLAUSE LICENSE_COMB= dual LIB_DEPENDS= libFLAC.so:audio/flac \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjack.so:audio/jack \ libogg.so:audio/libogg \ libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libtheoradec.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis \ libwebp.so:graphics/webp USES= cmake:insource compiler:c++11-lang gl gnome jpeg \ openal:soft pkgconfig xorg uniquefiles:dirs USE_GITHUB= yes GH_ACCOUNT= liballeg GH_PROJECT= allegro5 USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga sm ice xi xinerama xrandr \ xscrnsaver USE_GL= gl glu USE_GNOME= gtk30 cairo gdkpixbuf2 USE_LDCONFIG= yes CFLAGS+= -isystem${LOCALBASE}/include -L${LOCALBASE}/lib -Wno-unused-command-line-argument PLIST_SUB= SHLIB_VER="${PORTVERSION}" SHLIB_VER1="${PORTVERSION:R}" PORTDOCS= * PORTEXAMPLES= * DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX} OPTIONS_DEFINE= ALSA DOCS EXAMPLES PULSEAUDIO OPTIONS_SUB= yes DOCS_DESC= Build and install docs and manpages (requires pandoc) DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/pandoc:textproc/hs-pandoc DOCS_CMAKE_BOOL= WANT_DOCS ALSA_LIB_DEPENDS= libasound.so.2:audio/alsa-lib ALSA_CMAKE_BOOL= WANT_ALSA ALSA_BROKEN= ALSA support is broken # confirmed by running demos, leads to assertion at startup EXAMPLES_CMAKE_BOOL= WANT_EXAMPLES WANT_DEMOS PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WANT_PULSEAUDIO post-patch: @${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt post-install-DOCS-on: ${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}${MAN3PREFIX}/man/man3/ @cd ${WRKSRC} && ${COPYTREE_SHARE} "README.txt docs/src docs/html" ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} "examples demos" ${STAGEDIR}${EXAMPLESDIR}) ${FIND} -d ${STAGEDIR}${EXAMPLESDIR} \ -name CMakeFiles -o -name cmake_install.cmake \ -exec ${RM} -r {} \; ${FIND} ${STAGEDIR}${EXAMPLESDIR}/examples -regex ".*/ex_[a-z0-9_]*" \ -exec ${CHMOD} a+x {} \; \ -exec ${STRIP_CMD} {} \; .for l in cosmic_protector skater speed @${CHMOD} a+x ${STAGEDIR}${EXAMPLESDIR}/demos/${l}/${l} @${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/demos/${l}/${l} .endfor .include diff --git a/devel/bullet/Makefile b/devel/bullet/Makefile index e879aaba8f76..3a6d18fbf4bb 100644 --- a/devel/bullet/Makefile +++ b/devel/bullet/Makefile @@ -1,38 +1,38 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= bullet PORTVERSION= 2.86.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MAINTAINER= acm@FreeBSD.org COMMENT= 3D collision detection and rigid body dynamics library LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt USE_GITHUB= yes GH_ACCOUNT= bulletphysics GH_PROJECT= bullet3 USES= cmake compiler:c++11-lang gl xorg USE_GL= gl glu glut USE_LDCONFIG= yes USE_XORG= x11 CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \ -DINSTALL_LIBS:BOOL=ON \ -DINSTALL_EXTRA_LIBS:BOOL=ON \ -DBUILD_BULLET2_DEMOS:BOOL=OFF \ -DBUILD_BULLET3_DEMOS:BOOL=OFF \ -DBUILD_UNIT_TESTS:BOOL=OFF PORTDOCS= * OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}/${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/*.pdf ${STAGEDIR}/${DOCSDIR} .include diff --git a/devel/clanlib/Makefile b/devel/clanlib/Makefile index bbf8b255c3b2..83343a2d6486 100644 --- a/devel/clanlib/Makefile +++ b/devel/clanlib/Makefile @@ -1,61 +1,61 @@ # Created by: Maxim Sobolev PORTNAME= clanlib PORTVERSION= 2.3.7 -PORTREVISION= 18 +PORTREVISION= 19 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= http://www.clanlib.org/download/releases-2.0/ DISTNAME= ClanLib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform game SDK LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_i386= typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'khronos_intptr_t' (aka 'long')) BROKEN_powerpc= typedef redefinition with different types ('ptrdiff_t' (aka 'int') vs 'khronos_intptr_t' (aka 'long')) LIB_DEPENDS= libpng.so:graphics/png \ libmikmod.so:audio/libmikmod \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg \ libfontconfig.so:x11-fonts/fontconfig \ libpcre.so:devel/pcre \ libfreetype.so:print/freetype2 USES= compiler:c++11-lib gl gmake jpeg libtool localbase:ldflags \ pathfix pkgconfig sqlite tar:tgz xorg USE_XORG= x11 xrender USE_LDCONFIG= yes USE_GL= gl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docs \ --enable-clanDisplay \ --enable-clanGL \ --enable-clanGL1 \ --enable-clanSound \ --enable-clanDatabase \ --enable-clanSqlite \ --enable-clanRegExp \ --enable-clanNetwork \ --enable-clanGUI \ --enable-clanCSSLayout \ --enable-clanSWRender \ --enable-clanMikMod \ --enable-clanVorbis \ --enable-getaddr INSTALL_TARGET= install-strip PLIST_SUB+= VER=${PORTVERSION:R} \ SHORT_VER=${PORTVERSION:R:R}${PORTVERSION:R:E} post-patch: @${REINPLACE_CMD} -e 's|LIBS="-lsqlite3 -ldl"|LIBS="-lsqlite3"|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e '114 s|/proc/self/exe|/proc/curproc/file|g' \ ${WRKSRC}/Sources/Core/System/Unix/init_linux.cpp .include diff --git a/devel/clanlib1/Makefile b/devel/clanlib1/Makefile index 664bac4989b6..c14f0d20eb35 100644 --- a/devel/clanlib1/Makefile +++ b/devel/clanlib1/Makefile @@ -1,51 +1,51 @@ # Created by: Maxim Sobolev PORTNAME= clanlib PORTVERSION= 1.0.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= devel MASTER_SITES= http://www.clanlib.org/download/releases-1.0/ PKGNAMESUFFIX= 1 DISTNAME= ClanLib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform game SDK LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libmikmod.so:audio/libmikmod \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg USES= alias gl gmake jpeg libtool localbase:ldflags pathfix pkgconfig \ sdl tar:tgz xorg USE_CXXSTD= c++98 USE_XORG= x11 xi xxf86vm USE_LDCONFIG= yes USE_SDL= gfx USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docs \ --enable-clanDisplay \ --enable-clanGL \ --enable-clanSDL \ --enable-clanSound \ --enable-clanNetwork \ --enable-clanGUI \ --enable-clanMikMod \ --enable-clanVorbis \ --enable-getaddr INSTALL_TARGET= install-strip PLIST_SUB+= VER=${PORTVERSION:R} post-patch: @${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|SDL/SDL|SDL|g' @${REINPLACE_CMD} -e 's|@perl_exec@|${PERL}|g' \ ${WRKSRC}/Documentation/Utilities/webbuilder.pl.in .include diff --git a/devel/efl/Makefile b/devel/efl/Makefile index 0166d189046b..72e206671b8a 100644 --- a/devel/efl/Makefile +++ b/devel/efl/Makefile @@ -1,348 +1,348 @@ # Created by: Grzegorz Blach PORTNAME= efl DISTVERSION= 1.25.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= devel enlightenment MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/ DIST_SUBDIR= enlightenment MAINTAINER= enlightenment@FreeBSD.org COMMENT= Enlightenment Foundation Libraries LICENSE= BSD2CLAUSE LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= checkmk:devel/check LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libdbus-1.so:devel/dbus \ libcurl.so:ftp/curl \ libsndfile.so:audio/libsndfile RUN_DEPENDS= update-mime-database:misc/shared-mime-info # lib/libeio.so.1 CONFLICTS_INSTALL= libeio USES= compiler:c++14-lang gettext-tools gnome iconv \ jpeg libtool meson ninja ssl pathfix pkgconfig python:3.5+ shared-mime-info \ shebangfix tar:xz xorg SHEBANG_FILES= src/tests/elementary/spec/generator.py \ src/bin/exactness/exactness_play.in \ src/bin/exactness/exactness_record.in USE_XORG= x11 xcb xcursor xcomposite xdamage xext xfixes xi xinerama \ xrandr xrender xtst xscrnsaver USE_LDCONFIG= yes MESON_ARGS= -Dsystemd=false -Deeze=false CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALLS_ICONS= yes PLIST_SUB= BRANCHVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= AVAHI FRIBIDI HARFBUZZ NLS PHYSICS PULSEAUDIO SDL VNC EFLONE ELUA EXAMPLES DOXYGEN WAYLAND OPTIONS_GROUP= EMOTION INPUT LOADER BINDINGS OPTIONS_GROUP_EMOTION= GSTREAMER V4L OPTIONS_GROUP_INPUT= IBUS SCIM XIM OPTIONS_GROUP_LOADER= OPENJPEG PDF PS RAW SVG WEBP XCF AV1 OPTIONS_GROUP_BINDINGS= LUA CXX OPTIONS_GROUP_WAYLAND= WAYLAND OPTIONS_SINGLE= CRYPTO ENGINE LUAL OPTIONS_SINGLE_CRYPTO= OPENSSL GNUTLS OPTIONS_SINGLE_ENGINE= OPENGL OPENGLES NONE OPTIONS_SINGLE_LUAL= LUAJIT LUALANG OPTIONS_DEFAULT= FRIBIDI HARFBUZZ PULSEAUDIO EXAMPLES GSTREAMER V4L SCIM XIM \ OPENSSL OPENJPEG PDF PS RAW SVG WEBP XCF OPENGL LUAJIT CXX OPTIONS_DEFAULT_aarch64= LUALANG OPTIONS_EXCLUDE_aarch64= LUAJIT OPTIONS_SUB= yes HARFBUZZ_DESC= OpenType text shaping engine PHYSICS_DESC= Physics engine (bullet) - DEPRECATED UPSTREAM EFLONE_DESC= Create EFL-One library (single file library) - EXPERIMENTAL ELUA_DESC= Lua launcher binary support in efl VNC_DESC= VNC Server support IBUS_DESC= Intelligent Input Bus SCIM_DESC= Smart Common Input Method XIM_DESC= X Input Method SVG_DESC= Vector graphics support XCF_DESC= Gimp image format support AV1_DESC= AV1 image format support LUAL_DESC= LUA LUALANG_DESC= Use Lua LUAJIT_DESC= Use Luajit OPENGLES_DESC= 2D/3D rendering support via OpenGL ES NONE_DESC= No acceleration, software only LUA_DESC= Lua Bindings CXX_DESC= C++ Bindings EXAMPLES_DESC= Build examples of using EFL AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_MESON_TRUE= avahi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_MESON_TRUE= fribidi HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_MESON_TRUE= harfbuzz NLS_USES= gettext-runtime NLS_MESON_TRUE= nls PHYSICS_LIB_DEPENDS= libBulletDynamics.so:devel/bullet PHYSICS_MESON_TRUE= physics PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= pulseaudio EFLONE_BROKEN_i386= EFLONE option is broken on i386 by the upstream bug: https://phab.enlightenment.org/T8870 EFLONE_MESON_TRUE= efl-one ELUA_MESON_TRUE= elua EXAMPLES_MESON_TRUE= build-examples DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen # PR 247427 DOXYGEN_PREVENTS= OPENJPEG DOXYGEN_PREVENTS_MSG= devel/doxygen installs graphics/openjpeg15 which breaks build of all ports that depend on graphics/openjpeg VNC_MESON_TRUE= vnc-server VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver LUA_IMPLIES= ELUA WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.7:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libxkbcommon.so:x11/libxkbcommon \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WAYLAND_CFLAGS= -I${LOCALBASE}/include/libepoll-shim WAYLAND_LDFLAGS= -lepoll-shim WAYLAND_MESON_TRUE= wl WAYLAND_BROKEN= Wayland bits compile but don't yet work at runtime GSTREAMER_USE= GSTREAMER1=core GSTREAMER_MESON_TRUE= gstreamer V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_MESON_TRUE= v4l2 IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus IBUS_USES= gnome IBUS_USE= GNOME=glib20 IBUS_MESON_TRUE= glib SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg # PR 247427 OPENJPEG_PREVENTS= DOXYGEN OPENJPEG_PREVENTS_MSG= devel/doxygen installs graphics/openjpeg15 which breaks build of all ports that depend on graphics/openjpeg GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls GNUTLS_MESON_ON= -Dcrypto=gnutls GNUTLS_MESON_OFF= -Dcrypto=openssl GNUTLS_CFLAGS= -I${LOCALBASE}/include/gnutls/ GNUTLS_BROKEN= GNUTLS option is broken by the upstream bug: https://phab.enlightenment.org/T8807 PDF_LIB_DEPENDS= libpoppler.so:graphics/poppler PS_LIB_DEPENDS= libspectre.so:print/libspectre RAW_LIB_DEPENDS= libraw.so:graphics/libraw SVG_USES= gnome SVG_USE= GNOME=cairo GNOME=librsvg2 AV1_LIB_DEPENDS= libavif.so:graphics/libavif AV1_BROKEN= AV1 option is broken actually (according to the information from upstream) WEBP_LIB_DEPENDS= libwebp.so:graphics/webp LUAJIT_BUILD_DEPENDS= luajit:lang/luajit LUAJIT_RUN_DEPENDS= luajit:lang/luajit LUAJIT_MESON_ON= -Dlua-interpreter=luajit LUAJIT_PREVENTS= LUALANG LUALANG_USES= lua:51,build,run LUALANG_MESON_ON= -Dlua-interpreter=lua LUALANG_PREVENTS= LUAJIT OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_MESON_ON= -Dopengl=full OPENGL_PREVENTS= OPENGLES NONE OPENGLES_USES= gl OPENGLES_USE= GL=glesv2 OPENGLES_MESON_ON= -Dopengl=es-egl OPENGLES_PREVENTS= OPENGL NONE NONE_MESON_ON= -Dopengl=none NONE_PREVENTS= OPENGL OPENGLES SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_TRUE= sdl .include ECORE-IMF-LOADERS-DISABLER-BASE= -Decore-imf-loaders-disabler= ECORE-IMF-LOADERS-DISABLER:= ${ECORE-IMF-LOADERS-DISABLER-BASE} .if empty(PORT_OPTIONS:MIBUS) ECORE-IMF-LOADERS-DISABLER:= "${ECORE-IMF-LOADERS-DISABLER-BASE}ibus" .endif .if empty(PORT_OPTIONS:MSCIM) .if ${ECORE-IMF-LOADERS-DISABLER} != ${ECORE-IMF-LOADERS-DISABLER-BASE} ECORE-IMF-LOADERS-DISABLER-BASE:=${ECORE-IMF-LOADERS-DISABLER} ECORE-IMF-LOADERS-DISABLER:= "${ECORE-IMF-LOADERS-DISABLER-BASE},scim" .else ECORE-IMF-LOADERS-DISABLER:= "${ECORE-IMF-LOADERS-DISABLER-BASE}scim" .endif .endif .if empty(PORT_OPTIONS:MXIM) .if ${ECORE-IMF-LOADERS-DISABLER} != ${ECORE-IMF-LOADERS-DISABLER-BASE} ECORE-IMF-LOADERS-DISABLER-BASE:=${ECORE-IMF-LOADERS-DISABLER} ECORE-IMF-LOADERS-DISABLER:= "${ECORE-IMF-LOADERS-DISABLER-BASE},xim" .else ECORE-IMF-LOADERS-DISABLER:= "${ECORE-IMF-LOADERS-DISABLER-BASE}xim" .endif .endif MESON_ARGS+= ${ECORE-IMF-LOADERS-DISABLER} EVAS-LOADERS-DISABLER-BASE= -Devas-loaders-disabler= EVAS-LOADERS-DISABLER:= ${EVAS-LOADERS-DISABLER-BASE} EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}json" .if empty(PORT_OPTIONS:MOPENJPEG) .if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},jp2k" .else EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}jp2k" .endif .endif .if empty(PORT_OPTIONS:MPDF) .if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},pdf" .else EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}pdf" .endif .endif .if empty(PORT_OPTIONS:MPS) .if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},ps" .else EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}ps" .endif .endif .if empty(PORT_OPTIONS:MRAW) .if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},raw" .else EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}raw" .endif .endif .if empty(PORT_OPTIONS:MSVG) .if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},rsvg" .else EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}rsvg" .endif .endif .if empty(PORT_OPTIONS:MWEBP) .if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},webp" .else EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}webp" .endif .endif .if empty(PORT_OPTIONS:MXCF) .if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},xcf" .else EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}xcf" .endif .endif .if empty(PORT_OPTIONS:MAV1) .if ${EVAS-LOADERS-DISABLER} != ${EVAS-LOADERS-DISABLER-BASE} EVAS-LOADERS-DISABLER-BASE:= ${EVAS-LOADERS-DISABLER} EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE},avif" .else EVAS-LOADERS-DISABLER:= "${EVAS-LOADERS-DISABLER-BASE}avif" .endif .endif MESON_ARGS+= ${EVAS-LOADERS-DISABLER} # Work-around build failure, which is caused by subtle problem in lld and -as-needed flag .if ${ARCH} == i386 MESON_ARGS+= -Db_asneeded=false .endif .if ${PORT_OPTIONS:MLUA} && ${PORT_OPTIONS:MCXX} EFL_BINDINGS= -Dbindings=lua,cxx .else .if ${PORT_OPTIONS:MLUA} EFL_BINDINGS= -Dbindings=lua .else .if ${PORT_OPTIONS:MCXX} EFL_BINDINGS= -Dbindings=cxx .endif .endif .endif MESON_ARGS+= ${EFL_BINDINGS} .if ${PORT_OPTIONS:MOPENGLES} && ${PORT_OPTIONS:MWAYLAND} LIB_DEPENDS+= libwayland-egl.so:graphics/wayland MESON_ARGS+= -Degl=true USE_GL= egl .endif .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${ARCH:Mpowerpc64*} LUAJIT_BUILD_DEPENDS= luajit:lang/luajit-openresty LUAJIT_RUN_DEPENDS= luajit:lang/luajit-openresty .endif post-install: #@${RM} -r ${STAGEDIR}${PREFIX}/share/gdb @for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \ if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \ done post-stage: @${ECHO_CMD} "autogenerating plist"; @cd ${STAGEDIR}${PREFIX} && ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/devel/electron12/Makefile b/devel/electron12/Makefile index e9de6ba17e97..c78a7e038e3c 100644 --- a/devel/electron12/Makefile +++ b/devel/electron12/Makefile @@ -1,292 +1,293 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER:S/-beta./.b/} +PORTREVISION= 1 CATEGORIES= devel java MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/:chromium \ https://commondatastorage.googleapis.com/chromium-fonts/:chromium_testfonts PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}:chromium \ ${CHROMIUM_TEST_FONTS_HASH}:chromium_testfonts \ electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX}:prefetch DIST_SUBDIR= ${PORTNAME} MAINTAINER= tagattie@FreeBSD.org COMMENT= Build cross-platform desktop apps with JavaScript, HTML, and CSS LICENSE= MIT LICENSE_FILE= ${WRKSRC}/electron/LICENSE FETCH_DEPENDS= yarn-node14>0:www/yarn-node14 EXTRACT_DEPENDS= yarn-node14>0:www/yarn-node14 PATCH_DEPENDS= git:devel/git BUILD_DEPENDS= ${LOCALBASE}/bin/ar:devel/binutils \ gperf:devel/gperf \ yasm:devel/yasm \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ node14>0:www/node14 \ npm-node14>0:www/npm-node14 LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libatspi.so:accessibility/at-spi2-core \ libsnappy.so:archivers/snappy \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libdbus-1.so:devel/dbus \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libavcodec.so:multimedia/ffmpeg \ 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-node14>0:www/npm-node14 USES= bison dos2unix gettext-tools gl gnome jpeg localbase:ldflags \ ninja pkgconfig python:2.7,build,test shebangfix tar:xz xorg DOS2UNIX_FILES= third_party/skia/third_party/vulkanmemoryallocator/include/vk_mem_alloc.h USE_GITHUB= yes GH_TAGNAME= ${DISTVERSIONPREFIX}${ELECTRON_VER} GH_TUPLE= nodejs:node:v${NODE_VER}:node \ nodejs:nan:${NAN_VER}:nan USE_GL= gbm gl glesv2 USE_GNOME= atk cairo gdkpixbuf2 gtk30 libxml2 libxslt pango USE_JAVA= yes JAVA_VERSION= 1.8 JAVA_BUILD= yes USE_LDCONFIG= ${DATADIR} USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xrandr \ xrender xscrnsaver xtst SHEBANG_FILES= buildtools/freebsd/clang-format MAKE_ARGS= -C out/${BUILDTYPE} MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include ALL_TARGET= electron third_party/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= python=${PYTHON_CMD} NO_WRKSUBDIR= yes WRKSRC_SUBDIR= src PLIST_SUB= ELECTRON_VER=${ELECTRON_VER} \ ELECTRON_VER_MAJOR=${ELECTRON_VER_MAJOR} OPTIONS_DEFINE= CUPS DEBUG DIST DRIVER KERBEROS OPTIONS_DEFAULT= CUPS DRIVER KERBEROS ALSA OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO OPTIONS_SUB= yes DIST_DESC= Build distribution zip files DRIVER_DESC= Install chromedriver ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false 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=Testing DEBUG_VARS_OFF= BUILDTYPE=Release DIST_IMPLIES= DRIVER DRIVER_ALL_TARGET= chromedriver KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER CHROMIUM_VER= 89.0.4389.128 # See ${WRKSRC}/third_party/test_fonts/test_fonts.tar.gz.sha1 for CHROMIUM_TEST_FONTS_HASH CHROMIUM_TEST_FONTS_HASH= cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb # See ${WRKSRC}/electron/DEPS for NODE_VER NODE_VER= 14.16.0 # See ${WRKSRC}/electron/DEPS for NAN_VER NAN_VER= 2c4ee8a32a299eada3cd6e468bbd0a473bfea96d YARN_TIMESTAMP= 1621487762 GN_ARGS+= clang_use_chrome_plugins=false \ enable_hangout_services_extension=true \ enable_nacl=false \ enable_one_click_signin=true \ enable_remoting=false \ fieldtrial_testing_like_official_build=true \ is_clang=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator="none" \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=false \ use_gnome_keyring=false \ use_lld=true \ use_sysroot=false \ use_system_freetype=true \ use_system_harfbuzz=true \ use_system_libjpeg=true \ extra_cxxflags="${CXXFLAGS}" \ extra_ldflags="${LDFLAGS}" GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles .include "Makefile.version" .include .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" .else PLIST_SUB+= AMD64="@comment " .endif .if ${ARCH} == "i386" PLIST_SUB+= I386="" .else PLIST_SUB+= I386="@comment " .endif 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: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-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}/test_fonts ${WRKSRC}/third_party/test_fonts # Take in clang-format from official chromium distribution ${MKDIR} ${WRKSRC}/buildtools/freebsd ${CP} ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd # Remove unnecessary files ${RM} -r ${WRKSRC}/third_party/jdk/current ${RM} -r ${WRKSRC}/third_party/jdk/extras # 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 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 \ ffmpeg flac fontconfig freetype harfbuzz-ng libdrm libpng \ libusb libwebp libxml libxslt openh264 opus snappy || ${FALSE} 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/Release/gn gen out/${BUILDTYPE} \ --args='import("//electron/build/args/${BUILDTYPE:tl}.gn") ${GN_ARGS}' # Setup nodejs dependency ${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd-x64/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd-x64/bin/node # Setup java dependency ${MKDIR} ${WRKDIR}/bin ${LN} -sf ${LOCALBASE}/openjdk8/bin/java ${WRKDIR}/bin/java 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 libvk_swiftshader.so libvulkan.so.1 ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/swiftshader .for f in libEGL.so libGLESv2.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/swiftshader/${f} ${STAGEDIR}${DATADIR}/swiftshader .endfor .for f in LICENSE LICENSES.chromium.html icudtl.dat 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 ${STAGEDIR}${DATADIR} 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/erlang-esdl/Makefile b/devel/erlang-esdl/Makefile index 44d4abe61edb..a1b1d762ff7d 100644 --- a/devel/erlang-esdl/Makefile +++ b/devel/erlang-esdl/Makefile @@ -1,31 +1,32 @@ PORTNAME= esdl DISTVERSIONPREFIX= esdl- DISTVERSION= 1.3.1 +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= erlang- MAINTAINER= erlang@FreeBSD.org COMMENT= Library for accessing SDL and OpenGL through Erlang LICENSE= MIT LICENSE_FILE= ${WRKSRC}/license.terms BUILD_DEPENDS= erl:lang/erlang RUN_DEPENDS:= ${BUILD_DEPENDS} USES= erlang:rebar gl sdl USE_GITHUB= yes GH_ACCOUNT= dgud USE_GL= gl glu USE_SDL= sdl image ttf PLIST_SUB= VERSION="${PORTVERSION}" post-patch: @${REINPLACE_CMD} "s/\(vsn,\) git/\1 \"${DISTVERSION}\"/" "${WRKSRC}/src/sdl.app.src" post-install: @${LN} -sf ${PORTNAME}-${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME} .include diff --git a/devel/fifechan/Makefile b/devel/fifechan/Makefile index 58d0e75fef68..3ae90e2c663c 100644 --- a/devel/fifechan/Makefile +++ b/devel/fifechan/Makefile @@ -1,52 +1,53 @@ # Created by: Green Dog PORTNAME= fifechan PORTVERSION= 0.1.5 +PORTREVISION= 1 CATEGORIES= devel games MAINTAINER= fiziologus@gmail.com COMMENT= Small, efficient C++ GUI library designed for games LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= cmake USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= fifengine CMAKE_ON= BUILD_FIFECHAN_ALLEGRO_SHARED BUILD_FIFECHAN_IRRLICHT_SHARED PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= ALLEGRO IRRLICHT OPENGL SDL SDL_CONTRIB ALLEGRO_DESC= Allegro extension IRRLICHT_DESC= Irrlicht extension OPENGL_DESC= OpenGL extension (need for FIFE) SDL_DESC= SDL extension (need for FIFE) SDL_CONTRIB_DESC= SDL contrib extension (need SDL) OPTIONS_DEFAULT= OPENGL SDL OPTIONS_SUB= yes ALLEGRO_CMAKE_BOOL= ENABLE_ALLEGRO ALLEGRO_LIB_DEPENDS= liballeg.so:devel/allegro IRRLICHT_CMAKE_BOOL= ENABLE_IRRLICHT IRRLICHT_LIB_DEPENDS= libIrrlicht.so:x11-toolkits/irrlicht OPENGL_CMAKE_BOOL= ENABLE_OPENGL OPENGL_USES= gl OPENGL_USE= gl=gl,glu SDL_CMAKE_BOOL= ENABLE_SDL SDL_USES= sdl SDL_USE= sdl=sdl2,image2 SDL_CONTRIB_CMAKE_BOOL= ENABLE_SDL_CONTRIB SDL_CONTRIB_USE= sdl=ttf2 SDL_CONTRIB_IMPLIES= SDL .include diff --git a/devel/geany-plugin-multiterm/Makefile b/devel/geany-plugin-multiterm/Makefile index 08db4b9c5564..e91f2ccdd180 100644 --- a/devel/geany-plugin-multiterm/Makefile +++ b/devel/geany-plugin-multiterm/Makefile @@ -1,20 +1,21 @@ PORTNAME= geany-plugin-multiterm PORTVERSION= ${GEANY_VER} +PORTREVISION= 1 PKGNAMESUFFIX= -gtk2 CATEGORIES= devel MAINTAINER= madpilot@FreeBSD.org COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC} BUILD_DEPENDS= valac:lang/vala LIB_DEPENDS= libgeany.so:devel/geany@gtk2 FLAVORS= # intentionally left empty USES= gl xorg USE_GL= gl USE_GNOME= vte USE_XORG= x11 xext .include "${.CURDIR}/../geany-plugins/files/Makefile.common" .include diff --git a/devel/glui/Makefile b/devel/glui/Makefile index 29318b7deb87..98823d5da4fa 100644 --- a/devel/glui/Makefile +++ b/devel/glui/Makefile @@ -1,37 +1,37 @@ # Created by: mwest@uct.ac.za PORTNAME= glui PORTVERSION= 2.36 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel graphics MASTER_SITES= SF/${PORTNAME}/Source/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GLUT-based C++ user interface library USES= gl gmake tar:tgz xorg USE_GL= glut USE_XORG= xmu xext x11 xi USE_LDCONFIG= yes MAKEFILE= makefile WRKSRC= ${WRKDIR}/${DISTNAME}/src PLIST_FILES= include/glui.h lib/libglui.a lib/libglui.so lib/libglui.so.0 PORTDOCS= * OPTIONS_DEFINE= DOCS do-install: ${INSTALL_DATA} ${WRKSRC}/include/GL/glui.h ${STAGEDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/lib/libglui.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/lib/libglui.so \ ${STAGEDIR}${PREFIX}/lib/libglui.so.0 ${LN} -s libglui.so.0 ${STAGEDIR}${PREFIX}/lib/libglui.so do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/glui_manual.pdf ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/godot/Makefile b/devel/godot/Makefile index eb818367acaa..6384ae971f6a 100644 --- a/devel/godot/Makefile +++ b/devel/godot/Makefile @@ -1,125 +1,125 @@ # Created by: Shane Ambler PORTNAME= godot DISTVERSION= 3.2.3 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONSUFFIX= -stable CATEGORIES= devel games MAINTAINER= FreeBSD@Shaneware.biz COMMENT?= Game runtime engine LICENSE= MIT CC-BY-3.0 LICENSE_COMB= multi LICENSE_FILE_CC-BY-3.0= ${WRKSRC}/LOGO_LICENSE.md LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= yasm:devel/yasm LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpcre2-8.so:devel/pcre2 \ libpng.so:graphics/png RUN_DEPENDS= xdg-user-dir:devel/xdg-user-dirs \ xdg-open:devel/xdg-utils \ xmessage:x11/xmessage USES= compiler:c++14-lang gl pkgconfig scons xorg USE_XORG= x11 xcursor xi xinerama xrandr xrender USE_GL= gl glew glu USE_GITHUB= yes GH_ACCOUNT= godotengine MAKE_ARGS+= platform=x11 builtin_freetype=False \ builtin_libpng=False builtin_pcre2=False \ builtin_zlib=False verbose=True MAKE_ARGS+= ${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}} MAKE_ARGS_clang= use_llvm=True use_lld=True CXXFLAGS_i386= ${CXXFLAGS_i386_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_i386_gcc= -march=i586 # option MONO doesn't build (needs 5.12+) so for now leave it out as an option OPTIONS_DEFINE= EXAMPLES TOOLS UDEV OPTIONS_DEFAULT= ALSA # Moved to devel/godot-tools OPTIONS_EXCLUDE?= EXAMPLES TOOLS OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO AUDIO_DESC= Audio support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MAKE_ARGS= alsa=True ALSA_MAKE_ARGS_OFF= alsa=False # master at 10/7 tagged for 3.2 EXAMPLES_GH_TUPLE= godotengine:godot-demo-projects:8d9d58f112d8:DEMOS EXAMPLES_PORTEXAMPLES= * # mono support doesn't build at present MONO_BUILD_DEPENDS= msbuild:devel/msbuild MONO_LIB_DEPENDS= libinotify.so:devel/libinotify MONO_GH_TUPLE= mono:nuget-binary:ebedbf8:NUGT/nuget-binary MONO_MAKE_ARGS= module_mono_enabled=yes mono_glue=True MONO_USES= gettext-runtime mono:nuget NUGET_DEPENDS= DotNet.Glob=2.1.1 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MAKE_ARGS= pulseaudio=True PULSEAUDIO_MAKE_ARGS_OFF= pulseaudio=False TOOLS_DESC= Include development tools (IDE) TOOLS_MAKE_ARGS= target=release_debug tools=True TOOLS_MAKE_ARGS_OFF= target=release tools=False TOOLS_DESKTOP_ENTRIES= "Godot" "${COMMENT}" "${GODOTFILE}" \ "${GODOTFILE}" "Development;IDE;" "" TOOLS_PLIST_FILES= share/pixmaps/${GODOTFILE}.png \ share/pixmaps/${GODOTFILE}.svg UDEV_DESC= Libudev support (Joystick) UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_MAKE_ARGS= udev=True UDEV_MAKE_ARGS_OFF= udev=False GODOTFILE= ${PORTNAME}${PKGNAMESUFFIX} PLIST_FILES= bin/${GODOTFILE} .ifmake makesum # Always include optional distfiles .MAKEFLAGS: WITH="${OPTIONS_DEFINE}" OPTIONS_EXCLUDE= .endif .include .if ${ARCH} != aarch64 && ${ARCH} != amd64 && ${ARCH} != i386 && ${ARCH} != armv6 && ${ARCH} != armv7 # use system libvpx on archs that break with built-in LIB_DEPENDS+= libvpx.so:multimedia/libvpx MAKE_ARGS+= builtin_libvpx=False .endif post-patch: @${REINPLACE_CMD} -e 's|custom_build|${OPSYS}_Ports_build|' \ ${WRKSRC}/methods.py @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ ${WRKSRC}/platform/x11/os_x11.cpp pre-build-MONO-on: makenuget @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} \ target=release_debug tools=True platform=server mono_glue=False) @(cd ${WRKSRC} && ${FIND} ${WRKSRC}/bin -name 'godot*' -exec {} \ --generate-mono-glue modules/mono/glue \; && \ ${FIND} ${WRKSRC}/bin -name 'godot*' -delete) # The official godot binary name reflects options used to compile # We just want a simple name matching the portname # This gives us bin/godot for runtime and bin/godot-tools for the IDE do-install: @${RM} ${WRKSRC}/bin/*.debugsymbols cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} godot.x11* \ ${STAGEDIR}/${PREFIX}/bin/${GODOTFILE} do-install-EXAMPLES-on: (cd ${WRKSRC_DEMOS} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \ ${STAGEDIR}${EXAMPLESDIR}) do-install-TOOLS-on: ${INSTALL_DATA} ${WRKSRC}/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.png ${INSTALL_DATA} ${WRKSRC}/icon.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.svg .include diff --git a/devel/godot2/Makefile b/devel/godot2/Makefile index 10f87d55c464..8b37a82ee05b 100644 --- a/devel/godot2/Makefile +++ b/devel/godot2/Makefile @@ -1,113 +1,113 @@ # Created by: Shane Ambler PORTNAME= godot DISTVERSION= 2.1.6 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONSUFFIX= -stable CATEGORIES= devel games PKGNAMESUFFIX?= 2 MAINTAINER= FreeBSD@Shaneware.biz COMMENT?= Game runtime engine LICENSE= MIT CC-BY-3.0 LICENSE_COMB= multi LICENSE_FILE_CC-BY-3.0= ${WRKSRC}/LOGO_LICENSE.md LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libmpcdec.so:audio/musepack \ libspeex.so:audio/speex RUN_DEPENDS= xdg-user-dir:devel/xdg-user-dirs \ xdg-open:devel/xdg-utils \ xmessage:x11/xmessage USES= compiler:c++11-lib gl pkgconfig scons ssl xorg USE_XORG= x11 xcursor xi xinerama xrandr USE_GL= gl glu USE_GITHUB= yes GH_ACCOUNT= godotengine MAKE_ARGS+= platform=x11 builtin_freetype=no builtin_libmpcdec=no \ builtin_libpng=no builtin_openssl=no builtin_speex=no \ builtin_zlib=no verbose=yes MAKE_ARGS+= ${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}} MAKE_ARGS_clang= use_llvm=yes CXXFLAGS+= -DGLEW_NO_GLU -DRTAUDIO_ENABLED -DCRIOGET_NOT_NEEDED CXXFLAGS_i386= ${CXXFLAGS_i386_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_i386_gcc= -march=i586 CXXFLAGS_aarch64= -DNO_THREADS CXXFLAGS_sparc64= -DNO_THREADS CXXFLAGS_mips= -DNO_THREADS CXXFLAGS_mips64= -DNO_THREADS LDFLAGS+= -lspeex -lmpcdec OPTIONS_DEFINE= EXAMPLES TOOLS OPTIONS_DEFAULT= OSS # Moved to devel/godot-tools OPTIONS_EXCLUDE?= EXAMPLES TOOLS OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA OSS PULSEAUDIO AUDIO_DESC= Audio support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MAKE_ARGS= alsa=yes EXAMPLES_GH_PROJECT= godot-demo-projects:DEMOS EXAMPLES_GH_TAGNAME= 2.1.4-stable:DEMOS EXAMPLES_PORTEXAMPLES= * OSS_MAKE_ARGS= oss=yes PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio PULSEAUDIO_MAKE_ARGS= pulseaudio=yes TOOLS_DESC= Include development tools (IDE) TOOLS_MAKE_ARGS= target=release_debug tools=yes TOOLS_MAKE_ARGS_OFF= target=release tools=no TOOLS_LDFLAGS= -lexecinfo TOOLS_DESKTOP_ENTRIES= "Godot-v2" "${COMMENT}" "${GODOTFILE}" \ "${GODOTFILE}" "Development;IDE;" "" TOOLS_PLIST_FILES= share/pixmaps/${GODOTFILE}.png \ share/pixmaps/${GODOTFILE}.svg GODOTFILE= ${PORTNAME}${PKGNAMESUFFIX} PLIST_FILES= bin/${GODOTFILE} # rename to prevent conflict with godot v3 EXAMPLESDIR= ${PREFIX}/share/examples/godot2 .ifmake makesum # Always include optional distfiles .MAKEFLAGS: WITH="${OPTIONS_DEFINE}" OPTIONS_EXCLUDE= .endif .include .if ${ARCH} != aarch64 && ${ARCH} != amd64 && ${ARCH} != i386 && ${ARCH} != armv6 && ${ARCH} != armv7 # use system libvpx on archs that break with built-in LIB_DEPENDS+= libvpx.so:multimedia/libvpx MAKE_ARGS+= builtin_libvpx=False .endif post-patch: @${REINPLACE_CMD} -e 's|custom_build|${OPSYS}_Ports_build|' \ ${WRKSRC}/methods.py @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ ${WRKSRC}/platform/x11/os_x11.cpp # The official godot binary name reflects options used to compile # We just want a simple name matching the portname # This gives us bin/godot for runtime and bin/godot-tools for the IDE do-install: cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} godot.x11* \ ${STAGEDIR}/${PREFIX}/bin/${GODOTFILE} do-install-EXAMPLES-on: (cd ${WRKSRC_DEMOS} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \ ${STAGEDIR}${EXAMPLESDIR}) do-install-TOOLS-on: ${INSTALL_DATA} ${WRKSRC}/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.png ${INSTALL_DATA} ${WRKSRC}/icon.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.svg .include diff --git a/devel/guichan/Makefile b/devel/guichan/Makefile index 9ae11c13c094..249ac023c319 100644 --- a/devel/guichan/Makefile +++ b/devel/guichan/Makefile @@ -1,41 +1,41 @@ # Created by: Tobias Gion PORTNAME= guichan PORTVERSION= 0.8.2 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= devel games MASTER_SITES= http://pkgs.fedoraproject.org/repo/pkgs/guichan/${DISTFILES}/af535d7f387e774e3197cef8023ea105/ MAINTAINER= ports@FreeBSD.org COMMENT= Small, efficient C++ GUI library designed for games LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gmake pathfix libtool localbase:ldflags GNU_CONFIGURE= yes USE_LDCONFIG= yes PORTDOCS= AUTHORS ChangeLog NEWS README TODO OPTIONS_DEFINE= SDL ALLEGRO OPENGL DOCS OPTIONS_DEFAULT= SDL OPENGL OPTIONS_SUB= yes SDL_USES= sdl SDL_USE= SDL=sdl,image SDL_CONFIGURE_ENABLE= sdl sdlimage ALLEGRO_DESC= Allegro support ALLEGRO_LIB_DEPENDS= liballeg.so:devel/allegro ALLEGRO_CONFIGURE_ENABLE=allegro OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE=opengl post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/gwenhywfar-qt5/Makefile b/devel/gwenhywfar-qt5/Makefile index 8749c55aa729..b2fd83ed6ee3 100644 --- a/devel/gwenhywfar-qt5/Makefile +++ b/devel/gwenhywfar-qt5/Makefile @@ -1,11 +1,11 @@ -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -${SLAVEPORT} MAINTAINER= jhale@FreeBSD.org COMMENT= Gwenhywfar Qt5 support library MASTERDIR= ${.CURDIR}/../../devel/gwenhywfar SLAVEPORT= qt5 PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile" diff --git a/devel/gwenhywfar/Makefile b/devel/gwenhywfar/Makefile index c0ead824a81e..e4590c90e60c 100644 --- a/devel/gwenhywfar/Makefile +++ b/devel/gwenhywfar/Makefile @@ -1,106 +1,106 @@ PORTNAME= gwenhywfar PORTVERSION= 5.6.0 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= devel net security MASTER_SITES= https://www.aquamaniac.de/rdm/attachments/download/364/ MAINTAINER?= jhale@FreeBSD.org COMMENT?= Multi-platform helper library for networking and security applications LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libgpg-error.so:security/libgpg-error USES= gettext gmake iconv:translit libtool localbase:ldflags \ pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-release="yes" \ --with-guis="${SLAVEPORT}" INSTALL_TARGET= install-strip USE_LDCONFIG= yes GWEN_SHLIB_VER= 79 PLIST_SUB= GWEN_SHLIB_VER="${GWEN_SHLIB_VER}" \ GWEN_MAJ_MIN_VER="${PORTVERSION:R}" .if !defined(SLAVEPORT) OPTIONS_DEFINE= DOXYGEN LIBXML2 MEMDEBUG OPENSSL OPTIONS_DEFAULT= OPENSSL OPTIONS_SUB= yes DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz DOXYGEN_CONFIGURE_ENABLE= full-doc LIBXML2_USES= gnome LIBXML2_USE= gnome=libxml2 LIBXML2_CONFIGURE_ON= --with-libxml2-code=yes MEMDEBUG_DESC= Enable memory debugger statistic MEMDEBUG_CONFIGURE_ENABLE= memtrace OPENSSL_USES= ssl OPENSSL_CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" OPENSSL_CONFIGURE_ENV_OFF= OPENSSL_CFLAGS="" \ OPENSSL_LIBS="" .endif .include .if defined(SLAVEPORT) LIB_DEPENDS+= libgwenhywfar.so:devel/gwenhywfar BUILD_WRKSRC= ${WRKSRC}/gui INSTALL_WRKSRC= ${WRKSRC}/gui/${SLAVEPORT} . if ${SLAVEPORT}=="fox16" LIB_DEPENDS+= libFOX-1.6.so:x11-toolkits/fox16 CONFIGURE_ARGS+=--with-fox-includes=${LOCALBASE}/include/fox-1.6 \ --with-fox-libs=${LOCALBASE}/lib . elif ${SLAVEPORT}=="gtk2" LIB_DEPENDS+= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES+= gnome USE_GNOME+= cairo gdkpixbuf2 gtk20 . elif ${SLAVEPORT}=="gtk3" USES+= gnome USE_GNOME+= cairo gdkpixbuf2 gtk30 . elif ${SLAVEPORT}=="qt5" USES+= compiler:c++11-lang gl qmake:no_env qt:5 USE_GL= gl USE_QT= core gui widgets \ buildtools_build qmake_build CONFIGURE_ARGS+=--with-qt5-qmake=${QMAKE} \ --with-qt5-moc=${MOC} \ --with-qt5-uic=${UIC} . endif .endif post-patch: ${REINPLACE_CMD} -e '/^LIBS/s|$$| @i18n_libs@|' \ ${WRKSRC}/tools/gcttool/Makefile.in \ ${WRKSRC}/tools/typemaker/Makefile.in \ ${WRKSRC}/tools/xmlmerge/Makefile.in .if defined(SLAVEPORT) @${FIND} ${BUILD_WRKSRC} -name "Makefile.in" -type f | ${XARGS} \ ${REINPLACE_CMD} -e 's|[$$][(]top_builddir[)]/src/[$$][(]gwenhywfar_internal_libname[)]|$$(gwenhywfar_libs)|g' \ -e 's|[$$][(]builddir[)]/../cpp/libgwengui-cpp.la|-lgwengui-cpp|g' \ -e 's|[$$][(]top_builddir[)]/gui/cpp/libgwengui-cpp.la|-lgwengui-cpp|g' \ -e '/^SUBDIRS/s|cpp ||g' .endif post-build-DOXYGEN-on: @cd ${WRKSRC} && ${SETENV} ${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} -type f 2>/dev/null | \ ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST} .include diff --git a/devel/juce/Makefile b/devel/juce/Makefile index d657ee1c8324..b7610a84cabe 100644 --- a/devel/juce/Makefile +++ b/devel/juce/Makefile @@ -1,88 +1,88 @@ PORTNAME= juce DISTVERSION= 6.0.8 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ application framework to develop desktop and mobile applications LICENSE= JUCE6 LICENSE_NAME= JUCE 6 End User License Agreement LICENSE_FILE= ${WRKSRC}/LICENSE.md LICENSE_PERMS= auto-accept dist-mirror pkg-mirror BROKEN_FreeBSD_11= error: use of undeclared identifier 'pthread_setname_np' BUILD_DEPENDS= ladspa>0:audio/ladspa LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfreetype.so:print/freetype2 \ libsysinfo.so:devel/libsysinfo USES= cmake compiler:c++11-lang dos2unix gl localbase:ldflags pkgconfig xorg DOS2UNIX_FILES= modules/juce_core/juce_core.h USE_GL= gl USE_XORG= x11 xcomposite xcursor xext xinerama xorgproto xrandr USE_GITHUB= yes GH_ACCOUNT= yurivict # juce-framework + BSD patches GH_PROJECT= JUCE GH_TAGNAME= f37e9a1 CMAKE_ON= JUCE_BUILD_EXTRAS CXXFLAGS+= -I${LOCALBASE}/include/freetype2 LDFLAGS+= -pthread -lfreetype -lpng16 LDFLAGS+= -lGL # while building NetworkGraphicsDemo ld: error: undefined symbol: glXGetCurrentContext referenced by ld-temp.o LDFLAGS+= -lasound # while building AudioPerformanceTest ld: error: undefined symbol: snd_seq_system_info_sizeof LDFLAGS+= -lsysinfo # while building Projucer ld: error: undefined symbol: sysinfo CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} -lexecinfo" # for the step 'Building juceaide' during configure phase: https://github.com/juce-framework/JUCE/issues/877 PLIST_SUB+= VERSION=${PORTVERSION} OPTIONS_DEFINE= DEMOS DEMOS_DESC= Build and install demo programs DEMOS_USES= gnome pkgconfig DEMOS_CMAKE_BOOL= JUCE_BUILD_EXAMPLES DEMOS_LDFLAGS= -lexecinfo DEMOS_USE= GNOME=atk,cairo,gdkpixbuf2,gtk30,pango DEMOS_LIB_DEPENDS= libcurl.so:ftp/curl \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ libsoup-2.4.so:devel/libsoup DEMO_FILES= \ AnalyticsCollectionDemo AnimationAppDemo AnimationDemo AudioAppDemo AudioLatencyDemo AudioPlaybackDemo AudioPluginDemo AudioRecordingDemo AudioSettingsDemo AudioSynthesiserDemo \ BlocksDrawingDemo BlocksMonitorDemo BlocksSynthDemo BouncingBallWavetableDemo Box2DDemo ChildProcessDemo CodeEditorDemo ComponentDemo ComponentTransformsDemo ConvolutionDemo \ CryptographyDemo DSPModulePluginDemo DialogsDemo FIRFilterDemo FlexBoxDemo FontsDemo GainDemo GraphicsDemo GridDemo HelloWorldDemo \ IIRFilterDemo ImagesDemo InAppPurchasesDemo JavaScriptDemo KeyMappingsDemo LiveConstantDemo LookAndFeelDemo MDIDemo MPEDemo MenusDemo \ MidiDemo MultiTouchDemo MultithreadingDemo NetworkingDemo OSCDemo OpenGLAppDemo OpenGLDemo OscillatorDemo OverdriveDemo PluckedStringsDemo \ PropertiesDemo SIMDRegisterDemo SimpleFFTDemo StateVariableFilterDemo SystemInfoDemo TimersAndEventsDemo UnitTestsDemo ValueTreesDemo WaveShaperTanhDemo WebBrowserDemo \ WidgetsDemo WindowsDemo XMLandJSONDemo DEMOS_PLIST_FILES= ${DEMO_FILES:S/^/bin\/${PORTNAME}-/} post-patch: # fix fonts.conf path @${REINPLACE_CMD} -i '' -e ' \ s|"/etc/fonts/fonts.conf"|"${PREFIX}/etc/fonts/fonts.conf"| ; \ s|"/usr/share/fonts/fonts.conf"|"${PREFIX}/share/fonts/fonts.conf"| \ ' ${WRKSRC}/modules/juce_graphics/native/juce_linux_Fonts.cpp # fix JUCE modules path (but it still complains about the path) @${REINPLACE_CMD} -i '' -e ' \ s|"~/JUCE|"${PREFIX}/include/JUCE-${PORTVERSION}| \ ' ${WRKSRC}/extras/Projucer/Source/Settings/jucer_StoredSettings.cpp post-install: # install extras which are essential apps that aren't installed by the project for some reason .for exe in AudioPerformanceTest AudioPluginHost BinaryBuilder NetworkGraphicsDemo Projucer UnitTestRunner ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/extras/${exe}/${exe}_artefacts/Release/${exe} ${STAGEDIR}${PREFIX}/bin .endfor # fix path and strip juceaide cd ${STAGEDIR}${PREFIX} && ${MV} bin/JUCE-${PORTVERSION}/juceaide bin/ && ${RMDIR} bin/JUCE-${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/juceaide do-install-DEMOS-on: .for e in ${DEMO_FILES} ${INSTALL_PROGRAM} `${FIND} ${BUILD_WRKSRC} -name ${e}` ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${e} .endfor .include diff --git a/devel/kyra/Makefile b/devel/kyra/Makefile index 28c0d82a1c02..60eaa482c84c 100644 --- a/devel/kyra/Makefile +++ b/devel/kyra/Makefile @@ -1,52 +1,52 @@ # Created by: Kirill Ponomarew PORTNAME= kyra PORTVERSION= 2.1.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/${PORTVERSION} DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/./_/g} MAINTAINER= ports@FreeBSD.org COMMENT= Simple Sprite engine written in C++ LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff BROKEN_aarch64= invalid output constraint =A in assembler BROKEN_armv6= invalid output constraint =A in assembler BROKEN_armv7= invalid output constraint =A in assembler WRKSRC= ${WRKDIR}/${PORTNAME} USES= compiler gl gmake jpeg sdl zip USE_GL= gl USE_SDL= image sdl CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing MAKEFILE= MakefileKyra MAKE_ENV= MAKE_KYRA=RELEASE KYRA_OPENGL=YES MAKE_ARGS= CC="${CC}" CXX="${CXX}" LD="${CXX}" \ RELEASE_CFLAGS="${CFLAGS}" RELEASE_CXXFLAGS="${CXXFLAGS}" do-install: .for i in encoder spriteed (cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} kr${i} ${STAGEDIR}${PREFIX}/bin) .endfor (cd ${WRKSRC}/engine && ${INSTALL_DATA} libkyra.a ${STAGEDIR}${PREFIX}/lib) @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra (cd ${WRKSRC} && ${INSTALL_DATA} kyra.h ${STAGEDIR}${PREFIX}/include/Kyra) .for i in engine gui guiExtended util @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra/${i} (cd ${WRKSRC}/${i} && ${INSTALL_DATA} *.h \ ${STAGEDIR}${PREFIX}/include/Kyra/${i}) .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra/tinyxml (cd ${WRKSRC}/../tinyxml && ${INSTALL_DATA} *.h \ ${STAGEDIR}${PREFIX}/include/Kyra/tinyxml) .include diff --git a/devel/liteide/Makefile b/devel/liteide/Makefile index cc60046df1b6..3ed0882a7132 100644 --- a/devel/liteide/Makefile +++ b/devel/liteide/Makefile @@ -1,83 +1,84 @@ PORTNAME= liteide DISTVERSIONPREFIX= x DISTVERSION= 37.4 +PORTREVISION= 1 CATEGORIES= devel editors MAINTAINER= dmgk@FreeBSD.org COMMENT= Simple, open source, cross-platform Go IDE LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE.LGPL USES= dos2unix gl go:modules,no_targets,run qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= visualfc GH_TUPLE= visualfc:gocode:cfcb188102ae:visualfc_gocode \ visualfc:gotools:eff8693b15f0:visualfc_gotools \ creack:pty:v1.1.9:creack_pty/vendor/github.com/creack/pty \ golang:mod:v0.4.1:golang_mod/vendor/golang.org/x/mod \ golang:sys:b64e53b001e4:golang_sys/vendor/golang.org/x/sys \ golang:tools:v0.1.0:golang_tools/vendor/golang.org/x/tools \ golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ visualfc:fastmod:v1.3.7:visualfc_fastmod/vendor/github.com/visualfc/fastmod \ visualfc:goversion:v1.0.1:visualfc_goversion/vendor/github.com/visualfc/goversion \ yuin:goldmark:v1.2.1:yuin_goldmark/vendor/github.com/yuin/goldmark USE_GL= gl USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} USE_QT= buildtools_build core gui network printsupport widgets xml SUB_FILES= liteide WRKSRC_SUBDIR= liteidex PORTDOCS= README.md OPTIONS_DEFINE= DEBUG DOCS OPTIONS_SUB= yes DEBUG_CONFIGURE_ENABLE= debug ICON_SIZES= 16 24 32 48 64 128 DOS2UNIX_FILES= src/utils/dlvclient/dlvclient.cpp \ src/utils/dlvclient/dlvtypes.h post-extract: # Bundled, horribly outdated copy of QJsonDocument rm -r ${WRKSRC}/src/3rdparty/qjsonrpc/src/json/ post-build: ${RLN} ${WRKSRC}/vendor ${WRKSRC_visualfc_gotools} cd ${WRKSRC_visualfc_gotools} && \ ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} install ${GO_BUILDFLAGS} ${RLN} ${WRKSRC}/vendor ${WRKSRC_visualfc_gocode} ${RLN} ${WRKSRC_visualfc_gotools} ${WRKSRC_visualfc_gocode}/vendor/github.com/visualfc/gotools cd ${WRKSRC_visualfc_gocode} && \ ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} install ${GO_BUILDFLAGS} post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/liteide ${MV} ${STAGEDIR}${PREFIX}/bin/liteide ${STAGEDIR}${PREFIX}/libexec/liteide ${INSTALL_SCRIPT} ${WRKDIR}/liteide ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/gocode ${STAGEDIR}${PREFIX}/libexec/liteide ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/gotools ${STAGEDIR}${PREFIX}/libexec/liteide @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/liteide.desktop ${STAGEDIR}${PREFIX}/share/applications (cd ${WRKSRC}/deploy && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/os_deploy/freebsd && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${RM} ${STAGEDIR}${PREFIX}/lib/liteide/*.a .for sz in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps ${INSTALL_DATA} ${WRKSRC}/src/liteapp/images/liteide${sz}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps/liteide.png .endfor post-install-DOCS-on: cd ${WRKSRC:H} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/love/Makefile b/devel/love/Makefile index e29bd565831b..f00d7bab1029 100644 --- a/devel/love/Makefile +++ b/devel/love/Makefile @@ -1,62 +1,63 @@ PORTNAME= love PORTVERSION= 11.3 +PORTREVISION= 1 CATEGORIES= devel games MASTER_SITES= https://bitbucket.org/rude/love/downloads/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/license.txt NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe sparc64 NOT_FOR_ARCHS_REASON= Hashing not yet implemented for big endian LIB_DEPENDS= libmodplug.so:audio/libmodplug \ libmpg123.so:audio/mpg123 \ libvorbisfile.so:audio/libvorbis \ libfreetype.so:print/freetype2 \ libtheora.so:multimedia/libtheora \ libogg.so:audio/libogg USES= autoreconf compiler:c++11-lib desktop-file-utils gl gmake \ libtool localbase openal pkgconfig sdl shared-mime-info USE_SDL= sdl2 USE_GL= gl glu GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/love-${PORTVERSION} INSTALL_TARGET= install-strip PORTDOCS= * OPTIONS_DEFINE= DOCS LUAJIT GME OPTIONS_DEFAULT_i386= LUAJIT OPTIONS_DEFAULT_amd64= LUAJIT LUAJIT_DESC= Use luajit LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_CONFIGURE_ON= --with-lua=luajit # does not build with newer lua versions: # love.cpp:217:9: error: no matching function for call to 'lua_resume' LUAJIT_USES_OFF= lua:51 LUAJIT_CONFIGURE_OFF= --with-lua=lua \ --with-luaversion="-${LUA_VER}" LUAJIT_CONFIGURE_ENV_OFF=LUA_EXECUTABLE="${LUA_CMD}" GME_DESC= Enable GME support, for more chiptuney goodness GME_CONFIGURE_ENABLE= gme GME_LIB_DEPENDS= libgme.so:audio/libgme post-patch: @${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|g' \ ${WRKSRC}/platform/unix/deps.m4 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.md ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/love07/Makefile b/devel/love07/Makefile index 1644e71715a8..42e5be3f821e 100644 --- a/devel/love07/Makefile +++ b/devel/love07/Makefile @@ -1,56 +1,56 @@ PORTNAME= love PORTVERSION= 0.7.2 -PORTREVISION= 23 +PORTREVISION= 24 CATEGORIES= devel games MASTER_SITES= http://cdn.bitbucket.org/rude/love/downloads/ \ http://mirror.amdmi3.ru/distfiles/ PKGNAMESUFFIX= 07 DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine LIB_DEPENDS= libIL.so:graphics/devil \ libmodplug.so:audio/libmodplug \ libmpg123.so:audio/mpg123 \ libvorbisfile.so:audio/libvorbis \ libphysfs.so:devel/physfs \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libmng.so:graphics/libmng BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs PORTSCOUT= limit:^0\.7\. USES= compiler:c++11-lang gmake gl openal dos2unix lua:51 sdl USE_SDL= sdl mixer USE_GL= gl glu GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \ -I${LUA_INCDIR} `${SDL_CONFIG} --cflags` LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} LDFLAGS_i386= -Wl,-znotext CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib \ --program-suffix=07 WRKSRC= ${WRKDIR}/love-HEAD DOS2UNIX_FILES= src/modules/graphics/opengl/GLee.h PLIST_FILES= bin/love07 DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}07 PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \ -e "s/lua5.1/lua-${LUA_VER}/g" \ ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/love08/Makefile b/devel/love08/Makefile index f3f0594db8dc..68b17c635cef 100644 --- a/devel/love08/Makefile +++ b/devel/love08/Makefile @@ -1,54 +1,54 @@ PORTNAME= love PORTVERSION= 0.8.0 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= devel games MASTER_SITES= http://cdn.bitbucket.org/rude/love/downloads/ \ http://mirror.amdmi3.ru/distfiles/ PKGNAMESUFFIX= 08 DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine LIB_DEPENDS= libIL.so:graphics/devil \ libmodplug.so:audio/libmodplug \ libmpg123.so:audio/mpg123 \ libvorbisfile.so:audio/libvorbis \ libphysfs.so:devel/physfs \ libfreetype.so:print/freetype2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs PORTSCOUT= limit:^0\.8\. USES= compiler:c++11-lang gl gmake openal dos2unix lua:51 sdl USE_SDL= sdl mixer USE_GL= gl glu GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \ -I${LUA_INCDIR} `${SDL_CONFIG} --cflags` LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} LDFLAGS_i386= -Wl,-znotext CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib \ --program-suffix=08 WRKSRC= ${WRKDIR}/love-${PORTVERSION} DOS2UNIX_FILES= src/modules/graphics/opengl/GLee.h PLIST_FILES= bin/love08 PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d; \ /test/ s|==|=|' \ -e "s/lua5.1/lua-${LUA_VER}/g" \ ${WRKSRC}/configure post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.md ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/love10/Makefile b/devel/love10/Makefile index e57f3cb00764..b490ea0839db 100644 --- a/devel/love10/Makefile +++ b/devel/love10/Makefile @@ -1,73 +1,73 @@ PORTNAME= love PORTVERSION= 0.10.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel games MASTER_SITES= https://bitbucket.org/rude/love/downloads/ \ http://mirror.amdmi3.ru/distfiles/ PKGNAMESUFFIX= 10 DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine (legacy version 0.10) LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libmodplug.so:audio/libmodplug \ libmpg123.so:audio/mpg123 \ libvorbisfile.so:audio/libvorbis \ libphysfs.so:devel/physfs \ libfreetype.so:print/freetype2 \ libtheora.so:multimedia/libtheora \ libogg.so:audio/libogg PORTSCOUT= limit:^0\.10\. USES= autoreconf compiler:c++11-lib desktop-file-utils gl gmake \ libtool localbase openal pkgconfig sdl shared-mime-info USE_SDL= sdl2 USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-suffix=${PKGNAMESUFFIX} WRKSRC= ${WRKDIR}/love-${PORTVERSION} INSTALL_TARGET= install-strip PORTDOCS= * OPTIONS_DEFINE= DOCS LUAJIT LUAJIT_DESC= Use luajit (broken) LUAJIT_BROKEN= love 0.10 segfaults when built with luajit, please disable LUAJIT option and retry LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_CONFIGURE_ON= --with-lua=luajit LUAJIT_USES_OFF= lua LUAJIT_CONFIGURE_OFF= --with-lua=lua \ --with-luaversion="-${LUA_VER}" LUAJIT_CONFIGURE_ENV_OFF=LUA_EXECUTABLE="${LUA_CMD}" post-patch: @${REINPLACE_CMD} -e 's|\(liblove\)\(.la\)|\1${PKGNAMESUFFIX}\2|g' \ ${WRKSRC}/src/Makefile.am @${REINPLACE_CMD} -Ee \ '/(Exec|Icon|MimeType)/ s|love|&${PKGNAMESUFFIX}|; s|LÖVE|& 0.10|; /^Comment/ s|$$| (legacy version 0.10)|' \ ${WRKSRC}/platform/unix/love.desktop.in @${REINPLACE_CMD} -e 's|x-love-game|x-love${PKGNAMESUFFIX}-game|; s|LÖVE|& 0.10|' \ ${WRKSRC}/platform/unix/love.xml post-install: @${MV} ${STAGEDIR}${PREFIX}/share/applications/love.desktop \ ${STAGEDIR}${PREFIX}/share/applications/love${PKGNAMESUFFIX}.desktop @${MV} ${STAGEDIR}${PREFIX}/share/pixmaps/love.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps/love${PKGNAMESUFFIX}.svg @${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/mimetypes/application-x-love-game.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/mimetypes/application-x-love${PKGNAMESUFFIX}-game.svg @${MV} ${STAGEDIR}${PREFIX}/share/mime/packages/love.xml \ ${STAGEDIR}${PREFIX}/share/mime/packages/love${PKGNAMESUFFIX}.xml post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.md ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/love5/Makefile b/devel/love5/Makefile index 4bfce813a351..3cd696fce0ec 100644 --- a/devel/love5/Makefile +++ b/devel/love5/Makefile @@ -1,47 +1,47 @@ PORTNAME= love DISTVERSION= 0.5-0 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= devel games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${DISTVERSION} PKGNAMESUFFIX= 5 MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine LIB_DEPENDS= libIL.so:graphics/devil \ libphysfs.so:devel/physfs \ libfreetype.so:print/freetype2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs USES= tar:bzip2 gmake gl dos2unix lua:51 sdl USE_SDL= sdl mixer USE_GL= gl glu GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \ -I${LUA_INCDIR} `${SDL_CONFIG} --cflags` LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib \ --program-suffix=5 DOS2UNIX_FILES= src/system/love_system.cpp PLIST_FILES= bin/love5 DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}5 PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|ILvoid|void|' ${WRKSRC}/src/opengl/Image.cpp \ ${WRKSRC}/src/opengl/love_opengl.cpp @${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \ -e "s/lua5.1/lua-${LUA_VER}/g" \ ${WRKSRC}/configure post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/nextpnr/Makefile b/devel/nextpnr/Makefile index 2cc4a0912ebf..56d3a0e49a7c 100644 --- a/devel/nextpnr/Makefile +++ b/devel/nextpnr/Makefile @@ -1,39 +1,39 @@ PORTNAME= nextpnr DISTVERSION= g20200804 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= manu@FreeBSD.org COMMENT= Portable FPGA place and route tool LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= clang segfault BROKEN_FreeBSD_11_powerpc64= runaway build BROKEN_FreeBSD_12_powerpc64= runaway build BUILD_DEPENDS= ${LOCALBASE}/share/trellis/database:devel/trellis \ ${LOCALBASE}/share/icebox:devel/icestorm LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libboost_filesystem.so:devel/boost-libs \ libboost_program_options.so:devel/boost-libs \ ${PY_BOOST} USES= compiler:c++11-lang cmake qt:5 eigen:3 python:3.5+ gl USE_QT= buildtools_build core gui opengl qmake_build widgets USE_GL= gl glu USE_GITHUB= yes GH_ACCOUNT= YosysHQ GH_TAGNAME= 48cd407 GH_TUPLE= YosysHQ:nextpnr-tests:8f93e7e:tests/tests BINARY_ALIAS= python3=${PYTHON_CMD} CMAKE_ARGS= -DARCH="ice40;ecp5" -DTRELLIS_ROOT=${LOCALBASE}/share/trellis/ PLIST_FILES= bin/nextpnr-ecp5 \ bin/nextpnr-ice40 .include diff --git a/devel/p5-SDL/Makefile b/devel/p5-SDL/Makefile index 93aebe0a0886..4b13023477a2 100644 --- a/devel/p5-SDL/Makefile +++ b/devel/p5-SDL/Makefile @@ -1,30 +1,30 @@ # Created by: Klaus Goger PORTNAME= SDL PORTVERSION= 2.548 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl Bindings for SDL LICENSE= GPLv2 BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libsmpeg.so:multimedia/smpeg RUN_DEPENDS= p5-Alien-SDL>=1.446:devel/p5-Alien-SDL \ p5-File-ShareDir>=1.0:devel/p5-File-ShareDir \ p5-Tie-Simple>=0:devel/p5-Tie-Simple TEST_DEPENDS= p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \ p5-Test-Most>=0.21:devel/p5-Test-Most USES= gl jpeg perl5 sdl USE_GL= glu USE_PERL5= modbuild USE_SDL= gfx image mixer pango sdl ttf .include diff --git a/devel/py-bullet3/Makefile b/devel/py-bullet3/Makefile index bcf9e9349e6c..f4ca144a14e6 100644 --- a/devel/py-bullet3/Makefile +++ b/devel/py-bullet3/Makefile @@ -1,28 +1,29 @@ PORTNAME= bullet3 DISTVERSION= 3.17 +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python version of 3D collision detection library Bullet LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}gym>0:math/py-gym@${PY_FLAVOR} USES= compiler:c++11-lang gl localbase python:3.6+ USE_PYTHON= distutils autoplist USE_GL= gl glew USE_GITHUB= yes GH_ACCOUNT= bulletphysics post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pybullet*.so do-test: install # test require graphical environment @${PYTHON_CMD} ${FILESDIR}/test.py .include diff --git a/devel/py-qt5-designer/Makefile b/devel/py-qt5-designer/Makefile index 7c2300738107..dc4b408025d2 100644 --- a/devel/py-qt5-designer/Makefile +++ b/devel/py-qt5-designer/Makefile @@ -1,30 +1,31 @@ PORTNAME= designer +PORTREVISION= 1 CATEGORIES= devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtDesigner module CONFIGURE_ARGS= --enable QtDesigner --no-designer-plugin PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui designer widgets xml \ buildtools_build qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtDesigner API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtDesigner.so .include diff --git a/devel/py-qt5-designerplugin/Makefile b/devel/py-qt5-designerplugin/Makefile index ad20ea6d0d0c..e9f0d1c3f9ef 100644 --- a/devel/py-qt5-designerplugin/Makefile +++ b/devel/py-qt5-designerplugin/Makefile @@ -1,27 +1,28 @@ PORTNAME= designerplugin +PORTREVISION= 1 CATEGORIES= devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtDesigner plugin BUILD_WRKSRC= ${WRKSRC}/designer INSTALL_WRKSRC= ${WRKSRC}/designer DESTDIRNAME= INSTALL_ROOT CONFIGURE_ARGS= --enable QtDesigner PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build USE_PYTHON= concurrent flavors py3kplist USE_QT= core designer gui xml widgets \ buildtools_build qmake_build OPTIONS_DEFINE= DEBUG DEBUG_CONFIGURE_ON= --debug --trace PLIST_FILES= ${PYQT_DESIGNERDIR}/libpyqt5.so .include diff --git a/devel/py-qt5-help/Makefile b/devel/py-qt5-help/Makefile index f4ae66a9ec59..6f679a62da74 100644 --- a/devel/py-qt5-help/Makefile +++ b/devel/py-qt5-help/Makefile @@ -1,29 +1,30 @@ PORTNAME= help +PORTREVISION= 1 CATEGORIES= devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtHelp module CONFIGURE_ARGS= --enable QtHelp PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui widgets help network sql buildtools_build qmake_build xml OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtHelp API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtHelp.so .include diff --git a/devel/py-qt5-location/Makefile b/devel/py-qt5-location/Makefile index e2b5d0077167..806bb5aab791 100644 --- a/devel/py-qt5-location/Makefile +++ b/devel/py-qt5-location/Makefile @@ -1,29 +1,30 @@ PORTNAME= location +PORTREVISION= 1 CATEGORIES= devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtLocation module CONFIGURE_ARGS= --enable QtLocation PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core declarative gui location network buildtools_build qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtLocation API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtLocation.so .include diff --git a/devel/py-qt5-qscintilla2/Makefile b/devel/py-qt5-qscintilla2/Makefile index b33edfeee937..99d3b1e4520c 100644 --- a/devel/py-qt5-qscintilla2/Makefile +++ b/devel/py-qt5-qscintilla2/Makefile @@ -1,40 +1,41 @@ PORTNAME= qscintilla2 PORTVERSION= ${QSCI2_VERSION} +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITES_QSCI2} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt5- DISTNAME= ${QSCI2_DISTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for QScintilla2 (PyQt5), QSci module LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DISTINFO_FILE= ${.CURDIR:H}/qscintilla2-qt5/distinfo DESTDIRNAME= INSTALL_ROOT USES= python:3.5+ pyqt:5 gl qt:5 USE_GL= gl USE_PYQT= core gui printsupport widgets sip_build qtbuilder USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui printsupport widgets buildtools_build qmake_build OPTIONS_DEFINE= DEBUG DEBUG_CONFIGURE_ON= --debug --trace WRKSRC= ${WRKDIR}/${DISTNAME}/Python ALL_TARGET= #empty post-extract: ${CP} ${WRKSRC}/pyproject-qt5.toml ${WRKSRC}/pyproject.toml do-build: (cd ${WRKSRC} ; sip-build-${PYTHON_VER} --verbose --no-make --build-dir build ; ${MAKE} -C ./build ) do-install: (cd ${WRKSRC} ; ${MAKE} -C ./build install INSTALL_ROOT=${STAGEDIR} ) post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/Qsci.abi3.so .include diff --git a/devel/py-qt5-remoteobjects/Makefile b/devel/py-qt5-remoteobjects/Makefile index 3814bb2a681c..21e83df3210a 100644 --- a/devel/py-qt5-remoteobjects/Makefile +++ b/devel/py-qt5-remoteobjects/Makefile @@ -1,29 +1,30 @@ PORTNAME= remoteobjects +PORTREVISION= 1 CATEGORIES= devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtRemoteObjects module CONFIGURE_ARGS= --enable QtRemoteObjects PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core declarative gui remoteobjects network buildtools_build qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtRemoteObjects API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtRemoteObjects.so .include diff --git a/devel/py-qt5-test/Makefile b/devel/py-qt5-test/Makefile index 20317e01b707..58685e9f4c2f 100644 --- a/devel/py-qt5-test/Makefile +++ b/devel/py-qt5-test/Makefile @@ -1,30 +1,31 @@ PORTNAME= test +PORTREVISION= 1 CATEGORIES= devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtTest module CONFIGURE_ARGS= --enable QtTest PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui testlib widgets \ buildtools_build qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtTest API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtTest.so .include diff --git a/devel/pyotherside-qt5/Makefile b/devel/pyotherside-qt5/Makefile index a75f74fed645..5cd0a893a4b6 100644 --- a/devel/pyotherside-qt5/Makefile +++ b/devel/pyotherside-qt5/Makefile @@ -1,22 +1,23 @@ PORTNAME= pyotherside DISTVERSION= 1.5.9 +PORTREVISION= 1 CATEGORIES= devel PKGNAMESUFFIX= -qt5 MAINTAINER= daniel@shafer.cc COMMENT= Asynchronous Python 3 Bindings for Qt 5 LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang gettext-runtime gl python:3.4+ qmake qt:5 USE_QT= core declarative gui network quickcontrols svg testlib \ widgets buildtools_build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= thp QMAKE_ARGS= PYTHON_CONFIG=${PYTHON_CMD}-config .include diff --git a/devel/pyside2-tools/Makefile b/devel/pyside2-tools/Makefile index 04e055f8c3f3..47652867cc62 100644 --- a/devel/pyside2-tools/Makefile +++ b/devel/pyside2-tools/Makefile @@ -1,42 +1,43 @@ PORTNAME= pyside2-tools DISTVERSION= 5.15.2 +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= Pyside2 development tools LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= multi BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ git>0:devel/git LIB_DEPENDS= libshiboken2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/shiboken2@${PY_FLAVOR} \ libpyside2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/pyside2@${PY_FLAVOR} USES= cmake gl python:3.5+ qt:5 shebangfix tar:xz xorg USE_GL= gl USE_PYTHON= flavors USE_QT= 3d buildtools charts core datavis3d declarative \ designer gui help location multimedia network opengl \ printsupport qmake_build script scripttools scxml sensors \ speech sql svg testlib uitools webchannel \ websockets widgets x11extras xml xmlpatterns SHEBANG_FILES= pyside_tool.py CMAKE_ARGS+= "-DUSE_PYTHON_VERSION=${PYTHON_VER}" .include WRKSRC= ${WRKDIR}/pyside-setup-opensource-src-${DISTVERSION:C/^([0-9].[0-9]+.[0-9])(.[0-9])?/\1/}/sources/pyside2-tools .if ${ARCH} == amd64 || ${ARCH} == i386 DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 USE_QT+= webengine .endif .include diff --git a/devel/pyside2/Makefile b/devel/pyside2/Makefile index eec7ebfd997c..524f0c91f1ed 100644 --- a/devel/pyside2/Makefile +++ b/devel/pyside2/Makefile @@ -1,56 +1,57 @@ PORTNAME= pyside2 DISTVERSION= 5.15.2 +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 Qt bindings for Qt 5.12+ LICENSE= LGPL3 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ git>0:devel/git LIB_DEPENDS= libshiboken2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/shiboken2@${PY_FLAVOR} USES= cmake gl python:3.5+ qt:5 tar:xz USE_GL= gl USE_LDCONFIG= yes USE_PYTHON= flavors USE_QT= 3d buildtools_build charts concurrent core datavis3d declarative \ designer gamepad gui help location multimedia network opengl \ printsupport qmake_build quickcontrols2 remoteobjects serialport \ script scripttools scxml sensors speech sql svg testlib uitools \ webchannel websockets widgets x11extras xml xmlpatterns CMAKE_ARGS+= "-DUSE_PYTHON_VERSION=${PYTHON_VER}" \ "-DPYTHON_EXECUTABLE=${PYTHON_CMD}" .include PLIST_SUB+= PYVERSTR=.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER} PLIST_SUB+= DISTVERSION=${DISTVERSION} WRKSRC= ${WRKDIR}/pyside-setup-opensource-src-${DISTVERSION:C/^([0-9].[0-9]+.[0-9])(.[0-9])?/\1/}/sources/pyside2 .if ${ARCH} == amd64 || ${ARCH} == i386 DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 PLIST_SUB+= WEBENGINE="" USE_QT+= webengine .else PLIST_SUB+= WEBENGINE="@comment " .endif # AVOID a build_fs_violation with poudriere post-build: ${RM} -r ${PYTHON_SITELIBDIR}/shiboken2/files.dir/shibokensupport/__pycache__ ${RM} -r ${PYTHON_SITELIBDIR}/shiboken2/files.dir/shibokensupport/signature/__pycache__ ${RM} -r ${PYTHON_SITELIBDIR}/shiboken2/files.dir/shibokensupport/signature/lib/__pycache__ post-stage: ${RM} -r ${PYTHON_SITELIBDIR}/shiboken2/files.dir/shibokensupport/__pycache__ ${RM} -r ${PYTHON_SITELIBDIR}/shiboken2/files.dir/shibokensupport/signature/__pycache__ ${RM} -r ${PYTHON_SITELIBDIR}/shiboken2/files.dir/shibokensupport/signature/lib/__pycache__ .include diff --git a/devel/qbs/Makefile b/devel/qbs/Makefile index 576a12c68b4c..bdbf1ece7cc9 100644 --- a/devel/qbs/Makefile +++ b/devel/qbs/Makefile @@ -1,55 +1,56 @@ PORTNAME= qbs DISTVERSIONPREFIX= src- DISTVERSION= 1.19.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= QT/official_releases/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= KDE/Qt/qbs MAINTAINER= kde@FreeBSD.org COMMENT= Qbs Build Suite LICENSE= GPLv3 LGPL21 LICENSE_COMB= dual USES= compiler:c++11-lib gl python:run qmake:outsource qt:5 shebangfix USE_GL= gl USE_LDCONFIG= yes USE_QT= buildtools_build core concurrent gui network script testlib \ widgets xml SHEBANG_FILES= src/3rdparty/python/bin/dmgbuild QMAKE_ARGS= CONFIG+=qbs_disable_rpath \ CONFIG+=qbs_enable_project_file_updates QMAKE_SOURCE_PATH= ${WRKSRC}/qbs.pro OPTIONS_DEFINE= DOCS DOCS_USES= qt:5 DOCS_USE= QT=help_build,qdoc_build,sql-sqlite3_build OPTIONS_DEFAULT= ${OPTIONS_DEFINE} ALL_TARGET= all INSTALL_TARGET= install DOCS_ALL_TARGET= docs DOCS_INSTALL_TARGET= install_docs PLIST_SUB= SHLIB_VERSION="${PORTVERSION}" pre-configure: # We piggyback on QMAKE_LIBDIR_FLAGS to make sure -L${WRKSRC}/lib is passed to # the linker before -L/usr/local/lib. By default, the opposite happens, which # is a problem when a Qt port is being upgraded, since an existing library # would end up being picked up instead of those built in ${WRKSRC}/lib. Since # qmake appends the value of QMAKE_LIBDIR to QMAKE_LIBDIR_FLAGS, we can use the # latter to get the linker path order right. qmake is smart enough to strip # occurrences of ${WRKSRC}/lib from .pc and .prl files when installing them. # See QTBUG-40825 and ports bugs 194088, 195105 and 198720. ${MKDIR} ${CONFIGURE_WRKSRC} ${ECHO_CMD} 'QMAKE_LIBDIR_FLAGS = -L${CONFIGURE_WRKSRC}/lib' >> ${CONFIGURE_WRKSRC}/.qmake.cache # The file in question is not used on FreeBSD. To silence stage-qa, remove it from stage-dir. post-install: ${RM} ${STAGEDIR}${DATADIR}/modules/bundle/update-specs.sh .include diff --git a/devel/qscintilla2-designerplugin-qt5/Makefile b/devel/qscintilla2-designerplugin-qt5/Makefile index 2869501eb307..8c15c32e30cd 100644 --- a/devel/qscintilla2-designerplugin-qt5/Makefile +++ b/devel/qscintilla2-designerplugin-qt5/Makefile @@ -1,23 +1,24 @@ PORTNAME= designerplugin-qt5 PORTVERSION= ${QSCI2_VERSION} +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITES_QSCI2} PKGNAMEPREFIX= qscintilla2- DISTNAME= ${QSCI2_DISTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Qt5 Designer plugin for QScintilla2 LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DISTINFO_FILE= ${.CURDIR:H}/qscintilla2-qt5/distinfo USES= compiler:c++11-lang qmake pyqt:5 qt:5 gl USE_GL= gl USE_QT= core designer printsupport gui widgets xml \ buildtools_build qmake_build WRKSRC= ${WRKDIR}/${DISTNAME}/designer PLIST_FILES= %%QT_PLUGINDIR%%/designer/libqscintillaplugin.so .include diff --git a/devel/qscintilla2-qt5/Makefile b/devel/qscintilla2-qt5/Makefile index b4d6e500ad45..b1455ddb45f2 100644 --- a/devel/qscintilla2-qt5/Makefile +++ b/devel/qscintilla2-qt5/Makefile @@ -1,45 +1,46 @@ PORTNAME= qscintilla2-qt5 PORTVERSION= ${QSCI2_VERSION} +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITES_QSCI2} DISTNAME= ${QSCI2_DISTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 port of the Scintilla C++ editor class USES= compiler:c++11-lang gl qmake pyqt:5 qt:5 USE_GL= gl USE_PYQT= # USE_QT= buildtools_build core gui printsupport widgets USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src CONFIGURE_WRKSRC= ${BUILD_WRKSRC} INSTALL_WRKSRC= ${BUILD_WRKSRC} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES NLS OPTIONS_SUB= yes .include post-patch: .if empty(PORT_OPTIONS:MNLS) cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e \ 's|trans qsci|qsci|' qscintilla.pro .endif post-install: cd ${WRKSRC} &&\ ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${STAGEDIR}${DOCSDIR}/Scintilla &&\ ${INSTALL_DATA} NEWS ${STAGEDIR}${DOCSDIR} &&\ ${INSTALL_DATA} doc/html/* ${STAGEDIR}${DOCSDIR}/html &&\ ${INSTALL_DATA} doc/Scintilla/* ${STAGEDIR}${DOCSDIR}/Scintilla cd ${WRKSRC}/example &&\ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/images &&\ ${INSTALL_DATA} *.* ${STAGEDIR}${EXAMPLESDIR} &&\ ${INSTALL_DATA} images/* ${STAGEDIR}${EXAMPLESDIR}/images .include diff --git a/devel/qt5-remoteobjects/Makefile b/devel/qt5-remoteobjects/Makefile index 6fdbfdde2700..c1a022298f0c 100644 --- a/devel/qt5-remoteobjects/Makefile +++ b/devel/qt5-remoteobjects/Makefile @@ -1,17 +1,17 @@ PORTNAME= remoteobjects DISTVERSION= ${QT5_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt5 SXCML module USES= compiler:c++11-lang gl qmake qt-dist:5 USE_GL= gl USE_QT= core declarative network \ buildtools_build QT_BINARIES= yes .include diff --git a/devel/qtcreator/Makefile b/devel/qtcreator/Makefile index e9a34da27d9a..e8fe6ccbbbea 100644 --- a/devel/qtcreator/Makefile +++ b/devel/qtcreator/Makefile @@ -1,124 +1,124 @@ # Created by: Kris Moore PORTNAME= qtcreator DISTVERSION= 4.13.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= QT/official_releases/qtcreator/${DISTVERSION:R}/${DISTVERSION} DISTNAME= qt-creator-opensource-src-${DISTVERSION} DIST_SUBDIR= KDE/Qt/qtcreator MAINTAINER= kde@FreeBSD.org COMMENT= C++ and QML IDE for Qt development LICENSE= QtGPL LICENSE_GROUPS_QtGPL= GPL LICENSE_NAME= GPLv3 with Qt Company GPL Exception 1.0 LICENSE_FILE= ${WRKSRC}/LICENSE.GPL3-EXCEPT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept # depend on the split out qbs LIB_DEPENDS= libqbscore.so:devel/qbs BUILD_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} RUN_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} USES= compiler:c++14-lang gl python qmake qt:5 shebangfix tar:xz USE_LDCONFIG= ${LOCALBASE}/lib/${PORTNAME} USE_GL= gl USE_QT= buildtools concurrent core declarative designer gui help \ linguist location network printsupport qdoc qmake \ quickcontrols script script serialport sql svg webchannel \ widgets xml xmlpatterns # be paranoid and do not extract qbs (devel/qbs) copy from source tree EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/src/shared/qbs' # Set QBS_INSTALL_DIR for QBS plugin build and set config parameter to build # the qbsprojectmanager plugin without compile error QMAKE_ARGS+= QBS_INSTALL_DIR=${PREFIX} CONFIG+=qbs_enable_project_file_updates # Enforce installation to ${PREFIX}. QMAKE_ARGS+= QTC_PREFIX=${PREFIX} LLVM_INSTALL_DIR=${PREFIX}/llvm${LLVM_DEFAULT} DESKTOP_ENTRIES="Qt Creator" "" "QtProject-qtcreator" \ "${PREFIX}/bin/${PORTNAME}" "Development;Qt;" true PORTDOCS= * OPTIONS_DEFINE= DOCS EXAMPLES QTWEBENGINE OPTIONS_SUB= yes DOCS_DESC= Install the Qt5 api documentation DOCS_USE= QT=doc_run EXAMPLES_DESC= Install the Qt5 example projects EXAMPLES_USE= QT=examples_run OPTIONS_DEFAULT= DOCS EXAMPLES OPTIONS_DEFAULT_amd64= QTWEBENGINE OPTIONS_DEFAULT_i386= QTWEBENGINE QTWEBENGINE_DESC= Add dependency on qt5-webengine QTWEBENGINE_USE= qt=webengine QTWEBENGINE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngine ALL_TARGET= all INSTALL_TARGET= install DOCS_ALL_TARGET= docs DOCS_INSTALL_TARGET= install_docs PLIST_SUB= SHLIB_VER="${PORTVERSION}" SHEBANG_FILES= tests/system/tools/objectsToTable.py \ tests/system/tools/findUnusedObjects.py \ share/qtcreator/templates/wizards/files/python/file.py \ share/qtcreator/scripts/openTerminal.py \ src/libs/qmljs/parser/changeLicense.py \ src/libs/qt-breakpad/qtbreakpadsymbols \ src/tools/icons/export.py \ scripts/packagePlugins.py \ scripts/ninjawrapper.py \ scripts/checkInstalledFiles.py \ scripts/createDistPackage.py \ scripts/createDevPackage.py \ scripts/deployqt.py \ scripts/dependencyinfo.py \ scripts/createSourcePackages.py \ scripts/uichanges.py \ scripts/makedmg.py .include .if ${PORT_OPTIONS:MWEBENGINE} DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 .endif .if ${LLVM_DEFAULT:C/[1-5]./&0/:S,-devel,990,} >= 90 LLVM_DEFAULT= 80 .endif .if ${LLVM_DEFAULT} == 10 EXTRA_PATCHES= ${PATCHDIR}/llvm10_patch-src_shared_clang_clang__installation.pri .endif post-patch: # Fix python binary in pro file. ${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' \ ${WRKSRC}/qtcreator.pro pre-configure: # We piggyback on QMAKE_LIBDIR_FLAGS to make sure -L${WRKSRC}/lib is passed to # the linker before -L/usr/local/lib. By default, the opposite happens, which # is a problem when a Qt port is being upgraded, since an existing library # would end up being picked up instead of those built in ${WRKSRC}/lib. Since # qmake appends the value of QMAKE_LIBDIR to QMAKE_LIBDIR_FLAGS, we can use the # latter to get the linker path order right. qmake is smart enough to strip # occurrences of ${WRKSRC}/lib from .pc and .prl files when installing them. # See QTBUG-40825 and ports bugs 194088, 195105 and 198720. ${ECHO_CMD} 'QMAKE_LIBDIR_FLAGS = -L${WRKSRC}/lib' >> ${WRKSRC}/.qmake.cache post-stage: # There is **one** qmldir file that is staged, which gets stripped. # Since it's a text file, strip complains / falls over, but it does # leave a 0-size file behind. That in turn trips up check-plist. ${RM} ${STAGEDIR}/${PREFIX}/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/ecp.* .include diff --git a/devel/raylib/Makefile b/devel/raylib/Makefile index d042bf171ba1..80444d197877 100644 --- a/devel/raylib/Makefile +++ b/devel/raylib/Makefile @@ -1,35 +1,36 @@ PORTNAME= raylib DISTVERSION= 3.7.0 +PORTREVISION= 1 CATEGORIES= devel education MAINTAINER= freebsd@sysctl.cz COMMENT= Library to learn videogames programming LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= glfw>=3.3:graphics/glfw LIB_DEPENDS= libglfw.so:graphics/glfw USES= cmake gl localbase:ldflags xorg USE_GITHUB= yes GH_ACCOUNT= raysan5 USE_GL= gl glu USE_LDCONFIG= yes USE_XORG= ice sm x11 xcursor xext xi xinerama xrandr xxf86vm CMAKE_ON= BUILD_SHARED_LIBS USE_EXTERNAL_GLFW CMAKE_OFF= BUILD_EXAMPLES BUILD_GAMES STATIC post-extract: # Remove bundled files. ${RM} -r ${WRKSRC}/src/external/glfw ${WRKSRC}/src/external/include ${WRKSRC}/src/rglfw.c post-install: # Install all parts for raylib ${INSTALL_DATA} ${WRKSRC}/src/raylib.h \ ${WRKSRC}/src/raymath.h \ ${WRKSRC}/src/physac.h \ ${STAGEDIR}${PREFIX}/include .include diff --git a/devel/sasm/Makefile b/devel/sasm/Makefile index 37065cc6783a..b4b6ebc4c9fd 100644 --- a/devel/sasm/Makefile +++ b/devel/sasm/Makefile @@ -1,27 +1,28 @@ PORTNAME= SASM DISTVERSIONPREFIX= v DISTVERSION= 3.11.1 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= freebsd@sysctl.cz COMMENT= Simple IDE for NASM, MASM, GAS and FASM assembly languages LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gl qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= Dman95 USE_GL= gl USE_QT= core gui network widgets buildtools_build DATADIR= ${PREFIX}/share/sasm DOCSDIR= ${PREFIX}/share/doc/sasm post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/BSD/share/applications/sasm.desktop post-install: @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/sasm .include diff --git a/devel/sdl20/Makefile b/devel/sdl20/Makefile index 2468565e5ef9..5a3c644e56db 100644 --- a/devel/sdl20/Makefile +++ b/devel/sdl20/Makefile @@ -1,289 +1,289 @@ PORTNAME= sdl2 PORTVERSION= 2.0.12 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= https://www.libsdl.org/release/ DISTNAME= SDL2-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Cross-platform multimedia development API LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/COPYING.txt GNU_CONFIGURE= yes USES= gmake iconv libtool localbase:ldflags pathfix pkgconfig USE_CSTD= c99 USE_LDCONFIG= yes CONFIGURE_ARGS+= --disable-arts \ --enable-diskaudio \ --enable-dummyaudio \ --enable-video-dummy \ --disable-dbus \ --disable-input-tslib \ --disable-rpath .if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} CONFIGURE_ARGS+= --enable-mmx .else CONFIGURE_ARGS+= --disable-mmx .endif .if defined(MACHINE_CPU) && ${MACHINE_CPU:M3dnow} CONFIGURE_ARGS+= --enable-3dnow .else CONFIGURE_ARGS+= --disable-3dnow .endif .if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse} CONFIGURE_ARGS+= --enable-sse .else CONFIGURE_ARGS+= --disable-sse .endif .if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2} CONFIGURE_ARGS+= --enable-sse2 .else CONFIGURE_ARGS+= --disable-sse2 .endif .if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse3} CONFIGURE_ARGS+= --enable-sse3 .else CONFIGURE_ARGS+= --disable-sse3 .endif MAKE_ENV= V=1 OPTIONS_DEFINE= ALSA ASM DLOPEN HIDAPI JACK NAS OSS \ PULSEAUDIO SAMPLERATE SNDIO PTHREADS \ SDL_ATOMIC SDL_AUDIO SDL_CPUINFO SDL_EVENTS \ SDL_FILE SDL_HAPTIC SDL_JOYSTICK SDL_LOADSO \ SDL_POWER SDL_RENDER SDL_THREADS SDL_TIMERS \ SDL_VIDEO UDEV VIDEO_KMSDRM VIDEO_OPENGL \ VIDEO_OPENGLES2 VIDEO_WAYLAND VIDEO_X11 OPTIONS_DEFAULT= ASM DLOPEN OSS PTHREADS SDL_ATOMIC SDL_AUDIO \ SDL_CPUINFO SDL_EVENTS SDL_FILE SDL_HAPTIC \ SDL_JOYSTICK SDL_LOADSO SDL_POWER SDL_RENDER \ SDL_THREADS SDL_TIMERS SDL_VIDEO VIDEO_KMSDRM \ VIDEO_OPENGL VIDEO_OPENGLES2 VIDEO_WAYLAND \ VIDEO_X11 OPTIONS_DEFINE_powerpc= ALTIVEC OPTIONS_DEFINE_powerpc64= ALTIVEC OPTIONS_DEFAULT_powerpc= ALTIVEC OPTIONS_DEFAULT_powerpc64= ALTIVEC ALSA_DESC= Audio output via the ALSA audio architecture DLOPEN_DESC= Use dlopen for loading 3rd party libraries HIDAPI_DESC= Use HIDAPI for low level joystick drivers JACK_DESC= Audio output via the JackD sound server NAS_DESC= Audio output via the Network Audio System OSS_DESC= Audio output via the Open Sound System PULSEAUDIO_DESC= Audio output via the PulseAudio sound server PTHREADS_DESC= Use POSIX threads for multi-threading SAMPLERATE_DESC= Audio rate conversion via libsamplerate SDL_ATOMIC_DESC= Enable the SDL Atomic subsystem SDL_AUDIO_DESC= Enable the SDL Audio subsystem SDL_CPUINFO_DESC= Enable the SDL CPUinfo subsystem SDL_EVENTS_DESC= Enable the SDL Events subsystem SDL_FILE_DESC= Enable the SDL File subsystem SDL_HAPTIC_DESC= Enable the SDL Haptic subsystem SDL_JOYSTICK_DESC= Enable the SDL Joystick subsystem SDL_LOADSO_DESC= Enable the SDL Loadso subsystem SDL_POWER_DESC= Enable the SDL Power subsystem SDL_RENDER_DESC= Enable the SDL Render subsystem SDL_THREADS_DESC= Enable the SDL Threads subsystem SDL_TIMERS_DESC= Enable the SDL Timers subsystem SDL_VIDEO_DESC= Enable the SDL Video subsystem UDEV_DESC= Use udev for input device detection VIDEO_KMSDRM_DESC= KMSDRM display support VIDEO_OPENGL_DESC= OpenGL rendering support VIDEO_OPENGLES2_DESC= OpenGL ES 2.x rendering support VIDEO_WAYLAND_DESC= Wayland display support VIDEO_X11_DESC= X11 display support ALTIVEC_CONFIGURE_ENABLE= altivec ASM_CONFIGURE_ENABLE= assembly DLOPEN_CONFIGURE_ENABLE= sdl-dlopen DLOPEN_CONFIGURE_OFF= --disable-video-vulkan HIDAPI_CONFIGURE_ENABLE= hidapi HIDAPI_IMPLIES= SDL_JOYSTICK PTHREADS_CONFIGURE_ENABLE= pthreads pthread-sem SAMPLERATE_CONFIGURE_ENABLE= libsamplerate libsamplerate-shared SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SDL_ATOMIC_CONFIGURE_ENABLE= atomic gcc-atomics SDL_AUDIO_CONFIGURE_ENABLE= audio SDL_CPUINFO_CONFIGURE_ENABLE= cpuinfo SDL_EVENTS_CONFIGURE_ENABLE= events SDL_FILE_CONFIGURE_ENABLE= filesystem SDL_HAPTIC_CONFIGURE_ENABLE= haptic SDL_JOYSTICK_CONFIGURE_ENABLE= joystick SDL_LOADSO_CONFIGURE_ENABLE= loadso SDL_POWER_CONFIGURE_ENABLE= power SDL_RENDER_CONFIGURE_ENABLE= render SDL_THREADS_CONFIGURE_ENABLE= threads SDL_TIMERS_CONFIGURE_ENABLE= timers SDL_VIDEO_CONFIGURE_ENABLE= video UDEV_CONFIGURE_ENABLE= libudev UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto .include # Similar to x11/pixman .if ${ARCH} == "armv6" || ${ARCH} == "armv7" BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils CFLAGS+= -B${LOCALBASE}/bin -no-integrated-as .endif .if ${PORT_OPTIONS:MALSA} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option ALSA requires SDL_AUDIO .endif CONFIGURE_ARGS+= --enable-alsa --enable-alsa-shared LIB_DEPENDS+= libasound.so:audio/alsa-lib .else CONFIGURE_ARGS+= --disable-alsa --disable-alsa-shared .endif .if ${PORT_OPTIONS:MJACK} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option JACK requires SDL_AUDIO .endif CONFIGURE_ARGS+= --enable-jack --enable-jack-shared LIB_DEPENDS+= libjack.so:audio/jack .else CONFIGURE_ARGS+= --disable-jack --disable-jack-shared .endif CONFIGURE_ARGS+= --disable-esd --disable-esd-shared .if ${PORT_OPTIONS:MNAS} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option NAS requires SDL_AUDIO .endif CONFIGURE_ARGS+= --enable-nas --enable-nas-shared LIB_DEPENDS+= libaudio.so:audio/nas .else CONFIGURE_ARGS+= --disable-nas --disable-nas-shared .endif .if ${PORT_OPTIONS:MOSS} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option OSS requires SDL_AUDIO .endif CONFIGURE_ARGS+= --enable-oss .else CONFIGURE_ARGS+= --disable-oss .endif .if ${PORT_OPTIONS:MPULSEAUDIO} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option PULSEAUDIO requires SDL_AUDIO .endif CONFIGURE_ARGS+= --enable-pulseaudio --enable-pulseaudio-shared .else CONFIGURE_ARGS+= --disable-pulseaudio --disable-pulseaudio-shared .endif .if ${PORT_OPTIONS:MSNDIO} .if !${PORT_OPTIONS:MSDL_AUDIO} IGNORE= option SNDIO requires SDL_AUDIO .endif CONFIGURE_ARGS+= --enable-sndio --enable-sndio-shared LIB_DEPENDS+= libsndio.so:audio/sndio .else CONFIGURE_ARGS+= --disable-sndio --disable-sndio-shared .endif .if ${PORT_OPTIONS:MVIDEO_KMSDRM} .if !${PORT_OPTIONS:MSDL_VIDEO} IGNORE= option VIDEO_KMSDRM requires SDL_VIDEO .endif CONFIGURE_ARGS+= --enable-video-kmsdrm --enable-kmsdrm-shared USE_GL+= gbm .else CONFIGURE_ARGS+= --disable-video-kmsdrm --disable-video-kmsdrm .endif .if ${PORT_OPTIONS:MVIDEO_OPENGL} .if !${PORT_OPTIONS:MSDL_VIDEO} IGNORE= option VIDEO_OPENGL requires SDL_VIDEO .endif CONFIGURE_ARGS+= --enable-video-opengl USES+= gl USE_GL+= gl .else CONFIGURE_ARGS+= --disable-video-opengl .endif .if ${PORT_OPTIONS:MVIDEO_X11} .if !${PORT_OPTIONS:MSDL_VIDEO} IGNORE= option VIDEO_X11 requires SDL_VIDEO .endif CONFIGURE_ARGS+= --enable-video-x11 \ --enable-x11-shared \ --enable-video-x11-xcursor \ --enable-video-x11-xinerama \ --enable-video-x11-xinput \ --enable-video-x11-xrandr \ --enable-video-x11-scrnsaver \ --enable-video-x11-xshape \ --enable-video-x11-vm USES+= xorg USE_XORG+= xinerama xcursor xi xrandr xscrnsaver xxf86vm xext .else CONFIGURE_ARGS+= --disable-video-x11 \ --disable-x11-shared \ --disable-video-x11-xcursor \ --disable-video-x11-xinerama \ --disable-video-x11-xinput \ --disable-video-x11-xrandr \ --disable-video-x11-scrnsaver \ --disable-video-x11-xshape \ --disable-video-x11-vm .endif .if ${PORT_OPTIONS:MVIDEO_OPENGLES2} .if !${PORT_OPTIONS:MSDL_VIDEO} IGNORE= option VIDEO_OPENGLES2 requires SDL_VIDEO .endif CONFIGURE_ARGS+= --enable-video-opengles \ --enable-video-opengles2 USE_GL+= egl glesv2 .else CONFIGURE_ARGS+= --disable-video-opengles \ --disable-video-opengles2 .endif .if ${PORT_OPTIONS:MVIDEO_WAYLAND} .if !${PORT_OPTIONS:MSDL_VIDEO} IGNORE= option VIDEO_WAYLAND requires SDL_VIDEO .endif .if !${PORT_OPTIONS:MVIDEO_OPENGLES2} IGNORE= option VIDEO_WAYLAND requires VIDEO_OPENGLES2 .endif CONFIGURE_ARGS+= --enable-video-wayland \ --enable-wayland-shared BUILD_DEPENDS+= wayland-protocols>0:graphics/wayland-protocols \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS+= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon .else CONFIGURE_ARGS+= --disable-video-wayland \ --disable-wayland-shared .endif .include .if !empty(ICONV_LIB) CONFIGURE_ARGS+= ac_cv_lib_iconv_iconv_open=yes ac_cv_func_iconv=yes .endif post-patch: @${REINPLACE_CMD} -e '/ CheckInputEvents$$/d' \ -e 's/-liconv/${ICONV_LIB}/g' ${WRKSRC}/configure # Clang does not provide _m_prefetch @${REINPLACE_CMD} 's/_m_prefetch/__builtin_prefetch/' \ ${WRKSRC}/configure ${WRKSRC}/src/video/SDL_blit_A.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libSDL2.so .include diff --git a/devel/sdl_gnat/Makefile b/devel/sdl_gnat/Makefile index abd07cb9bb04..25ef9e4868ab 100644 --- a/devel/sdl_gnat/Makefile +++ b/devel/sdl_gnat/Makefile @@ -1,22 +1,22 @@ # Created by: John Marino PORTNAME= sdl_gnat PORTVERSION= 2013 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel MASTER_SITES= http://downloads.dragonlace.net/src/ MAINTAINER= ports@FreeBSD.org COMMENT= Ada thin bindings for SDL (GPLv3) LICENSE= GPLv3 USES= ada gl sdl tar:bzip2 USE_SDL= sdl ttf USE_GL= glu gl post-patch: @${REINPLACE_CMD} -e 's|@PREFIX@|${LOCALBASE}|' \ ${WRKSRC}/gnat_sdl.gpr .include diff --git a/devel/sfml/Makefile b/devel/sfml/Makefile index ff39f3bb40c6..c08b6bf1c3e6 100644 --- a/devel/sfml/Makefile +++ b/devel/sfml/Makefile @@ -1,68 +1,68 @@ PORTNAME= sfml PORTVERSION= 2.5.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simple and Fast Multimedia Library LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/license.md USE_GITHUB= yes GH_ACCOUNT= SFML GH_PROJECT= SFML USES= cmake compiler:c++11-lang CMAKE_ARGS= -DSFML_INSTALL_PKGCONFIG_FILES=ON \ -DSFML_USE_SYSTEM_DEPS=ON USE_LDCONFIG= yes DATADIR= ${PREFIX}/share/SFML PORTDATA= * PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES DOXYGEN OPTIONS_GROUP= MODULES OPTIONS_GROUP_MODULES= WINDOW GRAPHICS AUDIO NETWORK OPTIONS_DEFAULT=${OPTIONS_GROUP_MODULES} OPTIONS_SUB= yes MODULES_DESC= SFML modules WINDOW_DESC= SFML Window module WINDOW_CMAKE_BOOL= SFML_BUILD_WINDOW WINDOW_USES= gl xorg WINDOW_USE= XORG=x11,xrandr GL=gl GRAPHICS_DESC= SFML Graphics module GRAPHICS_CMAKE_BOOL= SFML_BUILD_GRAPHICS GRAPHICS_LIB_DEPENDS= libfreetype.so:print/freetype2 GRAPHICS_IMPLIES= WINDOW AUDIO_DESC= SFML Audio module AUDIO_CMAKE_BOOL= SFML_BUILD_AUDIO AUDIO_USES= openal:al AUDIO_LIB_DEPENDS= libFLAC.so:audio/flac \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis NETWORK_DESC= SFML Network module NETWORK_CMAKE_BOOL= SFML_BUILD_NETWORK DOXYGEN_CMAKE_BOOL= SFML_BUILD_DOC DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS EXAMPLES_CMAKE_BOOL= SFML_BUILD_EXAMPLES post-install: @${RM} ${STAGEDIR}${PREFIX}/*.pc post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/changelog.md ${WRKSRC}/readme.md \ ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/sfml1/Makefile b/devel/sfml1/Makefile index d00ef316ae98..9f2b80e4053d 100644 --- a/devel/sfml1/Makefile +++ b/devel/sfml1/Makefile @@ -1,49 +1,49 @@ PORTNAME= sfml PORTVERSION= 1.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel MASTER_SITES= SF PKGNAMESUFFIX= 1 DISTNAME= SFML-${PORTVERSION}-sdk-linux-32 MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simple and Fast Multimedia Library LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libsndfile.so:audio/libsndfile \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 USES= gmake jpeg gl openal:al pkgconfig dos2unix xorg DOS2UNIX_GLOB= Makefile ResourcePtr.inl USE_XORG= x11 xrandr USE_GL= gl glu USE_LDCONFIG= yes USE_CXXSTD= c++98 DESTDIRNAME= STAGEDIR WRKSRC= ${WRKDIR}/SFML-${PORTVERSION} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} PORTDOCS= * PORTSCOUT= limit:[^c]$$ OPTIONS_DEFINE= DOCS post-extract: @${RM} ${WRKSRC}/lib/* @${FIND} ${WRKSRC}/samples/bin/ -type f -maxdepth 1 -delete post-install: @${FIND} ${STAGEDIR}${PREFIX}/include/SFML -name "*.hpp" -exec ${REINPLACE_CMD} -i '' -e '/#include/ s|SFML|&1|' {} \; @${MV} ${STAGEDIR}${PREFIX}/include/SFML ${STAGEDIR}${PREFIX}/include/SFML${PKGNAMESUFFIX} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ .include diff --git a/devel/simavr/Makefile b/devel/simavr/Makefile index ae794fd8d36d..ff94aad77ee6 100644 --- a/devel/simavr/Makefile +++ b/devel/simavr/Makefile @@ -1,94 +1,95 @@ # Created by: Felix Palmen PORTNAME= simavr PORTVERSION= 1.7 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= devel emulators MAINTAINER= felix@palmen-it.de COMMENT= Simulator for several Atmel AVR chips LICENSE= GPLv3 BUILD_DEPENDS= avr-gcc:devel/avr-gcc \ bash:shells/bash \ ${LOCALBASE}/avr/lib/libc.a:devel/avr-libc USES= compiler:c11 gl gmake pathfix pkgconfig xorg USE_GL= gl glu glut PATHFIX_MAKEFILEIN= Makefile USE_XORG= xdamage xcb xext xfixes xrandr USE_GITHUB= yes GH_ACCOUNT= buserror USE_LDCONFIG= yes ALL_TARGET= build-parts DESTDIRNAME= DUMMYDESTDIR # Avoid default DESTDIR handling, so we can set a custom # one that includes PREFIX, as required by unusual upstream # install targets MAKE_ARGS= RELEASE=1 PREFIX=${PREFIX} DESTDIR=${STAGEDIR}${PREFIX} MAKE_ENV= SIMAVR_VERSION=v${PORTVERSION} OPTIONS_DEFINE= DOCS EXAMPLES DOCS_ALL_TARGET= doc DOCS_USE= tex=latex:build tex=pdftex:build tex=texmf:build AVR_STRIP_CMD?= avr-strip DUMPMACHINE= ${CC} -dumpmachine OBJDIRNAME= obj-$$(${DUMPMACHINE}) post-patch: ${REINPLACE_CMD} -e 's:Linux:FreeBSD:' \ -e 's:unknown:v${PORTVERSION}:' \ ${WRKSRC}/simavr/Makefile \ ${WRKSRC}/examples/parts/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/simavr ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsimavr.so.1 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsimavrparts.so.1 post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/manual/manual.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/simavr_callgraph.pdf ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: .for BOARDELF in ds1338,ds1338demo hd44780,charlcd i2ctest ledramp rotenc,rotenc_test simduino ssd1306,ssd1306demo timer_64led BOARDELF=${BOARDELF}; \ BOARD=$${BOARDELF%%,*}; \ ELF=$${BOARDELF##*,}; \ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/board_$${BOARD}; \ ${INSTALL_PROGRAM} \ ${WRKSRC}/examples/board_$${BOARD}/${OBJDIRNAME}/$${ELF}.elf \ ${STAGEDIR}${EXAMPLESDIR}/board_$${BOARD}/$${ELF}; \ ${INSTALL_DATA} ${WRKSRC}/examples/board_$${BOARD}/*.[aihc]* \ ${WRKSRC}/examples/board_$${BOARD}/Makefile \ ${STAGEDIR}${EXAMPLESDIR}/board_$${BOARD}/;\ ${TEST} -f ${WRKSRC}/examples/board_$${BOARD}/README && \ ${INSTALL_DATA} ${WRKSRC}/examples/board_$${BOARD}/README \ ${STAGEDIR}${EXAMPLESDIR}/board_$${BOARD}/ || ${TRUE} .endfor .for AXF in \ ds1338/atmega32_ds1338 \ hd44780/atmega48_charlcd \ i2ctest/atmega1280_i2ctest \ ledramp/atmega48_ledramp \ rotenc/atmega32_rotenc_test \ ssd1306/atmega32_ssd1306 \ timer_64led/atmega168_timer_64led ${AVR_STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/board_${AXF}.axf .endfor .for EXDIR in parts shared ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${EXDIR} ${INSTALL_DATA} ${WRKSRC}/examples/${EXDIR}/*.[hc] \ ${STAGEDIR}${EXAMPLESDIR}/${EXDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/Makefile.common ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/Makefile ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/Makefile.opengl \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/devel/simgear/Makefile b/devel/simgear/Makefile index 20f3a1d7db23..f875f60c038e 100644 --- a/devel/simgear/Makefile +++ b/devel/simgear/Makefile @@ -1,45 +1,46 @@ PORTNAME= simgear PORTVERSION= 2020.3.9 +PORTREVISION= 1 CATEGORIES= devel games MASTER_SITES= SF/flightgear/release-${PORTVERSION:R} MAINTAINER= martymac@FreeBSD.org COMMENT= Toolkit for 3D games and simulations LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libosg.so:graphics/osg \ libexpat.so:textproc/expat2 \ libcurl.so:ftp/curl USES= alias cmake compiler:c++11-lib cpe gl jpeg openal:al,alut \ tar:bzip2 xorg USE_XORG= ice sm x11 xext xi xmu xt USE_GL= gl glu glut USE_LDCONFIG= yes LDFLAGS_gcc= -losgDB LDFLAGS+= ${LDFLAGS_${CHOSEN_COMPILER_TYPE}} CMAKE_ARGS+= -DSYSTEM_EXPAT:BOOL=ON \ -DENABLE_TESTS:BOOL=OFF PLIST_SUB= PORTVERSION=${PORTVERSION} .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DENABLE_SIMD:BOOL=OFF .endif post-patch: # Avoid conflict with C++20 - used version file is simgear-version @${RM} ${WRKSRC}/version .include diff --git a/devel/zeal/Makefile b/devel/zeal/Makefile index 25d3555e4a6f..95eef36b2c9f 100644 --- a/devel/zeal/Makefile +++ b/devel/zeal/Makefile @@ -1,28 +1,28 @@ PORTNAME= zeal PORTVERSION= 0.6.1 -PORTREVISION= 3 +PORTREVISION= 4 DISTVERSIONPREFIX=v CATEGORIES= devel MAINTAINER= rakuco@FreeBSD.org COMMENT= Offline documentation browser LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxcb.so:x11/libxcb \ libxcb-keysyms.so:x11/xcb-util-keysyms USES= cmake compiler:c++11-lib desktop-file-utils gl gnome kde:5 \ libarchive pkgconfig qt:5 sqlite xorg USE_GL= gl # Dependency added by qt5-gui. USE_GITHUB= yes USE_KDE= ecm USE_QT= concurrent core gui network webkit widgets x11extras \ buildtools_build qmake_build USE_XORG= ice sm x11 xcb xext GH_ACCOUNT= zealdocs INSTALLS_ICONS= yes .include diff --git a/editors/encryptpad/Makefile b/editors/encryptpad/Makefile index 38ce7bb6c827..5257595e6180 100644 --- a/editors/encryptpad/Makefile +++ b/editors/encryptpad/Makefile @@ -1,67 +1,67 @@ # Created by: Dmitri Goutnik PORTNAME= encryptpad DISTVERSIONPREFIX= v DISTVERSION= 0.5.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= editors security MAINTAINER= dmgk@FreeBSD.org COMMENT= Minimalist secure text editor and binary encryptor LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libbotan-2.so:security/botan2 USES= compiler:c++11-lang desktop-file-utils gl gmake pkgconfig \ python:build qt:5 shared-mime-info shebangfix USE_GITHUB= yes GH_ACCOUNT= evpo GH_PROJECT= EncryptPad USE_GL= gl USE_QT= core gui widgets buildtools_build qmake_build BINARY_ALIAS= python=${PYTHON_CMD} PORTDOCS= * OPTIONS_DEFINE= DOCS .include .if ${ARCH} == powerpc64 CONFIGURE_ARGS= --cpu="${ARCH}" .endif .include post-patch: .if ${CHOSEN_COMPILER_TYPE} == gcc ${REINPLACE_CMD} -e 's/freebsd-clang/freebsd-g++/' \ ${WRKSRC}/build/Makefile.qt_ui .endif do-configure: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./configure.py ${CONFIGURE_ARGS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/release/* ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/encryptpad.desktop \ ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/encryptpad.xml \ ${STAGEDIR}${PREFIX}/share/mime/packages .for sz in 16 32 128 256 512 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps ${INSTALL_DATA} ${WRKSRC}/images/icns.iconset/icon_${sz}x${sz}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps/encryptpad.png .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR} .include diff --git a/editors/featherpad/Makefile b/editors/featherpad/Makefile index 5d91c30937ab..47b211e0c756 100644 --- a/editors/featherpad/Makefile +++ b/editors/featherpad/Makefile @@ -1,26 +1,27 @@ # Created by: Olivier Duchateau PORTNAME= featherpad PORTVERSION= 0.18.0 DISTVERSIONPREFIX= V +PORTREVISION= 1 CATEGORIES= editors MAINTAINER= jsm@FreeBSD.org COMMENT= Lightweight Qt5 plain-text editor LICENSE= GPLv3 LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell USES= compiler:c++11-lang desktop-file-utils pkgconfig cmake qt:5 gl xorg USE_GITHUB= yes GH_ACCOUNT= tsujan GH_PROJECT= FeatherPad USE_QT= buildtools_build qmake_build core gui printsupport network \ svg widgets x11extras linguisttools USE_XORG= x11 sm ice xext USE_GL= gl .include diff --git a/editors/focuswriter/Makefile b/editors/focuswriter/Makefile index ad327a5c2b25..487cae77f958 100644 --- a/editors/focuswriter/Makefile +++ b/editors/focuswriter/Makefile @@ -1,41 +1,42 @@ # Created by: lightside PORTNAME= focuswriter DISTVERSIONPREFIX= v DISTVERSION= 1.7.6 +PORTREVISION= 1 CATEGORIES= editors MAINTAINER= ports@FreeBSD.org COMMENT= Simple, distraction-free writing environment LICENSE= GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/resources/images/icons/oxygen/COPYING LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell USES= compiler:c++11-lib desktop-file-utils gl pkgconfig qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= gottcode USE_GL= gl USE_QT= concurrent core gui multimedia network printsupport widgets \ buildtools_build linguisttools_build PORTDATA= * PORTDOCS= ChangeLog CREDITS README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/INSTALLS/s/man //' \ ${WRKSRC}/focuswriter.pro post-install: ${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 post-install-DOCS-on: cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/libreoffice6/Makefile b/editors/libreoffice6/Makefile index cc51d0a42f18..c46a79da0c5a 100644 --- a/editors/libreoffice6/Makefile +++ b/editors/libreoffice6/Makefile @@ -1,337 +1,337 @@ -PORTREVISION= 10 +PORTREVISION= 11 .include "${.CURDIR}/Makefile.common" MASTER_SITES= https://download.documentfoundation.org/libreoffice/src/${PORTVERSION}/ \ https://dev-www.libreoffice.org/src/:src \ https://dev-www.libreoffice.org/extern/:ext DISTFILES= ${PORTNAME}-${LOVERSION}${EXTRACT_SUFX} \ ${PORTNAME}-help-${LOVERSION}${EXTRACT_SUFX} DIST_SUBDIR= libreoffice EXTRACT_ONLY:= ${DISTFILES} PKGNAMESUFFIX= 6 COMMENT= Full integrated office productivity suite BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ zip:archivers/zip \ ${LOCALBASE}/include/sqlext.h:databases/unixODBC \ cppunit-config:devel/cppunit \ dmake:devel/dmake \ gperf>=3.1:devel/gperf \ ucpp:devel/ucpp \ ${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} \ flex>=0.26:textproc/flex LIB_DEPENDS= libapr-1.so:devel/apr1 \ libboost_date_time.so:devel/boost-libs \ libicutu.so:devel/icu \ liblangtag.so:devel/liblangtag \ libltdl.so:devel/libltdl \ 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 \ libfreehand-0.1.so:graphics/libfreehand \ libgltf-0.0.so:graphics/libgltf \ libwpg-0.3.so:graphics/libwpg03 \ libzmf-0.0.so:graphics/libzmf \ libpng.so:graphics/png \ libpoppler.so:graphics/poppler \ libqrcodegencpp.so:graphics/qr-code-generator \ liblpsolve55.so:math/lp_solve \ libcmis-0.5.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 \ 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 \ libfontconfig.so:x11-fonts/fontconfig \ libxcb-icccm.so:x11/xcb-util-wm \ libserf-1.so:www/serf 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+= 884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf:ext DISTFILES+= mdds-1.5.0.tar.bz2:src DISTFILES+= liborcus-0.15.3.tar.gz:src DISTFILES+= libetonyek-0.1.9.tar.xz: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 CONFLICTS_INSTALL= libreoffice INSTALL_TARGET= distro-pack-install WRKSRC= ${WRKDIR}/${PORTNAME}-${LOVERSION} SHEBANG_GLOB= *.py GNU_CONFIGURE= yes USE_GL= gl glew glu USE_GNOME= cairo glib20 libxml2 libxslt USE_OPENLDAP= yes USE_PERL5= build USE_XORG= ice sm x11 xaw xcb xext xinerama xrandr xrender USES= autoreconf:build bison compiler:c++14-lang cpe desktop-file-utils \ gettext-runtime gl gmake gnome jpeg mysql:client perl5 pkgconfig \ pkgconfig python shebangfix shared-mime-info ssl tar:xz xorg OPTIONS_DEFINE= COINMP CUPS DOCS GNOME GTK3 I18N JAVA KF5 MMEDIA PGSQL QT5 SDK TEST WEBDAV OPTIONS_DEFAULT= CUPS MMEDIA QT5 .if !defined(DEFAULT_VERSIONS) || ! ${DEFAULT_VERSIONS:Mssl=*} # Blocked by net/qt5-network: cannot use QT5 with default OpenSSL OPTIONS_EXCLUDE_FreeBSD_11+= QT5 .endif COINMP_DESC= Enable CoinMP (deprecated) math solver GTK3_DESC= GTK+ 3 GUI toolkit support (incomplete visual style) I18N_DESC= Build i18n resources JAVA_DESC= Add Java support (XML filters, macros, DB connections) KF5_DESC= KF5/Qt5 GUI toolkit support (implies QT5) MMEDIA_DESC= Enable multimedia backend for Impress PGSQL_DESC= Build with PostgreSQL-SDBC driver QT5_DESC= Qt5 GUI toolkit support (default 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_WITH= help 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,gtk-update-icon-cache GTK3_VARS= POST_PLIST=add-plist-gnome I18N_CONFIGURE_WITH= lang=ALL I18N_DISTFILES= ${PORTNAME}-dictionaries-${LOVERSION}${EXTRACT_SUFX} \ ${PORTNAME}-translations-${LOVERSION}${EXTRACT_SUFX} I18N_EXTRACT_ONLY= ${I18N_DISTFILES} 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 \ ${JAVAJARDIR}/bsh.jar:lang/bsh JAVA_CATEGORIES= java JAVA_CONFIGURE_ON= --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-beanshell-jar=${JAVAJARDIR}/bsh.jar \ --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 \ --without-system-jfreereport 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 \ 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.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_USE= JAVA=yes JAVA_VARS= JAVA_BUILD=yes KF5_CONFIGURE_ENABLE= kf5 KF5_USE= kde=config,coreaddons,i18n,kio,windowsystem KF5_USES= kde:5 KF5_IMPLIES= QT5 MMEDIA_CONFIGURE_ENABLE= gstreamer-1-0 MMEDIA_USE= GSTREAMER1=yes PGSQL_CONFIGURE_ENABLE= postgresql-sdbc PGSQL_CONFIGURE_WITH= gssapi krb5 PGSQL_USES= pgsql QT5_CONFIGURE_ENABLE= qt5 QT5_USE= qt=buildtools_build,core,gui,network,qmake_build,widgets,x11extras QT5_USES= qt:5 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_OFF= build-nocheck TEST_CONFIGURE_ENABLE= cve-tests WEBDAV_CONFIGURE_ENABLE= neon WEBDAV_LIB_DEPENDS= libneon.so:www/neon CPPFLAGS+= -isystem ${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib 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 \ --disable-pdfium \ --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-os-version=${OSVERSION} \ --with-parallelism=${MAKE_JOBS_NUMBER} \ --with-system-cppunit \ --with-system-curl \ --with-system-dicts \ --with-system-libs \ --with-system-libxml \ --with-system-ucpp \ --with-system-zlib \ --with-system-mdds=no \ --with-system-orcus=no \ --with-system-libetonyek=no \ --with-vendor="FreeBSD ports" \ --without-fonts \ --without-myspell-dicts CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \ FLEX=${LOCALBASE}/bin/flex \ 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`" \ ac_cv_path_SED=${LOCALBASE}/bin/gsed MAKE_ARGS+= TMPDIR=${WRKDIR} MAKE_ENV+= CXXFLAGS_WARN="${CXXFLAGS_WARN}" MAKE_ENV+= GNUSED=${LOCALBASE}/bin/gsed MAKE_ENV+= DISPLAY= MAKE_ENV+= verbose=1 .include .include .if ${PORT_OPTIONS:MGTK3} WARNING= "GTK3 visual style is incomplete yet, build at your own risk" .endif .if ${ARCH:Mpowerpc*} EXTRA_PATCHES+= ${FILESDIR}/powerpc64 .endif .if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS_WARN= -Woverloaded-virtual -Wno-unused-parameter -Wno-unused-local-typedefs .else CXXFLAGS_WARN= -Wshadow -Woverloaded-virtual .endif post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/shell/source/unix/exec/shellexec.cxx .if ${COMPILER_FEATURES:Mlibstdc++} ${REINPLACE_CMD} -e 's/gb_CC/gb_CXX/' ${WRKSRC}/solenv/gbuild/platform/unxgcc.mk .endif 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 man -not -type d >> ${TMPPLIST} .for subdir in appdata application-registry applications bash-completion icons mime mime-info @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} .endfor post-install-SDK-on: .for subdir in include share share/doc share/idl @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s ${subdir}/libreoffice -not -type d >> ${TMPPLIST} .endfor add-plist-gnome: .for subdir in gnome hicolor locolor @${ECHO_CMD} "@rmtry share/icons/${subdir}/icon-theme.cache" >> ${TMPPLIST} @${ECHO_CMD} "@postexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} .endfor .include diff --git a/editors/openoffice-4/Makefile b/editors/openoffice-4/Makefile index 6d670b1f9cbe..d08c46a4b4d8 100644 --- a/editors/openoffice-4/Makefile +++ b/editors/openoffice-4/Makefile @@ -1,508 +1,509 @@ # Created by: Martin Blapp PORTNAME= apache-openoffice PORTVERSION= ${AOOVERSION} +PORTREVISION= 1 CATEGORIES= editors java MASTER_SITES= APACHE/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 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 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 \ epm:devel/epm \ ${LOCALBASE}/bin/gperf:devel/gperf \ imake:devel/imake \ 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 \ libpng.so:graphics/png \ libgraphite.so:graphics/silgraphite \ libCoinMP.so:math/coinmp \ libfreetype.so:print/freetype2 \ 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 USES= autoreconf bison compiler:c++11-lib cpe desktop-file-utils \ gettext-runtime gl gmake gnome iconv jpeg perl5 pkgconfig \ shared-mime-info ssl tar:bzip2 xorg USE_GL= gl glu USE_GNOME= gtk20 libxslt libidl glib20 USE_JAVA= yes JAVA_BUILD= jdk JAVA_RUN= jdk 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= 10 # From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD AOOTAG= AOO4110m2\(Build:9807\) GITREVISION= b1cdbd2c1b EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3} AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3} AOOSUFFIX= ${PORTVERSION} 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} INSTALLS_ICONS= yes 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 .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 CONFIGURE_ARGS+= --with-system-boost --with-system-vigra BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs \ ${LOCALBASE}/bin/vigra-config:graphics/vigra . if ${ARCH} == amd64 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-align16 . endif .endif # These extra distfiles are needed to use the bundled versions of # boost and vigra for compatiblity with gcc. Also include them # for the makesum target so they are included in distinfo .if ${CHOSEN_COMPILER_TYPE} == gcc || make(makesum) || make(distclean) DISTFILES+= ${GCC_EXTRA_DISTFILES:C/.*/&:sf/g} .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} \ 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-epm=${LOCALBASE}/bin/epm \ --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} .if ${CHOSEN_COMPILER_TYPE} == gcc . for f in ${GCC_EXTRA_DISTFILES} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSUBDIR}/ext_sources/${f} . endfor .endif ${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 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/openoffice-devel/Makefile b/editors/openoffice-devel/Makefile index 69e236943eae..8f974f16ac59 100644 --- a/editors/openoffice-devel/Makefile +++ b/editors/openoffice-devel/Makefile @@ -1,515 +1,515 @@ # Created by: Martin Blapp PORTNAME= apache-openoffice PORTVERSION= ${AOOVERSION1}.${AOOVERSION2}.${TIMESTAMP} -PORTREVISION= 4 +PORTREVISION= 5 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 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) 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 BROKEN_powerpc64= fails to compile: aoo-4.2.0/main/solver/420/unxfbsdppc64.pro/inc/stl/vector:31:11: fatal error: boost/tr1/tr1/vector: No such file or directory 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 \ epm:devel/epm \ ${LOCALBASE}/bin/gperf:devel/gperf \ imake:devel/imake \ 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 \ libpng.so:graphics/png \ libgraphite.so:graphics/silgraphite \ libCoinMP.so:math/coinmp \ libfreetype.so:print/freetype2 \ 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 USES= autoreconf bison compiler:c++11-lib cpe desktop-file-utils \ gettext-runtime gl gmake gnome iconv jpeg perl5 pkgconfig \ python:3.7 shared-mime-info ssl tar:${TARTYPE} xorg USE_GL= gl glu USE_GNOME= gtk20 libxslt libidl glib20 USE_JAVA= yes JAVA_BUILD= jdk JAVA_RUN= jdk 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= AOO420m3\(Build:9822\) GITREVISION= 6aec515561 TIMESTAMP= 1619649022 #AOORC=rc3 EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3} AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3} .if defined(AOORC) AOOSUFFIX= ${AOOVERSION}-${AOORC} AOOSRC= apache-openoffice-${AOOVERSION}-${GITREVISION}-src${EXTRACT_SUFX} AOODISTTAG= TARTYPE= bzip2 .else AOOSUFFIX= ${PORTVERSION} 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} INSTALLS_ICONS= yes 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_USE= GSTREAMER1=yes MYSQL_CONFIGURE_ENABLE= mysql-connector MYSQL_CONFIGURE_WITH= system-mysql MYSQL_LIB_DEPENDS= libmysqlcppconn.so:databases/mysql-connector-c++ MYSQL_USES= mysql 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 .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 \ d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz .if ${CHOSEN_COMPILER_TYPE} == clang CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS+= --with-system-boost --with-system-vigra BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs \ ${LOCALBASE}/bin/vigra-config:graphics/vigra .endif # These extra distfiles are needed to use the bundled versions of # boost and vigra for compatiblity with gcc. Also include them # for the makesum target so they are included in distinfo .if ${CHOSEN_COMPILER_TYPE} == gcc || make(makesum) || make(distclean) DISTFILES+= ${GCC_EXTRA_DISTFILES:C/.*/&:sf/g} .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+= \ --enable-gio \ --disable-gnome-vfs \ --disable-gconf \ --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-epm=${LOCALBASE}/bin/epm \ --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} .if ${CHOSEN_COMPILER_TYPE} == gcc . for f in ${GCC_EXTRA_DISTFILES} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSUBDIR}/ext_sources/${f} . endfor .endif ${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} 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/tea/Makefile b/editors/tea/Makefile index 2b0868c68990..ed8427626103 100644 --- a/editors/tea/Makefile +++ b/editors/tea/Makefile @@ -1,46 +1,47 @@ # Created by: Jean-Yves Lefort PORTNAME= tea PORTVERSION= 60.1.0 +PORTREVISION= 1 CATEGORIES= editors MAINTAINER= danilo@FreeBSD.org COMMENT= Simple and powerful Qt-based text editor LICENSE= GPLv3 USES= compiler:c++11-lang gl gmake pkgconfig:build qmake qt:5 xorg OPTIONS_DEFINE= DOCS OPTIONS_GROUP= SPELL OPTIONS_GROUP_SPELL= ASPELL HUNSPELL OPTIONS_DEFAULT= ASPELL HUNSPELL USE_QT= buildtools_build core declarative gui network widgets printsupport USE_GL= gl USE_LOCALE= en_US.UTF-8 USE_GITHUB= yes GH_ACCOUNT= psemiletov GH_PROJECT= ${PORTNAME}-qt LDFLAGS+= -lz PLIST_FILES= bin/tea share/pixmaps/tea_icon_v2.png PORTDOCS= * DESKTOP_ENTRIES="TEA" "" "${PREFIX}/share/pixmaps/tea_icon_v2.png" \ "${PORTNAME}" "" "" ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell ASPELL_QMAKE_OFF= CONFIG+=noaspell HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell HUNSPELL_QMAKE_OFF= CONFIG+=nohunspell do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/tea ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/icons/tea_icon_v2.png ${STAGEDIR}${PREFIX}/share/pixmaps (cd ${WRKSRC}/manuals \ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/editors/texmaker/Makefile b/editors/texmaker/Makefile index 38dc53840fb4..dcf52e5115d5 100644 --- a/editors/texmaker/Makefile +++ b/editors/texmaker/Makefile @@ -1,29 +1,29 @@ # Created by: ijliao PORTNAME= texmaker PORTVERSION= 5.0.3 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= http://www.xm1math.net/texmaker/ MAINTAINER= hrs@FreeBSD.org COMMENT= LaTeX Development Environment LICENSE= GPLv2+ LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell USES= compiler:c++11-lang desktop-file-utils ghostscript:x11,run \ gl pkgconfig qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= concurrent core gui network printsupport script widgets \ xml buildtools_build USE_TEX= latex dvipsk EXTRACT_AFTER_ARGS= --exclude hunspell QMAKE_ARGS= ICONDIR=${PREFIX}/share/pixmaps \ DESKTOPDIR=${DESKTOPDIR} \ METAINFODIR=${PREFIX}/share/metainfo .include diff --git a/editors/texstudio/Makefile b/editors/texstudio/Makefile index f5f4ec9974d7..bddbb3edf157 100644 --- a/editors/texstudio/Makefile +++ b/editors/texstudio/Makefile @@ -1,44 +1,44 @@ PORTNAME= texstudio DISTVERSION= 3.1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors MAINTAINER= rigoletto@FreeBSD.org COMMENT= Integrated writing environment for LaTeX documents LICENSE= GPLv2 BROKEN_armv6= fails to compile: error: no member named mc_eip in __mcontext LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip1-qt5.so:archivers/quazip USES= compiler:c++11-lang desktop-file-utils dos2unix \ ghostscript:run gl pkgconfig qmake qt:5 xorg USE_QT = core gui network script svg widgets xml \ printsupport concurrent uitools buildtools_build QTVER_SUFFIX= 5 USE_XORG= x11 USE_GL= gl USE_TEX= latex dvipsk USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}-org DOS2UNIX_FILES= ${PORTNAME}.pro \ src/manhattanstyle.cpp \ src/pdfviewer/PDFDocument.h \ src/qcodeedit/lib/widgets/qfoldpanel.cpp QMAKE_ARGS+= USE_SYSTEM_HUNSPELL=true USE_SYSTEM_QUAZIP=true post-patch: @${REINPLACE_CMD} -e 's,^\(utilities.path =\).*,\1 ${DATADIR},' \ -e 's,/usr/include,${LOCALBASE}/include,g' \ -e 's,/usr/lib,${LOCALBASE}/lib,g' \ -e '/appdata.path/s,\/usr,${PREFIX},' \ ${WRKSRC}/${PORTNAME}.pro .include diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile index 17a472a353b7..a4fa96c019e0 100644 --- a/editors/vscode/Makefile +++ b/editors/vscode/Makefile @@ -1,276 +1,277 @@ PORTNAME= vscode DISTVERSION= 1.56.2 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= https://registry.npmjs.org/esbuild-freebsd-64/-/:esbuild_binary \ https://nodejs.org/dist/v${NODE_VER}/:node_headers \ https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:yarn_cache DISTFILES= esbuild-freebsd-64-${ESBUILD_VER_BUILD}.tgz:esbuild_binary \ esbuild-freebsd-64-${ESBUILD_VER_EXTENSIONS}.tgz:esbuild_binary \ node-v${NODE_VER}-headers${EXTRACT_SUFX}:node_headers \ yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache \ vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX}:yarn_cache DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \ node-v${NODE_VER}-headers${EXTRACT_SUFX} \ yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX} \ vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= tagattie@FreeBSD.org COMMENT= Visual Studio Code - Open Source ("Code - OSS") LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt DEPRECATED= Uses EOL Python 2.7 via devel/electron12 EXPIRATION_DATE=2021-06-23 ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= zip:archivers/zip \ electron${ELECTRON_VER_MAJOR}:devel/electron${ELECTRON_VER_MAJOR} \ rg:textproc/ripgrep \ npm-node${NODE_VER_MAJOR}>0:www/npm-node${NODE_VER_MAJOR} \ yarn-node${NODE_VER_MAJOR}>0:www/yarn-node${NODE_VER_MAJOR} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libatspi.so:accessibility/at-spi2-core \ libsnappy.so:archivers/snappy \ libasound.so:audio/alsa-lib \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libdbus-1.so:devel/dbus \ libinotify.so:devel/libinotify \ 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 \ libwebp.so:graphics/webp \ libavcodec.so:multimedia/ffmpeg \ libvpx.so:multimedia/libvpx \ libopenh264.so:multimedia/openh264 \ 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= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ 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 jpeg pkgconfig \ python:build shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= microsoft SOURCE_COMMIT_HASH= 054a9295330880ed74ceaedda236253b4f39a335 BINARY_ALIAS= python=${PYTHON_CMD} USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xtst USE_GL= gl glesv2 USE_GNOME= atk cairo pango gdkpixbuf2 gtk30 libxml2 libxslt USE_LDCONFIG= ${DATADIR} # See ${WRKSRC}/remote/.yarnrc for NODE_VER NODE_VER= 14.16.0 NODE_VER_MAJOR= ${NODE_VER:C/\..*$//} # See ${WRKSRC}/build/package.json for ESBUILD_VER_BUILD ESBUILD_VER_BUILD= 0.8.30 # See ${WRKSRC}/extensions/package.json for ESBUILD_VER_EXTENSIONS ESBUILD_VER_EXTENSIONS= 0.11.12 SHEBANG_REGEX= ./(extensions|resources|scripts|src)/.*\.sh$$ PATHFIX_FILES= src/vs/workbench/contrib/debug/node/terminals.ts DATADIR= ${PREFIX}/share/code-oss TMPDIR= ${WRKDIR} MAKE_ENV+= BUILD_SOURCEVERSION=${SOURCE_COMMIT_HASH} \ XDG_CACHE_HOME=${WRKDIR}/.cache # 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 ELECTRON_DIR= ${.CURDIR}/../../devel/electron12 .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} 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}=4096" @${ECHO_MSG} "" post-extract: # setup download cache for esbuild binary ${MKDIR} ${WRKDIR}/.cache/esbuild/bin ${MKDIR} ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_BUILD} ${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/esbuild-freebsd-64-${ESBUILD_VER_BUILD}.tgz \ -C ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_BUILD} ${MV} ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_BUILD}/package/bin/esbuild \ ${WRKDIR}/.cache/esbuild/bin/esbuild-freebsd-64@${ESBUILD_VER_BUILD} ${MKDIR} ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_EXTENSIONS} ${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/esbuild-freebsd-64-${ESBUILD_VER_EXTENSIONS}.tgz \ -C ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_EXTENSIONS} ${MV} ${WRKDIR}/esbuild-freebsd-64-${ESBUILD_VER_EXTENSIONS}/package/bin/esbuild \ ${WRKDIR}/.cache/esbuild/bin/esbuild-freebsd-64@${ESBUILD_VER_EXTENSIONS} post-patch: # force use of electron version matching port one ${REINPLACE_CMD} -E 's|^(target ").*(")$$|\1${ELECTRON_VER}\2|' \ ${WRKSRC}/.yarnrc # setup yarnrc for using local node headers ${ECHO_CMD} 'nodedir "${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers"' >> \ ${WRKSRC}/.yarnrc ${ECHO_CMD} 'nodedir "${WRKDIR}/node-v${NODE_VER}"' >> \ ${WRKSRC}/remote/.yarnrc # setup yarnrc for offline node_modules installation ${ECHO_CMD} 'yarn-offline-mirror "../yarn-offline-cache"' >> \ ${WRKSRC}/.yarnrc (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: # # install node_modules without executing post-installation scripts # cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ # yarn --frozen-lockfile --ignore-scripts --offline # # copy rg binary files to vscode-ripgrep module directory # ${MKDIR} ${WRKSRC}/node_modules/vscode-ripgrep/bin # ${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/node_modules/vscode-ripgrep/bin # ${MKDIR} ${WRKSRC}/remote/node_modules/vscode-ripgrep/bin # ${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/remote/node_modules/vscode-ripgrep/bin # install node_modules cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ yarn --frozen-lockfile --offline # copy rg binary files to vscode-ripgrep module directory ${MKDIR} ${WRKSRC}/node_modules/vscode-ripgrep/bin ${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/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-x64.zip . cd ${WRKDIR}/.cache/electron/${ELECTRON_DOWNLOAD_URL_HASH} && \ ${SHA256} -r *-v${ELECTRON_VER}-linux-*.zip | \ ${SED} -e 's/ / */' > SHASUMS256.txt # build and package vscode cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} yarn gulp vscode-linux-x64-min cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} yarn gulp vscode-reh-linux-x64-min cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} yarn gulp vscode-reh-web-linux-x64-min # copy marketplace extensions ${MV} ${WRKDIR}/builtInExtensions/* ${WRKDIR}/VSCode-linux-x64/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} cd ${WRKDIR}/VSCode-linux-x64 && \ ${TAR} -cf - . | ${TAR} -xf - -C ${STAGEDIR}${DATADIR} cd ${STAGEDIR}${DATADIR}/resources/app/node_modules.asar.unpacked && \ ${FIND} . -type f -name '*.node' -exec ${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 cd ${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} && \ ${TAR} -cf - . | ${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 || ${TRUE} # UI smoke tests cd ${WRKSRC} && ${SETENV} ${TEST_ENV} yarn smoketest ### targets for port maintainer(s) make-yarn-cache: # do "make configure" before executing this target ${RM} -r ${WRKDIR}/yarn-offline-cache cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ yarn --frozen-lockfile --ignore-scripts cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ yarn postinstall --frozen-lockfile cd ${WRKDIR} && ${TAR} -czf \ yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX} yarn-offline-cache make-marketplace-exts: ${RM} -r ${WRKSRC}/.build/builtInExtensions cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ yarn download-builtin-extensions && \ cd ${WRKSRC}/.build && ${TAR} -czf \ ${WRKDIR}/vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX} builtInExtensions .include diff --git a/emulators/aranym/Makefile b/emulators/aranym/Makefile index 195d3f1e937f..f98a66b43e1d 100644 --- a/emulators/aranym/Makefile +++ b/emulators/aranym/Makefile @@ -1,29 +1,30 @@ PORTNAME= aranym DISTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}/ DISTNAME= ${PORTNAME}_${DISTVERSION}.orig MAINTAINER= yuri@FreeBSD.org COMMENT= Atari Running on Any Machine LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= openjpeg>0:graphics/openjpeg \ sdl-config:devel/sdl12 RUN_DEPENDS= bash:shells/bash USES= gmake perl5 pkgconfig gl localbase:ldflags sdl shebangfix xorg USE_GL= gl USE_SDL= sdl2 image2 USE_XORG= x11 SHEBANG_FILES= tools/arabridge GNU_CONFIGURE= yes CONFIGURE_ARGS= -disable-nat-debug --disable-nat-debug --enable-nfjpeg WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} .include diff --git a/emulators/cannonball/Makefile b/emulators/cannonball/Makefile index 3078725872fc..30aace10d71a 100644 --- a/emulators/cannonball/Makefile +++ b/emulators/cannonball/Makefile @@ -1,43 +1,44 @@ PORTNAME= cannonball DISTVERSION= 0.34 DISTVERSIONPREFIX=v +PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= fox@FreeBSD.org COMMENT= Enhanced OutRun Engine LICENSE= MAME-LICENSE LICENSE_NAME= MAME license LICENSE_FILE= ${WRKSRC}/docs/license.txt LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept BUILD_DEPENDS= ${LOCALBASE}/include/boost/exception/all.hpp:devel/boost-libs USES= cmake:insource gl pkgconfig sdl USE_SDL= sdl2 USE_GL= gl glu CMAKE_ARGS+= ${WRKSRC}/cmake \ -DTARGET=linux.cmake CFLAGS+= -I${LOCALBASE}/include USE_GITHUB= yes GH_ACCOUNT= djyt BUILD_WRKSRC= ${WRKSRC}/cmake CONFIGURE_WRKSRC= ${WRKSRC}/cmake SUB_FILES= ${PORTNAME}.sh do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/res ${MKDIR} ${STAGEDIR}${DATADIR}/conf ${INSTALL_DATA} ${WRKSRC}/cmake/res/tilemap.bin ${STAGEDIR}${DATADIR}/res/tilemap.bin ${INSTALL_DATA} ${WRKSRC}/cmake/res/tilepatch.bin ${STAGEDIR}${DATADIR}/res/tilepatch.bin ${INSTALL_DATA} ${WRKSRC}/cmake/config.xml ${STAGEDIR}${DATADIR}/conf/config.xml ${INSTALL_MAN} ${WRKSRC}/docs/cannonball.6 ${STAGEDIR}${MAN1PREFIX}/man/man6 ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/cmake/cannonball ${STAGEDIR}${PREFIX}/libexec .include diff --git a/emulators/cemu/Makefile b/emulators/cemu/Makefile index 0e4b7f7e62b1..30ce5dfc3ff7 100644 --- a/emulators/cemu/Makefile +++ b/emulators/cemu/Makefile @@ -1,42 +1,43 @@ # Created by: Alexey Dokuchaev PORTNAME= cemu PORTVERSION= 1.3 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= danfe@FreeBSD.org COMMENT= TI-84 Plus CE and TI-83 Premium CE calculator emulator LICENSE= GPLv3 LIB_DEPENDS= libpng.so:graphics/png USES= compiler:c++11-lang desktop-file-utils gl libarchive pkgconfig \ qmake qt:5 shared-mime-info USE_GL= gl USE_QT= buildtools_build core gui network widgets USE_GITHUB= yes GH_ACCOUNT= CE-Programming GH_PROJECT= CEmu GH_TUPLE= CE-Programming:zdis:7eb89e5:zdis/core/debug/zdis QMAKE_SOURCE_PATH= gui/qt/CEmu.pro _ICON_PREFIX= ${PREFIX}/share/icons/hicolor post-install: ${LN} -s CEmu ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/gui/qt/resources/linux/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/gui/qt/resources/linux/${PORTNAME}.xml \ ${STAGEDIR}${PREFIX}/share/mime/packages .for n in 16 20 22 24 32 36 40 42 48 64 72 96 128 160 192 256 512 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps ${INSTALL_DATA} \ ${WRKSRC}/gui/qt/resources/icons/linux/${PORTNAME}-${n}x${n}.png \ ${STAGEDIR}${_ICON_PREFIX}/${n}x${n}/apps/${PORTNAME}.png .endfor .include diff --git a/emulators/dgen-sdl/Makefile b/emulators/dgen-sdl/Makefile index a3ac441db944..2643d7bcac32 100644 --- a/emulators/dgen-sdl/Makefile +++ b/emulators/dgen-sdl/Makefile @@ -1,37 +1,37 @@ # Created by: Maxim Sobolev PORTNAME= dgen-sdl PORTVERSION= 1.33 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= emulators MASTER_SITES= SF/dgen/dgen/${PORTVERSION} MAINTAINER= ak@FreeBSD.org COMMENT= Wonderful Sega Genesis/MegaDrive emulator USE_SDL= sdl USE_GL= glu USES= gl gmake libarchive sdl GNU_CONFIGURE= yes PLIST_FILES= bin/dgen \ bin/dgen_tobin \ man/man1/dgen.1.gz \ man/man1/dgen_tobin.1.gz \ man/man5/dgenrc.5.gz .include .if ${ARCH} == i386 BUILD_DEPENDS+= nasm:devel/nasm .else CONFIGURE_ARGS+= --disable-asm .endif post-patch: @${REINPLACE_CMD} -e '/@NASM@/s/--//' \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/mz80/Makefile.in \ ${WRKSRC}/star/Makefile.in .include diff --git a/emulators/dolphin-emu/Makefile b/emulators/dolphin-emu/Makefile index 6571dd4bf559..4150adc595ee 100644 --- a/emulators/dolphin-emu/Makefile +++ b/emulators/dolphin-emu/Makefile @@ -1,87 +1,88 @@ # Created by: Ganael Laplanche PORTNAME= dolphin-emu PORTVERSION= 5.0.12716 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Gamecube and Wii Emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/license.txt # Notes on dependencies: # - alsa support has been disabled (not optimal) # - enet and soundtouch come from Externals/ as Dolphin's versions diverge # (see comments in CMakeLists.txt) # Various problems that may be addressed in the future: # - xxhash comes from Externals/ as it cannot be properly detected yet # - minizip comes from Externals/ as v>=2.0.0 is not available from ports yet # - freesurround comes from Externals/ as it is not available from ports yet # - cubeb comes from Externals/ as it is not available from ports yet # - gtest detection is missing (Externals/ version enforced by CMakeLists.txt) LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libavcodec.so:multimedia/ffmpeg \ libavdevice.so:multimedia/ffmpeg \ libavfilter.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswresample.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libpugixml.so:textproc/pugixml \ liblzo2.so:archivers/lzo2 \ libpng.so:graphics/png \ libjack.so:audio/jack \ libsndio.so:audio/sndio \ libsfml-system.so:devel/sfml \ libminiupnpc.so:net/miniupnpc \ libmbedtls.so:security/mbedtls \ libcurl.so:ftp/curl \ libhidapi.so:comms/hidapi \ libzstd.so:archivers/zstd \ libfmt.so:devel/libfmt USES= cmake compiler:c++17-lang desktop-file-utils gl iconv \ pkgconfig qmake qt:5 sdl xorg # See: https://fr.dolphin-emu.org/download/?ref=btn # for latest beta version and associated commit USE_GITHUB= yes GH_PROJECT= dolphin GH_TAGNAME= 3152428 USE_GL= gl glew glu USE_SDL= sdl2 USE_XORG= ice sm x11 xext xi xrandr USE_QT= buildtools_build core gui widgets CMAKE_ARGS+= -DUSE_UPNP:BOOL=ON \ -DENABLE_QT:BOOL=ON \ -DENABLE_ALSA:BOOL=OFF \ -DENABLE_PULSEAUDIO:BOOL=ON \ -DUSE_DISCORD_PRESENCE:BOOL=OFF \ -DCMAKE_REQUIRED_INCLUDES:PATH="${LOCALBASE}/include" \ -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" MAKE_ENV+= DESTDIR="${STAGEDIR}" # XXX Fix build on archs where 'unsigned long' is 32bit CXXFLAGS+= -DLZO_CFG_PREFER_TYPEOF_ACC_INT32E_T=LZO_TYPEOF_INT # XXX Bypass git check (and set a dummy -unused- revision) CMAKE_ARGS+= -DDOLPHIN_WC_BRANCH:STRING="stable" \ -DDOLPHIN_WC_REVISION:STRING="1" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_ON= -DDISABLE_NLS:BOOL=OFF NLS_CMAKE_OFF= -DDISABLE_NLS:BOOL=ON .include # JIT-enabled binaries are amd64 and aarch64 only .if ${ARCH} != "amd64" && ${ARCH} != "aarch64" CMAKE_ARGS+= -DENABLE_GENERIC:BOOL=ON .endif .include diff --git a/emulators/dosbox-staging/Makefile b/emulators/dosbox-staging/Makefile index 70f59df30259..2ea691175cb6 100644 --- a/emulators/dosbox-staging/Makefile +++ b/emulators/dosbox-staging/Makefile @@ -1,53 +1,54 @@ PORTNAME= dosbox-staging DISTVERSIONPREFIX= v DISTVERSION= 0.76.0 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= makc@FreeBSD.org COMMENT= DOS/x86 emulator based on DOSBox LICENSE= GPLv2 LIB_DEPENDS= libopusfile.so:audio/opusfile \ libpng.so:graphics/png USES= autoreconf compiler:c++14-lang gl pkgconfig sdl USE_GL= gl USE_SDL= sdl2 net2 USE_GITHUB= yes GNU_CONFIGURE= yes LDFLAGS+= -pthread OPTIONS_DEFINE= ALSA DOCS FLUIDSYNTH OPTIONS_DEFAULT= FLUIDSYNTH ALSA_DESC= ALSA midi support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa-midi FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUIDSYNTH_CONFIGURE_ENABLE= fluidsynth PORTDOCS= NEWS README README.md post-patch: @${REINPLACE_CMD} 's,/usr/share/doc/dosbox-staging,${DOCSDIR},' \ ${WRKSRC}/docs/dosbox.1 @${REINPLACE_CMD} '/^Exec/s,dosbox,dosbox-staging,' \ ${WRKSRC}/contrib/linux/dosbox-staging.desktop do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${STAGEDIR}${PREFIX}/bin/dosbox-staging ${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${STAGEDIR}${PREFIX}/share/man/man1/dosbox-staging.1 @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/contrib/linux/dosbox-staging.desktop ${STAGEDIR}${DESKTOPDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/contrib/icons/dosbox-staging.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/emu64/Makefile b/emulators/emu64/Makefile index 0ab14a2eee51..787e5ee77d98 100644 --- a/emulators/emu64/Makefile +++ b/emulators/emu64/Makefile @@ -1,32 +1,32 @@ # Created by: Felix Palmen PORTNAME= emu64 PORTVERSION= 5.0.18 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= emulators MAINTAINER= felix@palmen-it.de COMMENT= Commodore 64 emulator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libquazip1-qt5.so:archivers/quazip \ libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg USES= compiler:c++11-lang desktop-file-utils dos2unix gl pkgconfig \ qmake:outsource qt:5 sdl USE_GL= gl glu USE_QT= core gui widgets buildtools_build linguisttools_build DOS2UNIX_FILES= src/c64_class.cpp \ src/widget_file_browse.h USE_SDL= sdl2 image2 USE_GITHUB= yes GH_ACCOUNT= ThKattanek OPTIONS_DEFINE= DOCS .include diff --git a/emulators/emulationstation/Makefile b/emulators/emulationstation/Makefile index 892e07b403d0..c1fc8373cd2d 100644 --- a/emulators/emulationstation/Makefile +++ b/emulators/emulationstation/Makefile @@ -1,55 +1,56 @@ PORTNAME= emulationstation DISTVERSIONPREFIX= v DISTVERSION= 2.9.4 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= freebsd@coombscloud.com COMMENT= Graphical front-end for emulators (RetroPie fork) LICENSE= APACHE20 MIT LICENSE_COMB= multi LICENSE_FILE_APACHE20= ${WRKSRC}/opensans_license.txt LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${LOCALBASE}/include/rapidjson/document.h:devel/rapidjson LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libboost_filesystem.so:devel/boost-libs \ libboost_locale.so:devel/boost-libs \ libboost_system.so:devel/boost-libs \ libcurl.so:ftp/curl \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libpugixml.so:textproc/pugixml \ libvlc.so:multimedia/vlc USES= cmake compiler:gcc-c++11-lib gl pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= RetroPie GH_PROJECT= EmulationStation USE_GL= gl glu USE_SDL= sdl2 PORTDOCS= CREDITS.md DEVNOTES.md GAMELISTS.md README.md SYSTEMS.md \ THEMES.md OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|||g' \ ${WRKSRC}/es-app/src/CollectionSystemManager.cpp \ ${WRKSRC}/es-app/src/Gamelist.cpp \ ${WRKSRC}/es-app/src/MetaData.cpp \ ${WRKSRC}/es-app/src/SystemData.cpp \ ${WRKSRC}/es-app/src/scrapers/GamesDBJSONScraper.cpp \ ${WRKSRC}/es-app/src/scrapers/ScreenScraper.cpp \ ${WRKSRC}/es-core/src/InputConfig.cpp \ ${WRKSRC}/es-core/src/InputManager.cpp \ ${WRKSRC}/es-core/src/MameNames.cpp \ ${WRKSRC}/es-core/src/Settings.cpp \ ${WRKSRC}/es-core/src/ThemeData.cpp post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/fs-uae/Makefile b/emulators/fs-uae/Makefile index 9497ded3b9ca..f0af4c559172 100644 --- a/emulators/fs-uae/Makefile +++ b/emulators/fs-uae/Makefile @@ -1,55 +1,55 @@ # Created by: Danilo Egea Gondolfo PORTNAME= fs-uae PORTVERSION= 3.0.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://fs-uae.net/stable/${PORTVERSION}/ MAINTAINER= sirdice@gmail.com COMMENT= Amiga emulator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2 \ libopenal.so:audio/openal-soft \ libpng.so:graphics/png USES= compiler:c11 desktop-file-utils gettext gl gmake gnome \ localbase pkgconfig sdl shared-mime-info xorg USE_SDL= sdl2 USE_GL= gl USE_GNOME= glib20 USE_XORG= x11 INSTALLS_ICONS= yes GNU_CONFIGURE= yes CFLAGS+= -Wno-c++11-narrowing LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= DOCS DEBUG OPTIONS_DEFINE_i386= JIT OPTIONS_DEFINE_amd64= JIT JIT_DESC= Enable JIT compiler (experimental) JIT_CONFIGURE_ENABLE= jit .include # JIT is not supported on non-x86 make sure it's off .if ${ARCH} != amd64 && ${ARCH} != i386 CONFIGURE_ARGS+= --disable-jit .endif post-patch: @${REINPLACE_CMD} -e 's|= bind|= ::bind|' \ ${WRKSRC}/src/od-fs/bsdsocket_posix.cpp \ ${WRKSRC}/src/support/socket.cpp @${REINPLACE_CMD} -e 's|return NULL|return 0|' \ ${WRKSRC}/src/memory.cpp .include diff --git a/emulators/gens/Makefile b/emulators/gens/Makefile index 2847137bb407..b2bc739f2809 100644 --- a/emulators/gens/Makefile +++ b/emulators/gens/Makefile @@ -1,41 +1,41 @@ # Created by: Travis Poppe PORTNAME= gens PORTVERSION= 2.15.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/Gens%20Source%20Code/Gens%20${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Sega Genesis/CD/32X emulator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= nasm:devel/nasm ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= uses i386 assembly code USES= gl gmake gnome localbase pkgconfig sdl USE_GNOME= gtk20 USE_GL= gl USE_SDL= sdl GNU_CONFIGURE= yes DESKTOP_ENTRIES="Gens" "" "${DATADIR}/gens_small.png" "${PORTNAME}" "" "" OPTIONS_DEFINE= DOCS post-patch: .for i in gens_core/sound/ym2612.h mp3_dec/mpg123.h @${REINPLACE_CMD} -e \ 's|\(^#define INLINE\).*|\1 static inline|' \ ${WRKSRC}/src/gens/${i} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/gngeo/Makefile b/emulators/gngeo/Makefile index 4629520d503e..53e330197399 100644 --- a/emulators/gngeo/Makefile +++ b/emulators/gngeo/Makefile @@ -1,91 +1,91 @@ # Created by: Alejandro Pulver PORTNAME= gngeo PORTVERSION= 0.8 DISTVERSIONPREFIX= ${PORTNAME}_ -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= emulators MASTER_SITES= LOCAL/acm/${PORTNAME} MAINTAINER= acm@FreeBSD.org COMMENT= NeoGeo emulator LICENSE= GPLv2 BROKEN_FreeBSD_13= ld: error: duplicate symbol: current_fix BROKEN_FreeBSD_14= ld: error: duplicate symbol: current_fix BROKEN_i386= unknown argument: '-frerun-loop-opt' USES= autoreconf compiler:features gl gmake sdl USE_SDL= image sdl USE_GL= yes USE_GITHUB= yes GH_ACCOUNT= pepone42 GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-transform-name="" --disable-gp2x MAKE_JOBS_UNSAFE= yes CPPFLAGS+= ${CFLAGS} `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib USE_CSTD= gnu89 MAKE_ARGS+= CC_FOR_BUILD=${CC} SUB_FILES= pkg-message OPTIONS_DEFINE_i386= ASM RAZE STAR OPTIONS_DEFAULT_i386= ASM RAZE_DESC= Use Raze as z80 emulator (broken) STAR_DESC= Use Starscream as 68k emulator (broken) .include .if ${PORT_OPTIONS:MI386ASM} || ${PORT_OPTIONS:MRAZE} || \ ${PORT_OPTIONS:MSTAR} BUILD_DEPENDS+= nasm:devel/nasm .endif .if ${PORT_OPTIONS:MI386ASM} CONFIGURE_ARGS+= --enable-i386asm .else CONFIGURE_ARGS+= --disable-i386asm .endif .if ${PORT_OPTIONS:MRAZE} CONFIGURE_ARGS+= --with-z80core=raze BROKEN= fails to link .else CONFIGURE_ARGS+= --with-z80core=mamez80 .endif .if ${PORT_OPTIONS:MSTAR} CONFIGURE_ARGS+= --with-m68kcore=starscream BROKEN= fails to link .else CONFIGURE_ARGS+= --with-m68kcore=gen68k .endif post-patch: @${REINPLACE_CMD} -e 's|x86_64|amd64|' ${WRKSRC}/configure .if ${COMPILER_TYPE} == "clang" @${REINPLACE_CMD} -e 's|-frerun-loop-opt||; \ s|-falign-jumps=2||; s|-falign-loops=2||; \ s|-fschedule-insns2||; s|-malign-double||; \ s|-frerun-loop-opt||; s|-O3||' \ ${WRKSRC}/configure .endif @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \ ${WRKSRC}/src/generator68k/Makefile.in pre-configure: @cd ${WRKSRC} && ${AUTORECONF} -i post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/sample_gngeorc ${STAGEDIR}${EXAMPLESDIR}/gngeorc ${INSTALL_DATA} ${WRKSRC}/romrc ${STAGEDIR}${DATADIR}/romrc ${INSTALL_DATA} ${WRKSRC}/gngeo.dat/gngeo_data.zip ${STAGEDIR}${DATADIR}/gngeo_data.zip .include diff --git a/emulators/higan/Makefile b/emulators/higan/Makefile index ef67c45fe8d3..f7364ee0b356 100644 --- a/emulators/higan/Makefile +++ b/emulators/higan/Makefile @@ -1,100 +1,100 @@ # Created by: elbarto PORTNAME= higan PORTVERSION= 106 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= emulators games MASTER_SITES= http://download.byuu.org/ \ http://www.cyberbotx.com/higan/ DISTNAME= ${PORTNAME}_v${PORTVERSION}-source MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Nintendo multi-system emulator ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= 7z:p7zip compiler:c++14-lang gettext gmake gnome pkgconfig xorg USE_GNOME= cairo gdkpixbuf2 gtk20 gtksourceview2 USE_XORG= x11 xext USE_CSTD= c99 USE_CXXSTD= c++14 USE_GCC= yes MAKEFILE= GNUmakefile MAKE_ENV= compiler="${CXX}" hiro="gtk" OPTIONS_DEFINE= DEBUG OPTIONS_MULTI= VIDEO SOUND INPUT OPTIONS_MULTI_VIDEO= GLX SDL XSHM XV OPTIONS_MULTI_SOUND= AO OPENAL OSS PULSEAUDIO OPTIONS_MULTI_INPUT= INPUT_SDL INPUT_X OPTIONS_DEFAULT= GLX XSHM XV SDL \ OSS INPUT_SDL INPUT_X XSHM_DESC= Build XShm video driver XV_DESC= Build Xv video driver INPUT_SDL_DESC= Build SDL input driver INPUT_X_DESC= Build X input driver GLX_USES= gl GLX_USE= GL=gl GLX_VARS= VIDEO_DRIVER+=video.glx SDL_USES= sdl SDL_USE= XORG=xv SDL=sdl SDL_VARS= VIDEO_DRIVER+=video.sdl XSHM_USE= XORG=xext XSHM_VARS= VIDEO_DRIVER+=video.xshm XV_USE= XORG=xv XV_VARS= VIDEO_DRIVER+=video.xvideo AO_LIB_DEPENDS= libao.so:audio/libao AO_VARS= AUDIO_DRIVER+=audio.ao OPENAL_USES= openal:al OPENAL_VARS= AUDIO_DRIVER+=audio.openal OSS_VARS= AUDIO_DRIVER+=audio.oss PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= AUDIO_DRIVER+=audio.pulseaudio INPUT_SDL_USES= sdl INPUT_SDL_USE= SDL=sdl INPUT_SDL_VARS= INPUT_DRIVER+=input.sdl INPUT_X_VARS= INPUT_DRIVER+=input.xlib post-patch: ${REINPLACE_CMD} \ -e 's|%%VIDEO%%|${VIDEO_DRIVER}|' \ -e 's|%%AUDIO%%|${AUDIO_DRIVER}|' \ -e 's|%%INPUT%%|${INPUT_DRIVER}|' \ ${WRKSRC}/higan/target-tomoko/GNUmakefile ${REINPLACE_CMD} -e 's|/usr/share/|${PREFIX}/share/|' \ ${WRKSRC}/nall/path.hpp post-patch-DEBUG-on: ${REINPLACE_CMD} -e 's|-O3|-g|g' \ ${WRKSRC}/higan/GNUmakefile \ ${WRKSRC}/icarus/GNUmakefile do-build: .for d in higan icarus @${DO_MAKE_BUILD} ${ALL_TARGET} -C${WRKSRC}/${d} .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/higan/out/higan ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/icarus/out/icarus ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/higan/data/higan.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/higan/data/higan.desktop ${STAGEDIR}${PREFIX}/share/applications/ (cd ${WRKSRC}/higan/systems && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/) (cd ${WRKSRC}/icarus/Database && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icarus/Database/) .include diff --git a/emulators/libretro-ppsspp/Makefile b/emulators/libretro-ppsspp/Makefile index 59effea19ca9..f4ad77bc1aa2 100644 --- a/emulators/libretro-ppsspp/Makefile +++ b/emulators/libretro-ppsspp/Makefile @@ -1,9 +1,9 @@ -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMEPREFIX= libretro- MASTERDIR= ${.CURDIR}/../ppsspp OPTIONS_SLAVE= LIBRETRO OPTIONS_EXCLUDE=${OPTIONS_DEFINE} .include "${MASTERDIR}/Makefile" diff --git a/emulators/magia/Makefile b/emulators/magia/Makefile index f13c9f59e988..47a9a5d9a002 100644 --- a/emulators/magia/Makefile +++ b/emulators/magia/Makefile @@ -1,34 +1,35 @@ PORTNAME= magia DISTVERSIONPREFIX= v DISTVERSION= 0.2.0 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= nc@FreeBSD.org COMMENT= GBA emulator written in golang LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libglfw.so:graphics/glfw USES= gl go:modules openal pkgconfig USE_GITHUB= yes GH_ACCOUNT= pokemium GH_TUPLE= anthonynsimon:bild:v0.13.0:anthonynsimon_bild/vendor/github.com/anthonynsimon/bild \ go-gl:glfw:5321531c36a2:go_gl_glfw_glfw/vendor/github.com/go-gl/glfw \ golang:exp:ec7cb31e5a56:golang_exp/vendor/golang.org/x/exp \ golang:image:e162460cd6b5:golang_image/vendor/golang.org/x/image \ golang:mobile:f462b3930c8f:golang_mobile/vendor/golang.org/x/mobile \ golang:sys:dfb3f7c4e634:golang_sys/vendor/golang.org/x/sys \ hajimehoshi:ebiten:v2.0.8:hajimehoshi_ebiten_v2/vendor/github.com/hajimehoshi/ebiten/v2 \ hajimehoshi:oto:v0.7.1:hajimehoshi_oto/vendor/github.com/hajimehoshi/oto USE_GL= glu GO_TARGET= ./cmd:${PORTNAME} PLIST_FILES= bin/${PORTNAME} .include diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile index aef9fbc2079f..5a396743b16a 100644 --- a/emulators/mame/Makefile +++ b/emulators/mame/Makefile @@ -1,127 +1,128 @@ # Created by: alepulver PORTNAME?= mame PORTVERSION= 0.226 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= manu@FreeBSD.org COMMENT= Multi Arcade Machine Emulator LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 armv7 i386 powerpc powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= not yet ported to any arch other than armv7, x86 and powerpc* LIB_DEPENDS= libFLAC.so:audio/flac \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpugixml.so:textproc/pugixml RUN_DEPENDS= liberation-fonts-ttf>=0:x11-fonts/liberation-fonts-ttf USES= compiler:c++14-lang gl gmake jpeg localbase pkgconfig \ python:3.7,build qt:5 sdl shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= mamedev GH_PROJECT= mame # explicit (master port) GH_TAGNAME= mame${PORTVERSION:S/.//} USE_GL= gl USE_QT= buildtools core gui qmake_build widgets USE_SDL= sdl2 ttf2 USE_XORG= x11 xext xi xinerama xrender SHEBANG_FILES= src/devices/cpu/m6502/m6502make.py \ src/devices/cpu/m6809/m6809make.py \ src/devices/cpu/mcs96/mcs96make.py \ src/devices/cpu/tms57002/tmsmake.py MAKEFILE= makefile MAKE_ARGS= TARGETOS=freebsd VERBOSE=1 TOOLS=1 USE_SYSTEM_LIB_PUGIXML=1 MAKE_ENV= NOWERROR=1 USE_NETWORK=1 \ LD="${CXX}" PYTHON="${PYTHON_CMD}" \ OPT_FLAGS="${CXXFLAGS}" GCC_LDFLAGS="${LDFLAGS}" \ TARGET="${MTARGET}" SUBTARGET="${MSUBTARGET}" FULLNAME="mame" SDL_NETWORK="pcap" MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message target.ini SUB_LIST= MTARGET=${MTARGET} MSUBTARGET=${MSUBTARGET} PORTDOCS= * PORTEXAMPLES= ${MSUBTARGET}.ini OPTIONS_DEFINE= DEBUG DOCS EXAMPLES DEBUG_MAKE_ENV= DEBUG=1 GENIE= ${WRKSRC}/3rdparty/genie MSUBTARGET?= mame MTARGET?= mame .include .if ${ARCH} == amd64 || ${ARCH:Mpowerpc64*} MAKE_ARGS+= PTR64=1 EMULATOR= ${MSUBTARGET}64 .else EMULATOR= ${MSUBTARGET} .endif PLIST_SUB+= EMULATOR=${EMULATOR} post-patch: @${RM} ${WRKSRC}/3rdparty/bx/include/compat/freebsd/dirent.h @${RM} ${WRKSRC}/3rdparty/bx/include/compat/freebsd/signal.h @${MV} ${GENIE}/build/gmake.freebsd ${GENIE}/build/gmake.bsd @${REINPLACE_CMD} -e \ 's|^\(CC \)|#\1| ; \ s|^\(CXX \)|#\1| ; \ s|^\(CXX:\)|#\1| ; \ s|^\(LD \)|#\1| ; \ s|^\(PYTHON \)|#\1| ; \ s| .(ARCH)|| ; \ s|FreeBSD|${OPSYS}|g' \ ${WRKSRC}/makefile \ ${GENIE}/build/gmake.bsd/genie.make @${REINPLACE_CMD} -e 's|gcc|cc|; s|g++|c++|' \ ${GENIE}/src/tools/gcc.lua \ ${GENIE}/src/tools/snc.lua \ ${GENIE}/tests/test_gmake_cpp.lua @${REINPLACE_CMD} -e 's|= \"gcc|= \"cc|; s|= \"g++|= \"c++|' \ -e "s|'CXX =|'#CXX =|; s|'CC =|'#CC =|; s| .(ARCH)| |g" \ ${GENIE}/src/host/scripts.c # we can't fix two types of python shebangs, so do these manually @${REINPLACE_CMD} -i "" -e "s|/usr/bin/env python|${PYTHON_CMD}|" \ ${WRKSRC}/scripts/build/png*.py @${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|' \ ${WRKSRC}/scripts/genie.lua @${GREP} -rl '"png.h"' ${WRKSRC}/src | ${XARGS} ${REINPLACE_CMD} \ -e 's|"png.h"|"localpng.h"|' @${REINPLACE_CMD} -e 's|"util/png.h"|"util/localpng.h"|' \ ${WRKSRC}/src/frontend/mame/ui/icorender.cpp @${MV} ${WRKSRC}/src/lib/util/png.h ${WRKSRC}/src/lib/util/localpng.h do-install: @${MKDIR} ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${EXAMPLESDIR} \ ${STAGEDIR}${PREFIX}/libexec/${MSUBTARGET} ${INSTALL_PROGRAM} ${WRKSRC}/${EMULATOR} ${STAGEDIR}${PREFIX}/bin .if ${MSUBTARGET:Mmame} (cd ${WRKSRC} && \ ${INSTALL_PROGRAM} chdman jedutil ldresample ldverify \ romcmp unidasm \ ${STAGEDIR}${PREFIX}/libexec/mame) .endif .if ${MSUBTARGET:Mmess} (cd ${WRKSRC} && ${INSTALL_PROGRAM} castool chdman floptool imgtool jedutil \ ldresample ldverify nltool nlwav pngcmp regrep romcmp split \ srcclean unidasm \ ${STAGEDIR}${PREFIX}/libexec/mess) .endif (cd ${WRKSRC} && ${COPYTREE_SHARE} artwork ${STAGEDIR}${DATADIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} hash ${STAGEDIR}${DATADIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKDIR}/target.ini \ ${STAGEDIR}${EXAMPLESDIR}/${MSUBTARGET}.ini .include diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile index 8424fa0930e0..653c08125129 100644 --- a/emulators/mednafen/Makefile +++ b/emulators/mednafen/Makefile @@ -1,86 +1,87 @@ PORTNAME= mednafen PORTVERSION= 1.26.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= emulators games MASTER_SITES= https://mednafen.github.io/releases/files/ MAINTAINER= acm@FreeBSD.org COMMENT= Portable multi-system emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis BROKEN_sparc64= fails to compile due to internal compiler error GNU_CONFIGURE= yes USE_SDL= sdl2 net2 USE_GL= gl glu CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= pkg-message CONFIGURE_ARGS+=--disable-alsa --disable-alsatest \ --with-sdl-prefix=${LOCALBASE} USES= compiler:c++11-lib cpe gl iconv pkgconfig:build sdl tar:xz CPE_VENDOR= david_shadoff OPTIONS_DEFINE= NLS DOCS JACK OPTIONS_MULTI= EMU OPTIONS_MULTI_EMU= GB GBA LINX MD NES NGP PCE PCFX PSX SMS SWAN VB OPTIONS_DEFAULT= GB GBA LINX MD NES NGP PCE PCFX PSX SMS SWAN VB GB_DESC= build with GameBoy emulation GBA_DESC= build with GameBoy Advance emulation LINX_DESC= build with Atari Lynx emulation MD_DESC= build with Sega Genesis/MegaDrive emulation NES_DESC= build with Nintendo Entertainment System emulation NGP_DESC= build with Neo Geo Pocket emulation PCE_DESC= build with PC Engine (TurboGrafx 16) emulation PCFX_DESC= build with PC-FX emulation PSX_DESC= build with Playstation emulation SMS_DESC= build with SMS+GG emulation SWAN_DESC= build with WonderSWan emulation VB_DESC= build with Virtual Boy emulation JACK_DESC= support the JACK audio API OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE=nls JACK_LIB_DEPENDS=libjack.so:audio/jack JACK_CONFIGURE_ENABLE=jack GB_CONFIGURE_ENABLE=gb GBA_CONFIGURE_ENABLE=gba LINX_CONFIGURE_ENABLE=lynx MD_CONFIGURE_ENABLE=md NES_CONFIGURE_ENABLE=nes NGP_CONFIGURE_ENABLE=ngp PCE_CONFIGURE_ENABLE=pce PCFX_CONFIGURE_ENABLE=pcfx PSX_CONFIGURE_ENABLE=psx SMS_CONFIGURE_ENABLE=sms SWAN_CONFIGURE_ENABLE=wswan VB_CONFIGURE_ENABLE=vb post-patch: @${REINPLACE_CMD} -e 's|versionsort|alphasort|g' \ ${WRKSRC}/src/drivers/Joystick_Linux.cpp pre-configure: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/Documentation/mednafen.html ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/mgba/Makefile b/emulators/mgba/Makefile index c2a8fc507951..453076dbbe59 100644 --- a/emulators/mgba/Makefile +++ b/emulators/mgba/Makefile @@ -1,73 +1,74 @@ PORTNAME= mgba DISTVERSION= 0.8.4 +PORTREVISION= 2 CATEGORIES= emulators MAINTAINER= greg@unrelenting.technology COMMENT= Game Boy Advance (GBA) emulator/debugger LICENSE= MPL20 BSD3CLAUSE LGPL21+ LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/src/third-party/inih/LICENSE.txt LICENSE_FILE_LGPL21+ = ${WRKSRC}/src/third-party/blip_buf/license.txt LICENSE_FILE_MPL20= ${WRKSRC}/LICENSE LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libpng.so:graphics/png USES= cmake compiler:c++11-lang gl gnome localbase:ldflags pkgconfig \ sdl sqlite:3 USE_GITHUB= yes GH_ACCOUNT= mgba-emu USE_GL= gl glu USE_LDCONFIG= yes USE_SDL= sdl2 CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR:STRING="${DOCSDIR}" \ -DUSE_MINIZIP:BOOL=OFF \ -DUSE_LIBZIP:BOOL=OFF \ -DUSE_ZLIB:BOOL=ON \ -DUSE_LZMA:BOOL=ON \ -DUSE_SQLITE3:BOOL=ON \ -DUSE_DISCORD_RPC:BOOL=OFF \ -DBUILD_GL:BOOL=ON \ -DBUILD_GLES2:BOOL=OFF LDFLAGS+= -Wl,--as-needed # glu OPTIONS_DEFINE= DEBUGGERS FFMPEG LIBRETRO MAGICK QT5 DOCS OPTIONS_DEFAULT= DEBUGGERS FFMPEG LIBRETRO MAGICK QT5 OPTIONS_SUB= yes DEBUGGERS_DESC= Debugging infrastructure (CLI debugger, GDB remote stub) FFMPEG_DESC= FFmpeg video recording support LIBRETRO_DESC= libretro core MAGICK_DESC= ImageMagick GIF recording support QT5_DESC= Qt 5 frontend DEBUGGERS_USES= libedit DEBUGGERS_CMAKE_BOOL= USE_DEBUGGERS USE_EDITLINE USE_GDB_STUB FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavresample.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= USE_FFMPEG LIBRETRO_CMAKE_BOOL= BUILD_LIBRETRO LIBRETRO_CMAKE_ON= -DLIBRETRO_LIBDIR:PATH="${PREFIX}/lib/libretro" LIBRETRO_CONFLICTS_INSTALL= libretro-mgba MAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \ libMagickCore-6.so:graphics/ImageMagick6 MAGICK_CMAKE_BOOL= USE_MAGICK QT5_USES= desktop-file-utils qt:5 QT5_USE= qt=qmake_build,buildtools_build,core,gui,widgets,network,opengl,multimedia QT5_CMAKE_BOOL= BUILD_QT QT5_VARS= installs_icons=yes .include diff --git a/emulators/mupen64plus-core/Makefile b/emulators/mupen64plus-core/Makefile index 352b523d1f78..f8d87d56ba85 100644 --- a/emulators/mupen64plus-core/Makefile +++ b/emulators/mupen64plus-core/Makefile @@ -1,30 +1,30 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= mupen64plus PORTVERSION?= 2.5 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= emulators MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/releases/download/${PORTVERSION}/ \ LOCAL/acm/${PORTNAME} \ LOCAL/acm/${PORTNAME}/:plugin PKGNAMESUFFIX?= -core DIST_SUBDIR= ${PORTNAME} MAINTAINER?= acm@FreeBSD.org COMMENT?= Fork of Mupen64 Nintendo 64 emulator USES+= gl gmake pkgconfig sdl USE_GL?= yes USE_SDL?= sdl2 USE_LDCONFIG?= yes ONLY_FOR_ARCHS= i386 amd64 LDFLAGS_i386= -Wl,-znotext OPTFLAGS= # MAKE_ENV+= OPTFLAGS="${OPTFLAGS}" OPTIONS_DEFINE= DOCS .include "${.CURDIR}/../mupen64plus-core/Makefile.common" .include diff --git a/emulators/mupen64plus-qt/Makefile b/emulators/mupen64plus-qt/Makefile index 52dcfeb0f32e..03a7d65c402c 100644 --- a/emulators/mupen64plus-qt/Makefile +++ b/emulators/mupen64plus-qt/Makefile @@ -1,48 +1,48 @@ PORTNAME= mupen64plus-qt DISTVERSION= 1.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MAINTAINER= maintainer@hasting.email COMMENT= Basic launcher for Mupen64Plus LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libquazip1-qt5.so:archivers/quazip RUN_DEPENDS= ${LOCALBASE}/lib/libmupen64plus.so.2:emulators/mupen64plus-core \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-audio-sdl.so:emulators/mupen64plus-audio-sdl \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-input-sdl.so:emulators/mupen64plus-input-sdl \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-rsp-hle.so:emulators/mupen64plus-rsp-hle \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-video-rice.so:emulators/mupen64plus-video-rice \ mupen64plus:emulators/mupen64plus-ui-console USES= gl pkgconfig qmake qt:5 USE_GL= gl USE_QT= core gui network sql widgets xml \ buildtools_build \ sql-sqlite3_run USE_GITHUB= yes GH_ACCOUNT= dh4 PORTDOCS= README.md PLIST_FILES= bin/mupen64plus-qt \ man/man6/mupen64plus-qt.6.gz \ share/applications/mupen64plus-qt.desktop \ share/pixmaps/mupen64plus-qt.png OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/resources/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/resources/images/mupen64plus.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png ${INSTALL_MAN} ${WRKSRC}/resources/${PORTNAME}.6 ${STAGEDIR}${MANPREFIX}/man/man6 do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ .include diff --git a/emulators/mupen64plus-rsp-cxd4/Makefile b/emulators/mupen64plus-rsp-cxd4/Makefile index 9139f2635dd5..8801ae32a67e 100644 --- a/emulators/mupen64plus-rsp-cxd4/Makefile +++ b/emulators/mupen64plus-rsp-cxd4/Makefile @@ -1,28 +1,28 @@ # Created by: Jose Alonso Cardenas Marquez -PORTREVISION= 5 +PORTREVISION= 6 PKGNAMESUFFIX= -rsp-cxd4 DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-src-${PORTVERSION}${EXTRACT_SUFX}:plugin COMMENT= Low-level RSP processor plugin for the Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core USE_GL= # USE_SDL= # MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # USES+= compiler:c++11-lang MAKE_ENV+= SSE=none CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib DISTINFO_FILE= ${.CURDIR}/distinfo EXTRACT_AFTER_ARGS= # BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix WRKSRC= ${WRKDIR} .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-rsp-z64/Makefile b/emulators/mupen64plus-rsp-z64/Makefile index d0bf1aa630f0..411cc5ada7a8 100644 --- a/emulators/mupen64plus-rsp-z64/Makefile +++ b/emulators/mupen64plus-rsp-z64/Makefile @@ -1,25 +1,26 @@ # Created by: Jose Alonso Cardenas Marquez +PORTREVISION= 1 PKGNAMESUFFIX= -rsp-z64 DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-src-${PORTVERSION}${EXTRACT_SUFX}:plugin COMMENT= Low-level RSP processor plugin for the Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core USE_GL= # USE_SDL= # MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib DISTINFO_FILE= ${.CURDIR}/distinfo EXTRACT_AFTER_ARGS= # BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix WRKSRC= ${WRKDIR} .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-arachnoid/Makefile b/emulators/mupen64plus-video-arachnoid/Makefile index 89bd56ee2ef4..7e4b9947069a 100644 --- a/emulators/mupen64plus-video-arachnoid/Makefile +++ b/emulators/mupen64plus-video-arachnoid/Makefile @@ -1,27 +1,27 @@ # Created by: Jose Alonso Cardenas Marquez -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -video-arachnoid DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-src-${PORTVERSION}${EXTRACT_SUFX}:plugin COMMENT= The arachnoid video plugin for Mupen64plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core USES+= gl USE_GL= gl glu USE_SDL= # MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib DISTINFO_FILE= ${.CURDIR}/distinfo EXTRACT_AFTER_ARGS= # BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix WRKSRC= ${WRKDIR} .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-glide64/Makefile b/emulators/mupen64plus-video-glide64/Makefile index 6456dcf299d6..026c41f2c86a 100644 --- a/emulators/mupen64plus-video-glide64/Makefile +++ b/emulators/mupen64plus-video-glide64/Makefile @@ -1,27 +1,27 @@ # Created by: Jose Alonso Cardenas Marquez -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -video-glide64 DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-src-${PORTVERSION}${EXTRACT_SUFX}:plugin COMMENT= Glide64 video plugin for Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core USES+= gl sdl USE_GL= gl USE_SDL= sdl2 MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib DISTINFO_FILE= ${.CURDIR}/distinfo EXTRACT_AFTER_ARGS= # BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix WRKSRC= ${WRKDIR} .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-glide64mk2/Makefile b/emulators/mupen64plus-video-glide64mk2/Makefile index 4583591ab8a8..a1aff6e3b6fd 100644 --- a/emulators/mupen64plus-video-glide64mk2/Makefile +++ b/emulators/mupen64plus-video-glide64mk2/Makefile @@ -1,22 +1,22 @@ # Created by: Jose Alonso Cardenas Marquez -PORTREVISION= 18 +PORTREVISION= 19 PKGNAMESUFFIX= -video-glide64mk2 COMMENT= Glide64mk2 video plugin for Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core \ libboost_thread.so:devel/boost-libs USES+= gl sdl USE_GL= gl USE_SDL= sdl2 MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-rice/Makefile b/emulators/mupen64plus-video-rice/Makefile index cd10a17ae0e9..fe7205417e69 100644 --- a/emulators/mupen64plus-video-rice/Makefile +++ b/emulators/mupen64plus-video-rice/Makefile @@ -1,15 +1,15 @@ # Created by: Jose Alonso Cardenas Marquez -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -video-rice COMMENT= The rice graphics plugin for Mupen64plus USES= gl USE_GL= gl MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-z64/Makefile b/emulators/mupen64plus-video-z64/Makefile index fbae42bcd4df..3878330b0f33 100644 --- a/emulators/mupen64plus-video-z64/Makefile +++ b/emulators/mupen64plus-video-z64/Makefile @@ -1,27 +1,27 @@ # Created by: Jose Alonso Cardenas Marquez -PORTREVISION= 2 +PORTREVISION= 3 PKGNAMESUFFIX= -video-z64 DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-src-${PORTVERSION}${EXTRACT_SUFX}:plugin COMMENT= Low-level RDP plugin for the Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core USES= gl sdl USE_GL= gl glu glew USE_SDL= sdl2 MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/GL -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib DISTINFO_FILE= ${.CURDIR}/distinfo EXTRACT_AFTER_ARGS= # BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix WRKSRC= ${WRKDIR} .include "${MASTERDIR}/Makefile" diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile index ce3040358d6a..d8670cb44a2e 100644 --- a/emulators/openmsx/Makefile +++ b/emulators/openmsx/Makefile @@ -1,53 +1,54 @@ PORTNAME= openmsx PORTVERSION= 16.0 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= menelkir@itroll.org COMMENT= Open source MSX emulator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/GPL.txt LIB_DEPENDS= libpng.so:graphics/png \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libtheora.so:multimedia/libtheora \ libao.so:audio/libao \ libfreetype.so:print/freetype2 \ libasound.so:audio/alsa-lib USES= gl gmake python sdl tcl USE_GCC= yes USE_GL= gl glew USE_SDL= sdl2 ttf2 USE_GITHUB= yes GH_ACCOUNT= openMSX GH_PROJECT= openMSX GH_TAGNAME= a46a814 BINARY_ALIAS= python3=${PYTHON_CMD} MAKEFILE= GNUmakefile MAKE_ARGS= INSTALL_BINARY_DIR=${PREFIX}/bin \ INSTALL_SHARE_DIR=${DATADIR} \ INSTALL_DOC_DIR=${DOCSDIR} \ OPENMSX_CXX=${CXX} \ CXXFLAGS="${CXXFLAGS}" PLIST_FILES= bin/openmsx PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's/{TCL_LIB_SPEC}/& $${TCL_LD_FLAGS}/' \ ${WRKSRC}/build/libraries.py @${REINPLACE_CMD} -e '/^SYMLINK_FOR_BINARY/s/true/false/' \ ${WRKSRC}/build/custom.mk post-install-DOCS-off: ${RM} -r ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/pcem/Makefile b/emulators/pcem/Makefile index a3093ea2b7fd..9b38ffe34c1f 100644 --- a/emulators/pcem/Makefile +++ b/emulators/pcem/Makefile @@ -1,28 +1,28 @@ PORTNAME= pcem DISTVERSION= 14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= https://bitbucket.org/pcem_emulator/pcem/get/ DISTNAME= faf5d6423060 MAINTAINER= darkfm@vera.com.uy COMMENT= PC/PC-Compatible low-level emulator striving for accuracy LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_13= ld: error: duplicate symbol: CGACONST BROKEN_FreeBSD_14= ld: error: duplicate symbol: CGACONST USES= autoreconf compiler gl gmake localbase:ldflags openal pkgconfig sdl zip USE_GL= gl USE_SDL= sdl2 USE_WX= 3.0 WRKSRC= ${WRKDIR}/pcem_emulator-pcem-faf5d6423060/ PLIST_FILES= bin/pcem CONFIGURE_ARGS= --enable-release-build --with-wx-config="${WX_CONFIG}" GNU_CONFIGURE= yes ONLY_FOR_ARCHS= amd64 .include diff --git a/emulators/pcsxr/Makefile b/emulators/pcsxr/Makefile index c1634d2b92ba..5abd626d3ec0 100644 --- a/emulators/pcsxr/Makefile +++ b/emulators/pcsxr/Makefile @@ -1,89 +1,89 @@ # Created by: Ganael Laplanche PORTNAME= pcsxr PORTVERSION= 1.9.95.20180604 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Playstation (PSX) emulator LICENSE= GPLv3+ ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libcdio.so:sysutils/libcdio \ libavformat.so:multimedia/ffmpeg USES= cmake desktop-file-utils dos2unix gettext gl gnome iconv \ libarchive libtool pkgconfig sdl tar:bzip2 xorg USE_GITHUB= yes GH_ACCOUNT= martymac GH_TAGNAME= codeplex-final USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf2 gtk30 intltool glib20 USE_XORG= ice sm x11 xv xext xxf86vm xtst USE_SDL= sdl2 USE_GL= gl INSTALLS_ICONS= yes WRKSRC_SUBDIR= ${PORTNAME} CFLAGS+= -I${LOCALBASE}/include/harfbuzz CMAKE_ARGS+= -DDL_LIB:STRING="" \ -DMANPREFIX:STRING="${MANPREFIX}" \ -DBUILD_OPENGL:BOOL=ON \ -DBUILD_SIO1:BOOL=ON \ -DUSE_LIBCDIO:BOOL=ON \ -DENABLE_CCDDA:BOOL=ON \ -DUSE_LIBARCHIVE:BOOL=ON DOS2UNIX_REGEX= .*\.(c|h|cpp|hpp|am) PORTDOCS= ChangeLog README # Default CDROM device to use with dfcdrom, # accessed through libcdio (using cam(4) and pass(4)) DEFAULT_DVD_DEVICE?= /dev/cd0 # XXX Gettext support is mandatory and cannot really be disabled. # The following option only enables/disables building *additional* translations OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_DESC= Build additional NLS translations NLS_CMAKE_ON= -DDISABLE_NLS_TRANSLATIONS:BOOL=OFF NLS_CMAKE_OFF= -DDISABLE_NLS_TRANSLATIONS:BOOL=ON .include post-patch: # Add ${PREFIX} to plugins' lookup directories @${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" \ ${WRKSRC}/gui/LnxMain.c # Set default CDROM device @${REINPLACE_CMD} "s|%%DVD_DEVICE%%|${DEFAULT_DVD_DEVICE}|" \ ${WRKSRC}/plugins/dfcdrom/cdr.h # Fix PSEMU_DATA_DIR and DEF_PLUGIN_DIR @${REINPLACE_CMD} \ -e "s|games/||g" \ -e "s|psemu|${PORTNAME}|g" \ ${WRKSRC}/gui/CMakeLists.txt \ ${WRKSRC}/plugins/bladesio1/CMakeLists.txt \ ${WRKSRC}/plugins/dfcdrom/CMakeLists.txt \ ${WRKSRC}/plugins/dfinput/CMakeLists.txt \ ${WRKSRC}/plugins/dfnet/CMakeLists.txt \ ${WRKSRC}/plugins/dfsound/CMakeLists.txt \ ${WRKSRC}/plugins/dfxvideo/CMakeLists.txt \ ${WRKSRC}/plugins/nullsio1/CMakeLists.txt \ ${WRKSRC}/plugins/peopsxgl/CMakeLists.txt post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/ppsspp-qt5/Makefile b/emulators/ppsspp-qt5/Makefile index 41539a191451..c96f2bd29e3d 100644 --- a/emulators/ppsspp-qt5/Makefile +++ b/emulators/ppsspp-qt5/Makefile @@ -1,10 +1,10 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -qt5 MASTERDIR= ${.CURDIR}/../ppsspp OPTIONS_SLAVE= QT5 # XXX No VULKAN per https://github.com/hrydgard/ppsspp/blob/v1.10/Qt/QtMain.cpp#L711-L712 OPTIONS_EXCLUDE=${OPTIONS_DEFINE} .include "${MASTERDIR}/Makefile" diff --git a/emulators/ppsspp/Makefile b/emulators/ppsspp/Makefile index 0e05d6f3e285..2279aa4713a2 100644 --- a/emulators/ppsspp/Makefile +++ b/emulators/ppsspp/Makefile @@ -1,110 +1,110 @@ PORTNAME= ppsspp DISTVERSIONPREFIX= v DISTVERSION?= 1.11.3 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= emulators # XXX Get from Debian once #697821 lands MASTER_SITES= https://bazaar.launchpad.net/~sergio-br2/${PORTNAME}/debian-sdl/download/5/${PORTNAME}.1-20140802045408-dd26dik367ztj5xg-8/:manpage DISTFILES= ${PORTNAME}.1:manpage EXTRACT_ONLY= ${DISTFILES:N*\:manpage:C/:.*//} PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 2362d71d70ad.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14176 PATCHFILES+= 26eca0ba3dc0.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14176 PATCHFILES+= 6656c8a533ee.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14176 PATCHFILES+= 2b2dae60d316.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14176 PATCHFILES+= b19e39efb0ca.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14176 PATCHFILES+= e5849d109dc2.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14176 PATCHFILES+= e3be3d5f7b0e.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14176 PATCHFILES+= 0ab6f1d0804c.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14176 PATCHFILES+= 54dd4e4c0cd7.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14176 PATCHFILES+= ed2610cf1a89.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14188 PATCHFILES+= d8e3bae2da1a.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14188 PATCHFILES+= 9d031caa9d8b.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14188 PATCHFILES+= d6dc6e9d642f.patch:-p1 # https://github.com/hrydgard/ppsspp/pull/14199 MAINTAINER= jbeich@FreeBSD.org COMMENT= PSP emulator in C++ with dynarec JIT for x86, ARM, MIPS LICENSE= GPLv2+ # Bi-endian architectures default to big for some reason NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe sparc64 NOT_FOR_ARCHS_REASON= only little-endian is supported, see \ https://github.com/hrydgard/ppsspp/issues/8823 LIB_DEPENDS= libzip.so:archivers/libzip \ libsnappy.so:archivers/snappy \ libavcodec.so:multimedia/ffmpeg RUN_DEPENDS= xdg-open:devel/xdg-utils USE_GITHUB= yes GH_ACCOUNT= hrydgard GH_TUPLE?= hrydgard:glslang:8.13.3559-76-gd0850f87:glslang/ext/glslang \ hrydgard:miniupnp:miniupnpd_2_1-354-g7e229dd:miniupnp/ext/miniupnp \ hrydgard:${PORTNAME}-lang:6bd5b4b:lang/assets/lang \ KhronosGroup:SPIRV-Cross:2019-05-20-60-ga1f7c8dc:SPIRV/ext/SPIRV-Cross \ Kingcom:armips:v0.10.0-28-g7885552:armips/ext/armips CONFLICTS_INSTALL= ${PORTNAME}-* USES= cmake compiler:c++11-lib gl localbase:ldflags pkgconfig EXCLUDE= libzip zlib EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,} USE_GL= gl glew glu CMAKE_ON= USE_SYSTEM_FFMPEG USE_SYSTEM_LIBZIP USE_SYSTEM_SNAPPY USE_WAYLAND_WSI CMAKE_OFF= USE_DISCORD SUB_FILES= pkg-message PORTDATA= assets DESKTOP_ENTRIES="PPSSPP" \ "" \ "${PORTNAME}" \ "${PORTNAME} %f" \ "Game;Emulator;" \ "" OPTIONS_DEFINE= VULKAN OPTIONS_DEFAULT=VULKAN OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= LIBRETRO QT5 SDL OPTIONS_SLAVE?= SDL OPTIONS_EXCLUDE:= ${OPTIONS_EXCLUDE} ${OPTIONS_SINGLE_GUI} LIBRETRO_DESC= libretro core for games/retroarch LIBRETRO_CMAKE_BOOL= LIBRETRO LIBRETRO_PLIST_FILES= lib/libretro/${PORTNAME}_libretro.so LIBRETRO_VARS= CONFLICTS_INSTALL= DESKTOP_ENTRIES= PLIST= PORTDATA= PKGMESSAGE= SUB_FILES= QT5_USES= qt:5 sdl QT5_USE= QT=qmake_build,buildtools_build,linguisttools_build,gui,multimedia,opengl,widgets QT5_USE+= SDL=sdl2 # audio, joystick QT5_CMAKE_BOOL= USING_QT_UI QT5_VARS= EXENAME=PPSSPPQt SDL_BUILD_DEPENDS= png>=1.6:graphics/png SDL_LIB_DEPENDS= libpng.so:graphics/png SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_VARS= EXENAME=PPSSPPSDL VULKAN_DESC= Vulkan renderer VULKAN_RUN_DEPENDS= ${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader post-patch: @${REINPLACE_CMD} -e 's/Linux/${OPSYS}/' \ ${WRKSRC}/assets/gamecontrollerdb.txt @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ ${WRKSRC}/UI/NativeApp.cpp @${REINPLACE_CMD} -e 's/"unknown"/"${DISTVERSIONFULL}"/' \ ${WRKSRC}/git-version.cmake do-install-QT5-on do-install-SDL-on: ${MV} ${STAGEDIR}${PREFIX}/bin/${EXENAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${_DISTDIR}/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 do-install-LIBRETRO-on: ${MKDIR} ${STAGEDIR}${PREFIX}/${LIBRETRO_PLIST_FILES:H} ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/${LIBRETRO_PLIST_FILES:T} \ ${STAGEDIR}${PREFIX}/${LIBRETRO_PLIST_FILES:H} .include diff --git a/emulators/qemu-cheri/Makefile b/emulators/qemu-cheri/Makefile index 042cce796562..804d139d20fa 100644 --- a/emulators/qemu-cheri/Makefile +++ b/emulators/qemu-cheri/Makefile @@ -1,67 +1,67 @@ PORTNAME= qemu PORTVERSION= 0.d${SNAPDATE} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators devel PKGNAMESUFFIX= -cheri MAINTAINER= brooks@FreeBSD.org COMMENT?= QEMU emulator with CHERI CPU support # XXX: disabling gnutls doesn't work so depend on it to avoid breakage. LIB_DEPENDS= libcapstone.so:devel/capstone3 \ libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy \ libgnutls.so:security/gnutls \ libnettle.so:security/nettle RUN_DEPENDS= qemu-system-i386:emulators/qemu LICENSE= GPLv2 USE_GITHUB= yes GH_TUPLE= CTSRD-CHERI:qemu:${QEMU_COMMIT} \ CTSRD-CHERI:dtc:${DTC_COMMIT}:dtc/dtc \ CTSRD-CHERI:libslirp:${LIBSLIRP_COMMIT}:libslirp/slirp \ qemu:keycodemapdb:6b3d716:qemu/ui/keycodemapdb \ HAS_CONFIGURE= yes USES= compiler:c11 gettext-runtime gl gmake gnome iconv:wchar_t perl5 \ pkgconfig python:build xorg USE_XORG= pixman USE_GNOME+= glib20 libxml2 USE_PERL5= build USE_GL+= gl ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le OPTIONS_DEFINE= DOCS .include "Makefile.snapshot" CONFIGURE_ARGS+= \ --target-list=cheri128-softmmu,cheri128magic-softmmu,riscv64cheri-softmmu \ --disable-curl \ --disable-git-update \ --disable-gtk \ --disable-linux-user \ --disable-linux-aio \ --disable-kvm \ --disable-opengl \ --disable-vnc-png \ --disable-sdl \ --disable-vte \ --disable-xen \ --smbd=${LOCALBASE}/sbin/smbd \ --extra-cflags="-g ${EXTRA_CFLAGS}" \ --localstatedir=/var EXTRA_CFLAGS= -DCHERI_UNALIGNED PLIST_FILES= bin/qemu-system-cheri128 \ bin/qemu-system-cheri128magic \ bin/qemu-system-riscv64cheri do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cheri128-softmmu/qemu-system-cheri128 \ ${WRKSRC}/cheri128magic-softmmu/qemu-system-cheri128magic \ ${WRKSRC}/riscv64cheri-softmmu/qemu-system-riscv64cheri \ ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile index 411777b35e59..98b7beb1a380 100644 --- a/emulators/qemu-devel/Makefile +++ b/emulators/qemu-devel/Makefile @@ -1,163 +1,164 @@ # Created by: Juergen Lock PORTNAME= qemu DISTVERSION= 5.1.0.20201019 +PORTREVISION= 1 CATEGORIES= emulators PKGNAMESUFFIX= -devel DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= QEMU CPU Emulator - development version LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 powerpc powerpc64 powerpc64 powerpc64le IGNORE_FreeBSD_11= Unable to produce Position Independent Code BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ bash:shells/bash LIB_DEPENDS= libnettle.so:security/nettle \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libepoxy.so:graphics/libepoxy \ libpcre2-8.so:devel/pcre2 USES= bison compiler:c11 cpe gmake gnome iconv:wchar_t ninja perl5 \ pkgconfig python:build tar:xz xorg USE_GITHUB= yes USE_GNOME= cairo glib20 libxml2 USE_PERL5= build USE_PYTHON= distutils noflavors USE_XORG= pixman GH_TUPLE= qemu:qemu:22d30b3 \ qemu:keycodemapdb:6b3d716:keycodemapdb/ui/keycodemapdb \ qemu:dtc:85e5d83:dtc/dtc \ mesonbuild:meson:776acd2:meson/meson \ cota:berkeley-softfloat-3:b64af41:berkeleysoftfloat3/tests/fp/berkeley-softfloat-3 \ cota:berkeley-testfloat-3:5a59dce:berkeleytestfloat3/tests/fp/berkeley-testfloat-3 #BROKEN_powerpc64= fails to compile: In function aio_bh_poll: internal compiler error: Segmentation fault #.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") #.endif HAS_CONFIGURE= yes OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_DEFAULT NCURSES_BASE NCURSES_PORT OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL VDE \ CDROM_DMA USBREDIR X86_TARGETS STATIC_LINK DOCS CAPSTONE OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL NCURSES_DEFAULT VDE \ CAPSTONE OPTIONS_SUB= yes CAPSTONE_DESC= Disassembly framework support CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) JPEG_DESC= jpeg dependency (vnc lossy compression) NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_PORT_DESC= Depend on devel/ncurses in ports PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets CAPSTONE_CONFIGURE_ON= --enable-capstone=system --extra-cflags=-I${LOCALBASE}/include/capstone CAPSTONE_CONFIGURE_OFF= --disable-capstone CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone4 CURL_CONFIGURE_OFF= --disable-curl CURL_LIB_DEPENDS= libcurl.so:ftp/curl DOCS_CONFIGURE_ENABLE= docs DOCS_USES= makeinfo GNUTLS_CONFIGURE_OFF= --disable-gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GTK3_CONFIGURE_OFF= --disable-gtk --disable-vte GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USE= GNOME=gdkpixbuf2,gtk30,vte3 XORG=x11,xext GTK3_USES= gettext gl JPEG_CONFIGURE_OFF= --disable-vnc-jpeg JPEG_USES= jpeg NCURSES_DEFAULT_USES= ncurses NCURSES_BASE_USES= ncurses:base NCURSES_PORT_USES= ncurses:port OPENGL_CONFIGURE_OFF= --disable-opengl OPENGL_USE= GL=gl OPENGL_USES= gl PNG_CONFIGURE_OFF= --disable-vnc-png PNG_LIB_DEPENDS= libpng.so:graphics/png SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SASL_CONFIGURE_OFF= --disable-vnc-sasl SAMBA_USES= samba:run # smbd SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 STATIC_LINK_CONFIGURE_ON= --static STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir VDE_CONFIGURE_OFF= --disable-vde VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 X11_CONFIGURE_ENABLE= sdl X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 X11_USES= sdl PORTDOCS= docs index.html interop/.buildinfo interop/* \ specs/.buildinfo specs/* system/.buildinfo system/* \ tools/.buildinfo tools/* user/.buildinfo user/* WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CONFIGURE_ARGS= --localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ --extra-ldflags=-L\"${LOCALBASE}/lib\" --enable-debug \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ --enable-debug-info --python=${PYTHON_CMD} \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" INSTALLS_ICONS= yes .include .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" MAKE_ARGS+= ARCH=ppc .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif PLIST_SUB+= LINUXBOOT_DMA="" post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h do-build: cd ${WRKSRC} && ${GMAKE} do-install: cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${GMAKE} install .if !target(post-install) post-install: ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 073ceb348b86..17edfbdc8b39 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -1,184 +1,184 @@ # Created by: Juergen Lock PORTNAME= qemu PORTVERSION= 5.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ DIST_SUBDIR= qemu/${PORTVERSION} PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ MAINTAINER?= bofh@FreeBSD.org COMMENT?= QEMU CPU Emulator LICENSE= GPLv2 BUILD_DEPENDS= sphinx-build:textproc/py-sphinx LIB_DEPENDS?= libnettle.so:security/nettle \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libepoxy.so:graphics/libepoxy \ libpcre2-8.so:devel/pcre2 \ libzstd.so:archivers/zstd \ libfdt.so:sysutils/dtc PATCHFILES+= 55765822804f.patch:-p1 PATCHFILES+= aa4d30f6618d.patch:-p1 .if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le USES= bison compiler:c11 cpe gmake gnome iconv:wchar_t perl5 \ pkgconfig python:build tar:xz xorg USE_XORG= pixman USE_GNOME= cairo glib20 libxml2 .endif USE_PERL5= build PORTSCOUT= limit:^5\.0\. HAS_CONFIGURE= yes MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \ VDE CDROM_DMA PCAP USBREDIR X86_TARGETS \ STATIC_LINK DOCS ISCSI CAPSTONE DEBUG OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_DEFAULT NCURSES_BASE NCURSES_PORT CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) ISCSI_DESC= libiscsi dependency (iSCSI client for emulated drives) JPEG_DESC= jpeg dependency (vnc lossy compression) NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_PORT_DESC= Depend on devel/ncurses in ports PCAP_DESC= pcap dependency (networking with bpf) PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets CAPSTONE_DESC= Disassembly framework support OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP NCURSES_DEFAULT VDE OPTIONS_SUB= yes CAPSTONE_CONFIGURE_ON= --enable-capstone=system --extra-cflags=-I${LOCALBASE}/include/capstone CAPSTONE_CONFIGURE_OFF= --disable-capstone CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone4 CURL_CONFIGURE_OFF= --disable-curl CURL_LIB_DEPENDS= libcurl.so:ftp/curl DEBUG_CONFIGURE_ON= --enable-debug DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html \ sphinx-build:textproc/py-sphinx DOCS_MAKE_ARGS_OFF= NOPORTDOCS=1 DOCS_USES= makeinfo GNUTLS_CONFIGURE_OFF= --disable-gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GTK3_CONFIGURE_OFF= --disable-gtk --disable-vte GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USE= GNOME=gdkpixbuf2,gtk30,vte3 XORG=x11,xext GTK3_USES= gettext gl ISCSI_LIB_DEPENDS= libiscsi.so:net/libiscsi ISCSI_CONFIGURE_OFF= --disable-libiscsi JPEG_CONFIGURE_OFF= --disable-vnc-jpeg JPEG_USES= jpeg NCURSES_DEFAULT_USES= ncurses NCURSES_BASE_USES= ncurses:base NCURSES_PORT_USES= ncurses:port OPENGL_CONFIGURE_OFF= --disable-opengl OPENGL_USE= GL=gl OPENGL_USES= gl PCAP_CONFIGURE_ON= --enable-pcap PCAP_EXTRA_PATCHES= ${FILESDIR}/pcap-patch-qapi_net.json ${FILESDIR}/pcap-patch-net_net.c \ ${FILESDIR}/pcap-patch-net_clients.h PNG_CONFIGURE_OFF= --disable-vnc-png PNG_LIB_DEPENDS= libpng.so:graphics/png SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SAMBA_USES= samba:run # smbd SASL_CONFIGURE_OFF= --disable-vnc-sasl SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 STATIC_LINK_CONFIGURE_ON= --static STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir VDE_CONFIGURE_OFF= --disable-vde VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 X11_CONFIGURE_ENABLE= sdl X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 X11_USES= sdl .if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") X86_TARGETS_USE_OFF= XORG=pixman,x11 X86_TARGETS_USES_OFF= xorg INSTALLS_ICONS= yes X86_TARGETS_CONFIGURE_ON= --target-list='i386-softmmu i386-bsd-user x86_64-softmmu x86_64-bsd-user' .endif PORTDOCS?= docs index.html interop/.buildinfo interop/* qemu-ga-ref.html qemu-ga-ref.txt \ qemu-qmp-ref.html qemu-qmp-ref.txt specs/.buildinfo specs/* system/.buildinfo \ system/* tools/.buildinfo tools/* user/.buildinfo user/* WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CFLAGS_amd64+= -fPIC CONFIGURE_ARGS?=--localstatedir=/var \ --extra-ldflags=-L${LOCALBASE}/lib --disable-libssh \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ --python=${PYTHON_CMD} \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" .include .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" MAKE_ARGS+= ARCH=ppc .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300000 PLIST_SUB+= IVSHMEM="" .else PLIST_SUB+= IVSHMEM="@comment " .endif PLIST_SUB+= LINUXBOOT_DMA="" post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h # XXX need to disable usb host code on head while it's not ported to the # new usb stack yet post-configure: @${REINPLACE_CMD} -E \ -e "s|^(HOST_USB=)bsd|\1stub|" \ ${WRKSRC}/config-host.mak .if !target(post-install) post-install: ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qemu31/Makefile b/emulators/qemu31/Makefile index 02a57a9420dc..e2d6f023cffa 100644 --- a/emulators/qemu31/Makefile +++ b/emulators/qemu31/Makefile @@ -1,145 +1,145 @@ # Created by: Juergen Lock PORTNAME= qemu PORTVERSION= 3.1.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ PKGNAMESUFFIX= 31 DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER?= bofh@FreeBSD.org COMMENT?= QEMU CPU Emulator - 3.1.X version LICENSE= GPLv2 LIB_DEPENDS?= libnettle.so:security/nettle \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES?= compiler:c11 cpe gmake gnome pkgconfig bison perl5 \ python:build tar:xz USE_PERL5= build PORTSCOUT= limit:^3\.1\. HAS_CONFIGURE= yes MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \ VDE CDROM_DMA PCAP USBREDIR X86_TARGETS \ STATIC_LINK DOCS NCURSES CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) JPEG_DESC= jpeg dependency (vnc lossy compression) PCAP_DESC= pcap dependency (networking with bpf) PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP NCURSES VDE OPTIONS_SUB= yes CURL_CONFIGURE_OFF= --disable-curl CURL_LIB_DEPENDS= libcurl.so:ftp/curl DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_MAKE_ARGS_OFF= NOPORTDOCS=1 DOCS_USES= makeinfo GNUTLS_CONFIGURE_OFF= --disable-gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GTK3_CONFIGURE_OFF= --disable-gtk --disable-vte GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \ libepoxy.so:graphics/libepoxy \ libpcre2-8.so:devel/pcre2 GTK3_USE= GNOME=gtk30,vte3,gdkpixbuf2 XORG=x11,xext GL=gbm GTK3_USES= gettext gl gnome xorg JPEG_CONFIGURE_OFF= --disable-vnc-jpeg JPEG_USES= jpeg NCURSES_USES= ncurses:base OPENGL_CONFIGURE_OFF= --disable-opengl OPENGL_USE= GL=glu OPENGL_USES= gl PCAP_CONFIGURE_ON= --enable-pcap PCAP_EXTRA_PATCHES= ${FILESDIR}/pcap-patch ${FILESDIR}/pcap-patch-net_net.c \ ${FILESDIR}/pcap-patch-net_clients.h PNG_CONFIGURE_OFF= --disable-vnc-png PNG_LIB_DEPENDS= libpng.so:graphics/png SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SAMBA_USES= samba:run # smbd SASL_CONFIGURE_OFF= --disable-vnc-sasl SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 STATIC_LINK_CONFIGURE_ON= --static STATIC_LINK_PREVENTS= GTK2 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir VDE_CONFIGURE_OFF= --disable-vde VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 X11_CONFIGURE_ENABLE= sdl X11_USE= SDL=sdl2 XORG=x11,xext X11_USES= sdl xorg .if !defined(PKGNAMESUFFIX) || ${PKGNAMESUFFIX} != "-utils" X86_TARGETS_USE_OFF= GNOME=cairo,gdkpixbuf2 X86_TARGETS_USES_OFF= gnome .endif PORTDOCS?= docs qemu-doc.html qemu-doc.txt qemu-ga-ref.html qemu-ga-ref.txt \ qemu-qmp-ref.html qemu-qmp-ref.txt WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CONFIGURE_ARGS?=--localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ --extra-ldflags=-L\"${LOCALBASE}/lib\" --disable-libssh2 --enable-debug \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ --enable-debug-info --python=${PYTHON_CMD} \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" .include .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" MAKE_ARGS+= ARCH=ppc .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif PLIST_SUB+= LINUXBOOT_DMA="" post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h # XXX need to disable usb host code on head while it's not ported to the # new usb stack yet post-configure: @${REINPLACE_CMD} -E \ -e "s|^(HOST_USB=)bsd|\1stub|" \ ${WRKSRC}/config-host.mak .if !target(post-install) post-install: ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qemu41/Makefile b/emulators/qemu41/Makefile index 44b4a525b7db..9a321cc7caab 100644 --- a/emulators/qemu41/Makefile +++ b/emulators/qemu41/Makefile @@ -1,158 +1,159 @@ # Created by: Juergen Lock PORTNAME= qemu PORTVERSION= 4.1.1 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ PKGNAMESUFFIX= 41 DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER?= bofh@FreeBSD.org COMMENT?= QEMU CPU Emulator - 4.1.X branch LICENSE= GPLv2 BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR} LIB_DEPENDS?= libnettle.so:security/nettle \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libepoxy.so:graphics/libepoxy \ libpcre2-8.so:devel/pcre2 ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le USES= bison compiler:c11 cpe gmake gnome iconv:wchar_t perl5 \ pkgconfig python:build tar:xz xorg USE_XORG= pixman USE_GNOME= cairo glib20 libxml2 USE_PERL5= build PORTSCOUT= limit:^4\.1\. HAS_CONFIGURE= yes MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \ VDE CDROM_DMA PCAP USBREDIR X86_TARGETS \ STATIC_LINK DOCS ISCSI OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_DEFAULT NCURSES_BASE NCURSES_PORT CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) ISCSI_DESC= libiscsi dependency (iSCSI client for emulated drives) JPEG_DESC= jpeg dependency (vnc lossy compression) NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_PORT_DESC= Depend on devel/ncurses in ports PCAP_DESC= pcap dependency (networking with bpf) PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP NCURSES_DEFAULT VDE OPTIONS_SUB= yes CURL_CONFIGURE_OFF= --disable-curl CURL_LIB_DEPENDS= libcurl.so:ftp/curl DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_MAKE_ARGS_OFF= NOPORTDOCS=1 DOCS_USES= makeinfo GNUTLS_CONFIGURE_OFF= --disable-gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GTK3_CONFIGURE_OFF= --disable-gtk --disable-vte GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USE= GNOME=gdkpixbuf2,gtk30,vte3 XORG=x11,xext GTK3_USES= gettext gl ISCSI_LIB_DEPENDS= libiscsi.so:net/libiscsi ISCSI_CONFIGURE_OFF= --disable-libiscsi JPEG_CONFIGURE_OFF= --disable-vnc-jpeg JPEG_USES= jpeg NCURSES_DEFAULT_USES= ncurses NCURSES_BASE_USES= ncurses:base NCURSES_PORT_USES= ncurses:port OPENGL_CONFIGURE_OFF= --disable-opengl OPENGL_USE= GL=gl OPENGL_USES= gl PCAP_CONFIGURE_ON= --enable-pcap PCAP_EXTRA_PATCHES= ${FILESDIR}/pcap-patch-qapi_net.json ${FILESDIR}/pcap-patch-net_net.c \ ${FILESDIR}/pcap-patch-net_clients.h PNG_CONFIGURE_OFF= --disable-vnc-png PNG_LIB_DEPENDS= libpng.so:graphics/png SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SAMBA_USES= samba:run # smbd SASL_CONFIGURE_OFF= --disable-vnc-sasl SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 STATIC_LINK_CONFIGURE_ON= --static STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir VDE_CONFIGURE_OFF= --disable-vde VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 X11_CONFIGURE_ENABLE= sdl X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 X11_USES= sdl X86_TARGETS_USE_OFF= XORG=pixman,x11 X86_TARGETS_USES_OFF= xorg INSTALLS_ICONS= yes PORTDOCS?= docs interop/.buildinfo interop/* qemu-doc.html qemu-doc.txt qemu-ga-ref.html qemu-ga-ref.txt \ qemu-qmp-ref.html qemu-qmp-ref.txt specs/.buildinfo specs/* WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CONFIGURE_ARGS?= --localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ --extra-ldflags=-L\"${LOCALBASE}/lib\" --disable-libssh --enable-debug \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ --enable-debug-info --python=${PYTHON_CMD} \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" .include .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" MAKE_ARGS+= ARCH=ppc .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif PLIST_SUB+= LINUXBOOT_DMA="" post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h # XXX need to disable usb host code on head while it's not ported to the # new usb stack yet post-configure: @${REINPLACE_CMD} -E \ -e "s|^(HOST_USB=)bsd|\1stub|" \ ${WRKSRC}/config-host.mak .if !target(post-install) post-install: ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qemu42/Makefile b/emulators/qemu42/Makefile index aed6f2fdbb32..6456d85268d5 100644 --- a/emulators/qemu42/Makefile +++ b/emulators/qemu42/Makefile @@ -1,169 +1,170 @@ # Created by: Juergen Lock PORTNAME= qemu PORTVERSION= 4.2.1 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ PKGNAMESUFFIX?= 42 DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER?= bofh@FreeBSD.org COMMENT?= QEMU CPU Emulator - 4.2.X branch LICENSE= GPLv2 BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR} LIB_DEPENDS?= libnettle.so:security/nettle \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libepoxy.so:graphics/libepoxy \ libpcre2-8.so:devel/pcre2 \ libfdt.so:sysutils/dtc .if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le USES= bison compiler:c11 cpe gmake gnome iconv:wchar_t perl5 \ pkgconfig python:build tar:xz xorg USE_XORG= pixman USE_GNOME= cairo glib20 libxml2 .endif USE_PERL5= build PORTSCOUT= limit:^4\.2\. HAS_CONFIGURE= yes MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \ VDE CDROM_DMA PCAP USBREDIR X86_TARGETS \ STATIC_LINK DOCS ISCSI CAPSTONE DEBUG OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_DEFAULT NCURSES_BASE NCURSES_PORT CAPSTONE_DESC= Disassembly framework support CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) ISCSI_DESC= libiscsi dependency (iSCSI client for emulated drives) JPEG_DESC= jpeg dependency (vnc lossy compression) NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_PORT_DESC= Depend on devel/ncurses in ports PCAP_DESC= pcap dependency (networking with bpf) PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP NCURSES_DEFAULT VDE OPTIONS_SUB= yes CAPSTONE_CONFIGURE_ON= --enable-capstone=system --extra-cflags=-I${LOCALBASE}/include/capstone CAPSTONE_CONFIGURE_OFF= --disable-capstone CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone4 CURL_CONFIGURE_OFF= --disable-curl CURL_LIB_DEPENDS= libcurl.so:ftp/curl DEBUG_CONFIGURE_ON= --enable-debug --enable-debug-info DEBUG_CONFIGURE_OFF= --disable-debug-info DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_MAKE_ARGS_OFF= NOPORTDOCS=1 DOCS_USES= makeinfo GNUTLS_CONFIGURE_OFF= --disable-gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GTK3_CONFIGURE_OFF= --disable-gtk --disable-vte GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USE= GNOME=gdkpixbuf2,gtk30,vte3 XORG=x11,xext GTK3_USES= gettext gl ISCSI_LIB_DEPENDS= libiscsi.so:net/libiscsi ISCSI_CONFIGURE_OFF= --disable-libiscsi JPEG_CONFIGURE_OFF= --disable-vnc-jpeg JPEG_USES= jpeg NCURSES_DEFAULT_USES= ncurses NCURSES_BASE_USES= ncurses:base NCURSES_PORT_USES= ncurses:port OPENGL_CONFIGURE_OFF= --disable-opengl OPENGL_USE= GL=gl OPENGL_USES= gl PCAP_CONFIGURE_ON= --enable-pcap PCAP_EXTRA_PATCHES= ${FILESDIR}/pcap-patch-qapi_net.json ${FILESDIR}/pcap-patch-net_net.c \ ${FILESDIR}/pcap-patch-net_clients.h PNG_CONFIGURE_OFF= --disable-vnc-png PNG_LIB_DEPENDS= libpng.so:graphics/png SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SAMBA_USES= samba:run # smbd SASL_CONFIGURE_OFF= --disable-vnc-sasl SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 STATIC_LINK_CONFIGURE_ON= --static STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir VDE_CONFIGURE_OFF= --disable-vde VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 X11_CONFIGURE_ENABLE= sdl X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 X11_USES= sdl .if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") X86_TARGETS_USE_OFF= XORG=pixman,x11 X86_TARGETS_USES_OFF= xorg INSTALLS_ICONS= yes .endif PORTDOCS?= docs interop/.buildinfo interop/* qemu-doc.html qemu-doc.txt qemu-ga-ref.html qemu-ga-ref.txt \ qemu-qmp-ref.html qemu-qmp-ref.txt specs/.buildinfo specs/* WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CONFIGURE_ARGS?=--localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ --extra-ldflags=-L\"${LOCALBASE}/lib\" --disable-libssh \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ --python=${PYTHON_CMD} \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" .include .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" MAKE_ARGS+= ARCH=ppc .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif PLIST_SUB+= LINUXBOOT_DMA="" post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h # XXX need to disable usb host code on head while it's not ported to the # new usb stack yet post-configure: @${REINPLACE_CMD} -E \ -e "s|^(HOST_USB=)bsd|\1stub|" \ ${WRKSRC}/config-host.mak .if !target(post-install) post-install: ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qemu50/Makefile b/emulators/qemu50/Makefile index d8d043ac18e6..ccbf2d780e86 100644 --- a/emulators/qemu50/Makefile +++ b/emulators/qemu50/Makefile @@ -1,167 +1,168 @@ # Created by: Juergen Lock PORTNAME= qemu PORTVERSION= 5.0.0 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ PKGNAMESUFFIX= 50 DIST_SUBDIR= qemu/${PORTVERSION} PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ MAINTAINER= bofh@FreeBSD.org COMMENT= QEMU CPU Emulator - 5.0.X branch LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le LIB_DEPENDS= libnettle.so:security/nettle \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libepoxy.so:graphics/libepoxy \ libpcre2-8.so:devel/pcre2 USES= bison compiler:c11 cpe gmake gnome iconv:wchar_t perl5 \ pkgconfig python:build tar:xz xorg USE_GNOME= cairo glib20 libxml2 USE_PERL5= build USE_XORG= pixman PATCHFILES+= 55765822804f.patch:-p1 PATCHFILES+= aa4d30f6618d.patch:-p1 #BROKEN_powerpc64= fails to compile: In function aio_bh_poll: internal compiler error: Segmentation fault #.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") #.endif HAS_CONFIGURE= yes MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \ VDE CDROM_DMA PCAP USBREDIR X86_TARGETS \ STATIC_LINK DOCS NCURSES SAMBA_DESC= samba dependency (for -smb) GNUTLS_DESC= gnutls dependency (vnc encryption) SASL_DESC= cyrus-sasl dependency (vnc encryption) JPEG_DESC= jpeg dependency (vnc lossy compression) PNG_DESC= png dependency (vnc compression) CDROM_DMA_DESC= IDE CDROM DMA PCAP_DESC= pcap dependency (networking with bpf) USBREDIR_DESC= usb device network redirection (experimental!) X86_TARGETS_DESC= Build only x86 system targets STATIC_LINK_DESC= Statically link the executables VDE_DESC= vde dependency (for vde networking) OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP NCURSES VDE OPTIONS_SUB= yes X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 X11_USES= sdl X11_CONFIGURE_ENABLE= sdl GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USE= GNOME=gdkpixbuf2,gtk30,vte3 XORG=x11,xext GTK3_USES= gettext gl GTK3_CONFIGURE_OFF= --disable-gtk --disable-vte GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_OFF= --disable-gnutls SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_CONFIGURE_OFF= --disable-vnc-sasl JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --disable-vnc-jpeg PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_OFF= --disable-vnc-png CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_OFF= --disable-curl OPENGL_USE= GL=gl OPENGL_USES= gl OPENGL_CONFIGURE_OFF= --disable-opengl USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir PCAP_CONFIGURE_ON= --enable-pcap #PCAP_EXTRA_PATCHES= ${FILESDIR}/pcap-patch-qapi_net.json ${FILESDIR}/pcap-patch-net_net.c \ # ${FILESDIR}/pcap-patch-net_clients.h VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 VDE_CONFIGURE_OFF= --disable-vde STATIC_LINK_CONFIGURE_ON= --static STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static NCURSES_USES= ncurses:base SAMBA_USES= samba:run # smbd SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html \ sphinx-build:textproc/py-sphinx DOCS_USES= makeinfo DOCS_MAKE_ARGS_OFF= NOPORTDOCS=1 PORTDOCS= docs index.html interop/.buildinfo interop/* qemu-ga-ref.html qemu-ga-ref.txt \ qemu-qmp-ref.html qemu-qmp-ref.txt specs/.buildinfo specs/* system/.buildinfo \ system/* tools/.buildinfo tools/* user/.buildinfo user/* WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CFLAGS_amd64+= -fPIC CONFIGURE_ARGS= --localstatedir=/var \ --extra-ldflags=-L\"${LOCALBASE}/lib\" --enable-debug \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ --enable-debug-info --python=${PYTHON_CMD} \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" INSTALLS_ICONS= yes .include .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" MAKE_ARGS+= ARCH=ppc .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif PLIST_SUB+= LINUXBOOT_DMA="" # -lprocstat actually only _needs_ -lelf after r249666 or r250870 (MFC) # but it shouldn't matter much post-patch: # @${REINPLACE_CMD} -e '/LIBS/s|-lprocstat|-lprocstat -lelf|' \ # -e '/libusb/s/ --atleast-version=1\.0\.[0-9]*//' \ # ${WRKSRC}/configure # @${REINPLACE_CMD} -E \ # -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing -I.|" \ # -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ # ${WRKSRC}/Makefile post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h # XXX need to disable usb host code on head while it's not ported to the # new usb stack yet post-configure: @${REINPLACE_CMD} -E \ -e "s|^(HOST_USB=)bsd|\1stub|" \ ${WRKSRC}/config-host.mak .if !target(post-install) post-install: ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qmc2/Makefile b/emulators/qmc2/Makefile index deb39498edb4..8fd13f3f19b9 100644 --- a/emulators/qmc2/Makefile +++ b/emulators/qmc2/Makefile @@ -1,77 +1,77 @@ # Created by: alepulver PORTNAME= qmc2 PORTVERSION= 0.195 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Qt based UNIX MAME/MESS frontend RUN_DEPENDS= mame>=0.154:emulators/mame \ mess>=0.154:emulators/mess OPTIONS_DEFINE= DOCS NO_WRKSUBDIR= yes USES= compiler:c++11-lang dos2unix gl gmake qt:5 sdl tar:bzip2 xorg USE_XORG= x11 xmu USE_GL= gl glu USE_QT= buildtools_build core declarative gui multimedia \ network opengl qmake_build \ testlib script scripttools sql svg \ webkit widgets xml xmlpatterns USE_SDL= sdl CXXFLAGS+= -I${LOCALBASE}/include/SDL/ MAKE_ARGS= QTDIR="${PREFIX}" QMAKE="${QMAKE}" \ SYSCONFDIR="${PREFIX}/etc" ARCH="${OPSYS}" \ CC_FLAGS="${CFLAGS} -DUSE_FILE32API" \ CXX_FLAGS="${CXXFLAGS} -DUSE_FILE32API" \ CC="${CC}" CXX="${CXX}" LINK="${CXX}" DESKTOP_ENTRIES="QMC2" "MAME frontend" "${DATADIR}/img/mame.png" \ "${PORTNAME}-sdlmame" "Game;Emulator;Qt;" "true" \ "QMC2 Arcade" "QMC2 Arcade Mode" "${DATADIR}/img/qmc2-arcade.png" \ "${PORTNAME}-arcade" "Game;Emulator;Qt;" "true" \ "CHDMAN GUI" "Qt CHDMAN GUI" "${DATADIR}/img/qchdman.png" \ "qchdman" "Game;Emulator;Qt;" "true" \ # This seems to be third-party, and has DOS line-endings. It also # needs to be patched because of a confusing build error: #define True 1 # is a bad idea in C++ code that *also* uses True as an identifier # in some scopes. DOS2UNIX_FILES= qmc2/lzma/7zTypes.h post-patch: @${CP} ${FILESDIR}/Makefile ${WRKSRC} @(cd ${WRKSRC}/qmc2/inst; ${SED} -e 's|DATADIR|${PREFIX}/share|' \ < qmc2.ini.template > qmc2.ini) @${REINPLACE_CMD} -e 's/bash/sh/' ${WRKSRC}/qmc2/scripts/sdl-libs.sh do-install: (cd ${WRKSRC}/qmc2 && ${INSTALL_PROGRAM} qmc2-sdlmame \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/qmc2/arcade && ${INSTALL_PROGRAM} qmc2-arcade \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/qmc2/tools/qchdman && ${INSTALL_PROGRAM} qchdman \ ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${ETCDIR} (cd ${WRKSRC}/qmc2/inst && ${INSTALL_DATA} qmc2.ini \ ${STAGEDIR}${ETCDIR}) @${MKDIR} ${STAGEDIR}${DATADIR}/img @(cd ${WRKSRC}/qmc2/data/img; ${COPYTREE_SHARE} . \ ${STAGEDIR}${DATADIR}/img) @${MKDIR} ${STAGEDIR}${DATADIR}/lng (cd ${WRKSRC}/qmc2/data/lng && ${INSTALL_DATA} qmc2_*.qm \ ${STAGEDIR}${DATADIR}/lng) @${MKDIR} ${STAGEDIR}${DATADIR}/opt @(cd ${WRKSRC}/qmc2/data/opt; ${COPYTREE_SHARE} . \ ${STAGEDIR}${DATADIR}/opt) @${MKDIR} ${STAGEDIR}${DOCSDIR}/html @(cd ${WRKSRC}/qmc2/data/doc/html; ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}/html) .include diff --git a/emulators/sameboy/Makefile b/emulators/sameboy/Makefile index b139e1061366..c2487a6adc34 100644 --- a/emulators/sameboy/Makefile +++ b/emulators/sameboy/Makefile @@ -1,41 +1,42 @@ PORTNAME= sameboy DISTVERSIONPREFIX= v DISTVERSION= 0.14.3 +PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= tobik@FreeBSD.org COMMENT= Game Boy and Game Boy Color emulator written in C LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rgbds>0:devel/rgbds USES= compiler:c11 desktop-file-utils gl gmake pkgconfig sdl \ shared-mime-info USE_GITHUB= yes GH_ACCOUNT= LIJI32 GH_PROJECT= SameBoy USE_GL= gl USE_SDL= sdl2 MAKE_ARGS= FREEDESKTOP=true ALL_TARGET= sdl # -flto LDFLAGS+= -fuse-ld=lld OPTIONS_DEFINE= LIBRETRO OPTIONS_DEFAULT= LIBRETRO OPTIONS_SUB= yes LIBRETRO_DESC= Build libretro core post-build-LIBRETRO-on: @${DO_MAKE_BUILD} -C ${WRKSRC} libretro post-install-LIBRETRO-on: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/libretro ${INSTALL_LIB} ${WRKSRC}/build/bin/sameboy_libretro.so \ ${STAGEDIR}${PREFIX}/lib/libretro .include diff --git a/emulators/ukncbtl/Makefile b/emulators/ukncbtl/Makefile index ce6fda080f62..bbd6eaa9c9a8 100644 --- a/emulators/ukncbtl/Makefile +++ b/emulators/ukncbtl/Makefile @@ -1,40 +1,41 @@ PORTNAME= ukncbtl DISTVERSION= g20201017 +PORTREVISION= 2 CATEGORIES= emulators MAINTAINER= makc@FreeBSD.org COMMENT= UKNC (Elektronika MS-0511) emulator LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang gl qmake qt:5 USE_GL= gl USE_QT= core gui multimedia network script testlib widgets \ buildtools_build qmake_build USE_GITHUB= yes GH_ACCOUNT= nzeemin GH_PROJECT= ukncbtl-qt GH_TAGNAME= 812cde85 DESKTOP_ENTRIES= "UkncBtl" \ "" \ "${PREFIX}/share/pixmaps/ukncbtl.png" \ "${PORTNAME}" \ "" \ true PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/ukncbtl.png post-patch: ${REINPLACE_CMD} '/^#include/s,malloc.h,stdlib.h,' ${WRKSRC}/stdafx.h ${REINPLACE_CMD} '/^TARGET/s,QtUkncBtl,${PORTNAME},' ${WRKSRC}/QtUkncBtl.pro do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/images/ukncbtl.png ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile index 5c4e6d803ad2..38b133b5cca0 100644 --- a/emulators/vice/Makefile +++ b/emulators/vice/Makefile @@ -1,106 +1,106 @@ # Created by: dchapes@ddm.on.ca PORTNAME= vice PORTVERSION= 3.5 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= SF/vice-emu/releases MAINTAINER= dinoex@FreeBSD.org COMMENT= Emulator for Commodore C64, C128, VIC20, PET, and CBM-II LICENSE= GPLv2 ROM LICENSE_COMB= multi LICENSE_NAME_ROM= Commodore ROMs LICENSE_TEXT_ROM= ROMs are copyrighted by Commodore Business Machines LICENSE_PERMS_ROM= auto-accept BUILD_DEPENDS= xa65:devel/xa65 \ xdg-open:devel/xdg-utils LIB_DEPENDS= libpng.so:graphics/png \ libgif.so:graphics/giflib \ libportaudio.so:audio/portaudio \ libmp3lame.so:audio/lame \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libavcodec.so:multimedia/ffmpeg \ libFLAC.so:audio/flac \ libpci.so:devel/libpci \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpcre2-8.so:devel/pcre2 \ libgnutls.so:security/gnutls USES= compiler:c++11-lang pkgconfig makeinfo localbase:ldflags \ gmake iconv:wchar_t jpeg readline gettext xorg USE_XORG= xpm ice sm xext xv xt x11 xmu xxf86vm USE_XORG+= xrender xinerama xi xrandr xcursor xcomposite xdamage xfixes HAS_CONFIGURE= yes MAKE_ENV+= MAKEINFOFLAGS="--no-split" \ XDG_DATA_DIRS=${STAGEDIR}/${PREFIX}/share CFLAGS+= -fcommon CONFIGURE_ARGS+= --enable-ipv6 \ --enable-external-ffmpeg \ --enable-x64 \ --disable-realdevice \ --disable-pdf-docs \ --infodir="${PREFIX}/${INFO_PATH}" \ --localedir="${LOCALBASE}/share/locale" \ --disable-dependency-tracking \ DOS2UNIX=true OPTIONS_DEFINE= SDLSOUND ALSA PULSEAUDIO DOCS OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= GTK3UI SDLUI2 OPTIONS_DEFAULT?= GTK3UI SDLSOUND ALSA NO_OPTIONS_SORT=yes OPTIONS_SUB= yes GTK3UI_DESC= use GTK3 user interface SDLUI2_DESC= use SDL2 user interface SDLSOUND_DESC= build with SDL2 sound system support GTK3UI_USES= desktop-file-utils GTK3UI_CONFIGURE_ENABLE= native-gtk3ui desktop-files GTK3UI_BUILD_DEPENDS= bash:shells/bash SDLUI2_USES= sdl SDLUI2_USE= SDL=sdl2 SDL=image2 SDLUI2_CONFIGURE_ENABLE= sdlui2 SDLSOUND_USES= sdl SDLSOUND_USE= SDL=sdl2 SDLSOUND_CONFIGURE_ON= --with-sdlsound ALSA_CONFIGURE_OFF= --without-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_CONFIGURE_OFF= --without-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include .if !defined(BUILDING_INDEX) __pmlinks1!= ${ECHO_CMD} '${LMLINKS:S/ / /}' | ${AWK} \ '{ if (NF % 2 != 0) { print "broken"; exit; } \ for (i=1; i<=NF; i++) { \ if ( i % 2 == 0) { print " " $$i " ;"; } \ else { printf "${LN} -s " $$i " "; } \ } }' .endif .if ${PORT_OPTIONS:MGTK3UI} USES+= gnome gl USE_GNOME+= gtk30 vte3 cairo gdkpixbuf2 pango USE_GL+= glu gl glew .endif .if ${PORT_OPTIONS:MDOCS} INFO+= vice .endif pre-configure: .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's| doc||' ${WRKSRC}/Makefile.in .endif # workaround for xdg-desktop-menu pre-install-GTK3UI-on: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/desktop-directories .include diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile index 81a872060084..624e970a5dfb 100644 --- a/emulators/virtualbox-ose-legacy/Makefile +++ b/emulators/virtualbox-ose-legacy/Makefile @@ -1,413 +1,413 @@ # Created by: Bernhard Froehlich PORTNAME= virtualbox-ose PORTVERSION= 5.2.44 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= emulators MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/ PKGNAMESUFFIX?= -legacy DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS} EXTRACT_ONLY= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= vbox@FreeBSD.org COMMENT= General-purpose full virtualizer for x86 hardware LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild BUILD_DEPENDS= yasm:devel/yasm \ xsltproc:textproc/libxslt \ kmk:devel/kBuild \ gtar:archivers/gtar LIB_DEPENDS= libpng.so:graphics/png \ libxslt.so:textproc/libxslt \ libcurl.so:ftp/curl RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-legacy CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION} ONLY_FOR_ARCHS= i386 amd64 USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2 USE_GNOME= libidl libxml2 HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-java --passive-mesa CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose-additions-* \ virtualbox-ose-devel-[0-9]* \ virtualbox-ose-[0-9]* \ virtualbox-ose-lite-[0-9]* PORTSCOUT= limit:^5\. LDFLAGS= -lpthread VBOXUSER?= vboxusers VBOXWSUSER?= vboxusers VBOXGROUP?= vboxusers USERS= ${VBOXUSER} GROUPS= ${VBOXGROUP} VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} VBOX_DIR_REL= lib/virtualbox VBOX_LINKS= VBoxVRDP VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ VBoxManage VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ VBoxSVC VBoxXPCOMIPCD OPTIONS_DEFINE= ALSA DBUS DEBUG GUESTADDITIONS MANUAL NLS PULSEAUDIO \ PYTHON QT5 R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE VPX X11 OPTIONS_DEFAULT= DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11 OPTIONS_SUB= yes DEBUG_DESC= Debug symbols, additional logs and assertions GUESTADDITIONS_DESC= Build with Guest Additions MANUAL_DESC= Build with user manual 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_CONFIGURE_OFF= --disable-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib DBUS_CONFIGURE_OFF= --disable-dbus DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DEBUG_CONFIGURE_ON= --build-debug MANUAL_BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:textproc/docbook-xml MANUAL_CONFIGURE_OFF= --disable-docs NLS_IMPLIES= QT5 PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PYTHON_CONFIGURE_OFF= --disable-python QT5_IMPLIES= X11 R0LOGGING_IMPLIES= DEBUG UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel VDE_CONFIGURE_ON= --enable-vde VDE_RUN_DEPENDS= vde_switch:net/vde2 VNC_CONFIGURE_ON= --enable-vnc VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VPX_CONFIGURE_OFF= --disable-libvpx VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx X11_CONFIGURE_OFF= --build-headless ENV= .export ENV PLIST_SUB= GUEST_VER=${PORTVERSION} \ PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \ VBOXGROUP=${VBOXGROUP} SUB_LIST= VBOXDIR=${VBOX_DIR} \ VBOXGROUP=${VBOXGROUP} \ VBOXUSER=${VBOXUSER} \ VBOXWSUSER=${VBOXWSUSER} USE_RC_SUBR= vboxheadless vboxwatchdog .include .if ${SLAVE_PORT} == no CONFLICTS_INSTALL+= virtualbox-ose-nox11-[0-9]* OPTIONS_DEFAULT+= PYTHON .else CONFLICTS_INSTALL+= virtualbox-ose-[0-9]* .endif .if ${ARCH} == "amd64" _ELF32!= kldstat -q -m elf32 && echo yes || echo 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_${PORTVERSION}.iso LICENSE+= Additions LICENSE_COMB= multi LICENSE_NAME_Additions= Guest Additions LICENSE_PERMS_Additions= auto-accept LICENSE_DISTFILES_Additions= ${GUESTADDITIONS} .endif .if ${PORT_OPTIONS:MMANUAL} DBKXMLDIR= ${LOCALBASE}/share/xml/docbook/4.4 DBKXSLDIR= ${LOCALBASE}/share/xsl/docbook USE_TEX= dvipsk:build formats:build .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python USE_PYTHON= distutils noegginfo noflavors PYDISTUTILS_PKGNAME= vboxapi PYDISTUTILS_PKGVERSION= 1.0 .else USES+= python:build .endif .if ${PORT_OPTIONS:MQT5} CONFIGURE_ARGS+= --enable-qt5 PLIST_SUB+= QT="" USES+= gl qmake:no_env qt:5 xorg USE_GL= gl glu USE_QT= buildtools_build core dbus gui linguisttools_build opengl USE_QT+= printsupport widgets x11extras USE_XORG= xcb INSTALLS_ICONS= yes VBOX_PROGS+= VirtualBox VBOX_UTILS+= VBoxTestOGL VBOX_WITH_QT= 1 .else CONFIGURE_ARGS+= --disable-qt PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MWEBSERVICE} BUILD_DEPENDS+= soapcpp2:devel/gsoap USE_RC_SUBR+= vboxwebsrv VBOX_LINKS+= vboxwebsrv VBOX_UTILS+= vboxwebsrv webtest .endif .if ${PORT_OPTIONS:MX11} USES+= sdl USE_SDL= sdl USE_XORG+= xorgproto x11 xcursor xext xinerama xmu xt 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' >> \ ${WRKSRC}/LocalConfig.kmk @${REINPLACE_CMD} -E -e '/soap_socket_errno\(/s/(soap_socket_errno)(\([^)]+\))/\1/' \ ${WRKSRC}/src/VBox/Main/webservice/vboxweb.cpp .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 @${REINPLACE_CMD} -e 's|/usr/local/lib/virtualbox|${VBOX_DIR}|' \ -e 's|/usr/local|${PREFIX}|' \ ${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 && \ ${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:MMANUAL} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${KMK_BUILDDIR}/bin/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/Makefile b/emulators/virtualbox-ose/Makefile index bc7ef3e08e17..02de351a56fa 100644 --- a/emulators/virtualbox-ose/Makefile +++ b/emulators/virtualbox-ose/Makefile @@ -1,430 +1,431 @@ # Created by: Bernhard Froehlich PORTNAME= virtualbox-ose PORTVERSION= 6.1.22 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/ DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS} EXTRACT_ONLY= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= vbox@FreeBSD.org COMMENT= General-purpose full virtualizer for x86 hardware LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= yasm:devel/yasm \ xsltproc:textproc/libxslt \ kmk:devel/kBuild \ gtar:archivers/gtar LIB_DEPENDS= libpng.so:graphics/png \ libxslt.so:textproc/libxslt \ libcurl.so:ftp/curl RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION} ONLY_FOR_ARCHS= amd64 USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2 USE_GNOME= libidl libxml2 HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-java --passive-mesa CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose-additions-* \ virtualbox-ose-devel-[0-9]* \ virtualbox-ose-legacy-[0-9]* \ virtualbox-ose-lite-[0-9]* VBOXUSER?= vboxusers VBOXWSUSER?= vboxusers VBOXGROUP?= vboxusers USERS= ${VBOXUSER} GROUPS= ${VBOXGROUP} VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} VBOX_DIR_REL= lib/virtualbox VBOX_LINKS= VBoxVRDP VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ VBoxManage VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ VBoxSVC VBoxXPCOMIPCD OPTIONS_DEFINE= AIO ALSA DBUS DEBUG GUESTADDITIONS MANUAL NLS OPUS PULSEAUDIO \ PYTHON QT5 R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE VPX X11 OPTIONS_DEFAULT= AIO DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11 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 MANUAL_DESC= Build with user manual 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 VDE_DESC= Build with VDE support VNC_DESC= Build with VNC support VPX_DESC= Use libvpx for video recording WEBSERVICE_DESC= Build Webservice ALSA_CONFIGURE_OFF= --disable-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib DBUS_CONFIGURE_OFF= --disable-dbus DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DEBUG_CONFIGURE_ON= --build-debug MANUAL_BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:textproc/docbook-xml MANUAL_CONFIGURE_OFF= --disable-docs NLS_IMPLIES= QT5 OPUS_CONFIGURE_OFF= --disable-libopus OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_IMPLIES= VPX PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PYTHON_CONFIGURE_OFF= --disable-python QT5_IMPLIES= X11 R0LOGGING_IMPLIES= DEBUG UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel VDE_CONFIGURE_ON= --enable-vde VDE_RUN_DEPENDS= vde_switch:net/vde2 VNC_CONFIGURE_ON= --enable-vnc VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VPX_CONFIGURE_OFF= --disable-libvpx VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx X11_CONFIGURE_OFF= --build-headless ENV= .export ENV PLIST_SUB= GUEST_VER=${PORTVERSION} \ PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \ VBOXGROUP=${VBOXGROUP} SUB_LIST= VBOXDIR=${VBOX_DIR} \ VBOXGROUP=${VBOXGROUP} \ VBOXUSER=${VBOXUSER} \ VBOXWSUSER=${VBOXWSUSER} USE_RC_SUBR= vboxheadless vboxwatchdog .include .if ${SLAVE_PORT} == no CONFLICTS_INSTALL+= virtualbox-ose-nox11-[0-9]* OPTIONS_DEFAULT+= PYTHON .else CONFLICTS_INSTALL+= virtualbox-ose-[0-9]* .endif .if ${ARCH} == "amd64" _ELF32!= kldstat -q -m elf32 && echo yes || echo no .endif .if ${PORT_OPTIONS:MDEBUG} KMK_BUILDTYPE= debug KMK_FLAGS+= BUILD_TYPE=debug WITH_DEBUG= yes .else KMK_BUILDTYPE= release .endif .if ${PORT_OPTIONS:MGUESTADDITIONS} GUESTADDITIONS= VBoxGuestAdditions_${PORTVERSION}.iso LICENSE+= Additions LICENSE_COMB= multi LICENSE_NAME_Additions= Guest Additions LICENSE_PERMS_Additions= auto-accept LICENSE_DISTFILES_Additions= ${GUESTADDITIONS} .endif .if ${PORT_OPTIONS:MMANUAL} DBKXMLDIR= ${LOCALBASE}/share/xml/docbook/4.4 DBKXSLDIR= ${LOCALBASE}/share/xsl/docbook USE_TEX= dvipsk:build formats:build .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python USE_PYTHON= distutils noegginfo noflavors PYDISTUTILS_PKGNAME= vboxapi PYDISTUTILS_PKGVERSION= 1.0 .else USES+= python:build .endif .if ${PORT_OPTIONS:MQT5} CONFIGURE_ARGS+= --enable-qt5 PLIST_SUB+= QT="" USES+= gl qmake:no_env qt:5 xorg USE_GL= gl glu USE_QT= buildtools_build core dbus gui linguisttools_build opengl USE_QT+= printsupport widgets x11extras USE_XORG= xcb INSTALLS_ICONS= yes VBOX_PROGS+= VirtualBox VirtualBoxVM VBOX_UTILS+= VBoxTestOGL VBOX_WITH_QT= 1 .else CONFIGURE_ARGS+= --disable-qt PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MWEBSERVICE} BUILD_DEPENDS+= soapcpp2:devel/gsoap USE_RC_SUBR+= vboxwebsrv VBOX_LINKS+= vboxwebsrv VBOX_UTILS+= vboxwebsrv webtest .endif .if ${PORT_OPTIONS:MX11} USES+= sdl xorg USE_SDL= sdl USE_XORG+= xorgproto x11 xcursor xext xinerama xmu xt 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 ${CHOSEN_COMPILER_TYPE} == clang # llvm10 in FreeBSD before r364284 miscompiles virtualbox 6.1 causing errors. # force llvm11 from ports .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300109 BUILD_DEPENDS+= clang11:devel/llvm${VBOX_LLVM_VER} CC= ${LOCALBASE}/bin/clang${VBOX_LLVM_VER} CXX= ${LOCALBASE}/bin/clang++${VBOX_LLVM_VER} VBOX_LLVM_VER?= 11 .endif PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src-VBox-Devices-PC-ipxe-Makefile.kmk .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 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' >> \ ${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 @${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|/usr/local/lib/virtualbox|${VBOX_DIR}|' \ -e 's|/usr/local|${PREFIX}|' \ ${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 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 && \ ${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:MMANUAL} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${KMK_BUILDDIR}/bin/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/visualboyadvance-m/Makefile b/emulators/visualboyadvance-m/Makefile index 26480c916662..bb7050077a81 100644 --- a/emulators/visualboyadvance-m/Makefile +++ b/emulators/visualboyadvance-m/Makefile @@ -1,102 +1,102 @@ # Created by: Nicole Reid PORTNAME= visualboyadvance-m PORTVERSION= 2.0.0b2 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= emulators MAINTAINER= root@cooltrainer.org COMMENT= Game Boy Advance emulator with GTK frontend LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/doc/gpl.txt BROKEN_aarch64= fails to build: regparm is not valid on this platform BROKEN_armv6= fails to build: regparm is not valid on this platform BROKEN_armv7= fails to build: regparm is not valid on this platform LIB_DEPENDS= libpng.so:graphics/png USES= cmake:insource,noninja compiler:c++11-lang dos2unix gl gnome \ pkgconfig sdl xorg DOS2UNIX_REGEX= .*\.(c|cpp|h|ypp) USE_XORG= x11 xext USE_GL= gl glu USE_SDL= sdl INSTALLS_ICONS= yes CMAKE_ARGS= -DVERSION:STRING="${PORTVERSION}" \ -DSYSCONFDIR:STRING="${PREFIX}/etc" \ -DENABLE_WX:BOOL=no USE_GITHUB= yes GH_TAGNAME= VBA-M_Beta_2 OPTIONS_DEFINE= NLS FFMPEG LINK LIRC DEBUGGER OPTIONS_MULTI= INTERFACE OPTIONS_MULTI_INTERFACE= GVBAM SDL OPTIONS_DEFINE_i386= ASMCORE ASMSCALERS OPTIONS_DEFAULT= DEBUGGER SDL OPTIONS_SUB= yes GVBAM_DESC= Enable GTK interface SDL_DESC= Enable SDL interface FFMPEG_DESC= Enable FFmpeg A/V recording LINK_DESC= Enable GBA linking functionality LIRC_DESC= Enable LIRC infrared support DEBUGGER_DESC= Enable the debugger ASMCORE_DESC= Enable x86 ASM CPU cores (i386 only) ASMSCALERS_DESC= Enable x86 ASM graphic filters (i386 only) ASMCORE_BUILD_DEPENDS= as:devel/binutils ASMCORE_CMAKE_BOOL= ENABLE_ASM_CORE ASMSCALERS_BUILD_DEPENDS= nasm:devel/nasm ASMSCALERS_CMAKE_BOOL= ENABLE_ASM_SCALERS GVBAM_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgdkglext-x11-1.0.so:x11-toolkits/gtkglext \ libgdkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm GVBAM_USES= desktop-file-utils GVBAM_USE= GNOME=gtkmm24,pangox-compat GVBAM_CMAKE_BOOL= ENABLE_GTK SDL_IMPLIES= DEBUGGER SDL_CMAKE_BOOL= ENABLE_SDL DEBUGGER_CMAKE_BOOL= ENABLE_DEBUGGER FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= ENABLE_FFMPEG NLS_USES= gettext NLS_CMAKE_BOOL= ENABLE_NLS LINK_CMAKE_BOOL= ENABLE_LINK LINK_LIB_DEPENDS= libsfml-system.so:devel/sfml LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_RUN_DEPENDS= lircd:comms/lirc LIRC_CMAKE_BOOL= ENABLE_LIRC post-patch: @${REINPLACE_CMD} -e '/SET.*LIRC_CLIENT_LIBRARY/ s|lirc_client|${LOCALBASE}/lib/lib&.so|; \ s|share/man|man|' ${WRKSRC}/CMakeLists.txt maint-gen-distfile: @if [ -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ ${ECHO_CMD} "ERROR: the distfile already exists."; \ ${FALSE}; \ fi svn export -r${SVN_REV} \ https://svn.code.sf.net/p/vbam/code/trunk/ ${DISTNAME} ${TAR} jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME} ${RM} -r ${DISTNAME} post-install-SDL-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vbam post-install-GVBAM-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gvbam .include diff --git a/emulators/wine-proton/Makefile b/emulators/wine-proton/Makefile index 50497ccb5a97..40a9bfa8b42c 100644 --- a/emulators/wine-proton/Makefile +++ b/emulators/wine-proton/Makefile @@ -1,124 +1,125 @@ PORTNAME= wine-proton DISTVERSION= 6.3-2 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= iwtcex@gmail.com COMMENT= Wine with a bit of extra spice LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex LIB_DEPENDS= libFAudio.so:audio/faudio \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgnutls.so:security/gnutls \ libjpegxr.so:graphics/libjxr \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libvulkan.so:graphics/vulkan-loader \ libxml2.so:textproc/libxml2 USES= bison desktop-file-utils gettext-runtime gl gmake gnome jpeg localbase openal pkgconfig sdl shebangfix tar:xz xorg USE_GCC= yes USE_GITHUB= yes GH_ACCOUNT= ValveSoftware GH_PROJECT= wine GH_TAGNAME= 97f962cd469ee9b9b68d32e79849bf94cfe15581 USE_GL= gl USE_GNOME= glib20 USE_GSTREAMER1= good USE_SDL= sdl2 USE_XORG= x11 xext xcomposite xcursor xi xinerama xrandr xrender SHEBANG_FILES= tools/make_requests tools/winemaker/winemaker \ tools/winedump/function_grep.pl GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${PREFIX}/${PORTNAME} CONFIGURE_ARGS= --verbose \ --libdir=${PREFIX}/${PORTNAME}/lib \ --disable-kerberos \ --disable-tests \ --with-cms \ --with-fontconfig \ --with-freetype \ --with-gnutls \ --with-gstreamer \ --with-jpeg \ --with-jxrlib \ --with-openal \ --with-opengl \ --with-oss \ --with-png \ --with-sdl \ --with-vulkan \ --with-x \ --with-xinerama \ --with-xinput2 \ --with-xrandr \ --with-xrender \ --without-alsa \ --without-capi \ --without-cups \ --without-dbus \ --without-gettext \ --without-gettextpo \ --without-gphoto \ --without-gsm \ --without-inotify \ --without-krb5 \ --without-ldap \ --without-mingw \ --without-mpg123 \ --without-opencl \ --without-osmesa \ --without-pulse \ --without-sane \ --without-tiff \ --without-udev \ --without-unwind \ --without-usb \ --without-v4l2 \ --without-vkd3d \ --without-xslt CONFIGURE_ENV= CPPBIN="${CPP}" FLEX="${LOCALBASE}/bin/flex" JXRLIB_CFLAGS="-I${LOCALBASE}/include/jxrlib" .include .if ${ARCH} == amd64 PLIST_SUB+= WINE32="@comment " WINE64="" CONFIGURE_ARGS+=--enable-win64 .else PLIST_SUB+= WINE32="" WINE64="@comment " .endif pre-build: cd ${WRKSRC} && ${MAKE_CMD} depend post-install: .if ${ARCH} == i386 ${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wineserver ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wineserver32 ${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine.bin ${INSTALL_SCRIPT} ${FILESDIR}/wine.sh ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine .else ${INSTALL_SCRIPT} ${FILESDIR}/pkg32.sh ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/pkg32.sh ${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine64 ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine64.bin ${INSTALL_SCRIPT} ${FILESDIR}/wine.sh ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine64 ${INSTALL_SCRIPT} ${FILESDIR}/wine-wow64.sh ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine .endif ${RM} -r ${STAGEDIR}${PREFIX}/${PORTNAME}/include ${RM} -r ${STAGEDIR}${MANPREFIX}/man ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README ANNOUNCE AUTHORS ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/finance/qtbitcointrader/Makefile b/finance/qtbitcointrader/Makefile index 94796b2ade61..4df5f748b5ce 100644 --- a/finance/qtbitcointrader/Makefile +++ b/finance/qtbitcointrader/Makefile @@ -1,24 +1,25 @@ PORTNAME= QtBitcoinTrader DISTVERSION= 1.40.55 +PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= SF/bitcointrader/SRC/ MAINTAINER= yuri@FreeBSD.org COMMENT= Secure client uses latest OpenSSL and best encryption LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.GPL3 USES= compiler:c++11-lib gl qmake qt:5 ssl xorg USE_QT= core gui multimedia network script speech widgets buildtools_build USE_GL= gl WRKSRC_SUBDIR= src QMAKE_ARGS= DESKTOPDIR=${PREFIX}/share/applications ICONDIR=${PREFIX}/share/pixmaps PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png .include diff --git a/games/0ad/Makefile b/games/0ad/Makefile index 668290d5ab42..07bcde579149 100644 --- a/games/0ad/Makefile +++ b/games/0ad/Makefile @@ -1,93 +1,93 @@ PORTNAME= 0ad PORTVERSION= 0.0.24b -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= http://releases.wildfiregames.com/ \ SF/zero-ad/releases DISTFILES= ${PORTNAME}-${PORTVERSION}-alpha-unix-build.tar.xz \ ${PORTNAME}-${PORTVERSION}-alpha-unix-data.tar.xz MAINTAINER= madpilot@FreeBSD.org COMMENT= Real-time strategy (RTS) game of ancient warfare BROKEN_FreeBSD_11= fails to link: undefined reference to gloox::Client::Client(...) 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 LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libicui18n.so:devel/icu \ libpng.so:graphics/png \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libcurl.so:ftp/curl \ libgloox.so:net-im/gloox \ libminiupnpc.so:net/miniupnpc \ libnspr4.so:devel/nspr \ libenet.so:net/enet \ libtiff.so:graphics/tiff \ libsodium.so:security/libsodium \ libfmt.so:devel/libfmt USES= compiler:c++11-lib desktop-file-utils dos2unix gl gmake gnome \ iconv jpeg openal:al perl5 pkgconfig python:build sdl tar:xz \ xorg USE_GNOME= libxml2 USE_GL= gl USE_SDL= sdl2 USE_XORG= x11 xcursor USE_PERL5= build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha 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-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|%%CC%%|${CC}|' \ ${WRKSRC}/build/premake/premake5.lua ${WRKSRC}/build/premake/extern_libs5.lua .if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc @${REINPLACE_CMD} -e '1055,1251s/-rdynamic/-lssp_nonshared &/' \ -e '1441s/"execinfo",/& "ssp_nonshared",/' \ ${WRKSRC}/build/premake/premake5.lua .endif @${REINPLACE_CMD} 's,^\(Exec=\)/usr/local,\1${PREFIX},' \ ${WRKSRC}/build/resources/0ad.desktop @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/build/resources/0ad.sh pre-build: (cd ${WRKSRC}/build/workspaces && ${SETENV} ${MAKE_ENV} ./update-workspaces.sh --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 libmozjs78-ps-release.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/DDNet/Makefile b/games/DDNet/Makefile index 2a305a928725..99429c0a45cf 100644 --- a/games/DDNet/Makefile +++ b/games/DDNet/Makefile @@ -1,70 +1,71 @@ PORTNAME= DDNet PORTVERSION= 15.5.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://ddnet.tw/downloads/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= DDraceNetwork, a cooperative racing mod of Teeworlds LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/license.txt USES= cmake compiler:c++11-lang pkgconfig python sqlite:3 ssl tar:xz CMAKE_ARGS= -DPYTHON_EXECUTABLE="${PYTHON_CMD}" CMAKE_OFF= AUTOUPDATE DOWNLOAD_GTEST PREFER_BUNDLED_LIBS CXXFLAGS+= -DBINARY_DIR="\\\"${PREFIX}/bin\\\"" PORTDATA= * DATADIR= ${PREFIX}/share/ddnet OPTIONS_DEFINE= CLIENT TEST WEBSOCKETS MYSQL VIDEORECORDER UPNP OPTIONS_DEFAULT= CLIENT TEST VIDEORECORDER UPNP OPTIONS_SUB= yes CLIENT_DESC= Build game client CLIENT_CMAKE_BOOL= CLIENT CLIENT_USES= gettext gl sdl xorg desktop-file-utils CLIENT_USE= GL=gl,glew XORG=x11 SDL=sdl2 CLIENT_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libwavpack.so:audio/wavpack \ libpnglite.so:graphics/pnglite \ libopusfile.so:audio/opusfile \ libopus.so:audio/opus \ libogg.so:audio/libogg \ libnotify.so:devel/libnotify \ libcurl.so:ftp/curl TEST_BUILD_DEPENDS= googletest>=0:devel/googletest TEST_TEST_TARGET= run_tests WEBSOCKETS_DESC= Enable WebSocket support for server WEBSOCKETS_CMAKE_BOOL= WEBSOCKETS WEBSOCKETS_LIB_DEPENDS= libwebsockets.so:net/libwebsockets MYSQL_DESC= Enable MySQL/MariaDB support for server MYSQL_CMAKE_BOOL= MYSQL MYSQL_USES= mysql MYSQL_LIB_DEPENDS= libmysqlcppconn.so:databases/mysql-connector-c++ VIDEORECORDER_DESC= Video recording support using FFmpeg to the client VIDEORECORDER_CMAKE_BOOL=VIDEORECORDER VIDEORECORDER_LIB_DEPENDS=libavcodec.so:multimedia/ffmpeg UPNP_DESC= UPnP support for the server UPNP_CMAKE_BOOL= UPNP UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc post-extract: # json-parser and md5 are left intact .for dep in glew pnglite wavpack zlib @${RM} -r ${WRKSRC}/src/engine/external/${dep} .endfor post-patch: @${REINPLACE_CMD} -e '/find_package.*Git/ d' ${WRKSRC}/CMakeLists.txt post-patch-TEST-off: @${REINPLACE_CMD} -e '/find_package.*GTest/ d' ${WRKSRC}/CMakeLists.txt .include diff --git a/games/KnightCap/Makefile b/games/KnightCap/Makefile index 695e583841d8..141d8b2b7430 100644 --- a/games/KnightCap/Makefile +++ b/games/KnightCap/Makefile @@ -1,32 +1,32 @@ # Created by: Andrey Zakhvatov PORTNAME= knightcap PORTVERSION= 3.6 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= http://ftp.samba.org/pub/KnightCap/ \ ftp://ftp.samba.org/pub/KnightCap/ DISTNAME= KnightCap-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Chess program with 3D interface for X Window System WRKSRC= ${WRKDIR}/Export USES= gl xorg USE_XORG= xmu xt xext x11 xi USE_GL= glut ALL_TARGET= KnightCap OPTIONS_DEFINE= DOCS DOCSDIR= ${PREFIX}/share/doc/KnightCap PORTDOCS= README PLIST_FILES= bin/KnightCap do-install: ${INSTALL_PROGRAM} ${WRKSRC}/KnightCap ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/NBlood/Makefile b/games/NBlood/Makefile index f3754dcd8108..97512d64e734 100644 --- a/games/NBlood/Makefile +++ b/games/NBlood/Makefile @@ -1,40 +1,41 @@ # Created by: Piotr Kubaj PORTNAME= NBlood DISTVERSION= g20200828 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= pkubaj@FreeBSD.org COMMENT= Reverse-engineered ports of Build games using EDuke32 engine LICENSE= GPLv2 BUILDLIC LICENSE_COMB= multi LICENSE_NAME_BUILDLIC= BUILD SOURCE CODE LICENSE LICENSE_FILE_BUILDLIC= ${WRKSRC}/source/build/buildlic.txt LICENSE_FILE_GPLv2= ${WRKSRC}/source/duke3d/gpl-2.0.txt LICENSE_PERMS_BUILDLIC= dist-mirror pkg-mirror auto-accept BUILD_DEPENDS= nasm:devel/nasm LIB_DEPENDS= libvpx.so:multimedia/libvpx \ libFLAC.so:audio/flac \ libvorbis.so:audio/libvorbis USES= compiler:gcc-c++11-lib gl gmake pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= nukeykt GH_TAGNAME= f410e02 USE_GL= glu USE_SDL= sdl2 MAKEFILE= GNUmakefile MAKE_ARGS= CC=${CC} CXX=${CXX} PLIST_FILES= bin/pcexhumed \ bin/nblood \ bin/rednukem do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pcexhumed ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/nblood ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/rednukem ${STAGEDIR}${PREFIX}/bin .include diff --git a/games/OpenDiablo2/Makefile b/games/OpenDiablo2/Makefile index 33c642a5fa67..92e89a7223d5 100644 --- a/games/OpenDiablo2/Makefile +++ b/games/OpenDiablo2/Makefile @@ -1,51 +1,52 @@ PORTNAME= OpenDiablo2 DISTVERSIONPREFIX= v DISTVERSION= 0.1-g20210514 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= eduardo@FreeBSD.org COMMENT= Open source re-implementation of Diablo 2 LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libglfw.so:graphics/glfw USES= gl go:modules openal pkgconfig xorg USE_GITHUB= yes GH_TAGNAME= a688d66 GH_TUPLE= \ JoshVarga:blast:681c804fb9f0:joshvarga_blast/vendor/github.com/JoshVarga/blast \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ go-gl:glfw:5321531c36a2:go_gl_glfw_glfw/vendor/github.com/go-gl/glfw \ go-restruct:restruct:v1.2.0-alpha:go_restruct_restruct/vendor/github.com/go-restruct/restruct \ go-sourcemap:sourcemap:v1.0.5:go_sourcemap_sourcemap/vendor/gopkg.in/sourcemap.v1 \ go-yaml:yaml:9f266ea9e77c:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ golang:exp:e3b2a7f2fdc7:golang_exp/vendor/golang.org/x/exp \ golang:image:e162460cd6b5:golang_image/vendor/golang.org/x/image \ golang:mobile:973feb4309de:golang_mobile/vendor/golang.org/x/mobile \ golang:sys:b64e53b001e4:golang_sys/vendor/golang.org/x/sys \ google:uuid:v1.1.2:google_uuid/vendor/github.com/google/uuid \ gravestench:akara:a64208a7fd3c:gravestench_akara/vendor/github.com/gravestench/akara \ hajimehoshi:ebiten:v2.0.2:hajimehoshi_ebiten_v2/vendor/github.com/hajimehoshi/ebiten/v2 \ hajimehoshi:oto:v0.6.8:hajimehoshi_oto/vendor/github.com/hajimehoshi/oto \ kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \ pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ pkg:profile:v1.5.0:pkg_profile/vendor/github.com/pkg/profile \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ robertkrimen:otto:ef014fd054ac:robertkrimen_otto/vendor/github.com/robertkrimen/otto \ stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify USE_GL= gl USE_XORG= x11 xcursor xi xinerama xrandr xxf86vm PLIST_FILES= bin/${PORTNAME} PORTDOCS= README.md OPTIONS_DEFINE= DOCS do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/games/OpenLara/Makefile b/games/OpenLara/Makefile index a321fbe9c490..d40ec2b8d978 100644 --- a/games/OpenLara/Makefile +++ b/games/OpenLara/Makefile @@ -1,31 +1,32 @@ PORTNAME= OpenLara DISTVERSION= g20210226 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= pkubaj@FreeBSD.org COMMENT= Classic Tomb Raider open-source engine LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang gl sdl USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= XProger GH_TAGNAME= b4b19f2 USE_SDL= sdl2 PLIST_FILES= bin/${PORTNAME} post-patch: ${REINPLACE_CMD} 's|g++|${CXX} ${CXXFLAGS}|' \ ${WRKSRC}/src/platform/sdl2/build.sh do-build: cd ${WRKSRC}/src/platform/sdl2 && ./build.sh do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/platform/sdl2/OpenLara \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/games/abuse_sdl/Makefile b/games/abuse_sdl/Makefile index 52f0c51a3ec0..6c478603d1e8 100644 --- a/games/abuse_sdl/Makefile +++ b/games/abuse_sdl/Makefile @@ -1,42 +1,42 @@ # Created by: Dag-Erling C. Smørgrav PORTNAME= abuse_sdl PORTVERSION= 0.8 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= GENTOO \ http://abuse.zoy.org/raw-attachment/wiki/download/ DISTNAME= abuse-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= SDL port of the Abuse game engine LICENSE= GPLv2+ PD WTFPL BPRINCE LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.GPL LICENSE_FILE_WTFPL= ${WRKSRC}/COPYING.WTFPL LICENSE_NAME_BPRINCE= Boby Prince permission for Debian to redistribute music/sfx files LICENSE_PERMS_BPRINCE= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept USES= gl localbase:ldflags pathfix sdl USE_GL= gl USE_SDL= mixer sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-assetdir=${DATADIR} --enable-release PORTDOCS= AUTHORS ChangeLog NEWS README OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="Abuse-SDL" "" "abuse" \ "abuse" "Game;StrategyGame;" "" post-install: ${INSTALL_DATA} ${WRKSRC}/doc/abuse.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/alephone/Makefile b/games/alephone/Makefile index 3c137dcf8f9d..40ba38c7e843 100644 --- a/games/alephone/Makefile +++ b/games/alephone/Makefile @@ -1,62 +1,62 @@ # Created by: Michael Alyn Miller PORTNAME= alephone DISTVERSION= 20190331 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= fiziologus@gmail.com COMMENT= Open source version of Bungies Marathon game LICENSE= GPLv3 LIB_DEPENDS= libexpat.so:textproc/expat2 \ libboost_filesystem.so:devel/boost-libs USES= autoreconf compiler:c++11-lang gmake localbase \ pkgconfig shared-mime-info sdl gl tar:bzip2 USE_SDL= sdl2 image2 net2 ttf2 USE_GL= gl glu USE_GITHUB= yes GH_ACCOUNT= Aleph-One-Marathon GH_TAGNAME= release-20190331 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa PORTDOCS= * DATADIR= ${PREFIX}/share/AlephOne OPTIONS_DEFINE= MAD FFMPEG OGG SPEEX ZZIP PNG CURL SNDFILE DOCS OPTIONS_DEFAULT=MAD FFMPEG OGG SPEEX ZZIP PNG CURL SNDFILE FFMPEG_DESC= Use ffmpeg for film export and playback ZZIP_DESC= Enable zziplib support MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CONFIGURE_WITH= mad FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CONFIGURE_WITH= ffmpeg OGG_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis OGG_CONFIGURE_WITH= vorbis SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp SPEEX_CONFIGURE_WITH= speex ZZIP_LIB_DEPENDS= libzzip.so:devel/zziplib ZZIP_CONFIGURE_WITH= zzip PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= png CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= curl SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CONFIGURE_WITH= sndfile post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR} .include diff --git a/games/alienarena/Makefile b/games/alienarena/Makefile index dc862f5b677b..63b44b1c3dd1 100644 --- a/games/alienarena/Makefile +++ b/games/alienarena/Makefile @@ -1,108 +1,108 @@ # Created by: alepulver PORTNAME= alienarena PORTVERSION= 2013.766 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MASTER_SITES= SF/alienarena.mirror/Alien%20Arena%207.66/ \ http://icculus.org/alienarena/Files/ \ http://red.planetarena.org/files/ \ GENTOO DISTNAME= ${PORTNAME}-7.66-linux20130827 MAINTAINER= acm@FreeBSD.org COMMENT= Alien Arena (native version) RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/data1/default.cfg:games/alienarena-data USES= compiler:c++11-lib dos2unix gmake USE_CXXSTD= c++11 GNU_CONFIGURE= yes CONFIGURE_WRKSRC=${WRKDIR}/${PORTNAME}-7.66/ CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+=--with-xf86vm \ --with-xf86dga \ --with-system-libode # Fix build with clang11 CFLAGS+= -fcommon EXTRACT_AFTER_ARGS= --exclude "data1" MAKE_ENV= WITH_DATADIR=yes WITH_LIBDIR=yes \ DATADIR="${DATADIR}" LIBDIR="${LIBDIR}" WRKSRC= ${WRKDIR}/${PORTNAME}-7.66/source SUB_FILES= pkg-message OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT DEDICATED CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server OPTIONS_DEFAULT= CLIENT DEDICATED PLIST_SUB= LIBDIR=${LIBDIR:S/${PREFIX}\///} LIBDIR= ${PREFIX}/lib/${PORTNAME} .include .if ${PORT_OPTIONS:MCLIENT} USES+= gl jpeg openal:soft,alut pkgconfig xorg LIB_DEPENDS+= libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libvorbis.so:audio/libvorbis \ libode.so:devel/ode USE_GL= yes USE_XORG= xxf86dga xxf86vm .endif .if ! ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MDEDICATED} CONFIGURE_ARGS+=--disable-client .endif .if ${PORT_OPTIONS:MCLIENT} PLIST_SUB+= CLIENT="" .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} PLIST_SUB+= DEDICATED="" .else PLIST_SUB+= DEDICATED="@comment " .endif post-patch: @${REINPLACE_CMD} -e "s|(CCLD)|(CXX)|g" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/client/snd_openal.c @${REINPLACE_CMD} -e "s|.codered|.config/alienarena|g" ${WRKSRC}/qcommon/qcommon.h # Resolve name collision with jpeg-8 ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ ${WRKSRC}/ref_gl/r_image.c ${REINPLACE_CMD} -e 's|inline void IQM_DrawVBO|void IQM_DrawVBO|' \ ${WRKSRC}/ref_gl/r_iqm.c do-install: ${MKDIR} ${STAGEDIR}${LIBDIR}/arena ${STAGEDIR}${LIBDIR}/data1 ${LN} -s ${DATADIR}/arena/* ${STAGEDIR}${LIBDIR}/arena ${LN} -s ${DATADIR}/botinfo ${STAGEDIR}${LIBDIR} ${LN} -s ${DATADIR}/data1/* ${STAGEDIR}${LIBDIR}/data1 .if ${PORT_OPTIONS:MCLIENT} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .endif .if ${PORT_OPTIONS:MDEDICATED} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-ded \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-ded .endif post-install: @${ECHO_CMD} @${CAT} ${PKGMESSAGE} @${ECHO_CMD} .include diff --git a/games/allacrost/Makefile b/games/allacrost/Makefile index d7be171908a1..30104f633898 100644 --- a/games/allacrost/Makefile +++ b/games/allacrost/Makefile @@ -1,55 +1,55 @@ PORTNAME= allacrost PORTVERSION= 1.0.2 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-demo/${PORTVERSION} DISTNAME= ${PORTNAME}_demo_source_${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Single player 2D role-playing game LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libboost_thread.so:devel/boost-libs GNU_CONFIGURE= yes USES= gettext gl gmake iconv jpeg localbase lua:51 openal:al sdl xorg USE_SDL= sdl ttf net USE_GL= gl glu USE_XORG= x11 USE_CXXSTD= c++98 CONFIGURE_ARGS= --datadir=${DATADIR} --enable-editor=no CPPFLAGS+= -isystem${LUA_INCDIR} LDFLAGS+= -L${LUA_LIBDIR} LDFLAGS_i386= -Wl,-znotext WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes post-patch: @${REINPLACE_CMD} -e 's|-I/usr/include/|-I${LOCALBASE}/include/|g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|exit -1|exit 1|; /CXXFLAGS=/ d; \ s|-lSDL |`${SDL_CONFIG} --libs` |' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^LIBS =/ s|$$| @INTLLIBS@|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/^bindir = / s|games|bin|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/qt4_incdirs/ s|".*"|"${QT_INCDIR}"|; \ /qt4_libdirs/ s|".*"|"${QT_LIBDIR}"|; /test/ s|==|=| ; \ s/-llua /-llua-${LUA_VER} /g;' \ ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/MANUAL ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/apoolGL/Makefile b/games/apoolGL/Makefile index 3de7d62d6aef..ee3899137a01 100644 --- a/games/apoolGL/Makefile +++ b/games/apoolGL/Makefile @@ -1,47 +1,47 @@ # Created by: Igor Pokrovsky PORTNAME= apoolGL PORTVERSION= 0.99.22 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= http://www.planetjahn.de/files/ DISTNAME= ${PORTNAME}-099-pre22 MAINTAINER= ports@FreeBSD.org COMMENT= Another billiards simulator LICENSE= GPLv2+ USES= dos2unix gl sdl USE_SDL= sdl USE_GL= gl DOS2UNIX_FILES= ApoolGL.txt # Seems dead upstream. Don't expect a proper fix. CFLAGS+= -fcommon PORTDOCS= ApoolGL.txt CHANGELOG OpenGL-Features OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/*.c do-build: ${CC} ${CFLAGS} -DDATADIR="\"${DATADIR}\"" \ `${SDL_CONFIG} --cflags --libs` \ -I${LOCALBASE}/include -L${LOCALBASE}/lib -lGL -lGLU -lm \ -o ${WRKSRC}/apool ${WRKSRC}/*.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/apool ${STAGEDIR}${PREFIX}/bin .for i in hi lo med @${MKDIR} ${STAGEDIR}${DATADIR}/textures-${i} ${INSTALL_DATA} ${WRKSRC}/textures-${i}/*.bmp ${STAGEDIR}${DATADIR}/textures-${i} .endfor ${INSTALL_DATA} ${WRKSRC}/*.dat ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/armagetronad/Makefile b/games/armagetronad/Makefile index 198cbc7f526f..77a3da597228 100644 --- a/games/armagetronad/Makefile +++ b/games/armagetronad/Makefile @@ -1,44 +1,45 @@ PORTNAME= armagetronad DISTVERSION= 0.2.8.3.5 DISTVERSIONSUFFIX= .src +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/stable/${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Tron clone in 3D LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libpng.so:graphics/png USES= autoreconf desktop-file-utils gl gmake gnome jpeg sdl GNU_CONFIGURE= yes USE_SDL= image mixer sdl USE_GL= gl glu USE_GNOME= libxml2 WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} CONFIGURE_ARGS= --disable-etc --disable-games --enable-music INSTALLS_ICONS= yes BINARY_ALIAS= sdl11-config=sdl-config OPTIONS_DEFINE= DOCS PORTDOCS= * post-install: @${MV} ${STAGEDIR}${DATADIR}/desktop/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}.desktop .for SZ in 16 32 48 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps .endfor @${MV} ${STAGEDIR}${DATADIR}/desktop/icons/small/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/${PORTNAME}.png @${MV} ${STAGEDIR}${DATADIR}/desktop/icons/medium/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png @${MV} ${STAGEDIR}${DATADIR}/desktop/icons/large/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png @${RM} -r ${STAGEDIR}${DATADIR}/desktop .include diff --git a/games/arx-libertatis/Makefile b/games/arx-libertatis/Makefile index c8fbe09e529f..b0cf18eb1b3e 100644 --- a/games/arx-libertatis/Makefile +++ b/games/arx-libertatis/Makefile @@ -1,47 +1,47 @@ PORTNAME= arx-libertatis PORTVERSION= 1.1.2 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= games MASTER_SITES= http://downloads.sourceforge.net/arx/ \ http://arx-libertatis.org/files/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Cross-platform port of Arx Fatalis LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/ARX_PUBLIC_LICENSE.txt LIB_DEPENDS= libfreetype.so:print/freetype2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/foreach.hpp:devel/boost-libs USES= cmake compiler:c++11-lang gl openal sdl tar:xz USE_SDL= sdl USE_GL= gl glew CMAKE_ARGS= -DDATA_DIR=arx \ -DSTRICT_USE=ON \ -DBUILD_CRASHREPORTER=OFF LDFLAGS_i386= -Wl,-znotext SUB_FILES= pkg-message PORTDOCS= AUTHORS CHANGELOG README.md OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes .include .if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 CFLAGS+= -mminimal-toc .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/games/assaultcube/Makefile b/games/assaultcube/Makefile index a64ce8f33530..4357cb6737c6 100644 --- a/games/assaultcube/Makefile +++ b/games/assaultcube/Makefile @@ -1,96 +1,96 @@ # Created by: alepulver PORTNAME= assaultcube PORTVERSION= 1.2.0.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= SF/actiongame/AssaultCube%20Version%20${PORTVERSION} DISTNAME= AssaultCube_v${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Total conversion of the FPS game called Cube LICENSE= ACUBE CUBE MIT OTHER LICENSE_COMB= multi LICENSE_NAME_ACUBE= AssaultCube ZLIB-like license with additions LICENSE_NAME_CUBE= Cube game engine ZLIB-like license with additions LICENSE_NAME_OTHER= various package licences LICENSE_FILE_ACUBE= ${WRKSRC}/source/README.txt LICENSE_FILE_CUBE= ${WRKSRC}/source/README_CUBEENGINE.txt LICENSE_FILE_OTHER= ${WRKSRC}/docs/package_copyrights.txt LICENSE_PERMS_ACUBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_CUBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_OTHER= dist-mirror pkg-mirror auto-accept USES= gmake tar:bzip2 LDFLAGS_i386= -Wl,-znotext WRKSRC= ${WRKDIR}/AssaultCube_v${PORTVERSION} BUILD_WRKSRC= ${WRKSRC}/source/src SUB_FILES= ${PLIST_FILES:Mbin/*:T} PORTDATA= config packages scripts PORTDOCS= * PLIST_DIRS= ${DATADIR}/packages/maps/servermaps/incoming OPTIONS_DEFINE= DOCS PORT_ENET OPTIONS_MULTI= BUILD OPTIONS_MULTI_BUILD= CLIENT DEDICATED MASTER OPTIONS_DEFAULT= CLIENT DEDICATED CLIENT_DESC= Build client CLIENT_USES= compiler:c++11-lang gettext-runtime gl openal:al sdl \ xorg CLIENT_USE= GL=gl SDL=image,sdl XORG=x11 CLIENT_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ libcurl.so:ftp/curl CLIENT_ALL_TARGET= client CLIENT_DESKTOP_ENTRIES= "AssaultCube" "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}_client" \ "Game;" false CLIENT_PLIST_FILES= bin/${PORTNAME}_client libexec/${PORTNAME}_client \ share/pixmaps/${PORTNAME}.png DEDICATED_DESC= Build dedicated server DEDICATED_ALL_TARGET= server DEDICATED_PLIST_FILES= bin/${PORTNAME}_server libexec/${PORTNAME}_server MASTER_DESC= Build master server MASTER_ALL_TARGET= master MASTER_PLIST_FILES= bin/${PORTNAME}_master libexec/${PORTNAME}_master PORT_ENET_DESC= Use libenet from net/enet PORT_ENET_CONFIGURE_OFF= --enable-shared=no --enable-static=yes PORT_ENET_LIB_DEPENDS= libenet.so:net/enet PORT_ENET_VARS_OFF= GNU_CONFIGURE=yes CONFIGURE_WRKSRC="${WRKSRC}/source/enet" post-patch: .SILENT ${REINPLACE_CMD} -e '/^CXXFLAGS=/d ; /^CXX=/d ; /^CLIENT_PCH/d ; \ /^INCLUDES=/s|$$| -I$$(LOCALBASE)/include| ; \ s|-I/usr/include || ; \ s|sdl-config|$$(SDL_CONFIG)| ; \ s|$$(USRLIB)|$$(LOCALBASE)/lib| ; \ /^CLIENT_LIBS=/s|$$| $$(LDFLAGS) -lintl| ; \ /^SERVER_LIBS=/s|$$| $$(LDFLAGS) -L$$(LOCALBASE)/lib|' \ ${BUILD_WRKSRC}/Makefile post-patch-PORT_ENET-on: @${REINPLACE_CMD} -i '.port_enet.bak' -e 's/libenet // ; \ s|-I\.\./enet/include|| ; \ s|-L\.\./enet/\.libs||' \ ${BUILD_WRKSRC}/Makefile do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) do-install-DOCS-on: (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) do-install-CLIENT-on: ${INSTALL_DATA} ${WRKSRC}/docs/images/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .for f in client master server post-install-${f:S|server|DEDICATED|:tu}-on: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_${f} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ac_${f} \ ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}_${f} .endfor .include diff --git a/games/asteroids3d/Makefile b/games/asteroids3d/Makefile index 512fbfb05036..82b213e02da3 100644 --- a/games/asteroids3d/Makefile +++ b/games/asteroids3d/Makefile @@ -1,58 +1,58 @@ # Created by: Rusmir Dusko PORTNAME= asteroids3d PORTVERSION= 0.5.1 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF/a3d/${PORTVERSION}/ \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTNAME= ${PORTNAME:S/3d/3D/}-${DISTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX}:icons MAINTAINER= ports@FreeBSD.org COMMENT= First-person shooter blowing up asteroids in 3D space LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= autoreconf gl gnome tar:bzip2 xorg GNU_CONFIGURE= yes CONFIGURE_ENV= with_gamesdir="${PREFIX}/bin" with_gamedatadir="${DATADIR}" USE_GL= glut CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= * INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 DESKTOP_ENTRIES="Asteroids3D" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/autogen.sh do-install: ${INSTALL_PROGRAM} ${WRKSRC}/asteroids3D \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @(cd ${WRKSRC}/src && ${COPYTREE_SHARE} "*.ub *.ppm" \ ${STAGEDIR}${DATADIR}) .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 ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/astromenace/Makefile b/games/astromenace/Makefile index 563de15dbd1b..bdf77d473ba4 100644 --- a/games/astromenace/Makefile +++ b/games/astromenace/Makefile @@ -1,60 +1,60 @@ # Created by: Oleg Alexeenkov PORTNAME= astromenace PORTVERSION= 1.4.1 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONPREFIX= v CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Hardcore 3D space shooter with spaceship upgrade possibilities LICENSE= GPLv3+ CC-BY-SA-4.0 OFL11 LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/licenses/GPL-3.0.txt LICENSE_FILE_CC-BY-SA-4.0=${WRKSRC}/licenses/CC-BY-SA-4.0.txt LICENSE_FILE_OFL11= ${WRKSRC}/licenses/OFL-1.1.txt BROKEN_powerpc64= fails to build: gamedata/models/models.pack: vw_CreateVFS(): VFS compilation process aborted! LIB_DEPENDS= libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libvorbisfile.so:audio/libvorbis \ libfreetype.so:print/freetype2 USE_GITHUB= yes GH_ACCOUNT= viewizard USES= cmake compiler:c++11-lib dos2unix gl openal:al,alut sdl DOS2UNIX_FILES= CMakeLists.txt src/config/config.cpp USE_GL= gl glu USE_SDL= sdl2 CMAKE_ARGS= -DDATADIR="${DATADIR}" LDFLAGS_i386= -Wl,-znotext PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/gamedata.vfs ${STAGEDIR}${DATADIR}/ .for s in 64 128 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/ ${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/${PORTNAME}.png .endfor ${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata/ ${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}.appdata.xml \ ${STAGEDIR}${PREFIX}/share/appdata/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/asylum/Makefile b/games/asylum/Makefile index 3a55ff973da9..bbd55ba977f6 100644 --- a/games/asylum/Makefile +++ b/games/asylum/Makefile @@ -1,46 +1,46 @@ PORTNAME= asylum PORTVERSION= 0.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/sdl-${PORTNAME}/Asylum/${PORTVERSION}/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Surreal platform shooting game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gl gmake sdl USE_SDL= sdl mixer ALL_TARGET= build USE_GL= gl glu PORTDOCS= Instruct README PORTDATA= * MAKE_ARGS= INSTALLRESOURCEPATH="${DATADIR}" \ INSTALLHISCORES="/var/games/${PORTNAME}" OPTIONS_DEFINE= DOCS post-extract: @${RM} ${WRKSRC}/${PORTNAME} @cd ${WRKSRC} && for f in *.c; do \ ${MV} $${f} $${f}pp; \ done do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}/var/games/${PORTNAME} .for f in Ego Psyche Id Extended ${TOUCH} ${STAGEDIR}/var/games/${PORTNAME}/${f}HighScores.sample .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/games/atr3d/Makefile b/games/atr3d/Makefile index ea46893e0ae3..ea70854a386a 100644 --- a/games/atr3d/Makefile +++ b/games/atr3d/Makefile @@ -1,40 +1,40 @@ # Created by: Kirill Ponomarew PORTNAME= atr3d PORTVERSION= 0.6 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= games MASTER_SITES= http://rodrigo.osorio.free.fr/freebsd/distfiles/ DISTNAME= ${PORTNAME}_source_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= 3D asteroids-like multiplayer game LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/${PORTNAME} USES= autoreconf gl gmake perl5 tar:tgz xorg USE_GL= glut glu USE_XORG= xmu xi x11 USE_PERL5= build GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= OPENAL OPTIONS_DEFAULT=OPENAL OPENAL_USES= compiler:c++11-lang openal:alut OPENAL_CONFIGURE_ENABLE= sound pre-patch: @${REINPLACE_CMD} -e 's|-lopenal|& -lalut|' ${WRKSRC}/Makefile.am post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/Makefile.am .include diff --git a/games/auralquiz/Makefile b/games/auralquiz/Makefile index b7b0c1ebddae..0bb07f011a89 100644 --- a/games/auralquiz/Makefile +++ b/games/auralquiz/Makefile @@ -1,35 +1,35 @@ PORTNAME= auralquiz PORTVERSION= 1.0.0 DISTVERSIONPREFIX= v -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SAVANNAH MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simple music quiz game using your own music files LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtag.so:audio/taglib USES= compiler:c++11-lang gl qmake qt:5 USE_GL= gl USE_QT= core gui widgets phonon4 qmake_build buildtools_build PORTDOCS= CHANGELOG README TODO OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|; \ s|%%MAN6PREFIX%%|${MAN6PREFIX}|' \ ${WRKSRC}/Auralquiz.pro post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/games/avoision/Makefile b/games/avoision/Makefile index 7d6544ddfba9..382f8271ea21 100644 --- a/games/avoision/Makefile +++ b/games/avoision/Makefile @@ -1,41 +1,41 @@ # Created by: Rusmir Dusko PORTNAME= avoision PORTVERSION= 1.1 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF/avsn/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple collect-dots-avoid-blocks game LICENSE= GPLv2+ CC-BY-SA-3.0 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/License.txt BUILD_DEPENDS= ${LOCALBASE}/lib/libradius-engine.a:graphics/radius-engine LIB_DEPENDS= liblua-5.1.so:lang/lua51 \ libpng.so:graphics/png \ libphysfs.so:devel/physfs RUN_DEPENDS= zip:archivers/zip USES= gl pkgconfig sdl USE_SDL= sdl sound USE_GL= glu GNU_CONFIGURE= yes ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png \ %%DATADIR%%/${PORTNAME}.zip PORTDOCS= ChangeLog OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/avp/Makefile b/games/avp/Makefile index d0b5ca82b2f4..da5ae736d52f 100644 --- a/games/avp/Makefile +++ b/games/avp/Makefile @@ -1,27 +1,28 @@ # Created by: Piotr Kubaj PORTNAME= avp DISTVERSION= 20170505 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://icculus.org/avp/files/ EXTRACT_SUFX= -a1.tar.gz MAINTAINER= pkubaj@FreeBSD.org COMMENT= Open source re-implementation of Alien versus Predator LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake compiler:c++11-lang gl openal sdl USE_GL= gl USE_SDL= sdl LDFLAGS_i386= -Wl,-znotext PLIST_FILES= bin/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/games/barony/Makefile b/games/barony/Makefile index 7e9be4c3ebc8..fafa81a055ef 100644 --- a/games/barony/Makefile +++ b/games/barony/Makefile @@ -1,41 +1,41 @@ PORTNAME= barony DISTVERSIONPREFIX= v DISTVERSION= 3.3.7 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= devnexen@gmail.com COMMENT= 3D roguelike game LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/GPL.3.0.txt BUILD_DEPENDS= rapidjson>=0:devel/rapidjson LIB_DEPENDS= libogg.so:audio/libogg \ libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libvorbisfile.so:audio/libvorbis USES= cmake:insource compiler:c++11-lib dos2unix gl localbase:ldflags \ openal pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= TurningWheel GH_PROJECT= Barony USE_GL= gl glu USE_SDL= sdl2 image2 net2 ttf2 CMAKE_ON= OPENAL_ENABLED DATA_DIR CMAKE_ARGS= -DEDITOR_EXE_NAME:STRING="barony-editor" CONFIGURE_ENV= OPTIMIZATION_LEVEL="" DOS2UNIX_FILES= src/menu.cpp LDFLAGS+= -Wl,--as-needed LDFLAGS_i386= -Wl,-znotext SUB_FILES= pkg-message PLIST_FILES= bin/barony \ bin/barony-editor \ ${DATADIR}/lang/en.ttf \ ${DATADIR}/lang/en.txt .include diff --git a/games/battalion/Makefile b/games/battalion/Makefile index a0aa41d90d03..c59f1708ed0e 100644 --- a/games/battalion/Makefile +++ b/games/battalion/Makefile @@ -1,68 +1,68 @@ # Created by: Andrey Zakhvatov PORTNAME= battalion PORTVERSION= 1.4b -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://www.evl.uic.edu/aej/BATTALION/ DISTNAME= ${PORTNAME}${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} battalionSUN4.tar.gz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Monsters, explosions, destruction game for X Window System LICENSE= batallion LICENSE_NAME= batallion license LICENSE_FILE= ${WRKSRC}/README # non-commercial and prohibits distribution of modified versions LICENSE_PERMS= dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept USES= gl localbase tar:bzip2 xorg USE_GL= gl glu USE_XORG= x11 MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LIBS}" CFLAGS+= -I${LOCALBASE}/include/X11 \ -DLINUXVERSION -DLINUXAUDIO LIBS+= -lX11 -lm PLIST_FILES= bin/${PORTNAME} man/man6/${PORTNAME}.6.gz PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS post-extract: @${GZCAT} ${DISTDIR}/battalionSUN4.tar.gz | \ (cd ${WRKDIR} && ${TAR} --unlink -xf -) @${RM} ${WRKSRC}/*.o post-patch: @${REINPLACE_CMD} -e \ '/dataPtr/s| = getenv.*| = "${DATADIR}";|' ${WRKSRC}/battalion.c @${REINPLACE_CMD} -e \ 's||| ; \ s|||' ${WRKSRC}/soundIt.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/battalion ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/battalionSUN4/battalion.man \ ${STAGEDIR}${MAN6PREFIX}/man/man6/battalion.6 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/battalion.sho \ ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DATADIR}/DATA ${INSTALL_DATA} ${WRKSRC}/DATA/*.data ${STAGEDIR}${DATADIR}/DATA @${MKDIR} ${STAGEDIR}${DATADIR}/MUSIC ${INSTALL_DATA} ${WRKSRC}/MUSIC/*.au ${STAGEDIR}${DATADIR}/MUSIC @${MKDIR} ${STAGEDIR}${DATADIR}/SOUNDS ${INSTALL_DATA} ${WRKSRC}/SOUNDS/*.au ${STAGEDIR}${DATADIR}/SOUNDS @${MKDIR} ${STAGEDIR}${DATADIR}/TEXTURES ${INSTALL_DATA} ${WRKSRC}/TEXTURES/*.tex ${STAGEDIR}${DATADIR}/TEXTURES do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/HELP/*.gif ${STAGEDIR}${DOCSDIR} .include diff --git a/games/billardgl/Makefile b/games/billardgl/Makefile index d40f676a5bfe..fa8581b8796f 100644 --- a/games/billardgl/Makefile +++ b/games/billardgl/Makefile @@ -1,48 +1,48 @@ PORTNAME= billardgl PORTVERSION= 1.75 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/BillardGL%20${PORTVERSION} DISTNAME= BillardGL-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= OpenGL pool billiard simulation LICENSE= GPLv2 # from website WRKSRC_SUBDIR= src USES= dos2unix gl xorg DOS2UNIX_FILES= Makefile bmp.cpp USE_GL= gl glu glut USE_XORG= x11 xext xmu xi USE_CXXSTD= c++98 PORTDOCS= README PORTDATA= * PLIST_FILES= bin/billardgl \ share/pixmaps/billardgl.bmp DESKTOP_ENTRIES="${PORTNAME}" \ "" \ "${PREFIX}/share/pixmaps/${PORTNAME}.bmp" \ "${PORTNAME}" \ "Game;Simulation;" \ "" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/share/BillardGL/|${DATADIR}/|' ${WRKSRC}/Namen.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/BillardGL ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "Texturen lang" ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/Texturen/1/dreizehn.bmp ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.bmp do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/blackshadeselite/Makefile b/games/blackshadeselite/Makefile index 9cfb91574aa6..5e7662007738 100644 --- a/games/blackshadeselite/Makefile +++ b/games/blackshadeselite/Makefile @@ -1,50 +1,50 @@ PORTNAME= blackshadeselite PORTVERSION= 0.0.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= http://download.gna.org/blackshadeselite/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Psychic Bodyguard FPS - protect the VIP LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libvorbis.so:audio/libvorbis USES= compiler:c++11-lang gl gmake openal:al,alut sdl tar:bzip2 USE_CXXSTD= c++98 USE_SDL= sdl USE_GL= gl glu MAKE_ARGS= CC="${CC}" CXX="${CXX}" LDFLAGS_i386= -Wl,-znotext WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/blackshades PORTDOCS= Readme Readme.elite PORTDATA= * OPTIONS_DEFINE= DOCS MAKE_JOBS_UNSAFE= yes post-extract: @${FIND} ${WRKSRC}/Data -name '._*' -delete post-patch: @${REINPLACE_CMD} -e '/InitGL/ s|.*|chdir("${DATADIR}"); &|' ${WRKSRC}/Source/Main.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/objs/blackshades ${STAGEDIR}${PREFIX}/bin/ @cd ${WRKSRC} && ${COPYTREE_SHARE} Data ${STAGEDIR}${DATADIR}/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/games/blobby/Makefile b/games/blobby/Makefile index 8b610ad5cc5e..09e3e69ea4fe 100644 --- a/games/blobby/Makefile +++ b/games/blobby/Makefile @@ -1,51 +1,51 @@ # Created by: Ganael Laplanche PORTNAME= blobby PORTVERSION= 1.0 -PORTREVISION= 14 +PORTREVISION= 15 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Blobby%20Volley%202%20%28Linux%29/${PORTVERSION} DISTNAME= blobby2-linux-${PORTVERSION} MAINTAINER= martymac@FreeBSD.org COMMENT= Official continuation of the famous Blobby Volley 1.x game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= aarch64 NOT_FOR_ARCHS_REASON= fails to compile: I can't tell what endian-ness to use for your architecture LIB_DEPENDS= libphysfs.so:devel/physfs BUILD_DEPENDS= zip:archivers/zip \ ${LOCALBASE}/include/boost/crc.hpp:devel/boost-libs USES= cmake compiler:c++11-lang dos2unix gl localbase:ldflags \ pkgconfig sdl USE_SDL= sdl2 USE_GL= gl DOS2UNIX_REGEX= .*\.(c|h|cpp) CMAKE_ARGS= -DDATADIR:PATH="${DATADIR}" WRKSRC= ${WRKDIR}/blobby-${PORTVERSION} PORTDOCS= AUTHORS ChangeLog README TODO DESKTOP_ENTRIES="Blobby Volley" \ "" \ "${DATADIR}/Icon.bmp" \ "${PORTNAME}" \ "Game;ArcadeGame;" \ "" OPTIONS_DEFINE= DOCS post-install: ${INSTALL_DATA} ${WRKSRC}/data/Icon.bmp ${STAGEDIR}${DATADIR}/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/blockout/Makefile b/games/blockout/Makefile index 061b695e2595..ea9115f3c658 100644 --- a/games/blockout/Makefile +++ b/games/blockout/Makefile @@ -1,50 +1,50 @@ # Created by: Stas Timokhin PORTNAME= blockout PORTVERSION= 2.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/BlockOut%20${PORTVERSION}/ \ http://www.stasyan.com/devel/distfiles/ DISTFILES= bl25-src${EXTRACT_SUFX} bl25-linux-x86${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= BlockOut II is an adaptation of the original Blockout DOS game LICENSE= GPLv2+ USES= dos2unix gl gmake sdl USE_SDL= mixer sdl DOS2UNIX_FILES= ImageLib/src/gif/gif.h \ ImageLib/src/gif/gif.cpp BlockOut/*.cpp \ ImageLib/src/png/hpng.c USE_GL= gl glu WRKSRC= ${WRKDIR}/BL_SRC BUILD_WRKSRC= ${WRKSRC}/BlockOut OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="BlockOut" \ "" \ "${PREFIX}/share/pixmaps/block_icon.ico" \ "${PORTNAME}" \ "" \ "" post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/BlockOut/Utils.cpp pre-build: cd ${WRKSRC}/ImageLib/src && ${DO_MAKE_BUILD} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/BlockOut/blockout ${STAGEDIR}${PREFIX}/bin cd ${WRKDIR}/blockout && ${COPYTREE_SHARE} "images sounds" ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/BlockOut/block_icon.ico ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/games/blokish/Makefile b/games/blokish/Makefile index f40148ea1e50..fbbec4b54953 100644 --- a/games/blokish/Makefile +++ b/games/blokish/Makefile @@ -1,42 +1,42 @@ PORTNAME= blokish PORTVERSION= 0.9.4 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} DISTNAME= ${PORTNAME}_v${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Clone of the strategy board game 'Blokus' LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= compiler:c++11-lang gl gmake localbase tar:tgz USE_GL= gl USE_WX= 2.8 MAKEFILE= makefile WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/${PORTNAME}.xpm DESKTOP_ENTRIES="Blokish" \ "" \ "${PORTNAME}" \ "${PORTNAME}" \ "Game;LogicGame;" \ "" post-patch: @${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|' \ ${WRKSRC}/makefile.in ${WRKSRC}/configure @${REINPLACE_CMD} '/^LIBS =/s/$$/ -lGL/' ${WRKSRC}/makefile.in post-install: ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/games/bloodfrontier/Makefile b/games/bloodfrontier/Makefile index 58ac53f753b0..8aa89593c1c4 100644 --- a/games/bloodfrontier/Makefile +++ b/games/bloodfrontier/Makefile @@ -1,71 +1,71 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= bloodfrontier DISTVERSION= B2 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Blood%20Frontier%20Beta%202 DISTNAME= ${PORTNAME}-${DISTVERSION}-linux MAINTAINER= amdmi3@FreeBSD.org COMMENT= Single- and multi-player first-person shooter based on Cube 2 LICENSE= ZLIB BROKEN_powerpc= fails to compile BROKEN_powerpc64= fails to compile: tools.h: incompatible types in assignment BROKEN_sparc64= fails to compile USES= tar:bzip2 gmake GNU_CONFIGURE= yes CONFIGURE_WRKSRC= ${WRKSRC}/src/enet BUILD_WRKSRC= ${WRKSRC}/src WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= libenet CXXFLAGS+= -Wno-c++11-narrowing SUB_FILES= ${PLIST_FILES:Mbin/*:T} PORTDATA= * OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS=CLIENT DEDICATED OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS CLIENT_DESC= Build client CLIENT_USES= gl sdl xorg CLIENT_USE= GL=gl SDL=image,mixer,sdl XORG=x11 CLIENT_ALL_TARGET= client CLIENT_PLIST_FILES= bin/bfclient libexec/bfclient \ share/pixmaps/${PORTNAME}.ico CLIENT_DESKTOP_ENTRIES= "Blood Frontier" \ "" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "bfclient" \ "Game;Shooter;" \ "" DEDICATED_DESC= Build dedicated server DEDICATED_PLIST_FILES= bin/bfserver libexec/bfserver DEDICATED_ALL_TARGET= server OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer OPTIMIZED_CFLAGS_CXXFLAGS= -O3 -fomit-frame-pointer do-install: (cd ${WRKSRC}/data && ${COPYTREE_SHARE} "." ${STAGEDIR}${DATADIR}) do-install-CLIENT-on: ${INSTALL_SCRIPT} ${WRKDIR}/bfclient ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bfclient ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DEDICATED-on: ${INSTALL_SCRIPT} ${WRKDIR}/bfserver ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bfserver ${STAGEDIR}${PREFIX}/libexec/ .include diff --git a/games/brainparty/Makefile b/games/brainparty/Makefile index 1d5cb45809c3..733009b4e969 100644 --- a/games/brainparty/Makefile +++ b/games/brainparty/Makefile @@ -1,42 +1,42 @@ PORTNAME= brainparty PORTVERSION= 0.61 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= https://launchpad.net/brainparty/trunk/${PORTVERSION}/+download/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Family-friendly set of 36 puzzle games LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler gl gmake sdl USE_SDL= sdl mixer ttf gfx image USE_GL= gl glu CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|Content/|${DATADIR}/|' ${WRKSRC}/*.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/Content/* ${STAGEDIR}${DATADIR}/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CREDITS ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/briquolo/Makefile b/games/briquolo/Makefile index 35c48c965347..b4d6a5a405d8 100644 --- a/games/briquolo/Makefile +++ b/games/briquolo/Makefile @@ -1,36 +1,36 @@ # Created by: Kirill Ponomarew PORTNAME= briquolo PORTVERSION= 0.5.7 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= games MASTER_SITES= http://briquolo.free.fr/download/ MAINTAINER= martymac@FreeBSD.org COMMENT= Breakout clone with an OpenGL 3D representation LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png USES= tar:bzip2 gl gmake iconv desktop-file-utils sdl xorg USE_GL= gl USE_SDL= mixer sdl ttf USE_XORG= x11 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= VERSION="${PORTVERSION}" # Mandatory: wants to link against libintl anyway USES+= gettext PLIST_SUB+= NLS="" post-patch: ${REINPLACE_CMD} -e 's|png_infopp_NULL|NULL|g' \ -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${WRKSRC}/src/MOGL/MOGL_Image.cpp .include diff --git a/games/brutalchess/Makefile b/games/brutalchess/Makefile index d0558da7adb0..644a47aba27d 100644 --- a/games/brutalchess/Makefile +++ b/games/brutalchess/Makefile @@ -1,27 +1,27 @@ # Created by: Gustavo Perez Querol PORTNAME= brutalchess PORTVERSION= 0.5.2 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-alpha/${PORTNAME}-alpha-${PORTVERSION} DISTNAME= ${PORTNAME}-alpha-${PORTVERSION}-src LIB_DEPENDS= libfreetype.so:print/freetype2 MAINTAINER= gustau.perez@gmail.com COMMENT= Nice looking OpenGL chess game WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} GNU_CONFIGURE= yes USES= dos2unix gl gmake libtool sdl xorg USE_GL= yes USE_SDL= sdl image USE_XORG= x11 xext xt xmu xi INSTALL_TARGET= install-strip pre-build: ${CHMOD} 0755 ${WRKSRC}/install-sh .include diff --git a/games/bubble-chains/Makefile b/games/bubble-chains/Makefile index d81446c866cb..3bc4dcb3790f 100644 --- a/games/bubble-chains/Makefile +++ b/games/bubble-chains/Makefile @@ -1,35 +1,36 @@ PORTNAME= bubble-chains PORTVERSION= 0.2.0 DISTVERSIONPREFIX= V +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free crossplatform 2D arcade-puzzle game LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= ArsMasiuk USES= qmake qt:5 xorg USE_QT= core gui widgets xml opengl multimedia x11extras \ qmake_build buildtools_build USE_XORG= x11 xrandr QMAKE_ARGS= DATADIR="${DATADIR}" PORTDOCS= README PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \ ${WRKSRC}/main.cpp post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/burrtools/Makefile b/games/burrtools/Makefile index b00dba428186..da6ca4ea9acc 100644 --- a/games/burrtools/Makefile +++ b/games/burrtools/Makefile @@ -1,63 +1,63 @@ # Created by: ijliao PORTNAME= burrtools PORTVERSION= 0.6.3 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= games MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Puzzle solver LICENSE= GPLv2+ # COPYING is GPLv3 LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libpng.so:graphics/png \ libfltk.so:x11-toolkits/fltk USES= gl gmake localbase lua:51 USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_lib_ICE_IceConnectionNumber="no" \ ac_cv_search_glutInit="none required" MAKE_ARGS= am_lua_liblua_a_OBJECTS='lua/luaclass.$$(OBJEXT)' LDFLAGS+= -Wl,--as-needed # fltk deps LIBS+= -llua-${LUA_VER} -lboost_system # _ZN5boost6system15system_categoryEv PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/burrTxt bin/burrTxt2 bin/burrGui \ share/pixmaps/burricons.png DESKTOP_ENTRIES="BurrGui" "" "burricons" "burrGui" "Game;LogicGame;" "" OPTIONS_DEFINE= DOCS EXAMPLES post-patch: ${REINPLACE_CMD} -e '/GL_X_LIBS/d' ${WRKSRC}/configure ${REINPLACE_CMD} -e \ 's|g++ |$$(CXX) | ; \ s|-O2 |$$(CXXFLAGS) $$(LDFLAGS) |' ${WRKSRC}/src/Makefile.in post-build: (cd ${WRKSRC} && uudecode ${FILESDIR}/burricons.png.uu) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/burrTxt ${WRKSRC}/src/burrTxt2 \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/src/gui/burrGui ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/burricons.png ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS ChangeLog NEWS README ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile index 4c8299282ad4..7da60c5034f3 100644 --- a/games/bzflag/Makefile +++ b/games/bzflag/Makefile @@ -1,38 +1,39 @@ PORTNAME= bzflag PORTVERSION= 2.4.22 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://download.bzflag.org/bzflag/source/${PORTVERSION}/ MAINTAINER= kevinz5000@gmail.com COMMENT?= Multiplayer 3D tank battle game LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libcares.so:dns/c-ares GNU_CONFIGURE= yes USES= autoreconf compiler:c++11-lib libtool localbase ncurses tar:bzip2 INSTALL_TARGET= install-strip .ifndef SERVER_ONLY USES+= gl sdl xorg USE_GL= gl glu glew USE_SDL= sdl2 USE_XORG= x11 xext xxf86vm sm ice xcb xshmfence xdamage xfixes .endif CPPFLAGS+= -I ${LOCALBASE}/include .ifdef SERVER_ONLY CONFIGURE_ARGS+= --disable-client PLIST_SUB+= CLIENT="@comment " .else DESKTOP_ENTRIES= "BZFlag" "Battle enemy tanks" \ "${DATADIR}/bzflag-256x256.png" \ "bzflag" "Game;ActionGame;" false PLIST_SUB+= CLIENT="" .endif .include diff --git a/games/cake/Makefile b/games/cake/Makefile index 3cc5be0c037e..27b17a0a3d87 100644 --- a/games/cake/Makefile +++ b/games/cake/Makefile @@ -1,57 +1,57 @@ # Created by: Alexey Dokuchaev PORTNAME= cake PORTVERSION= 2005.12.26 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= games MASTER_SITES= http://freebsd.nsu.ru/distfiles/ DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/.//g} MAINTAINER= danfe@FreeBSD.org COMMENT= Quake3 map viewer (and powerful 3D game engine) LICENSE= GPLv2 USES= gl gmake jpeg ncurses xorg zip USE_GL= glut USE_XORG= x11 xext xmu xt xi sm ice # Need to pass `-l', but PATCH_ARGS+= won't work because of PATCH_ARGS?= # in bsd.port.mk PATCH_ARGS= -N -s -E ${PATCH_STRIP} -l ALL_TARGET= main WRKSRC= ${WRKDIR}/cake_src PLIST_FILES= bin/cake post-patch: .SILENT ${FIND} -E ${WRKDIR} -type f \( -iregex ".*\.(cpp|h)" -or \ -name Makefile \) \ -exec ${REINPLACE_CMD} -E -e 's/[[:cntrl:]]*$$//' \ -e 's/#pragma[[:blank:]]+pack[[:blank:]]*\([[:blank:]]*push[[:blank:]]*,[[:blank:]]*1[[:blank:]]*\)/#pragma pack(1)/g' \ -e 's/#pragma[[:blank:]]+pack[[:blank:]]*\([[:blank:]]*pop[[:blank:]]*\)/#pragma pack()/g' {} \; ${REINPLACE_CMD} -e 's/jpeg\/JPEGLIB\.H/jpeglib.h/' \ ${WRKSRC}/cake/texture.cpp # Fmod library is not supported on FreeBSD, so no sound :( ${REINPLACE_CMD} -e 's/ENABLE_SOUND 1/ENABLE_SOUND 0/' \ ${WRKSRC}/cake/sound.h # Use traditional mapping for console key (tilde) ${REINPLACE_CMD} -e 's/167/96/' ${WRKSRC}/main.cpp # Avoid segmentation fault on amd64 (uninitialized memory access) ${REINPLACE_CMD} -e '1281s:Recalculate_NLines()://&:' \ ${WRKSRC}/cake/console.cpp # The code assumes that sizeof(long) == 4 in too many places :( ${REINPLACE_CMD} -e '/typedef/s/ long//' ${WRKSRC}/cake/files.h ${REINPLACE_CMD} -e '/typedef/s/long/int/' ${WRKSRC}/cake/types.h ${REINPLACE_CMD} -e 's/unsigned long/DWORD/' ${WRKSRC}/cake/system.h ${REINPLACE_CMD} -e 's/unsigned long/unsigned int/' \ ${WRKSRC}/cake/zip/Crc32.h ${WRKSRC}/cake/zip/Unzip.h # Fixes for GCC 4.x and Clang 4.0 ${REINPLACE_CMD} -e 's/Mat3x2:://' ${WRKSRC}/cake/math.h ${REINPLACE_CMD} -e '2852s/numverts/&[0]/' ${WRKSRC}/cake/q3bsp.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/main ${STAGEDIR}${PREFIX}/bin/cake .include diff --git a/games/caph/Makefile b/games/caph/Makefile index d90dc3c2878b..d89b39d411c7 100644 --- a/games/caph/Makefile +++ b/games/caph/Makefile @@ -1,49 +1,49 @@ PORTNAME= caph PORTVERSION= 1.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/caphgame/${PORTNAME}/caphgame-${PORTVERSION}/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Physics-based sandbox game LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/doc/caph/COPYING LIB_DEPENDS= libpng.so:graphics/png USES= gl iconv sdl tar:bzip2 USE_SDL= sdl USE_GL= gl BUILD_WRKSRC= ${WRKSRC}/src PLIST_FILES= bin/${PORTNAME} PORTDATA= * PORTDOCS= * DESKTOP_ENTRIES="Caph" \ "Physics-based sandbox game" \ "${DATADIR}/brush.png" \ "caph" \ "Game;LogicGame;" \ false OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS OPTIONS_DEFAULT=OPTIMIZED_CFLAGS OPTIMIZED_CFLAGS_CFLAGS= -O3 -ffast-math do-build: cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -o caph -I../include *.c \ `${SDL_CONFIG} --libs --cflags` -D_OPENGL -lGL -lpng -lm ${ICONV_LIB} post-patch: @${REINPLACE_CMD} -e 's|../share/caph|${DATADIR}|' ${BUILD_WRKSRC}/caph.c do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ cd ${WRKSRC}/share/caph && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc/caph && ${INSTALL_DATA} README CHANGELOG ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/cave9/Makefile b/games/cave9/Makefile index 969cdfac97ce..34e50c5ee70d 100644 --- a/games/cave9/Makefile +++ b/games/cave9/Makefile @@ -1,51 +1,51 @@ PORTNAME= cave9 PORTVERSION= 0.4.1.git20150408 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Gravity cave-exploration game LICENSE= GPLv3+ CC-BY-SA-3.0 CC-BY-2.5 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/data/README.txt # CC licenses LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING.txt USE_GITHUB= yes GH_ACCOUNT= bart9h GH_TAGNAME= e6896eb USES= compiler:c++11-lang gl gmake sdl USE_SDL= sdl ttf image USE_GL= gl glu BUILD_WRKSRC= ${WRKSRC}/src MAKEFILE= GNUmakefile CFLAGS+= -DDATADIR=\\\"${DATADIR}\\\" PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * DESKTOP_ENTRIES="${PORTNAME}" \ "" \ "${DATADIR}/icon.png" \ "${PORTNAME}" \ "Game;ArcadeGame;" \ "" OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cave9 ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR} .for d in wav png ttf jpg ${INSTALL_DATA} ${WRKSRC}/data/*.$d ${STAGEDIR}${DATADIR}/ .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/AUTHORS.txt ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/cdogs-sdl/Makefile b/games/cdogs-sdl/Makefile index 409ae666407c..92d3adcc6667 100644 --- a/games/cdogs-sdl/Makefile +++ b/games/cdogs-sdl/Makefile @@ -1,31 +1,32 @@ PORTNAME= cdogs-sdl PORTVERSION= 0.10.2 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= swills@FreeBSD.org COMMENT= Classic overhead run-and-gun game BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3,1:devel/py-protobuf@${PY_FLAVOR} \ protoc:devel/protobuf USES= cmake compiler:c++11-lang gl gnome localbase:ldflags pkgconfig \ python:3.6+ sdl USE_SDL= image2 mixer2 sdl2 USE_GNOME= cairo gdkpixbuf2 gtk30 USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= cxong CMAKE_ARGS= -DCDOGS_DATA_DIR=${DATADIR}/ BINARY_ALIAS= python3=${PYTHON_VERSION} # Fix with clang11 CFLAGS+= -fcommon post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cdogs-sdl ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cdogs-sdl-editor .include diff --git a/games/chessx/Makefile b/games/chessx/Makefile index fad6ee152c44..1f8f79f1c78a 100644 --- a/games/chessx/Makefile +++ b/games/chessx/Makefile @@ -1,32 +1,33 @@ PORTNAME= chessx PORTVERSION= 1.5.4 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Qt 5 chess database application LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang desktop-file-utils gl gmake qmake qt:5 tar:tgz USE_GL= gl USE_QT= concurrent core gui multimedia network opengl printsupport svg \ widgets xml buildtools_build linguisttools_build speech PLIST_FILES= bin/chessx \ share/applications/chessx.desktop \ share/pixmaps/chessx.png OPTIONS_DEFINE= CRAFTY STOCKFISH CRAFTY_DESC= Install Crafty Chess Application STOCKFISH_DESC= Install Stockfish Chess Engine CRAFTY_RUN_DEPENDS= crafty:games/crafty STOCKFISH_RUN_DEPENDS= stockfish:games/stockfish post-configure: ( cd ${BUILD_WRKSRC} && ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro ) .include diff --git a/games/chromium-bsu/Makefile b/games/chromium-bsu/Makefile index 8f81ef9524ab..e10619c806c0 100644 --- a/games/chromium-bsu/Makefile +++ b/games/chromium-bsu/Makefile @@ -1,53 +1,53 @@ # Created by: Eric Anholt PORTNAME= chromium-bsu PORTVERSION= 0.9.16.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Chromium%20B.S.U.%20source%20code/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Arcade-style, top-scrolling space shooter LICENSE= ART10 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libGLC.so:graphics/quesoglc GNU_CONFIGURE= yes USES= compiler:c++11-lang gettext-tools gl gmake gnome localbase \ pkgconfig sdl USE_SDL= sdl2 image2 USE_GL= gl glu CONFIGURE_ARGS= --disable-sdl \ --disable-sdlmixer \ --disable-sdlimage \ --disable-ftgl \ --disable-glut \ --disable-glpng MAKE_ARGS= LDFLAGS="${LDFLAGS}" LDFLAGS_i386= -Wl,-znotext INSTALLS_ICONS= yes PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= NLS DOCS OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= OPENAL SDL_MIXER OPTIONS_DEFAULT= OPENAL OPTIONS_SUB= yes AUDIO_DESC= Audio output selection OPENAL_DESC= Use OpenAL for audio SDL_MIXER_DESC= Use SDL_mixer for audio SDL_MIXER_USE= SDL=mixer2 SDL_MIXER_CONFIGURE_ENABLE=sdl2mixer OPENAL_USES= openal:al,alut OPENAL_CONFIGURE_ENABLE=openal NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/games/colobot/Makefile b/games/colobot/Makefile index e4f9a5fe63b2..2e5e50a07ac2 100644 --- a/games/colobot/Makefile +++ b/games/colobot/Makefile @@ -1,52 +1,52 @@ PORTNAME= colobot DISTVERSIONPREFIX= ${PORTNAME}-gold- DISTVERSION= 0.1.12 DISTVERSIONSUFFIX= -alpha -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games education MASTER_SITES= https://colobot.info/files/music/:music DISTFILES= colobot-music_ogg_0.1.12-alpha.tar.gz:music MAINTAINER= makc@FreeBSD.org COMMENT= Educational game aiming to teach programming to kids LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libpng.so:graphics/png \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg \ libopenal.so:audio/openal-soft \ libphysfs.so:devel/physfs \ libboost_system.so:devel/boost-libs USES= cmake compiler:c++11-lang gl gettext-runtime \ gettext-tools:build localbase:ldflags openal python:build \ sdl shebangfix USE_SDL= image2 ttf2 USE_GL= gl glew glu USE_LDCONFIG= yes USE_GITHUB= yes GH_TUPLE= colobot:colobot-data:c467bd9:data LDFLAGS_i386= -Wl,-znotext SHEBANG_FILES= data/i18n-tools/scripts/process_translations.py post-extract: @${MV} ${WRKDIR}/colobot-data-c467bd9/* ${WRKSRC}/data @${MV} ${WRKDIR}/*.ogg ${WRKDIR}/LICENSE.txt ${WRKSRC}/data/music/ @${REINPLACE_CMD} 's|$${CMAKE_INSTALL_PREFIX}/games|$${CMAKE_INSTALL_PREFIX}/bin|g' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} 's|PLATFORM_MACOSX|PLATFORM_MACOSX OR PLATFORM_OTHER|g' ${WRKSRC}/src/CMakeLists.txt post-patch: @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindGLEW.cmake @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindPhysFS.cmake @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindSDL2.cmake @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindSDL2_image.cmake @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cmake/FindSDL2_ttf.cmake @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/tools/check-levels.sh ${REINPLACE_CMD} 's|python|${PYTHON_CMD}|' ${WRKSRC}/data/tools/*.sh .include diff --git a/games/connectagram/Makefile b/games/connectagram/Makefile index a63bdcc2303c..d78cbdae4a36 100644 --- a/games/connectagram/Makefile +++ b/games/connectagram/Makefile @@ -1,37 +1,38 @@ # Created by: Rusmir Dusko PORTNAME= connectagram PORTVERSION= 1.2.11 DISTVERSIONSUFFIX= -src +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://gottcode.org/connectagram/ MAINTAINER= jhale@FreeBSD.org COMMENT= Word unscrambling game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lib gl qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= buildtools_build core gui linguisttools_build network widgets WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-patch: @${REINPLACE_CMD} -e \ 's|share/man|man|' ${WRKSRC}/connectagram.pro post-patch-NLS-off: @${REINPLACE_CMD} -e \ '/INSTALLS/s|qm||' ${WRKSRC}/connectagram.pro post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog README \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/connectfive/Makefile b/games/connectfive/Makefile index d5e2cd0d546d..9c3a4ffaedf8 100644 --- a/games/connectfive/Makefile +++ b/games/connectfive/Makefile @@ -1,42 +1,42 @@ PORTNAME= connectfive PORTVERSION= 1.0.2 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-linux/${PORTNAME}-${PORTVERSION} DISTNAME= connectFive MAINTAINER= amdmi3@FreeBSD.org COMMENT= Place five pieces in a row on a 3D board USES= dos2unix gl gmake sdl xorg USE_SDL= sdl USE_GL= gl USE_XORG= xmu xext x11 DOS2UNIX_FILES= glfont2.h MAKEFILE= Makefile.linux ALL_TARGET= default LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include WRKSRC= ${WRKDIR}/connectFive PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile.linux @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/connect.cpp @${REINPLACE_CMD} -e 's|Board::||' ${WRKSRC}/Board.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${DATADIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.txt ${WRKSRC}/LICENSE.txt ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/construo/Makefile b/games/construo/Makefile index de8f108bd7b9..6a6f18cdca42 100644 --- a/games/construo/Makefile +++ b/games/construo/Makefile @@ -1,59 +1,59 @@ PORTNAME= construo PORTVERSION= 0.2.3 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Fun construction toy LICENSE= GPLv2 GPLv3 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= Construo USES= autoreconf gl gmake xorg USE_XORG= sm ice x11 xext xxf86vm USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --bindir="${PREFIX}/bin" \ --datadir="${DATADIR}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}.x11 PORTDATA= * DESKTOP_ENTRIES="Construo" \ "" \ "" \ "${PORTNAME}" \ "Game;Simulation;" \ "" OPTIONS_DEFINE= GLUT OPTIONS_DEFAULT=GLUT GLUT_DESC= Use glut GLUT_USE= GL=glut GLUT_PLIST_FILES= bin/${PORTNAME}.glut post-patch: @${REINPLACE_CMD} -e '/bindir=/ d' ${WRKSRC}/src/Makefile.am @${REINPLACE_CMD} '/(freeglut-1.3/ s|glutMainLoop|disabled_&|' \ ${WRKSRC}/configure.ac post-patch-GLUT-off: @${REINPLACE_CMD} '/(glut/ s|glutMainLoop|disabled_&|' \ ${WRKSRC}/configure.ac post-install-GLUT-on: cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ${PORTNAME}.glut ${PORTNAME} post-install-GLUT-off: cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ${PORTNAME}.x11 ${PORTNAME} .include diff --git a/games/crack-attack/Makefile b/games/crack-attack/Makefile index 4e6d383d9f3e..dc16ba3a4755 100644 --- a/games/crack-attack/Makefile +++ b/games/crack-attack/Makefile @@ -1,38 +1,38 @@ # Created by: Pav Lucistnik PORTNAME= crack-attack PORTVERSION= 1.1.14 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= games MASTER_SITES= SAVANNAH MAINTAINER= amdmi3@FreeBSD.org COMMENT= OpenGL game based on Super Nintendo classic Tetris Attack USES= compiler:c++11-lang gl gnome pkgconfig xorg USE_XORG= x11 xi xmu sm ice USE_GL= glut USE_GNOME= gtk20 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include PLIST_FILES= bin/${PORTNAME} \ man/man6/${PORTNAME}.6.gz \ share/pixmaps/${PORTNAME}.xpm PORTDATA= * DESKTOP_ENTRIES="Crack Attack!" \ "${COMMENT}" \ "${PORTNAME}" \ "${PORTNAME}" \ "Game;ArcadeGame;" \ "" post-patch: @${REINPLACE_CMD} -e 's|#ifndef max|#if 0|' ${WRKSRC}/src/Game.h post-install: ${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/games/craft/Makefile b/games/craft/Makefile index 2f076c86f4e9..06335f90afbe 100644 --- a/games/craft/Makefile +++ b/games/craft/Makefile @@ -1,24 +1,24 @@ # Created by: Danilo Egea Gondolfo PORTNAME= craft PORTVERSION= 1.0 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= fbsd -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MAINTAINER= danilo@FreeBSD.org COMMENT= Simple Minecraft clone written in C using modern OpenGL LIB_DEPENDS= libcurl.so:ftp/curl USES= cmake:insource compiler:c11 gl xorg USE_GITHUB= yes GH_ACCOUNT= daniloegea GH_PROJECT= Craft USE_XORG= x11 xi xrandr xxf86vm USE_GL= gl glu .include diff --git a/games/crashtest/Makefile b/games/crashtest/Makefile index 13a3c5cdda6e..7b2d858e716c 100644 --- a/games/crashtest/Makefile +++ b/games/crashtest/Makefile @@ -1,46 +1,46 @@ PORTNAME= crashtest PORTVERSION= 1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games education MASTER_SITES= http://www.stolk.org/crashtest/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Educational crash simulator BUILD_DEPENDS= ${LOCALBASE}/lib/libplibul.a:x11-toolkits/plib LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libode.so:devel/ode USES= gl pkgconfig USE_GL= gl glu BUILD_WRKSRC= ${WRKSRC}/src-crashtest PORTDOCS= * PORTDATA= * PLIST_FILES= bin/${PORTNAME} DESKTOP_ENTRIES="${PORTNAME}" \ "" \ "" \ "${PORTNAME}" \ "Game;Simulation;Physics;" \ "" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/src-crashtest/crashtest.cxx do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/models ${INSTALL_DATA} ${WRKSRC}/models-crashtest/*.3ds ${STAGEDIR}${DATADIR}/models ${INSTALL_DATA} ${WRKSRC}/models-crashtest/*.ac ${STAGEDIR}${DATADIR}/models ${INSTALL_DATA} ${WRKSRC}/models-crashtest/*.bmp ${STAGEDIR}${DATADIR}/models do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/cretan-hubris/Makefile b/games/cretan-hubris/Makefile index b617bc11ee83..8a1803a4b0dc 100644 --- a/games/cretan-hubris/Makefile +++ b/games/cretan-hubris/Makefile @@ -1,33 +1,33 @@ # Created by: Rusmir Dusko PORTNAME= cretan-hubris PORTVERSION= 0.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= SF/radius-engine/egp/ MAINTAINER= ports@FreeBSD.org COMMENT= Maze on the Isle of Crete LICENSE= GPLv2+ CC-BY-SA-3.0 LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/License.txt BUILD_DEPENDS= ${LOCALBASE}/lib/libradius-engine.a:graphics/radius-engine LIB_DEPENDS= liblua-5.1.so:lang/lua51 \ libpng.so:graphics/png \ libphysfs.so:devel/physfs RUN_DEPENDS= zip:archivers/zip USES= gl pkgconfig sdl USE_SDL= sdl sound USE_GL= glu GNU_CONFIGURE= yes ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png \ %%DATADIR%%/${PORTNAME}.zip .include diff --git a/games/criticalmass/Makefile b/games/criticalmass/Makefile index c7214293a249..1b858dc7d443 100644 --- a/games/criticalmass/Makefile +++ b/games/criticalmass/Makefile @@ -1,40 +1,40 @@ # Created by: nbm PORTNAME= criticalmass PORTVERSION= 1.5.0 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Critical%20Mass/${PORTVERSION}-RC DISTNAME= CriticalMass-${PORTVERSION:R} MAINTAINER= ports@FreeBSD.org COMMENT= SDL/OpenGL space shoot'em up game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN= fails to build LIB_DEPENDS= libpng.so:graphics/png \ libtinyxml.so:textproc/tinyxml USES= compiler:c++0x gl sdl tar:bzip2 xorg USE_XORG= x11 USE_GL= gl USE_SDL= image mixer sdl USE_CXXSTD= gnu++98 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-optimize CONFLICTS= shaaft-[0-9]* PLIST_FILES= bin/Packer \ bin/critter \ man/man6/critter.6.gz \ share/Critical_Mass/resource.dat PLIST_DIRS= share/Critical_Mass DESKTOP_ENTRIES="CriticallMass" "" "" "critter" "" "" .include diff --git a/games/critterding/Makefile b/games/critterding/Makefile index b548aa26be69..a54a8b802a0e 100644 --- a/games/critterding/Makefile +++ b/games/critterding/Makefile @@ -1,37 +1,37 @@ PORTNAME= critterding DISTVERSION= beta12 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/sources MAINTAINER= amdmi3@FreeBSD.org COMMENT= Evolving Artificial Life LIB_DEPENDS= libfreetype.so:print/freetype2 USES= autoreconf gl libtool ncurses pkgconfig sdl tar:bzip2 GNU_CONFIGURE= yes USE_SDL= sdl USE_GL= gl CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-system-ftgl USE_GCC= yes PLIST_FILES= bin/${PORTNAME} PORTDATA= * PORTDOCS= README AUTHORS Changelog OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|../share/critterding|${DATADIR}|' \ ${WRKSRC}/src/gui/textprinter.cpp ${WRKSRC}/src/gl/glwindow.cpp post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/games/crrcsim/Makefile b/games/crrcsim/Makefile index 39950ea746f9..fb6420bc9801 100644 --- a/games/crrcsim/Makefile +++ b/games/crrcsim/Makefile @@ -1,39 +1,39 @@ PORTNAME= crrcsim PORTVERSION= 0.9.13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games education MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Model-airplane flight simulation program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib LIB_DEPENDS= libportaudio.so:audio/portaudio GNU_CONFIGURE= yes USES= gettext gl gmake jpeg localbase sdl xorg USE_SDL= sdl USE_GL= gl glu USE_XORG= x11 LIBS+= -lintl PORTDOCS= * PORTDATA= * DESKTOP_ENTRIES="CRRCsim" \ "" \ "${DATADIR}/icons/crrcsim.png" \ "crrcsim" \ "Game;Simulation;" \ "" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/portaudio/ s|==|=|' ${WRKSRC}/configure .include diff --git a/games/csmash/Makefile b/games/csmash/Makefile index 8868e66bb9d5..b328ad0fe730 100644 --- a/games/csmash/Makefile +++ b/games/csmash/Makefile @@ -1,29 +1,29 @@ # Created by: ijliao PORTNAME= csmash PORTVERSION= 0.6.6 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= games MASTER_SITES= SF/cannonsmash/CannonSmash/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= 3D tabletennis game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gettext gl gmake gnome pkgconfig sdl USE_SDL= image mixer sdl USE_GL= yes USE_GNOME= gtk20 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/SDL LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|/games/|/|g' @${REINPLACE_CMD} -e 's|BallView::||' ${WRKSRC}/BallView.h @${REINPLACE_CMD} -e 's|== 3|>= 3|' ${WRKSRC}/matrix .include diff --git a/games/cube/Makefile b/games/cube/Makefile index c9ebba695e5b..fec11d0cf6a1 100644 --- a/games/cube/Makefile +++ b/games/cube/Makefile @@ -1,57 +1,57 @@ # Created by: Arjan van Leeuwen PORTNAME= cube DISTVERSION= 2005_08_29 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} DISTFILES= ${CUBE_DATA} ${CUBE_SRC} MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL 3D FPS (first person shooter) game LIB_DEPENDS= libenet.so:net/enet USES= dos2unix gmake USE_CXXSTD= gnu++98 EXTRACT_AFTER_ARGS=--exclude enet ALL_TARGET= # CFLAGS+= -fsigned-char WRKSRC= ${WRKDIR}/${PORTNAME}_source/src SUB_FILES= ${ALL_TARGET:S/^/${PORTNAME}_/} CUBE_DATA= ${PORTNAME}_${DISTVERSION}_unix.tar.gz CUBE_SRC= ${PORTNAME}_${DISTVERSION}_src.zip OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT SERVER OPTIONS_DEFAULT= CLIENT SERVER OPTIONS_SUB= yes FLAVOR_DESC= Clients and servers CLIENT_DESC= Build client CLIENT_USES= gl sdl xorg CLIENT_USE= GL=gl,glu SDL=image,mixer,sdl XORG=x11 CLIENT_LDFLAGS= -lX11 CLIENT_ALL_TARGET= client OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer SERVER_DESC= Build dedicated server SERVER_ALL_TARGET= server .include do-install: .for f in ${ALL_TARGET} ${INSTALL_SCRIPT} ${WRKDIR}/cube_${f} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/cube_${f} ${STAGEDIR}${PREFIX}/libexec .endfor (cd ${WRKDIR}/cube && ${COPYTREE_SHARE} \ "data packages" ${STAGEDIR}${DATADIR}) (cd ${WRKDIR}/cube/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKDIR}/cube/autoexec.cfg ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/cube/readme.html ${STAGEDIR}${DOCSDIR} .include diff --git a/games/cultivation/Makefile b/games/cultivation/Makefile index 43b6c00a3543..a52050b17cdf 100644 --- a/games/cultivation/Makefile +++ b/games/cultivation/Makefile @@ -1,52 +1,52 @@ PORTNAME= cultivation PORTVERSION= 8 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} DISTNAME= Cultivation_${PORTVERSION}_UnixSource MAINTAINER= amdmi3@FreeBSD.org COMMENT= Unique game of conflict and cooperation in a gardening community LIB_DEPENDS= libportaudio.so:audio/portaudio USES= gl gmake xorg USE_XORG= x11 xi xext xmu USE_GL= glut WRKSRC= ${WRKDIR}/${DISTNAME}/game2 BUILD_WRKSRC= ${WRKSRC}/gameSource MAKE_ARGS= CXX=${CXX} EXTRA_PATCHES= ${FILESDIR}/portaudio19.patch:-p2 PLIST_FILES= bin/Cultivation PORTDATA= * PORTDOCS= changeLog.txt how_to_play.txt OPTIONS_DEFINE= DOCS post-patch: @cd ${WRKSRC} && ${CAT} Makefile.GnuLinux Makefile.common \ ../minorGems/build/Makefile.minorGems gameSource/Makefile.all \ ../minorGems/build/Makefile.minorGems_targets > gameSource/Makefile @${REINPLACE_CMD} -e 's|font\.tga|${DATADIR}/font.tga|; \ s|language\.txt|${DATADIR}/language.txt|; \ s|features\.txt|${DATADIR}/features.txt|' \ ${BUILD_WRKSRC}/game.cpp @${REINPLACE_CMD} -e 's|"languages"|"${DATADIR}/languages"|' \ ${WRKSRC}/../minorGems/util/TranslationManager.cpp do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/Cultivation ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR}/languages ${INSTALL_DATA} ${BUILD_WRKSRC}/font.tga ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/features.txt ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/language.txt ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/languages/* ${STAGEDIR}${DATADIR}/languages ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/documentation/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/games/cutemaze/Makefile b/games/cutemaze/Makefile index 4c5ce56584c5..eb956e6b8dfb 100644 --- a/games/cutemaze/Makefile +++ b/games/cutemaze/Makefile @@ -1,38 +1,39 @@ # Created by: Rusmir Dusko PORTNAME= cutemaze PORTVERSION= 1.2.6 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://gottcode.org/${PORTNAME}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= jhale@FreeBSD.org COMMENT= Simple, top-down game in which mazes are randomly generated LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gl qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= core gui svg imageformats_run widgets \ linguisttools_build buildtools_build PORTDOCS= ChangeLog README WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-patch: @${REINPLACE_CMD} -e 's|share/man|man|' \ ${WRKSRC}/cutemaze.pro post-patch-NLS-off: @${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \ ${WRKSRC}/cutemaze.pro post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/darkplaces/Makefile b/games/darkplaces/Makefile index f6cf7b0aa7a8..819b8166b125 100644 --- a/games/darkplaces/Makefile +++ b/games/darkplaces/Makefile @@ -1,110 +1,110 @@ # Created by: Alejandro Pulver PORTNAME= darkplaces PORTVERSION= 20140513 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= http://icculus.org/twilight/darkplaces/files/ DISTNAME= ${PORTNAME}engine${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Quake engine modification # Loads libraries at run-time, thus RUN_DEPENDS. RUN_DEPENDS= ${LOCALBASE}/lib/libvorbis.so:audio/libvorbis USES= compiler:c11 gmake jpeg xorg zip:infozip USE_XORG= xxf86dga xpm MAKE_ENV= DP_FS_BASEDIR="${Q1DIR}" DP_LINK_JPEG=dlopen WRKSRC= ${WRKDIR}/${PORTNAME} MAKEFILE= makefile ALL_TARGET= # OPTIONS_DEFINE= DOCS SDL1 OPTIONS_DEFINE_i386= SSE OPTIONS_DEFINE_amd64= SSE OPTIONS_MULTI= MODULE MODULE_DESC= Components OPTIONS_MULTI_MODULE= GLX SDL SERVER OPTIONS_DEFAULT= ${OPTIONS_MULTI_MODULE} OPTIONS_DEFAULT_amd64= SSE OPTIONS_SUB= yes GLX_DESC= Build GLX client SDL_DESC= Build SDL client SDL1_DESC= Use SDL v1.2 instead of v2.0 SERVER_DESC= Build dedicated server .include "${.CURDIR}/../quake-data/Makefile.include" .include .if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDL} USES+= gl USE_GL= glu PLIST_SUB+= CLIENT="" .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MGLX} ALL_TARGET+= cl-release EXE_TARGETS+= ${PORTNAME}-glx DESKTOP_ENTRIES+="Darkplaces (GLX client)" "Quake engine modification (GLX)" \ darkplaces darkplaces-glx "Game;Shooter;" false .endif .if ${PORT_OPTIONS:MSERVER} ALL_TARGET+= sv-release EXE_TARGETS+= ${PORTNAME}-dedicated .endif .if ${PORT_OPTIONS:MSDL} USES+= sdl . if ${PORT_OPTIONS:MSDL1} USE_SDL= sdl ALL_TARGET+= sdl-release . else USE_SDL= sdl2 ALL_TARGET+= sdl2-release . endif EXE_TARGETS+= ${PORTNAME}-sdl DESKTOP_ENTRIES+="Darkplaces (SDL client)" "Quake engine modification (SDL)" \ darkplaces darkplaces-sdl "Game;Shooter;" false .endif .if ! ${PORT_OPTIONS:MSSE} CFLAGS+= -DNO_SSE=1 .endif post-extract: @${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} \ ${WRKDIR}/${PORTNAME}enginesource${PORTVERSION}.zip \ -d ${WRKDIR} post-patch: @${REINPLACE_CMD} 's,/usr/X11R6,${LOCALBASE},g' \ ${WRKSRC}/makefile \ ${WRKSRC}/makefile.inc \ ${WRKSRC}/BSDmakefile .if ! ${PORT_OPTIONS:MSSE} @${REINPLACE_CMD} '/^CFLAGS_SSE/ d' ${WRKSRC}/makefile.inc .endif do-install: ${INSTALL_PROGRAM} ${EXE_TARGETS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/darkplaces.txt ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDL} .for i in 16 24 32 48 64 72 ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ && \ ${INSTALL_DATA} ${WRKSRC}/darkplaces${i}x${i}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/darkplaces.png .endfor .endif .include diff --git a/games/diaspora/Makefile b/games/diaspora/Makefile index 6811918c57b5..b9569080df1d 100644 --- a/games/diaspora/Makefile +++ b/games/diaspora/Makefile @@ -1,137 +1,137 @@ # Created by: lightside PORTNAME= diaspora PORTVERSION= 1.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://diaspora.fs2downloads.com/ \ http://sectorgame.com/fsfiles/uploads/Projects%20-%20Campaigns%20-%20TCs/Total%20Conversions/Diaspora/:sectorgame \ http://sectorgame.com/fsfiles/uploads/Projects%20-%20Campaigns%20-%20TCs/Total%20Conversions/Diaspora/Diaspora%20%28Linux%29.tar.lzma?dummy=/:sectorgame1 \ http://ftp.internat.freebsd.org/pub/FreeBSD/distfiles/:intfiles \ http://ftp.tw.freebsd.org/distfiles/:twfiles DISTFILES= Diaspora_R1_Linux.tar.lzma:sectorgame1,DEFAULT \ Diaspora_R1_Patch_1.1.tar.lzma:sectorgame,intfiles,twfiles,DEFAULT \ Diaspora_R1_Patch_1.1.1.tar.lzma MAINTAINER= ports@FreeBSD.org COMMENT= Single and multiplayer space fighter combat game LICENSE= CC-BY-NC-SA-3.0 VOLITION GPLv2 LICENSE_COMB= multi LICENSE_NAME_VOLITION= Volition license LICENSE_FILE_CC-BY-NC-SA-3.0= ${WRKDIR_DIASPORA}/License.txt LICENSE_FILE_VOLITION= ${WRKSRC}/COPYING LICENSE_FILE_GPLv2= ${WRKDIR_DIASPORA}/wxlauncher/GPLv2.txt LICENSE_PERMS_VOLITION= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept BROKEN_aarch64= Fails to compile: cast from pointer to smaller type loses information LIB_DEPENDS= libjansson.so:devel/jansson \ libpng.so:graphics/png \ libogg.so:audio/libogg \ libvorbisfile.so:audio/libvorbis \ libtheora.so:multimedia/libtheora USES= autoreconf compiler:c++11-lang gl jpeg lua:51 openal pkgconfig \ sdl tar:lzma USE_CXXSTD= gnu++98 USE_GL= gl glu USE_SDL= sdl GNU_CONFIGURE= yes LDFLAGS_i386= -Wl,-znotext WRKDIR_DIASPORA=${WRKDIR}/Diaspora_R1_Linux/Diaspora WRKSRC= ${WRKDIR_DIASPORA}/fs2_open PORTDATA= data *.vp PORTDOCS= * SUB_FILES= fs2_open_${PORTNAME} PLIST_FILES= bin/fs2_open_${PORTNAME} \ libexec/fs2_open_${PORTNAME} \ share/pixmaps/${PORTNAME}.png DESKTOP_ENTRIES="Diaspora" "${COMMENT}" \ "${PORTNAME}" "fs2_open_${PORTNAME}" \ "Game;Simulation;" false OPTIONS_DEFINE= DOCS INCJOYBTNS SPEECH WXLAUNCHER OPTIONS_DEFAULT= SPEECH WXLAUNCHER INCJOYBTNS_DESC= Increase a number of joystick buttons from 32 to 98 INCJOYBTNS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-increase_joy_buttons_fixed.patch SPEECH_DESC= Text to speech SPEECH_CONFIGURE_ENABLE= speech WXLAUNCHER_DESC= Use wxlauncher to manage application profile WXLAUNCHER_DESKTOP_ENTRIES= "Diaspora Launcher" "${COMMENT}" \ "${PORTNAME}" "fs2_open_${PORTNAME}_launcher" \ "Game;Simulation;" false WXLAUNCHER_PLIST_FILES= bin/fs2_open_${PORTNAME}_launcher \ ${DATADIR}/fs2_open_${PORTNAME} WXLAUNCHER_RUN_DEPENDS= wxlauncher:games/wxlauncher WXLAUNCHER_SUB_FILES= fs2_open_${PORTNAME}_launcher WXLAUNCHER_VARS= PORTDATA+="resources *.ini *.png *.bmp" POST_PLIST+= build-plist-empty .include .if ${CHOSEN_COMPILER_TYPE} == gcc CXXFLAGS+= -fpermissive .endif post-extract: .SILENT .for v in 1.1 1.1.1 (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ Patch_Files.${v}.tar ${EXTRACT_AFTER_ARGS} -C ${WRKDIR_DIASPORA} \ && ${RM} Patch_Files.${v}.tar) .endfor post-extract-WXLAUNCHER-on: .SILENT (cd ${WRKDIR_DIASPORA} && ${CP} -f pro00099.template.ini pro00099.ini) # Backup data/cmdline_fso.cfg, because executable might merge it with # user settings (cd ${WRKDIR_DIASPORA}/data && ${MV} -f cmdline_fso.cfg cmdline_fso.cfg.bak) post-patch: .SILENT ${REINPLACE_CMD} -e '/^AC_INIT/s/3\.7\.1/${PORTNAME}/ ; \ s/freebsd/${OPSYS:tl}/ ; \ s/ -m64 -march=athlon64 -ansi// ; \ s|/usr/local|${LOCALBASE}|' \ ${CONFIGURE_WRKSRC}/configure.ac ${REINPLACE_CMD} -e 's|(640x480)x16|(1024x768)x32|' \ ${BUILD_WRKSRC}/code/osapi/osapi_unix.cpp post-patch-WXLAUNCHER-on: .SILENT ${REINPLACE_CMD} -e \ 's|/PATH/TO/YOUR/DIASPORA/FOLDER/HERE|${DATADIR}|' \ ${WRKDIR_DIASPORA}/pro00099.ini do-install: ${INSTALL_SCRIPT} ${WRKDIR}/fs2_open_${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/code/fs2_open_${PORTNAME} \ ${STAGEDIR}${PREFIX}/libexec (cd ${WRKDIR_DIASPORA} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR}) ${INSTALL_DATA} ${WRKDIR_DIASPORA}/resources/modimg.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png do-install-DOCS-on: (cd ${WRKDIR} && ${COPYTREE_SHARE} "README*.txt" ${STAGEDIR}${DOCSDIR}) (cd ${WRKDIR_DIASPORA} && ${COPYTREE_SHARE} "*.pdf *.rtf README.txt" \ ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog" \ ${STAGEDIR}${DOCSDIR}) do-install-WXLAUNCHER-on: ${INSTALL_SCRIPT} ${WRKDIR}/fs2_open_${PORTNAME}_launcher \ ${STAGEDIR}${PREFIX}/bin # Create a symbolic link, which used by launcher ${LN} -sf ${PREFIX}/libexec/fs2_open_${PORTNAME} ${STAGEDIR}${DATADIR} build-plist-empty: .SILENT # Add required empty directories to TMPPLIST ${FIND} ${STAGEDIR}${DATADIR}/data -type d -empty | \ ${SED} -e 's|^${STAGEDIR}|@dir |' >> ${TMPPLIST} .include diff --git a/games/doomlegacy/Makefile b/games/doomlegacy/Makefile index fb1ea6e6d28d..6bb15b38d94d 100644 --- a/games/doomlegacy/Makefile +++ b/games/doomlegacy/Makefile @@ -1,62 +1,63 @@ # Created by: Alexander G. Chetirbock PORTNAME= doomlegacy PORTVERSION= 1.48.8 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${DISTVERSION:S,_,%20,}/ DISTNAME= ${PORTNAME}_${DISTVERSION}_source DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}_${DISTVERSION}_common.zip MAINTAINER= danfe@FreeBSD.org COMMENT= Improved and extended version of Doom LICENSE= GPLv2 USES= gl gmake sdl tar:bzip2 USE_GL= gl glu USE_SDL= mixer sdl PLIST_FILES= bin/${PORTNAME} share/doom/legacy.wad PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_DEFINE_i386= ASM ASM_BROKEN= segmentation fault in ASM_PatchRowBytes() .if exists(/usr/include/netipx/ipx.h) OPTIONS_DEFINE+= IPX IPX_DESC= IPX protocol support .endif ASM_BUILD_DEPENDS= nasm:devel/nasm ASM_MAKE_ENV= USEASM=1 .include post-patch: .SILENT # Adjust default WAD search path ${REINPLACE_CMD} -e '/DEFWADS04/s|/.*|${DMDIR}"|' \ ${WRKSRC}/src/doomdef.h .if ! ${PORT_OPTIONS:MIPX} ${REINPLACE_CMD} -e '/USE_IPX/s|define|undef|' ${WRKSRC}/src/doomdef.h ${REINPLACE_CMD} -e 's| -lipx||' ${WRKSRC}/src/Makefile .endif pre-build: ${ECHO_CMD} CC_ENVIRONMENT=1 OS=${OPSYS:tu} | \ ${XARGS} -n 1 >> ${BUILD_WRKSRC}/make_options ${MAKE_CMD} -C ${BUILD_WRKSRC} dirs ${MAKE_CMD} -C ${BUILD_WRKSRC} depend do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/doomlegacy ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DMDIR} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${PORTVERSION}/legacy.wad \ ${STAGEDIR}${DMDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include "${.CURDIR}/../doom-data/Makefile.include" .include diff --git a/games/doomsday/Makefile b/games/doomsday/Makefile index b8b7213dd85c..2127e6890e85 100644 --- a/games/doomsday/Makefile +++ b/games/doomsday/Makefile @@ -1,42 +1,43 @@ # Created by: Igor Pokrovsky PORTNAME= doomsday PORTVERSION= 2.3.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/deng/Doomsday%20Engine/${PORTVERSION} MAINTAINER= danilo@FreeBSD.org COMMENT= Enhanced Doom, Heretic, and Hexen source port LICENSE= GPLv2 LIB_DEPENDS= libcurl.so:ftp/curl \ libassimp.so:multimedia/assimp \ libfluidsynth.so:audio/fluidsynth RUN_DEPENDS= timidity:audio/timidity USES= cmake compiler:c++11-lib gl localbase:ldflags ncurses ninja openal pkgconfig \ python:3.5+,build qt:5 sdl xorg USE_GL= gl glu USE_LDCONFIG= yes USE_SDL= sdl2 mixer2 USE_XORG= x11 sm ice xext xrandr xxf86vm USE_QT= buildtools_build core gui network widgets qmake_build opengl x11extras CMAKE_ARGS+= -DDENG_ENABLE_COTIRE=OFF -DDENG_ASSIMP_EMBEDDED=OFF LDFLAGS+= -lexecinfo WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME} PORTSCOUT= limit:^\d+\.\d+\.\d+$$ post-patch: # Removing (three) non-ascii bytes from the beginning of the file @${REINPLACE_CMD} '1s,^...,,' \ ${WRKSRC}/apps/client/src/client/cl_sound.cpp @${REINPLACE_CMD} -E -e 's|(DENG_DISTRIB_DIR /usr)|\1/local|' \ -e 's|python3|${PYTHON_VERSION}|' \ ${WRKSRC}/cmake/Config.cmake @cd ${WRKSRC} && ${FIND} . -name '*.orig' -delete .include diff --git a/games/dreamchess/Makefile b/games/dreamchess/Makefile index fda794f3dae1..620f2b9b086d 100644 --- a/games/dreamchess/Makefile +++ b/games/dreamchess/Makefile @@ -1,59 +1,60 @@ PORTNAME= dreamchess DISTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL chess game LICENSE= GPLv3+ BSD2CLAUSE BSD3CLAUSE LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSE.txt LICENSE_DISTFILES_GPLv3+ = ${DISTNAME} LICENSE_DISTFILES_BSD2CLAUSE= ${DISTNAME} LICENSE_DISTFILES_BSD3CLAUSE= ${DISTNAME} LICENSE_DISTFILES_CC-BY-NC-ND-3.0= ${DISTNAME}.tar.gz BUILD_DEPENDS= flex:textproc/flex LIB_DEPENDS= libexpat.so:textproc/expat2 USES= bison cmake gl sdl USE_GITHUB= yes USE_GL= gl glew glu USE_SDL= image2 mixer2 PLIST_FILES= bin/dreamchess \ bin/dreamer \ man/man6/dreamchess.6.gz \ man/man6/dreamer.6.gz \ share/applications/dreamchess.desktop \ share/icons/hicolor/256x256/apps/dreamchess.png \ share/icons/hicolor/48x48/apps/dreamchess.png PORTDATA= * PORTDOCS= AUTHORS.txt OPTIONS_DEFINE= DOCS MUSIC OPTIONS_DEFAULT= MUSIC MUSIC_DESC= Install DreamChess music MUSIC_GH_PROJECT= ${PORTNAME}-music:music MUSIC_GH_TAGNAME= 1.0:music .include .if ${PORT_OPTIONS:MMUSIC} LICENSE+= CC-BY-NC-ND-3.0 .endif post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${PREFIX}/share/doc/DreamChess/AUTHORS.txt ${STAGEDIR}${DOCSDIR} ${RM} -R ${STAGEDIR}${PREFIX}/share/doc/DreamChess post-install-DOCS-off: ${RM} -R ${STAGEDIR}${PREFIX}/share/doc/DreamChess post-install-MUSIC-on: cd ${WRKDIR}/${PORTNAME}-music-${MUSIC_GH_TAGNAME:S/:music//}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include diff --git a/games/duel/Makefile b/games/duel/Makefile index b51f3803b63f..62deade77c9b 100644 --- a/games/duel/Makefile +++ b/games/duel/Makefile @@ -1,35 +1,35 @@ # Created by: Alejandro Pulver PORTNAME= duel PORTVERSION= 0.98 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= LOCAL/alepulver DISTNAME= lin${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Overhead, OpenGL space shooter LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libftgl.so:graphics/ftgl USES= compiler:c++11-lang gl libtool sdl tar:bzip2 USE_GL= gl USE_SDL= sdl GNU_CONFIGURE= yes CPPFLAGS+= `${SDL_CONFIG} --cflags` `freetype-config --cflags` -I${LOCALBASE}/include -I${LOCALBASE}/include/FTGL LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= ${PORTNAME}-sh do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/runDir && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include diff --git a/games/dustrac/Makefile b/games/dustrac/Makefile index 76e4f924e23b..019273dd0134 100644 --- a/games/dustrac/Makefile +++ b/games/dustrac/Makefile @@ -1,37 +1,38 @@ PORTNAME= dustrac PORTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= 2D top-view racing game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libvorbisfile.so:audio/libvorbis RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans-Bold.ttf:x11-fonts/dejavu USE_GITHUB= yes GH_ACCOUNT= juzzlin GH_PROJECT= DustRacing2D GH_TAGNAME= ae380b8 # includes crash fix USES= compiler:c++11-lib cmake gl openal pkgconfig qt:5 USE_GL= gl glu USE_QT= core gui opengl xml widgets testlib sql \ buildtools_build linguisttools_build qmake_build CMAKE_ARGS= -DReleaseBuild=on \ -DSystemFonts=on \ -DDATA_PATH=${DATADIR} \ -DDOC_PATH=${DOCSDIR} LDFLAGS+= -L${LOCALBASE}/lib PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dustrac-editor .include diff --git a/games/dxx-rebirth/Makefile b/games/dxx-rebirth/Makefile index e07662e72077..7c1376fa055c 100644 --- a/games/dxx-rebirth/Makefile +++ b/games/dxx-rebirth/Makefile @@ -1,38 +1,39 @@ # Created by: Piotr Kubaj PORTNAME= dxx-rebirth PORTVERSION= 20210422 DISTVERSIONSUFFIX= -src +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://www.dxx-rebirth.com/download/dxx/rebirth/ DISTNAME= ${PORTNAME}_${PORTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= pkubaj@FreeBSD.org COMMENT= Open source port of Descent and Descent 2 LICENSE= GPLv3 PARALLAX LICENSE_COMB= multi LICENSE_NAME_PARALLAX= original Parallax license LICENSE_FILE_GPLv3= ${WRKSRC}/GPL-3.txt LICENSE_FILE_PARALLAX= ${WRKSRC}/COPYING.txt LICENSE_PERMS_PARALLAX= dist-mirror pkg-mirror auto-accept BUILD_DEPENDS= as:devel/binutils LIB_DEPENDS= libphysfs.so:devel/physfs \ libpng.so:graphics/png USES= compiler:c++17-lang gl localbase:ldflags pkgconfig scons sdl \ tar:xz USE_GL= gl glu USE_SDL= image2 mixer2 sdl2 MAKE_ARGS= ignore_unknown_variables=1 sdl2=1 PLIST_FILES= bin/d1x-rebirth \ bin/d2x-rebirth post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d1x-rebirth \ ${STAGEDIR}${PREFIX}/bin/d2x-rebirth .include diff --git a/games/edge/Makefile b/games/edge/Makefile index bbaed3fd2f7a..abb368603269 100644 --- a/games/edge/Makefile +++ b/games/edge/Makefile @@ -1,65 +1,65 @@ # Created by: Alejandro Pulver PORTNAME= edge PORTVERSION= 1.35 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/EDGE%20Source%20Code/${PORTVERSION} \ SF/${PORTNAME}/EDGE%20Binaries/${PORTVERSION}:wad DISTFILES= Edge-${PORTVERSION}-source${EXTRACT_SUFX} \ Edge-${PORTVERSION}-linux.tar.gz:wad EXTRACT_ONLY= Edge-${PORTVERSION}-source${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= DOOM style engine aimed at the Total Conversion developer LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libpng.so:graphics/png USES= alias gl gmake jpeg sdl tar:bzip2 USE_GL= glew USE_SDL= sdl MAKEFILE= Makefile.linux CFLAGS+= -ffast-math WRKSRC= ${WRKDIR}/Edge-${PORTVERSION}-source PLIST_FILES= bin/edge %%DMDIR%%/edge.wad PORTDOCS= * OPTIONS_DEFINE= DOCS post-extract: @${TAR} -C ${WRKDIR} \ --exclude "License.txt" \ --exclude "edge_linux" \ --exclude "demo-*" \ --exclude "*.zip" \ -x -f ${DISTDIR}/Edge-${PORTVERSION}-linux.tar.gz post-patch: @${REINPLACE_CMD} -e \ 's|^CC=|CC?=| ; \ s|^CXX=|CXX?=| ; \ s|^CFLAGS=|CFLAGS?=| ; \ s|-L$$(LIBDIR)/glew-1.4/lib||' ${WRKSRC}/Makefile.linux @${REINPLACE_CMD} -e \ 's|%%DMDIR%%|${DMDIR}|' ${WRKSRC}/src/e_main.cc do-install: ${INSTALL_PROGRAM} ${WRKSRC}/edge.linux \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DMDIR} ${INSTALL_DATA} ${WRKDIR}/Edge-${PORTVERSION}/edge.wad \ ${STAGEDIR}${DMDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/Edge-${PORTVERSION}/*.txt \ ${STAGEDIR}${DOCSDIR} .include "${.CURDIR}/../doom-data/Makefile.include" .include diff --git a/games/eduke32/Makefile b/games/eduke32/Makefile index bfcc5fdc5e77..7af19baee5e4 100644 --- a/games/eduke32/Makefile +++ b/games/eduke32/Makefile @@ -1,141 +1,142 @@ # Created by: alepulver PORTNAME= eduke32 PORTVERSION= 20210404 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://dukeworld.com/eduke32/synthesis/${PORTVERSION}-${GITREVISION}/:eduke32 \ http://www.duke4.org/files/nightfright/hrp/:hrp \ http://burnbit.com/download/447717/:hrp \ http://www.duke4.org/files/nightfright/related/:related \ http://dukeworld.com/classic%20dukeworld/share/:shareware \ https://image.dosgamesarchive.com/games/:shareware \ https://www.quaddicted.com/files/idgames2/planetquake/planetduke/:shareware \ https://ftp.swin.edu.au/gentoo/distfiles/:shareware \ ftp://ftp.3drealms.com/share/:shareware \ https://github.com/NightFright2k19/voxelpack/releases/download/2.0-rc1/:voxel DISTFILES= ${PORTNAME}_src_${PORTVERSION}-${GITREVISION}${EXTRACT_SUFX}:eduke32 EXTRACT_ONLY= ${PORTNAME}_src_${PORTVERSION}-${GITREVISION}${EXTRACT_SUFX} MAINTAINER= pkubaj@FreeBSD.org COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke LICENSE= GPLv2 BUILDLIC LICENSE_COMB= multi LICENSE_NAME_BUILDLIC= BUILD SOURCE CODE LICENSE LICENSE_FILE_BUILDLIC= ${WRKSRC}/source/build/buildlic.txt LICENSE_FILE_GPLv2= ${WRKSRC}/source/duke3d/gpl-2.0.txt LICENSE_PERMS_BUILDLIC= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libFLAC.so:audio/flac \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libvpx.so:multimedia/libvpx \ libpng.so:graphics/png USES= compiler:c11 dos2unix gl gmake gnome localbase pkgconfig sdl tar:xz USE_GL= gl glu USE_GNOME= gtk20 USE_SDL= sdl2 mixer2 WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}-${GITREVISION} GITREVISION= 9321-7225643e3 DATADIR= ${PREFIX}/share/duke3d SUB_FILES= pkg-message MAKEFILE= GNUmakefile MAKE_ARGS= CC=${CC} CXX=${CXX} PLIST_FILES= bin/eduke32 bin/mapster32 PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES HRP OFFENSIVE VOXEL OPTIONS_RADIO= GAMEDATA OPTIONS_RADIO_GAMEDATA= SHAREWARE FULL OPTIONS_DEFINE_amd64= ASM OPTIONS_DEFAULT_amd64= ASM OPTIONS_DEFINE_i386= ASM OPTIONS_DEFAULT_i386= ASM ASM_BUILD_DEPENDS= nasm:devel/nasm ASM_MAKE_ARGS_OFF= NOASM=1 HRP_DESC= Install High Resolution Pack HRP_DISTFILES= duke3d_hrp.zip:hrp HRP_PLIST_FILES= ${DATADIR}/duke3d_hrp.zip OFFENSIVE_DESC= Install Full XXX Pack OFFENSIVE_IMPLIES= HRP OFFENSIVE_DISTFILES= duke3d_xxx.zip:related OFFENSIVE_PLIST_FILES= ${DATADIR}/duke3d_xxx.zip SHAREWARE_DESC= Install shareware game data version 1.3 SHAREWARE_EXTRACT_ONLY= 3dduke13.zip SHAREWARE_DISTFILES= 3dduke13.zip:shareware SHAREWARE_PLIST_FILES= ${DATADIR}/duke3d.grp ${DATADIR}/duke.rts VOXEL_DESC= Install Voxel Pack VOXEL_DISTFILES= duke3d_voxels.zip:voxel VOXEL_PLIST_FILES= ${DATADIR}/duke3d_voxels.zip FULL_DESC= Install duke3d.grp and duke.rts from $${DISTDIR}/duke3d FULL_DISTFILES= duke3d/duke3d.grp duke3d/duke.rts FULL_PLIST_FILES= ${DATADIR}/duke3d.grp ${DATADIR}/duke.rts .include .if (${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == riscv64) || ${OSVERSION} < 1202000 MAKE_ARGS+= LTO=0 .endif .if ${PORT_OPTIONS:MFULL} # Avoid checksumming original (commercial) game data files: A variety of # editions exist with the same file names and they should all work. # This is a hack that would break when bsd.port.mk changes or DIST_SUBDIR # is set. _CKSUMFILES= ${ALLFILES:Nduke3d/duke*} .if !exists(${DISTDIR}/duke3d/duke3d.grp) || !exists(${DISTDIR}/duke3d/duke.rts) IGNORE= option FULL selected, but duke3d.grp or duke.rts not found in ${DISTDIR}/duke3d .endif .endif .include .if ${CHOSEN_COMPILER_TYPE} == clang MAKE_ARGS+= CLANG=1 .endif post-extract-SHAREWARE-on: @cd ${WRKDIR} && ${UNZIP_NATIVE_CMD} -qo DN3DSW13.SHR post-patch: @${REINPLACE_CMD} 's|/usr/share/games/eduke32|${DATADIR}|' \ ${WRKSRC}/source/duke3d/src/common.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/eduke32 ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mapster32 ${STAGEDIR}${PREFIX}/bin do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/package/sdk/tiles.cfg ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/package/sdk/samples/* ${STAGEDIR}${EXAMPLESDIR} do-install-HRP-on: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/duke3d_hrp.zip ${STAGEDIR}${DATADIR}/duke3d_hrp.zip do-install-OFFENSIVE-on: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/duke3d_xxx.zip ${STAGEDIR}${DATADIR}/duke3d_xxx.zip do-install-SHAREWARE-on: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/DUKE3D.GRP ${STAGEDIR}${DATADIR}/duke3d.grp ${INSTALL_DATA} ${WRKDIR}/DUKE.RTS ${STAGEDIR}${DATADIR}/duke.rts do-install-VOXEL-on: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/duke3d_voxels.zip ${STAGEDIR}${DATADIR}/duke3d_voxels.zip do-install-FULL-on: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/duke3d/duke3d.grp ${STAGEDIR}${DATADIR}/duke3d.grp ${INSTALL_DATA} ${DISTDIR}/duke3d/duke.rts ${STAGEDIR}${DATADIR}/duke.rts .include diff --git a/games/egl/Makefile b/games/egl/Makefile index 72961656539a..aa1c9dc6f702 100644 --- a/games/egl/Makefile +++ b/games/egl/Makefile @@ -1,79 +1,79 @@ # Created by: Alejandro Pulver PORTNAME= egl PORTVERSION= 0.3.1 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= http://freebsd.nsu.ru/distfiles/ DISTNAME= ${PORTNAME}-v${PORTVERSION}-stable-src DISTFILES= ${DISTNAME}${EXTRACT_SUFX} egl.pkz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= danfe@FreeBSD.org COMMENT= Enhanced OpenGL-only Quake II engine LICENSE= GPLv2 USES= dos2unix gmake zip MAKEFILE= makefile NO_WRKSUBDIR= yes MAKE_ENV= LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S,${PREFIX}/,,}" LIBDIR= ${PREFIX}/lib/${PORTNAME} OPTIONS_DEFINE= CLIENT DEDICATED GAME OPTIMIZED_CFLAGS OPTIONS_DEFAULT= CLIENT DEDICATED GAME OPTIMIZED_CFLAGS CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server GAME_DESC= Build main game (default mod) .include .if ${PORT_OPTIONS:MCLIENT} LIB_DEPENDS= libpng.so:graphics/png USES+= gl jpeg USE_GL= gl PLIST_SUB+= CLIENT="" EGL_BIN+= egl .else MAKE_ENV+= BUILD_CLIENT=NO \ BUILD_CGAME=NO PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} PLIST_SUB+= DEDICATED="" EGL_BIN+= eglded .else MAKE_ENV+= BUILD_DEDICATED=NO PLIST_SUB+= DEDICATED="@comment " .endif .if ${PORT_OPTIONS:MGAME} PLIST_SUB+= GAME="" .else MAKE_ENV+= BUILD_GAME=NO PLIST_SUB+= GAME="@comment " .endif .if ! ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MAKE_ENV+= WITH_OPT_CFLAGS=NO .endif # Fix the build against Clang post-patch: @${REINPLACE_CMD} -e '145s/return qFalse/return/' \ ${WRKSRC}/unix/unix_snd_main.c do-install: ${INSTALL_PROGRAM} ${EGL_BIN:S,^,${WRKSRC}/release/,} \ ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${LIBDIR}/baseq2 ${INSTALL_PROGRAM} ${WRKSRC}/release/baseq2/*.so \ ${STAGEDIR}${LIBDIR}/baseq2 ${INSTALL_DATA} ${DISTDIR}/egl.pkz ${STAGEDIR}${LIBDIR}/baseq2 .include "${.CURDIR}/../quake2-data/Makefile.include" .include diff --git a/games/egoboo/Makefile b/games/egoboo/Makefile index e199439132c2..9de0a8966fd8 100644 --- a/games/egoboo/Makefile +++ b/games/egoboo/Makefile @@ -1,55 +1,56 @@ # Created by: Jan Stocker PORTNAME= egoboo PORTVERSION= 2.8.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Linux%20Source%20Distro/${PORTVERSION}%20(Stable) MAINTAINER= amdmi3@FreeBSD.org COMMENT= 3D dungeon crawling adventure in the spirit of NetHack LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libphysfs.so:devel/physfs \ libenet.so:net/enet USES= dos2unix gl gmake sdl USE_SDL= sdl ttf mixer image USE_GL= gl glu DOS2UNIX_GLOB= Makefile *.c PROJ_NAME= egoboo BUILD_WRKSRC= ${WRKSRC}/src/game MAKE_ENV= PROJ_NAME=${PROJ_NAME} ALL_TARGET= ${PROJ_NAME} ETCDIR= ${PREFIX}/etc/${PROJ_NAME} DATADIR= ${PREFIX}/share/${PROJ_NAME} PORTDOCS= * PORTDATA= * DESKTOP_ENTRIES="Egoboo" \ "" \ "${DATADIR}/icon.bmp" \ "${PROJ_NAME}" \ "Game;AdventureGame;RolePlaying;" \ "" OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PROJ_NAME} ${STAGEDIR}${PREFIX}/bin/ @cd ${WRKSRC} && ${COPYTREE_SHARE} "basicdat modules" ${STAGEDIR}${DATADIR}/ @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/controls.txt ${STAGEDIR}${ETCDIR}/controls.txt.sample ${INSTALL_DATA} ${WRKSRC}/setup.txt ${STAGEDIR}${ETCDIR}/setup.txt.sample do-install-DOCS-on: @cd ${WRKSRC} && ${COPYTREE_SHARE} "BUGS.txt Changelog.txt doc" \ ${STAGEDIR}${DOCSDIR} "-not -empty" .include diff --git a/games/el/Makefile b/games/el/Makefile index 695a209abe56..22e16736fbe8 100644 --- a/games/el/Makefile +++ b/games/el/Makefile @@ -1,50 +1,51 @@ # Created by: Janni PORTNAME= el PORTVERSION= 1.9.5.8 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games MAINTAINER= acm@FreeBSD.org COMMENT= Eternal Lands is a free 3D MMORPG BROKEN_sparc64= fails to build on sparc64 LIB_DEPENDS= libpng.so:graphics/png \ libvorbis.so:audio/libvorbis \ libcal3d.so:graphics/cal3d RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/el.ini:games/el-data USES= compiler:c++11-lang desktop-file-utils gl gmake gnome iconv \ openal:al,alut sdl xorg USE_GNOME= libxml2 USE_SDL= sdl2 net2 image2 USE_GL= gl glu USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= raduprv GH_PROJECT= Eternal-Lands LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} -lX11 LDFLAGS_i386= -Wl,-znotext ALL_TARGET= el.bin MAKEFILE= Makefile.bsd PLIST_FILES= bin/eternallands \ %%DATADIR%%/el.bin \ share/applications/eternallands.desktop \ share/icons/hicolor/48x48/apps/eternallands.png pre-install: @${ECHO} "#!/bin/sh" > ${WRKDIR}/eternallands @${ECHO} "cd ${DATADIR} || exit 1 " >> ${WRKDIR}/eternallands @${ECHO} "exec ${DATADIR}/el.bin" >> ${WRKDIR}/eternallands do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/eternallands ${STAGEDIR}${PREFIX}/bin/eternallands ${INSTALL_PROGRAM} ${WRKSRC}/el.bin ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps ${INSTALL_DATA} ${WRKSRC}/pkgfiles/eternallands.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/eternallands.png ${INSTALL_DATA} ${WRKSRC}/pkgfiles/eternallands.desktop ${STAGEDIR}${PREFIX}/share/applications/eternallands.desktop .include diff --git a/games/emptyepsilon/Makefile b/games/emptyepsilon/Makefile index f430dbb8d7d1..99567c6c32f7 100644 --- a/games/emptyepsilon/Makefile +++ b/games/emptyepsilon/Makefile @@ -1,36 +1,37 @@ # Created by: Yuri Victorovich PORTNAME= emptyepsilon DISTVERSIONPREFIX= EE- DISTVERSION= 2021.03.31 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= yuri@FreeBSD.org COMMENT= Spaceship bridge simulator game LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libsfml-system.so:devel/sfml USES= cmake compiler:c++11-lib gl xorg USE_GL= gl glu USE_GITHUB= yes GH_ACCOUNT= daid GH_PROJECT= EmptyEpsilon SeriousProton:sproton CMAKE_ARGS= -DSERIOUS_PROTON_DIR="${WRKSRC_sproton}/" post-patch: @${REINPLACE_CMD} -e 's|basepath + |"${DATADIR}/" + basepath + |' \ ${WRKSRC_sproton}/src/resources.cpp @${REINPLACE_CMD} -e 's|loadFromFile("resources/"|loadFromFile("${DATADIR}/resources/"|' \ ${WRKSRC_sproton}/src/postProcessManager.cpp @${REINPLACE_CMD} -e 's|uint32_t bswap32(uint32_t value)|uint32_t bswap32_(uint32_t value)|' \ ${WRKSRC_sproton}/src/i18n.cpp post-install: @${MV} ${STAGEDIR}${PREFIX}/bin/EmptyEpsilon ${STAGEDIR}${PREFIX}/bin/emptyepsilon .include diff --git a/games/endless-sky/Makefile b/games/endless-sky/Makefile index fa2cab10d11b..14258949acb9 100644 --- a/games/endless-sky/Makefile +++ b/games/endless-sky/Makefile @@ -1,35 +1,36 @@ PORTNAME= endless-sky PORTVERSION= 0.9.12 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Space exploration and combat game similar to Escape Velocity LICENSE= GPLv3+ CC-BY-4.0 CC-BY-SA-3.0 CC-BY-SA-4.0 PD LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/license.txt LIB_DEPENDS= libpng.so:graphics/png \ libmad.so:audio/libmad USE_GITHUB= yes USES= compiler:c++11-lang gl gnome jpeg localbase:ldflags openal scons sdl xorg USE_SDL= sdl2 USE_GL= gl glew INSTALLS_ICONS= yes LDFLAGS_i386= -Wl,-znotext PORTDATA= * post-build: @${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|; s|share/games|share|' \ ${WRKSRC}/source/Files.cpp post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${LN} -s ../icons/hicolor/32x32/apps/endless-sky.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include diff --git a/games/ensemblist/Makefile b/games/ensemblist/Makefile index edcb2e8797be..9d1b89f276e1 100644 --- a/games/ensemblist/Makefile +++ b/games/ensemblist/Makefile @@ -1,33 +1,33 @@ # Created by: Igor Pokrovsky PORTNAME= ensemblist PORTVERSION= 040126 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= SAVANNAH MAINTAINER= ports@FreeBSD.org COMMENT= Assemble given shapes from primitives LIB_DEPENDS= libmikmod.so:audio/libmikmod \ libpng.so:graphics/png USES= gl gmake xorg USE_XORG= xmu USE_GL= glut MAKE_ARGS= CC="${CC}" DATADIR="${DATADIR}" PLIST_FILES= bin/ensemblist man/man6/ensemblist.6.gz PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/datas/* ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${INSTALL_MAN} ${WRKSRC}/ensemblist.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 .include diff --git a/games/etracer/Makefile b/games/etracer/Makefile index f74c3ff20906..05f59931aa04 100644 --- a/games/etracer/Makefile +++ b/games/etracer/Makefile @@ -1,23 +1,24 @@ # Created by: Peter Dunning PORTNAME= etr PORTVERSION= 0.8.0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/extremetuxracer/releases/${PORTVERSION} PKGNAMESUFFIX= acer MAINTAINER= nc@FreeBSD.org COMMENT= Extreme Tux Racer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsfml-system.so:devel/sfml USES= compiler:c++11-lang gl pkgconfig tar:xz xorg USE_GL= gl glu GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS .include diff --git a/games/eureka/Makefile b/games/eureka/Makefile index e538fec892ca..1c60a9e80cc8 100644 --- a/games/eureka/Makefile +++ b/games/eureka/Makefile @@ -1,30 +1,31 @@ # Created by: Kalten PORTNAME= eureka DISTVERSION= 1.27b +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}-editor/Eureka/${PORTVERSION:R} DISTNAME= ${PORTNAME}-${DISTVERSION}-source MAINTAINER= kalten@gmx.at COMMENT= Map editor for various Doom-derived games LICENSE= GPLv2+ LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig \ libpng.so:graphics/png USES= compiler:c++0x desktop-file-utils gl gmake jpeg xorg USE_GL= gl glu USE_XORG= x11 xcursor xext xfixes xft xinerama xpm xrender PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/excido/Makefile b/games/excido/Makefile index d7c5b829cf7c..234ff9ed6ba9 100644 --- a/games/excido/Makefile +++ b/games/excido/Makefile @@ -1,35 +1,35 @@ # Created by: Alejandro Pulver PORTNAME= excido PORTVERSION= 0.1.5c -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= games MASTER_SITES= https://icculus.org/${PORTNAME}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= Portable fast-paced 3D shooter LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libphysfs.so:devel/physfs WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= compiler:c++11-lang gl gmake openal:al,alut sdl tar:bzip2 USE_GL= gl glu USE_SDL= image sdl ttf LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/excido ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/data ; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/ezquake/Makefile b/games/ezquake/Makefile index bf25b618bccc..2abd0da8d2d6 100644 --- a/games/ezquake/Makefile +++ b/games/ezquake/Makefile @@ -1,46 +1,46 @@ # Created by: alepulver PORTNAME= ezquake DISTVERSION= 3.2.3 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= games MASTER_SITES= https://github.com/ezQuake/ezquake-source/archive/ \ https://github.com/ezQuake/ezquake-source/releases/download/${PORTVERSION}/ DISTFILES= ${PORTVERSION}.tar.gz \ ${PORTNAME}-ubuntu-${PORTVERSION}-full.tar.gz DIST_SUBDIR= ${PORTNAME} MAINTAINER= vvd@unislabs.com COMMENT= Modern QuakeWorld client LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libjansson.so:devel/jansson \ libpcre.so:devel/pcre \ libpng.so:graphics/png \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp USES= gl gmake jpeg pkgconfig sdl tcl USE_GL= yes USE_SDL= sdl2 MAKE_ENV= TCL_SUFX=${TCL_SHLIB_VER} .for v in TCL_INCLUDEDIR TCL_LIBDIR DATADIR MAKE_ENV+= ${v}="${${v}}" .endfor WRKSRC= ${WRKDIR}/${PORTNAME}-source-${PORTVERSION} .include "${.CURDIR}/../quake-data/Makefile.include" post-patch: @${REINPLACE_CMD} -e 's|libtcl\.so|libtcl${TCL_VER:S/.//}|' \ ${WRKSRC}/embed_tcl.h do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKDIR} && ${COPYTREE_SHARE} "ezquake qw" ${STAGEDIR}${DATADIR}) ${INSTALL_PROGRAM} ${WRKSRC}/ezquake-freebsd \ ${STAGEDIR}${PREFIX}/bin/ezquake .include diff --git a/games/f1spirit-remake/Makefile b/games/f1spirit-remake/Makefile index 64cf41136d03..6afd53644166 100644 --- a/games/f1spirit-remake/Makefile +++ b/games/f1spirit-remake/Makefile @@ -1,47 +1,47 @@ PORTNAME= f1spirit-remake PORTVERSION= 1.0 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= games # Original braingames site is really slow MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ \ http://www.braingames.getput.com/f1spirit/downloads/ DISTNAME= f1spirit-linux MAINTAINER= amdmi3@FreeBSD.org COMMENT= Remake of classic F1 Spirit racing game LIB_DEPENDS= libcurl.so:ftp/curl USES= dos2unix gl gmake sdl zip USE_SDL= sdl net image mixer sound USE_GL= gl glu DOS2UNIX_GLOB= *.h *.cpp WRKSRC= "${WRKDIR}/F-1 Spirit" BUILD_WRKSRC= ${WRKSRC}/sources PLIST_FILES= bin/f1s PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-extract: @cd ${WRKSRC}/designs && ${RMDIR} endurance f3 f3000 # empty dirs post-patch: @${FIND} ${BUILD_WRKSRC} -name '*.cpp' -print0 | ${XARGS} -0 ${REINPLACE_CMD} \ -e 's|"demos"|"${DATADIR}/demos"|g; s|designs/|${DATADIR}/&|g; \ s|f1spirit2.cfg|${DATADIR}/&|g; s|graphics/|${DATADIR}/&|g; \ s|sound/|${DATADIR}/&|g; s|tracks/|${DATADIR}/&|g' @${REINPLACE_CMD} -e '//d' ${WRKSRC}/sources/F1Shttp.cpp do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/f1s ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC} && ${COPYTREE_SHARE} \ 'demos designs f1spirit2.cfg graphics sound tracks' \ ${STAGEDIR}${DATADIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/fbg2/Makefile b/games/fbg2/Makefile index 7ba4380b5b85..b0f0b780b1e7 100644 --- a/games/fbg2/Makefile +++ b/games/fbg2/Makefile @@ -1,41 +1,41 @@ # Created by: Rusmir Dusko PORTNAME= fbg2 PORTVERSION= 0.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= SF/fbg/ MAINTAINER= ports@FreeBSD.org COMMENT= Classic block-stacking arcade game LICENSE= GPLv2+ CC-BY-SA-3.0 LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/License.txt BUILD_DEPENDS= ${LOCALBASE}/lib/libradius-engine.a:graphics/radius-engine LIB_DEPENDS= liblua-5.1.so:lang/lua51 \ libpng.so:graphics/png \ libphysfs.so.1:devel/physfs RUN_DEPENDS= zip:archivers/zip USES= gl pkgconfig sdl USE_SDL= sdl sound USE_GL= glu GNU_CONFIGURE= yes ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png \ %%DATADIR%%/${PORTNAME}.zip PLIST_DIRS= %%DATADIR%% PORTDOCS= ChangeLog OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile index 16ea193c7865..5a1450a0068f 100644 --- a/games/fishsupper/Makefile +++ b/games/fishsupper/Makefile @@ -1,44 +1,44 @@ PORTNAME= fishsupper PORTVERSION= 0.1.6 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= games MASTER_SITES= https://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Guide a cat across a series of rivers, jumping from log to log LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:devel/boost-libs BROKEN_FreeBSD_11_powerpc64= fails to compile: Log.h: expected initializer before '<' token BROKEN_FreeBSD_12_powerpc64= fails to compile: Log.h: expected initializer before '<' token GNU_CONFIGURE= yes USES= gl gmake localbase:ldflags sdl USE_SDL= sdl image mixer USE_GL= gl USE_CXXSTD= c++98 PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * DESKTOP_ENTRIES="Fish Supper" \ "Guide a cat across a series of rivers, jumping from log to log" \ "${DATADIR}/images/fs_image_30.png" \ "fishsupper" \ "Game;ArcadeGame;" \ false OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|std::tr1::shared_ptr|std::shared_ptr|g' ${WRKSRC}/src/*.h ${WRKSRC}/src/*.cpp post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile index f89bfad60f0b..d9293ab9730a 100644 --- a/games/flightgear/Makefile +++ b/games/flightgear/Makefile @@ -1,61 +1,62 @@ # Created by: Brian Buchanan PORTNAME= flightgear PORTVERSION= 2020.3.9 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/flightgear/release-${PORTVERSION:R} MAINTAINER= martymac@FreeBSD.org COMMENT= FlightGear flight simulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libboost_thread.so:devel/boost-libs \ libfltk.so:x11-toolkits/fltk \ libfreetype.so:print/freetype2 \ libosg.so:graphics/osg \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp \ libcurl.so:ftp/curl \ libudev.so:devel/libudev-devd \ libexpat.so:textproc/expat2 \ libSimGearCore.so:devel/simgear BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/share/flightgear/version:games/flightgear-data RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib \ ${LOCALBASE}/share/flightgear/version:games/flightgear-data # Disable ninja, see https://sourceforge.net/p/flightgear/codetickets/2118/ USES= alias cmake:noninja compiler:c++11-lang cpe dos2unix gl jpeg \ openal:al,alut sqlite tar:bzip2 xorg USE_XORG= ice sm x11 xext xft xi xinerama xmu xt USE_GL= gl glew glu glut DOS2UNIX_REGEX= .*\.(c|h|cxx|cpp|hxx|hpp) CMAKE_ARGS+= -DSYSTEM_SQLITE:BOOL=ON \ -DENABLE_HID_INPUT:BOOL=OFF \ -DFG_DATA_DIR:PATH=${LOCALBASE}/share/${PORTNAME} \ -DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man \ -DFGCOM_DATA_PATH:PATH=${DATADIR} LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= DBUS QT5 OPTIONS_DEFAULT= DBUS QT5 DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_USES= pkgconfig DBUS_CMAKE_ON= -DUSE_DBUS:BOOL=ON DBUS_CMAKE_OFF= -DUSE_DBUS:BOOL=OFF QT5_CMAKE_ON= -DENABLE_QT:BOOL=ON QT5_CMAKE_OFF= -DENABLE_QT:BOOL=OFF QT5_USES= qt:5 QT5_USE= QT=core,buildtools,linguisttools,gui,declarative,network,qmake,widgets,svg post-patch: # Avoid conflict with C++20 - used version file is flightgear-version @${RM} ${WRKSRC}/version .include diff --git a/games/foobillard/Makefile b/games/foobillard/Makefile index c0f51ca9429d..34c201482c86 100644 --- a/games/foobillard/Makefile +++ b/games/foobillard/Makefile @@ -1,62 +1,62 @@ # Created by: Thomas Vogt PORTNAME= foobillard PORTVERSION= 3.0a -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/FooBillard-Sources/ MAINTAINER= thomas@bsdunix.ch COMMENT= Free OpenGL billiards game LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 OPTIONS_DEFINE= SDL NVIDIA_BUMPREF SDL_DESC= SDL instead of glut NVIDIA_BUMPREF_DESC= NVidia extensions .include FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config USES= gmake xorg GNU_CONFIGURE= yes USE_XORG= xaw ice CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib DESKTOP_ENTRIES= "Foobillard" \ "A free OpenGL-billard game" \ "${DATADIR}/foobillard.png" \ "foobillard" \ "Game;Simulation;" \ false .if ${PORT_OPTIONS:MSDL} USES+= sdl USE_SDL= sdl CONFIGURE_ARGS+= --enable-SDL .else USES+= gl USE_GL= glut CONFIGURE_ARGS+= --enable-glut .endif .if ! ${PORT_OPTIONS:MNVIDIA_BUMPREF} CONFIGURE_ARGS+= --disable-nvidia CFLAGS += -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 .endif post-patch: @${REINPLACE_CMD} -e 's|%%FREETYPE_CONFIG%%|${FREETYPE_CONFIG}|g' \ ${WRKSRC}/src/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/foobillard.6 ${STAGEDIR}${PREFIX}/man/man6/foobillard.6 .include diff --git a/games/freedroidrpg/Makefile b/games/freedroidrpg/Makefile index 4ff77fd169b1..472519f20d5b 100644 --- a/games/freedroidrpg/Makefile +++ b/games/freedroidrpg/Makefile @@ -1,53 +1,53 @@ # Created by: Travis Poppe PORTNAME= freedroidrpg PORTVERSION= 0.16.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PORTVERSION:R}/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= freedroidRPG-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Modification of the classical Freedroid engine into an RPG LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_13= ld: error: duplicate symbol: tux_rendering BROKEN_FreeBSD_14= ld: error: duplicate symbol: tux_rendering LIB_DEPENDS= libpng.so:graphics/png GNU_CONFIGURE= yes USES= jpeg gmake localbase lua:52+ python sdl xorg USE_XORG= x11 USE_SDL= sdl image gfx CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND DOCS OPTIONS_DEFAULT=BACKTRACE OPENGL SOUND OPTIONS_SUB= yes BACKTRACE_DESC= Use backtrace() to generate nice bug reports BACKTRACE_CONFIGURE_ENABLE= backtrace BACKTRACE_VARS= STRIP= # empty OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE= opengl SOUND_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg SOUND_CONFIGURE_ENABLE= sound SOUND_USE= SDL=mixer NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/games/freeminer/Makefile b/games/freeminer/Makefile index 25f9a703b51c..20c6230dd72a 100644 --- a/games/freeminer/Makefile +++ b/games/freeminer/Makefile @@ -1,106 +1,106 @@ PORTNAME= freeminer PORTVERSION= 0.4.10.4 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= Open source sandbox game inspired by Minecraft LICENSE= LGPL21+ GPLv3+ # source mentions GPLv3+, LICENSE.txt LGPL21+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING # don't remove space BROKEN_armv7= fails to configure: Looking for include file endian.h - not found BROKEN_FreeBSD_12_powerpc64= fails to compile: freeminer-0.4.10.4/src/util/lock.h:200:31: error: cannot convert 'const shared_map*' to 'locker* LIB_DEPENDS= libsqlite3.so:databases/sqlite3 USE_GITHUB= yes USES= compiler:c++11-lib cmake localbase:ldflags CMAKE_ARGS= -DCUSTOM_MANDIR="${PREFIX}/man" \ -DCUSTOM_EXAMPLE_CONF_DIR="${PREFIX}/etc" \ -DRUN_IN_PLACE=0 LDFLAGS_i386= -Wl,-znotext PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= CLIENT SERVER CURL SOUND FREETYPE LEVELDB LUAJIT NLS DOCS EXAMPLES OPTIONS_DEFAULT=CLIENT SERVER CURL SOUND FREETYPE LEVELDB LUAJIT OPTIONS_SUB= yes CLIENT_DESC= Build client SERVER_DESC= Build server CURL_DESC= Enable cURL support for fetching media SOUND_DESC= Enable sound LEVELDB_DESC= Enable LevelDB backend FREETYPE_DESC= Support for TrueType fonts with unicode LUAJIT_DESC= LuaJIT support CLIENT_CMAKE_ON= -DBUILD_CLIENT=1 CLIENT_CMAKE_OFF= -DBUILD_CLIENT=0 CLIENT_LIB_DEPENDS= libpng.so:graphics/png \ libIrrlicht.so:x11-toolkits/irrlicht CLIENT_USES= gl jpeg xorg CLIENT_USE= GL=gl XORG=x11 SERVER_CMAKE_ON= -DBUILD_SERVER=1 SERVER_CMAKE_OFF= -DBUILD_SERVER=0 CURL_CMAKE_ON= -DENABLE_CURL=1 CURL_CMAKE_OFF= -DENABLE_CURL=0 CURL_LIB_DEPENDS= libcurl.so:ftp/curl NLS_CMAKE_ON= -DENABLE_GETTEXT=1 NLS_CMAKE_OFF= -DENABLE_GETTEXT=0 NLS_USES= gettext NLS_LDFLAGS= -L${LOCALBASE}/lib SOUND_CMAKE_ON= -DENABLE_SOUND=1 SOUND_CMAKE_OFF= -DENABLE_SOUND=0 LEVELDB_CMAKE_ON= -DENABLE_LEVELDB=1 LEVELDB_CMAKE_OFF= -DENABLE_LEVELDB=0 LEVELDB_LIB_DEPENDS= libleveldb.so:databases/leveldb FREETYPE_CMAKE_ON= -DENABLE_FREETYPE=1 FREETYPE_CMAKE_OFF= -DENABLE_FREETYPE=0 FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit .include .if ${ARCH:Mpowerpc64*} LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty .endif .if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND} USES+= openal LIB_DEPENDS+= libvorbis.so:audio/libvorbis .endif .if ${PORT_OPTIONS:MSERVER} USE_RC_SUBR= ${PORTNAME} USERS= minetest # reuse, as freeminer is a fork of GROUPS= minetest .endif # hacky way to not bring irrlicht and X11 depends for server only .if ! ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSERVER} BUILD_DEPENDS+= ${NONEXISTENT}:x11-toolkits/irrlicht:patch IRRLICHT_INCLUDE_DIR= `${MAKE} -C ${PORTSDIR}/x11-toolkits/irrlicht -V WRKSRC`/include CMAKE_ARGS+= -DIRRLICHT_INCLUDE_DIR:STRING="${IRRLICHT_INCLUDE_DIR}" EXTRA_PATCHES+= ${FILESDIR}/extra-patch-irrlichtdepend .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/*.cmake @${REINPLACE_CMD} -e 's|-lpthread|-pthread|' \ ${WRKSRC}/src/CMakeLists.txt .if ! ${PORT_OPTIONS:MLUAJIT} @${REINPLACE_CMD} -e '/find_/ s|LUA_|NO&|g' \ ${WRKSRC}/src/CMakeLists.txt .endif post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/games @${MV} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.example \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include diff --git a/games/freeorion/Makefile b/games/freeorion/Makefile index 6632bd6f4a63..9dcc19d741c9 100644 --- a/games/freeorion/Makefile +++ b/games/freeorion/Makefile @@ -1,48 +1,49 @@ PORTNAME= freeorion DISTVERSIONPREFIX= v DISTVERSION= 0.4.10.1 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Turn-based space empire and galactic conquest game LICENSE= GPLv2 CC-BY-SA-3.0 LICENSE_COMB= multi LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ ${PY_BOOST} USE_GITHUB= yes USES= cmake compiler:c++14-lang python:3.5+ CMAKE_ARGS= -Wno-dev LDFLAGS_i386= -Wl,-znotext PORTDOCS= ChangeLog.md README.md PORTDATA= * OPTIONS_DEFINE= DOCS TEST HEADLESS OPTIONS_SUB= yes TEST_CMAKE_BOOL= BUILD_TESTING TEST_TEST_TARGET= unittest TEST_USES= localbase HEADLESS_DESC= Build only headless components: server and AI HEADLESS_CMAKE_BOOL= BUILD_HEADLESS HEADLESS_USES_OFF= gl openal sdl HEADLESS_USE_OFF= SDL=sdl2 GL=gl,glu,glew HEADLESS_LIB_DEPENDS_OFF= \ libfreetype.so:print/freetype2 \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libpng.so:graphics/png post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/games/freetennis/Makefile b/games/freetennis/Makefile index 96808f39a153..1512fc7c53bd 100644 --- a/games/freetennis/Makefile +++ b/games/freetennis/Makefile @@ -1,46 +1,46 @@ # Created by: Jean-Yves Lefort PORTNAME= freetennis PORTVERSION= 0.4.8 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= games MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Tennis simulation LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ocamlopt:lang/ocaml \ ocaml-images>3.0:graphics/ocaml-images \ ${OCAML_DEPENDS} RUN_DEPENDS= ${OCAML_DEPENDS} LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 OCAML_DEPENDS= ${LOCALBASE}/lib/ocaml/site-lib/lablgtk2/gtk.ml:x11-toolkits/ocaml-lablgtk2 \ ${LOCALBASE}/lib/ocaml/lablGL/gl.ml:graphics/ocaml-lablgl \ ${LOCALBASE}/lib/ocaml/site-lib/sdl/sdl.mli:devel/ocaml-sdl USES= gettext gl gnome sdl tar:bzip2 xorg USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango USE_GL= gl glu USE_SDL= ttf mixer sdl USE_XORG= x11 xext xmu PLIST_FILES= bin/freetennis PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|sfxDir = "sfx"|sfxDir = "${DATADIR}/sfx"|; \ s|gfxDir = "graphics"|gfxDir = "${DATADIR}/graphics"|' \ ${WRKSRC}/freetennis.ml @${REINPLACE_CMD} -Ee 's@(\+)(lablgtk2)@\1site-lib/\2@' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/freetennis ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics sfx" ${STAGEDIR}${DATADIR}) .include diff --git a/games/frogatto/Makefile b/games/frogatto/Makefile index 6f7d2c1859d4..7cb12bcbb18e 100644 --- a/games/frogatto/Makefile +++ b/games/frogatto/Makefile @@ -1,64 +1,64 @@ # Created by: Alexey Dokuchaev PORTNAME= frogatto PORTVERSION= 1.3.1 -PORTREVISION= 23 +PORTREVISION= 24 CATEGORIES= games MAINTAINER= fiziologus@gmail.com COMMENT= Old-school 2D classic adventure platformer game LICENSE= FROGATTO GPLv3 LICENSE_COMB= multi LICENSE_NAME_FROGATTO= Frogatto license LICENSE_FILE_FROGATTO= ${WRKSRC}/LICENSE LICENSE_FILE_GPLv3= ${WRKSRC}/src/LICENSE LICENSE_PERMS_FROGATTO= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= frogatto USES= compiler:c++11-lang dos2unix gl gmake pkgconfig sdl ALL_TARGET= game server USE_GL= glew glu USE_SDL= sdl image mixer ttf USE_CXXSTD= c++11 DOS2UNIX_FILES= src/surface_cache.cpp PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}-server post-patch: @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,%lu,%u,' ${WRKSRC}/src/server.cpp @${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__,' \ ${WRKSRC}/src/clipboard.cpp # Point to the right location where to look for resources on FreeBSD @${REINPLACE_CMD} -e 's,HAVE_CONFIG_H,__FreeBSD__,' \ -e 's,DATADIR,"${DATADIR}",' ${WRKSRC}/src/filesystem.cpp @${REINPLACE_CMD} -e 's,itor->second,"${DATADIR}/" + &,' \ ${WRKSRC}/src/sound.cpp @${REINPLACE_CMD} -e '/\/locale\//s,\.,${PREFIX}/share,' \ ${WRKSRC}/src/i18n.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/game ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/server \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-server cd ${WRKSRC}/modules/frogatto/locale && \ ${MV} hu_HU hu && ${MV} ms_MY ms cd ${WRKSRC}/modules/frogatto && ${COPYTREE_SHARE} \ locale ${STAGEDIR}${PREFIX}/share cd ${WRKSRC} && ${COPYTREE_SHARE} "data images music modules utils" \ ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${INSTALL_DATA} *.ttf *.cfg ${STAGEDIR}${DATADIR} # Dynamically generate part of the PLIST for NLS files and game resources # (really lots of them) @${FIND} ${STAGEDIR}${PREFIX}/share/locale -name ${PORTNAME}.mo | \ ${SED} 's,^${STAGEDIR}${PREFIX}/,,' | ${SORT} >> ${TMPPLIST} @${FIND} ${STAGEDIR}${DATADIR} -not -type d | \ ${SED} 's,^${STAGEDIR}${PREFIX}/,,' | ${SORT} >> ${TMPPLIST} .include diff --git a/games/gillo/Makefile b/games/gillo/Makefile index 8a400cee508d..5f6555b056df 100644 --- a/games/gillo/Makefile +++ b/games/gillo/Makefile @@ -1,45 +1,45 @@ # Created by: Igor Pokrovsky PORTNAME= gillo DISTVERSION= 1.0beta1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0beta1 DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= Players are cars throwing a magnetic fuzzy ball into a goal LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${JAM}:devel/jam \ ${LOCALBASE}/lib/libplibsg.a:x11-toolkits/plib LIB_DEPENDS= libode.so:devel/ode USES= gl sdl tar:bzip2 USE_CXXSTD= c++98 USE_GL= gl glu USE_SDL= sdl WRKSRC= ${WRKDIR}/${PORTNAME} JAM?= ${LOCALBASE}/bin/jam post-patch: @${REINPLACE_CMD} '/^LINKLIBS on gillo3/s|;$$|-L${LOCALBASE}/lib -lm ;|' \ ${WRKSRC}/src/Jamfile do-build: cd ${WRKSRC} && ${SETENV} C++="${CXX}" C++FLAGS="${CXXFLAGS}" \ CCFLAGS="${CFLAGS} -DDATADIR=\\\"${PREFIX}/share\\\"" \ HDRS="${LOCALBASE}/include" \ LINK="${CXX}" LINKFLAGS="${LDFLAGS}" \ ${JAM} -dx -sPREFIX=${PREFIX} do-install: (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} gillo3 ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/data && ${INSTALL_DATA} *.* ${STAGEDIR}${DATADIR}) .include diff --git a/games/gl-117/Makefile b/games/gl-117/Makefile index 9a834154f7c4..9b395b37a3c9 100644 --- a/games/gl-117/Makefile +++ b/games/gl-117/Makefile @@ -1,38 +1,38 @@ # Created by: ijliao PORTNAME= gl-117 PORTVERSION= 1.3.2 DISTVERSIONSUFFIX= -src -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GL-117%20Source MAINTAINER= erik@bz.bzflag.bz COMMENT= OpenGL & SDL action flight simulator USES= gl tar:bzip2 USE_GL= glut GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-opengl-dir=${LOCALBASE} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib DESKTOP_ENTRIES= "GL-117" \ "Action flight simulator" \ "" \ "gl-117" \ "Game;ArcadeGame;" \ false OPTIONS_DEFINE= DOCS .include post-install: ${INSTALL_MAN} ${WRKSRC}/doc/gl-117.6 ${STAGEDIR}${MANPREFIX}/man/man6 .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/gl-117.pdf ${STAGEDIR}${DOCSDIR} .endif .include diff --git a/games/glaxium/Makefile b/games/glaxium/Makefile index a3740d988d7b..784e50d4e361 100644 --- a/games/glaxium/Makefile +++ b/games/glaxium/Makefile @@ -1,43 +1,43 @@ # Created by: Igor Pokrovsky PORTNAME= glaxium PORTVERSION= 0.5 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= games MASTER_SITES= http://xhosxe.free.fr/glaxium/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL based space-ship "shoot-em-up" game LIB_DEPENDS= libpng.so:graphics/png USES= dos2unix gl gmake sdl USE_SDL= sdl mixer USE_GL= glut GNU_CONFIGURE= yes ALL_TARGET= ${PORTNAME} DOS2UNIX_FILES= variables.cpp scene.cpp DESKTOP_ENTRIES= "Glaxium" \ "Space-ship \"shoot-em-up\" game" \ "${DATADIR}/textures/myship.png" \ "glaxium" \ "Game;ArcadeGame;" \ false post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; \ s|/games/glaxium|/glaxium|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|gcc -g -o|$$(CC) -o|g ; \ s|/games/glaxium|/glaxium|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|Scratcher:: Scratcher|Scratcher|g' \ ${WRKSRC}/scratcher.hpp @${REINPLACE_CMD} -e 's|TankFire::TankFire|TankFire|g' \ ${WRKSRC}/tank.hpp post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/games/glest/Makefile b/games/glest/Makefile index 7e33505573e7..0d1d7e00d3bd 100644 --- a/games/glest/Makefile +++ b/games/glest/Makefile @@ -1,80 +1,80 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= glest PORTVERSION= 3.2.2 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20source/${PORTVERSION} DISTNAME= ${PORTNAME}_source_${PORTVERSION} DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Free 3D real-time customizable strategy game LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg BUILD_DEPENDS= jam:devel/jam RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/servers.ini:games/glest-data USES= autoreconf:build compiler:c++11-lang dos2unix gl localbase \ lua:51 openal:al,alut pkgconfig sdl xorg zip USE_SDL= sdl USE_GL= gl glu USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_SCRIPT= mk/linux/configure LDFLAGS_i386= -Wl,-znotext SUB_FILES= glest-wrapper pkg-message JAM_CMD= ${LOCALBASE}/bin/jam -q -a -dx OPTIONS_DEFINE= DOCS EDITOR OPTIONS_SUB= yes EDITOR_DESC= Build map editor EXTRACT_AFTER_ARGS= -d ${WRKDIR}/${DISTNAME} .include .if ${PORT_OPTIONS:MEDITOR} USE_WX= 2.6+ WX_CONF_ARGS= relative HAVE_EDITOR= true .endif pre-extract: @${MKDIR} ${WRKDIR}/${DISTNAME} post-patch: @${REINPLACE_CMD} \ -e 's|PTHREAD_LIBS="-l[$$]flag"|PTHREAD_LIBS="-lpthread"|g' \ -e 's|pthreads library -l[$$]flag|pthreads library -lpthread|g' \ -e 's|include/lua5.1|include/lua51|g' \ -e 's|-llua5.1|-llua-5.1|g' \ ${WRKSRC}/mk/linux/configure.ac \ ${WRKSRC}/mk/linux/mk/autoconf/* @${FIND} ${WRKDIR} -type f -name '*.bak' -o -name '*.orig' | \ ${XARGS} ${RM} pre-configure: @(cd ${WRKSRC}/mk/linux && ${SH} autogen.sh && \ ${REINPLACE_CMD} -e 's|-llua5.1|-llua-5.1|g' -e 's|.lng||g' \ ${WRKSRC}/${CONFIGURE_SCRIPT} ${WRKSRC}/mk/linux/glest.ini) do-build: @(cd ${WRKSRC} && ${JAM_CMD}) do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/docs/code_license.txt \ ${STAGEDIR}${DOCSDIR}/code_license.txt ${INSTALL_PROGRAM} ${WRKSRC}/glest ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/mk/linux/glest.ini ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/glest-wrapper \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} do-install-EDITOR-on: ${INSTALL_PROGRAM} ${WRKSRC}/glest_editor ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/games/glmaze/Makefile b/games/glmaze/Makefile index ca0b2f400c05..80e6372b377e 100644 --- a/games/glmaze/Makefile +++ b/games/glmaze/Makefile @@ -1,46 +1,46 @@ # Created by: Adam Weinberger PORTNAME= glmaze DISTVERSION= 1.1a -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${DISTVERSION}$ \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Multiplayer OpenGL Maze Game LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/${PORTNAME} USES= gl sdl USE_GL= gl USE_SDL= mixer sdl PORTDOCS= readme.txt OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="glMaze" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" # Wrong versioning upstream PORTSCOUT= ignore:1 post-extract: @(cd ${WRKSRC} && ${MV} ${PORTNAME}.1 ${PORTNAME}.6) post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/shot.c post-install: ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/games/glsfcave/Makefile b/games/glsfcave/Makefile index e139bd87e8bd..67835ab5c534 100644 --- a/games/glsfcave/Makefile +++ b/games/glsfcave/Makefile @@ -1,30 +1,30 @@ PORTNAME= glsfcave PORTVERSION= 1.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Control a ribbon to avoid hitting walls USES= gl tar:bzip2 USE_GL= glut WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/glsfcave PORTDOCS= * OPTIONS_DEFINE= DOCS do-build: cd ${WRKSRC} && ${CC} -o glsfcave main.c -I${LOCALBASE}/include \ -L${LOCALBASE}/lib -lglut -lGL -lGLU do-install: ${INSTALL_PROGRAM} ${WRKSRC}/glsfcave ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/gltron/Makefile b/games/gltron/Makefile index a29fdcfc22d1..18172d693883 100644 --- a/games/gltron/Makefile +++ b/games/gltron/Makefile @@ -1,53 +1,53 @@ # Created by: Andrey Zakhvatov PORTNAME= gltron PORTVERSION= 0.70 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION} EXTRACT_SUFX= -source.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= 3D worm game for two players for X Window System LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png USES= gl gmake sdl USE_GL= gl USE_SDL= sdl sound GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-warn CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= SDL_NET DOCS SDL_NET_DESC= Network Support SDL_NET_USE= SDL=net SDL_NET_CONFIGURE_ENABLE= network DESKTOP_ENTRIES= "GLtron" \ "3D lightcycle game" \ "${DATADIR}/art/default/gltron.png" \ "gltron" \ "Game;ArcadeGame;" \ false post-patch: @${REINPLACE_CMD} -e 's|CFLAGS="-D|CFLAGS="$$CFLAGS -D|g ; \ s|-O$$enable_optimize||g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|^AM_CFLAGS|INCLUDES|g ; \ s|^AM_CXXFLAGS|INCLUDES|g ; \ s|-ansi -pedantic||g' post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ChangeLog README ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/games/gnome-2048/Makefile b/games/gnome-2048/Makefile index 548379b9ef01..8704e51f89db 100644 --- a/games/gnome-2048/Makefile +++ b/games/gnome-2048/Makefile @@ -1,32 +1,33 @@ # Created by: FreeBSD GNOME Team PORTNAME= gnome-2048 PORTVERSION= 3.38.2 +PORTREVISION= 1 CATEGORIES= games gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Move the tiles until you obtain the 2048 tile BUILD_DEPENDS= vala:lang/vala \ itstool:textproc/itstool \ appstream-util:devel/appstream-glib LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libcogl.so:graphics/cogl \ libgee-0.8.so:devel/libgee \ libgnome-games-support-1.so:games/libgnome-games-support \ libjson-glib-1.0.so:devel/json-glib PORTSCOUT= limitw:1,even USES= gettext gl gmake gnome localbase meson pathfix pkgconfig tar:xz xorg USE_GNOME= cairo gtk30 intltool libxml2:build USE_GL= egl USE_XORG+= x11 xext xdamage xfixes xcomposite xi xrandr INSTALLS_ICONS= yes GLIB_SCHEMAS= org.gnome.TwentyFortyEight.gschema.xml .include diff --git a/games/gnome-chess/Makefile b/games/gnome-chess/Makefile index 45129249c70c..1721ecb58d16 100644 --- a/games/gnome-chess/Makefile +++ b/games/gnome-chess/Makefile @@ -1,36 +1,37 @@ # Created by: FreeBSD GNOME Team PORTNAME= gnome-chess PORTVERSION= 3.38.1 +PORTREVISION= 1 CATEGORIES= games gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome chess LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= vala:lang/vala \ itstool:textproc/itstool \ appstream-util:devel/appstream-glib PORTSCOUT= limitw:1,even USES= desktop-file-utils gettext gl gnome localbase meson \ pkgconfig python:3.6+,build tar:xz USE_GNOME= cairo gtk30 librsvg2 libxml2:build INSTALLS_ICONS= yes USE_GL= gl egl BINARY_ALIAS= python3=${PYTHON_VERSION} GLIB_SCHEMAS= org.gnome.Chess.gschema.xml OPTIONS_DEFINE= GNUCHESS OPTIONS_DEFAULT=GNUCHESS GNUCHESS_DESC= Use gnuchess engine for computer player GNUCHESS_RUN_DEPENDS= gnuchess:games/gnuchess .include diff --git a/games/gnome-nibbles/Makefile b/games/gnome-nibbles/Makefile index 84a60784229a..832174704388 100644 --- a/games/gnome-nibbles/Makefile +++ b/games/gnome-nibbles/Makefile @@ -1,41 +1,42 @@ # Created by: FreeBSD GNOME Team PORTNAME= gnome-nibbles PORTVERSION= 3.38.2 +PORTREVISION= 1 CATEGORIES= games gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome nibbles LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= vala:lang/vala \ itstool:textproc/itstool \ appstream-util:devel/appstream-glib LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libjson-glib-1.0.so:devel/json-glib \ libgee-0.8.so:devel/libgee \ libgnome-games-support-1.so:games/libgnome-games-support PORTSCOUT= limitw:1,even USES= gettext gl gnome meson pathfix \ pkgconfig tar:xz xorg USE_GNOME= cairo gsound gtk30 librsvg2 libxml2:build INSTALLS_ICONS= yes USE_GL= gl egl USE_XORG= x11 xcomposite xdamage xext xi xfixes xrandr GLIB_SCHEMAS= org.gnome.Nibbles.gschema.xml post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games .include diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile index 925833dfb1af..fc8427251f5b 100644 --- a/games/gnubg/Makefile +++ b/games/gnubg/Makefile @@ -1,44 +1,44 @@ # Created by: TAKAHASHI Kaoru PORTNAME= gnubg PORTVERSION= 1.06.002 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= GNU DISTFILES= gnubg-release-${PORTVERSION}-sources.tar.gz MAINTAINER= cs@FreeBSD.org COMMENT= GNU Backgammon LICENSE= GPLv3 RUN_DEPENDS= sqlite3:databases/sqlite3 LIB_DEPENDS= libpng.so:graphics/png \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libcanberra-gtk.so:audio/libcanberra \ libgmp.so:math/gmp \ libcurl.so:ftp/curl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= bison gl gmake gnome libtool pathfix shebangfix python \ pkgconfig compiler:c++11-lang readline xorg USE_GNOME= glib20 gtk20 cairo pangox-compat USE_XORG+= xmu xt sm ice x11 USE_GL+= glu gl CONFIGURE_ARGS= --with-board3d --with-sqlite --with-python=${PYTHON_CMD} CONFIGURE_ENV= ac_cv_path_ARTSC_CONFIG=no ac_cv_path_LIBART_CONFIG=no CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes INSTALLS_ICONS= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include diff --git a/games/gnubik/Makefile b/games/gnubik/Makefile index bbc12c6fe831..adb8302af1f7 100644 --- a/games/gnubik/Makefile +++ b/games/gnubik/Makefile @@ -1,40 +1,40 @@ PORTNAME= gnubik PORTVERSION= 2.4.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= GNU MAINTAINER= amdmi3@FreeBSD.org COMMENT= 3D Rubik's cube game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libguile-2.2.so:lang/guile2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext GNU_CONFIGURE= yes USES= compiler:c++11-lang gettext gl gmake gnome localbase pkgconfig USE_GNOME= gtk20 USE_GL= gl glu PORTDOCS= AUTHORS ChangeLog NEWS README TODO INFO= gnubik OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,guile-2\.0,guile-2.2,' \ ${WRKSRC}/configure post-install: ${LN} -s ../icons/hicolor/32x32/apps/gnubik.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/games/gnujump/Makefile b/games/gnujump/Makefile index 09a659700ba7..4345822cecb7 100644 --- a/games/gnujump/Makefile +++ b/games/gnujump/Makefile @@ -1,47 +1,47 @@ PORTNAME= gnujump PORTVERSION= 1.0.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= GNU MAINTAINER= amdmi3@FreeBSD.org COMMENT= Platform game where you have to jump up to survive LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= gl gmake localbase sdl xorg USE_SDL= sdl mixer image USE_GL= gl USE_XORG= x11 LDFLAGS+= -lm PORTDOCS= AUTHORS README PORTDATA= * DESKTOP_ENTRIES="GNUJump" \ "" \ "${DATADIR}/skins/default/hero1.0.png" \ "${PORTNAME}" \ "Game;ArcadeGame;" \ "" OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext NLS_LDFLAGS= -lintl post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/gnujump.h post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/games/golly/Makefile b/games/golly/Makefile index a1f7401c6674..d593ced8ec30 100644 --- a/games/golly/Makefile +++ b/games/golly/Makefile @@ -1,42 +1,42 @@ PORTNAME= golly PORTVERSION= 3.3 DISTVERSIONSUFFIX= -src -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Conway's Game of Life and other cellular automata LICENSE= GPLv2+ USES= autoreconf compiler:c++11-lib gl localbase xorg USE_GL= gl glu USE_WX= 3.0+ GNU_CONFIGURE= yes # Pretend objdump is available even if it is not e.g. on aarch64. # The Python shared library name is already looked up via # distutils.sysconfig.get_config_var("LDLIBRARY") which is unlikely # to fail; objdump is never actually used. CONFIGURE_ARGS= ac_cv_prog_OBJDUMP=/usr/bin/false \ --with-wx-config=${WX_CONFIG:T} DESKTOP_ENTRIES= "Golly" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/golly.xpm" \ "${PREFIX}/bin/golly" \ "Education;" \ "" WRKSRC_SUBDIR= gui-wx/configure PATCH_WRKSRC= ${WRKSRC}/../.. OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/../icons/appicon.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps/golly.xpm .include diff --git a/games/goonies/Makefile b/games/goonies/Makefile index da77a9fa94c8..d93baaa1848e 100644 --- a/games/goonies/Makefile +++ b/games/goonies/Makefile @@ -1,38 +1,38 @@ PORTNAME= goonies PORTVERSION= 1.4.1528 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://braingames.jorito.net/goonies/downloads/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}.src_${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Remake of the 8 bit classic game 'The Goonies' LICENSE= NONE USES= gl gmake sdl tar:tgz USE_SDL= sdl mixer image USE_GL= gl glu USE_CXXSTD= c++98 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|sound/|${DATADIR}/sound/|g' \ ${WRKSRC}/src/SoundManager.cpp @${REINPLACE_CMD} -e 's|graphics/|${DATADIR}/graphics/|g; \ s|"graphics"|"${DATADIR}/graphics"|' \ ${WRKSRC}/src/GLTManager.cpp ${WRKSRC}/src/TheGooniesApp.cpp @${REINPLACE_CMD} -e 's|maps/|${DATADIR}/maps/|g' \ ${WRKSRC}/src/TheGoonies.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics maps sound' ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/build/linux/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/build/linux/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications .include diff --git a/games/gottet/Makefile b/games/gottet/Makefile index d417265b7e20..4d322be2b76b 100644 --- a/games/gottet/Makefile +++ b/games/gottet/Makefile @@ -1,38 +1,39 @@ # Created by: Rusmir Dusko PORTNAME= gottet PORTVERSION= 1.1.9 DISTVERSIONSUFFIX= -src +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://gottcode.org/gottet/ MAINTAINER= jhale@FreeBSD.org COMMENT= Tetris clone LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lib gl qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= core gui widgets \ buildtools_build linguisttools_build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-patch: @${REINPLACE_CMD} -e \ 's|share/man|man|' ${WRKSRC}/gottet.pro post-patch-NLS-off: @${REINPLACE_CMD} -e \ '/INSTALLS/s|qm||' ${WRKSRC}/gottet.pro post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog README \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/gracer/Makefile b/games/gracer/Makefile index 9afc48919d22..0e3afcb7d790 100644 --- a/games/gracer/Makefile +++ b/games/gracer/Makefile @@ -1,37 +1,37 @@ # Created by: nox@jelal.kn-bremen.de PORTNAME= gracer PORTVERSION= 0.1.5 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= games MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= 3D motor sport simulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_13= ld: error: duplicate symbol: GrBreak BROKEN_FreeBSD_14= ld: error: duplicate symbol: GrBreak BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png USES= gl gmake jpeg localbase perl5 tcl USE_GL= glut USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-plib=${LOCALBASE} CPPFLAGS+= -I${TCL_INCLUDEDIR} post-patch: @${REINPLACE_CMD} -i '' -e 's|||' \ ${WRKSRC}/common/gr_memory.h @${REINPLACE_CMD} \ -e 's|lib/tclConfig.sh|lib/tcl${TCL_VER}/tclConfig.sh|' \ -e '/SOUND_LIBS=/s/"$$/ -lplibul"/' \ ${WRKSRC}/configure .include diff --git a/games/gzdoom/Makefile b/games/gzdoom/Makefile index c2595e38a397..74d04e30d3c4 100644 --- a/games/gzdoom/Makefile +++ b/games/gzdoom/Makefile @@ -1,51 +1,51 @@ PORTNAME= gzdoom PORTVERSION= 4.1.1 -PORTREVISION= 3 +PORTREVISION= 4 DISTVERSIONPREFIX= g CATEGORIES= games MAINTAINER= kevans@FreeBSD.org COMMENT= GL-enhanced source port for Doom-engine games LICENSE= BSD3CLAUSE GPLv3 LGPL3 LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/docs/licenses/bsd.txt LICENSE_FILE_GPLv3= ${WRKSRC}/docs/licenses/gpl.txt LICENSE_FILE_LGPL3= ${WRKSRC}/docs/licenses/lgpl.txt BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libsndfile.so:audio/libsndfile \ libfluidsynth.so:audio/fluidsynth \ libgme.so:audio/libgme USES= cmake compiler:c++11-lang gettext gl gnome jpeg openal \ pkgconfig sdl DATADIR= ${DMDIR}/${PORTNAME} USE_GITHUB= yes GH_ACCOUNT= coelckers USE_GNOME= atk cairo gdkpixbuf2 gtk20 pango USE_SDL= sdl2 USE_GL= gl glu CXXFLAGS+= -DSHARE_DIR=\\\"${DATADIR}\\\" LDFLAGS+= -Wl,--as-needed DESKTOP_ENTRIES= "GZDoom" "" "${PORTNAME}" "${PORTNAME}" "Game;Shooter;" "" PLIST_FILES= bin/${PORTNAME} \ ${DATADIR}/${PORTNAME}.pk3 \ share/pixmaps/${PORTNAME}.xpm .include "${.CURDIR}/../doom-data/Makefile.include" do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${CONFIGURE_WRKSRC}/${PORTNAME}.pk3 ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile index 77e614b423a8..6f31d97dc426 100644 --- a/games/hedgewars/Makefile +++ b/games/hedgewars/Makefile @@ -1,73 +1,73 @@ PORTNAME= hedgewars PORTVERSION= 1.0.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= http://www.hedgewars.org/download/releases/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-src-${DISTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free Worms-like turn based strategy game LICENSE= GPLv2 GFDL LICENSE_COMB= multi BROKEN_i386= ld: error: duplicate symbol: LandDirty_dimension_info LIB_DEPENDS= libphysfs.so:devel/physfs \ libpng.so:graphics/png USES= cmake:noninja desktop-file-utils fpc gl lua:51 pkgconfig qt:5 \ sdl tar:bzip2 USE_SDL= sdl2 mixer2 image2 ttf2 net2 USE_FPC= opengl libpng rtl-objpas rtl-extra USE_QT= core gui widgets network \ qmake_build buildtools_build \ linguisttools_build USE_GL= gl glu USE_LDCONFIG= yes CMAKE_ON= NOSERVER PLIST_FILES= bin/${PORTNAME} bin/hwengine \ share/appdata/hedgewars.appdata.xml \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png \ share/pixmaps/${PORTNAME}.xpm \ lib/libphyslayer.so \ lib/libphyslayer.so.1.0 PORTDATA= * USE_LOCALE= en_US.UTF-8 MAKE_ENV= LOCALBASE="${LOCALBASE}" # fpc issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251712 CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" # fpc issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251712 OPTIONS_DEFINE= VIDEOREC OPTIONS_DEFAULT=VIDEOREC OPTIONS_EXCLUDE_i386= VIDEOREC # some pascal issues preventing to use it VIDEOREC_DESC= Enable video recording (requires ffmpeg) VIDEOREC_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg VIDEOREC_PLIST_FILES= lib/libavwrapper.so \ lib/libavwrapper.so.1.0 VIDEOREC_CMAKE_OFF= -DNOVIDEOREC=1 .include .if ${ARCH} == i386 BUILD_DEPENDS+= ghc:lang/ghc .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/cmake_modules/*.cmake @${REINPLACE_CMD} -e "s|'liblua'|'liblua-${LUA_VER}'|" ${WRKSRC}/hedgewars/LuaPas.pas @${REINPLACE_CMD} -e "/linklib/ s|lua|&-${LUA_VER}|" ${WRKSRC}/hedgewars/LuaPas.pas post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${INSTALL_DATA} ${WRKSRC}/share/hedgewars/Data/misc/hedgewars.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/misc/hedgewars.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/games/hexalate/Makefile b/games/hexalate/Makefile index 31668df2e337..83cae5dc1e92 100644 --- a/games/hexalate/Makefile +++ b/games/hexalate/Makefile @@ -1,21 +1,22 @@ PORTNAME= hexalate PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://gottcode.org/${PORTNAME}/ \ https://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Color matching game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lib gl gnome qmake qt:5 tar:bzip2 USE_QT= core gui widgets buildtools_build linguisttools_build USE_GL= gl INSTALLS_ICONS= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/games/holotz-castle/Makefile b/games/holotz-castle/Makefile index cbebfc37236a..c624238b0f5d 100644 --- a/games/holotz-castle/Makefile +++ b/games/holotz-castle/Makefile @@ -1,68 +1,68 @@ # Created by: Pierre-Paul Lavoie PORTNAME= holotz-castle PORTVERSION= 1.3.14 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/ DISTFILES= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX} EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Platform game with high doses of mystery LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src USES= desthack gl gmake gnome sdl USE_CXXSTD= c++98 USE_GL= gl USE_SDL= image mixer sdl ttf MAKE_ARGS= HC_BASE=${PREFIX}/share/${PORTNAME}/ \ HC_BIN_DIR=${PREFIX}/bin/ MAKE_JOBS_UNSAFE= yes INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 SUB_FILES= pkg-message ${PORTNAME}-solutions PORTDATA= * OPTIONS_DEFINE= SOLUTIONS OPTIONS_DEFAULT=SOLUTIONS SOLUTIONS_DESC= Solutions for Holotz's Castle OPTIONS_SUB= yes SOLUTIONS_RUN_DEPENDS= mplayer:multimedia/mplayer SOLUTIONS_DISTFILES= ${PORTNAME}_solutions${EXTRACT_SUFX} SOLUTIONS_EXTRACT_ONLY= ${PORTNAME}_solutions${EXTRACT_SUFX} post-install: .for f in ${PORTNAME} ${PORTNAME}-editor (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${f} ${STAGEDIR}${PREFIX}/bin/) .endfor .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 ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} (cd ${WRKSRC}/man && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/) post-install-SOLUTIONS-on: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-solutions ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-solutions.desktop \ ${STAGEDIR}${DESKTOPDIR} @${MKDIR} ${STAGEDIR}${DATADIR}/solutions @(cd ${WRKDIR} && ${INSTALL_DATA} *.avi ${STAGEDIR}${DATADIR}/solutions) .include diff --git a/games/hyperrogue/Makefile b/games/hyperrogue/Makefile index 68c519015f91..c473eb1159fc 100644 --- a/games/hyperrogue/Makefile +++ b/games/hyperrogue/Makefile @@ -1,53 +1,54 @@ PORTNAME= hyperrogue PORTVERSION= 12.0a DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Roguelike in a non-euclidean world LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_11= does not build: hyperrogue-hyper.o: file not recognized: File format not recognized LIB_DEPENDS= libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= zenorogue USES= compiler:c++11-lang gl gmake localbase:ldflags sdl xorg USE_SDL= sdl mixer gfx ttf USE_GL= gl glew ALL_TARGET= hyperrogue # remove -O2, otherwise clang takes gigabytes of memory CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]//} -DFHS -DHYPERPATH="\\\"${DATADIR}/\\\"" PORTDOCS= README.md PORTDATA= * PLIST_FILES= bin/hyperrogue share/pixmaps/hyperrogue.ico DESKTOP_ENTRIES="HyperRogue" \ "" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}" \ "Game;RolePlaying;" \ "" OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hyperrogue ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/hr-icon.ico ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico @${MKDIR} ${STAGEDIR}${DATADIR}/sounds ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/hyperrogue-music.txt ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/sounds/* ${STAGEDIR}${DATADIR}/sounds ${INSTALL_DATA} ${WRKSRC}/music/* ${STAGEDIR}${DATADIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/ioquake3/Makefile b/games/ioquake3/Makefile index db861d10f82c..eb8224bd6f9c 100644 --- a/games/ioquake3/Makefile +++ b/games/ioquake3/Makefile @@ -1,220 +1,220 @@ # Created by: alepulver PORTNAME?= ioquake3 PORTVERSION?= ${IOQUAKE3VER} -PORTREVISION?= 16 +PORTREVISION?= 17 CATEGORIES= games MASTER_SITES?= http://ioquake3.org/files/${DISTVERSION}/ # Using zip this way enables slaves to override it. EXTRACT_SUFX?= .zip MAINTAINER?= ports@FreeBSD.org COMMENT?= Cleaned-up and enhanced version of Quake 3 LICENSE?= GPLv2 LICENSE_FILE?= ${WRKSRC}/COPYING.txt USES= pkgconfig gmake # Port configuration flags: # CLIENT SERVER TOOLS DLRENDERER GAMELIBS OPUS OPENGL2 IOQ3?= CLIENT TOOLS GAMELIBS IOQ3ARCH?= ${ARCH:S/powerpc/ppc/} IOQ3SDL?= sdl .if ! ${IOQ3:MCLIENT} && ! ${IOQ3:MSERVER} BROKEN= Slave ports must at least specify IOQ3=CLIENT or IOQ3=SERVER .endif # Client options .if ${IOQ3:MCLIENT} OPTIONS_DEFINE= SERVER CURL OPENAL MUMBLE VORBIS DEBUG OPTIONS_DEFAULT= SERVER CURL OPENAL MUMBLE VORBIS SERVER_DESC= Install dedicated server MUMBLE_DESC= Enable Mumble support (no dependencies) USES+= gl USE_GL+= gl .endif IOQ3_OPTIONS= ${IOQ3:MTOOLS} ${IOQ3:MDLRENDERER} ${IOQ3:MGAMELIBS} \ ${IOQ3:MOPUS} OPTIONS_DEFINE+= ${IOQ3_OPTIONS} DOCS OPTIONS_DEFAULT+= ${IOQ3_OPTIONS} TOOLS_DESC= Enable modding tools DLRENDERER_DESC=Build dynamically loaded renderer GAMELIBS_DESC= Build game libraries MAKE_ARGS+= DEFAULT_BASEDIR="${Q3DIR}" \ DEFAULT_LIBDIR="${PREFIX}/${LIBDIR}" \ HOMEPATH="${HOMEPATH}" \ VERSION="${Q3ENGINEVER}" \ ARCH="${IOQ3ARCH}" \ TOOLS_CC="${CC}" \ USE_LOCAL_HEADERS=0 ALL_TARGET= release LDFLAGS_i386= -Wl,-znotext LIBDIR= lib/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= share/doc/${PORTNAME}${PKGNAMESUFFIX} BUILDDIR= ${WRKSRC}/build/${ALL_TARGET}-freebsd-${IOQ3ARCH} BINSUFFIX?= HOMEPATH?= /.${PORTNAME} Q3CLIENT?= ioquake3 Q3SERVER?= ioq3ded Q3TOOLS?= q3asm \ q3cpp \ q3lcc \ q3rcc Q3DOCS?= README \ id-readme.txt \ md4-readme.txt \ voip-readme.txt Q3BASE?= baseq3 \ missionpack Q3GAMELIBS?= cgame \ qagame \ ui Q3ICON?= ${PREFIX}/share/pixmaps/quake3.xpm .if ${IOQ3:MOPENGL2} Q3RENDERER?= opengl1 opengl2 .else Q3RENDERER?= opengl1 .endif Q3RENDPREFIX?= renderer_ Q3RENDSUFFIX?= _${IOQ3ARCH} Q3INSTALL?= Q3ENGINEVER?= ${DISTVERSION} IOQUAKE3VER= 1.36 ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le DEBUG_VARS= ALL_TARGET=debug SERVER_RUN_DEPENDS= ${Q3SERVER}${BINSUFFIX}:games/${PORTNAME}-server CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_MAKE_ARGS= USE_CURL=1 USE_CURL_DLOPEN=0 CURL_MAKE_ARGS_OFF= USE_CURL=0 OPENAL_USES= openal:al OPENAL_MAKE_ARGS= USE_OPENAL=1 USE_OPENAL_DLOPEN=0 OPENAL_MAKE_ARGS_OFF= USE_OPENAL=0 VORBIS_VARS= NEED_OGG=yes VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_MAKE_ARGS= USE_CODEC_VORBIS=1 VORBIS_MAKE_ARGS_OFF= USE_CODEC_VORBIS=0 OPUS_VARS= NEED_OGG=yes OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile \ libopus.so:audio/opus OPUS_MAKE_ARGS= USE_CODEC_OPUS=1 USE_INTERNAL_OPUS=0 OPUS_MAKE_ARGS_OFF= USE_CODEC_OPUS=0 MUMBLE_MAKE_ARGS= USE_MUMBLE=1 MUMBLE_MAKE_ARGS_OFF= USE_MUMBLE=0 GAMELIBS_MAKE_ARGS= BUILD_GAME_SO=1 GAMELIBS_MAKE_ARGS_OFF= BUILD_GAME_SO=0 # Note that SMP is only supported on OS-X, hence the option has been removed. SMP_VARS= Q3BIN+=${Q3CLIENT}-smp SMP_MAKE_ARGS= BUILD_CLIENT_SMP=1 SMP_MAKE_ARGS_OFF= BUILD_CLIENT_SMP=0 DLRENDERER_MAKE_ARGS= USE_RENDERER_DLOPEN=1 DLRENDERER_MAKE_ARGS_OFF= USE_RENDERER_DLOPEN=0 .if !defined(Q3TOTALCONV) .include "${.CURDIR}/../quake3-data/Makefile.include" .endif .include .if !defined(DESKTOP_ENTRIES) . if ${IOQ3:MCLIENT} DESKTOP_ENTRIES+= "${Q3CLIENT} ${Q3ENGINEVER}" "${COMMENT}" \ "${Q3ICON}" "${Q3CLIENT}${BINSUFFIX}" "Game;" false . endif . if ${PORT_OPTIONS:MSMP} DESKTOP_ENTRIES+= "${Q3CLIENT} ${Q3ENGINEVER} SMP" "${COMMENT}" \ "${Q3ICON}" "${Q3CLIENT}-smp${BINSUFFIX}" "Game;" false . endif .endif .if ${IOQ3:MCLIENT} MAKE_ARGS+= BUILD_CLIENT=1 Q3BIN+= ${Q3CLIENT} USES+= sdl USE_SDL= ${IOQ3SDL} .else MAKE_ARGS+= BUILD_CLIENT=0 .endif .if ${IOQ3:MSERVER} MAKE_ARGS+= BUILD_SERVER=1 Q3BIN+= ${Q3SERVER} USE_RC_SUBR+= ioq3ded SUB_LIST+= Q3DIR=${Q3DIR} .else MAKE_ARGS+= BUILD_SERVER=0 .endif .if defined(NEED_OGG) LIB_DEPENDS+= libogg.so:audio/libogg MAKE_ARGS+= USE_INTERNAL_OGG=0 .endif # Generate a set of install instruction tuples: ;; .for bin in ${Q3BIN} IOQ3_INST+= PROGRAM;${bin}.${IOQ3ARCH};bin/${bin}${BINSUFFIX} .endfor .if ${PORT_OPTIONS:MTOOLS} . for bin in ${Q3TOOLS} IOQ3_INST+= PROGRAM;tools/${bin};bin/${bin}${BINSUFFIX} . endfor .endif .if ${PORT_OPTIONS:MDLRENDERER} . for renderer in ${Q3RENDERER} IOQ3_INST+= LIB;${Q3RENDPREFIX}${renderer}${Q3RENDSUFFIX}.so;${LIBDIR}/${Q3RENDPREFIX}${renderer}${Q3RENDSUFFIX}.so . endfor .else . for renderer in ${Q3RENDERER:Nopengl1} IOQ3_INST+= PROGRAM;${Q3CLIENT}_${renderer}.${IOQ3ARCH};bin/${Q3CLIENT}_${renderer}${BINSUFFIX} . endfor .endif .if ${PORT_OPTIONS:MGAMELIBS} . for dir in ${Q3BASE} PLIST_DIRS+= ${LIBDIR}/${dir} . for lib in ${Q3GAMELIBS} IOQ3_INST+= LIB;${dir}/${lib}${IOQ3ARCH}.so;${LIBDIR}/${dir}/${lib}${IOQ3ARCH}.so . endfor . endfor .endif .if ${PORT_OPTIONS:MDLRENDERER} || ${PORT_OPTIONS:MGAMELIBS} PLIST_DIRS+= ${LIBDIR} .endif .if ${PORT_OPTIONS:MDOCS} PLIST_DIRS+= ${DOCSDIR} . for doc in ${Q3DOCS:O:u} IOQ3_INST+= DATA;../../${doc};${DOCSDIR}/${doc} . endfor .endif # Generate PLIST_FILES .for inst in ${IOQ3_INST} PLIST_FILES+= ${inst:C/.*;//} .endfor # additional rules for our custom server.cfg from filesdir .if ${IOQ3:MSERVER} PLIST_FILES+= ${Q3DIR}/server.cfg .endif # Generate install target do-install: ${Q3INSTALL} .for dir in ${PLIST_DIRS} ${MKDIR} ${STAGEDIR}${PREFIX}/${dir} .endfor .for inst in ${IOQ3_INST} ${INSTALL_${inst:C/;.*//}} ${BUILDDIR}/${inst:C/[^;]*;//:C/;.*//} \ ${STAGEDIR}${PREFIX}/${inst:C/.*;//} .endfor # additional rules for our custom server.cfg from filesdir .if ${IOQ3:MSERVER} ${MKDIR} ${STAGEDIR}${Q3DIR} ${INSTALL_DATA} ${FILESDIR}/server.cfg \ ${STAGEDIR}${Q3DIR}/server.cfg .endif .include diff --git a/games/iortcw/Makefile b/games/iortcw/Makefile index 99e680a4fbac..5a623072aac1 100644 --- a/games/iortcw/Makefile +++ b/games/iortcw/Makefile @@ -1,82 +1,83 @@ PORTNAME= iortcw PORTVERSION= 1.51c +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games MAINTAINER= pkubaj@FreeBSD.org COMMENT= Game engine for Return to Castle Wolfenstein LICENSE= GPLv3 NOT_FOR_ARCHS= aarch64 armv6 armv7 riscv64 NOT_FOR_ARCHS_REASON= fails to configure: Architecture not supported LIB_DEPENDS= libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libopusfile.so:audio/opusfile USES= compiler:c++11-lang gl gmake jpeg openal pkgconfig sdl xorg USE_GITHUB= yes USE_GL= gl USE_SDL= sdl2 WOLFDIR= "libexec/${PORTNAME}" MAKE_ARGS= BINDIR="${STAGEDIR}${PREFIX}/bin" \ COPYDIR="${STAGEDIR}${PREFIX}/${WOLFDIR}" LDFLAGS_i386= -Wl,-znotext PLIST_SUB= ARCH="${ARCH}" \ WOLFDIR="${WOLFDIR}" SUB_FILES= iowolfded iowolfmp iowolfsp pkg-message SUB_LIST= ARCH="${ARCH}" \ DISTVERSION="${DISTVERSION}" \ WOLFDIR="${PREFIX}/${WOLFDIR}" OPTIONS_DEFINE= MP SP OPTIONS_DEFAULT= MP SP OPTIONS_SUB= yes MP_DESC= Build multiplayer support SP_DESC= Build singleplayer support SP_ALL_TARGET= sp SP_DESKTOP_ENTRIES= "Return to Castle Wolfenstein" \ "Return to Castle Wolfenstein" \ "${DATADIR}/wolf512.png" \ "iowolfsp" \ "Game;" \ false SP_INSTALL_TARGET= sp-install MP_ALL_TARGET= mp MP_DESKTOP_ENTRIES= "Return to Castle Wolfenstein (MP)" \ "Return to Castle Wolfenstein Multiplayer" \ "${DATADIR}/wolf512.png" \ "iowolfmp" \ "Game;" \ false MP_INSTALL_TARGET= mp-install post-extract: ${CP} ${FILESDIR}/Makefile ${WRKSRC} post-patch: @${REINPLACE_CMD} '/\.git\/index/d' ${WRKSRC}/SP/Makefile @${REINPLACE_CMD} '/\.git\/index/d' ${WRKSRC}/MP/Makefile post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/MP/misc/wolf512.png ${STAGEDIR}${DATADIR} post-install-MP-on: ${INSTALL_SCRIPT} ${WRKDIR}/iowolfmp ${STAGEDIR}${PREFIX}/bin/iowolfmp ${INSTALL_SCRIPT} ${WRKDIR}/iowolfded ${STAGEDIR}${PREFIX}/bin/iowolfded post-install-SP-on: ${INSTALL_SCRIPT} ${WRKDIR}/iowolfsp ${STAGEDIR}${PREFIX}/bin/iowolfsp .include diff --git a/games/iqpuzzle/Makefile b/games/iqpuzzle/Makefile index b4f70067d8ea..8468aba822f7 100644 --- a/games/iqpuzzle/Makefile +++ b/games/iqpuzzle/Makefile @@ -1,19 +1,20 @@ PORTNAME= iqpuzzle DISTVERSIONPREFIX= v DISTVERSION= 1.2.5 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= yuri@FreeBSD.org COMMENT= Diverting I.Q. challenging pentomino puzzle LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gl qmake qt:5 USE_QT= core gui widgets buildtools_build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= ElTh0r0 .include diff --git a/games/jaggedalliance2/Makefile b/games/jaggedalliance2/Makefile index 685dd0faeb81..a9f6a7f572d8 100644 --- a/games/jaggedalliance2/Makefile +++ b/games/jaggedalliance2/Makefile @@ -1,150 +1,151 @@ # Created by: Christoph Mallon PORTNAME= ja2 DISTVERSIONPREFIX= v DISTVERSION= 0.18.0 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= timp87@gmail.com COMMENT= Port of "Jagged Alliance 2" using SDL LICENSE= PD SFI-SCLA LICENSE_COMB= multi LICENSE_NAME_SFI-SCLA= Strategy First Inc. Source Code License Agreement LICENSE_FILE_SFI-SCLA= ${WRKSRC}/SFI\ Source\ Code\ license\ agreement.txt LICENSE_PERMS_SFI-SCLA= dist-mirror no-dist-sell pkg-mirror no-pkg-sell \ auto-accept # Ignore this if you feel adventurous ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc64le ONLY_FOR_ARCHS_REASON= Needs a little endian environment BUILD_DEPENDS= string_theory>=3.1:devel/string_theory \ rapidjson>=1.1.0:devel/rapidjson \ sol2>=3.2.2:devel/sol2 LIB_DEPENDS= libfltk.so:x11-toolkits/fltk USES= cargo cmake compiler:c++17-lang pkgconfig sdl xorg gl lua:53 USE_GITHUB= yes GH_ACCOUNT= ja2-stracciatella GH_PROJECT= ja2-stracciatella USE_SDL= sdl2 USE_GL= gl USE_XORG= ice sm x11 xext GH_TUPLE= mackron:miniaudio:634cdb028f340075ae8e8a1126620695688d2ac3:miniaudio CMAKE_ARGS= -DEXTRA_DATA_DIR:PATH="${DATADIR}" CMAKE_OFF= LOCAL_STRING_THEORY_LIB WITH_UNITTESTS LOCAL_RAPIDJSON_LIB LOCAL_LUA_LIB LOCAL_SOL_LIB LOCAL_MINIAUDIO_LIB CARGO_CRATES= aho-corasick-0.7.13 \ ansi_term-0.11.0 \ arrayref-0.3.6 \ arrayvec-0.5.1 \ atty-0.2.14 \ autocfg-1.0.1 \ base64-0.12.3 \ bitflags-1.2.1 \ blake2b_simd-0.5.10 \ block-buffer-0.7.3 \ block-padding-0.1.5 \ byte-tools-0.3.1 \ byteorder-1.3.4 \ caseless-0.2.1 \ cbindgen-0.13.2 \ cfg-if-0.1.10 \ chrono-0.4.15 \ clap-2.33.3 \ constant_time_eq-0.1.5 \ crossbeam-channel-0.4.4 \ crossbeam-deque-0.7.3 \ crossbeam-epoch-0.8.2 \ crossbeam-utils-0.7.2 \ digest-0.8.1 \ dirs-1.0.5 \ dunce-1.0.1 \ either-1.6.1 \ generic-array-0.12.3 \ getopts-0.2.21 \ getrandom-0.1.15 \ hashbrown-0.9.0 \ hermit-abi-0.1.15 \ hex-0.3.2 \ indexmap-1.6.0 \ itoa-0.4.6 \ json_comments-0.2.0 \ lazy_static-1.4.0 \ libc-0.2.77 \ log-0.4.11 \ maybe-uninit-2.0.0 \ md-5-0.8.0 \ memchr-2.3.3 \ memoffset-0.5.5 \ num-integer-0.1.43 \ num-traits-0.2.12 \ num_cpus-1.13.0 \ opaque-debug-0.2.3 \ ppv-lite86-0.2.9 \ proc-macro2-1.0.21 \ quote-1.0.7 \ rand-0.7.3 \ rand_chacha-0.2.2 \ rand_core-0.5.1 \ rand_hc-0.2.0 \ rayon-1.4.0 \ rayon-core-1.8.0 \ redox_syscall-0.1.57 \ redox_users-0.3.5 \ regex-1.3.9 \ regex-syntax-0.6.18 \ remove_dir_all-0.5.3 \ rust-argon2-0.8.2 \ ryu-1.0.5 \ scopeguard-1.1.0 \ serde-1.0.116 \ serde_derive-1.0.116 \ serde_json-1.0.57 \ simplelog-0.6.0 \ strsim-0.8.0 \ syn-1.0.41 \ tempfile-3.1.0 \ term-0.5.2 \ textwrap-0.11.0 \ thread_local-1.0.1 \ time-0.1.44 \ tinyvec-0.3.4 \ toml-0.5.6 \ typenum-1.12.0 \ unicode-normalization-0.1.13 \ unicode-width-0.1.8 \ unicode-xid-0.2.1 \ vec_map-0.8.2 \ wasi-0.10.0+wasi-snapshot-preview1 \ wasi-0.9.0+wasi-snapshot-preview1 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 CARGO_CARGOLOCK= ${WRKSRC}/rust/Cargo.lock CARGO_CARGOTOML= ${WRKSRC}/rust/Cargo.toml CARGO_BUILD= no CARGO_INSTALL= no CARGO_TEST= no MAKE_ENV= ${CARGO_ENV:NCARGO_TARGET_DIR=*} LDFLAGS+= -Wl,--as-needed pre-patch: @${REINPLACE_CMD} -e 's|https://github.com/mackron/miniaudio/archive/634cdb028f340075ae8e8a1126620695688d2ac3.zip|${DISTDIR}/mackron-miniaudio-634cdb028f340075ae8e8a1126620695688d2ac3_GH0.tar.gz|' \ -e 's|b30045e95cec65bfe1d9fe3639f480a2|975a4d15815118a7ded8fbc7d3de68f6|' \ ${WRKSRC}/dependencies/lib-miniaudio/getter/CMakeLists.txt.in post-patch: @${REINPLACE_CMD} -e 's|/some/place/where/the/data/is|${DATADIR}|' \ ${WRKSRC}/rust/stracciatella/src/stracciatella.rs post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ja2 \ ${STAGEDIR}${PREFIX}/bin/ja2-launcher \ ${STAGEDIR}${PREFIX}/bin/ja2-resource-pack .include diff --git a/games/jfsw/Makefile b/games/jfsw/Makefile index a7414b25c1ee..b94b9b8e81ee 100644 --- a/games/jfsw/Makefile +++ b/games/jfsw/Makefile @@ -1,61 +1,62 @@ # Created by: Ganael Laplanche PORTNAME= jfsw PORTVERSION= 20210130 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= martymac@FreeBSD.org COMMENT= Jonathon Fowler's Shadow Warrior Port # Must be distributed only through the Internet and free of charge LICENSE= GPLv2 BuildLic LICENSE_COMB= multi LICENSE_NAME_BuildLic= Build source code license LICENSE_FILE_BuildLic= ${WRKSRC}/jfbuild/buildlic.txt LICENSE_PERMS_BuildLic= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ libfluidsynth.so:audio/fluidsynth USES= alias compiler:c++11-lang dos2unix gl gmake gnome \ perl5 pkgconfig:build sdl USE_GL= gl USE_GNOME= gtk20 USE_SDL= mixer2 sdl2 USE_PERL5= build DOS2UNIX_REGEX= .*(\.(c|h)|Makefile)(\.deps)? USE_GITHUB= yes GH_ACCOUNT= jonof GH_PROJECT= jfbuild:build jfaudiolib:audio jfmact:mact # See GH listing to get current (tested) submodule hashes: # https://github.com/jonof/jfsw GH_TAGNAME= c434002 \ ed8c505:build \ 0b82be9:audio \ 1149eb1:mact GH_SUBDIR= jfbuild:build jfaudiolib:audio jfmact:mact MAKE_ENV+= DATADIR="${DATADIR}" SUB_FILES= pkg-message PORTDOCS= README.md releasenotes.html OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} 's|/usr/X11R6|${LOCALBASE}|' \ ${WRKSRC}/jfbuild/Makefile @${REINPLACE_CMD} 's|/usr|${LOCALBASE}|' \ ${WRKSRC}/jfaudiolib/src/driver_fluidsynth.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sw ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/build ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-build ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DATADIR} .include diff --git a/games/jigzo/Makefile b/games/jigzo/Makefile index d4592ba9455c..92c965d3c45c 100644 --- a/games/jigzo/Makefile +++ b/games/jigzo/Makefile @@ -1,50 +1,50 @@ PORTNAME= jigzo PORTVERSION= 0.6.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= http://www.iua.upf.es/~mdeboer/resorama/jigzo/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= OpenGL jigsaw puzzle game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL.txt LIB_DEPENDS= libpng.so:graphics/png USES= gl gmake jpeg sdl tar:tgz USE_SDL= sdl mixer USE_GL= gl MAKE_ARGS= CXX=${CXX} PLIST_FILES= bin/${PORTNAME} PORTDATA= * PORTDOCS= * DESKTOP_ENTRIES="Jigzo" \ "An OpenGL jigsaw puzzle game" \ "" \ "jigzo" \ "Game;LogicGame;KidsGame;" \ false OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e "s|int_p_NULL|NULL|g" \ ${WRKSRC}/src/Loader.cxx .for i in font image puzzles sound @${REINPLACE_CMD} -e "s|${i}/|${DATADIR}/${i}/|g" \ ${WRKSRC}/src/main.cxx .endfor @${FIND} ${WRKSRC} -name .thumbnails | ${XARGS} ${RM} -r do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ cd ${WRKSRC} && ${COPYTREE_SHARE} "font image puzzles sound" \ ${STAGEDIR}${DATADIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/joequake/Makefile b/games/joequake/Makefile index a3d91f5e3ca3..816eaeb658f8 100644 --- a/games/joequake/Makefile +++ b/games/joequake/Makefile @@ -1,110 +1,110 @@ # Created by: alepulver PORTNAME= joequake PORTVERSION= 0.15b1329 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MASTER_SITES= http://joequake.runecentral.com/ DISTNAME= ${PORTNAME}-v${PORTVERSION}-source DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}-v0.15b1331-linux${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Improved NQ engine with ZQuake and FuhQuake graphical effects LICENSE= GPLv2+ BROKEN_FreeBSD_13= ld: error: duplicate symbol: com_searchpaths BROKEN_FreeBSD_14= ld: error: duplicate symbol: com_searchpaths LIB_DEPENDS= libpng.so:graphics/png WRKSRC= ${WRKDIR}/src USES= gmake zip USE_CSTD= gnu89 MAKEFILE= Makefile.linux OPTIONS_MULTI= UI OPTIONS_MULTI_UI= OPENGL X11 OPTIONS_DEFINE= HUD HUD_SA OPTIMIZED_CFLAGS X86_ASM DOCS OPTIONS_DEFAULT= OPENGL OPTIMIZED_CFLAGS X11 OPTIONS_DEFAULT_amd64= X86_ASM HUD_DESC= High quality HUD images (for OpenGL) HUD_SA_DESC= Same for Scourge of Armagon (hipnotic) X86_ASM_DESC= Enable x86 assembly code .include "${.CURDIR}/../quake-data/Makefile.include" .include .if ${PORT_OPTIONS:MOPENGL} USES+= gl jpeg xorg USE_GL+= gl USE_XORG+= x11 xext xxf86dga xxf86vm ALL_TARGET+= glx PLIST_SUB+= GLX="" .else PLIST_SUB+= GLX="@comment " .endif .if ${PORT_OPTIONS:MHUD} DISTFILES+= joequake_wad${EXTRACT_SUFX} PLIST_SUB+= HUD="" .else PLIST_SUB+= HUD="@comment " .endif .if ${PORT_OPTIONS:MHUD_SA} DISTFILES+= hipnotic_wad${EXTRACT_SUFX} PLIST_SUB+= HUD_SA="" .else PLIST_SUB+= HUD_SA="@comment " .endif .if ${PORT_OPTIONS:MHUD} || !empty(PORT_OPTIONS:MHUD_SA) PLIST_SUB+= HUD_DIR="" .else PLIST_SUB+= HUD_DIR="@comment " .endif .for f in OPTIMIZED_CFLAGS X86_ASM . if ${PORT_OPTIONS:M${f}} MAKE_ENV+= USE_${f}=YES . else MAKE_ENV+= USE_${f}=NO . endif .endfor .if ${PORT_OPTIONS:MX11} USES+= xorg USE_XORG+= x11 xext ALL_TARGET+= x11 PLIST_SUB+= X11="" .else PLIST_SUB+= X11="@comment " .endif do-install: ${MKDIR} ${STAGEDIR}${Q1DIR}/${PORTNAME} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/pak0.pak ${STAGEDIR}${Q1DIR}/${PORTNAME} .if ${PORT_OPTIONS:MOPENGL} ${INSTALL_PROGRAM} ${WRKSRC}/release_glx/joequake-gl.glx \ ${STAGEDIR}${PREFIX}/bin/joequake-glx .endif .if ${PORT_OPTIONS:MHUD} || !empty(PORT_OPTIONS:MHUD_SA) ${MKDIR} ${STAGEDIR}${Q1DIR}/${PORTNAME}/textures/wad ${INSTALL_DATA} ${WRKDIR}/wad/* ${STAGEDIR}${Q1DIR}/${PORTNAME}/textures/wad .endif .if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} ${WRKSRC}/release_x11/joequake.x11 \ ${STAGEDIR}${PREFIX}/bin/joequake-x11 .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/doc/*.txt ${STAGEDIR}${DOCSDIR} .endif .include diff --git a/games/jvgs/Makefile b/games/jvgs/Makefile index 676984574ee5..b56d906db6e8 100644 --- a/games/jvgs/Makefile +++ b/games/jvgs/Makefile @@ -1,45 +1,45 @@ PORTNAME= jvgs PORTVERSION= 0.5.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/\.[0-9]+$//} DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Minimalistic platform game # Converted from NO_CDROM LICENSE= jvgs LICENSE_NAME= jvgs LICENSE_TEXT= contains data under CC-by-NC-SA LICENSE_PERMS= dist-mirror pkg-mirror auto-accept BUILD_DEPENDS= swig:devel/swig LIB_DEPENDS= libfreetype.so:print/freetype2 USES= cmake:insource gl lua:51 sdl USE_SDL= sdl mixer USE_GL= gl glu SUB_FILES= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|main.lua|${DATADIR}/&|' ${WRKSRC}/src/main.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/jvgs ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKDIR}/jvgs ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "resources main.lua" ${STAGEDIR}${DATADIR}/ do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR} .include diff --git a/games/keeperrl/Makefile b/games/keeperrl/Makefile index b4bbf1c95ad1..5af1a275aa57 100644 --- a/games/keeperrl/Makefile +++ b/games/keeperrl/Makefile @@ -1,53 +1,53 @@ PORTNAME= keeperrl PORTVERSION= 0.0.${ALPHA_VERSION} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= c0fc69cbee72.patch:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Ambitious dungeon builder with roguelike elements LICENSE= GPLv2 OFL11 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.txt LICENSE_FILE_OFL11= ${WRKSRC}/data_contrib/SIL_Open_Font_License.txt LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libcurl.so:ftp/curl USES= compiler:c++14-lang gl gmake localbase openal sdl USE_GITHUB= yes GH_ACCOUNT= miki151 GH_TAGNAME= alpha${ALPHA_VERSION} USE_GL= gl USE_SDL= sdl2 image2 ALPHA_VERSION= 23 LIBS+= -lexecinfo MAKE_ARGS= DATA_DIR="${DATADIR}" GCC="${CXX}" \ LDFLAGS="${LDFLAGS}" RELEASE=true # USE_GCC adds -Wl,-rpath=${_GCC_RUNTIME} which breaks -x c++-header MAKE_ARGS+= PCH= PCHINC= LDFLAGS_i386= -Wl,-znotext DESKTOP_ENTRIES="KeeperRL" "" "" "keeper" \ "Game;Simulation;" false post-patch: @${REINPLACE_CMD} -e '/^CFLAGS =/ s|=|= ${CFLAGS}|' \ -e '/^LIBS =/ s|$$| ${LIBS}|' \ -e 's|bash|sh|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} 's|bash|sh|' ${WRKSRC}/check_serial.sh do-install: ${INSTALL_PROGRAM} ${WRKSRC}/keeper ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "data_contrib data_free" \ ${STAGEDIR}${DATADIR} "! -name *License.txt" .include diff --git a/games/kobodeluxe/Makefile b/games/kobodeluxe/Makefile index d33b36232657..c465861a7bc8 100644 --- a/games/kobodeluxe/Makefile +++ b/games/kobodeluxe/Makefile @@ -1,59 +1,59 @@ # Created by: Amar Takhar PORTNAME= kobodeluxe PORTVERSION= 0.5.1 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= games MASTER_SITES= http://olofson.net/kobodl/download/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= KoboDeluxe-${DISTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= SDL port of the scrolling game XKobo USES= sdl tar:bzip2 USE_SDL= image sdl USE_CXXSTD= c++98 GNU_CONFIGURE= yes CONFIGURE_ARGS= --sharedstatedir=${SCOREDIR} --enable-oss SCOREDIR= /var/games/${PORTNAME} SUB_FILES= pkg-deinstall pkg-install SUB_LIST= SCOREDIR="${SCOREDIR}" DATADIR= ${PREFIX}/share/kobo-deluxe PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS OPENGL OPTIONS_DEFAULT=OPENGL OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE= opengl post-extract: @cd ${WRKSRC} && ${TAR} -xzf icons.tar.gz post-patch: @${REINPLACE_CMD} -e 's|$$(datadir)/games/kobo-deluxe|${DATADIR}|; \ s|$$(prefix)/games/kobo-deluxe/scores|${SCOREDIR}|; \ s|-lSDL$$||; s|SDL/SDL|SDL|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|$$(datadir)/games/kobo-deluxe|${DATADIR}|' \ ${WRKSRC}/data/Makefile.in @${REINPLACE_CMD} -e 's|pipe2|kobopipe2|g' ${WRKSRC}/enemies.h \ ${WRKSRC}/enemy.cpp post-install: @${RM} -r ${STAGEDIR}/var ${INSTALL_DATA} ${WRKSRC}/icons/Ubuntu/kobodeluxe.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/icons/Ubuntu/kobo-icon.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/ksudoku/Makefile b/games/ksudoku/Makefile index df9f5d728dbe..b7aba50bd780 100644 --- a/games/ksudoku/Makefile +++ b/games/ksudoku/Makefile @@ -1,20 +1,21 @@ PORTNAME= ksudoku DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= games kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME:tu}_DESC} USES= cmake compiler:c++11-lang gl kde:5 qt:5 tar:xz USE_GL= gl glu USE_KDE= archive auth codecs completion config configwidgets \ coreaddons crash ecm guiaddons i18n jobwidgets kio \ libkdegames service widgetsaddons xmlgui USE_QT= concurrent core dbus declarative gui network opengl printsupport \ svg widgets xml \ buildtools_build qmake_build OPTIONS_DEFINE= DOCS .include <${.CURDIR}/../kdegames/Makefile.common> .include diff --git a/games/kubrick/Makefile b/games/kubrick/Makefile index 57b6cd022aa6..721eae92afd5 100644 --- a/games/kubrick/Makefile +++ b/games/kubrick/Makefile @@ -1,18 +1,19 @@ PORTNAME= kubrick DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= games kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME:tu}_DESC} USES= cmake compiler:c++11-lang gl kde:5 qt:5 tar:xz USE_GL= gl glu USE_KDE= auth codecs config configwidgets coreaddons crash ecm \ i18n kio libkdegames service widgetsaddons xmlgui USE_QT= concurrent core dbus declarative gui network opengl svg widgets xml \ buildtools_build qmake_build OPTIONS_DEFINE= DOCS .include <${.CURDIR}/../kdegames/Makefile.common> .include diff --git a/games/lander/Makefile b/games/lander/Makefile index b2151704fed0..c9ff1b741833 100644 --- a/games/lander/Makefile +++ b/games/lander/Makefile @@ -1,48 +1,48 @@ PORTNAME= lander PORTVERSION= 0.6.6 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= games MASTER_SITES= http://www.nickg.me.uk/files/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Lunar Lander clone LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_11_powerpc64= fails to configure on powerpc64 elfv1: could not link against boost_filesystem-boost_filesystem BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: could not link against boost_filesystem-boost_filesystem LIB_DEPENDS= libfreetype.so:print/freetype2 \ libboost_filesystem.so:devel/boost-libs \ libpng.so:graphics/png GNU_CONFIGURE= yes USES= compiler:c++11-lib gettext gl localbase pkgconfig sdl USE_SDL= sdl image mixer USE_GL= gl glu CONFIGURE_ARGS= --with-boost="${LOCALBASE}" \ --with-boost-filesystem=boost_filesystem PORTDOCS= * PORTDATA= * DESKTOP_ENTRIES="Lunar Lander" \ "Lunar Lander clone" \ "${DATADIR}/images/ship.png" \ "lander" \ "Game;ArcadeGame;" \ false OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|-R$$found_dir||g' ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/legesmotus/Makefile b/games/legesmotus/Makefile index bbdf13972a2f..39b03cbf6200 100644 --- a/games/legesmotus/Makefile +++ b/games/legesmotus/Makefile @@ -1,50 +1,50 @@ PORTNAME= legesmotus PORTVERSION= 0.4.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= SF MAINTAINER= amdmi3@FreeBSD.org COMMENT= Team-based, networked, 2D shooter set in zero-gravity LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual # not GPLv2+ LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING USES= compiler:c++11-lib gmake USE_CXXSTD= c++11 # strtoll, atoll HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix="${PREFIX}" \ --mandir="${PREFIX}/man" \ --datadir="${DATADIR}" MAKE_ENV= XDIR=${LOCALBASE} CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing PORTDATA= * OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS=CLIENT SERVER METASERVER SERVERSCANNER OPTIONS_DEFAULT=CLIENT SERVER OPTIONS_SUB= yes CLIENT_DESC= Build client SERVER_DESC= Build server METASERVER_DESC= Build metaserver SERVERSCANNER_DESC= Build server scanner CLIENT_CONFIGURE_OFF= --disable-client CLIENT_USES= gl sdl CLIENT_USE= SDL=sdl,image,ttf,mixer GL=gl CLIENT_DESKTOP_ENTRIES= "Leges Motus" \ "" \ "${DATADIR}/sprites/blue_head32.png" \ "legesmotus" \ "Game;ActionGame;" \ "" SERVER_CONFIGURE_OFF= --disable-server METASERVER_CONFIGURE_ON= --enable-metaserver SERVERSCANNER_CONFIGURE_ON= --enable-serverscanner .include diff --git a/games/libretro-beetle_psx/Makefile b/games/libretro-beetle_psx/Makefile index 60d95387c96a..a8f98498cff1 100644 --- a/games/libretro-beetle_psx/Makefile +++ b/games/libretro-beetle_psx/Makefile @@ -1,25 +1,26 @@ PORTNAME= libretro-beetle_psx PORTVERSION= 0.20210128 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Standalone port/fork of Mednafen PSX to the Libretro API LICENSE= GPLv2 USES= compiler:c++11-lib gmake gl USE_LDCONFIG= yes USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= beetle-psx-libretro GH_TAGNAME= 3ec155d PLIST_FILES= lib/libretro/mednafen_psx_libretro.so do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/mednafen_psx_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-desmume2015/Makefile b/games/libretro-desmume2015/Makefile index f2abe47de08f..e0cb401bb9e7 100644 --- a/games/libretro-desmume2015/Makefile +++ b/games/libretro-desmume2015/Makefile @@ -1,35 +1,36 @@ PORTNAME= libretro-desmume2015 PORTVERSION= 0.20210131 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Port of Desmume to libretro based on Desmume SVN circa 2015 LICENSE= GPLv2 BROKEN_aarch64= fails to compile: invokes x86 assembler USES= compiler:c++11-lib gmake gl USE_LDCONFIG= yes USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= desmume2015 GH_TAGNAME= d6128e6 PLIST_FILES= lib/libretro/desmume2015_libretro.so MAKEFILE= Makefile.freebsd .include .if ${ARCH} != aarch64 || ${ARCH} != amd64 || !${ARCH:Marmv*} || ${ARCH} != i386 MAKE_ENV+= DESMUME_JIT=0 .endif do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/desmume/desmume2015_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-fbalpha/Makefile b/games/libretro-fbalpha/Makefile index f6bc87061599..04cfdd5ba07f 100644 --- a/games/libretro-fbalpha/Makefile +++ b/games/libretro-fbalpha/Makefile @@ -1,31 +1,32 @@ PORTNAME= libretro-fbalpha PORTVERSION= 0.20200504 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Final Burn Alpha port for libretro # Commercial users must seek permission from copyright holders. LICENSE= FBA LICENSE_NAME= FBA LICENSE_FILE= ${WRKSRC}/src/license.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept USES= compiler:c++11-lib gmake gl USE_LDCONFIG= yes USE_GL= gl PLIST_FILES= lib/libretro/fbalpha_libretro.so USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= fbalpha GH_TAGNAME= 84eb9d9 MAKEFILE= Makefile.freebsd do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/fbalpha_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-fbneo/Makefile b/games/libretro-fbneo/Makefile index 45f0d57ae6fd..be18217cfe3b 100644 --- a/games/libretro-fbneo/Makefile +++ b/games/libretro-fbneo/Makefile @@ -1,30 +1,31 @@ PORTNAME= libretro-fbneo PORTVERSION= 0.20210218 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Final Burn Alpha fork for libretro LICENSE= FBNeo LICENSE_NAME= FBNeo LICENSE_FILE= ${WRKSRC}/src/license.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept USES= compiler:c11 gmake gl USE_LDCONFIG= yes USE_GL= gl PLIST_FILES= lib/libretro/fbneo_libretro.so USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= FBNeo GH_TAGNAME= a6d552b MAKEFILE= Makefile.freebsd do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/src/burner/libretro/fbneo_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-opera/Makefile b/games/libretro-opera/Makefile index ad3e0a100dd0..18d452c78793 100644 --- a/games/libretro-opera/Makefile +++ b/games/libretro-opera/Makefile @@ -1,25 +1,26 @@ PORTNAME= libretro-opera PORTVERSION= 0.20210214 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= 3DO core for libretro LICENSE= GPLv2 USES= compiler:c++11-lib gmake gl USE_LDCONFIG= yes USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= opera-libretro GH_TAGNAME= 5781f68 PLIST_FILES= lib/libretro/opera_libretro.so do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/opera_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-paralleln64/Makefile b/games/libretro-paralleln64/Makefile index d86c94d24f3c..be292e57f29e 100644 --- a/games/libretro-paralleln64/Makefile +++ b/games/libretro-paralleln64/Makefile @@ -1,36 +1,37 @@ PORTNAME= libretro-paralleln64 PORTVERSION= 0.20210127 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Improved Nintendo 64 core for libretro # Commercial users must seek permission from copyright holders. LICENSE= BITSTREAM_VERA CC0-1.0 GFDL GPLv2 GPLv3 LGPL3 MIT ZLIB LICENSE_COMB= multi LICENSE_NAME_BITSTREAM_VERA= Bitstream Vera Sans - Roman Release 1.10 LICENSE_FILE_BITSTREAM_VERA= ${WRKSRC}/mupen64plus-core/doc/font-license LICENSE_PERMS_BITSTREAM_VERA= auto-accept BROKEN_i386= Doesn't build. USES= compiler:c++11-lang gmake gl localbase USE_GL= gl USE_LDCONFIG= yes DYNAREC= ${ARCH:S/amd64/x86_64/:C/armv.*/arm/:S/i386/x86/} MAKE_ARGS= WITH_DYNAREC=${DYNAREC} USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= parallel-n64 GH_TAGNAME= 6e26fbb PLIST_FILES= lib/libretro/parallel_n64_libretro.so do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/parallel_n64_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-pcsx_rearmed/Makefile b/games/libretro-pcsx_rearmed/Makefile index 7c3cbc23ddc7..f21602ba8309 100644 --- a/games/libretro-pcsx_rearmed/Makefile +++ b/games/libretro-pcsx_rearmed/Makefile @@ -1,27 +1,28 @@ PORTNAME= libretro-pcsx_rearmed PORTVERSION= 0.20210215 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Fork of PCSX with ARM optimizations LICENSE= GPLv2 USES= compiler:c++11-lib gmake gl USE_LDCONFIG= yes USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= pcsx_rearmed GH_TAGNAME= c2d67cd PLIST_FILES= lib/libretro/pcsx_rearmed_libretro.so MAKEFILE= Makefile.libretro do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/pcsx_rearmed_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-play/Makefile b/games/libretro-play/Makefile index a99d3ea81be0..a69365b77f53 100644 --- a/games/libretro-play/Makefile +++ b/games/libretro-play/Makefile @@ -1,65 +1,65 @@ # Created by: Rozhuk Ivan PORTNAME= play PORTVERSION= 0.38.0.20210320 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games PKGNAMEPREFIX= libretro- MAINTAINER= rozhuk.im@gmail.com COMMENT= Play! - PlayStation 2 Emulator LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/License.txt BROKEN_aarch64= linker error: uunable to find library -lGLESv2 LIB_DEPENDS= libicuuc.so:devel/icu USES= cmake ssl gl compiler:c++17-lang USE_GL= egl gl glew glu USE_LDCONFIG= yes USE_CXXSTD= c++17 USE_GITHUB= yes GH_ACCOUNT= jpd002 \ jpd002:codegen \ jpd002:framework \ jpd002:dependencies \ gulrak:ghc_filesystem GH_PROJECT= Play- \ Play--CodeGen:codegen \ Play--Framework:framework \ Play-Dependencies:dependencies \ filesystem:ghc_filesystem GH_TAGNAME= 3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4 \ 10068b1fd39efa88fbfb2fe14e820eae552fb2a1:codegen \ 65baebea9ca9e7ce0631e71c8ede33f4e3d25a15:framework \ e3e6669ecd40598b4e4adc1bc9297c6967f4c929:dependencies \ 3605e869150032ffdd9eae3db93e12f8711a0c82:ghc_filesystem GH_SUBDIR= deps/CodeGen:codegen \ deps/Framework:framework \ deps/Dependencies:dependencies \ deps/Dependencies/ghc_filesystem:ghc_filesystem PLIST_FILES= lib/libretro/play_libretro.so CMAKE_ON= BUILD_LIBRETRO_CORE CMAKE_OFF= BUILD_AOT_CACHE \ BUILD_PLAY \ BUILD_PSFPLAYER \ BUILD_TESTS \ USE_AOT_CACHE \ ENABLE_AMAZON_S3 CMAKE_ARGS= -DGIT_TAG=${GH_TAGNAME_DEFAULT} \ -DGIT_DESCRIBE_RESULT=0 post-patch: @${REINPLACE_CMD} -e 's|execute_process(COMMAND git.*||g' \ ${WRKSRC}/CMakeLists.txt do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKDIR}/.build/Source/ui_libretro/play_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-tyrquake/Makefile b/games/libretro-tyrquake/Makefile index 83fbc11cadee..9f31235c3a2b 100644 --- a/games/libretro-tyrquake/Makefile +++ b/games/libretro-tyrquake/Makefile @@ -1,25 +1,26 @@ PORTNAME= libretro-tyrquake PORTVERSION= 0.20210214 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Libretro port of Tyrquake (Quake 1 engine) LICENSE= GPLv2 USES= compiler:c++11-lib gmake gl USE_LDCONFIG= yes USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= tyrquake GH_TAGNAME= e76477d PLIST_FILES= lib/libretro/tyrquake_libretro.so do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/tyrquake_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-uae/Makefile b/games/libretro-uae/Makefile index b4baf665221c..38581fa20a0f 100644 --- a/games/libretro-uae/Makefile +++ b/games/libretro-uae/Makefile @@ -1,33 +1,34 @@ PORTNAME= libretro-uae PORTVERSION= 0.20200527 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Libretro port of UAE LICENSE= GPLv2 BROKEN_FreeBSD_13= ld: error: duplicate symbol: potgo_value BROKEN_FreeBSD_14= ld: error: duplicate symbol: potgo_value BROKEN_riscv64= fails to compile: ./sources/src/machdep/maccess.h:51:14: unrecognized instruction mnemonic USES= compiler:c++11-lib gmake gl USE_LDCONFIG= yes USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= libretro GH_TAGNAME= 8333daa LDFLAGS_i386= -Wl,-z,notext PLIST_FILES= lib/libretro/puae_libretro.so post-patch: ${REINPLACE_CMD} 's/" GIT_VERSION/${GH_TAGNAME}"/' ${WRKSRC}/libretro/libretro.c do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/puae_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-vecx/Makefile b/games/libretro-vecx/Makefile index 302eba698104..7118049ec2a9 100644 --- a/games/libretro-vecx/Makefile +++ b/games/libretro-vecx/Makefile @@ -1,24 +1,25 @@ PORTNAME= libretro-vecx PORTVERSION= 0.20210214 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Vectrex emulator for libretro LICENSE= GPLv3 USES= compiler:c++11-lib gmake localbase gl USE_GL+= gl USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= libretro GH_TAGNAME= 9af0702 PLIST_FILES= lib/libretro/vecx_libretro.so do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/vecx_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/lightsoff/Makefile b/games/lightsoff/Makefile index edee71a3dee6..08f3ecf29839 100644 --- a/games/lightsoff/Makefile +++ b/games/lightsoff/Makefile @@ -1,34 +1,34 @@ # Created by: FreeBSD GNOME Team PORTNAME= lightsoff PORTVERSION= 3.38.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome ligthsoff LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= vala:lang/vala \ itstool:textproc/itstool LIB_DEPENDS= libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libjson-glib-1.0.so:devel/json-glib PORTSCOUT= limitw:1,even USES= gettext gl gmake gnome localbase meson \ pathfix pkgconfig sqlite tar:xz xorg USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build INSTALLS_ICONS= yes USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr USE_GL= egl gl GLIB_SCHEMAS= org.gnome.LightsOff.gschema.xml .include diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile index 435e04bdf6f0..1abacb1a21e0 100644 --- a/games/lincity-ng/Makefile +++ b/games/lincity-ng/Makefile @@ -1,47 +1,47 @@ # Created by: Andrej Zverev PORTNAME= lincity-ng PORTVERSION= 2.0 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= games MASTER_SITES= BERLIOS MAINTAINER= ports@FreeBSD.org COMMENT= Improved rich city simulation game for X BUILD_DEPENDS= jam:devel/jam LIB_DEPENDS= libphysfs.so:devel/physfs LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gl gnome localbase:ldflags pkgconfig sdl tar:bzip2 xorg USE_SDL= sdl mixer image ttf gfx USE_GL= gl USE_XORG= x11 USE_GNOME= libxml2 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/linwarrior/Makefile b/games/linwarrior/Makefile index cc4b65ab3ae8..49010ed02b92 100644 --- a/games/linwarrior/Makefile +++ b/games/linwarrior/Makefile @@ -1,44 +1,44 @@ PORTNAME= linwarrior PORTVERSION= 20100320 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= http://www.hackcraft.de/games/linwarrior_3d/downloads/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Navigate a mech through a 3D world and fire at enemies USES= compiler:c++11-lang gl gmake openal:al,alut sdl USE_GL= gl glu USE_SDL= sdl USE_CXXSTD= gnu++98 LDFLAGS_i386= -Wl,-znotext WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} PORTDATA= * DESKTOP_ENTRIES="LinWarrior 3D" \ "Mech Simulation Game" \ "" \ "linwarrior" \ "Game;ActionGame;Simulation;" \ false post-extract: @${FIND} ${WRKSRC} -type d -exec ${CHMOD} a+rx {} \; @${FIND} ${WRKSRC} -type f -exec ${CHMOD} a+r {} \; post-patch: @${REINPLACE_CMD} -e '/hash_set/ d' ${WRKSRC}/source/cAlert.h @${FIND} ${WRKSRC}/source -name '*.cpp' -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dist/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ .include diff --git a/games/lugaru/Makefile b/games/lugaru/Makefile index 180c435dfbe7..a0c12330a795 100644 --- a/games/lugaru/Makefile +++ b/games/lugaru/Makefile @@ -1,38 +1,39 @@ # Created by: Rusmir Dusko PORTNAME= lugaru PORTVERSION= 1.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= 3D arcade with unique fighting system and anthropomorphic characters LICENSE= GPLv2+ CC-BY-SA-3.0 CC-BY-SA-4.0 LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.txt LIB_DEPENDS= libpng.so:graphics/png \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg USES= cmake compiler:c++11-lang gl jpeg openal:soft pkgconfig sdl \ tar:bzip2 xorg USE_GL= gl glu USE_SDL= sdl2 USE_XORG= sm USE_GITLAB= yes GL_ACCOUNT= osslugaru GL_COMMIT= c7b99378439735c60f84869b05c6ebde53083667 CMAKE_ON= SYSTEM_INSTALL LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= DOCS post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/games/manaplus/Makefile b/games/manaplus/Makefile index f0e0e1ae2cb0..9d628932cce4 100644 --- a/games/manaplus/Makefile +++ b/games/manaplus/Makefile @@ -1,39 +1,40 @@ # Created by: Tobias Gion PORTNAME= manaplus DISTVERSION= 2.1.3.17 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://download.evolonline.org/manaplus/download/${PORTVERSION}/ MAINTAINER= monwarez@mailoo.org COMMENT= Free open source 2D MMORPG client for athena and evol servers LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxml2.so:textproc/libxml2 \ libpng.so:graphics/png \ libcurl.so:ftp/curl USES= autoreconf compiler:c++11-lang pkgconfig:build sdl tar:xz xorg USE_SDL= sdl2 gfx2 image2 mixer2 net2 ttf2 USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-sdl2 \ --without-internalsdlgfx OPTIONS_DEFINE= OPENGL NLS OPTIONS_DEFAULT= OPENGL OPTIONS_SUB= yes NLS_USES= gettext NLS_USES_OFF= gettext-tools NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} NLS_CONFIGURE_ENABLE= nls NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_WITH= opengl .include diff --git a/games/marblemarcher/Makefile b/games/marblemarcher/Makefile index e9fa207e6581..503b93a0dfab 100644 --- a/games/marblemarcher/Makefile +++ b/games/marblemarcher/Makefile @@ -1,31 +1,32 @@ PORTNAME= marblemarcher DISTVERSION= 1.4.5 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= yuri@FreeBSD.org COMMENT= Marble Marcher: Community Edition LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= glm>0:math/glm LIB_DEPENDS= libAntTweakBar.so:graphics/anttweakbar \ libsfml-system.so:devel/sfml USES= cmake compiler:c++17-lang eigen:3 gl localbase:ldflags USE_GL= gl glew glu USE_GITHUB= yes GH_ACCOUNT= WAUthethird GH_PROJECT= Marble-Marcher-Community-Edition CMAKE_ARGS= -DFREEBSD_DATADIR=${DATADIR} post-install: @(echo "#!/bin/sh"; \ echo ""; \ echo "cd ${DATADIR} && ./MarbleMarcher \"$$"@"\"" \ ) > ${STAGEDIR}${PREFIX}/bin/MarbleMarcher @${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/MarbleMarcher .include diff --git a/games/megaglest/Makefile b/games/megaglest/Makefile index a39afe8a9d18..36afeb45edbb 100644 --- a/games/megaglest/Makefile +++ b/games/megaglest/Makefile @@ -1,82 +1,82 @@ # Created by: Sven Moeller PORTNAME= megaglest PORTVERSION= 3.13.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MAINTAINER= monwarez@mailoo.org COMMENT= Open source 3D real-time strategy game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/docs/gnu_gpl_3.0.txt LIB_DEPENDS= libcurl.so:ftp/curl \ libpng.so:graphics/png \ libftgl.so:graphics/ftgl \ libircclient.so:irc/libircclient \ libvorbis.so:audio/libvorbis \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libminiupnpc.so:net/miniupnpc BUILD_DEPENDS= ${LOCALBASE}/include/miniupnpc/miniupnpc.h:net/miniupnpc RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/tutorials/2_basic_tutorial/2_basic_tutorial.xml:games/megaglest-data USE_GITHUB= yes GH_ACCOUNT= MegaGlest GH_PROJECT= megaglest-source SUB_FILES= pkg-message USES= cmake:insource compiler:c++11-lib display:build dos2unix jpeg lua \ openal:al,alut pkgconfig ssl localbase:ldflags sdl gl xorg USE_GL= glew gl glu USE_SDL= sdl2 USE_XORG= sm ice x11 xext USE_CXXSTD= c++11 LDFLAGS+= -lssl -lcrypto LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= EDITOR DOCS VIEWER OPTIONS_SUB= yes EDITOR_DESC= Install MegaGlest Editor VIEWER_DESC= Install Megaglest G3D viewer EDITOR_CMAKE_BOOL= BUILD_MEGAGLEST_MAP_EDITOR EDITOR_USE= WX=3.0 VIEWER_CMAKE_BOOL= BUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS \ BUILD_MEGAGLEST_MODEL_VIEWER VIEWER_USE= WX=3.0 post-patch: @${REINPLACE_CMD} -e 's,/usr/local/include/lua51,${LUA_INCDIR},g ; \ s,/usr/local/lib/lua51,${LUA_LIBDIR},g ; \ s,lua5.2,lua-${LUA_VER},g' \ ${WRKSRC}/mk/cmake/Modules/FindLUA.cmake do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/mk/shared/megaglest.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_PROGRAM} ${WRKSRC}/source/glest_game/megaglest ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .for f in mk/linux/glest.ini mk/shared/glestkeys.ini mk/shared/servers.ini ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR} .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in docs/AUTHORS.source_code.txt docs/CHANGELOG.txt docs/README.txt docs/COPYRIGHT.source_code.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor do-install-EDITOR-on: ${INSTALL_PROGRAM} ${WRKSRC}/source/glest_map_editor/megaglest_editor ${STAGEDIR}${PREFIX}/bin/megaglest_editor ${INSTALL_DATA} ${WRKSRC}/mk/shared/editor.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ do-install-VIEWER-on: ${INSTALL_PROGRAM} ${WRKSRC}/source/g3d_viewer/megaglest_g3dviewer ${STAGEDIR}${PREFIX}/bin/megaglest_g3dviewer ${INSTALL_DATA} ${WRKSRC}/mk/shared/g3dviewer.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/games/megamario/Makefile b/games/megamario/Makefile index a27bccd1677e..09ca0b4a191f 100644 --- a/games/megamario/Makefile +++ b/games/megamario/Makefile @@ -1,69 +1,69 @@ # Created by: Rusmir Dusko PORTNAME= megamario PORTVERSION= 1.7 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/mmario/Mega%20Mario%20Full%20Game/Mega%20Mario%20v${PORTVERSION}%20%28Full%20Game%2C%20high%20Quality%20music%29/ DISTNAME= MegaMario_v${PORTVERSION}_full MAINTAINER= ports@FreeBSD.org COMMENT= Super Mario Bros 1 clone LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/licence.txt WRKSRC= ${WRKDIR}/${DISTNAME} EXTRACT_AFTER_ARGS= -d ${WRKSRC} USES= dos2unix gl gmake sdl zip DOS2UNIX_GLOB= *.cpp *.h *.ini Makefile* *.txt *.desktop USE_SDL= sdl image mixer ttf USE_GL= glu ALL_TARGET= ${PORTNAME} pre-extract: @${MKDIR} ${WRKDIR}/${DISTNAME} PORTDOCS= * DOCSRCDIR1= ${WRKSRC} DOC_FILES1= CONTROLS.txt fixes_v1.7.txt readme.txt DOCSRCDIR2= ${WRKSRC}/help DOCSDIR2= ${DOCSDIR}/help DOC_FILES2= * DOCSRCDIR3= ${WRKSRC}/screens DOCSDIR3= ${DOCSDIR}/screens DOC_FILES3= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/share/pixmaps/megamario.png|${PORTNAME}|; \ s|Name=megamario|Name=Mega Mario|' \ ${WRKSRC}/${PORTNAME}.desktop @${REINPLACE_CMD} -e 's|slidebar.PNG|slidebar.png|' \ ${WRKSRC}/data/levels/Edit2/main ${WRKSRC}/data/levels/3_2/main @(cd ${WRKSRC}/help && ${MV} editor_R*.PNG editor_Roehren.png) @for i in `${FIND} ${WRKSRC} -name \*.JPG -or -name \*.PNG`; do \ ${MV} $$i `echo $$i | ${SED} -e 's/PNG/png/;s/JPG/jpg/'`; done post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @(cd ${WRKSRC} && ${COPYTREE_SHARE} mp3music ${STAGEDIR}${DATADIR}) ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR2} ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} @${MKDIR} ${STAGEDIR}${DOCSDIR3} ${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3} .include diff --git a/games/memonix/Makefile b/games/memonix/Makefile index a9f0c5a3537b..b8d29b164e85 100644 --- a/games/memonix/Makefile +++ b/games/memonix/Makefile @@ -1,44 +1,44 @@ PORTNAME= memonix PORTVERSION= 1.6.070713 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= http://www.viewizard.com/download/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= MemonixSourceCode_${PORTVERSION:S/./_/g:S/_/./} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} memx16.tar.gz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Brain teasers, puzzle, and memory games for kids in one pack LICENSE= unknown GPLv2 LICENSE_COMB= dual LICENSE_NAME_unknown= Freeware License LICENSE_FILE_unknown= ${WRKDIR}/Memonix/License LICENSE_FILE_GPLv2= ${WRKSRC}/License.txt LICENSE_PERMS_unknown= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_DISTFILES_unknown= memx16.tar.gz LICENSE_DISTFILES_GPLv2= ${DISTNAME}${EXTRACT_SUFX} USES= cmake:insource gl sdl zip USE_SDL= sdl mixer image USE_GL= yes WRKSRC= ${WRKDIR}/MemonixSourceCode PLIST_FILES= bin/Memonix PORTDATA= * post-extract: @${TAR} -C ${WRKDIR} -xzf ${DISTDIR}/memx16.tar.gz post-patch: @${REINPLACE_CMD} -e '/strcpy(ProgrammDir,/ s|\./|${DATADIR}/|' \ ${WRKSRC}/src/Main.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Memonix ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/Memonix/gamedata.vfs ${STAGEDIR}${DATADIR} .include diff --git a/games/minetest/Makefile b/games/minetest/Makefile index ef3f07020b16..18b74c19b775 100644 --- a/games/minetest/Makefile +++ b/games/minetest/Makefile @@ -1,115 +1,116 @@ PORTNAME= minetest PORTVERSION= 5.4.1 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Near-infinite-world block sandbox game LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/doc/lgpl-2.1.txt LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ libgmp.so:math/gmp \ libjsoncpp.so:devel/jsoncpp USE_GITHUB= yes GH_ACCOUNT= minetest USES= cmake compiler:c11 iconv:wchar_t CMAKE_ARGS= -DCUSTOM_MANDIR="${PREFIX}/man" \ -DCUSTOM_EXAMPLE_CONF_DIR="${PREFIX}/etc" \ -DENABLE_SYSTEM_JSONCPP=ON LDFLAGS_i386= -Wl,-znotext PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= CURL SOUND FREETYPE NCURSES LUAJIT \ DOCS EXAMPLES NLS OPTIONS_MULTI= COMP OPTIONS_GROUP= DATABASE COMP_DESC= Software components OPTIONS_MULTI_COMP= CLIENT SERVER DATABASE_DESC= Database support OPTIONS_GROUP_DATABASE= PGSQL LEVELDB REDIS SPATIAL OPTIONS_DEFAULT= CLIENT SERVER \ CURL SOUND FREETYPE NCURSES LUAJIT OPTIONS_SUB= yes CLIENT_DESC= Build client CLIENT_CMAKE_BOOL= BUILD_CLIENT CLIENT_LIB_DEPENDS= libpng.so:graphics/png \ libIrrlicht.so:x11-toolkits/irrlicht CLIENT_USES= gl jpeg xorg CLIENT_USE= GL=gl XORG=x11,xext,xxf86vm SERVER_DESC= Build server SERVER_CMAKE_BOOL= BUILD_SERVER CURL_DESC= Enable cURL support for fetching media CURL_CMAKE_BOOL= ENABLE_CURL CURL_LIB_DEPENDS= libcurl.so:ftp/curl SOUND_DESC= Enable sound SOUND_CMAKE_BOOL= ENABLE_SOUND FREETYPE_DESC= Support for TrueType fonts with unicode FREETYPE_CMAKE_BOOL= ENABLE_FREETYPE FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 NCURSES_DESC= Enable ncurses console NCURSES_CMAKE_BOOL= ENABLE_CURSES NCURSES_USES= ncurses LUAJIT_DESC= LuaJIT support LUAJIT_CMAKE_BOOL= ENABLE_LUAJIT REQUIRE_LUAJIT LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty PGSQL_USES= pgsql PGSQL_CMAKE_BOOL= ENABLE_POSTGRESQL LEVELDB_DESC= Enable LevelDB backend LEVELDB_CMAKE_BOOL= ENABLE_LEVELDB LEVELDB_LIB_DEPENDS= libleveldb.so:databases/leveldb REDIS_DESC= Enable Redis backend REDIS_CMAKE_BOOL= ENABLE_REDIS REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis SPATIAL_DESC= Enable SpatialIndex AreaStore backend SPATIAL_LIB_DEPENDS= libspatialindex.so:devel/spatialindex SPATIAL_CMAKE_BOOL= ENABLE_SPATIAL NLS_CMAKE_BOOL= ENABLE_GETTEXT NLS_USES= gettext NLS_LDFLAGS= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND} USES+= openal LIB_DEPENDS+= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg .endif .if ${PORT_OPTIONS:MSERVER} USE_RC_SUBR= ${PORTNAME} USERS= ${PORTNAME} GROUPS= ${PORTNAME} .endif # hacky way to not bring irrlicht and X11 depends for server only .if ! ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSERVER} BUILD_DEPENDS+= ${NONEXISTENT}:x11-toolkits/irrlicht:patch IRRLICHT_INCLUDE_DIR= `${MAKE} -C ${PORTSDIR}/x11-toolkits/irrlicht -V WRKSRC`/include CMAKE_ARGS+= -DIRRLICHT_INCLUDE_DIR:STRING="${IRRLICHT_INCLUDE_DIR}" EXTRA_PATCHES+= ${FILESDIR}/extra-patch-irrlichtdepend .endif post-extract: # make sure no bundled gmp is used @${RM} -rf ${WRKSRC}/lib/gmp ${WRKSRC}/lib/jsoncpp # bundled lua is OK, there's no option to use system one post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/*.cmake .include diff --git a/games/motogt/Makefile b/games/motogt/Makefile index 7d21cae6a54a..ac53b624c3c4 100644 --- a/games/motogt/Makefile +++ b/games/motogt/Makefile @@ -1,40 +1,40 @@ PORTNAME= motogt PORTVERSION= 20110505 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= SF/motogt/MotoGT1/ DISTNAME= MotoGT-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= 2D top-viewed motorcycle racing game LIB_DEPENDS= libsfml1-system.so:devel/sfml1 \ libpng.so:graphics/png LICENSE= GPLv2 CC-BY-SA-3.0 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/doc/gpl.txt LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/doc/cc-by-sa.txt USES= gl localbase:ldflags zip USE_GL= gl BUILD_WRKSRC= ${WRKSRC}/src MAKEFILE= Makefile.lnx MAKE_JOBS_UNSAFE= yes SUB_FILES= motogt PLIST_FILES= bin/${PORTNAME} libexec/MotoGT.bin PORTDATA= * WRKSRC= ${WRKDIR}/MotoGT post-patch: @${REINPLACE_CMD} -e '/#include/ s|SFML|&1|' ${WRKSRC}/data/src/editor.cpp ${WRKSRC}/src/*.h @${REINPLACE_CMD} -e 's|-lsfml|&1|g' ${WRKSRC}/src/Makefile.lnx do-install: ${INSTALL_PROGRAM} ${WRKSRC}/MotoGT.bin ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKDIR}/motogt ${STAGEDIR}${PREFIX}/bin/ cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/ .include diff --git a/games/naev/Makefile b/games/naev/Makefile index 8b0b1bb0af2a..d32309c49973 100644 --- a/games/naev/Makefile +++ b/games/naev/Makefile @@ -1,80 +1,80 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= naev PORTVERSION= 0.7.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ MAINTAINER= acm@FreeBSD.org COMMENT= 2D action/RPG space game LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_FreeBSD_13= ld: error: duplicate symbol: nglActiveTexture BROKEN_FreeBSD_14= ld: error: duplicate symbol: nglActiveTexture LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libvorbisfile.so:audio/libvorbis \ libzip.so:archivers/libzip RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/${DISTNAME}-ndata.zip:games/naev-data USES= autoreconf:build compiler:features gl gmake gnome pkgconfig sdl \ tar:bzip2 GNU_CONFIGURE= yes USE_GL= gl glu USE_GNOME= libxml2 CONFIGURE_ARGS= --with-ndata-path="${DATADIR}/${DISTNAME}-ndata.zip" \ --enable-debug=no CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lm PORTDATA= * PORTDOCS= * PLIST_FILES= bin/${PORTNAME} man/man6/${PORTNAME}.6.gz \ share/applications/${PORTNAME}.desktop \ share/appdata/${PORTNAME}.appdata.xml \ share/pixmaps/${PORTNAME}.png OPTIONS_DEFINE= DOCS OPENAL SDL2 SDL_MIXER OPTIONS_DEFAULT= LUA_JIT OPENAL SDL2 SDL_MIXER OPTIONS_DEFAULT_powerpc64= LUA_SHARED OPTIONS_EXCLUDE_powerpc64= LUA_JIT OPTIONS_SINGLE= LUA OPTIONS_SINGLE_LUA= LUA_INTERNAL LUA_SHARED LUA_JIT LUA_INTERNAL_DESC= Use bundled Lua LUA_INTERNAL_CONFIGURE_ON= --enable-lua=internal LUA_SHARED_DESC= Use Lua from lang/lua51 LUA_SHARED_CONFIGURE_ON= --enable-lua=shared LUA_SHARED_USES= lua:51 LUA_JIT_DESC= Use LuaJIT from lang/luajit LUA_JIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit OPENAL_USES= openal OPENAL_CONFIGURE_WITH= openal SDL_MIXER_DESC= SDL_mixer sound backend SDL_MIXER_CONFIGURE_WITH= sdlmixer SDL2_DESC= Use SDL2 instead of SDL SDL2_CONFIGURE_WITH= sdl2 SDL2_USE= SDL=sdl2 SDL2_USE_OFF= SDL=sdl .include .if ${COMPILER_TYPE} == "gcc" USE_GCC= yes .endif .if ${PORT_OPTIONS:MSDL_MIXER} . if ${PORT_OPTIONS:MSDL2} USE_SDL+= mixer2 . else USE_SDL+= mixer . endif .endif .include diff --git a/games/nehquake/Makefile b/games/nehquake/Makefile index 97d528cbcaaa..1643a4b0b0db 100644 --- a/games/nehquake/Makefile +++ b/games/nehquake/Makefile @@ -1,56 +1,56 @@ # Created by: alepulver PORTNAME= nehquake PORTVERSION= 1.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= LOCAL/alepulver DISTNAME= NehQuake-bjp-bin-src.linux MAINTAINER= ports@FreeBSD.org COMMENT= Quake engine designed for playing Nehahra BROKEN_FreeBSD_13= ld: error: duplicate symbol: sb_lines BROKEN_FreeBSD_14= ld: error: duplicate symbol: sb_lines USES= gl gmake dos2unix tar:bzip2 xorg USE_GL= gl USE_XORG= xxf86dga xxf86vm OPTIONS_DEFINE= OPTIMIZED_CFLAGS SDL OPTIONS_DEFINE_amd64= X86_ASM OPTIONS_DEFINE_i386= X86_ASM OPTIONS_DEFAULT= OPTIMIZED_CFLAGS SDL OPTIONS_DEFAULT_amd64= X86_ASM OPTIONS_DEFAULT_i386= X86_ASM OPTIONS_SUB= yes SDL_USES= sdl SDL_USE= SDL=sdl SDL_MAKE_ENV= BUILD_SDL=YES X86_ASM_DESC= Enable x86 assembly code ALL_TARGET= release SUB_FILES= pkg-message .include "${.CURDIR}/../quake-data/Makefile.include" .include .for f in OPTIMIZED_CFLAGS X86_ASM . if ${PORT_OPTIONS:M${f}} MAKE_ENV+= USE_${f}=YES . else MAKE_ENV+= USE_${f}=NO . endif .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/release/nehahra ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MSDL} ${INSTALL_PROGRAM} ${WRKSRC}/release/nehahra-sdl ${STAGEDIR}${PREFIX}/bin .endif @${MKDIR} ${STAGEDIR}${Q1DIR}/nehahra .include diff --git a/games/netherearth/Makefile b/games/netherearth/Makefile index 8c50dbec4864..cfa25e4f2ce8 100644 --- a/games/netherearth/Makefile +++ b/games/netherearth/Makefile @@ -1,30 +1,30 @@ # Created by: Ginzburg Oleg PORTNAME= netherearth PORTVERSION= 0.51 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= http://move.kirishi.ru/soft/netherearth/ MAINTAINER= ports@FreeBSD.org COMMENT= Remake of the first real time strategy game on the SPECTRUM GNU_CONFIGURE= yes USES= compiler gl sdl USE_GL= gl glu glut USE_SDL= sdl mixer CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing pre-install: if [ ! -d ${STAGEDIR}${PREFIX}/share/netherearth ] ; then \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/netherearth ;\ fi ${CP} -R ${WRKSRC}/maps ${STAGEDIR}${PREFIX}/share/netherearth/ ${CP} -R ${WRKSRC}/models ${STAGEDIR}${PREFIX}/share/netherearth/ ${CP} -R ${WRKSRC}/sound ${STAGEDIR}${PREFIX}/share/netherearth/ ${CP} -R ${WRKSRC}/textures ${STAGEDIR}${PREFIX}/share/netherearth/ .include diff --git a/games/netradiant/Makefile b/games/netradiant/Makefile index ba3da3921817..5ad06ef30033 100644 --- a/games/netradiant/Makefile +++ b/games/netradiant/Makefile @@ -1,74 +1,74 @@ # Created by: Alexey Dokuchaev PORTNAME= netradiant PORTVERSION= 20150621 -PORTREVISION= 1 +PORTREVISION= 2 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 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 gdkpixbuf2 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 '/#include/s, diff --git a/games/neverball/Makefile b/games/neverball/Makefile index 394bffdf01c6..04ef75475045 100644 --- a/games/neverball/Makefile +++ b/games/neverball/Makefile @@ -1,51 +1,51 @@ PORTNAME= neverball PORTVERSION= 1.6.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://icculus.org/neverball/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Tilt the floor to guide a ball through an obstacle course LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/doc/legal/license-GPL-2.0.txt LIB_DEPENDS= libpng.so:graphics/png \ libvorbis.so:audio/libvorbis \ libphysfs.so:devel/physfs USES= gl gmake iconv jpeg sdl USE_GL= gl USE_SDL= sdl2 ttf2 MAKE_ARGS+= DATADIR="${DATADIR}" \ LOCALEDIR="${PREFIX}/share/locale" CFLAGS+= -fcommon PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_MAKE_ENV= ENABLE_NLS=1 NLS_MAKE_ENV_OFF= ENABLE_NLS=0 do-install: cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ ${INSTALL_MAN} ${WRKSRC}/dist/*.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ .for f in neverball neverputt ${INSTALL_DATA} ${WRKSRC}/dist/${f}.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/dist/${f}_512.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${f}.png ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/ .endfor do-install-NLS-on: cd ${WRKSRC}/locale && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/locale/ do-install-DOCS-on: cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile index 3fe0dd9dbc0f..7626264fdf92 100644 --- a/games/nexuiz/Makefile +++ b/games/nexuiz/Makefile @@ -1,128 +1,128 @@ # Created by: Alexey Dokuchaev PORTNAME= nexuiz PORTVERSION= 2.5.2 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/NexuizRelease/Nexuiz%20${PORTVERSION} \ SF/${PORTNAME}/mappack/nexmappack_r2:mappack DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Fast-paced, chaotic, and intense multiplayer first person shooter LIB_DEPENDS= libcurl.so:ftp/curl LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/gpl.txt USES= jpeg shebangfix zip:infozip SHEBANG_FILES= server/rcon.pl server/rcon2irc/rcon2irc.pl WRKSRC= ${WRKDIR}/Nexuiz BUILD_WRKSRC= ${WRKSRC}/sources/darkplaces MAKEFILE= BSDmakefile MAKE_ARGS= DP_FS_BASEDIR="${DATADIR}" CC="${CC}" \ DP_PRELOAD_DEPENDENCIES=yes DP_LINK_TO_LIBJPEG=yes \ CFLAGS_LIBJPEG="-I${LOCALBASE}/include" \ OPTIM_RELEASE="${CFLAGS} -fno-strict-aliasing -funroll-loops" \ STRIP="${STRIP_CMD}" MAKE_JOBS_UNSAFE=yes ALL_TARGET= # empty PORTDATA= * OPTIONS_DEFINE= MAPPACK OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS=CLIENT SDL_CLIENT DEDICATED OPTIONS_DEFAULT=MAPPACK CLIENT SDL_CLIENT DEDICATED MAPPACK_DESC= Install community map pack CLIENT_DESC= Build GLX client SDL_CLIENT_DESC=Build SDL client DEDICATED_DESC= Build dedicated server CLIENT_LIB_DEPENDS= libmodplug.so:audio/libmodplug \ libpng.so:graphics/png \ libtheora.so:multimedia/libtheora SDL_CLIENT_LIB_DEPENDS= ${CLIENT_LIB_DEPENDS} MAPPACK_DISTFILES= nexmappack_r2${EXTRACT_SUFX}:mappack .include .if ${PORT_OPTIONS:MCLIENT} USES+= gl xorg USE_GL= glut USE_XORG= x11 xpm xxf86vm xxf86dga xext ALL_TARGET+= cl-release PLIST_FILES+= bin/${PORTNAME}-glx DESKTOP_ENTRIES="Nexuiz" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}-glx" \ "Game;Shooter;" \ "" .endif .if ${PORT_OPTIONS:MSDL_CLIENT} USES+= sdl USE_SDL= sdl ALL_TARGET+= sdl-release PLIST_FILES+= bin/${PORTNAME}-sdl # override of DESKTOP_ENTRIES for GLX client is intented DESKTOP_ENTRIES="Nexuiz" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}-sdl" \ "Game;Shooter;" \ "" .endif .if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSDL_CLIENT} PLIST_FILES+= share/pixmaps/${PORTNAME}.ico .endif .if ${PORT_OPTIONS:MDEDICATED} ALL_TARGET+= sv-release PLIST_FILES+= bin/${PORTNAME}-dedicated .endif post-extract: @${EXTRACT_CMD} -qo \ ${WRKDIR}/Nexuiz/sources/enginesource20091001.zip \ -d ${WRKDIR}/Nexuiz/sources post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' \ ${BUILD_WRKSRC}/${MAKEFILE} ${BUILD_WRKSRC}/makefile.inc @${REINPLACE_CMD} -e '/LDFLAGS_BSDSV/s,$$,-L${LOCALBASE}/lib,' \ ${BUILD_WRKSRC}/makefile.inc # Fix for libpng 1.4 @${REINPLACE_CMD} -e 's,gray_1_2_4_to_8,expand_&,g' \ ${BUILD_WRKSRC}/image_png.c do-install: .if ${PORT_OPTIONS:MCLIENT} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-glx ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-glx .endif .if ${PORT_OPTIONS:MSDL_CLIENT} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-sdl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-sdl .endif .if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSDL_CLIENT} ${INSTALL_DATA} ${BUILD_WRKSRC}/nexuiz.ico ${STAGEDIR}${PREFIX}/share/pixmaps .endif .if ${PORT_OPTIONS:MDEDICATED} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-dedicated ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-dedicated cd ${WRKSRC} && ${COPYTREE_SHARE} "server" ${STAGEDIR}${DATADIR} # Fixup lost +x permissions on scripts after COPYTREE_SHARE ${FIND} ${STAGEDIR}${DATADIR}/server -type f -name *.sh -o -name rcon*.pl | \ ${XARGS} ${CHMOD} +x .endif cd ${WRKSRC} && ${COPYTREE_SHARE} "data havoc" ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MMAPPACK} ${INSTALL_DATA} ${WRKDIR}/data/*.pk3 ${STAGEDIR}${DATADIR}/data .endif .include diff --git a/games/nighthawk/Makefile b/games/nighthawk/Makefile index e0b65f4c13c9..ac892723d5b0 100644 --- a/games/nighthawk/Makefile +++ b/games/nighthawk/Makefile @@ -1,40 +1,40 @@ # Created by: Mark Pulford PORTNAME= nighthawk PORTVERSION= 3.0.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SUNSITE/games/arcade MAINTAINER= ports@FreeBSD.org COMMENT= X11 shoot-'em up which requires some lateral thinking WRKSRC= ${WRKDIR}/${PORTNAME} USES= gl gmake localbase:ldflags tar:bzip2 USE_GL= glut MAKE_ARGS= CC="${CC}" CPP="${CXX}" CC_FLAGS="${CXXFLAGS}" \ LIB_FLAGS="${LDFLAGS}" GCC="${CC}" CFLAGS="${CFLAGS}" CFLAGS+= -DINSTALL_DIR=\\\"\${DATADIR}\\\" \ -DSCORES_FILE=\\\"/var/games/nighthawk.scores\\\" LDFLAGS+= -lm -lX11 -lGL -lGLU -lglut post-patch: ${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ 's|make|$$(MAKE)|g ; \ s|strip nighthawk||g' ${REINPLACE_CMD} -e 's|||g' \ ${WRKSRC}/src/util/mkprotos2.c ${REINPLACE_CMD} -e 's|^|#|g' ${WRKSRC}/config.user do-install: (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} nighthawk \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/doc && ${INSTALL_MAN} nighthawk.6 \ ${STAGEDIR}${MANPREFIX}/man/man6) @${MKDIR} ${STAGEDIR}${DATADIR} ${TAR} -C ${WRKSRC} --exclude ".xvpics" -cf - data | \ ${TAR} -C ${STAGEDIR}${DATADIR} --unlink -xf - .include diff --git a/games/nimuh/Makefile b/games/nimuh/Makefile index 9cc71177cb25..09cb9cc2b95c 100644 --- a/games/nimuh/Makefile +++ b/games/nimuh/Makefile @@ -1,35 +1,35 @@ PORTNAME= nimuh PORTVERSION= 1.02 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games education MASTER_SITES= https://mirror.amdmi3.ru/distfiles/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-data-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Puzzle game destined to improve the knowledge of Andalusia LICENSE= CC-BY-NC-SA-2.0 LIB_DEPENDS= libexpat.so:textproc/expat2 USES= gl gmake localbase sdl GNU_CONFIGURE= yes USE_CXXSTD= c++98 USE_SDL= sdl image mixer USE_GL= gl glu DATA_WRKSRC= ${WRKDIR}/${PORTNAME}-data-${PORTVERSION} PLIST_FILES= bin/${PORTNAME} PORTDATA= * post-patch: @${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure post-configure: @cd ${DATA_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} post-install: @cd ${DATA_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} .include diff --git a/games/oolite/Makefile b/games/oolite/Makefile index cb44a2fc5a96..74954b1ea14b 100644 --- a/games/oolite/Makefile +++ b/games/oolite/Makefile @@ -1,85 +1,85 @@ PORTNAME= oolite PORTVERSION= 1.88 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games gnustep MASTER_SITES= https://github.com/OoliteProject/oolite/releases/download/1.88/ DISTNAME= ${PORTNAME}-source-${PORTVERSION} DIST_SUBDIR= oolite MAINTAINER= ports@FreeBSD.org COMMENT= Trade and combat space simulator, clone of Elite LICENSE= CC-BY-NC-SA-3.0 GPLv2 ZLIB LICENSE_COMB= multi LICENSE_FILE_CC-BY-NC-SA-3.0= ${WRKSRC}/Doc/LICENSE.TXT BUILD_DEPENDS= zip:archivers/zip \ ${LOCALBASE}/bin/unzip:archivers/unzip LIB_DEPENDS= libespeak.so:audio/espeak \ libnspr4.so:devel/nspr \ libvorbisfile.so:audio/libvorbis \ libpng.so:graphics/png \ libminizip.so:archivers/minizip USES= gl gnustep openal:al perl5 python:3.5+,build sdl \ tar:bzip2 xorg USE_CXXSTD= gnu++98 USE_GL= gl glu USE_SDL= sdl USE_XORG= x11 USE_GNUSTEP= base build MAKE_ENV= ac_cv_path_PYTHON=${PYTHON_CMD} # Redefine DO_MAKE_BUILD, because current gnustep in USES overrides MAKEFILE # without possibility to change it, as it was done in the previous implementation DO_MAKE_BUILD= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} Makefile ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} ALL_TARGET= release-deployment USE_PERL5= build GNUSTEP_LOCAL_APPS= ${GNUSTEP_LOCAL_ROOT}/Applications SUB_FILES= oolite SUB_LIST= GNUSTEP_SYSTEM_TOOLS="${GNUSTEP_SYSTEM_TOOLS}" WRKSRC= ${WRKDIR}/${DISTNAME} RELEASEDIR= ${WRKSRC}/oolite.app DATADIR= ${GNUSTEP_LOCAL_APPS}/oolite.app PORTDATA= Resources PORTDOCS= *.pdf CHANGELOG.TXT contributors.txt PLIST_FILES+= bin/oolite ${DATADIR}/oolite \ share/applications/oolite.desktop \ share/pixmaps/oolite-icon.png OPTIONS_DEFINE= DOCS BROKEN_aarch64= fails to configure: error: These compiler flags are invalid: -O BROKEN_armv6= fails to compile: your compiler does not follow the C++ specification for temporary object destruction order BROKEN_armv7= fails to compile: your compiler does not follow the C++ specification for temporary object destruction order BROKEN_i386= fails to compile: ../methodjit/MethodJIT.cpp:318:5: error: expected '(' after 'asm' post-patch: .SILENT ${REINPLACE_CMD} -e 's/GNUSTEP_USER_ROOT/GNUSTEP_LOCAL_ROOT/ ; \ s/sdl-config/$${SDL_CONFIG}/ ; \ s|-lstdc++|`$${SDL_CONFIG} --libs` &| ; \ s|:src/Core/MiniZip|| ; \ s|-Isrc/Core/MiniZip|-I$${LOCALBASE}/include/minizip| ; \ s|-lz|-lminizip| ; \ /ioapi.c/d ; /unzip.c/d ; \ s|/usr/X11R6|$${LOCALBASE}|' \ ${WRKSRC}/GNUmakefile # Change value of the SAVEDIR define ${REINPLACE_CMD} -e 's|oolite-saves|\.oolite-saves|' \ ${WRKSRC}/src/Core/NSFileManagerOOExtensions.h do-install: (cd ${RELEASEDIR} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) ${INSTALL_SCRIPT} ${WRKDIR}/oolite ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${RELEASEDIR}/oolite ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/installers/FreeDesktop/oolite.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/installers/FreeDesktop/oolite-icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps (cd ${WRKSRC}/Doc && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/openage/Makefile b/games/openage/Makefile index cba6d7033142..0aa19528262c 100644 --- a/games/openage/Makefile +++ b/games/openage/Makefile @@ -1,55 +1,55 @@ PORTNAME= openage DISTVERSIONPREFIX= v DISTVERSION= 0.3.0-1262 DISTVERSIONSUFFIX= -ga554ab49 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games PATCH_SITES= https://github.com/SFTtech/openage/commit/ PATCHFILES= 663b1158018d839eb5cfed63f4b228c1590c6104.patch:-p1 MAINTAINER= freebsd@sysctl.cz COMMENT= Free engine clone of the Genie Engine LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/legal/GPLv3 BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libopusfile.so:audio/opusfile \ libpng.so:graphics/png \ libnyan.so:lang/nyan RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} USES= cmake compiler:c++17-lang gl python:3.4+ qt:5 sdl shebangfix SHEBANG_FILES= configure run.py buildsystem/cythonize.py USE_GITHUB= yes GH_ACCOUNT= SFTtech USE_SDL= image2 sdl2 USE_GL= gl glu USE_QT= core declarative gui network buildtools_build qmake_build USE_PYTHON= cython USE_LDCONFIG= yes CMAKE_OFF= WANT_BACKTRACE WANT_GPERFTOOLS_PROFILER WANT_INOTIFY CMAKE_ARGS= -DGLOBAL_CONFIG_DIR:STRING=${ETCDIR} post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/env python3|${PYTHON_CMD}|' ${WRKSRC}/buildsystem/modules/FindPython.cmake post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/openage @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg .include diff --git a/games/openarena/Makefile b/games/openarena/Makefile index c1095157ca97..b2d64e11e6e9 100644 --- a/games/openarena/Makefile +++ b/games/openarena/Makefile @@ -1,46 +1,47 @@ # Created by: Josh Tolbert PORTNAME= openarena PORTVERSION= ${GAMEVERSION}.s${SVNREVISION} +PORTREVISION= 1 PORTEPOCH= 2 MASTER_SITES= SF/oarena/src \ http://files.poulsander.com/~poul19/public_files/oa/dev088/ DISTNAME= ${PORTNAME}-engine-source-${GAMEVERSION} EXTRACT_SUFX= .tar.bz2 # override master port MAINTAINER= ports@FreeBSD.org COMMENT= Quake3 total conversion based on the ioquake3 engine LICENSE?= GPLv2 RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/${Q3BASE}/pak0.pk3:games/openarena-data USES= tar:bzip2 MASTERDIR= ${.CURDIR}/../ioquake3 DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr DISTINFO_FILE= ${.CURDIR}/../${PORTNAME}/distinfo PATCHDIR= ${.CURDIR}/../${PORTNAME}/files PKGMESSAGE= ${.CURDIR}/../${PORTNAME}/pkg-message IOQ3?= CLIENT IOQ3ARCH?= ${ARCH} IOQ3SDL= sdl # OpenArena doc is too messy to bother OPTIONS_EXCLUDE= DOCS GAMEVERSION= 0.8.8 SVNREVISION= 1910 Q3ENGINEVER= SVN${SVNREVISION}+${GAMEVERSION} Q3TOTALCONV= yes Q3CLIENT= openarena Q3SERVER= oa_ded Q3BASE= baseoa Q3DIR= ${DATADIR} # No icon included with OpenArena Q3ICON= pre-patch: @${FIND} ${WRKSRC} -name \*.orig -delete .include "${MASTERDIR}/Makefile" diff --git a/games/opencity/Makefile b/games/opencity/Makefile index 669d8cfceb60..54d994d4c9bc 100644 --- a/games/opencity/Makefile +++ b/games/opencity/Makefile @@ -1,27 +1,27 @@ PORTNAME= opencity PORTVERSION= 0.0.6.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Stable/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+)\..*$/\1/}/ DISTNAME= ${PORTNAME}-${PORTVERSION}stable MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free 3D city simulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png GNU_CONFIGURE= yes USES= compiler:c11 gl gmake pkgconfig sdl tar:bzip2 USE_SDL= sdl mixer image net USE_GL= gl glu INSTALL_TARGET= install-strip PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS .include diff --git a/games/openclonk/Makefile b/games/openclonk/Makefile index 596ff34d97b9..91fdc91fcb37 100644 --- a/games/openclonk/Makefile +++ b/games/openclonk/Makefile @@ -1,52 +1,52 @@ # Created by: Kevin Zheng PORTNAME= openclonk DISTVERSION= 8.1 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONSUFFIX= -src CATEGORIES= games MASTER_SITES= http://www.openclonk.org/builds/release/${DISTVERSION}/ MAINTAINER= kevinz5000@gmail.com COMMENT= Multiplayer action game involving small and nimble humanoids LICENSE= ISCL CC0-1.0 LICENSE_COMB= multi LICENSE_FILE_ISCL= ${WRKSRC}/COPYING BROKEN_powerpc64= fails to compile: C4Texture.cpp:260:13: error: 'stoul' is not a member of 'std' LIB_DEPENDS= libalut.so:audio/freealut \ libfreetype.so:print/freetype2 \ libminiupnpc.so:net/miniupnpc \ libogg.so:audio/libogg \ libpng.so:graphics/png \ libtinyxml.so:textproc/tinyxml \ libvorbis.so:audio/libvorbis WRKSRC= ${WRKDIR}/openclonk-release-${PORTVERSION}-src # make install has parallel issues with ninja USES= cmake:noninja desktop-file-utils gl gnome jpeg openal \ pkgconfig sdl tar:bzip2 xorg USE_GL= gl glew glu USE_SDL= sdl2 USE_XORG= x11 xpm INSTALLS_ICONS= yes CMAKE_ARGS= -DAudio_TK:STRING="OpenAL" LDFLAGS_i386= -Wl,-znotext .include .if ${ARCH} == powerpc64le CFLAGS+= -DNO_WARN_X86_INTRINSICS USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++14-lang .endif post-patch: @${REINPLACE_CMD} -e 's|DESTINATION games|DESTINATION bin|' \ -e 's|share/games|share|' ${WRKSRC}/CMakeLists.txt .include diff --git a/games/openjk/Makefile b/games/openjk/Makefile index 14ae08601e75..771ffe2232a3 100644 --- a/games/openjk/Makefile +++ b/games/openjk/Makefile @@ -1,31 +1,32 @@ PORTNAME= openjk PORTVERSION= g20200823 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= pkubaj@FreeBSD.org COMMENT= Community effort to maintain Jedi Academy + Jedi Outcast LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png USES= compiler:c++11-lang cmake gl jpeg localbase sdl xorg USE_GL= gl glu USE_GITHUB= yes GH_ACCOUNT= JACoders GH_PROJECT= OpenJK GH_TAGNAME= ca63f21 USE_SDL= sdl2 USE_XORG= x11 CXXFLAGS+= -DNDEBUG OPENJK_ARCH= ${ARCH:S/powerpc64$/ppc64/:S/powerpc$/ppc/:C/armv.*/arm/} PLIST_SUB= ARCH="${OPENJK_ARCH}" SUB_FILES= jamp \ jasp SUB_LIST= ARCH="${OPENJK_ARCH}" post-install: ${INSTALL_SCRIPT} ${WRKDIR}/jamp ${WRKDIR}/jasp ${STAGEDIR}${PREFIX}/bin .include diff --git a/games/openmw/Makefile b/games/openmw/Makefile index 3630700cc632..fde42a065405 100644 --- a/games/openmw/Makefile +++ b/games/openmw/Makefile @@ -1,35 +1,36 @@ PORTNAME= openmw DISTVERSIONPREFIX= openmw- DISTVERSION= 0.46.0 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= fluffy@FreeBSD.org COMMENT= Unofficial open source engine reimplementation of the game Morrowind LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libboost_thread.so:devel/boost-libs \ libBulletCollision.so:devel/bullet \ libMyGUIEngine.so:x11-toolkits/mygui \ libosg.so:graphics/osg \ libunshield.so:archivers/unshield USES= cmake compiler:c++14-lang gl openal pkgconfig qt:5 sdl xorg USE_GITHUB= yes GH_ACCOUNT= OpenMW USE_GL= gl USE_QT= core gui network opengl printsupport widgets buildtools_build \ qmake_build USE_SDL= sdl2 CMAKE_ARGS= -DDESIRED_QT_VERSION=5 \ -DGLOBAL_DATA_PATH="${PREFIX}/share" \ -DMORROWIND_DATA_FILES="${DATADIR}/data" \ -DOPENMW_RESOURCE_FILES="${DATADIR}/resources" post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .include diff --git a/games/openrct2/Makefile b/games/openrct2/Makefile index 2874890eeead..e1ad14fbd635 100644 --- a/games/openrct2/Makefile +++ b/games/openrct2/Makefile @@ -1,62 +1,62 @@ # Created by: Piotr Kubaj PORTNAME= openrct2 DISTVERSIONPREFIX= v DISTVERSION= 0.3.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MAINTAINER= pkubaj@FreeBSD.org COMMENT= Open source re-implementation of RollerCoaster Tycoon 2 LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/licence.txt NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe sparc64 NOT_FOR_ARCHS_REASON= Only for little-endian architectures BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json LIB_DEPENDS= libpng.so:graphics/png \ libzip.so:archivers/libzip \ libspeexdsp.so:audio/speexdsp \ libfontconfig.so:x11-fonts/fontconfig \ libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 \ libicuuc.so:devel/icu \ libbenchmark.so:devel/benchmark \ libduktape.so:lang/duktape-lib USES= cmake compiler:c++17-lang desktop-file-utils gnome gl iconv \ localbase:ldflags pkgconfig sdl shared-mime-info ssl USE_GITHUB= yes GH_ACCOUNT= OpenRCT2 GH_PROJECT= OpenRCT2 GH_TUPLE= OpenRCT2:objects:v1.2.1:objects \ OpenRCT2:title-sequences:v0.1.2c:title_sequences USE_GL= gl USE_LDCONFIG= yes USE_SDL= sdl2 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= DOWNLOAD_TITLE_SEQUENCES \ DOWNLOAD_OBJECTS PORTDATA= * PORTDOCS= changelog.txt contributors.md licence.txt openrct2.d.ts \ readme.txt scripting.md INSTALLS_ICONS= yes OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \ ${WRKSRC}/src/openrct2/config/Config.cpp post-install: (cd ${WRKSRC_title_sequences}; \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/title) (cd ${WRKSRC_objects}; \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/object) .include diff --git a/games/openspades/Makefile b/games/openspades/Makefile index da99194a7e52..7c3cd4288b6a 100644 --- a/games/openspades/Makefile +++ b/games/openspades/Makefile @@ -1,51 +1,51 @@ PORTNAME= openspades PORTVERSION= 0.1.3 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= games MASTER_SITES= https://github.com/yvt/openspades-paks/releases/download/r33/:data DISTFILES= OpenSpadesDevPackage-r33.zip:data MAINTAINER= amdmi3@FreeBSD.org COMMENT= Compatible client of Ace of Spades LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= bundles non-portable AngelScript BUILD_DEPENDS= convert:graphics/ImageMagick6 # for building icons LIB_DEPENDS= libcurl.so:ftp/curl \ libopusfile.so:audio/opusfile USE_GITHUB= yes GH_ACCOUNT= yvt USES= cmake:insource compiler:c++11-lib desktop-file-utils dos2unix \ gl gnome openal sdl xorg CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \ -DOPENSPADES_INSTALL_MAN="man/man6" \ -DOPENSPADES_INSTALL_BINARY="bin" \ -DOPENSPADES_INSTALL_RESOURCES="${DATADIR_REL}" DOS2UNIX_FILES= Sources/AngelScript/source/as_config.h USE_SDL= sdl2 image2 USE_GL= gl glew INSTALLS_ICONS= yes PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-extract: @${MV} ${WRKDIR}/Nonfree/*.pak ${WRKDIR}/OfficialMods/*.pak \ ${WRKSRC}/Resources/ post-patch: @${REINPLACE_CMD} -e 's|Xext|${LOCALBASE}/lib/lib&.so|' ${WRKSRC}/Sources/CMakeLists.txt post-install: cd ${WRKSRC}/Resources/ && ${COPYTREE_SHARE} "Gfx Locales Maps Models PackageInfo.json Scripts Shaders Sounds Textures *.pak" ${STAGEDIR}${DATADIR} .include diff --git a/games/openxcom/Makefile b/games/openxcom/Makefile index a9c25cff74c3..339a6117d880 100644 --- a/games/openxcom/Makefile +++ b/games/openxcom/Makefile @@ -1,51 +1,51 @@ PORTNAME= openxcom PORTVERSION= 1.0 DISTVERSIONPREFIX= v -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source reimplementation of the original X-Com LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libyaml-cpp.so:devel/yaml-cpp USE_GITHUB= yes GH_ACCOUNT= SupSuper GH_PROJECT= OpenXcom USES= compiler:c++11-lang gl gmake pkgconfig sdl USE_CXXSTD= c++11 USE_SDL= sdl mixer image gfx USE_GL= gl BUILD_WRKSRC= ${WRKSRC}/src MAKEFILE= Makefile.simple SUB_FILES= pkg-message PLIST_FILES= bin/openxcom share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.svg PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/README.txt \ ${WRKSRC}/src/Engine/CrossPlatform.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/res/linux/openxcom.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/res/linux/icons/openxcom.svg ${STAGEDIR}${PREFIX}/share/pixmaps/ @cd ${WRKSRC}/bin && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/CHANGELOG.txt ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/osgg/Makefile b/games/osgg/Makefile index 2c2753f92273..96286db27048 100644 --- a/games/osgg/Makefile +++ b/games/osgg/Makefile @@ -1,35 +1,35 @@ PORTNAME= osgg PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= OldSkool Gravity Game LICENSE= GPLv3+ USE_GITHUB= yes GH_ACCOUNT= DusteDdk GH_PROJECT= Osgg GH_TAGNAME= 32d9e02 # 1.0 + extra FreeBSD-related fixes USES= gl sdl xorg USE_SDL= sdl image ttf mixer USE_GL= gl MAKE_ENV= DATADIR="${DATADIR}/" PLIST_FILES= bin/${PORTNAME} PORTDATA= *.txt *.ogg Bandal.ttf icon.png levels DESKTOP_ENTRIES="Osgg" \ "" \ "${DATADIR}/icon.png" \ "osgg" \ "Game;ArcadeGame;" \ "" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}/ .include diff --git a/games/palomino/Makefile b/games/palomino/Makefile index 501b8a7b7176..9dcbcfe0decc 100644 --- a/games/palomino/Makefile +++ b/games/palomino/Makefile @@ -1,96 +1,96 @@ # Created by: Andrew Pantyukhin PORTNAME= palomino PORTVERSION= 20131231 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF/palomino-sim DISTFILES= ${PORTNAME}_src_${PORTVERSION}.txz \ ${PORTNAME}_data_misc_${MISC_VER}${EXTRACT_SUFX} \ ${PORTNAME}_data_models_${MODELS_VER}${EXTRACT_SUFX} \ ${PORTNAME}_data_sounds_${SOUNDS_VER}${EXTRACT_SUFX} \ ${PORTNAME}_data_terrain_${TERRAIN_VER}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Action flight simulation computer program using OSG LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE_GNU_GPL_2.txt LIB_DEPENDS= libosg.so:graphics/osg34 USES= alias compiler:c++11-lang cmake:insource,noninja gl lua:51 tar:xz USE_CXXSTD= gnu++98 USE_GL= gl glu MISC_VER= 20091027 MODELS_VER= 20090615 SOUNDS_VER= 20080704 TERRAIN_VER= 20080206 WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * DESKTOP_ENTRIES= "Palomino" "" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" "" OPTIONS_DEFINE= DOCS GUI PLIB SDL OPTIONS_DEFAULT=GUI SDL OPTIONS_SUB= yes PLIB_DESC= Enable sound support through plib PLIB_BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib GUI_DESC= Enable FLTK GUI GUI_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk SDL_USES= sdl SDL_USE= SDL=sdl,mixer post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/ rt / d' ${WRKSRC}/CMakeModules/libraries.cmake @${REINPLACE_CMD} -e '/COMMAND/ s|lua|${LUA_CMD}|' \ ${WRKSRC}/build/lua_bind/CMakeLists.txt @${REINPLACE_CMD} -e '/FIND_PACKAGE(/ s|)| REQUIRED)|' \ ${WRKSRC}/CMakeModules/libraries.cmake @${REINPLACE_CMD} -e '/COMPILE_WITH_OSSIM/ d' ${WRKSRC}/CMakeLists.txt # Please see MOVED entry devel/linux-js||2013-06-04 @${REINPLACE_CMD} -e '/COMPILE_WITH_LINUX_JOYSTICK/ d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|string sDataDir|&="${DATADIR}/data/"|'\ ${WRKSRC}/src/base/conf.cc @${REINPLACE_CMD} -e '/LUABIND_SCRIPTS_DIR/ s|"scripts"|"${DATADIR}/scripts"|' \ ${WRKSRC}/src/lua_bind/defs.hh @${REINPLACE_CMD} -e 's|doc/html/|${DOCSDIR}/|' ${WRKSRC}/src/gui/gui.cc @${REINPLACE_CMD} -e 's/computeBound/computeBoundingBox/g' \ ${WRKSRC}/src/object/object.cc \ ${WRKSRC}/src/fx/partsys_medium.cc @${REINPLACE_CMD} -e 's/CameraNode/Camera/g' \ ${WRKSRC}/src/hud/hud.cc \ ${WRKSRC}/src/hud/hud.hh \ ${WRKSRC}/src/hud/hud_text.cc post-patch-SDL-off: @${REINPLACE_CMD} -e '/COMPILE_WITH_SDL/ d' ${WRKSRC}/CMakeLists.txt post-patch-PLIB-off: @${REINPLACE_CMD} -e '/COMPILE_WITH_PLIB/ d' ${WRKSRC}/CMakeLists.txt post-patch-GUI-off: @${REINPLACE_CMD} -e '/COMPILE_WITH_FLTK/ d' ${WRKSRC}/CMakeLists.txt post-install: @${MKDIR} ${STAGEDIR}${DATADIR} @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data scripts" ${STAGEDIR}${DATADIR}) # DOCS are used from within the game, so this is unconditional @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${LN} -sf ../../${DOCSDIR_REL}/images/palominoLogo.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include diff --git a/games/peg-e/Makefile b/games/peg-e/Makefile index 198714c5f336..5a8f832bb389 100644 --- a/games/peg-e/Makefile +++ b/games/peg-e/Makefile @@ -1,21 +1,22 @@ PORTNAME= peg-e PORTVERSION= 1.2.8 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://gottcode.org/peg-e/ \ https://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Peg elimination game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lib gl gnome qmake qt:5 tar:bzip2 USE_QT= core gui widgets qmake_build buildtools_build linguisttools_build USE_GL= gl INSTALLS_ICONS= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/games/phlipple/Makefile b/games/phlipple/Makefile index e28dbb5c8d2e..faeb60c0db71 100644 --- a/games/phlipple/Makefile +++ b/games/phlipple/Makefile @@ -1,35 +1,35 @@ PORTNAME= phlipple PORTVERSION= 0.8.5 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= SF/${PORTNAME} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Flipping squares will never be the same LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis USES= desktop-file-utils gl pkgconfig sdl dos2unix xorg USE_GL= gl glew glu USE_SDL= sdl mixer image GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lm PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/*.c .include diff --git a/games/pinball/Makefile b/games/pinball/Makefile index ce8a1d1a4d3f..32628fac1e05 100644 --- a/games/pinball/Makefile +++ b/games/pinball/Makefile @@ -1,46 +1,47 @@ # Created by: thierry@pompo.net PORTNAME= pinball PORTVERSION= 0.3.20201218 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= thierry@FreeBSD.org COMMENT= Emilia Pinball is a free pinball game LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libltdl.so:devel/libltdl USE_GITHUB= yes GH_ACCOUNT= adoptware USES= autoreconf compiler:c++11-lang gl gmake localbase:ldflags \ libtool:keepla pkgconfig sdl xorg # .la needed for plugin loading USE_XORG= ice sm USE_GL= gl glu USE_SDL= image mixer sdl USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-debug CPPFLAGS+= -DRZR_LIBSTATIC SCOREDIR= /var/games PLIST_SUB= SCOREDIR=${SCOREDIR} #MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DOCS post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so* .for table in professor tux (cd ${STAGEDIR}${SCOREDIR}/${PORTNAME}/${table} && \ ${MV} highscores highscores.sample) .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/pingus/Makefile b/games/pingus/Makefile index 11081e4c3a30..0e542811d08d 100644 --- a/games/pingus/Makefile +++ b/games/pingus/Makefile @@ -1,47 +1,47 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= pingus PORTVERSION= 0.7.6 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= games MASTER_SITES= https://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free Lemmings-like game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/signals2.hpp:devel/boost-libs LIB_DEPENDS= libpng.so:graphics/png USES= compiler:c++11-lib gl iconv scons sdl tar:bzip2 xorg USE_GL= gl USE_SDL= sdl image mixer LIBS+= ${ICONV_LIB} MAKE_ARGS= LIBS="${LIBS}" PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/${PORTNAME}.png PORTDATA= * DESKTOP_ENTRIES="Pingus" \ "" \ "${PORTNAME}" \ "${PORTNAME}" \ "Game;LogicGame;" \ false post-patch: @${REINPLACE_CMD} -e '/g_path_manager.set_path("data")/ s|data|${DATADIR}|g' \ ${WRKSRC}/src/pingus/pingus_main.cpp @${REINPLACE_CMD} -e '/CheckLib.*iconv/ d' ${WRKSRC}/SConscript do-install: (cd ${WRKSRC}/data && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/data/images/icons/pingus-icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include diff --git a/games/pink-pony/Makefile b/games/pink-pony/Makefile index 92f5170a9f4f..139e5763ddb8 100644 --- a/games/pink-pony/Makefile +++ b/games/pink-pony/Makefile @@ -1,49 +1,49 @@ PORTNAME= pink-pony PORTVERSION= 1.4.1 -PORTREVISION= 30 +PORTREVISION= 31 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Tron-like multiplayer racing game LICENSE= GPLv3+ LIB_DEPENDS= libIL.so:graphics/devil \ libprotobuf.so:devel/protobuf \ libglfw.so.0:graphics/glfw2 \ libftgl.so:graphics/ftgl \ libsigc-2.0.so:devel/libsigc++20 \ libImath.so:math/Imath USE_GITHUB= yes GH_ACCOUNT= ginkgo USES= pkgconfig scons compiler:c++11-lang gl sdl USE_CXXSTD= c++11 USE_GL= gl glu USE_SDL= mixer SUB_FILES= pink-pony.sh PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -Ee 's,resources/,${DATADIR}/,' \ ${WRKSRC}/pony.options ${WRKSRC}/src/Config.cc @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/install/pink-pony.desktop do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Pony ${STAGEDIR}${PREFIX}/libexec/ cd ${WRKSRC}/resources && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/pony.options ${STAGEDIR}${DATADIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/pink-pony.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/install/pink-pony.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/install/pink-pony.desktop ${STAGEDIR}${PREFIX}/share/applications/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/pioneer/Makefile b/games/pioneer/Makefile index deb7a6d75a5d..7170ea04e461 100644 --- a/games/pioneer/Makefile +++ b/games/pioneer/Makefile @@ -1,101 +1,101 @@ # Created by: lightside PORTNAME= pioneer DISTVERSION= 0.0.${GH_TAGNAME} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= Space adventure game set in the Milky Way galaxy LICENSE= APACHE20 BSD2CLAUSE CC-BY-SA-3.0 DejaVu GLEW GPLv3 IUP \ MIT SIL ZLIB LICENSE_COMB= multi LICENSE_NAME_DejaVu= Bitstream Vera and Arev fonts license LICENSE_NAME_GLEW= The OpenGL Extension Wrangler Library license LICENSE_NAME_IUP= Galaxy colour image use policy LICENSE_NAME_SIL= SIL open font license version 1.1 LICENSE_FILE_APACHE20= ${WRKSRC}/licenses/Apache-2.0.txt LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/licenses/LZ4.txt LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/licenses/CC-BY-SA-3.0.txt LICENSE_FILE_DejaVu= ${WRKSRC}/licenses/DejaVu-license.txt LICENSE_FILE_GLEW= ${WRKSRC}/licenses/GLEW.txt LICENSE_FILE_GPLv3= ${WRKSRC}/licenses/GPL-3.txt LICENSE_FILE_IUP= ${WRKSRC}/licenses/Image\ Use\ Policy\ -\ NASA\ Spitzer\ Space\ Telescope.html LICENSE_FILE_SIL= ${WRKSRC}/licenses/SIL-1.1.txt LICENSE_PERMS_DejaVu= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_GLEW= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_IUP= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_SIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_powerpc= fails to build: contrib/profiler/Profiler.h:158:51: inconsistent operand constraints in an 'asm' BROKEN_powerpc64= fails to build: contrib/profiler/Profiler.h:158:51: inconsistent operand constraints in an 'asm' BROKEN_powerpcspe= fails to build: contrib/profiler/Profiler.h:158:51: inconsistent operand constraints in an 'asm' BROKEN_riscv64= fails to build: contrib/profiler/Profiler.h:158:28: inconsistent operand constraints in an 'asm' LIB_DEPENDS= libassimp.so:multimedia/assimp \ libfreetype.so:print/freetype2 \ libsigc-2.0.so:devel/libsigc++20 \ libvorbisfile.so:audio/libvorbis USES= cmake compiler:c++11-lib gl gnome pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= pioneerspacesim GH_TAGNAME= 20191009 USE_GL= gl glu USE_SDL= image2 sdl2 CMAKE_ARGS= -DPIONEER_DATA_DIR:PATH="${DATADIR}/data" EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions --exclude \ .gitignore INSTALLS_ICONS= yes PORTDATA= data PORTDOCS= AUTHORS.txt Changelog.txt Modelviewer.txt Quickstart.txt \ README.md SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXTERNAL_GLEW EXTERNAL_LUA NOGPUJOBS PROFILER OPTIONS_DEFAULT= EXTERNAL_GLEW EXTERNAL_LUA EXTERNAL_GLEW_DESC= Use external libglew from graphics/glew EXTERNAL_LUA_DESC= Use external liblua from lang/lua52 NOGPUJOBS_DESC= Disable EnableGPUJobs for config.ini by default PROFILER_DESC= Build with internal profiler DOCS_SUB_LIST= QUICKSTART_PATH="${DOCSDIR}" DOCS_SUB_LIST_OFF= QUICKSTART_PATH="https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_TAGNAME}" EXTERNAL_GLEW_CMAKE_BOOL= USE_SYSTEM_LIBGLEW EXTERNAL_GLEW_VARS_OFF= LICENSE+=GLEW EXTERNAL_GLEW_USE= GL=glew EXTERNAL_LUA_CMAKE_BOOL= USE_SYSTEM_LIBLUA EXTERNAL_LUA_USES= lua:52 PROFILER_CMAKE_BOOL= PROFILER_ENABLED post-patch: .SILENT ${REINPLACE_CMD} -e '/^include(FindGit/d ; \ /TIMESTAMP PROJECT_VERSION/s|.*|set(PROJECT_VERSION "${GH_TAGNAME}")|' \ ${WRKSRC}/CMakeLists.txt post-patch-NOGPUJOBS-on: .SILENT # Revert 41272a856d9072404efbfdb10f0e3c9e4f96bb4d commit, in case of # GL_OUT_OF_MEMORY OpenGL error, when turning to gas giant planet ${REINPLACE_CMD} -e '/EnableGPUJobs/s|1|0|' \ ${WRKSRC}/src/GameConfig.cpp post-patch-PROFILER-off: .SILENT ${REINPLACE_CMD} -i '.profiler' -e '/contrib\/profiler/d ; /profiler$$/d ; \ /target_link_libraries(savegamedump/s| profiler||' \ ${WRKSRC}/CMakeLists.txt post-install: .for f in modelcompiler savegamedump ${MV} ${STAGEDIR}${PREFIX}/bin/${f} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${f} .endfor post-install-DOCS-on: (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/pipewalker/Makefile b/games/pipewalker/Makefile index 1fba880e8fa6..3a7b3bcf8db4 100644 --- a/games/pipewalker/Makefile +++ b/games/pipewalker/Makefile @@ -1,35 +1,35 @@ PORTNAME= pipewalker PORTVERSION= 0.9.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF MAINTAINER= amdmi3@FreeBSD.org COMMENT= Clone of the NetWalk game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png USES= desktop-file-utils gl localbase sdl GNU_CONFIGURE= yes USE_SDL= sdl USE_GL= gl glu PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.xpm PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${CHMOD} a+x ${WRKSRC}/install-sh @${REINPLACE_CMD} -e 's|(datadir)/games|(datadir)|' \ ${WRKSRC}/data/Makefile.in ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e '/^install-data-am/ s|install-pkgmenudataDATA||' \ ${WRKSRC}/extra/Makefile.in .include diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile index b2a1476b2e34..26221e0280d7 100644 --- a/games/pokerth/Makefile +++ b/games/pokerth/Makefile @@ -1,65 +1,65 @@ # Created by: Yinghong.Liu PORTNAME= pokerth PORTVERSION= 1.1.2 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= games MASTER_SITES= SF MAINTAINER= tobias.rehbein@web.de COMMENT= Poker game written in C++/Qt LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libmikmod.so:audio/libmikmod \ libgnutls.so:security/gnutls \ libcurl.so:ftp/curl \ libgsasl.so:security/libgsasl \ libtinyxml.so:textproc/tinyxml \ libprotobuf.so:devel/protobuf \ libircclient.so:irc/libircclient BUILD_DEPENDS= ${LOCALBASE}/include/websocketpp/client.hpp:devel/websocketpp \ protoc:devel/protobuf USES= compiler:c++11-lang gl gmake iconv qmake qt:5 sdl sqlite ssl USE_GL= gl USE_CXXSTD= c++11 USE_QT= buildtools_build core gui network sql sql-sqlite3 widgets USE_SDL= mixer QMAKE_SOURCE_PATH= pokerth.pro QMAKE_ARGS+= CONFIG+="client" WRKSRC= ${WRKDIR}/${DISTNAME}-rc PORTDOCS= server_setup_howto.txt OPTIONS_DEFINE= DOCS .include post-patch: @${REINPLACE_CMD} -E \ -e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \ -e 's|(-lcurl)|\1 ${ICONV_LIB}|g' \ -e 's|(-lcrypto) -liconv|\1 ${ICONV_LIB}|' \ -e 's:boost_([a-z]+)-[-|a-z|0-9|_]*:boost_\1:g' \ -e 's|LIB_DIRS =.*|LIB_DIRS = ${LOCALBASE}/lib|g' \ -e '/.*QMAKE_CXXFLAGS.*/d' \ ${WRKSRC}/*.pro pre-build: (cd ${WRKSRC} && \ protoc --cpp_out=src/third_party/protobuf chatcleaner.proto && \ protoc --cpp_out=src/third_party/protobuf pokerth.proto \ ) post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pokerth ${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/docs/pokerth.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/server_setup_howto.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/games/pouetchess/Makefile b/games/pouetchess/Makefile index 1328a14c7f72..364719ebfc7b 100644 --- a/games/pouetchess/Makefile +++ b/games/pouetchess/Makefile @@ -1,48 +1,48 @@ PORTNAME= pouetchess PORTVERSION= 0.1.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.11 DISTNAME= pouetChess_0.11_src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 3D chess game LICENSE= GPLv2 # from sourceforge page USES= compiler dos2unix gl gmake sdl USE_SDL= sdl image USE_GL= gl glu DOS2UNIX_GLOB= *.cpp *.h Makefile config.ini CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-reserved-user-defined-literal WRKSRC= ${WRKDIR}/pouetChess_0.11 PORTDATA= * DESKTOP_ENTRIES="pouetChess" \ "Play chess" \ "${DATADIR}/textures/1.png" \ "pouetChess" \ "Game;BoardGame;" \ false post-patch: @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^LIBS/ s|$$| -L${LOCALBASE}/lib|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/CXX / d' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/CXXFLAGS.*+=/ d' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^CXXFLAGS/ s|:=|+=|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^CXXFLAGS/ s|$$| -I${LOCALBASE}/include|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|config\.ini|${PREFIX}/etc/pouetChess.conf|' ${WRKSRC}/src/globalInfos.cpp @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/globalInfos.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/pouetChess ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/bin/config.ini ${STAGEDIR}${PREFIX}/etc/pouetChess.conf.sample @cd ${WRKSRC}/bin/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ .include diff --git a/games/prboom-plus/Makefile b/games/prboom-plus/Makefile index b25af8dbae63..60c696e637ba 100644 --- a/games/prboom-plus/Makefile +++ b/games/prboom-plus/Makefile @@ -1,44 +1,44 @@ # Created by: Jordan DeLong PORTNAME= prboom-plus PORTVERSION= 2.5.1.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF MAINTAINER= thiagohero501@gmail.com COMMENT= Fork of the prboom Doom game engine LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \ libpng.so:graphics/png \ libmad.so:audio/libmad \ libfluidsynth.so:audio/fluidsynth \ libvorbisfile.so:audio/libvorbis USES= gmake localbase sdl USE_GL= gl USE_SDL= image mixer net sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-waddir=${DATADIR} DATADIR= ${DMDIR} OPTIONS_DEFINE= DOCS OPENGL OPTIONS_DEFAULT=OPENGL OPENGL_USES= gl OPENGL_USE= GL=glu OPENGL_CONFIGURE_ENABLE= gl post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ -e '/^gamesdir/s|/games|/bin|' \ -e '/^docdir/s/@PACKAGE@-@VERSION@/@PACKAGE@/' .include "${.CURDIR}/Makefile.include" .include diff --git a/games/prboom/Makefile b/games/prboom/Makefile index a687771f75e0..aab18f71c8f0 100644 --- a/games/prboom/Makefile +++ b/games/prboom/Makefile @@ -1,38 +1,38 @@ # Created by: Jordan DeLong PORTNAME= prboom PORTVERSION= 2.5.0 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION} MAINTAINER= thiagohero501@gmail.com COMMENT= Multiplayer-capable and modified version of ID's classic DOOM game LICENSE= GPLv2 LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \ libpng.so:graphics/png USES= gmake sdl USE_GL= gl USE_SDL= mixer net sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-i386-asm CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= OPENGL OPTIONS_DEFAULT= OPENGL DATADIR= ${LOCALBASE}/share/doom PLIST_SUB= PORTVERSION=${PORTVERSION} SUB_FILES= pkg-message OPENGL_CONFIGURE_ENABLE= gl OPENGL_USES= gl OPENGL_USE= GL=glu .include diff --git a/games/py-fife/Makefile b/games/py-fife/Makefile index 9c24c7078117..ce89031e4e7c 100644 --- a/games/py-fife/Makefile +++ b/games/py-fife/Makefile @@ -1,67 +1,68 @@ # Created by: GreenDog PORTNAME= fife PORTVERSION= 0.4.2 +PORTREVISION= 1 CATEGORIES= games PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= fiziologus@gmail.com COMMENT= Flexible Isometric Free Engine LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ libtinyxml.so:textproc/tinyxml \ libboost_filesystem.so:devel/boost-libs \ libpng.so:graphics/png USES= cmake compiler:c++11-lang gl openal:al pkgconfig sdl xorg USE_GL= gl glew USE_LDCONFIG= yes USE_SDL= sdl2 ttf2 image2 USE_XORG= xcursor USE_GITHUB= yes GH_ACCOUNT= fifengine GH_PROJECT= fifengine OPTIONS_DEFINE= LOGGING OPTIONS_MULTI= GUISS COMP OPTIONS_MULTI_GUISS= FIFECHAN CEGUI OPTIONS_MULTI_COMP= PYTHON LIBRARY OPTIONS_DEFAULT= FIFECHAN LOGGING PYTHON OPTIONS_SUB= yes GUISS_DESC= GUI subsystem FIFECHAN_DESC= Fifechan GUI subsystem CEGUI_DESC= Crazy Eddi's GUI subsystem (must be build with OpenGL) LOGGING_DESC= Logging COMP_DESC= Building components PYTHON_DESC= Build python extension module (need for unknown-horizons) LIBRARY_DESC= Build and install files for directly develop with C++ FIFECHAN_CMAKE_BOOL= fifechan FIFECHAN_LIB_DEPENDS= libfifechan_sdl.so:devel/fifechan CEGUI_CMAKE_BOOL= cegui CEGUI_LIB_DEPENDS= libCEGUIBase-0.so:graphics/cegui LOGGING_CMAKE_BOOL= logging PYTHON_CMAKE_BOOL= build-python PYTHON_USES= python:3.6+ PYTHON_USE= python=flavors PYTHON_BUILD_DEPENDS= ${LOCALBASE}/bin/swig:devel/swig PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} LIBRARY_CMAKE_BOOL= build-library # For static library build # LIBRARY_CMAKE_ON= -Dbuild-library=ON -DBUILD_SHARED_LIBS=OFF # LIBRARY_CMAKE_OFF= -Dbuild-library=OFF .include diff --git a/games/q2p/Makefile b/games/q2p/Makefile index 93438dd5b4e2..caf783e3db23 100644 --- a/games/q2p/Makefile +++ b/games/q2p/Makefile @@ -1,139 +1,139 @@ # Created by: Alejandro Pulver PORTNAME= q2p PORTVERSION= 0.2.20061231 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= games MASTER_SITES= http://freebsd.nsu.ru/distfiles/ LOCAL/danfe DISTNAME= Q2P-0.2-2006-12-31 MAINTAINER= danfe@FreeBSD.org COMMENT= Enhanced OpenGL-only Quake II engine USES= gmake tar:bzip2 xorg USE_XORG= xxf86dga xext xxf86vm x11 ALL_TARGET= release MAKE_ENV= DATADIR="${Q2DIR}" LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S|${PREFIX}/||}" LIBDIR= ${PREFIX}/lib/${PORTNAME} PORTDOCS= Q2P_readme.txt Ogg_readme.txt OPTIONS_DEFINE= CLIENT CTF DEDICATED GAME GLX OPTIMIZED_CFLAGS OSS \ SDL SDLGL DOCS OPTIONS_DEFAULT= CLIENT DEDICATED GLX OPTIMIZED_CFLAGS OSS SDL SDLGL CLIENT_DESC= Build client CTF_DESC= Build CTF (Capture The Flag) mod DEDICATED_DESC= Build dedicated server GAME_DESC= Build main game (default mod) GLX_DESC= Build OpenGL renderer SDL_DESC= Sound support via SDL SDLGL_DESC= Build SDL OpenGL renderer .include .if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDLGL} LIB_DEPENDS+= libpng.so:graphics/png USES+= gl jpeg USE_GL= glu .endif .if ${PORT_OPTIONS:MSDL} || ${PORT_OPTIONS:MSDLGL} USES+= sdl USE_SDL= sdl .endif .if ${PORT_OPTIONS:MCLIENT} LIB_DEPENDS+= libvorbis.so:audio/libvorbis MAKE_ENV+= BUILD_Q2P=YES PLIST_SUB+= CLIENT="" Q2BIN+= ${PORTNAME} .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MCTF} MAKE_ENV+= BUILD_CTF=YES PLIST_SUB+= CTF="" .else PLIST_SUB+= CTF="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} MAKE_ENV+= BUILD_DEDICATED=YES PLIST_SUB+= DEDICATED="" Q2BIN+= ${PORTNAME}-ded .else PLIST_SUB+= DEDICATED="@comment " .endif .if ${PORT_OPTIONS:MGAME} MAKE_ENV+= BUILD_GAME=YES PLIST_SUB+= GAME="" .else PLIST_SUB+= GAME="@comment " .endif .for opt in GLX SDLGL . if ${PORT_OPTIONS:M${opt}} MAKE_ENV+= BUILD_${opt}=YES PLIST_SUB+= ${opt}="" Q2REF+= ${opt:tl:S/glx/gl/:S/sdlgl/sdl/} . else PLIST_SUB+= ${opt}="@comment " . endif .endfor .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MAKE_ENV+= OPTIMIZE=YES .endif .if ${PORT_OPTIONS:MOSS} MAKE_ENV+= BUILD_OSS_SND=YES PLIST_SUB+= OSS="" Q2SND+= oss .else PLIST_SUB+= OSS="@comment " .endif .if ${PORT_OPTIONS:MSDL} MAKE_ENV+= BUILD_SDL_SND=YES PLIST_SUB+= SDL="" Q2SND+= sdl .else PLIST_SUB+= SDL="@comment " .endif post-patch: # Resolve name collision with jpeg-8 @${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ ${WRKSRC}/ref_gl/gl_image.c do-install: .for bin in ${Q2BIN} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/${bin} ${STAGEDIR}${PREFIX}/bin .endfor @${MKDIR} ${STAGEDIR}${LIBDIR}/baseq2 .for ref in ${Q2REF} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/vid_${ref}.so ${STAGEDIR}${LIBDIR} .endfor .for snd in ${Q2SND} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/snd_${snd}.so ${STAGEDIR}${LIBDIR} .endfor .if ${PORT_OPTIONS:MCTF} @${MKDIR} ${STAGEDIR}${LIBDIR}/ctf ${INSTALL_PROGRAM} ${WRKSRC}/quake2/ctf/game.so \ ${STAGEDIR}${LIBDIR}/ctf .endif .if ${PORT_OPTIONS:MGAME} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/baseq2/game.so \ ${STAGEDIR}${LIBDIR}/baseq2 .endif ${INSTALL_DATA} ${WRKSRC}/data/baseq2/* ${STAGEDIR}${LIBDIR}/baseq2 @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include "${.CURDIR}/../quake2-data/Makefile.include" .include diff --git a/games/q2pro/Makefile b/games/q2pro/Makefile index 8b3493da86c8..beea4fd49130 100644 --- a/games/q2pro/Makefile +++ b/games/q2pro/Makefile @@ -1,141 +1,141 @@ # Created by: Alejandro Pulver PORTNAME= q2pro PORTVERSION= ${SVN_REV} -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= games MASTER_SITES= LOCAL/alepulver MAINTAINER= danfe@FreeBSD.org COMMENT= Quake II engine modification compatible with R1Q2 LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/gnu.txt USES= dos2unix gmake tar:bzip2 WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= # SVN_REV= 142 MAKE_ENV= LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S|${PREFIX}/||}" LIBDIR= ${PREFIX}/lib/${PORTNAME} LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= CLIENT DEDICATED GAME GL SOFT UI OPTIONS_DEFINE_i386= ASM OPTIONS_DEFAULT= CLIENT DEDICATED GL SOFT UI OPTIONS_DEFAULT_i386= ASM CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server GAME_DESC= Build main game (default mod) GL_DESC= Build OpenGL renderer SOFT_DESC= Build software renderer UI_DESC= Build user interface (for client menus) .include .if ${PORT_OPTIONS:MCLIENT} USES+= sdl USE_SDL+= sdl ALL_TARGET+= client PLIST_SUB+= CLIENT="" .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} ALL_TARGET+= server PLIST_SUB+= DEDICATED="" .else PLIST_SUB+= DEDICATED="@comment " .endif .if ${PORT_OPTIONS:MGAME} ALL_TARGET+= game PLIST_SUB+= GAME="" .else PLIST_SUB+= GAME="@comment " .endif .if ${PORT_OPTIONS:MGL} LIB_DEPENDS+= libpng.so:graphics/png USES+= gl jpeg USE_GL= gl ALL_TARGET+= ref_newgl PLIST_SUB+= GL="" .else PLIST_SUB+= GL="@comment " .endif .if ${PORT_OPTIONS:MSOFT} ALL_TARGET+= ref_soft PLIST_SUB+= SOFT="" .else PLIST_SUB+= SOFT="@comment " .endif .if ${PORT_OPTIONS:MUI} ALL_TARGET+= ui PLIST_SUB+= UI="" .else PLIST_SUB+= UI="@comment " .endif .if ${PORT_OPTIONS:MASM} MAKE_ENV+= USE_X86_ASM=yes .endif post-patch: @${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ -e '/png_set_gray_1_2_4_to_8/s|png_set|&_expand|' \ ${WRKSRC}/ref_shared/r_images.c @${REINPLACE_CMD} -E 's|[[:digit:]]+|${SVN_REV}|' \ ${WRKSRC}/include/version.h # Fix the build with -fno-common (for Clang 11 and GCC 10) @${REINPLACE_CMD} -e '/^unsigned[[:blank:]]*d_8to24table/,+1d' \ ${WRKSRC}/ref_soft/sw_main.c @${REINPLACE_CMD} -e '/\*cl_paused/,+1d' \ ${WRKSRC}/source/cl_null.c do-install: @${MKDIR} ${STAGEDIR}${LIBDIR}/baseq2 .if ${PORT_OPTIONS:MCLIENT} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/q2pro \ ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MDEDICATED} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/q2proded \ ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MGAME} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/game.so \ ${STAGEDIR}${LIBDIR}/baseq2 .endif .if ${PORT_OPTIONS:MGL} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/ref_newgl.so \ ${STAGEDIR}${LIBDIR} .endif .if ${PORT_OPTIONS:MSOFT} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/ref_soft.so \ ${STAGEDIR}${LIBDIR} .endif .if ${PORT_OPTIONS:MUI} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/ui.so \ ${STAGEDIR}${LIBDIR} .endif generate-distfile: @if [ -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ ${ECHO_CMD} "ERROR: the distfile already exists."; \ ${FALSE}; \ fi svn export -r${SVN_REV} \ https://svn.sourceforge.net/svnroot/q2pro/q2pro q2pro ${TAR} jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} q2pro ${RM} -r q2pro .include "${.CURDIR}/../quake2-data/Makefile.include" .include diff --git a/games/q3cellshading/Makefile b/games/q3cellshading/Makefile index 88eca4a7ba0c..0f76fb565ad9 100644 --- a/games/q3cellshading/Makefile +++ b/games/q3cellshading/Makefile @@ -1,114 +1,114 @@ # Created by: Alejandro Pulver PORTNAME= q3cellshading PORTVERSION= 1.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= SF DISTNAME= q3cel-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= Quake III engine with Cell Shading capabilities ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= does not run properly; try games/ioquake3 with option BROKEN_FreeBSD_13= ld: error: duplicate symbol: re BROKEN_FreeBSD_14= ld: error: duplicate symbol: re USES= compiler dos2unix gmake zip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} BUILD_WRKSRC= ${WRKSRC}/code/unix MAKE_JOBS_UNSAFE= yes LIBDIR= ${PREFIX}/lib/${PORTNAME} MAKE_ENV= LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S/${PREFIX}\///}" VM_ARCHS= i386 powerpc OPTIONS_DEFINE= GAMELIBS OPTIMIZED_CFLAGS OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT DEDICATED SMP_CLIENT OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS SMP_CLIENT OPTIONS_SUB= yes CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server GAMELIBS_DESC= Force building game libraries SMP_CLIENT_DESC= Build SMP (threaded) client .include .if ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm .endif .for arch in ${ARCH} . if ${VM_ARCHS:M${arch}} != "" HAVE_VM_COMPILED= yes . endif .endfor .if !defined(HAVE_VM_COMPILED) MAKE_ENV+= DLL_ONLY=true .endif .if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP_CLIENT} USES+= gl xorg USE_GL= glu USE_XORG= xxf86dga xxf86vm .endif .if ${PORT_OPTIONS:MCLIENT} MAKE_ENV+= CLIENT=YES Q3BIN+= quake3 .endif .if ${PORT_OPTIONS:MDEDICATED} MAKE_ENV+= DEDICATED=YES Q3BIN+= q3ded .endif .if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED) MAKE_ENV+= GAMELIBS=YES .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MAKE_ENV+= OPTIMIZED_CFLAGS=YES .endif .if ${PORT_OPTIONS:MSMP_CLIENT} MAKE_ENV+= SMP=YES Q3BIN+= quake3-smp .endif .include post-patch: @${REINPLACE_CMD} -e 's|botlib\.log|/dev/null|' \ ${WRKSRC}/code/botlib/be_interface.c @${REINPLACE_CMD} -e \ 's|//[[:blank:]]*\(Swap_Init[[:blank:]]*();\)|\1|' \ ${WRKSRC}/code/botlib/be_interface.c \ ${WRKSRC}/code/renderer/tr_init.c .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -E 's,-falign-(jumps|loops)=2,,g; s|-O6||' \ ${WRKSRC}/code/unix/Makefile .endif do-install: .for bin in ${Q3BIN} # Adjust program names to avoid conflicts with other Quake3 ports ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/${bin} \ ${STAGEDIR}${PREFIX}/bin/${bin:C/(quake3|q3)/\1cel/} .endfor .if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED) .for dir in baseq3 missionpack @${MKDIR} ${STAGEDIR}${LIBDIR}/${dir} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/${dir}/*.so \ ${STAGEDIR}${LIBDIR}/${dir} .endfor .endif .include "${.CURDIR}/../quake3-data/Makefile.include" .include diff --git a/games/quadrapassel/Makefile b/games/quadrapassel/Makefile index 01556f90473f..265037d50136 100644 --- a/games/quadrapassel/Makefile +++ b/games/quadrapassel/Makefile @@ -1,38 +1,38 @@ # Created by: FreeBSD GNOME Team PORTNAME= quadrapassel PORTVERSION= 3.22.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome quadrapassel LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= vala:lang/vala \ itstool:textproc/itstool \ appstream-util:devel/appstream-glib LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcogl.so:graphics/cogl \ libjson-glib-1.0.so:devel/json-glib PORTSCOUT= limitw:1,even USES= gettext gl gmake gnome localbase pathfix \ pkgconfig tar:xz xorg USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build INSTALLS_ICONS= yes USE_GL= gl egl USE_XORG= x11 xcomposite xext xdamage xfixes xi xrandr GNU_CONFIGURE= yes GLIB_SCHEMAS= org.gnome.quadrapassel.gschema.xml .include diff --git a/games/quake2lnx/Makefile b/games/quake2lnx/Makefile index 5def3e049e07..6de1caaf6e9e 100644 --- a/games/quake2lnx/Makefile +++ b/games/quake2lnx/Makefile @@ -1,251 +1,251 @@ # Created by: Alexey Dokuchaev PORTNAME= quake2lnx PORTVERSION= 0.16.2 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= games MASTER_SITES= http://offload1.icculus.org/quake2/files/ DISTNAME= quake2-r${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= danfe@FreeBSD.org COMMENT= Icculus.org version of the original Quake II LICENSE= GPLv2 USES= gmake ALL_TARGET= build_release LIBDIR= ${PREFIX}/lib/${PORTNAME} PLIST_SUB+= LIBDIR="${LIBDIR:S|${PREFIX}/||}" OPTIONS_DEFINE= X11 GLX EYECANDY SOFTSDL SDLGL SDLCLIENT AA CLIENT \ SERVER GAME CTF RETEXTURE JOYSTICK REDBLUE IPV6 \ OPTIMIZED_CFLAGS DOCS OPTIONS_DEFAULT= X11 GLX CLIENT SERVER OPTIONS_DEFINE_i386= SVGA ASM OPTIONS_DEFAULT_i386= ASM X11_DESC= Build X11 (software) renderer GLX_DESC= Build OpenGL (GLX) renderer EYECANDY_DESC= Build client with fancier GL graphics SOFTSDL_DESC= Build software SDL renderer SDLGL_DESC= Build SDL OpenGL renderer SDLCLIENT_DESC= Build SDL client SVGA_DESC= Build SVGA renderer AA_DESC= Build ASCII graphics renderer CLIENT_DESC= Build original client SERVER_DESC= Build dedicated server GAME_DESC= Build main game (default mod) CTF_DESC= Build Capture The Flag mod RETEXTURE_DESC= Retextured graphics support JOYSTICK_DESC= Joystick support REDBLUE_DESC= Enable 3D glasses rendering .include ### # ## CLIENTS AND RENDERERS ## # ### .if ${PORT_OPTIONS:MX11} USES+= xorg USE_XORG= x11 xext xxf86dga xxf86vm MAKE_ARGS+= BUILD_X11=YES REF_TARGETS+= softx PLIST_SUB+= X11="" .else PLIST_SUB+= X11="@comment " .endif .if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MEYECANDY} USES+= gl xorg USE_GL= gl USE_XORG= x11 xext xxf86dga xxf86vm MAKE_ARGS+= BUILD_GLX=YES REF_TARGETS+= glx PLIST_SUB+= GLX="" .else PLIST_SUB+= GLX="@comment " .endif .if ${PORT_OPTIONS:MEYECANDY} DISTFILES+= maxpak.pak USES+= gl jpeg USE_GL= glu MAKE_ARGS+= BUILD_QMAX=YES PLIST_SUB+= QMAX="" .else PLIST_SUB+= QMAX="@comment " .endif .if ${PORT_OPTIONS:MSOFTSDL} USES+= sdl USE_SDL= sdl MAKE_ARGS+= BUILD_SDL=YES REF_TARGETS+= softsdl PLIST_SUB+= SOFTSDL="" .else PLIST_SUB+= SOFTSDL="@comment " .endif .if ${PORT_OPTIONS:MSDLGL} USES+= sdl USE_SDL= sdl MAKE_ARGS+= BUILD_SDLGL=YES REF_TARGETS+= sdlgl PLIST_SUB+= SDLGL="" .else PLIST_SUB+= SDLGL="@comment " .endif .if ${PORT_OPTIONS:MSDLCLIENT} USES+= sdl USE_SDL= sdl MAKE_ARGS+= BUILD_SDLQUAKE2=YES EXE_TARGETS+= quake2-sdl PLIST_SUB+= SDLCLIENT="" .else PLIST_SUB+= SDLCLIENT="@comment " .endif .if ${PORT_OPTIONS:MSVGA} LIB_DEPENDS+= libvga.so:graphics/svgalib MAKE_ARGS+= BUILD_SVGA=YES REF_TARGETS+= soft PLIST_SUB+= SVGA="" .else PLIST_SUB+= SVGA="@comment " .endif .if ${PORT_OPTIONS:MAA} LIB_DEPENDS+= libaa.so:graphics/aalib MAKE_ARGS+= BUILD_AA=YES REF_TARGETS+= softaa PLIST_SUB+= AA="" .else PLIST_SUB+= AA="@comment " .endif .if ${PORT_OPTIONS:MCLIENT} MAKE_ARGS+= BUILD_CLIENT=YES EXE_TARGETS+= quake2 PLIST_SUB+= CLIENT="" .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MSERVER} MAKE_ARGS+= BUILD_DEDICATED=YES PLIST_SUB+= SERVER="" EXE_TARGETS+= q2ded .else PLIST_SUB+= SERVER="@comment " .endif ### # ## GAME, MISSION ADDONS, AND MODS ## # ### .if ${PORT_OPTIONS:MGAME} MAKE_ARGS+= BUILD_GAME=YES PLIST_SUB+= GAME="" .else PLIST_SUB+= GAME="@comment " .endif .if ${PORT_OPTIONS:MCTF} MAKE_ARGS+= BUILD_CTFDLL=YES PLIST_SUB+= CTF="" .else PLIST_SUB+= CTF="@comment " .endif ### # ## MISCELLANEOUS TUNABLES ## # ### .if ${PORT_OPTIONS:MRETEXTURE} MAKE_ARGS+= BUILD_RETEXTURE=YES RUN_DEPENDS+= ${Q2DIR}/baseq2/pak10.pak:games/quake2-extras .endif .if ${PORT_OPTIONS:MJOYSTICK} MAKE_ARGS+= BUILD_JOYSTICK=YES .endif .if ${PORT_OPTIONS:MREDBLUE} MAKE_ARGS+= BUILD_REDBLUE=YES .endif .if ${PORT_OPTIONS:MIPV6} MAKE_ARGS+= HAVE_IPV6=YES .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MAKE_ARGS+= OPTIMIZED_CFLAGS="-O3 -ffast-math -funroll-loops -fomit-frame-pointer" .endif .if ! ${PORT_OPTIONS:MASM} MAKE_ARGS+= NO_X86_ASM=YES .endif ### # ## END OF CONFIGURATION KNOBS ## # ### post-patch: .SILENT ${REINPLACE_CMD} -e 's|%%DATADIR%%|${Q2DIR}| ; \ s|%%LIBDIR%%|${LIBDIR}|' ${WRKSRC}/src/qcommon/files.c \ ${WRKSRC}/src/linux/vid_so.c ${REINPLACE_CMD} -e 's|dllname, RTLD_LAZY|& \| RTLD_GLOBAL|' \ ${WRKSRC}/src/linux/qgl_linux.c ${REINPLACE_CMD} -e 's|/js|/joy|' ${WRKSRC}/src/linux/joystick.c ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_&|' \ ${WRKSRC}/src/ref_candygl/gl_image.c ${REINPLACE_CMD} -e '/BUILDSTRING/s|Linux|${OPSYS}|' \ -e '/CPUSTRING/s|Unknown|${ARCH}|' \ ${WRKSRC}/src/qcommon/qcommon.h .if ${PORT_OPTIONS:MASM} ${REINPLACE_CMD} -e '/^SHLIBLDFLAGS/s|$$| -Wl,-z,notext|' \ ${WRKSRC}/Makefile .endif do-install: .for tgt in ${EXE_TARGETS} ${INSTALL_PROGRAM} ${WRKSRC}/release/${tgt} ${STAGEDIR}${PREFIX}/bin .endfor @${MKDIR} ${STAGEDIR}${LIBDIR}/baseq2 .for tgt in ${REF_TARGETS} ${INSTALL_PROGRAM} ${WRKSRC}/release/ref_${tgt}.so \ ${STAGEDIR}${LIBDIR} .endfor .if ${PORT_OPTIONS:MCTF} @${MKDIR} ${STAGEDIR}${LIBDIR}/ctf ${INSTALL_PROGRAM} ${WRKSRC}/release/ctf/game.so \ ${STAGEDIR}${LIBDIR}/ctf .endif .if ${PORT_OPTIONS:MEYECANDY} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/maxpak.pak \ ${STAGEDIR}${LIBDIR}/baseq2 .endif .if ${PORT_OPTIONS:MGAME} ${INSTALL_PROGRAM} ${WRKSRC}/release/game.so \ ${STAGEDIR}${LIBDIR}/baseq2 .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/src/docs/3.*_Changes.txt \ ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/src/docs/README \ ${STAGEDIR}${DOCSDIR}/README.320 ${INSTALL_DATA} ${WRKSRC}/src/docs/changes.txt \ ${WRKSRC}/src/docs/joystick.txt \ ${WRKSRC}/src/docs/readme.txt ${STAGEDIR}${DOCSDIR} .include "${.CURDIR}/../quake2-data/Makefile.include" .include diff --git a/games/quake2max/Makefile b/games/quake2max/Makefile index 897e99fb1f44..cbf9322d5f86 100644 --- a/games/quake2max/Makefile +++ b/games/quake2max/Makefile @@ -1,133 +1,133 @@ # Created by: Alejandro Pulver PORTNAME= quake2max PORTVERSION= 0.45 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= games MASTER_SITES= http://freebsd.nsu.ru/distfiles/ LOCAL/danfe DISTNAME= Quake2maX_${PORTVERSION}-src_unix DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${Q2MAX_DATA} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= danfe@FreeBSD.org COMMENT= OpenGL-only Quake II engine modification LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/gnu.txt EXTRACT_DEPENDS= unrar:archivers/unrar USES= gmake tar:bzip2 xorg USE_XORG= x11 xext xxf86vm xxf86dga ALL_TARGET= release WRKSRC= ${WRKDIR}/${DISTNAME:S/quake2max/Quake2maX/} LIBDIR= ${PREFIX}/lib/${PORTNAME} MAKE_ENV= LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S/${PREFIX}\///}" Q2MAX_DATA= ${PORTNAME}.044.rar OPTIONS_DEFINE= CLIENT DEDICATED GAME GLX OPTIMIZED_CFLAGS SDLCLIENT SDLGL OPTIONS_DEFAULT= CLIENT DEDICATED GLX OPTIMIZED_CFLAGS SDLCLIENT SDLGL CLIENT_DESC= Build original client DEDICATED_DESC= Build dedicated server GAME_DESC= Build main game (default mod) GLX_DESC= Build OpenGL renderer SDLCLIENT_DESC= Build SDL client SDLGL_DESC= Build SDL OpenGL renderer .include .if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDLGL} LIB_DEPENDS= libpng.so:graphics/png USES+= gl jpeg USE_GL= glu .endif .if ${PORT_OPTIONS:MSDLCLIENT} || ${PORT_OPTIONS:MSDLGL} USES+= sdl USE_SDL= sdl .endif .if ${PORT_OPTIONS:MCLIENT} MAKE_ENV+= BUILD_QUAKE2MAX=YES PLIST_SUB+= CLIENT="" Q2MAX_BIN+= quake2max .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} MAKE_ENV+= BUILD_DEDICATED=YES PLIST_SUB+= DEDICATED="" Q2MAX_BIN+= quake2max-ded .else PLIST_SUB+= DEDICATED="@comment " .endif .if ${PORT_OPTIONS:MGAME} MAKE_ENV+= BUILD_GAME=YES PLIST_SUB+= GAME="" .else PLIST_SUB+= GAME="@comment " .endif .if ${PORT_OPTIONS:MGLX} MAKE_ENV+= BUILD_GLX=YES PLIST_SUB+= GLX="" Q2MAX_REF+= glx .else PLIST_SUB+= GLX="@comment " .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MAKE_ENV+= WITH_OPTIMIZED_CFLAGS=YES .endif .if ${PORT_OPTIONS:MSDLCLIENT} MAKE_ENV+= BUILD_QUAKE2MAX-SDL=YES PLIST_SUB+= SDLCLIENT="" Q2MAX_BIN+= quake2max-sdl .else PLIST_SUB+= SDLCLIENT="@comment " .endif .if ${PORT_OPTIONS:MSDLGL} MAKE_ENV+= BUILD_SDLGL=YES PLIST_SUB+= SDLGL="" Q2MAX_REF+= sdlgl .else PLIST_SUB+= SDLGL="@comment " .endif post-extract: @cd ${WRKSRC} && unrar e -idq ${DISTDIR}/${Q2MAX_DATA} \ baseq2/_maxpak.pak post-patch: # Resolve name collision with jpeg-8 @${REINPLACE_CMD} -e 's|jpeg_mem_src|local_&|' \ ${WRKSRC}/ref_gl/gl_image.c # Pacify Clang (non-void function should return a value) @${REINPLACE_CMD} -e '900s|return|& false|' \ ${WRKSRC}/client/qmenu.c do-install: @${MKDIR} ${STAGEDIR}${LIBDIR}/baseq2 .for f in ${Q2MAX_BIN} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/${f} ${STAGEDIR}${PREFIX}/bin .endfor .for f in ${Q2MAX_REF} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/rfx_${f}.so ${STAGEDIR}${LIBDIR} .endfor .if ${PORT_OPTIONS:MGAME} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/baseq2/game.so \ ${STAGEDIR}${LIBDIR}/baseq2 .endif ${INSTALL_DATA} ${WRKSRC}/_maxpak.pak \ ${STAGEDIR}${LIBDIR}/baseq2/maxpak.pak .include "${.CURDIR}/../quake2-data/Makefile.include" .include diff --git a/games/quake3/Makefile b/games/quake3/Makefile index 7dc581c96f0f..c2ccb6027b37 100644 --- a/games/quake3/Makefile +++ b/games/quake3/Makefile @@ -1,120 +1,120 @@ # Created by: pypt PORTNAME= quake3 PORTVERSION= 1.32c -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= ftp://mancubus.net/pub/idgames/idstuff/source/ \ http://ftp.mancubus.net/pub/idgames/idstuff/source/ \ http://www.gamers.org/pub/idgames/idstuff/source/ \ IDSOFTWARE/source/ DISTNAME= ${PORTNAME}-${REALVERSION}-source MAINTAINER= shirshegsm@gmail.com COMMENT= Quake III Arena -- first person shooter (native build) BROKEN_FreeBSD_13= ld: error: duplicate symbol: re BROKEN_FreeBSD_14= ld: error: duplicate symbol: re USES= dos2unix gmake zip ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= does not run properly; try games/ioquake3 WRKSRC= ${WRKDIR}/${PORTNAME}-${REALVERSION} BUILD_WRKSRC= ${WRKSRC}/code/unix MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= GAMELIBS OPTIMIZED_CFLAGS OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT DEDICATED THREADS FLAVOR_DESC= Executable Selection CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server GAMELIBS_DESC= Build game libraries (when not mandatory) OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS THREADS MAKE_ENV= LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S/${PREFIX}\///}" LIBDIR= ${PREFIX}/lib/${PORTNAME} REALVERSION= 1.32b VM_ARCHS= i386 powerpc .include .if ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm .endif .for i in ${ARCH} . if ${VM_ARCHS:M${i}} != "" HAVE_VM_COMPILED= yes . endif .endfor .if !defined(HAVE_VM_COMPILED) MAKE_ENV+= DLL_ONLY=true .endif .if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MTHREADS} USES+= gl xorg USE_GL= glu USE_XORG= xxf86dga xxf86vm .endif .if ${PORT_OPTIONS:MCLIENT} MAKE_ENV+= CLIENT=YES PLIST_SUB+= CLIENT="" Q3BIN+= quake3 .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} MAKE_ENV+= DEDICATED=YES PLIST_SUB+= DEDICATED="" Q3BIN+= q3ded .else PLIST_SUB+= DEDICATED="@comment " .endif .if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED) MAKE_ENV+= GAMELIBS=YES PLIST_SUB+= GAMELIBS="" .else PLIST_SUB+= GAMELIBS="@comment " .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MAKE_ENV+= OPTIMIZED_CFLAGS=YES .endif .if ${PORT_OPTIONS:MTHREADS} MAKE_ENV+= SMP=YES PLIST_SUB+= SMP="" Q3BIN+= quake3-smp .else PLIST_SUB+= SMP="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|botlib\.log|/dev/null|' \ ${WRKSRC}/code/botlib/be_interface.c @${REINPLACE_CMD} -e \ 's|//[[:blank:]]*\(Swap_Init[[:blank:]]*();\)|\1|' \ ${WRKSRC}/code/botlib/be_interface.c \ ${WRKSRC}/code/renderer/tr_init.c do-install: .for bin in ${Q3BIN} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/${bin} ${STAGEDIR}${PREFIX}/bin .endfor .if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED) .for dir in baseq3 missionpack ${MKDIR} ${STAGEDIR}${LIBDIR}/${dir} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/${dir}/*.so ${STAGEDIR}${LIBDIR}/${dir} .endfor .endif .include "${.CURDIR}/../quake3-data/Makefile.include" .include diff --git a/games/qudos/Makefile b/games/qudos/Makefile index 0dcc1b63ea01..3897d5ef7ad1 100644 --- a/games/qudos/Makefile +++ b/games/qudos/Makefile @@ -1,214 +1,214 @@ # Created by: Alejandro Pulver PORTNAME= qudos PORTVERSION= 0.40.1 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= games MASTER_SITES= http://freebsd.nsu.ru/distfiles/ LOCAL/danfe DISTNAME= QuDos-${PORTVERSION}-src DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ QuDos-${PORTVERSION}.pk3 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= danfe@FreeBSD.org COMMENT= Enhanced OpenGL-only Quake II engine USES= gmake tar:bzip2 MAKE_ENV= WITH_DATADIR=YES WITH_LIBDIR=YES WITH_XMMS=NO \ DATADIR="${Q2DIR}" LIBDIR="${LIBDIR}" BUILD_ARTS_SND=NO PLIST_SUB= LIBDIR="${LIBDIR:S,${PREFIX}/,,}" VER="${PORTVERSION}" LIBDIR= ${PREFIX}/lib/${PORTNAME} MOD_LIST= 3ZB2 CTF JABOT ROGUE XATRIX ZAERO OPTIONS_DEFINE= 3ZB2 BOTS CLIENT CTF DEDICATED GAME GAME_MOD \ GLX IPV6 JABOT JOYSTICK OSS QMAX REDBLUE RETEXTURE \ ROGUE SDL SDLGL XATRIX ZAERO DOCS OPTIONS_DEFINE_i386= ASM OPTIONS_DEFINE_amd64= ASM OPTIONS_DEFAULT_i386= ASM OPTIONS_DEFAULT_amd64= ASM OPTIONS_DEFAULT= 3ZB2 BOTS CLIENT DEDICATED GAME_MOD GLX JOYSTICK OSS \ QMAX SDL SDLGL 3ZB2_DESC= Build 3zb2 mod (bots) BOTS_DESC= Ace Bot support in mods CLIENT_DESC= Build client CTF_DESC= Build CTF (Capture The Flag) mod DEDICATED_DESC= Build dedicated server GAME_DESC= Build main game (default mod) GAME_MOD_DESC= Add custom add-ons to the main game JABOT_DESC= Build JABot mod (bots) JOYSTICK_DESC= Joystick support QMAX_DESC= Enable fancier OpenGL graphics REDBLUE_DESC= Enable red-blue 3D glasses renderer RETEXTURE_DESC= Retextured graphics support ROGUE_DESC= Build Ground Zero (Rogue) mission pack SDLGL_DESC= Build SDL OpenGL renderer XATRIX_DESC= Build The Reckoning (Xatrix) mission pack ZAERO_DESC= Build Zaero mission pack .include .for mod in ${MOD_LIST} . if ${PORT_OPTIONS:M${mod}} MAKE_ENV+= BUILD_${mod}=YES PLIST_SUB+= ${mod}="" . else MAKE_ENV+= BUILD_${mod}=NO PLIST_SUB+= ${mod}="@comment " . endif .endfor .if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDLGL} USES+= gl jpeg xorg USE_GL= glu USE_XORG= xxf86vm LIB_DEPENDS+= libpng.so:graphics/png .endif .if ${PORT_OPTIONS:MSDL} || ${PORT_OPTIONS:MSDLGL} USES+= sdl USE_SDL= sdl .endif .if ${PORT_OPTIONS:MCLIENT} LIB_DEPENDS+= libvorbis.so:audio/libvorbis MAKE_ENV+= BUILD_QUAKE2=YES PLIST_SUB+= CLIENT="" Q2BIN+= ${PORTNAME} .else MAKE_ENV+= BUILD_QUAKE2=NO PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} MAKE_ENV+= BUILD_DEDICATED=YES PLIST_SUB+= DEDICATED="" Q2BIN+= ${PORTNAME}-ded .else MAKE_ENV+= BUILD_DEDICATED=NO PLIST_SUB+= DEDICATED="@comment " .endif .if ${PORT_OPTIONS:MGAME} MAKE_ENV+= BUILD_GAME=YES PLIST_SUB+= GAME="" .else MAKE_ENV+= BUILD_GAME=NO PLIST_SUB+= GAME="@comment " .endif .if ${PORT_OPTIONS:MGAME_MOD} MAKE_ENV+= WITH_GAME_MOD=YES .else MAKE_ENV+= WITH_GAME_MOD=NO .endif .for opt in GLX SDLGL . if ${PORT_OPTIONS:M${opt}} MAKE_ENV+= BUILD_${opt}=YES PLIST_SUB+= ${opt}="" Q2REF+= ${opt:tl} . else MAKE_ENV+= BUILD_${opt}=NO PLIST_SUB+= ${opt}="@comment " . endif .endfor .if ${PORT_OPTIONS:MIPV6} MAKE_ENV+= WITH_IPV6=YES .else MAKE_ENV+= WITH_IPV6=NO .endif .if ${PORT_OPTIONS:MJOYSTICK} MAKE_ENV+= WITH_JOYSTICK=YES .else MAKE_ENV+= WITH_JOYSTICK=NO .endif .if ${PORT_OPTIONS:MOSS} MAKE_ENV+= BUILD_OSS_SND=YES PLIST_SUB+= OSS="" Q2SND+= oss .else MAKE_ENV+= BUILD_OSS_SND=NO PLIST_SUB+= OSS="@comment " .endif .if ${PORT_OPTIONS:MQMAX} MAKE_ENV+= WITH_QMAX=YES .else MAKE_ENV+= WITH_QMAX=NO .endif .if ${PORT_OPTIONS:MREDBLUE} MAKE_ENV+= WITH_REDBLUE=YES .else MAKE_ENV+= WITH_REDBLUE=NO .endif .if ${PORT_OPTIONS:MRETEXTURE} MAKE_ENV+= WITH_RETEXTURE=YES .else MAKE_ENV+= WITH_RETEXTURE=NO .endif .if ${PORT_OPTIONS:MSDL} MAKE_ENV+= BUILD_SDL_SND=YES PLIST_SUB+= SDL="" Q2SND+= sdl .else MAKE_ENV+= BUILD_SDL_SND=NO PLIST_SUB+= SDL="@comment " .endif .if ${PORT_OPTIONS:MASM} MAKE_ENV+= WITH_X86_ASM=YES .else MAKE_ENV+= WITH_X86_ASM=NO .endif post-patch: # Resolve name collision with jpeg-8 @${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ ${WRKSRC}/src/ref_gl/gl_image.c post-build: .for bin in ${Q2BIN} @cd ${WRKSRC}/quake2 && ${MV} ${bin:S/qudos/QuDos/} ${bin} .endfor do-install: .for bin in ${Q2BIN} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/${bin} ${STAGEDIR}${PREFIX}/bin .endfor @${MKDIR} ${STAGEDIR}${LIBDIR}/baseq2 .for ref in ${Q2REF} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/ref_q2${ref}.so \ ${STAGEDIR}${LIBDIR} .endfor .for snd in ${Q2SND} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/snd_${snd}.so ${STAGEDIR}${LIBDIR} .endfor .if ${PORT_OPTIONS:MGAME} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/baseq2/game.so \ ${STAGEDIR}${LIBDIR}/baseq2 .endif .for mod in ${MOD_LIST:tl} .if ${PORT_OPTIONS:M${mod:tu}} @${MKDIR} ${STAGEDIR}${LIBDIR}/${mod} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/${mod}/game.so \ ${STAGEDIR}${LIBDIR}/${mod} .endif .endfor ${INSTALL_DATA} ${_DISTDIR}/QuDos-${PORTVERSION}.pk3 \ ${STAGEDIR}${LIBDIR}/baseq2 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/QuDos.txt \ ${WRKSRC}/docs/Ogg_readme.txt ${STAGEDIR}${DOCSDIR} .include "${.CURDIR}/../quake2-data/Makefile.include" .include diff --git a/games/quetoo/Makefile b/games/quetoo/Makefile index e896ef3351d4..125155336f72 100644 --- a/games/quetoo/Makefile +++ b/games/quetoo/Makefile @@ -1,122 +1,122 @@ # Created by: Alexey Dokuchaev PORTNAME= quetoo PORTVERSION= 0.6.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MASTER_SITES= http://tastyspleen.net/~jdolan/ \ http://freebsd.nsu.ru/distfiles/ MAINTAINER= danfe@FreeBSD.org COMMENT= Fast, stable, compatible, and secure Quake II client LICENSE= GPLv2 USES= dos2unix gl sdl tar:bzip2 USE_GL= glut USE_SDL= sdl DOS2UNIX_FILES= src/vanctf/g_local.h GNU_CONFIGURE= yes CONFIGURE_ENV= OPENGL_CFLAGS="-I${LOCALBASE}/include" \ OPENGL_LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib LIBDIR= ${PREFIX}/lib/${PORTNAME} PLIST_SUB+= LIBDIR="${LIBDIR:S/${PREFIX}\///}" OPTIONS_DEFINE= GAME CTF VANCTF QMASS MYSQL DOCS # Main and CTF game.so files are not built/installed by default since # they're available via `quake2-data' and `quake2-ctf' ports. OPTIONS_DEFAULT= VANCTF QMASS GAME_DESC= Build main game (default mod) CTF_DESC= Build Capture The Flag mod VANCTF_DESC= Build Vanilla CTF mod QMASS_DESC= Build QMass deathmatch mod MYSQL_DESC= Enable frag logging with MySQL .include .if ${PORT_OPTIONS:MGAME} PLIST_SUB+= GAME="" Q2GAMES+= baseq2 .else PLIST_SUB+= GAME="@comment " .endif .if ${PORT_OPTIONS:MCTF} PLIST_SUB+= CTF="" Q2GAMES+= ctf .else PLIST_SUB+= CTF="@comment " .endif .if ${PORT_OPTIONS:MQMASS} PLIST_SUB+= QMASS="" Q2GAMES+= qmass .else PLIST_SUB+= QMASS="@comment " .endif .if ${PORT_OPTIONS:MVANCTF} PLIST_SUB+= VANCTF="" Q2GAMES+= vanctf .else PLIST_SUB+= VANCTF="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} USES+= mysql CONFIGURE_ARGS+= --with-mysql CONFIGURE_ENV+= MYSQL_LIBS="-L${LOCALBASE}/lib/mysql -lmysqlclient" \ MYSQL_CFLAGS="-I${LOCALBASE}/include" .else CONFIGURE_ARGS+= --without-mysql .endif CONFIGURE_ARGS+= --with-games='${Q2GAMES}' .if ${ARCH} == "sparc64" BROKEN= Does not compile on sparc64 .endif post-patch: .SILENT ${REINPLACE_CMD} -E 's,^(eval PKGDATADIR=).*$$,\1"${Q2DIR}", ; \ 19752s,sdl-config,${SDL_CONFIG}, ; \ s,^(GAME_MODULES=")baseq2",\1", ; \ s,-Werror,,' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's,-ldl,,' ${WRKSRC}/src/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/quetoo ${STAGEDIR}${PREFIX}/bin .for g in ${Q2GAMES} @${MKDIR} ${STAGEDIR}${LIBDIR}/${g} ${INSTALL_PROGRAM} ${WRKSRC}/src/${g}/.libs/game.so \ ${STAGEDIR}${LIBDIR}/${g} .endfor .if ${PORT_OPTIONS:MQMASS} @${MKDIR} ${STAGEDIR}${DATADIR}/qmass/sound ${INSTALL_DATA} ${WRKSRC}/data/qmass/sound/*.wav \ ${STAGEDIR}${DATADIR}/qmass/sound .endif .if ${PORT_OPTIONS:MVANCTF} @${MKDIR} ${STAGEDIR}${DATADIR}/vanctf/maps ${INSTALL_DATA} ${WRKSRC}/data/vanctf/maps/*.ent \ ${STAGEDIR}${DATADIR}/vanctf/maps ${INSTALL_DATA} ${WRKSRC}/data/vanctf/maps.lst \ ${STAGEDIR}${DATADIR}/vanctf .endif .if ${PORT_OPTIONS:MQMASS} @${MKDIR} ${STAGEDIR}${DOCSDIR}/qmass ${INSTALL_DATA} ${WRKSRC}/src/qmass/README ${STAGEDIR}${DOCSDIR}/qmass .endif .if ${PORT_OPTIONS:MVANCTF} @${MKDIR} ${STAGEDIR}${DOCSDIR}/vanctf ${INSTALL_DATA} ${WRKSRC}/src/vanctf/*E* ${STAGEDIR}${DOCSDIR}/vanctf .endif ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include "${.CURDIR}/../quake2-data/Makefile.include" .include diff --git a/games/r1q2/Makefile b/games/r1q2/Makefile index c54447d66eee..b1f795e7e2d4 100644 --- a/games/r1q2/Makefile +++ b/games/r1q2/Makefile @@ -1,101 +1,101 @@ # Created by: Alejandro Pulver PORTNAME= r1q2 PORTVERSION= 8012 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= http://freebsd.nsu.ru/distfiles/ LOCAL/danfe \ http://old.r1ch.net/stuff/r1q2/src/ DISTNAME= ${PORTNAME}-b${PORTVERSION}-src MAINTAINER= danfe@FreeBSD.org COMMENT= Enhanced Quake II client/server focusing on stability ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= sets the FPU rounding mode and precision (not available in fenv.h) USES= dos2unix gmake zip NO_WRKSUBDIR= yes BUILD_WRKSRC= ${WRKSRC}/binaries ALL_TARGET= # LIBDIR= ${PREFIX}/lib/${PORTNAME} MAKE_ENV= LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S|${PREFIX}/||}" OPTIONS_DEFINE= GAME REF_GL DOCS OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT DEDICATED OPTIONS_DEFAULT= CLIENT DEDICATED REF_GL FLAVOR_DESC= Clients and servers CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server GAME_DESC= Build main game (default mod) REF_GL_DESC= Build renderer (required for client) .include .if ${PORT_OPTIONS:MCLIENT} ALL_TARGET+= client PLIST_SUB+= CLIENT="" .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} ALL_TARGET+= r1q2ded PLIST_SUB+= DEDICATED="" .else PLIST_SUB+= DEDICATED="@comment " .endif .if ${PORT_OPTIONS:MGAME} ALL_TARGET+= game PLIST_SUB+= GAME="" .else PLIST_SUB+= GAME="@comment " .endif .if ${PORT_OPTIONS:MREF_GL} USES+= gl jpeg sdl USE_GL= gl USE_SDL= sdl LIB_DEPENDS+= libpng.so:graphics/png ALL_TARGET+= ref_gl PLIST_SUB+= REF_GL="" .else PLIST_SUB+= REF_GL="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|game$$(ARCH)|game|g' \ ${BUILD_WRKSRC}/game/Makefile pre-build: @${FIND} ${BUILD_WRKSRC} -type d -depth 1 -exec ${MKDIR} {}/.depends \; do-install: .if ${PORT_OPTIONS:MCLIENT} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/client/quake2 \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .endif .if ${PORT_OPTIONS:MDEDICATED} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/r1q2ded/r1q2ded \ ${STAGEDIR}${PREFIX}/bin .endif @${MKDIR} ${STAGEDIR}${LIBDIR}/baseq2 .if ${PORT_OPTIONS:MGAME} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/game/game.so \ ${STAGEDIR}${LIBDIR}/baseq2 .endif .if ${PORT_OPTIONS:MREF_GL} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ref_gl/ref_gl.so \ ${STAGEDIR}${LIBDIR} .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/r1q2.txt ${WRKSRC}/readme.txt \ ${STAGEDIR}${DOCSDIR} .include "${.CURDIR}/../quake2-data/Makefile.include" .include diff --git a/games/rawgl/Makefile b/games/rawgl/Makefile index dbb90e120a55..064e5cb76b4f 100644 --- a/games/rawgl/Makefile +++ b/games/rawgl/Makefile @@ -1,50 +1,51 @@ # Created by: Piotr Kubaj PORTNAME= rawgl PORTVERSION= g20180321 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= pkubaj@FreeBSD.org COMMENT= Another World engine reimplementation LICENSE= NONE USE_GITHUB= yes GH_ACCOUNT= cyxx GH_TAGNAME= b6dd795 USES= gl sdl USE_GL= gl USE_SDL= mixer2 sdl2 ALL_TARGET= rawgl SUB_FILES= pkg-message rawgl SUB_LIST= DATADIR=${DATADIR} PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME} '@dir %%DATADIR%%' PORTDOCS= * DESKTOP_ENTRIES="raw(gl)" \ "" \ "" \ rawgl \ "Game;ActionGame;" \ "" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|MIX_INIT_FLUIDSYNTH|MIX_INIT_MID|' ${WRKSRC}/mixer.cpp do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/re3/Makefile b/games/re3/Makefile index d5948ccfcf22..605f6b925979 100644 --- a/games/re3/Makefile +++ b/games/re3/Makefile @@ -1,57 +1,58 @@ PORTNAME= re3 DISTVERSION= g20210219 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= pkubaj@FreeBSD.org COMMENT= Reverse-engineered GTA3 engine ONLY_FOR_ARCHS= aarch64 armv6 armv7 amd64 i386 BUILD_DEPENDS= premake5:devel/premake5 LIB_DEPENDS= libglfw.so:graphics/glfw \ libmpg123.so:audio/mpg123 \ libsndfile.so:audio/libsndfile \ libsysinfo.so:devel/libsysinfo USES= gl gmake openal shebangfix xorg SHEBANG_FILES= printHash.sh USE_GL= gl USE_GITHUB= nodefault GH_TUPLE= aap:librw:8b2caf8f:librw \ xiph:ogg:684c7377:ogg \ xiph:opus:6bae366f:opus \ xiph:opusfile:6452e838:opusfile USE_GITLAB= yes GL_SITE= https://git.rip GL_ACCOUNT= Obama GL_COMMIT= 9a7fa478578beaba947ea867c15a25e411d641d8 bash_CMD= /bin/sh USE_XORG= x11 # is required till https://git.rip got updated to a newer gitlab version WRKSRC= ${WRKDIR}/${GL_PROJECT}-${GL_COMMIT}-${GL_COMMIT} LDFLAGS_i386= -Wl,-znotext PLIST_FILES= bin/${PORTNAME} PORTDATA= * SUB_FILES= ${PORTNAME} post-extract: ${MV} ${WRKSRC_librw}/* ${WRKSRC}/vendor/librw ${MV} ${WRKSRC_ogg}/* ${WRKSRC}/vendor/ogg ${MV} ${WRKSRC_opus}/* ${WRKSRC}/vendor/opus ${MV} ${WRKSRC_opusfile}/* ${WRKSRC}/vendor/opusfile do-configure: cd ${WRKSRC} && premake5 --with-librw gmake2 do-build: cd ${WRKSRC}/build && ${MAKE_ENV} ${MAKE_CMD} config=release_bsd-${ARCH:S/i386/x86/:C/armv.*/arm/:S/aarch64/arm64/}-librw_gl3_glfw-oal do-install: ${INSTALL_SCRIPT} ${WRKDIR}/re3 ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/bin/bsd-${ARCH:S/i386/x86/:C/armv.*/arm/:S/aarch64/arm64/}-librw_gl3_glfw-oal/Release/re3 ${STAGEDIR}${DATADIR}/ (cd ${WRKSRC}/gamefiles && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/) .include diff --git a/games/redeclipse/Makefile b/games/redeclipse/Makefile index c11877ac048a..02b67160eede 100644 --- a/games/redeclipse/Makefile +++ b/games/redeclipse/Makefile @@ -1,76 +1,77 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= redeclipse PORTVERSION= 2.0.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Single-player and multi-player first-person ego-shooter LICENSE= MIT ZLIB LICENSE_COMB= multi CONFLICTS_INSTALL=redeclipse16-[0-9]* BROKEN_sparc64= does not build on sparc64 RUN_DEPENDS= redeclipse-data>=${PORTVERSION}:games/redeclipse-data USE_GITHUB= yes GH_PROJECT= base USES= gmake pkgconfig BUILD_WRKSRC= ${WRKSRC}/src SUB_FILES= ${PLIST_FILES:Mbin/*:T} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS=CLIENT DEDICATED OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS CLIENT_DESC= Build client CLIENT_USES= gl sdl xorg CLIENT_USE= GL=gl SDL=image2,mixer2,sdl2 XORG=x11 CLIENT_ALL_TARGET= client CLIENT_PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME} \ share/pixmaps/${PORTNAME}.ico CLIENT_DESKTOP_ENTRIES= "Red Eclipse" \ "" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}" \ "Game;Shooter;" \ "" DEDICATED_DESC= Build dedicated server DEDICATED_ALL_TARGET= server DEDICATED_PLIST_FILES= bin/${PORTNAME}_server libexec/${PORTNAME}_server OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer -ffast-math OPTIMIZED_CFLAGS_CXXFLAGS= -O3 -fomit-frame-pointer -ffast-math post-extract: @${RM} -rf ${WRKSRC}/src/include ${WRKSRC}/src/lib post-patch: @${REINPLACE_CMD} -e 's|CLIENT_PCH=.*|CLIENT_PCH=|' ${WRKSRC}/src/Makefile do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} config ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) do-install-CLIENT-on: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}_bsd ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DEDICATED-on: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_server ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}_server_bsd ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}_server .include diff --git a/games/redeclipse16/Makefile b/games/redeclipse16/Makefile index 9aa8f3d71e67..a2e4ba8226b9 100644 --- a/games/redeclipse16/Makefile +++ b/games/redeclipse16/Makefile @@ -1,78 +1,79 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= redeclipse PORTVERSION= 1.6.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= games PKGNAMESUFFIX= 16 MAINTAINER= amdmi3@FreeBSD.org COMMENT= Single-player and multi-player first-person ego-shooter LICENSE= MIT ZLIB LICENSE_COMB= multi CONFLICTS_INSTALL=redeclipse-[0-9]* BROKEN_sparc64= does not build on sparc64 RUN_DEPENDS= redeclipse-data16>=${PORTVERSION}:games/redeclipse-data16 USE_GITHUB= yes GH_ACCOUNT= red-eclipse GH_PROJECT= base USES= gmake BUILD_WRKSRC= ${WRKSRC}/src SUB_FILES= ${PLIST_FILES:Mbin/*:T} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS=CLIENT DEDICATED OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS CLIENT_DESC= Build client CLIENT_USES= gl sdl xorg CLIENT_USE= GL=gl SDL=image2,mixer2,sdl2 XORG=x11 CLIENT_ALL_TARGET= client CLIENT_PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME} \ share/pixmaps/${PORTNAME}.ico CLIENT_DESKTOP_ENTRIES= "Red Eclipse" \ "" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}" \ "Game;Shooter;" \ "" DEDICATED_DESC= Build dedicated server DEDICATED_ALL_TARGET= server DEDICATED_PLIST_FILES= bin/${PORTNAME}_server libexec/${PORTNAME}_server OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer -ffast-math OPTIMIZED_CFLAGS_CXXFLAGS= -O3 -fomit-frame-pointer -ffast-math post-extract: @${RM} -rf ${WRKSRC}/src/include ${WRKSRC}/src/lib post-patch: @${REINPLACE_CMD} -e 's|CLIENT_PCH=.*|CLIENT_PCH=|' ${WRKSRC}/src/Makefile do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} config ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) do-install-CLIENT-on: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}_bsd ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DEDICATED-on: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_server ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}_server_bsd ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}_server .include diff --git a/games/regoth/Makefile b/games/regoth/Makefile index 561cfb93aed0..cf0d27e7a07d 100644 --- a/games/regoth/Makefile +++ b/games/regoth/Makefile @@ -1,64 +1,64 @@ PORTNAME= regoth DISTVERSIONPREFIX= nightly- DISTVERSION= 0.4.189 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= greg@unrelenting.technology COMMENT= Reimplementation of zEngine, the Gothic and Gothic II engine LICENSE= GPLv3 BROKEN_FreeBSD_12_powerpc64= fails to build: /usr/include/math.h:251:8: error: conflicting declaration of C function 'double pow(double, double)' BROKEN_FreeBSD_13_powerpc64= fails to build: mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? BROKEN_riscv64= fails to build: mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? LIB_DEPENDS= libsndfile.so:audio/libsndfile USES= cmake compiler:c++11-lib gl openal xorg USE_GITHUB= yes GH_ACCOUNT= REGoth-project GH_PROJECT= REGoth GH_TUPLE= ataulien:bgfx-cmake:9a9b596:bgfxcmake/lib/bgfx-cmake \ bkaradzic:bgfx:c0cf484:bgfx \ bkaradzic:bimg:224aa80:bimg \ bkaradzic:bx:4b4b3e7:bx \ ataulien:ZenLib:3a8e919:zenlib/lib/ZenLib \ tito:libsquish:f5e44a3:libsquish \ REGoth-project:physfs:4174d6a:physfs \ g-truc:glm:06f0840:glm/lib/glm \ glfw:glfw:0f488ac:glfw/lib/glfw \ cxong:tinydir:0862ba9:tinydir/lib/tinydir \ bulletphysics:bullet3:fb51c3f:bullet3/lib/bullet3 \ frabert:libdmusic:e193ef4:libdmusic/lib/libdmusic \ erikd:libsndfile:cf7a818:libsndfile \ gocha:sf2cute:fcaf333:sf2cute \ REGoth-project:CAB-Installer-Extractor:a311fea:cab/lib/CAB-Installer-Extractor USE_XORG= ice sm x11 xcursor xext xinerama xrandr USE_GL= gl glu CMAKE_ARGS+= -DREGOTH_BUILD_WITH_SYSTEM_OPENAL:BOOL=YES LDFLAGS_i386= -Wl,-znotext post-extract: ${MV} ${WRKSRC_bgfx}/* ${WRKSRC}/lib/bgfx-cmake/bgfx ${MV} ${WRKSRC_bimg}/* ${WRKSRC}/lib/bgfx-cmake/bimg ${MV} ${WRKSRC_bx}/* ${WRKSRC}/lib/bgfx-cmake/bx ${MV} ${WRKSRC_libsquish}/* ${WRKSRC}/lib/ZenLib/lib/libsquish ${MV} ${WRKSRC_physfs}/* ${WRKSRC}/lib/ZenLib/lib/physfs ${MV} ${WRKSRC_libsndfile}/* ${WRKSRC}/lib/libdmusic/utils/dls2sf/lib/libsndfile ${MV} ${WRKSRC_sf2cute}/* ${WRKSRC}/lib/libdmusic/utils/dls2sf/lib/sf2cute post-patch: ${RM} ${WRKSRC}/lib/bgfx-cmake/bx/include/compat/freebsd/dirent.h # the real one is needed by tinydir do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/shaders/ ${INSTALL_SCRIPT} ${BUILD_WRKSRC}/bin/REGoth ${STAGEDIR}${DATADIR} (cd ${BUILD_WRKSRC}/bin/shaders/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/shaders/) ${STRIP_CMD} ${STAGEDIR}${DATADIR}/REGoth ${CAT} ${FILESDIR}/launcher.sh | ${SED} -e "s|%%DATADIR%%|${DATADIR}|" > \ ${STAGEDIR}${PREFIX}/bin/REGoth .include diff --git a/games/residualvm/Makefile b/games/residualvm/Makefile index e2970b9cfc14..b67178093bcf 100644 --- a/games/residualvm/Makefile +++ b/games/residualvm/Makefile @@ -1,47 +1,48 @@ # Created by: Alexander Yerenkow PORTNAME= residualvm PORTVERSION= 0.3.1 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= yerenkow@gmail.com COMMENT= ResidualVM allows you to indulge with classic games like Grim Fandango and Myst III LICENSE= BSD3CLAUSE GPLv2 GPLv3 ISCL LGPL21 MIT ZLIB LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/COPYING.BSD LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.FREEFONT LICENSE_FILE_ISCL= ${WRKSRC}/COPYING.ISC LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL LICENSE_FILE_MIT= ${WRKSRC}/COPYING.MIT LICENSE_FILE_ZLIB= ${WRKSRC}/COPYING.TINYGL BROKEN_armv6= fails to link: ld: libgrim.a has EABI version 0, but target residualvm has EABI version 5 BROKEN_armv7= fails to link: ld: libgrim.a has EABI version 0, but target residualvm has EABI version 5 LIB_DEPENDS= libmad.so:audio/libmad \ libogg.so:audio/libogg \ libvorbisfile.so:audio/libvorbis \ libpng.so:graphics/png \ libmpeg2.so:multimedia/libmpeg2 \ libtheoradec.so:multimedia/libtheora \ libfreetype.so:print/freetype2 USES= compiler:c++11-lang gmake gl iconv jpeg sdl USE_GITHUB= yes USE_GL= glu glew gl USE_SDL= sdl2 HAS_CONFIGURE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|{datarootdir}/man|{prefix}/man|' ${WRKSRC}/configure .include diff --git a/games/retroarch/Makefile b/games/retroarch/Makefile index 274b7c654390..ffaa6d4a8248 100644 --- a/games/retroarch/Makefile +++ b/games/retroarch/Makefile @@ -1,109 +1,110 @@ # Created by: Yuri Victorovich PORTNAME= RetroArch PORTVERSION= 1.9.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= games emulators PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 618c83d4ca1b8144377747076e28ac962e492392.patch:-p1 MAINTAINER= greg@unrelenting.technology COMMENT= Cross-platform entertainment system based on libretro API LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \ libdrm.so:graphics/libdrm \ libass.so:multimedia/libass BUILD_DEPENDS= vulkan-loader>0:graphics/vulkan-loader \ ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers RUN_DEPENDS= retroarch-assets<=0:games/retroarch-assets USES= compiler:c++11-lib gmake pkgconfig python:3.6+ shebangfix ssl OPTIONS_DEFINE= CACA FFMPEG OSS JACK PULSEAUDIO ALSA SDL OPENGL OPENAL V4L FREETYPE WAYLAND UDEV QT X11 DOCS OPTIONS_DEFAULT=FFMPEG OSS PULSEAUDIO SDL OPENGL OPENAL V4L FREETYPE WAYLAND UDEV QT X11 FFMPEG_DESC= On-the-fly recording of gameplay with libavcodec WAYLAND_DESC= Wayland display support UDEV_DESC= udev device hotplug support QT_DESC= Qt based desktop-style GUI DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:tl} CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= caca FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CONFIGURE_ENABLE=ffmpeg OSS_CONFIGURE_ENABLE= oss JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa SDL_USES= sdl SDL_USE= SDL=sdl2 image2 SDL_CONFIGURE_ON= --disable-sdl --enable-sdl2 SDL_CONFIGURE_OFF= --disable-sdl --disable-sdl2 OPENGL_USES= gl OPENGL_USE= GL=gl,egl,gbm OPENGL_CONFIGURE_ENABLE=opengl OPENAL_USES= openal:soft OPENAL_CONFIGURE_ENABLE=al V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_CONFIGURE_ENABLE= v4l2 FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= freetype WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/include/linux/kd.h:graphics/svgalib WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libepoll-shim.so:devel/libepoll-shim UDEV_CFLAGS= -I${LOCALBASE}/include/libepoll-shim UDEV_LDFLAGS= -L${LOCALBASE}/lib -lepoll-shim UDEV_CONFIGURE_ENABLE= udev QT_USES= qt:5 QT_USE= QT=core,gui,widgets,concurrent,network QT_CONFIGURE_ENABLE= qt X11_USES= xorg X11_USE= XORG=x11,xcb,xext,xinerama,xv,xxf86vm,xrandr X11_CONFIGURE_ENABLE= x11 LDFLAGS_i386= -Wl,-znotext CONFIGURE_ARGS+=--enable-threads --disable-discord CONFIGURE_ENV+= MAN_DIR=${MANPREFIX}/man SHEBANG_FILES= libretro-common/glsym/glgen.py libretro-common/glsym/rglgen.py \ tools/cg2glsl.py tools/vulkan_loader_generator.py USE_GITHUB= yes GH_ACCOUNT= libretro SUB_FILES= pkg-message HAS_CONFIGURE= yes CONFIGURE_ARGS+=--sysconfdir=${LOCALBASE}/etc post-patch: @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/camera/drivers/video4linux2.c \ ${WRKSRC}/libretro-common/libco/armeabi.c \ ${WRKSRC}/memory/wii/mem2_manager.c @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/camera/drivers/video4linux2.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/retroarch @${REINPLACE_CMD} \ -e 's|# libretro_directory =|libretro_directory = "${PREFIX}/lib/libretro"|' \ -e 's|# libretro_info_path =|libretro_info_path = "${PREFIX}/share/libretro/info"|' \ -e 's|# assets_directory =|assets_directory = "${PREFIX}/share/libretro/assets"|' \ -e 's|# video_shader_dir =|video_shader_dir = "${PREFIX}/share/libretro/shaders"|' \ -e 's|# video_filter_dir =|video_filter_dir = "${PREFIX}/lib/retroarch/filters/video"|' \ -e 's|# audio_filter_dir =|audio_filter_dir = "${PREFIX}/lib/retroarch/filters/audio"|' \ -e 's|# joypad_autoconfig_dir =|joypad_autoconfig_dir = "${PREFIX}/share/retroarch/autoconfig"|' \ -e 's|# menu_show_core_updater = true|menu_show_core_updater = false|' \ ${STAGEDIR}${PREFIX}/etc/retroarch.cfg .include diff --git a/games/rlvm/Makefile b/games/rlvm/Makefile index eef13fe36d83..a81eeefc1f51 100644 --- a/games/rlvm/Makefile +++ b/games/rlvm/Makefile @@ -1,98 +1,98 @@ PORTNAME= rlvm DISTVERSIONPREFIX= release- DISTVERSION= 0.14-75 DISTVERSIONSUFFIX= -g975e740c -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= jbeich@FreeBSD.org COMMENT= RealLive virtual machine clone LICENSE= GPLv2 GPLv3 MIT LICENSE_COMB= multi BROKEN_FreeBSD_11_powerpc64= fails to link on powerpc64 elfv1: gcn_platform.cc: undefined reference to gcn::Exception::Exception BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: gcn_platform.cc: undefined reference to gcn::Exception::Exception BUILD_DEPENDS= ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp LIB_DEPENDS= libsndfile.so:audio/libsndfile \ libvorbisfile.so:audio/libvorbis \ libboost_serialization.so:devel/boost-libs \ libguichan.so:devel/guichan RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu USE_GITHUB= yes GH_ACCOUNT= eglaysher USES= compiler:c++11-lib gl gnome pkgconfig scons sdl USE_GL= glew glu USE_GNOME= gtk20 USE_SDL= image mixer ttf EXCLUDE= GLEW SDL_image SDL_mixer SDL_ttf gmock gtest guichan \ luabind utf8cpp # leaving only pygame, xclannad, *.cpp EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude vendor/,} LDFLAGS+= -Wl,--as-needed # avoid overlinking (gtk deps) MAKE_ARGS= VERBOSE=1 INSTALLS_ICONS= yes PORTDOCS= AUTHORS.TXT NEWS.TXT README.md STATUS.TXT notes OPTIONS_DEFINE= DEBUG DOCS NLS TEST OPTIONS_DEFAULT=MONA OPTIONS_MULTI= JAPANESE_FONT OPTIONS_MULTI_JAPANESE_FONT=KOCHI MONA SAZANAMI OPTIONS_SUB= yes JAPANESE_FONT_DESC=msgothic.ttc alternatives with verified metrics (unless --font) KOCHI_DESC= kochi-gothic-subst.ttf from japanese/font-kochi KOCHI_RUN_DEPENDS=${LOCALBASE}/share/fonts/kochi/kochi-gothic-subst.ttf:japanese/font-kochi MONA_DESC= mona.ttf from japanese/font-mona-ttf MONA_RUN_DEPENDS=${LOCALBASE}/share/fonts/mona-ttf/mona.ttf:japanese/font-mona-ttf SAZANAMI_DESC= sazanami-gothic.ttf from japanese/font-sazanami SAZANAMI_RUN_DEPENDS=${LOCALBASE}/share/fonts/sazanami/sazanami-gothic.ttf:japanese/font-sazanami DEBUG_MAKE_ARGS_OFF=--release NLS_USES= gettext NLS_EXTRA_PATCHES_OFF=${FILESDIR}/extra-patch-disable-nls TEST_USES= lua:51 TEST_BUILD_DEPENDS=googletest>=1.7.0:devel/googletest \ luabind>0:devel/luabind TEST_EXTRA_PATCHES_OFF=${FILESDIR}/extra-patch-disable-test post-patch: @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ ${WRKSRC}/src/platforms/gtk/gtk_rlvm_instance.cc @${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,' \ -e 's,truetype/ttf-dejavu,dejavu,' \ -e 's,truetype/mona,mona-ttf,' \ -e 's,truetype/,,' \ ${WRKSRC}/src/utilities/find_font_file.cc do-test-TEST-on: (cd ${WRKSRC} && build/${PORTNAME}_unittests) pre-install-TEST-on: do-test-TEST-on do-install: ${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.6 \ ${STAGEDIR}${PREFIX}/share/man/man6 ${INSTALL_DATA} ${WRKSRC}/src/platforms/gtk/${PORTNAME}.desktop \ ${STAGEDIR}${DESKTOPDIR} @(cd ${WRKSRC}/resources && for f in */${PORTNAME}.png; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${f%/*}x$${f%/*}/apps; \ ${INSTALL_DATA} -v $$f \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${f%/*}x$${f%/*}/apps; \ done) post-install-NLS-on: (cd ${WRKSRC}/build/locale && ${COPYTREE_SHARE} \ . ${STAGEDIR}${PREFIX}/share/locale) post-install-DOCS-on: (cd ${WRKSRC} && ${COPYTREE_SHARE} \ "${PORTDOCS:Nnotes}" ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \ notes ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/sauerbraten/Makefile b/games/sauerbraten/Makefile index 2c05362f77ea..cec0bfc9183a 100644 --- a/games/sauerbraten/Makefile +++ b/games/sauerbraten/Makefile @@ -1,68 +1,69 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= sauerbraten PORTVERSION= 20201221 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2020_11_29 DISTNAME= ${PORTNAME}_2020_12_21_linux MAINTAINER= acm@FreeBSD.org COMMENT= First person shooter based on Cube LICENSE= MIT ZLIB LICENSE_COMB= multi USES= compiler:c++11-lang gmake tar:bzip2 BUILD_WRKSRC= ${WRKSRC}/src WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= libenet PORTDATA= data packages PORTDOCS= * PLIST_DIRS= %%DATADIR%%/packages/prefab OPTIONS_MULTI= BUILD OPTIONS_MULTI_BUILD= CLIENT DEDICATED MASTER OPTIONS_DEFAULT= CLIENT DEDICATED SUB_FILES= pkg-message ${PLIST_FILES:Mbin/*:T} OPTIONS_DEFINE= DOCS CLIENT_DESC= Build client CLIENT_USES= gl sdl xorg CLIENT_USE= GL=gl SDL=image2,mixer2,sdl2 XORG=x11 CLIENT_ALL_TARGET= client CLIENT_PLIST_FILES= bin/sauer_client libexec/sauer_client DEDICATED_DESC= Build dedicated server DEDICATED_ALL_TARGET= server DEDICATED_PLIST_FILES= bin/sauer_server libexec/sauer_server MASTER_DESC= Build master server MASTER_ALL_TARGET= master .include .if ${PORT_OPTIONS:MCLIENT} DESKTOP_ENTRIES="Sauerbraten" "${COMMENT}" \ "${PREFIX}/share/${PORTNAME}/data/cube.png" "sauer_client" \ "Game;" false .endif post-extract: @${FIND} ${WRKSRC} -type d -name CVS -type d -print0 | \ ${XARGS} -0 ${RM} -R post-patch: @${REINPLACE_CMD} '1d' ${WRKSRC}/src/enet/Makefile do-install: .for f in ${PLIST_FILES:Mbin/*} ${INSTALL_SCRIPT} ${WRKDIR}/${f:T} ${STAGEDIR}${PREFIX}/${f} .endfor .for f in ${PLIST_FILES:Mlibexec/*} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${f:T} ${STAGEDIR}${PREFIX}/${f:H} .endfor (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/scorched3d/Makefile b/games/scorched3d/Makefile index f36fe7261e88..ff1e4b5a249d 100644 --- a/games/scorched3d/Makefile +++ b/games/scorched3d/Makefile @@ -1,75 +1,75 @@ # Created by: mdodd PORTNAME= scorched3d PORTVERSION= 0.${SCORCH_VERSION}${SCORCH_REVISION} -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Version%20${SCORCH_VERSION} DISTNAME= Scorched3D-${SCORCH_VERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= 3D version of the classic DOS game Scorched Earth LICENSE= GPLv2 LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libpng.so:graphics/png \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libexpat.so:textproc/expat2 OPTIONS_DEFINE= MYSQL WRKSRC= ${WRKDIR}/scorched USES= autoreconf compiler:c++11-lang dos2unix gl gmake iconv jpeg \ openal:al,alut perl5 pkgconfig sdl USE_GL= glew glu USE_SDL= mixer net sdl USE_WX= 2.8 WX_CONF_ARGS= absolute GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${DATADIR} DOS2UNIX_GLOB= *.h *.cpp CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS_i386= -Wl,-znotext SCORCH_VERSION= 43.3d SCORCH_REVISION= # none MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-mysql PLIST_FILES= bin/scorched3d \ bin/scorched3dc \ bin/scorched3ds PORTDATA= * post-extract: @${RM} ${WRKSRC}/src/client/GLEXT/[a-z]* post-patch: @${REINPLACE_CMD} -e \ '/^CPPFLAGS=/s|^|#|g ; \ /^LDFLAGS=/s|^|#|g ; \ /if test/s|==|=|' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e \ '/GL_LIBS/s|"-lGL -lGLU"|"-lGL -lGLU -lGLEW"| ; \ /if test/s|==|=|' ${WRKSRC}/*.m4 @${REINPLACE_CMD} -e \ 's|std::exit|exit|' ${WRKSRC}/src/common/common/main.h @${REINPLACE_CMD} -e \ 's|"glew.h"||' ${WRKSRC}/src/client/GLEXT/GLState.h @${REINPLACE_CMD} -e \ '/GLEXT\\glew.c/d ; \ /GLEXT\\glew.h/d ; \ /GLEXT\\glxew.h/d ; \ /GLEXT\\wglew.h/d' ${WRKSRC}/src/client/scorchedc/scorchedc.vcxproj pre-configure: @cd ${WRKSRC}/scripts && ${PERL} createAMMakefile.pl .include diff --git a/games/scourge/Makefile b/games/scourge/Makefile index 8a9fbc92fbf3..780df45bb60d 100644 --- a/games/scourge/Makefile +++ b/games/scourge/Makefile @@ -1,41 +1,41 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= scourge PORTVERSION= 0.21.1 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= games MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION:S/$/.src/} DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Rogue-like game LIB_DEPENDS= libfreetype.so:print/freetype2 RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/config/scourge.cfg:games/scourge-data USES= autoreconf compiler gettext gl gmake localbase sdl GNU_CONFIGURE= yes USE_GL= gl USE_SDL= sdl image mixer net ttf CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing CONFIGURE_ARGS= --with-data-dir=${DATADIR} SUB_FILES= pkg-message PLIST_FILES= bin/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= DEBUG DEBUG_CONFIGURE_ENABLE= debug post-patch: @${REINPLACE_CMD} -e 's|GLvoid|void|g' ${WRKSRC}/src/sdlhandler.cpp ${WRKSRC}/src/sdlhandler.h @${REINPLACE_CMD} -e 's|\([^a-z_]\)type(|\1squirrel_type(|g' ${WRKSRC}/src/squirrel/*.cpp ${WRKSRC}/src/squirrel/*.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/games/sdb/Makefile b/games/sdb/Makefile index a2d99f9aa1d8..830af73ec327 100644 --- a/games/sdb/Makefile +++ b/games/sdb/Makefile @@ -1,69 +1,69 @@ PORTNAME= sdb PORTVERSION= 1.0.2 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= games MASTER_SITES= http://stage.gamecreation.org/shotgund/ \ https://mirror.amdmi3.ru/distfiles/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Futuristic overhead shooter LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= gl gmake sdl USE_SDL= mixer image sdl USE_GL= gl glu BUILD_WRKSRC= ${WRKSRC}/src CXXFLAGS+= `${SDL_CONFIG} --cflags` LIBS+= `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer -lGL -lGLU MAKE_ARGS= CPP="${CXX}" CXXFLAGS="${CXXFLAGS}" LIBS="${LIBS}" PLIST_FILES= bin/sdb PORTDOCS= * PORTDATA= * DESKTOP_ENTRIES="Shotgun Debugger" \ "" \ "" \ "${PORTNAME}" \ "Game;ActionGame;" \ "" OPTIONS_DEFINE= DOCS .include .if ${ARCH} != "powerpc" && ${ARCH} != "sparc64" PLIST_SUB+= MODEL_SUFFIX="md2" .else # big-endian requires different set of models DISTFILES+= shotgun-debugger-1.0.mac-ppc.zip EXTRACT_DEPENDS+= ${UNZIP_CMD}:archivers/unzip PLIST_SUB+= MODEL_SUFFIX="md2b" post-extract: ${RM} ${WRKSRC}/models/* @cd ${WRKSRC}/models && \ ${RM} * && \ ${UNZIP_CMD} -qj ${DISTDIR}/shotgun-debugger-1.0.mac-ppc.zip \ 'sdb-1.0-macosx/models/*.md2b' .endif post-patch: @${REINPLACE_CMD} -Ee 's,(levels|models|snd|sprites)/,${DATADIR}/&,g' \ ${WRKSRC}/src/sdb.h ${WRKSRC}/src/game.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/sdb ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC} && ${COPYTREE_SHARE} "levels models snd sprites" ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/sdl-ball/Makefile b/games/sdl-ball/Makefile index 82f8f3e3e5e8..5131af6ff3a4 100644 --- a/games/sdl-ball/Makefile +++ b/games/sdl-ball/Makefile @@ -1,39 +1,40 @@ PORTNAME= sdl-ball PORTVERSION= 1.04 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF DISTNAME= SDL-Ball_${PORTVERSION}_src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Arkanoid/Breakout clone with pretty graphics LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gl gmake sdl tar:xz USE_SDL= sdl mixer image ttf USE_GL= gl glu MAKE_ENV= DATADIR=${DATADIR}/ WRKSRC= ${WRKDIR}/SDL-Ball_src PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/themes/default/icon32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png ${INSTALL_DATA} ${WRKSRC}/sdl-ball.desktop ${STAGEDIR}${PREFIX}/share/applications/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/sea-defender/Makefile b/games/sea-defender/Makefile index 4d5f51a51ab8..aa7fcad3e759 100644 --- a/games/sea-defender/Makefile +++ b/games/sea-defender/Makefile @@ -1,54 +1,54 @@ PORTNAME= sea-defender PORTVERSION= 0.9 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/:icon \ SF/nemysisfreebsdp/:icon DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}.png:icon EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simple missile command clone LICENSE= MIT BUILD_DEPENDS= ${LOCALBASE}/lib/libglfw.a:graphics/glfw2 USE_GITHUB= yes GH_ACCOUNT= snoutmate GH_PROJECT= Sea-Defender GH_TAGNAME= d628051 USES= gl gmake sdl xorg USE_SDL= sdl mixer image ttf USE_GL= gl glu USE_XORG= x11 xrandr SUB_FILES= ${PORTNAME}.sh PLIST_FILES= bin/${PORTNAME} \ libexec/${PORTNAME} \ share/pixmaps/${PORTNAME}.png PORTDOCS= * DESKTOP_ENTRIES="Sea Defender" \ "${COMMENT}" \ "${PORTNAME}" \ "${PORTNAME}" \ "Game;ArcadeGame;" \ "" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/typedef/ d' ${WRKSRC}/snoutlib/gldefs.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sea ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/searchandrescue/Makefile b/games/searchandrescue/Makefile index c7b86d5537ee..8d454f81ab02 100644 --- a/games/searchandrescue/Makefile +++ b/games/searchandrescue/Makefile @@ -1,47 +1,47 @@ # Created by: Jesse Smith PORTNAME= SearchAndRescue PORTVERSION= 1.4.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF/${PORTNAME:tl}/Program/ MAINTAINER= jessefrgsmith@yahoo.ca COMMENT= Flight simulator in which the player rescues people LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${LOCALBASE}/share/searchandrescue/human.ini:games/searchandrescue-data USES= gl sdl xorg USE_GL= gl glu USE_SDL= mixer USE_XORG= ice sm x11 xau xdmcp xext xmu xpm xxf86vm WRKSRC= ${WRKDIR}/${PORTNAME:tl}_${PORTVERSION} PLIST_FILES= bin/${PORTNAME} \ ${DESKTOPDIR:S,${PREFIX}/,,}/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.xpm #Respect PREFIX, LOCALBASE, CC, etc. post-patch: ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ -e 's,%%PREFIX%%,${PREFIX},g' \ ${WRKSRC}/sar/config.h ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \ -e 's,/usr/local,${LOCALBASE},g' \ -e 's,/usr/X11R6,${LOCALBASE},g' \ -e '/^CFLAGS = /s,=,= ${CFLAGS},g' \ -e '/^CPPFLAGS = /s, = .*, = ${CPPFLAGS},g' \ -e '/^CC = /s, = .*, = ${CC},' \ -e '/^CPP = /s, = .*, = ${CXX},' \ -e 's,-O6,,' \ ${WRKSRC}/sar/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sar/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/sar/icons/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/games/shaaft/Makefile b/games/shaaft/Makefile index 574369fdc632..f6f1e62ad77e 100644 --- a/games/shaaft/Makefile +++ b/games/shaaft/Makefile @@ -1,45 +1,45 @@ # Created by: Kirill Ponomarew PORTNAME= shaaft PORTVERSION= 0.5.0 -PORTREVISION= 24 +PORTREVISION= 25 CATEGORIES= games MASTER_SITES= SF/criticalmass/OldFiles DISTNAME= Shaaft-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL 3D falling block game similar to Blockout LIB_DEPENDS= libpng.so:graphics/png CONFLICTS= criticalmass-* USES= gl sdl tar:bzip2 USE_SDL= mixer image sdl USE_GL= gl USE_GCC= yes USE_CXXSTD= gnu++98 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-optimize CPPFLAGS+= $$(libpng-config --I_opts) LDFLAGS+= $$(libpng-config --L_opts) DATADIR= ${PREFIX}/share/Shaaft PLIST_FILES= bin/Packer bin/shaaft %%DATADIR%%/resource.dat \ man/man6/shaaft.6.gz DESKTOP_ENTRIES="Shaaft" "" "" "${PORTNAME}" "" "" post-patch: @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \ s|^CXXFLAGS|#CXXFLAGS|g ; \ s|/usr/X11R6|${LOCALBASE}|g ; \ s|-lSDL | |g ; \ s|-lpng12|-lpng|g' ${WRKSRC}/configure @${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|SDL/SDL|SDL|g' @${REINPLACE_CMD} -e 's|== 3|>= 3|' ${WRKSRC}/utils/hashMap.hpp .include diff --git a/games/shockolate/Makefile b/games/shockolate/Makefile index a48c49556ff9..d32a77224aac 100644 --- a/games/shockolate/Makefile +++ b/games/shockolate/Makefile @@ -1,40 +1,41 @@ # Created by: Vasily Postnicov PORTNAME= shockolate DISTVERSIONPREFIX= v DISTVERSION= 0.8.2-43 DISTVERSIONSUFFIX= -ga9eb1b93 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= shamaz.mazum@gmail.com COMMENT= Open source and cross-platform remake of a cult game System Shock LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth \ libasound.so:audio/alsa-lib USES= cmake compiler:c++11-lang gl pkgconfig sdl USE_GL= gl glu USE_SDL= sdl2 mixer2 USE_GITHUB= yes GH_ACCOUNT= Interrupt GH_PROJECT= systemshock CMAKE_ON= ENABLE_SDL2 ENABLE_SOUND ENABLE_FLUIDSYNTH post-patch: .SILENT ${REINPLACE_CMD} -e 's|%%DATADIR%%|${LOCALBASE}/share/shockolate/|' \ ${WRKSRC}/src/Libraries/RES/Source/caseless.c \ ${WRKSRC}/src/MacSrc/OpenGL.cc ${REINPLACE_CMD} -e 's|%%MIDIDIR%%|${LOCALBASE}/share/sounds/sf2/|' \ ${WRKSRC}/src/MusicSrc/MusicDevice.c do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/systemshock ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC} && ${COPYTREE_SHARE} shaders ${STAGEDIR}${DATADIR}) ${MKDIR} ${STAGEDIR}${DATADIR}/res .include diff --git a/games/shootingstar/Makefile b/games/shootingstar/Makefile index a5be310158b9..2ac20d789796 100644 --- a/games/shootingstar/Makefile +++ b/games/shootingstar/Makefile @@ -1,23 +1,23 @@ PORTNAME= shootingstar PORTVERSION= 1.2.0 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= games MASTER_SITES= http://www.2ndpoint.fi/projektit.xml/shootingstar/files/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= SDL/OpenGL top-down shooter GNU_CONFIGURE= yes USES= gl gmake sdl USE_GL= gl USE_SDL= sdl mixer image CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/${PORTNAME} PORTDATA= * .include diff --git a/games/simplevaders/Makefile b/games/simplevaders/Makefile index 2f993dba29f4..1fc7cff0d665 100644 --- a/games/simplevaders/Makefile +++ b/games/simplevaders/Makefile @@ -1,28 +1,29 @@ PORTNAME= simplevaders PORTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://dusted.dk/pages/simplevaders/ \ https://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Space-Invaders like 2D space shooter LICENSE= GPLv3+ USES= gl localbase:ldflags sdl tar:bzip2 USE_SDL= sdl mixer image ttf USE_GL= gl glu PLIST_FILES= bin/${PORTNAME} PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/main.cpp @${RM} ${WRKSRC}/data/*\~ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include diff --git a/games/simsu/Makefile b/games/simsu/Makefile index 27eba102baba..3bcd9ebc1fa8 100644 --- a/games/simsu/Makefile +++ b/games/simsu/Makefile @@ -1,36 +1,37 @@ # Created by: Rusmir Dusko PORTNAME= simsu PORTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://gottcode.org/${PORTNAME}/ \ https://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Basic Sudoku game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++17-lang gl qmake qt:5 tar:bzip2 USE_QT= core gui widgets concurrent printsupport buildtools_build linguisttools_build USE_GL= gl WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-patch-NLS-off: @${REINPLACE_CMD} -e \ '/INSTALLS/s|qm||' ${WRKSRC}/simsu.pro post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog README \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/slade/Makefile b/games/slade/Makefile index 371b8381056a..346881b712e2 100644 --- a/games/slade/Makefile +++ b/games/slade/Makefile @@ -1,51 +1,52 @@ # Created by: Alexey Dokuchaev PORTNAME= slade PORTVERSION= 3.1.13 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= danfe@FreeBSD.org COMMENT= Modern editor for Doom-engine based games and source ports LICENSE= GPLv2 BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libcurl.so:ftp/curl \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libftgl.so:graphics/ftgl \ libsfml-system.so:devel/sfml USE_GITHUB= yes GH_ACCOUNT= sirjuddington GH_PROJECT= ${PORTNAME:tu} USES= cmake compiler:c++14-lang gl pkgconfig USE_WX= 3.0+ USE_GL= gl glew glu CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE:FILEPATH="${WX_CONFIG}" \ -DNO_WEBVIEW:BOOL=ON PLIST_FILES= bin/slade share/slade3/slade.pk3 \ share/applications/net.mancubus.SLADE.desktop \ share/metainfo/net.mancubus.SLADE.metainfo.xml \ share/icons/net.mancubus.SLADE.png OPTIONS_DEFINE= FLUIDSYNTH OPTIONS_DEFAULT= FLUIDSYNTH FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUIDSYNTH_RUN_DEPENDS= ${LOCALBASE}/share/sounds/sf2/FluidR3_GM.sf2:audio/fluid-soundfont FLUIDSYNTH_CMAKE_OFF= -DNO_FLUIDSYNTH:BOOL=ON post-patch: @${REINPLACE_CMD} -e 's,"alsa","oss", ; \ /share\/sounds\/sf2/s,/usr,${LOCALBASE},g' \ ${WRKSRC}/src/Audio/MIDIPlayer.cpp @${REINPLACE_CMD} -e 's,OpenBSD,${OPSYS},' \ ${WRKSRC}/src/External/zreaders/portable_endian.h @${REINPLACE_CMD} -e 's,wxVSCROLL,static_cast(&),' \ ${WRKSRC}/src/MapEditor/UI/Dialogs/ActionSpecialDialog.cpp .include diff --git a/games/solarconquest/Makefile b/games/solarconquest/Makefile index 4b2ef00b2a71..cc629df34b69 100644 --- a/games/solarconquest/Makefile +++ b/games/solarconquest/Makefile @@ -1,39 +1,39 @@ PORTNAME= solarconquest PORTVERSION= 0.2 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= games MASTER_SITES= http://games.sajthelper.com/ \ LOCAL/ehaupt \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= SolarConquest MAINTAINER= amdmi3@FreeBSD.org COMMENT= Space 2D action game with plenty of shooting USES= gl dos2unix sdl USE_SDL= sdl mixer image USE_GL= yes DOS2UNIX_FILES= makefile source/MenuScreen.h source/main.cpp MAKEFILE= makefile PLIST_FILES= bin/${PORTNAME} PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|images/|${DATADIR}/images/|' \ ${WRKSRC}/source/main.cpp @${REINPLACE_CMD} -e 's|shapes/|${DATADIR}/shapes/|' \ ${WRKSRC}/source/main.cpp @${REINPLACE_CMD} -e 's|settings.dat|.solarconquest.rc|' \ ${WRKSRC}/source/Common.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/solar ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${MKDIR} ${STAGEDIR}${DATADIR}/shapes ${INSTALL_DATA} ${WRKSRC}/shapes/* ${STAGEDIR}${DATADIR}/shapes ${MKDIR} ${STAGEDIR}${DATADIR}/images/fonts ${INSTALL_DATA} ${WRKSRC}/images/*.png ${STAGEDIR}${DATADIR}/images ${INSTALL_DATA} ${WRKSRC}/images/fonts/* ${STAGEDIR}${DATADIR}/images/fonts .include diff --git a/games/solarus/Makefile b/games/solarus/Makefile index 2d6ecce03701..a7c95dce10dc 100644 --- a/games/solarus/Makefile +++ b/games/solarus/Makefile @@ -1,51 +1,51 @@ PORTNAME= solarus PORTVERSION= 1.6.4 DISTVERSIONPREFIX= v -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MAINTAINER= danilo@FreeBSD.org COMMENT= Zelda-like 2D game engine LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libphysfs.so:devel/physfs \ libmodplug.so:audio/libmodplug \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg RUN_DEPENDS= glm>0:math/glm BUILD_DEPENDS= glm>0:math/glm USES= cmake:noninja compiler:c++11-lib gl openal qmake qt:5 sdl xorg USE_GITLAB= yes GL_ACCOUNT= solarus-games GL_COMMIT= f43727b232b3ed13d98440a845e2a29e470e4f0d MAKE_ARGS+= DESTDIR=${STAGEDIR} USE_QT= buildtools_build core gui linguisttools_build widgets USE_SDL= sdl2 ttf2 image2 USE_GL= gl glu USE_LDCONFIG= yes OPTIONS_DEFINE= LUAJIT OPTIONS_DEFAULT_amd64= LUAJIT OPTIONS_DEFAULT_i386= LUAJIT OPTIONS_DEFAULT_powerpc= LUAJIT OPTIONS_DEFAULT_powerpc64= LUAJIT LUAJIT_CMAKE_BOOL= SOLARUS_USE_LUAJIT LUAJIT_DESC= Use LuaJIT instead of standard Lua LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_USES_OFF= lua:51 CMAKE_ARGS+= -DSOLARUS_MANUAL_INSTALL_DESTINATION:STRING="man" .include .if ${ARCH} == powerpc64 LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty .endif .include diff --git a/games/spring/Makefile b/games/spring/Makefile index 42abb99936e5..38f475c31bd1 100644 --- a/games/spring/Makefile +++ b/games/spring/Makefile @@ -1,110 +1,110 @@ PORTNAME= spring PORTVERSION= 98.0 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= games MASTER_SITES= SF/springrts/springrts/${PORTNAME}-${PORTVERSION} \ http://springrts.com/dl/ DISTNAME= ${PORTNAME}_${PORTVERSION}_src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Project aiming to create a new and versatile RTS Engine LICENSE= GPLv2 BROKEN= fails to build LIB_DEPENDS= libfreetype.so:print/freetype2 \ libboost_thread.so:devel/boost-libs \ libIL.so:graphics/devil \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis BUILD_DEPENDS= 7z:archivers/p7zip # XXX: it should be possible to build it on i386, investigate # (currently link fails on undefined reference to __sync_fetch_and_add_8) ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= relies on x86 floating-point math and amd64 atomic ops USE_SDL= sdl2 USE_GL= gl glu glew USE_XORG= x11 xcursor USE_LDCONFIG= yes DOS2UNIX_GLOB= *.h *.hpp *.cpp USES= cmake:insource compiler:c++11-lib dos2unix gl openal:al sdl \ tar:lzma xorg USES+= desktop-file-utils shared-mime-info CMAKE_ARGS= -DDATADIR:STRING="share/${PORTNAME}" \ -DAI_TYPES:STRING="NATIVE" \ -DDOCDIR:STRING="share/doc/${PORTNAME}" \ -DCREATE_MAN_PAGES:BOOL=false \ -DUSE_TCMALLOC:BOOL=false \ -DUSE_LIBSQUISH:BOOL=false \ -DUNITSYNC_PYTHON_WRAPPER:BOOL=false WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} # Do not exctract bundled copies of header files for 3rd-party packages: EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude ${WRKSRC:T}/include # The check-target fails right now: https://springrts.com/mantis/view.php?id=4736 TEST_TARGET= check PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= MANPAGES PR_DOWNLOADER DOCS OPTIONS_DEFAULT=MANPAGES PR_DOWNLOADER OPTIONS_SUB= yes PR_DOWNLOADER_DESC= Map and game downloader MANPAGES_CMAKE_ON= -DCREATE_MAN_PAGES:BOOL=true -DMANDIR:STRING="man" MANPAGES_CMAKE_OFF= -DCREATE_MAN_PAGES:BOOL=false MANPAGES_BUILD_DEPENDS= 7z:archivers/p7zip \ asciidoc:textproc/asciidoc \ xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ bash:shells/bash CXXFLAGS+= -Wno-deprecated # Too much noise PR_DOWNLOADER_LIB_DEPENDS=libcurl.so:ftp/curl .include .if defined(WITH_SYNC_DEBUG) CFLAGS= # empty CXXFLAGS= # empty CMAKE_ARGS+= -DTRACE_SYNC=true -DSYNCDEBUG=true CMAKE_BUILD_TYPE=DEBUG2 .endif .if ! ${PORT_OPTIONS:MPR_DOWNLOADER} post-extract: @${RM} ${WRKSRC}/tools/pr-downloader/CMakeLists.txt .endif post-patch: @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|/etc/\(spring/datadir\)|${PREFIX}/\1|g' \ ${WRKSRC}/rts/System/FileSystem/DataDirLocater.cpp @${REINPLACE_CMD} -e 's|x1F3F|x0F3F|g' \ ${WRKSRC}/rts/System/Sync/FPUCheck.cpp @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/rts/build/cmake/*.cmake @${REINPLACE_CMD} -e 's|execinfo|/usr/lib/libexecinfo.so|' \ ${WRKSRC}/rts/CMakeLists.txt \ ${WRKSRC}/rts/builds/dedicated/CMakeLists.txt @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/rts/System/Platform/Misc.cpp @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}&|' \ ${WRKSRC}/doc/manpages/make_manpages.sh .if ! ${PORT_OPTIONS:MMANPAGES} @${REINPLACE_CMD} -e '/set(CREATE_MAN_PAGES)/ d' \ ${WRKSRC}/doc/CMakeLists.txt .endif pre-build: cd ${WRKSRC} && ${MAKE_CMD} generateVersionFiles .include diff --git a/games/steelstorm/Makefile b/games/steelstorm/Makefile index 24ad0b1e9050..34824c555d19 100644 --- a/games/steelstorm/Makefile +++ b/games/steelstorm/Makefile @@ -1,72 +1,72 @@ PORTNAME= steelstorm DISTVERSION= beta-r1591 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Old school top down arcade shooter LICENSE= GPLv2 CC-BY-NC-SA-3.0 EULA LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/gpl-2.txt LICENSE_FILE_CC-BY-NC-SA-3.0= ${WRKSRC}/cc-by-nc-sa-3.txt LICENSE_NAME_EULA= Steel storm episode 1 limited user software license agreement LICENSE_PERMS_EULA= # none LICENSE_FILE_EULA= ${WRKSRC}/license.txt MANUAL_PACKAGE_BUILD= needs interactive license confirmation USES= gl USE_GL= gl WRKSRC= ${WRKDIR}/${PORTNAME} BUILD_WRKSRC= ${WRKSRC}/engine_source MAKEFILE= BSDmakefile MAKE_ENV= STRIP="${STRIP_CMD}" ALL_TARGET= # empty MAKE_JOBS_UNSAFE=yes PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS= CLIENT DEDICATED OPTIONS_DEFAULT=OPTIMIZED_CFLAGS CLIENT DEDICATED CLIENT_DESC= Build client DEDICATED_DESC= Dedicated server CLIENT_ALL_TARGET= cl-release CLIENT_USES= xorg CLIENT_USE= XORG=x11,xext,xpm,xxf86dga,xxf86vm CLIENT_PLIST_FILES= bin/${PORTNAME} DEDICATED_ALL_TARGET= sv-release DEDICATED_PLIST_FILES= bin/${PORTNAME}-dedicated post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${BUILD_WRKSRC}/BSDmakefile ${BUILD_WRKSRC}/makefile.inc @${REINPLACE_CMD} -e 's|"gamedata"|"${DATADIR}"|' \ ${BUILD_WRKSRC}/common.c post-patch-OPTIMIZED_CFLAGS-off: @${REINPLACE_CMD} -e '/^OPTIM_RELEASE=/ d' \ ${BUILD_WRKSRC}/makefile.inc do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/gamedata/ssgamedata000001.pk3 ${STAGEDIR}${DATADIR}/ do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/ do-install-CLIENT-on: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-glx ${STAGEDIR}${PREFIX}/bin/${PORTNAME} do-install-DEDICATED-on: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-dedicated ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-dedicated .include diff --git a/games/stormbaancoureur/Makefile b/games/stormbaancoureur/Makefile index be90b08a693e..99499c172754 100644 --- a/games/stormbaancoureur/Makefile +++ b/games/stormbaancoureur/Makefile @@ -1,49 +1,49 @@ PORTNAME= stormbaancoureur PORTVERSION= 2.1.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://www.stolk.org/stormbaancoureur/download/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simulated obstacle course for automobiles LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib LIB_DEPENDS= libode.so:devel/ode USES= compiler gl pkgconfig USE_GL= gl glu glut USE_CXXSTD= c++98 MAKE_ENV= DATADIR="${DATADIR}" BUILD_WRKSRC= ${WRKSRC}/src-stormbaancoureur INSTALL_WRKSRC= ${WRKSRC}/src-stormbaancoureur PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= ALSA DOCS OPTIONS_DEFAULT=ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_MAKE_ENV= ALSA_LIBS="-lasound" ALSA_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-src-common-soundenginealsa.cxx \ ${FILESDIR}/extra-patch-src-common-soundenginealsa.h post-patch: @${REINPLACE_CMD} -e 's|__DATADIR|"${DATADIR}"|' \ ${WRKSRC}/src-stormbaancoureur/main.cxx post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile index 599781c9db67..1151e6e77de4 100644 --- a/games/stratagus/Makefile +++ b/games/stratagus/Makefile @@ -1,75 +1,76 @@ # Created by: Travis Poppe PORTNAME= stratagus PORTVERSION= 2.4.2 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free cross-platform real-time strategy gaming engine LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtolua++-${LUA_VER}.so:lang/tolua++ USE_GITHUB= yes GH_ACCOUNT= Wargus USES= cmake compiler:c++11-lang gl lua:51 pkgconfig sdl sqlite python:run USE_GL= gl glu USE_SDL= sdl CMAKE_ARGS= -DGAMEDIR:STRING="bin" \ -DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \ -DTOLUA++_INCLUDE_DIR:STRING="${LUA_INCDIR}" \ -DTOLUA++_LIBRARY:STRING="${LUA_LIBDIR}/libtolua++.so" CMAKE_ON= ENABLE_DEV PORTDOCS= * OPTIONS_DEFINE= MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH DOCS OPTIONS_DEFAULT=MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH MIKMOD_LIB_DEPENDS= libmikmod.so:audio/libmikmod MIKMOD_CMAKE_BOOL= WITH_MIKMOD MNG_DESC= MNG image library support MNG_LIB_DEPENDS= libmng.so:graphics/libmng MNG_CMAKE_BOOL= WITH_MNG THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CMAKE_BOOL= WITH_THEORA VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_CMAKE_BOOL= WITH_OGGVORBIS X11_DESC= X11 clipboard pasting support X11_USES= xorg X11_USE= XORG=x11 X11_CMAKE_BOOL= WITH_X11 FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUIDSYNTH_CMAKE_BOOL= WITH_FLUIDSYNTH post-patch: @${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|' \ ${WRKSRC}/gameheaders/stratagus-tinyfiledialogs.h post-install: ${INSTALL_DATA} ${WRKSRC}/doc/stratagus.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 post-install-DOCS-on: @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "[a-z]*.html *.txt graphics scripts" \ ${STAGEDIR}${DOCSDIR} .include .if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS+= -Wno-c++11-narrowing .else CXXFLAGS+= -Wno-error .endif .include diff --git a/games/supertux/Makefile b/games/supertux/Makefile index 14b4aaff5d77..1fbb19d08186 100644 --- a/games/supertux/Makefile +++ b/games/supertux/Makefile @@ -1,23 +1,23 @@ # Created by: michael johnson PORTNAME= supertux PORTVERSION= 0.1.3 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= games MASTER_SITES= https://github.com/SuperTux/downloads/raw/master/ MAINTAINER= ports@FreeBSD.org COMMENT= Side-scroller game similar to Super Mario Brothers USES= gl gmake sdl tar:bzip2 USE_SDL= image mixer USE_GL= gl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-debug PORTSCOUT= limit:^0\.1 post-patch: @${REINPLACE_CMD} -e 's,Menu::,,' ${WRKSRC}/src/menu.h .include diff --git a/games/supertux2/Makefile b/games/supertux2/Makefile index 45f03f543f97..78c7227703b6 100644 --- a/games/supertux2/Makefile +++ b/games/supertux2/Makefile @@ -1,39 +1,40 @@ PORTNAME= supertux DISTVERSIONPREFIX= v DISTVERSION= 0.6.2 DISTVERSIONSUFFIX= -Source +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://github.com/SuperTux/supertux/releases/download/v${PORTVERSION}/ PKGNAMESUFFIX= 2 DISTNAME= SuperTux-${DISTVERSIONFULL} MAINTAINER= makc@FreeBSD.org COMMENT= Side-scroller game similar to Super Mario Brothers LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libcurl.so:ftp/curl \ libharfbuzz.so:print/harfbuzz \ libfribidi.so:converters/fribidi \ libfreetype.so:print/freetype2 \ libogg.so:audio/libogg \ libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libraqm.so:print/libraqm \ libvorbis.so:audio/libvorbis USES= cmake:noninja compiler:c++14-lang dos2unix gl iconv \ localbase openal:al pkgconfig sdl USE_GL= gl glew glu USE_SDL= sdl2 image2 CMAKE_ARGS= -DINSTALL_SUBDIR_BIN=bin \ -DBUILD_SHARED_LIBS=off \ -DBUILD_DOCUMENTATION=off # doxygen LDFLAGS_i386= -Wl,-znotext DOS2UNIX_FILES= external/squirrel/squirrel/sqvm.cpp DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} OPTIONS_DEFINE= DOCS .include diff --git a/games/supertuxkart/Makefile b/games/supertuxkart/Makefile index 3147d884c1a7..463844ab93e9 100644 --- a/games/supertuxkart/Makefile +++ b/games/supertuxkart/Makefile @@ -1,60 +1,61 @@ PORTNAME= supertuxkart PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/supertuxkart/SuperTuxKart/${PORTVERSION} DISTNAME= SuperTuxKart-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free 3D kart racing game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ libcurl.so:ftp/curl BROKEN_FreeBSD_12_i386= does not build (error: this directive must appear between .cfi_startproc and .cfi_endproc directives) BROKEN_i386= ld: error: cannot preempt symbol: alcOpenDevice USES= alias cmake compiler:c++11-lib pkgconfig tar:xz CMAKE_OFF= USE_WIIUSE \ BUILD_RECORDER \ USE_SYSTEM_ENET \ USE_SYSTEM_SQUISH CMAKE_ON= USE_SYSTEM_GLEW PORTDATA= * CXXFLAGS+= -DNO_IRR_COMPILE_WITH_JOYSTICK_EVENTS_ \ -D__FREE_BSD_ OPTIONS_DEFINE= NETTLE SERVER_ONLY OPTIONS_DEFAULT=NETTLE NETTLE_DESC= Use Nettle instead of OpenSSL for cryptography NETTLE_LIB_DEPENDS= libnettle.so:security/nettle NETTLE_USES_OFF= ssl NETTLE_CMAKE_BOOL_OFF= USE_CRYPTO_OPENSSL SERVER_ONLY_DESC= Build server only SERVER_ONLY_CMAKE_BOOL= SERVER_ONLY SERVER_ONLY_LIB_DEPENDS_OFF= \ libvorbisfile.so:audio/libvorbis \ libogg.so:audio/libogg \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz SERVER_ONLY_USES_OFF= gettext gl jpeg openal:al sdl xorg SERVER_ONLY_USE_OFF= GL=gl,glu,glew SDL=sdl2 XORG=x11,xrandr # make sure that bundled libraries are not used post-extract: .for bundled in glew wiiuse @${RM} -rf ${WRKSRC}/lib/${bundled} .endfor post-patch: @${REINPLACE_CMD} -e 's|Icon=.*|Icon=${PREFIX}/share/icons/hicolor/128x128/apps/supertuxkart.png|' \ ${WRKSRC}/data/${PORTNAME}.desktop .include diff --git a/games/tanglet/Makefile b/games/tanglet/Makefile index 5e10f87e230f..ac113bc92d0a 100644 --- a/games/tanglet/Makefile +++ b/games/tanglet/Makefile @@ -1,33 +1,34 @@ # Created by: Rusmir Dusko PORTNAME= tanglet PORTVERSION= 1.6.0 DISTVERSIONSUFFIX= -src +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://gottcode.org/tanglet/ MAINTAINER= jhale@FreeBSD.org COMMENT= Single player word finding game based on Boggle LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt USES= compiler:c++11-lib desktop-file-utils gl pkgconfig qmake \ qt:5 shared-mime-info tar:bzip2 USE_GL= gl USE_QT= buildtools_build linguisttools_build core gui widgets WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-patch: @${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/src/src.pro post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog README \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/teeworlds/Makefile b/games/teeworlds/Makefile index 07ec38416b4a..334ce2ee286e 100644 --- a/games/teeworlds/Makefile +++ b/games/teeworlds/Makefile @@ -1,57 +1,58 @@ PORTNAME= teeworlds PORTVERSION= 0.7.5 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Platform game featuring buggers equipped with weapons LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/license.txt USE_GITHUB= yes GH_TUPLE= teeworlds:teeworlds-translation:4ed69dd:translations/datasrc/languages \ teeworlds:teeworlds-maps:1d3401a:maps/datasrc/maps USES= cmake cpe pkgconfig python ssl USE_CSTD= c99 CPE_VERSION= ${PORTVERSION:C/^0\.//} CMAKE_ARGS= -DPYTHON_EXECUTABLE="${PYTHON_CMD}" PLIST_FILES= bin/${PORTNAME}_srv PORTDATA= * OPTIONS_DEFINE= CLIENT TEST OPTIONS_DEFAULT= CLIENT TEST CLIENT_DESC= Build game client CLIENT_CMAKE_BOOL= CLIENT CLIENT_USES= gl sdl xorg CLIENT_USE= GL=gl XORG=x11 SDL=sdl2 CLIENT_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libwavpack.so:audio/wavpack \ libpnglite.so:graphics/pnglite CLIENT_PLIST_FILES= bin/${PORTNAME} TEST_BUILD_DEPENDS= googletest>=0:devel/googletest TEST_TEST_TARGET= run_tests post-extract: @${RM} -r ${WRKSRC}/src/engine/external/wavpack @${RM} -r ${WRKSRC}/src/engine/external/pnglite @${RM} -r ${WRKSRC}/src/engine/external/zlib post-patch: @${REINPLACE_CMD} -e '/find_package.*Git/ d' ${WRKSRC}/CMakeLists.txt post-patch-CLIENT-off: @${REINPLACE_CMD} -e '/find_package.*Pnglite/ d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/find_package.*Wavpack/ d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/find_package.*SDL2/ d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/find_package.*Freetype/ d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/find_package.*OpenGL/ d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/find_package.*X11/ d' ${WRKSRC}/CMakeLists.txt post-patch-TEST-off: @${REINPLACE_CMD} -e '/find_package.*GTest/ d' ${WRKSRC}/CMakeLists.txt .include diff --git a/games/tenebrae/Makefile b/games/tenebrae/Makefile index 8bbd6cd0e4ab..9050092d0aae 100644 --- a/games/tenebrae/Makefile +++ b/games/tenebrae/Makefile @@ -1,54 +1,54 @@ # Created by: Igor Pokrovsky PORTNAME= tenebrae PORTVERSION= 1.04 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= games MASTER_SITES= http://tenebrae.sourceforge.net/downloads/ DISTFILES= ${PORTNAME}_src${EXTRACT_SUFX} \ ${PORTNAME}data${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Quake engine with lighting similar to that in Doom III LICENSE= GPLv2+ LIB_DEPENDS= libpng.so:graphics/png USES= gl gmake dos2unix sdl xorg zip USE_GL= gl glu USE_SDL= sdl USE_XORG= x11 xext xxf86vm xxf86dga MAKEFILE= Makefile.i386linux MAKE_ENV= PTHREAD_LIBS="-lpthread" BUILD_WRKSRC= ${WRKSRC}/linux WRKSRC= ${WRKDIR}/${PORTNAME}_0 OPTIONS_DEFINE= DOCS OPTIONS_DEFINE_amd64= ASM OPTIONS_DEFAULT_amd64= ASM ASM_MAKE_ENV= USE_ASM=1 post-patch: @${REINPLACE_CMD} -e 's|gray_1_2_4_to_8|expand_&|' \ ${WRKSRC}/gl_warp.c pre-build: @cd ${BUILD_WRKSRC} && ${LN} -sf Makefile.i386linux Makefile do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/bin/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${Q1DIR}/${PORTNAME} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/Pak0.pak ${STAGEDIR}${Q1DIR}/${PORTNAME} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${TR} -d '\r' < ${WRKDIR}/Tenebrae_Readme.txt \ > ${STAGEDIR}${DOCSDIR}/Tenebrae_Readme.txt .include "${.CURDIR}/../quake-data/Makefile.include" .include diff --git a/games/tesseract/Makefile b/games/tesseract/Makefile index 59f387461de4..3d48b9edea75 100644 --- a/games/tesseract/Makefile +++ b/games/tesseract/Makefile @@ -1,75 +1,75 @@ PORTNAME= tesseract DISTVERSION= 2014_05_12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://download.tuxfamily.org/${PORTNAME}/ PKGNAMESUFFIX= -game DISTNAME= ${PORTNAME}_${DISTVERSION}_first_edition_linux MAINTAINER= operator@myrechenzentrum.net COMMENT= Smooth FPS with map editing, instagib, DM and CTF LICENSE= ZLIB LIB_DEPENDS= libenet.so:net/enet RUN_DEPENDS= ${PKGBASE}-data>=${PORTVERSION}:games/tesseract-data USES= gmake pkgconfig tar:xz EXCLUDE= bin_unix config media screenshot src/enet src/lib\* src/xcode EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,} WRKSRC= ${WRKDIR}/${PORTNAME} BUILD_WRKSRC= ${WRKSRC}/src ALL_TARGET= # empty SUB_FILES= tess_wrapper PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT=CLIENT DEDICATED OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR=CLIENT DEDICATED MASTER CLIENT_DESC= Build client CLIENT_USES= gl sdl xorg CLIENT_USE= GL=gl SDL=image2,mixer2 XORG=x11 CLIENT_ALL_TARGET= client CLIENT_PLIST_FILES= bin/tess_client libexec/tess_client CLIENT_DESKTOP_ENTRIES= "Tesseract" \ "" \ "${DATADIR}/media/interface/cube.png" \ "tess_client" \ "Game;Shooter;" \ "" DEDICATED_DESC= Build dedicated server DEDICATED_ALL_TARGET= server DEDICATED_PLIST_FILES= bin/tess_server libexec/tess_server MASTER_DESC= Build master server MASTER_ALL_TARGET= master MASTER_PLIST_FILES= bin/tess_master libexec/tess_master post-patch: @${REINPLACE_CMD} -e '/OBJS.*PCH/d' \ -e '/-fomit-frame-pointer/d' \ -e 's,-I/usr/X11R6/include,,' \ -e 's,-L/usr/X11R6/lib,,' \ -e 's,libenet ,,' \ -e 's,-Ienet/include,`pkg-config --cflags libenet`,' \ -e 's,-Lenet -lenet,`pkg-config --libs libenet`,' \ ${BUILD_WRKSRC}/Makefile do-install: for f in ${PLIST_FILES:Mbin/*}; do \ ${INSTALL_SCRIPT} ${WRKDIR}/tess_wrapper \ ${STAGEDIR}${PREFIX}/$$f; \ done for f in ${PLIST_FILES:Mlibexec/*}; do \ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/$${f##*/} \ ${STAGEDIR}${PREFIX}/$${f%/*}; \ done do-install-DOCS-on: (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \ . ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/tetzle/Makefile b/games/tetzle/Makefile index 975be1003a6d..23c22c69026e 100644 --- a/games/tetzle/Makefile +++ b/games/tetzle/Makefile @@ -1,21 +1,22 @@ PORTNAME= tetzle PORTVERSION= 2.1.6 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://gottcode.org/tetzle/ \ https://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Jigsaw puzzle with tetrominoes LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lib desktop-file-utils gl gnome qmake qt:5 tar:bzip2 USE_QT= core gui widgets buildtools_build linguisttools_build USE_GL= gl INSTALLS_ICONS= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/games/thegrind/Makefile b/games/thegrind/Makefile index 11c1b01da0bf..27464b5d65f1 100644 --- a/games/thegrind/Makefile +++ b/games/thegrind/Makefile @@ -1,40 +1,40 @@ # Created by: Rusmir Dusko PORTNAME= thegrind PORTVERSION= 0.1.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/radius-engine/ld21/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple game about escaping from work LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/License.txt BUILD_DEPENDS= ${LOCALBASE}/lib/libradius-engine.a:graphics/radius-engine LIB_DEPENDS= liblua-5.1.so:lang/lua51 \ libpng.so:graphics/png \ libphysfs.so.1:devel/physfs RUN_DEPENDS= zip:archivers/zip USES= gl pkgconfig sdl USE_SDL= sdl sound USE_GL= glu GNU_CONFIGURE= yes ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png \ %%DATADIR%%/${PORTNAME}.zip PORTDOCS= ChangeLog OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/tomatoes/Makefile b/games/tomatoes/Makefile index 9fc7a56a9635..31622eed1446 100644 --- a/games/tomatoes/Makefile +++ b/games/tomatoes/Makefile @@ -1,61 +1,61 @@ # Created by: Adam Weinberger PORTNAME= tomatoes PORTVERSION= 1.55 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= https://mirror.amdmi3.ru/distfiles/ DISTFILES= ${PORTNAME}-linux-src-${PORTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}-linux-${DATAVERSION}${EXTRACT_SUFX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Tomato-smashing, Q-Bert style LICENSE= ZLIB DATAVERSION= 1.5 DATA_WRKSRC= ${WRKDIR}/tomatoes-${DATAVERSION} USES= gl gmake sdl tar:bzip2 USE_SDL= mixer image USE_GL= gl glu MAKEFILE= makefile MAKE_ARGS= CC="${CXX}" \ MPKDIR="${DATADIR}/" \ MUSICDIR="${DATADIR}/music/" \ HISCOREDIR="${DATADIR}/" \ CONFIGDIR="${DATADIR}/" \ CFLAGS="${CXXFLAGS} ${SDL_CFLAGS}" \ LDFLAGS="${SDL_LDFLAGS}" SDL_CFLAGS= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include SDL_LDFLAGS= `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer \ -L${LOCALBASE}/lib -lGL -lGLU PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/${PORTNAME}.png PORTDATA= * PORTDOCS= * DESKTOP_ENTRIES="Tomatoes" \ "" \ "${PORTNAME}" \ "${PORTNAME}" \ "Game;ArcadeGame;" \ false OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png @${MKDIR} ${STAGEDIR}${DATADIR}/music ${INSTALL_DATA} ${DATA_WRKSRC}/config.cfg ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DATA_WRKSRC}/tomatoes.mpk ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DATA_WRKSRC}/music/IHaveNoTomatoes.it ${STAGEDIR}${DATADIR}/music do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DATA_WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/tome4-beta/Makefile b/games/tome4-beta/Makefile index 9e0733d9af64..23cb58bad9af 100644 --- a/games/tome4-beta/Makefile +++ b/games/tome4-beta/Makefile @@ -1,9 +1,9 @@ DISTVERSION= 1.6.0-beta7 -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -beta MASTERDIR= ${.CURDIR}/../tome4 DISTINFO_FILE= ${.CURDIR}/distinfo PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile" diff --git a/games/tome4/Makefile b/games/tome4/Makefile index fb98a46e8bcc..de3f7a3c1ef2 100644 --- a/games/tome4/Makefile +++ b/games/tome4/Makefile @@ -1,63 +1,63 @@ PORTNAME= tome4 DISTVERSION?= 1.7.3 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= games MASTER_SITES= https://te4.org/dl/t-engine/ \ SF/lifanov-ports-distfiles/${PORTNAME}/:icons DISTFILES= t-engine4-src-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons EXTRACT_ONLY= t-engine4-src-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= pkubaj@FreeBSD.org COMMENT= Epic tactical turn-based roguelike adventure LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= premake4:devel/premake4 LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ libpng.so:graphics/png USES= gl gmake openal:al sdl tar:bzip2 xorg USE_SDL= image2 sdl2 ttf2 USE_GL= gl glu SUB_FILES= tome4 MAKE_JOBS_UNSAFE= yes DESKTOP_ENTRIES="ToME 4" "" "${PORTNAME}" \ "${PORTNAME}" "Game;RolePlaying;" "" PLIST_SUB= PORTVERSION=${PORTVERSION} WRKSRC= ${WRKDIR}/t-engine4-src-${DISTVERSION} MAKE_ARGS+= config=release verbose=yes ARCH="" CC=${CC} CXX=${CXX} LDFLAGS_i386= -Wl,-znotext .include .if ${ARCH} == powerpc USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++11-lang .endif pre-build: @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/premake4.lua .if ${ARCH} == aarch64 || ${ARCH:Mpowerpc64*} || ${ARCH} == riscv64 (cd ${WRKSRC} && premake4 --lua=default gmake) .else (cd ${WRKSRC} && premake4 gmake) @${ECHO} '.NOTPARALLEL:' >> ${WRKSRC}/build/buildvm.make @${ECHO} '.NOTPARALLEL:' >> ${WRKSRC}/build/luajit2.make .endif @${REINPLACE_CMD} 's|-lpthread|-pthread|' ${WRKSRC}/build/TEngine.make do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/t-engine ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/tome4 ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC}; ${COPYTREE_SHARE} "bootstrap game" ${STAGEDIR}${DATADIR}) ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/games/torcs/Makefile b/games/torcs/Makefile index 00f502f4bb6b..2b02e17ce2a3 100644 --- a/games/torcs/Makefile +++ b/games/torcs/Makefile @@ -1,107 +1,107 @@ # Created by: thierry@pompo.net PORTNAME= torcs DISTVERSION= 1.3.7 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/all-in-one/${PORTVERSION} MAINTAINER= monwarez@mailoo.org COMMENT= Free, open-source racing car simulator LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib LIB_DEPENDS= libpng.so:graphics/png \ libvorbis.so:audio/libvorbis RUN_DEPENDS= bash:shells/bash MAKE_JOBS_UNSAFE= yes USES= compiler:c++11-lang cpe gl gmake openal:al,alut shebangfix \ tar:bzip2 xorg CPE_VENDOR= bernhard_wymann SHEBANG_FILES= src/tools/accc/accc.in src/tools/nfsperf/nfsperf.in \ src/tools/texmapper/texmapper.in src/tools/nfs2ac/nfs2ac.in \ src/tools/trackgen/trackgen.in \ src/modules/telemetry/telemetry.sh robotgen USE_CXXSTD= c++11 USE_XORG= xrender xmu ice xext x11 xxf86vm xrandr xi xt sm USE_GL= glut glu gl GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ALL_TARGET= default INSTALL_TARGET= install datainstall INSTDIR= ${PREFIX}/share/games/${PORTNAME} PORTDOCS= faq.html BASH2FIX= src/linux/torcs.in Make-default.mk STRIPFILES= drivers/berniw/berniw.so \ drivers/berniw2/berniw2.so \ drivers/berniw3/berniw3.so \ drivers/bt/bt.so \ drivers/damned/damned.so \ drivers/human/human.so \ drivers/inferno/inferno.so \ drivers/inferno2/inferno2.so \ drivers/lliaw/lliaw.so \ drivers/olethros/olethros.so \ drivers/sparkle/sparkle.so \ drivers/tita/tita.so \ lib/libclient.so \ lib/libconfscreens.so \ lib/liblearning.so \ lib/libmusicplayer.so \ lib/libraceengine.so \ lib/libracescreens.so \ lib/librobottools.so \ lib/libtgf.so \ lib/libtgfclient.so \ lib/libtxml.so \ modules/graphic/ssggraph.so \ modules/simu/simuv2.so \ modules/telemetry/telemetry.so \ modules/track/track.so DESKTOP_ENTRIES= "TORCS" \ "The Open Racing Car Simulator" \ "${INSTDIR}/Ticon.png" \ "torcs" \ "Game;Simulation;" \ false OPTIONS_DEFINE= DOCS EMPTYDIR= champ dtmrace endrace ncrace practice quickrace # shebangfix does not catch these two (not at top of file): post-patch: .for FILE in ${BASH2FIX} @${REINPLACE_CMD} -E -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \ ${WRKSRC}/${FILE} .endfor post-build: .for FILE in ${STRIPFILES} ${STRIP_CMD} ${WRKSRC}/export/${FILE} .endfor pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/faq/|} ${STAGEDIR}${DOCSDIR} # strip simuv2.so as reported by Q/A tests ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/torcs/modules/simu/simuv2.so .for ed in ${EMPTYDIR} ${TOUCH} ${STAGEDIR}${INSTDIR}/results/${ed}/.keep_me .endfor .include diff --git a/games/toycars/Makefile b/games/toycars/Makefile index f57cf668edb5..1e32dafee20c 100644 --- a/games/toycars/Makefile +++ b/games/toycars/Makefile @@ -1,36 +1,36 @@ PORTNAME= toycars PORTVERSION= 0.3.10 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF MAINTAINER= amdmi3@FreeBSD.org COMMENT= Physics-based 2D racing game LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfltk.so:x11-toolkits/fltk USES= gl gmake localbase sdl USE_CXXSTD= c++98 GNU_CONFIGURE= yes USE_SDL= image sdl USE_GL= gl glu PLIST_FILES= bin/toycars \ bin/toycars_track_editor \ bin/toycars_vehicle_editor PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-extract: @${RM} ${WRKSRC}/data/.*Store post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/trackballs/Makefile b/games/trackballs/Makefile index 5421b07be96d..3e573d32f117 100644 --- a/games/trackballs/Makefile +++ b/games/trackballs/Makefile @@ -1,34 +1,35 @@ # Created by: Adam Weinberger PORTNAME= trackballs PORTVERSION= 1.3.2 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= games MAINTAINER= martymac@FreeBSD.org COMMENT= SDL-based Marble Madness clone LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libguile-2.2.so:lang/guile2 \ libgc.so:devel/boehm-gc USES= cmake desktop-file-utils gettext-runtime gl gnome pkgconfig sdl USE_GL= gl USE_SDL= image2 mixer2 sdl2 ttf2 USE_GITHUB= yes INSTALLS_ICONS= yes CMAKE_ARGS+= -DTRACKBALLS_DOC_DIR=${DOCSDIR} \ -DTRACKBALLS_MAN_DIR=${PREFIX}/man OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_USES= gettext-tools NLS_CMAKE_ON= -DDISABLE_NLS:BOOL=OFF NLS_CMAKE_OFF= -DDISABLE_NLS:BOOL=ON .include diff --git a/games/traingame/Makefile b/games/traingame/Makefile index d142b5cec927..83165e8d7c37 100644 --- a/games/traingame/Makefile +++ b/games/traingame/Makefile @@ -1,76 +1,76 @@ # Created by: Rusmir Dusko PORTNAME= traingame PORTVERSION= 0.3 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= Game about Trains LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.txt LIB_DEPENDS= libfreetype.so:print/freetype2 \ libxerces-c.so:textproc/xerces-c3 \ libboost_filesystem.so:devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= nickg GH_TAGNAME= cb6513e USES= cmake:insource compiler:c++11-lib dos2unix gl gnome pkgconfig \ sdl DOS2UNIX_GLOB= *.mtl *.obj USE_CXXSTD= c++11 USE_SDL= sdl image USE_GL= glew LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -Wno-return-type PORTDOCS= model_notes.txt models.gnuplot OPTIONS_DEFINE= DOCS INSTALLS_ICONS= yes ICON_SIZES= 22x22 32x32 48x48 64x64 72x72 96x96 128x128 192x192 SUB_FILES= ${PORTNAME} pkg-message post-patch: @${REINPLACE_CMD} -e 's|[io]fstream|std::&|g' \ ${WRKSRC}/src/*.cpp ${WRKSRC}/include/*.hpp do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-map.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-map .for d in buildings engines fonts images layouts maps schemas trees waggons @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor ${INSTALL_PROGRAM} ${WRKSRC}/bin/TrainGame ${STAGEDIR}${DATADIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/ ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install: @${ECHO_CMD} @${ECHO_CMD} =============================================================================== @${ECHO_CMD} @${ECHO_CMD} "These Maps you can use:" @${ECHO_CMD} @${LS} ${STAGEDIR}${DATADIR}/maps @${ECHO_CMD} @${ECHO_CMD} =============================================================================== .include diff --git a/games/tremulous/Makefile b/games/tremulous/Makefile index 197a667d927a..0186378e9279 100644 --- a/games/tremulous/Makefile +++ b/games/tremulous/Makefile @@ -1,147 +1,147 @@ # Created by: Alejandro Pulver PORTNAME= tremulous PORTVERSION= 1.1.0 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R} MAINTAINER= ports@FreeBSD.org COMMENT= Free FPS game featuring two opposing teams: humans and aliens LICENSE= GPLv2 USES= gmake zip MAKE_ENV= DEFAULT_BASEDIR="${DATADIR}" PTHREAD_LIBS="-lpthread" WRKSRC= ${WRKDIR}/${PORTNAME} BUILD_WRKSRC= ${WRKSRC}/${DISTNAME}-src VM_ARCHS= amd64 i386 OPTIONS_DEFINE= GAMELIBS OPENAL OPENAL_DLOPEN OPTIMIZED_CFLAGS \ SDL_AUDIO SDL_VIDEO VORBIS OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT DEDICATED SMP_CLIENT MASTER_SERVER OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS SMP_CLIENT FLAVOR_DESC= Clients and servers CLIENT_DESC= Build client GAMELIBS_DESC= Force building game libraries DEDICATED_DESC= Build dedicated server MASTER_SERVER_DESC= Build master server OPENAL_DLOPEN_DESC= Enable dinamic loading of OpenAL SDL_AUDIO_DESC= Use SDL for audio SDL_VIDEO_DESC= Use SDL for video SMP_CLIENT_DESC= Build SMP (threaded) client .include .for arch in ${ARCH} . if ${VM_ARCHS:M${arch}} HAVE_VM_COMPILED= yes . endif .endfor .if defined(HAVE_VM_COMPILED) MAKE_ENV+= HAVE_VM_COMPILED=true .endif .if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP_CLIENT} # OpenAL . if ${PORT_OPTIONS:MOPENAL} USES+= openal:al MAKE_ENV+= USE_OPENAL=1 . if ${PORT_OPTIONS:MOPENAL_DLOPEN} MAKE_ENV+= USE_OPENAL_DLOPEN=1 . endif . endif # SDL . if ${PORT_OPTIONS:MSDL_AUDIO} USES+= sdl USE_SDL= sdl MAKE_ENV+= USE_SDL_AUDIO=1 . endif . if ${PORT_OPTIONS:MSDL_VIDEO} USES+= sdl USE_SDL= sdl MAKE_ENV+= USE_SDL_VIDEO=1 . else USES+= gl xorg USE_GL= gl USE_XORG= x11 xxf86dga xxf86vm . endif # Vorbis . if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= libvorbis.so:audio/libvorbis MAKE_ENV+= USE_CODEC_VORBIS=1 . endif .endif .if ${PORT_OPTIONS:MCLIENT} MAKE_ENV+= BUILD_CLIENT=1 PLIST_SUB+= CLIENT="" TRBIN+= tremulous .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} MAKE_ENV+= BUILD_SERVER=1 PLIST_SUB+= DEDICATED="" TRBIN+= tremded .else PLIST_SUB+= DEDICATED="@comment " .endif .if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED) MAKE_ENV+= BUILD_GAME_SO=1 PLIST_SUB+= GAMELIBS="" .else PLIST_SUB+= GAMELIBS="@comment " .endif .if ${PORT_OPTIONS:MMASTER_SERVER} LIB_DEPENDS+= libtdb.so:databases/tdb MAKE_ENV+= BUILD_MASTER_SERVER=1 PLIST_SUB+= MASTER_SERVER="" .else PLIST_SUB+= MASTER_SERVER="@comment " .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MAKE_ENV+= USE_OPTIMIZED_CFLAGS=1 .endif .if ${PORT_OPTIONS:MSMP_CLIENT} MAKE_ENV+= BUILD_CLIENT_SMP=1 PLIST_SUB+= SMP="" TRBIN+= tremulous-smp .else PLIST_SUB+= SMP="@comment " .endif post-extract: @cd ${WRKSRC} && ${TAR} zxf ${DISTNAME}-src.tar.gz post-patch: @${REINPLACE_CMD} -e 's|botlib\.log|/dev/null|' \ ${BUILD_WRKSRC}/src/botlib/be_interface.c @${REINPLACE_CMD} -e '/callMask = 0/s|^static||' \ ${BUILD_WRKSRC}/src/qcommon/vm_x86.c do-install: .for bin in ${TRBIN} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/build/release/${bin} \ ${STAGEDIR}${PREFIX}/bin .endfor .if ${PORT_OPTIONS:MMASTER_SERVER} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/src/master/release/tremmaster \ ${STAGEDIR}${PREFIX}/bin .endif @${MKDIR} ${STAGEDIR}${DATADIR}/base ${INSTALL_DATA} ${WRKSRC}/base/* ${STAGEDIR}${DATADIR}/base ${INSTALL_DATA} ${WRKSRC}/tremulous.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/games/trenchbroom/Makefile b/games/trenchbroom/Makefile index 036de7c1926c..9b69fb9172df 100644 --- a/games/trenchbroom/Makefile +++ b/games/trenchbroom/Makefile @@ -1,54 +1,54 @@ # Created by: Alexey Dokuchaev PORTNAME= trenchbroom PORTVERSION= 2.0.0.b -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games cad MAINTAINER= danfe@FreeBSD.org COMMENT= Cross-platform level editor for Quake-engine based games LICENSE= GPLv3 LIB_DEPENDS= libfreeimage.so:graphics/freeimage USE_GITHUB= yes GH_ACCOUNT= kduske GH_PROJECT= TrenchBroom GH_TAGNAME= ed46601 USES= cmake:insource compiler:c++11-lib gl gnome pkgconfig USE_GL= gl glew glu USE_WX= 3.0+ CMAKE_ARGS= -DAPP_BUILD_CHANNEL:STRING="Beta for ${OPSYS}/${ARCH}" INSTALLS_ICONS= yes PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-patch: @${GREP} -Rl --null std::tr1:: ${WRKSRC}/common/src | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's,std::tr1::,std::,g' @${REINPLACE_CMD} -e 's,Build ,&Type: ,' \ ${WRKSRC}/common/src/View/AppInfoPanel.cpp @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/common/src/IO/SystemPaths.cpp @${REINPLACE_CMD} -e '/return m_.*Margin/s,(),,' \ ${WRKSRC}/common/src/View/CellLayout.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/TrenchBroom ${STAGEDIR}${PREFIX}/bin @${RMDIR} ${WRKSRC}/Resources/help || : cd ${WRKSRC}/Resources && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .for n in 16 22 24 32 36 48 64 72 96 128 192 256 512 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps ${INSTALL_DATA} ${WRKSRC}/app/resources/linux/icons/icon_${n}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps/${PORTNAME}.png .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/games/trigger-rally/Makefile b/games/trigger-rally/Makefile index 7ab82210453a..96c9e9550ef7 100644 --- a/games/trigger-rally/Makefile +++ b/games/trigger-rally/Makefile @@ -1,58 +1,58 @@ # Created by: Jean-Yves Lefort PORTNAME= trigger-rally PORTVERSION= 0.6.6.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= SF/trigger-rally/trigger-${PORTVERSION} MAINTAINER= alfix86@gmail.com COMMENT= Rally car racing game LICENSE= GPLv2 LICENSE_FILE= ${WORKINGSRC}/doc/COPYING.txt LIB_DEPENDS= libphysfs.so:devel/physfs LIB_DEPENDS+= libalut.so:audio/freealut LIB_DEPENDS+= libtinyxml2.so:textproc/tinyxml2 USES= compiler:c++11-lang gmake openal:al,alut sdl gl gnome USE_SDL= image2 USE_GL= glu glew MAKEFILE= GNUmakefile ALL_TARGET= build LDFLAGS_i386= -Wl,-znotext INSTALLS_ICONS= yes WRKSRC_SUBDIR= src WORKINGSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} DATADIR= ${PREFIX}/share/games/trigger-rally DESKTOP_ENTRIES="Trigger" "" "trigger" \ "trigger-rally" "" false PORTDOCS= README-stereo.txt README.txt DATA_AUTHORS.txt OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Trigger/main.cpp do-install: ${INSTALL_PROGRAM} ${WORKINGSRC}/bin/trigger-rally ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WORKINGSRC}/bin && ${CP} trigger-rally.config.defs ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WORKINGSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} cd ${WORKINGSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .for i in 16 22 24 32 36 48 64 72 96 128 192 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ && \ ${MV} ${STAGEDIR}${DATADIR}/icon/trigger-${i}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/trigger.png .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ && \ ${MV} ${STAGEDIR}${DATADIR}/icon/trigger-rally-icons.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/trigger-rally-icons.svg .include diff --git a/games/tux-aqfh/Makefile b/games/tux-aqfh/Makefile index 95c9b7ed727e..3ffa0b69cfb3 100644 --- a/games/tux-aqfh/Makefile +++ b/games/tux-aqfh/Makefile @@ -1,55 +1,55 @@ # Created by: Alexander Langer PORTNAME= tux_aqfh PORTVERSION= 1.0.14 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= games MASTER_SITES= SF/tuxaqfh/tuxaqfh/${PORTVERSION}-classic \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Tuxedo The Penguin: A Quest for Herring LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib USES= gl gmake USE_GL= glut GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-plib=${LOCALBASE} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lusbhid -pthread PORTDOCS= * DESKTOP_ENTRIES="Tuxedo The Penguin: A Quest for Herring" "" ${PORTNAME} \ "${PORTNAME}" "Game;SportsGame;" "" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|-lplibul|-lplibul -lplibjs|; \ s|-O6 -Wall||; \ s|-lpthread||; \ s|datadir/games|datadir|' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|$$(prefix)/games|@bindir@|; \ s|$$(datadir)/games|$$(datadir)|' @${REINPLACE_CMD} -e 's|doc contrib| contrib|' \ ${WRKSRC}/Makefile.in post-install: ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ cd ${WRKSRC} && ${COPYTREE_SHARE} \ "AUTHORS CHANGES README doc/*.png doc/*.html" \ ${STAGEDIR}${DOCSDIR} .include diff --git a/games/tuxkart/Makefile b/games/tuxkart/Makefile index 26a3a61cbefd..c69885386e28 100644 --- a/games/tuxkart/Makefile +++ b/games/tuxkart/Makefile @@ -1,50 +1,50 @@ # Created by: Alexander Langer PORTNAME= tuxkart PORTVERSION= 0.4.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= http://tuxkart.sourceforge.net/dist/ \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Racing game starring Tux LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib USES= gl gmake USE_GL= gl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-plib=${LOCALBASE} CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lusbhid PORTDOCS= * OPTIONS_DEFINE= DOCS DESKTOP_ENTRIES="TuxKart" "" ${PORTNAME} \ "${PORTNAME}" "Game;SportsGame;" "" post-patch: @${REINPLACE_CMD} -e 's|-O6||g ; s|datadir/games|datadir|g' \ ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \ -e 's|$$(prefix)/games|@bindir@|g ; \ s|$$(datadir)/games|$$(datadir)|g' @${REINPLACE_CMD} -e 's|doc contrib| contrib|' \ ${WRKSRC}/Makefile.in post-install: ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS CHANGES README doc/*.png doc/*.html" \ ${STAGEDIR}${DOCSDIR} .include diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile index c539956ba4c1..9b3c86343403 100644 --- a/games/tuxracer/Makefile +++ b/games/tuxracer/Makefile @@ -1,36 +1,36 @@ # Created by: Eric Anholt PORTNAME= tuxracer PORTVERSION= 0.61 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= games MASTER_SITES= SF \ SF/${PORTNAME}/${PORTNAME}-data/${PORTVERSION}:data DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}-data-${PORTVERSION}${EXTRACT_SUFX}:data MAINTAINER= ports@FreeBSD.org COMMENT= 3D penguin racing game using OpenGL LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gl gmake sdl tk xorg USE_SDL= mixer sdl USE_GL= gl USE_XORG= x11 xt xmu xi GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-tcl-inc="${TCL_INCLUDEDIR}" \ --with-tcl-libs="${LOCALBASE}/lib" \ --with-tcl-lib-name=tcl${TCL_VER:S/.//} \ --with-gl-libs="${LOCALBASE}/lib" \ --with-gl-inc="${LOCALBASE}/include" \ --with-data-dir=${DATADIR} CPPFLAGS+= -DGLX_GLXEXT_LEGACY post-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WORKDATA} ${WRKDIR}/${PORTNAME}-data-${PORTVERSION} \ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .include diff --git a/games/ufoai/Makefile b/games/ufoai/Makefile index 1ad37538afe5..5899978c8ff0 100644 --- a/games/ufoai/Makefile +++ b/games/ufoai/Makefile @@ -1,109 +1,109 @@ # Created by: Alonso Cardenas Marquez PORTNAME= ufoai PORTVERSION= 2.5 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/UFO_AI%202.x/${PORTVERSION} DISTNAME= ${PORTNAME:S/$/-/}${PORTVERSION}-source DIST_SUBDIR= ${PORTNAME} PATCH_SITES= https://github.com/ufoai/ufoai/commit/ PATCHFILES= 163073ab9527cdaa33d77a713b8e46ff462a2b5c.patch:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Strategy game featuring tactical combat LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libpng.so:graphics/png \ libcurl.so:ftp/curl \ libtheora.so:multimedia/libtheora \ libxvidcore.so:multimedia/xvid \ libmxml.so:textproc/mxml \ libogg.so:audio/libogg BUILD_DEPENDS= zip:archivers/zip RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/base/default.cfg:games/ufoai-data USES= compiler:c++11-lang gettext gl gmake jpeg localbase openal:soft \ pkgconfig python:build sdl tar:bzip2 USE_GL= gl USE_SDL= sdl image mixer ttf USE_CXXSTD= c++11 HAS_CONFIGURE= yes CONFIGURE_ARGS= --enable-release --target-os=freebsd ALL_TARGET= all lang LDFLAGS+= -lpthread -lexecinfo LDFLAGS_i386= -Wl,-z,notext DATADIR= share/${PORTNAME} SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME:S/$/-/}${PORTVERSION}-source UFO_DIR= ${PREFIX}/lib/${PORTNAME} UFO_FILES= ufo ufomodel OPTIONS_DEFINE= SERVER UFO2MAP UFORADIANT OPTIONS_DEFAULT= SERVER UFO2MAP OPTIONS_SUB= yes SERVER_DESC= Install dedicated server UFO2MAP_DESC= Install UFO tools UFORADIANT_DESC= Install UFO map editor SERVER_CONFIGURE_ENABLE=ufoded SERVER_VARS= UFO_FILES+=ufoded UFO2MAP_CONFIGURE_ENABLE=ufo2map UFO2MAP_VARS= UFO_FILES+=ufo2map UFORADIANT_ALL_TARGET= uforadiant UFORADIANT_CONFIGURE_ENABLE=uforadiant UFORADIANT_USES= gnome UFORADIANT_USE= GNOME=gtk20,glib20,gtksourceview2,libxml2 UFORADIANT_LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext .include post-extract: @${MKDIR} ${WRKSRC}/base/maps ${WRKSRC}/base/models @${REINPLACE_CMD} \ -e 's|DEFAULT_COMPILER_CC=cc|DEFAULT_COMPILER_CC=${CC}|' \ -e 's|DEFAULT_COMPILER_CXX=c++|DEFAULT_COMPILER_CXX=${CXX}|' \ ${WRKSRC}/configure .if ${CHOSEN_COMPILER_TYPE} == "clang" @${REINPLACE_CMD} \ -e 's|-falign-loops=2 -falign-jumps=2 -falign-functions=2||' \ ${WRKSRC}/build/modes/release.mk .endif .for LIB in SDL SDL_mixer SDL_ttf curl intl jpeg mxml ogg png theora vorbis zlib @${RM} -rf ${WRKSRC}/src/libs/${LIB} .endfor do-install: @${MKDIR} ${STAGEDIR}${UFO_DIR} .for FILE in ${UFO_FILES} @${SED} \ -e 's|@UFODIR@|${UFO_DIR}|' \ -e 's|@APP@|${FILE}|' \ ${FILESDIR}/run.sh.in > ${WRKDIR}/${FILE} ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${UFO_DIR} ${INSTALL_SCRIPT} ${WRKDIR}/${FILE} ${STAGEDIR}${PREFIX}/bin .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/${DATADIR}/base ${INSTALL_PROGRAM} ${WRKSRC}/base/game.so ${STAGEDIR}${PREFIX}/${DATADIR}/base @cd ${WRKSRC}/base/i18n && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/${DATADIR}/base/i18n/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${DATADIR}/base/i18n/{}" \; ${LN} -s ../../${DATADIR}/base ${STAGEDIR}${UFO_DIR}/base do-install-UFORADIANT-on: @${MKDIR} ${STAGEDIR}${UFO_DIR}/radiant @${SED} \ -e 's|@UFODIR@|${UFO_DIR}/radiant|' \ -e 's|@APP@|uforadiant|' \ ${FILESDIR}/run.sh.in > ${WRKDIR}/uforadiant ${INSTALL_PROGRAM} ${WRKSRC}/radiant/uforadiant ${STAGEDIR}${UFO_DIR}/radiant ${INSTALL_SCRIPT} ${WRKDIR}/uforadiant ${STAGEDIR}${PREFIX}/bin @cd ${WRKSRC}/radiant && ${COPYTREE_SHARE} . ${STAGEDIR}${UFO_DIR}/radiant .include diff --git a/games/uhexen2/Makefile b/games/uhexen2/Makefile index b3df752e14b9..70b8d456f17a 100644 --- a/games/uhexen2/Makefile +++ b/games/uhexen2/Makefile @@ -1,127 +1,127 @@ # Created by: alepulver PORTNAME= uhexen2 PORTVERSION= 1.5.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Hammer%20of%20Thyrion/${PORTVERSION}/Source \ SF/${PORTNAME}/Hexen2%20GameData/gamedata-1.29b:data \ SF/${PORTNAME}/Hexen2%20GameData/hexenworld-pakfiles:hw DISTNAME= hexen2source-${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ gamedata-all-1.29b${EXTRACT_SUFX}:data DIST_SUBDIR= ${PORTNAME} MAINTAINER= ip@unixway.org COMMENT= Hexen II source port supporting Linux/FreeBSD/Unix/Windows LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gl gmake pkgconfig sdl tar:tgz USE_GL= gl USE_SDL= sdl MAKE_ARGS= X11BASE="${LOCALBASE}" MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS FLAC MIKMOD OGG OPUS OPTIONS_DEFINE_i386= ASM OPTIONS_DEFAULT= HEXEN2 HW MAD OGG VORBIS OPTIONS_DEFAULT_i386= ASM OPTIONS_MULTI= BIN OPTIONS_MULTI_BIN= HEXEN2 HW H2PATCH OPTIONS_RADIO= MP3LIB VORBISLIB OPTIONS_RADIO_MP3LIB= MAD MPG123 OPTIONS_RADIO_VORBISLIB= TREMOR VORBIS OPTIONS_SUB= yes H2PATCH_DESC= Build game data patching tool HEXEN2_DESC= Build Hexen II clients and servers HW_DESC= Build HexenWorld clients and servers MP3LIB_DESC= MP3 audio codec VORBISLIB_DESC= Vorbis audio codec ASM_BUILD_DEPENDS= nasm:devel/nasm ASM_MAKE_ARGS_OFF= USE_X86_ASM=no FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_MAKE_ARGS= USE_CODEC_FLAC=yes H2PATCH_MAKE_ARGS= BUILD_H2PATCH=yes HEXEN2_MAKE_ARGS= BUILD_HEXEN2=yes HW_DISTFILES= hexenworld-pakfiles-0.15${EXTRACT_SUFX}:hw HW_MAKE_ARGS= BUILD_HW=yes MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_MAKE_ARGS= MP3LIB=mad MIKMOD_LIB_DEPENDS= libmikmod.so:audio/libmikmod MIKMOD_MAKE_ARGS= USE_CODEC_MIKMOD=yes MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 MPG123_MAKE_ARGS= MP3LIB=mpg123 OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_MAKE_ARGS_OFF= USE_CODEC_OGG=no OPUS_IMPLIES= OGG OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile OPUS_MAKE_ARGS= USE_CODEC_OPUS=yes TREMOR_IMPLIES= OGG TREMOR_LIB_DEPENDS= libvorbisidec.so:audio/libtremor TREMOR_MAKE_ARGS= VORBISLIB=tremor VORBIS_IMPLIES= OGG VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_MAKE_ARGS= VORBISLIB=vorbis .include .if !${PORT_OPTIONS:MMAD} && !${PORT_OPTIONS:MMPG123} MAKE_ARGS+= USE_CODEC_MP3=no .endif .if !${PORT_OPTIONS:MTREMOR} && !${PORT_OPTIONS:MVORBIS} MAKE_ARGS+= USE_CODEC_VORBIS=no .endif post-extract: @${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC} post-patch: .for f in engine/hexen2/Makefile engine/hexenworld/client/Makefile \ engine/hexenworld/server/Makefile hw_utils/hwmaster/Makefile \ libs/timidity/Makefile h2patch/Makefile @${REINPLACE_CMD} -e \ '/^CPU_X86/s|=.*|=| ; \ /^CFLAGS/s| -g | | ; \ /^CFLAGS/s| -O2 | | ;' ${WRKSRC}/${f} .endfor .for f in engine/h2shared/cd_bsd.c @${REINPLACE_CMD} -e \ 's|"acd0"|"cd0"|' ${WRKSRC}/${f} .endfor .for f in engine/hexen2/sys_unix.c engine/hexenworld/client/sys_unix.c @${REINPLACE_CMD} -e \ '/parms.basedir/s|= cwd;|= "${DATADIR}";|' ${WRKSRC}/${f} .endfor do-install: cd ${WRKDIR} && \ ${COPYTREE_SHARE} data1 ${STAGEDIR}${DATADIR} && \ ${COPYTREE_SHARE} portals ${STAGEDIR}${DATADIR} post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} post-install-H2PATCH-on: ${INSTALL_PROGRAM} ${WRKSRC}/h2patch/h2patch ${STAGEDIR}${PREFIX}/bin cd ${WRKDIR} && ${COPYTREE_SHARE} patchdat ${STAGEDIR}${DATADIR} post-install-HEXEN2-on: ${INSTALL_PROGRAM} ${WRKSRC}/engine/hexen2/glhexen2 ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/engine/hexen2/hexen2 ${STAGEDIR}${PREFIX}/bin post-install-HW-on: ${INSTALL_PROGRAM} ${WRKSRC}/engine/hexenworld/client/glhwcl ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/engine/hexenworld/client/hwcl ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/engine/hexenworld/server/hwsv ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/hw_utils/hwmaster/hwmaster ${STAGEDIR}${PREFIX}/bin cd ${WRKDIR} && ${COPYTREE_SHARE} hw ${STAGEDIR}${DATADIR} .include diff --git a/games/ultimatestunts/Makefile b/games/ultimatestunts/Makefile index 81f0dcd6aeb1..d87d975c8f44 100644 --- a/games/ultimatestunts/Makefile +++ b/games/ultimatestunts/Makefile @@ -1,78 +1,78 @@ # Created by: Andrew Pantyukhin PORTNAME= ultimatestunts PORTVERSION= 0.7.7.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/sourcecode \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTNAME= ${PORTNAME}-srcdata-${PORTVERSION:S/.//g} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX}:icons MAINTAINER= ports@FreeBSD.org COMMENT= Racing game with elaborate stunts LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libvorbisfile.so:audio/libvorbis USES= compiler gettext gl gnome openal:al,alut pkgconfig sdl USE_GL= gl glu USE_SDL= sdl image GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-openal MAKE_JOBS_UNSAFE= yes CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing CPPFLAGS+= $$(pkgconf --cflags-only-I sdl) LDFLAGS+= $$(pkgconf --libs-only-L sdl) LDFLAGS_i386= -Wl,-z,notext PORTDOCS= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 DESKTOP_ENTRIES="Ultimate Stunts" "" "${PORTNAME}" \ "ustunts" "Game;ArcadeGame;" "" .include post-extract: @${FIND} ${WRKSRC} -name .svn -print0 | ${XARGS} -0 ${RM} -r @(cd ${WRKSRC} && ${CP} ${PORTNAME}.conf.in ${PORTNAME}.conf) post-patch: ${REINPLACE_CMD} -e 's|@usdatadir@|${DATADIR}|; \ s|@PACKAGE_VERSION@|${PORTVERSION:R}|' \ ${WRKSRC}/${PORTNAME}.conf ${REINPLACE_CMD} -e 's|^localedir.*|localedir = ${DATADIR}/lang|' \ ${WRKSRC}/po/Makefile.in.in ${REINPLACE_CMD} -e 's|$${usdatadir}|${STAGEDIR}${DATADIR}|; \ s|lang ||' \ ${WRKSRC}/data/Makefile.in .if ! ${PORT_OPTIONS:MNLS} ${REINPLACE_CMD} -e 's|install-exec install-data|install-exec|' \ ${WRKSRC}/po/Makefile.in.in .endif 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 ${RLN} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps .if ${PORT_OPTIONS:MDOCS} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .endif .include diff --git a/games/valyriatear/Makefile b/games/valyriatear/Makefile index 345dfe4e2287..cb129bfe748e 100644 --- a/games/valyriatear/Makefile +++ b/games/valyriatear/Makefile @@ -1,50 +1,50 @@ PORTNAME= valyriatear PORTVERSION= 1.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open Source J-RPG based on the Hero of Allacrost engine # Valyria Tear underwent a licensing audit. # The main game is GPLv2 but artwork/music/fonts are a variety of licenses: # GPLv2, GPLv3 (with font exception), OFL-1.1, CC0, CC-BY-3, and CC-BY-SA-3. LICENSE= GPLv2 LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libvorbis.so:audio/libvorbis \ libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= Bertram25 GH_PROJECT= ValyriaTear GH_TUPLE= ValyriaTear:luabind:76d4061:luabind/src/luabind \ ValyriaTear:vt-utils:299411e:utils/src/utils USES= alias cmake compiler:c++11-lang gettext-tools gl gnome iconv \ lua:51 openal sdl xorg CMAKE_ARGS= -DUSE_PCH_COMPILATION=OFF USE_SDL= sdl2 image2 ttf2 USE_GL= gl glu glew USE_XORG= x11 xext sm ice INSTALLS_ICONS= yes LDFLAGS_i386= -Wl,-znotext PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes #NLS_CMAKE_OFF= -DDISABLE_TRANSLATIONS:BOOL=ON # broken, so be happy with just not installing translation files NLS_USES= gettext post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/CMake/Modules/*.cmake post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/MANUAL ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/vamos/Makefile b/games/vamos/Makefile index cc0baf0a7f85..aa63c5b5a01e 100644 --- a/games/vamos/Makefile +++ b/games/vamos/Makefile @@ -1,73 +1,73 @@ # Created by: ijliao PORTNAME= vamos PORTVERSION= 0.7.1 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX}:icons MAINTAINER= ports@FreeBSD.org COMMENT= Automotive simulation framework LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libpng.so:graphics/png USES= compiler:c++11-lang gl gnome libtool openal:al,alut pkgconfig \ sdl xorg USE_CXXSTD= c++98 USE_XORG= sm ice x11 xi xext xmu USE_GL= glut USE_SDL= sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= ac_cv_lib_freeglut_glutGetModifiers=no \ --disable-unit-tests USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib LDFLAGS_i386= -Wl,-znotext INFO= vamos PORTDOCS= * OPTIONS_DEFINE= DOCS INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 DESKTOP_ENTRIES="Vamos" "" ${PORTNAME} \ "${PORTNAME}" "Game;ArcadeGame;" "" post-extract: @${CHMOD} ${BINMODE} ${WRKSRC}/config/install-sh post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ '/^AM_CXXFLAGS/s| -pedantic|| ; \ /^AM_CXXFLAGS/s| -O[[:alnum:]]|| ; \ /^AM_CXXFLAGS/s| -g|| ; \ /^AM_CXXFLAGS/s| -DBOOST_TEST_DYN_LINK|| ; \ /^AM_CXXFLAGS/s| -L/usr/lib/boost||' post-install: .for l in geometry media body track world ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvamos-${l}.so.0 .endfor .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 ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog README TODO doc/matrixfaq.htm" \ ${STAGEDIR}${DOCSDIR} .include diff --git a/games/violetland/Makefile b/games/violetland/Makefile index bbfb1ddd7a74..0f3787cbc9b2 100644 --- a/games/violetland/Makefile +++ b/games/violetland/Makefile @@ -1,42 +1,42 @@ PORTNAME= violetland PORTVERSION= 0.5 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Top-down survival shoot 'em up LICENSE= GPLv3 CC-BY-SA-3.0 LICENSE_COMB= multi #LICENSE_FILE_GPLv3= "${WRKSRC}/LICENSE (code)" # framework doesn't handle these properly #LICENSE_FILE_CC-BY-SA-3.0= "${WRKSRC}/LICENSE (content)" LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= ooxi GH_TUPLE= jarro2783:CMake-Gettext:6ee6405:cmakegettext/lib/CMake-Gettext USES= cmake compiler:c++11-lang gettext gl sdl USE_SDL= sdl mixer image ttf USE_GL= gl glu USE_CXXSTD= c++11 CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}" \ -DLOCALE_INSTALL_DIR="${PREFIX}/share/locale" PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-install: ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/icon-light.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG.md README.md README_RU.TXT \ ${STAGEDIR}${DOCSDIR} .include diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile index ce9876cd1533..c3b1e1026a28 100644 --- a/games/warzone2100/Makefile +++ b/games/warzone2100/Makefile @@ -1,66 +1,67 @@ PORTNAME= warzone2100 PORTVERSION= 4.0.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}_src DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Innovative 3D real-time strategy game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= 7z:archivers/p7zip \ a2x:textproc/asciidoc LIB_DEPENDS= libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg \ libtheora.so:multimedia/libtheora \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsodium.so:security/libsodium \ libcurl.so:ftp/curl \ libsqlite3.so:databases/sqlite3 \ libminiupnpc.so:net/miniupnpc RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu USES= cmake bison compiler:c++11-lib gl openal:al pkgconfig \ sdl tar:xz USE_GL= gl USE_SDL= sdl2 CMAKE_ARGS= -DWZ_DISTRIBUTOR="FreeBSD ports" \ -DCMAKE_DISABLE_FIND_PACKAGE_Asciidoctor=TRUE \ -DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE \ -DWZ_ENABLE_WARNINGS_AS_ERRORS=FALSE \ -DFETCHCONTENT_FULLY_DISCONNECTED=TRUE WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= VULKAN DOCS NLS OPTIONS_DEFAULT=VULKAN OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_BOOL= ENABLE_NLS VULKAN_DESC= Enable Vulkan backend VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers \ ${LOCALBASE}/bin/glslc:graphics/shaderc VULKAN_CMAKE_BOOL= WZ_ENABLE_BACKEND_VULKAN post-patch: @${FIND} ${WRKSRC} -type f -iname "*cmake*" -exec \ ${REINPLACE_CMD} -i '' -e '/find_package(Git/d' {} \; post-extract: .for bundled in miniupnp SQLiteCpp/sqlite3 @${RM} -rf ${WRKSRC}/3rdparty/${bundled} .endfor .include diff --git a/games/widelands/Makefile b/games/widelands/Makefile index a6b76680a638..6723d30c7203 100644 --- a/games/widelands/Makefile +++ b/games/widelands/Makefile @@ -1,46 +1,46 @@ # Created by: Bartosz Fabianowski PORTNAME= widelands DISTVERSION= build21 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= https://launchpad.net/widelands/${DISTVERSION}/${DISTVERSION}/+download/ \ https://mirror.amdmi3.ru/distfiles/ EXTRACT_SUFX= -source.tar.gz MAINTAINER= amdmi3@FreeBSD.org COMMENT= Realtime strategy game inspired by Settlers II LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libicuuc.so:devel/icu \ libboost_regex.so:devel/boost-libs USES= cmake compiler:c++11-lib gettext gl python:build sdl CMAKE_ARGS= -DWL_INSTALL_BASEDIR="${PREFIX}" \ -DWL_INSTALL_DATADIR="${DATADIR}" \ -DWL_INSTALL_DOCDIR="${DOCSDIR}" \ -DWL_VERSION="${DISTVERSION}" \ -DWL_OPTIMIZE_FLAGS="" USE_GL= gl glew USE_SDL= sdl2 mixer2 image2 ttf2 PORTDATA= * PORTDOCS= * DESKTOP_ENTRIES="Widelands" \ "" \ "${DATADIR}/pics/wl-ico-64.png" \ "widelands" \ "Game;StrategyGame;" \ "" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/*.cmake .include diff --git a/games/wizznic/Makefile b/games/wizznic/Makefile index 713b015af989..a5557b425a0f 100644 --- a/games/wizznic/Makefile +++ b/games/wizznic/Makefile @@ -1,49 +1,50 @@ # Created by: Rusmir Dusko PORTNAME= wizznic PORTVERSION= 1.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Implementation of the arcade classic Puzznic LICENSE= GPLv3+ LIB_DEPENDS= libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= DusteDdk GH_PROJECT= Wizznic USES= gmake sdl tar:bzip2 USE_SDL= image mixer sdl MAKE_ENV= DATADIR=${DATADIR}/ MAKEFILE= Makefile.linux PORTDOCS= * PORTDATA= * PLIST_FILES= bin/wizznic share/man/man6/wizznic.6.gz DESKTOP_ENTRIES="Wizznic!" "" "${DATADIR}/packs/001_wizznic/icon.png" \ "${PORTNAME}" "Game;LogicGame;" false OPTIONS_DEFINE= OPENGL DOCS OPTIONS_DEFAULT=OPENGL OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_MAKE_ENV_OFF= WITH_OPENGL=false do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wizznic ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC} && ${COPYTREE_SHARE} "data packs" ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/doc/wizznic.6 ${STAGEDIR}${MAN6PREFIX}/share/man/man6 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ .for f in changelog.txt credits.txt music-score-credits.txt ports.txt readme.txt ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/games/worldofpadman/Makefile b/games/worldofpadman/Makefile index 78d4f6789e24..795de590d5a7 100644 --- a/games/worldofpadman/Makefile +++ b/games/worldofpadman/Makefile @@ -1,159 +1,159 @@ # Created by: Alejandro Pulver PORTNAME= worldofpadman PORTVERSION= 1.2.20080621 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= games MASTER_SITES= ftp://ftp.snt.utwente.nl/pub/games/worldofpadman/linux/:full,update \ LOCAL/alepulver/:source DISTFILES= worldofpadman.run:full \ wop_patch_1_2.run:update \ ${SRC_FILE}.tar.bz2:source EXTRACT_ONLY= worldofpadman.run \ wop_patch_1_2.run MAINTAINER= ports@FreeBSD.org COMMENT= Open source FPS game inspired by the Padman comic strip USES= gmake makeself MAKE_ENV= DEFAULT_BASEDIR="${DATADIR}" PTHREAD_LIBS="-lpthread" ALL_TARGET= release SRC_FILE= ${PORTNAME}-${PORTVERSION} VM_ARCHS= amd64 i386 powerpc powerpc64 PLIST_FILES= share/pixmaps/worldofpadman.png PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= CURL CURL_DLOPEN GAMELIBS MP3 OPENAL OPENAL_DLOPEN \ OPTIMIZED_CFLAGS VORBIS DOCS OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT SERVER SMP_CLIENT OPTIONS_DEFAULT= CLIENT CURL CURL_DLOPEN SERVER OPTIMIZED_CFLAGS \ VORBIS SMP_CLIENT OPTIONS_SUB= yes FLAVOR_DESC= Clients and servers CLIENT_DESC= Build client CURL_DLOPEN_DESC= Enable dynamic loading of cURL SERVER_DESC= Build dedicated server GAMELIBS_DESC= Force building game libraries OPENAL_DLOPEN_DESC= Enable dynamic loading of OpenAL SMP_CLIENT_DESC= Build SMP (threaded) client .include .for arch in ${ARCH} . if ${VM_ARCHS:M${arch}} != "" HAVE_VM_COMPILED= yes . endif .endfor .if defined(HAVE_VM_COMPILED) MAKE_ENV+= HAVE_VM_COMPILED=true .endif .if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP_CLIENT} # cURL . if ${PORT_OPTIONS:MCURL} LIB_DEPENDS+= libcurl.so:ftp/curl MAKE_ENV+= USE_CURL=1 . if ${PORT_OPTIONS:MCURL_DLOPEN} MAKE_ENV+= USE_CURL_DLOPEN=1 . endif . endif # OpenAL . if ${PORT_OPTIONS:MOPENAL} USES+= openal:al MAKE_ENV+= USE_OPENAL=1 . if ${PORT_OPTIONS:MOPENAL_DLOPEN} MAKE_ENV+= USE_OPENAL_DLOPEN=1 . endif . endif # SDL USES+= gl sdl USE_GL= glu USE_SDL= sdl # Vorbis . if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= libvorbis.so:audio/libvorbis MAKE_ENV+= USE_CODEC_VORBIS=1 . endif .endif .if ${PORT_OPTIONS:MCLIENT} MAKE_ENV+= BUILD_CLIENT=1 WOPBIN+= wop PLIST_FILES+= bin/worldofpadman .endif .if ${PORT_OPTIONS:MSERVER} MAKE_ENV+= BUILD_SERVER=1 WOPBIN+= wopded PLIST_FILES+= bin/worldofpadmanded .endif .if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED) MAKE_ENV+= BUILD_GAME_SO=1 .endif .if ${PORT_OPTIONS:MMP3} LIB_DEPENDS+= libmad.so:audio/libmad MAKE_ENV+= USE_CODEC_MP3=1 .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MAKE_ENV+= USE_OPTIMIZED_CFLAGS=1 .endif .if ${PORT_OPTIONS:MSMP_CLIENT} MAKE_ENV+= BUILD_CLIENT_SMP=1 WOPBIN+= wop-smp PLIST_FILES+= bin/worldofpadman-smp .endif post-extract: @${TAR} jxf ${DISTDIR}/${SRC_FILE}.tar.bz2 -C ${WRKDIR} @${MKDIR} ${WRKDIR}/wop .for f in wop-data wop-data-1.2 extras @cd ${WRKDIR} && ${TAR} xf ${f}.tar -C wop .endfor @cd ${WRKDIR} && ${TAR} xf readme.tar post-patch: # Do not log debug output of bots (can be enabled with "homedir"/"gamedir") @${REINPLACE_CMD} -e 's|"botlib\.log"|"/dev/null"|' \ ${WRKSRC}/code/botlib/be_interface.c @${REINPLACE_CMD} '/callMask/ s|static||' \ ${WRKSRC}/code/qcommon/vm_x86.c @${REINPLACE_CMD} 's|-falign-loops=2||; s|-falign-jumps=2||' \ ${WRKSRC}/Makefile do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/wop ${CP} -a ${WRKDIR}/wop/* ${STAGEDIR}${DATADIR}/wop ${INSTALL_DATA} ${WRKDIR}/wop.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .for bin in ${WOPBIN} # Rename wop* -> worldofpadman* to avoid conflicts with `games/wop' ${INSTALL_PROGRAM} ${WRKSRC}/build/release/${bin} \ ${STAGEDIR}${PREFIX}/bin/${bin:S/wop/${PORTNAME}/} .endfor .if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED) ${INSTALL_PROGRAM} ${WRKSRC}/build/release/baseq3/*.so \ ${STAGEDIR}${DATADIR}/wop .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -a ${WRKDIR}/readme/* ${STAGEDIR}${DOCSDIR} generate-distfile: @if [ -f ${DISTDIR}/${SRC_FILE}.tar.bz2 ]; then \ ${ECHO_CMD} "ERROR: the distfile already exists."; \ ${FALSE}; \ fi svn export https://wop-engine.svn.sourceforge.net/svnroot/wop-engine/trunk ${SRC_FILE} tar cjf ${DISTDIR}/${SRC_FILE}.tar.bz2 ${SRC_FILE} ${RM} -r ${SRC_FILE} .include diff --git a/games/wyrmgus/Makefile b/games/wyrmgus/Makefile index ffef46a52118..fec2257dbb1b 100644 --- a/games/wyrmgus/Makefile +++ b/games/wyrmgus/Makefile @@ -1,48 +1,49 @@ # Created by: Travis Poppe PORTNAME= wyrmgus PORTVERSION= 4.1.4 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= games devel MAINTAINER= amdmi3@FreeBSD.org COMMENT= Modified Stratagus engine for Wyrmsun LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtolua++-${LUA_VER}.so:lang/tolua++ BUILD_DEPENDS= ${LOCALBASE}/include/boost/tokenizer.hpp:devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= Andrettin GH_PROJECT= Wyrmgus USES= cmake compiler:c++17-lang lua:51 pkgconfig sdl sqlite qt:5 xorg USE_QT= core gui widgets multimedia location declarative network \ qmake_build buildtools_build USE_XORG= x11 USE_SDL= sdl mixer CMAKE_ARGS= -DGAMEDIR:STRING="bin" \ -DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \ -DTOLUA++_INCLUDE_DIR:STRING="${LUA_INCDIR}" \ -DTOLUA++_LIBRARY:STRING="${LUA_LIBDIR}/libtolua++.so" \ -DENABLE_USEGAMEDIR:BOOL=OFF PORTDOCS= * PLIST_FILES= bin/${PORTNAME} \ share/pixmaps/wyrmsun.ico OPTIONS_DEFINE= OPENGL DOCS OPTIONS_DEFAULT=OPENGL OPENGL_USES= gl OPENGL_USE= GL=gl,glu OPENGL_CMAKE_ON= -DWITH_RENDERER="OpenGL" OPENGL_CMAKE_OFF= -DWITH_RENDERER="NativeSDL" post-install: ${INSTALL_DATA} ${WRKSRC}/src/win32/wyrmsun.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile index 552c34ceeb74..ae5eca40d627 100644 --- a/games/xmoto/Makefile +++ b/games/xmoto/Makefile @@ -1,68 +1,68 @@ PORTNAME= xmoto PORTVERSION= 0.5.11 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MASTER_SITES= http://download.tuxfamily.org/xmoto/xmoto/${PORTVERSION}/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Challenging 2D motocross platform game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libode.so:devel/ode \ libpng.so:graphics/png \ libcurl.so:ftp/curl \ libxdg-basedir.so:x11/libxdg-basedir GNU_CONFIGURE= yes USES= compiler:c++11-lang dos2unix gl gmake gnome jpeg localbase lua:51 sdl sqlite xorg USE_GNOME= libxml2 USE_SDL= sdl mixer ttf net USE_GL= gl glu USE_CXXSTD= c++11 USE_XORG= x11 DOS2UNIX_GLOB= *.cpp *.h CPPFLAGS+= -isystem${LUA_INCDIR} LDFLAGS+= -L${LUA_LIBDIR} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= README ChangeLog PORTDATA= * DESKTOP_ENTRIES="XMoto" \ "Motorcross game" \ "${DATADIR}/xmoto_icone_x.ico" \ "xmoto" \ "Game;SportsGame;ArcadeGame;" \ false OPTIONS_DEFINE= ASIAN_TTF DOCS NLS OPTIONS_SUB= yes ASIAN_TTF_DESC= Use asian TTF font ASIAN_TTF_RUN_DEPENDS= ${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf:chinese/arphicttf ASIAN_TTF_CONFIGURE_ON= --with-asian-ttf-file=${LOCALBASE}/share/fonts/TrueType/bsmi00lp.ttf ASIAN_TTF_CONFIGURE_OFF=--without-asian-ttf-file NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-extract: @${RM} -r ${WRKSRC}/src/ode post-patch: @${REINPLACE_CMD} -e "s/lua5.1/lua-${LUA_VER}/g" ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/games/xorgramana/Makefile b/games/xorgramana/Makefile index 70fe40987fa2..cbec4ce880f1 100644 --- a/games/xorgramana/Makefile +++ b/games/xorgramana/Makefile @@ -1,41 +1,41 @@ PORTNAME= xorgramana PORTVERSION= 0.0.8 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= http://www.jwm-art.net/XorGramana/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= XorGramana-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Logic word puzzle game set inside a series of mazes USES= gl gmake sdl tar:bzip2 USE_SDL= sdl image USE_GL= glu ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * DESKTOP_ENTRIES="XorGramana" \ "Logic word puzzle game set inside a series of mazes" \ "${DATADIR}/GFX/x.png" \ "xorgramana" \ "Game;LogicGame;" \ false OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "data GFX" ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/games/zaz/Makefile b/games/zaz/Makefile index 9af2d35e4445..213bb49ccb08 100644 --- a/games/zaz/Makefile +++ b/games/zaz/Makefile @@ -1,48 +1,49 @@ PORTNAME= zaz PORTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Puzzle game where the player has to arrange balls in triplets LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libtheora.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis \ libftgl.so:graphics/ftgl USES= compiler:c++11-lang desktop-file-utils gl pkgconfig sdl GNU_CONFIGURE= yes USE_SDL= sdl image USE_GL= gl glu CPPFLAGS+= -I${LOCALBASE}/include/freetype2 -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-icondir="${PREFIX}/share/pixmaps" PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS .include # Unconditially disable NLS for now: the game segfaults with 8bit locales #.if ${PORT_OPTIONS:MNLS} #USES+= gettext #PLIST_SUB+= NLS="" #.else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " #.endif post-patch: @${REINPLACE_CMD} -e '/^zazdocdir =/ s|$${prefix}/doc|$${prefix}/share/doc|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/PKG_CONFIG/ s|vorbisfile |&vorbis |' \ ${WRKSRC}/configure.ac ${WRKSRC}/configure .include diff --git a/graphics/Coin/Makefile b/graphics/Coin/Makefile index efc9a7fbb722..2c48935d0e5e 100644 --- a/graphics/Coin/Makefile +++ b/graphics/Coin/Makefile @@ -1,46 +1,46 @@ # Created by: roland.jesse@gmx.net PORTNAME= Coin PORTVERSION= 4.0.0 DISTVERSIONPREFIX= Coin- -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics PATCH_SITES= https://github.com/unrelentingtech/coin/commit/ PATCHFILES+= 3053d28b74d.patch:-p1 # Unbreak non-X11 MAINTAINER= cmt@FreeBSD.org COMMENT= C++ 3D graphics library based on the Open Inventor API LICENSE= BSD3CLAUSE BUILD_DEPENDS= boost-libs>0:devel/boost-libs LIB_DEPENDS= libsimage.so:graphics/simage USES= gl openal:al libtool pathfix xorg USE_GITHUB= yes GH_ACCOUNT= coin3d GH_PROJECT= coin USE_GL= gl USE_XORG= ice sm x11 xext xt GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pthread=yes --enable-threadsafe \ --enable-3ds-import --enable-sound \ --enable-javascript-api --enable-debug=no USE_LDCONFIG= yes INSTALL_TARGET= install-strip pre-configure: @${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' \ ${WRKSRC}/Makefile.in @${FIND} ${WRKSRC} \( -name \*.cpp -o -name \*.h -a \! \ -name expat.h \) -a -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} 's///g' post-build: @${REINPLACE_CMD} -e '/^ldflags=/s|-R|-Wl,-rpath,|' \ ${WRKSRC}/coin-default.cfg .include diff --git a/graphics/anttweakbar/Makefile b/graphics/anttweakbar/Makefile index 78537f3e4dd1..46a345b300da 100644 --- a/graphics/anttweakbar/Makefile +++ b/graphics/anttweakbar/Makefile @@ -1,41 +1,42 @@ PORTNAME= anttweakbar DISTVERSION= 1.16 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/ DISTNAME= AntTweakBar_${DISTVERSION:S/.//} MAINTAINER= yuri@FreeBSD.org COMMENT= C library to add light and GUI into graphic apps LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/../License.txt USES= dos2unix gl xorg zip USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/AntTweakBar WRKSRC_SUBDIR= src DOS2UNIX_FILES= Makefile LoadOGLCore.h TwPrecomp.h LDFLAGS+= -L${LOCALBASE}/lib -lX11 BINARY_ALIAS= gcc=${CC} PLIST_FILES= include/AntTweakBar.h \ lib/libAntTweakBar.a \ lib/libAntTweakBar.so \ lib/libAntTweakBar.so.${DISTVERSION:R} \ lib/libAntTweakBar.so.${DISTVERSION} do-install: ${INSTALL_DATA} ${WRKSRC}/../include/AntTweakBar.h ${STAGEDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/../lib/libAntTweakBar.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/../lib/libAntTweakBar.so ${STAGEDIR}${PREFIX}/lib/libAntTweakBar.so.${DISTVERSION} cd ${STAGEDIR}${PREFIX}/lib && \ ${LN} -s libAntTweakBar.so.${DISTVERSION} libAntTweakBar.so.${DISTVERSION:R} && \ ${LN} -s libAntTweakBar.so.${DISTVERSION} libAntTweakBar.so .include diff --git a/graphics/appleseed/Makefile b/graphics/appleseed/Makefile index 654166e400f0..97e3a9b77d51 100644 --- a/graphics/appleseed/Makefile +++ b/graphics/appleseed/Makefile @@ -1,92 +1,92 @@ # Created by: Alexey Dokuchaev PORTNAME= appleseed DISTVERSION= 2.1.0-beta -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Modern, physically-based production renderer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ liblz4.so:archivers/liblz4 \ libpng.so:graphics/png \ libIlmThread.so:graphics/openexr \ libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libOpenImageIO.so:graphics/openimageio \ libxerces-c.so:textproc/xerces-c3 \ liboslexec.so:graphics/openshadinglanguage USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}hq ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= not ported to it yet USES= cmake compiler:c++11-lang shebangfix SHEBANG_FILES= scripts/*.py CFLAGS+= -I${LOCALBASE}/include/Imath CFLAGS+= -I${LOCALBASE}/include/OpenEXR CMAKE_ARGS= -DWITH_PYTHON2_BINDINGS:BOOL=OFF \ -DWITH_DOXYGEN:BOOL=OFF \ -DINSTALL_HEADERS:BOOL=OFF \ -DINSTALL_TESTS:BOOL=OFF \ -DINSTALL_API_EXAMPLES:BOOL=OFF \ -DWARNINGS_AS_ERRORS:BOOL=OFF .for lib in BOOST EMBREE EXR OCIO OIIO OSL CMAKE_ARGS+= -DUSE_STATIC_${lib}:BOOL=OFF .endfor # Not ready for hier(7)-conforming installation yet CMAKE_INSTALL_PREFIX= ${PREFIX}/${PKGBASE} PLIST_SUB= APPHOME=${CMAKE_INSTALL_PREFIX} SUB_FILES= pkg-message SUB_LIST:= ${PLIST_SUB} OPTIONS_DEFINE= EMBREE PYTHON STUDIO OPTIONS_DEFAULT= PYTHON STUDIO OPTIONS_SUB= yes EMBREE_DESC= Embree intersection backend support EMBREE_LIB_DEPENDS= libembree3.so:graphics/embree EMBREE_CMAKE_ON= -DWITH_EMBREE:BOOL=ON PYTHON_USES= gl python:3.5+,build,run PYTHON_USE= GL=gl PYTHON_CMAKE_ON= -DWITH_PYTHON3_BINDINGS:BOOL=ON STUDIO_DESC= Build appleseed.studio (Qt-based) STUDIO_LIB_DEPENDS= ${PY_BOOST} STUDIO_USES= qt:5 STUDIO_USE= QT=buildtools_build,qmake_build,concurrent,core,gui,opengl,widgets STUDIO_CMAKE_OFF= -DWITH_STUDIO:BOOL=OFF STUDIO_IMPLIES= PYTHON post-patch: @${RMDIR} ${WRKSRC}/sandbox/docs/api @${RM} ${WRKSRC}/sandbox/share/cmake/Modules/FindOpenImageIO.cmake ${REINPLACE_CMD} 's,OpenEXR/Imath,Imath/Imath,' \ ${WRKSRC}/sandbox/share/cmake/Modules/FindImath.cmake \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_quaternion.cpp \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_matrix.cpp \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_quaternion.cpp \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_vector.cpp \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_aabb.cpp \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_color.cpp \ ${WRKSRC}/src/appleseed/foundation/math/vector.h \ ${WRKSRC}/src/appleseed/foundation/math/aabb.h \ ${WRKSRC}/src/appleseed/foundation/math/matrix.h \ ${WRKSRC}/src/appleseed/foundation/math/quaternion.h \ ${WRKSRC}/src/appleseed/foundation/image/color.h .include PATCH_ARGS+= -l diff --git a/graphics/blender-lts28/Makefile b/graphics/blender-lts28/Makefile index 32703ac2f207..37aa5f38c30a 100644 --- a/graphics/blender-lts28/Makefile +++ b/graphics/blender-lts28/Makefile @@ -1,216 +1,216 @@ PORTNAME= blender DISTVERSION= 2.83.15 -PORTREVISION= 1 +PORTREVISION= 2 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/ # long term support v2.8x PKGNAMESUFFIX= -lts28 MAINTAINER= FreeBSD@Shaneware.biz COMMENT= 3D modeling/rendering/animation package - LTS LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license/GPL3-license.txt BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libboost_regex.so:devel/boost-libs 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 compiler:c++14-lang gl gnome jpeg python:3.7 shebangfix \ tar:xz xorg USE_XORG= x11 xext xfixes xmu xrender USE_GL= gl glu glew INSTALLS_ICONS= yes CMAKE_OFF= WITH_IMAGE_OPENJPEG WITH_PYTHON_INSTALL \ WITH_PYTHON_INSTALL_NUMPY WITH_INSTALL_PORTABLE \ WITH_CYCLES_LOGGING SUB_FILES= blender SHEBANG_FILES= release/bin/blender-thumbnailer.py \ release/scripts/modules/bl_i18n_utils/merge_po.py \ release/scripts/modules/bl_i18n_utils/utils_rtl.py \ release/scripts/modules/blend_render_info.py CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CFLAGS_i386= -march=i586 CXXFLAGS_i386= -march=i586 # Use LLVM linker where available .if exists(/usr/bin/ld.lld) && (${/usr/bin/ld:L:tA} != /usr/bin/ld.lld) LDFLAGS+= -fuse-ld=lld .endif # prevent conflict with other blender versions DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} PLIST_SUB+= VER=${DISTVERSION:R} SUFFIX=${PKGNAMESUFFIX} OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic # note that this needs to be set to match alembics hdf5 option ALEMBIC_HDF5_IMPLIES= ALEMBIC ALEMBIC_HDF5_CMAKE_BOOL= WITH_ALEMBIC_HDF5 ALEMBIC_HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_CMAKE_BOOL= WITH_LIBMV CAMERATRACK_LIB_DEPENDS= libunwind.so:devel/libunwind CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USE= GNOME=libxml2 COLLADA_USES= gnome COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR CYCLES_IMPLIES= OPENIMAGEIO CYCLES_CMAKE_BOOL= WITH_CYCLES CYCLES_LIB_DEPENDS= libpugixml.so:textproc/pugixml CYCLESEMBR_IMPLIES= CYCLES CYCLESEMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE CYCLESEMBR_LIB_DEPENDS= libembree3.so:graphics/embree CYCLESOSL_IMPLIES= CYCLES CYCLESOSL_CMAKE_BOOL= WITH_CYCLES_OSL WITH_LLVM CYCLESOSL_CMAKE_ON= -DLLVM_STATIC:BOOL=OFF \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VER}" \ -DOSL_ROOT_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/" CYCLESOSL_BUILD_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} CYCLESOSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLESOSL_RUN_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} DDS_CMAKE_BOOL= WITH_IMAGE_DDS DRACO_CMAKE_BOOL= WITH_DRACO FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LDFLAGS= -L${PREFIX}/lib -lflite -lflite_cmu_us_kal -lflite_cmulex -lflite_usenglish FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libflite_cmu_us_kal.so:audio/flite FFTW3_CMAKE_BOOL= WITH_FFTW3 FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 FRAMESERVER_CMAKE_BOOL= WITH_IMAGE_FRAMESERVER FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE HDR_CMAKE_BOOL= WITH_IMAGE_HDR HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_CMAKE_BOOL= WITH_JACK JACK_LIB_DEPENDS= libjack.so:audio/jack LZO_CMAKE_BOOL= WITH_LZO LZMA_CMAKE_BOOL= WITH_LZMA MENU_USES= desktop-file-utils MOD_BOOLEAN_CMAKE_BOOL= WITH_MOD_BOOLEAN 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 MOD_SMOKE_CMAKE_BOOL= WITH_MOD_SMOKE NLS_CMAKE_BOOL= WITH_INTERNATIONAL # 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 iconv:lib,wchar_t OPENAL_CMAKE_BOOL= WITH_OPENAL OPENAL_USES= openal:al,alut OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp03.so:devel/yaml-cpp03 \ libtinyxml.so:textproc/tinyxml OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENIMAGEIO_IMPLIES= OPENEXR TIFF OPENIMAGEIO_CMAKE_BOOL= WITH_OPENIMAGEIO OPENIMAGEIO_LIB_DEPENDS= libOpenImageIO.so:graphics/openimageio OPENIMAGEDN_CMAKE_BOOL= WITH_OPENIMAGEDENOISE OPENIMAGEDN_LIB_DEPENDS= libOpenImageDenoise.so:graphics/oidn # openmp usually works on amd64 OPENMP_CMAKE_BOOL= WITH_OPENMP OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv OPENVDB_CMAKE_BOOL= WITH_OPENVDB WITH_OPENVDB_BLOSC OPENVDB_LIB_DEPENDS= libblosc.so:archivers/c-blosc \ libopenvdb.so:misc/openvdb \ libtbb.so:devel/onetbb RAYOPTIMIZATION_CMAKE_BOOL= WITH_RAYOPTIMIZATION SDL_CMAKE_BOOL= WITH_SDL SDL_USE= SDL=sdl2 SDL_USES= sdl SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TIFF_CMAKE_BOOL= WITH_IMAGE_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff XINPUT_CMAKE_BOOL= WITH_X11_XINPUT XINPUT_USE= XORG=xi XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XF86VMODE_USE= XORG=xi,xxf86vm .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DWITH_CPU_SSE:BOOL=OFF .endif .if ${LLVM_DEFAULT:M[678]0} LLVM_VER= 90 .else LLVM_VER= ${LLVM_DEFAULT} .endif post-patch-OPENCOLORIO-on: @${REINPLACE_CMD} -e 's|yaml-cpp|&03|' \ ${PATCH_WRKSRC}/build_files/cmake/Modules/FindOpenColorIO.cmake post-build: @(cd ${WRKSRC}/doc/manpage && \ ${PYTHON_CMD} blender.1.py \ ${INSTALL_WRKSRC}/bin/blender \ ${INSTALL_WRKSRC}/bin/${PORTNAME}.1) post-install: ${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1 # rename files to prevent conflict with other blender versions ${MV} ${STAGEDIR}${PREFIX}/share/blender \ ${STAGEDIR}${PREFIX}/share/blender${PKGNAMESUFFIX} ${MV} ${STAGEDIR}${PREFIX}/share/doc/blender \ ${STAGEDIR}${PREFIX}/share/doc/blender${PKGNAMESUFFIX} ${MV} ${STAGEDIR}${PREFIX}/bin/blender \ ${STAGEDIR}${PREFIX}/bin/blender-bin${PKGNAMESUFFIX} ${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender${PKGNAMESUFFIX} ${MV} ${STAGEDIR}${PREFIX}/bin/blender-thumbnailer.py \ ${STAGEDIR}${PREFIX}/bin/blender${PKGNAMESUFFIX}-thumbnailer.py ${MV} ${STAGEDIR}${PREFIX}/man/man1/blender.1 \ ${STAGEDIR}${PREFIX}/man/man1/blender${PKGNAMESUFFIX}.1 ${MV} ${STAGEDIR}${PREFIX}/share/applications/blender.desktop \ ${STAGEDIR}${PREFIX}/share/applications/blender${PKGNAMESUFFIX}.desktop ${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/blender.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/blender${PKGNAMESUFFIX}.svg ${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/symbolic/apps/blender-symbolic.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/symbolic/apps/blender${PKGNAMESUFFIX}-symbolic.svg 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/blender/Makefile b/graphics/blender/Makefile index 28fb513e1880..2b5851ddc90f 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,202 +1,202 @@ # Created by: Jimmy Olgeni PORTNAME= blender DISTVERSION= 2.91.0 -PORTREVISION= 7 +PORTREVISION= 8 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/ MAINTAINER= FreeBSD@Shaneware.biz COMMENT= 3D modeling/rendering/animation package LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license/GPL3-license.txt NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= uses 64bit atomic functions BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libboost_regex.so:devel/boost-libs 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 compiler:c++14-lang gl gnome jpeg python:3.8 shebangfix \ tar:xz xorg USE_XORG= x11 xext xfixes xmu xrender USE_GL= gl glu glew INSTALLS_ICONS= yes CMAKE_OFF= WITH_IMAGE_OPENJPEG WITH_PYTHON_INSTALL \ WITH_PYTHON_INSTALL_NUMPY WITH_INSTALL_PORTABLE \ WITH_CYCLES_LOGGING SHEBANG_FILES= release/bin/blender-thumbnailer.py \ release/scripts/modules/bl_i18n_utils/merge_po.py \ release/scripts/modules/bl_i18n_utils/utils_rtl.py \ release/scripts/modules/blend_render_info.py CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CFLAGS_i386= -march=i586 CXXFLAGS_i386= -march=i586 # Use LLVM linker where available .if exists(/usr/bin/ld.lld) && (${/usr/bin/ld:L:tA} != /usr/bin/ld.lld) LDFLAGS+= -fuse-ld=lld .endif PLIST_SUB+= VER=${DISTVERSION:R} OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic # note that this needs to be set to match alembics hdf5 option ALEMBIC_HDF5_IMPLIES= ALEMBIC ALEMBIC_HDF5_CMAKE_BOOL= WITH_ALEMBIC_HDF5 ALEMBIC_HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_CMAKE_BOOL= WITH_LIBMV CAMERATRACK_LIB_DEPENDS= libunwind.so:devel/libunwind CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USE= GNOME=libxml2 COLLADA_USES= gnome COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR CYCLES_IMPLIES= OPENIMAGEIO TBB CYCLES_CMAKE_BOOL= WITH_CYCLES CYCLES_LIB_DEPENDS= libpugixml.so:textproc/pugixml CYCLESEMBR_IMPLIES= CYCLES CYCLESEMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE CYCLESEMBR_LIB_DEPENDS= libembree3.so:graphics/embree CYCLESOSL_IMPLIES= CYCLES CYCLESOSL_CMAKE_BOOL= WITH_CYCLES_OSL WITH_LLVM CYCLESOSL_CMAKE_ON= -DLLVM_STATIC:BOOL=OFF \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VER}" \ -DOSL_ROOT_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/" CYCLESOSL_BUILD_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} CYCLESOSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLESOSL_RUN_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} DDS_CMAKE_BOOL= WITH_IMAGE_DDS DRACO_CMAKE_BOOL= WITH_DRACO DRACO_USE= LDCONFIG=${PYTHON_SITELIBDIR} EBOOL_CMAKE_BOOL= WITH_GMP EBOOL_LIB_DEPENDS= libgmp.so:math/gmp FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FFTW3_CMAKE_BOOL= WITH_FFTW3 FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 FRAMESERVER_CMAKE_BOOL= WITH_IMAGE_FRAMESERVER FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE HDR_CMAKE_BOOL= WITH_IMAGE_HDR HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_CMAKE_BOOL= WITH_JACK JACK_LIB_DEPENDS= libjack.so:audio/jack LZO_CMAKE_BOOL= WITH_LZO LZMA_CMAKE_BOOL= WITH_LZMA MENU_USES= desktop-file-utils MOD_BOOLEAN_CMAKE_BOOL= WITH_MOD_BOOLEAN 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 MOD_SMOKE_CMAKE_BOOL= WITH_MOD_SMOKE NLS_CMAKE_BOOL= WITH_INTERNATIONAL # 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 iconv:lib,wchar_t OPENAL_CMAKE_BOOL= WITH_OPENAL OPENAL_USES= openal:al,alut OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp03.so:devel/yaml-cpp03 \ libtinyxml.so:textproc/tinyxml OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENIMAGEIO_IMPLIES= OPENEXR TIFF OPENIMAGEIO_CMAKE_BOOL= WITH_OPENIMAGEIO OPENIMAGEIO_LIB_DEPENDS= libOpenImageIO.so:graphics/openimageio OPENIMAGEDN_IMPLIES= TBB OPENIMAGEDN_CMAKE_BOOL= WITH_OPENIMAGEDENOISE OPENIMAGEDN_LIB_DEPENDS= libOpenImageDenoise.so:graphics/oidn # openmp usually works on amd64 OPENMP_CMAKE_BOOL= WITH_OPENMP OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv OPENVDB_IMPLIES= TBB OPENVDB_CMAKE_BOOL= WITH_OPENVDB WITH_OPENVDB_BLOSC OPENVDB_LIB_DEPENDS= libblosc.so:archivers/c-blosc \ libopenvdb.so:misc/openvdb RAYOPTIMIZATION_CMAKE_BOOL= WITH_RAYOPTIMIZATION SDL_CMAKE_BOOL= WITH_SDL SDL_USE= SDL=sdl2 SDL_USES= sdl SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TIFF_CMAKE_BOOL= WITH_IMAGE_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TRACE_CMAKE_BOOL= WITH_POTRACE TRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace XINPUT_CMAKE_BOOL= WITH_X11_XINPUT XINPUT_USE= XORG=xi XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XF86VMODE_USE= XORG=xi,xxf86vm .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DWITH_CPU_SSE:BOOL=OFF .endif .if ${LLVM_DEFAULT:M[678]0} LLVM_VER= 90 .else LLVM_VER= ${LLVM_DEFAULT} .endif post-patch-OPENCOLORIO-on: @${REINPLACE_CMD} -e 's|yaml-cpp|&03|' \ ${PATCH_WRKSRC}/build_files/cmake/Modules/FindOpenColorIO.cmake post-build: @(cd ${WRKSRC}/doc/manpage && \ ${PYTHON_CMD} blender.1.py \ ${INSTALL_WRKSRC}/bin/blender \ ${INSTALL_WRKSRC}/bin/${PORTNAME}.1) post-install: ${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1 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}/${PREFIX}/share/blender/${DISTVERSION:R}/python post-install-MENU-on: @-update-desktop-database -q .include diff --git a/graphics/bonzomatic/Makefile b/graphics/bonzomatic/Makefile index fc4bc9a00e30..6c934d7d9458 100644 --- a/graphics/bonzomatic/Makefile +++ b/graphics/bonzomatic/Makefile @@ -1,26 +1,27 @@ PORTNAME= bonzomatic DISTVERSION= 2021-03-07 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= Live shader coding tool and Shader Showdown workhorse LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libglfw.so:graphics/glfw BUILD_DEPENDS= ${LOCALBASE}/include/stb/stb_image.h:devel/stb USES= cmake compiler:c++11-lang gl localbase:ldflags pkgconfig xorg USE_GL= gl glu glew USE_XORG= x11 xext xrandr xinerama xcursor xi CMAKE_ON= BONZOMATIC_USE_SYSTEM_GLFW \ BONZOMATIC_USE_SYSTEM_GLEW \ BONZOMATIC_USE_SYSTEM_STB USE_GITHUB= yes GH_ACCOUNT= Gargaj GH_PROJECT= Bonzomatic .include diff --git a/graphics/cegui/Makefile b/graphics/cegui/Makefile index 30bdffd04582..5d33077d0f25 100644 --- a/graphics/cegui/Makefile +++ b/graphics/cegui/Makefile @@ -1,129 +1,129 @@ # Created by: Oliver Lehmann PORTNAME= cegui PORTVERSION= 0.8.7 -PORTREVISION= 16 +PORTREVISION= 17 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 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.3: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/clutter-gtk3/Makefile b/graphics/clutter-gtk3/Makefile index dad1e587b84f..daf6f71673cc 100644 --- a/graphics/clutter-gtk3/Makefile +++ b/graphics/clutter-gtk3/Makefile @@ -1,25 +1,26 @@ # Created by: Martin Wilke PORTNAME= clutter-gtk PORTVERSION= 1.8.4 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GNOME PKGNAMESUFFIX= 3 MAINTAINER= gnome@FreeBSD.org COMMENT= GTK+ Integration library for Clutter LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcogl.so:graphics/cogl \ libclutter-1.0.so:graphics/clutter \ libjson-glib-1.0.so:devel/json-glib USES= gettext gl gnome localbase meson pkgconfig tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr USE_GL= egl USE_LDCONFIG= yes .include diff --git a/graphics/clutter/Makefile b/graphics/clutter/Makefile index 5a180c4e0810..014465d15135 100644 --- a/graphics/clutter/Makefile +++ b/graphics/clutter/Makefile @@ -1,36 +1,37 @@ # Created by: Martin Wilke PORTNAME= clutter PORTVERSION= 1.26.2 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= OpenGL based interactive canvas library LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libcogl.so:graphics/cogl PORTSCOUT= limit:1,even USES= gettext gl gmake gnome libtool localbase pathfix pkgconfig \ tar:xz xorg USE_GNOME= atk cairo gdkpixbuf2 pango introspection:build USE_GL= egl USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --with-x --enable-conformance=no \ --disable-evdev-input \ --enable-egl-backend=yes \ --enable-x11-backend=yes \ --enable-gdk-backend=no \ --enable-wayland-compositor=no INSTALL_TARGET= install-strip .include diff --git a/graphics/cogl/Makefile b/graphics/cogl/Makefile index 574f99d543ec..4e0250f5d0aa 100644 --- a/graphics/cogl/Makefile +++ b/graphics/cogl/Makefile @@ -1,29 +1,30 @@ # Created by: Martin Wilke PORTNAME= cogl PORTVERSION= 1.22.8 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Clutter OpenGL abstraction library LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= clutter-1.6.[0-9]* USES= gettext gl gmake gnome libtool localbase pathfix pkgconfig \ tar:xz xorg GNU_CONFIGURE= yes USE_GNOME= cairo gdkpixbuf2 pango introspection:build USE_GL= egl gbm USE_XORG= x11 xcomposite xext xdamage xfixes xrandr USE_LDCONFIG= yes CONFIGURE_ARGS= --with-x \ --enable-xlib-egl-platform=yes INSTALL_TARGET= install-strip PLIST_SUB= LIBVER=20 LIBVERSION=20.4.3 .include diff --git a/graphics/colmap/Makefile b/graphics/colmap/Makefile index ffb7a1419c77..36c12b4003d1 100644 --- a/graphics/colmap/Makefile +++ b/graphics/colmap/Makefile @@ -1,89 +1,89 @@ PORTNAME= colmap DISTVERSION= 3.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Structure from motion and multi-view stereo LICENSE= BSD2CLAUSE BSD3CLAUSE CC-BY-3.0 GPLv3+ MIT SIFTGPU LICENSE_COMB= multi LICENSE_NAME_SIFTGPU= SiftGPU non-commercial license LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/lib/VLFeat/LICENSE LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/COPYING.txt # also FLANN LICENSE_FILE_CC-BY-3.0= ${WRKSRC}/src/ui/media/LICENSE LICENSE_FILE_GPLv3+ = ${WRKSRC}/lib/PBA/LICENSE # also Graclus, LSD LICENSE_FILE_MIT= ${WRKSRC}/lib/PoissonRecon/LICENSE LICENSE_FILE_SIFTGPU= ${WRKSRC}/lib/SiftGPU/LICENSE LICENSE_PERMS_SIFTGPU= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libglog.so:devel/glog \ libfreeimage.so:graphics/freeimage \ libceres.so:math/ceres-solver USES= cmake compiler:${OPENMP}c++11-lib eigen:3 gl localbase qt:5 \ sqlite USE_GITHUB= yes USE_GL= gl glew USE_QT= qmake_build buildtools_build core gui opengl_build widgets EXCLUDE= SQLite EXTRACT_AFTER_ARGS= ${EXCLUDE:S,^,--exclude lib/,} CMAKE_OFF= BOOST_STATIC CUDA_ENABLED LDFLAGS+= -Wl,--as-needed # gflags, glu, xi, xmu TEST_TARGET= test OPTIONS_DEFINE= CGAL DOCS OPENMP SIMD TEST OPTIONS_DEFAULT= CGAL OPENMP SIMD CGAL_DESC= Graph-cut on Delaunay triangulation based meshing algorithm CGAL_BUILD_DEPENDS= cgal>0:math/cgal CGAL_CMAKE_BOOL= CGAL_ENABLED DOCS_BUILD_DEPENDS= gmake:devel/gmake \ sphinx-build:textproc/py-sphinx \ ${NONEXISTENT}:textproc/py-sphinx_rtd_theme DOCS_PORTDOCS= * OPENMP_USES= compiler:openmp OPENMP_CMAKE_BOOL= OPENMP_ENABLED .if !exists(/usr/include/omp.h) # XXX ports/199603: LLVM openmp in base doesn't support armv6, armv7 yet OPENMP_VARS= OPENMP=gcc- .endif SIMD_CMAKE_BOOL= SIMD_ENABLED TEST_CMAKE_BOOL= TESTS_ENABLED post-patch: # XXX math/flann has -DUSE_OPENMP=OFF and lacks tunning: # https://github.com/colmap/colmap/commit/4b594eb85c13 # https://github.com/colmap/colmap/commit/1e9f1f3324cd @${REINPLACE_CMD} -e '/SQLite/d' \ ${WRKSRC}/lib/CMakeLists.txt @${REINPLACE_CMD} -e 's,SQLite/,,' \ ${WRKSRC}/src/base/database.h \ ${WRKSRC}/src/util/sqlite3_utils.h .if !defined(DISPLAY) # QApplication @${REINPLACE_CMD} -e '/feature_matching_test/d' \ -e '/feature_extraction_test/d' \ ${WRKSRC}/src/base/CMakeLists.txt @${REINPLACE_CMD} -e '/opengl_utils_test/d' \ ${WRKSRC}/src/util/CMakeLists.txt .endif post-build-DOCS-on: @${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} html -C${WRKSRC}/doc pre-install-TEST-on: do-test post-install: # XXX Clean up garbage after install(DIRECTORY) @${FIND} ${STAGEDIR}${PREFIX}/include -type d -empty -delete post-install-DOCS-on: (cd ${WRKSRC}/doc/_build/html && ${COPYTREE_SHARE} \ "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index 5d5af2b9d0e6..95341a338645 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -1,148 +1,148 @@ # Created by: Alexey Dokuchaev PORTNAME= darktable PORTVERSION= 3.4.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ MAINTAINER= dumbbell@FreeBSD.org COMMENT= Virtual lighttable and darkroom for photographers LICENSE= GPLv3 ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le ONLY_FOR_ARCHS_REASON= uses 64-bit address space BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ p5-Pod-Parser>=0:textproc/p5-Pod-Parser \ po4a-translate:textproc/po4a \ xsltproc:textproc/libxslt \ bash:shells/bash LIB_DEPENDS= libcolord-gtk.so:graphics/colord-gtk \ libcolord.so:graphics/colord \ libcurl.so:ftp/curl \ libexiv2.so:graphics/exiv2 \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libpng.so:graphics/png \ libpugixml.so:textproc/pugixml \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff USES= cmake compiler:c++14-lang desktop-file-utils gl gnome jpeg \ pkgconfig shebangfix sqlite tar:xz xorg USE_GL= glu USE_GNOME= cairo gtk30 intltool librsvg2 libxml2 INSTALLS_ICONS= yes USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} USE_XORG= ice sm x11 xext xrandr SHEBANG_FILES= tools/*.sh CMAKE_ARGS+= -DBINARY_PACKAGE_BUILD=1 \ -DBUILD_CMSTEST:BOOL=ON \ -DUSE_KWALLET:BOOL=ON CFLAGS+= -fopenmp LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/} OPTIONS_DEFINE= DOCS GEO GPHOTO GRAPHMAGICK LIBAVIF LIBSECRET LTO LUA \ NLS OPENEXR OPENJPEG PRINT TOOLS WEBP OPTIONS_DEFAULT= GEO GPHOTO LUA OPENEXR OPENJPEG PRINT WEBP OPTIONS_SUB= yes GEO_DESC= Support geotagging LIBAVIF_DESC= Support encoding and decoding .avif files LIBSECRET_DESC= Support libsecret as password backend GEO_LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map GEO_CMAKE_OFF= -DUSE_MAP:BOOL=OFF GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 GPHOTO_CMAKE_OFF= -DUSE_CAMERA_SUPPORT:BOOL=OFF GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GRAPHMAGICK_CMAKE_OFF= -DUSE_GRAPHICSMAGICK:BOOL=OFF LIBAVIF_LIB_DEPENDS= libavif.so:graphics/libavif LIBAVIF_CMAKE_OFF= -DUSE_LIBAVIF:BOOL=OFF LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret LIBSECRET_CMAKE_OFF= -DUSE_LIBSECRET:BOOL=OFF LTO_CMAKE_BOOL= RAWSPEED_ENABLE_LTO LUA_USES= lua:53 LUA_CMAKE_OFF= -DUSE_LUA:BOOL=OFF # FIXME: Even with NLS turned off, darktable(1) is still linked to # libintl.so. NLS_USES= gettext NLS_USES_OFF= gettext-runtime NLS_CMAKE_OFF= -DUSE_NLS:BOOL=OFF NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENEXR_CMAKE_OFF= -DUSE_OPENEXR:BOOL=OFF OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_OFF= -DUSE_OPENJPEG:BOOL=OFF PRINT_LIB_DEPENDS= libcups.so:print/cups PRINT_CMAKE_OFF= -DBUILD_PRINT:BOOL=OFF TOOLS_DESC= Install additional scripts TOOLS_BUILD_DEPENDS= exiftool:graphics/p5-Image-ExifTool TOOLS_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_OFF= -DUSE_WEBP:BOOL=OFF .include .if ${ARCH} == powerpc64le CMAKE_ARGS+= -DUSE_OPENCL:BOOL=OFF CXXFLAGS+= -DGDK_DISABLE_DEPRECATED PLIST_SUB+= NO_OPENCL="@comment " .else PLIST_SUB+= NO_OPENCL="" .endif .include .if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD || ${ARCH} == "i386" LLVM_DEFAULT= 10 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} .endif # work around CMAKE/CCACHE flaw (cmake stomps over ccache) .if "${WITH_CCACHE_BUILD}" == "yes" && !defined(NO_CCACHE) CMAKE_ARGS+= -DCMAKE_C_COMPILER_LAUNCHER=${CCACHE_BIN} \ -DCMAKE_CXX_COMPILER_LAUNCHER=${CCACHE_BIN} .endif .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif # darktable defines the __XOPEN_SOURCE preprocessor macro, which # restricts symbol visibility on FreeBSD and causes compilation failures # on, for instance, the cups_print module, because u_char remains # undefined. Remove _XOPEN_SOURCE maro definitions. post-patch: ${REINPLACE_CMD} '/add_definitions."-D_XOPEN_SOURCE=.*"/d' ${WRKSRC}/CMakeLists.txt post-install-TOOLS-off: @${RM} -f ${STAGEDIR}${DATADIR}/tools/extract_wb_from_images.sh .include diff --git a/graphics/devil/Makefile b/graphics/devil/Makefile index 7ee07947db2b..08da5802f52f 100644 --- a/graphics/devil/Makefile +++ b/graphics/devil/Makefile @@ -1,97 +1,97 @@ # Created by: Andreas Kohn PORTNAME= devil PORTVERSION= 1.7.8 -PORTREVISION= 26 +PORTREVISION= 27 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= SF/openil/DevIL/${PORTVERSION} DISTNAME= DevIL-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Full featured cross-platform image library LICENSE= LGPL21 USES= alias autoreconf gmake libtool localbase pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-ILU --enable-ILUT \ --disable-allegro --disable-directx8 --disable-directx9 \ --without-libsquish INSTALL_TARGET= install-strip USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${DISTNAME:tl} PORTDOCS= * # With EXR the library is not usable from plain C (instant segfault) OPTIONS_DEFINE= JPEG JASPER LCMS MNG PNG TIFF EXR X11 SDL NVTT SIMD DOCS OPTIONS_DEFAULT=JPEG JASPER LCMS MNG PNG TIFF X11 SDL NVTT OPTIONS_DEFAULT_amd64=SIMD JPEG_DESC= Enable JPEG support JASPER_DESC= Enable JPEG2000 support LCMS_DESC= Enable LCMS support MNG_DESC= Enable MNG support PNG_DESC= Enable PNG support TIFF_DESC= Enable TIFF support EXR_DESC= Enable EXR support X11_DESC= Enable X11 support SDL_DESC= Enable SDL support SQUISH_DESC= Enable DXT compression via libsquish NVTT_DESC= Enable NVidia texture tools support SIMD_DESC= Enable SIMD autodetection (AltiVec, SSE3,...) JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpeg JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_CONFIGURE_ENABLE=jp2 LCMS_LIB_DEPENDS= liblcms.so:graphics/lcms LCMS_CONFIGURE_ENABLE= lcms MNG_LIB_DEPENDS= libmng.so:graphics/libmng MNG_CONFIGURE_ENABLE= mng PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_ENABLE= png PNG_CONFIGURE_OFF= libpng_app=no TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_ENABLE= tiff EXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath EXR_CONFIGURE_ENABLE= exr #SQUISH_BUILD_DEPENDS= ${LOCALBASE}/lib/libsquish.a:graphics/squish #SQUISH_CONFIGURE_WITH= libsquish NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_CONFIGURE_WITH= nvtt X11_USES= gl xorg X11_USE= GL=gl,glu,glut XORG=x11,xext,xmu,xi,xrender,sm,ice X11_CONFIGURE_OFF= --disable-opengl --disable-x11 --disable-xpm --disable-shm --disable-render SDL_USES= sdl SDL_USE= SDL=sdl SDL_CONFIGURE_OFF= --disable-sdl SIMD_CONFIGURE_OFF= --disable-altivec --disable-sse --disable-sse2 --disable-sse3 post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e '/^pkgdir=/s|$$(libdir)/|$$(prefix)/libdata/|g' \ ${WRKSRC}/data/Makefile.am @${REINPLACE_CMD} -e 's|||g' \ ${WRKSRC}/src-ILU/ilur/ilur.c ${REINPLACE_CMD} -e 's/Imf::Int64/uint64_t/g' \ ${WRKSRC}/src-IL/src/il_exr.cpp \ ${WRKSRC}/src-IL/include/il_exr.h post-install: @${RMDIR} ${STAGEDIR}${DATADIR}/examples @${RMDIR} ${STAGEDIR}${DATADIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in AUTHORS CREDITS ChangeLog Libraries.txt README TODO ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor do-test: cd ${WRKSRC}/test && ${MAKE_CMD} testil cd ${WRKSRC}/test && ${SH} format_test/format_checks.sh .include diff --git a/graphics/diffpdf/Makefile b/graphics/diffpdf/Makefile index 0d4cd0611b76..cb600abf5049 100644 --- a/graphics/diffpdf/Makefile +++ b/graphics/diffpdf/Makefile @@ -1,26 +1,26 @@ PORTNAME= diffpdf PORTVERSION= 2.1.3 -PORTREVISION= 31 +PORTREVISION= 32 CATEGORIES= graphics MASTER_SITES= http://www.qtrac.eu/ MAINTAINER= dinoex@FreeBSD.org COMMENT= Compare two PDF files-textually or visually LICENSE= GPLv2+ LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 USES= compiler:c++11-lang qmake qt:5 gl USE_GL= gl USE_QT= buildtools linguist_build core gui printsupport widgets PLIST_FILES= bin/diffpdf pre-configure: ( cd ${BUILD_WRKSRC} && ${LRELEASE} ${BUILD_WRKSRC}/${PORTNAME}.pro ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/diffpdf ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/graphics/digikam/Makefile b/graphics/digikam/Makefile index 488086b4906f..6d0593b73280 100644 --- a/graphics/digikam/Makefile +++ b/graphics/digikam/Makefile @@ -1,109 +1,109 @@ PORTNAME= digikam DISTVERSION= 7.1.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= KDE/digikam/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE digital photo management application LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libKF5Sane.so:graphics/libksane \ libboost_graph.so:devel/boost-libs \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libMagickCore-6.so:graphics/ImageMagick6 \ libgphoto2.so:graphics/libgphoto2 \ libicalss.so:devel/libical \ libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ liblqr-1.so:graphics/liblqr-1 \ libopencv_core.so:graphics/opencv \ libpgf.so:graphics/libpgf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libx265.so:multimedia/x265 USES= bison cmake compiler:c++11-lib desktop-file-utils eigen:3 gl \ gnome jpeg kde:5 pkgconfig qt:5 shebangfix tar:xz xorg USE_GL= gl glu USE_GNOME= glib20 libxml2 libxslt USE_KDE= archive auth bookmarks calendarcore codecs completion config \ configwidgets coreaddons crash doctools ecm filemetadata \ guiaddons i18n iconthemes itemmodels itemviews jobwidgets kdelibs4support \ kio marble libkipi notifications notifyconfig parts service \ solid sonnet textwidgets threadweaver unitconversion \ widgetsaddons windowsystem xmlgui USE_QT= concurrent core dbus declarative gui location network opengl \ printsupport sql webchannel widgets x11extras xml xmlpatterns \ sql-sqlite3_run \ buildtools_build qmake_build USE_XORG= ice sm x11 xext USE_LDCONFIG= yes SHEBANG_FILES= core/data/scripts/digitaglinktree/digitaglinktree # Disable kipiplugins, as they are built in their own port: graphics/kipiplugins. # Remember to keep that port in sync with this one. CMAKE_ON= DIGIKAMSC_COMPILE_DIGIKAM OPTIONS_DEFINE= DOCS DOXYGEN KDEPIM KVKONTAKTE MEDIAPLAYER MYSQL NLS WEBENGINE OPTIONS_DEFAULT= ${OPTIONS_DEFINE:NWEBENGINE} OPTIONS_SUB= yes DOCS_DESC= Digikam documentation DOCS_CMAKE_BOOL= DIGIKAMSC_COMPILE_DOC DOCS_USES= gettext DOCS_USE= KDE=doctools DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS KDEPIM_DESC= KDEPim Addressbook support KDEPIM_USE= KDE=akonadi,akonadicontacts,contacts KDEPIM_CMAKE_BOOL= ENABLE_AKONADICONTACTSUPPORT KDEPIM_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5AkonadiContact MEDIAPLAYER_DESC= Enable mediaplayer MEDIAPLAYER_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libQtAV.so:multimedia/QtAV MEDIAPLAYER_CMAKE_BOOL= ENABLE_MEDIAPLAYER MEDIAPLAYER_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_FFmpeg \ CMAKE_DISABLE_FIND_PACKAGE_QtAV MYSQL_USES= mysql:server MYSQL_USE= QT=sql-mysql_run MYSQL_CMAKE_BOOL= ENABLE_INTERNALMYSQL \ ENABLE_MYSQLSUPPORT MYSQL_CMAKE_ON= -DMYSQLD_PATH:PATH=${LOCALBASE}/libexec \ -DMYSQL_TOOLS_PATH:PATH=${LOCALBASE}/bin MYSQL_BUILD_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqld.a:${_MYSQL_SERVER} KVKONTAKTE_DESC= vk.com Plugin KVKONTAKTE_LIB_DEPENDS= libKF5Vkontakte.so:net/libkvkontakte KVKONTAKTE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5Vkontakte NLS_DESC= Digikam i18n translations NLS_CMAKE_BOOL= DIGIKAMSC_COMPILE_PO NLS_USES= gettext NLS_USE= KDE=i18n WEBENGINE_DESC= Use Qt WebEngine instead of WebKit WEBENGINE_USE= QT=webengine WEBENGINE_USE_OFF= QT=webkit WEBENGINE_CMAKE_BOOL= ENABLE_QWEBENGINE PLIST_SUB= SHLIB_VER=${DISTVERSION} .include .if ${PORT_OPTIONS:MWEBENGINE} DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 .endif .include diff --git a/graphics/dilay/Makefile b/graphics/dilay/Makefile index 588b922994c3..a2239a4e3746 100644 --- a/graphics/dilay/Makefile +++ b/graphics/dilay/Makefile @@ -1,31 +1,31 @@ # Created by: Yuri Victorovich PORTNAME= dilay DISTVERSION= 1.9.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= 3D sculpting application LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm USES= compiler:c++14-lang gl gmake qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= abau USE_CXXSTD= c++14 USE_GL= gl USE_QT= core gui opengl widgets xml buildtools_build MAKE_JOBS_UNSAFE= yes # Workaround for: https://github.com/abau/dilay/issues/19 parallel build fails (still a problem despite having been closed) PLIST_FILES= bin/dilay \ share/applications/dilay.desktop .for sz in 16 32 48 256 PLIST_FILES+= share/icons/hicolor/${sz}x${sz}/apps/dilay.png .endfor .include diff --git a/graphics/djview4/Makefile b/graphics/djview4/Makefile index 0f196eb2491f..b7652c592b64 100644 --- a/graphics/djview4/Makefile +++ b/graphics/djview4/Makefile @@ -1,58 +1,59 @@ # Created by: Stanislav Sedov PORTNAME= djview PORTVERSION= 4.12 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/djvu/DjView/${PORTVERSION} MAINTAINER= nc@FreeBSD.org COMMENT= Standalone Djvu viewer and plugin based on Qt toolkit LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_riscv64= fails to build: ./npsdk/prcpucfg.h:751:2: Unknown CPU architecture LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre \ libtiff.so:graphics/tiff USES= autoreconf desktop-file-utils gettext-runtime gl gmake gnome \ libtool localbase pkgconfig qt:5 webplugin:native xorg USE_GL= gl USE_GNOME= glib20 USE_QT= core gui network opengl printsupport widgets \ buildtools_build linguisttools_build qmake_build USE_XORG= sm ice xext xt GNU_CONFIGURE= yes CONFIGURE_ENV= LRELEASE="${LRELEASE}" LUPDATE="${LUPDATE}" INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R}-${PORTVERSION} WEBPLUGIN_DIR= ${PREFIX}/lib/djview4/plugins WEBPLUGIN_FILES= nsdejavu.so post-patch: # Use prebuilt icons, without using conversion tool @${REINPLACE_CMD} -e 's/conversion_tool=[[:alpha:]]*/conversion_tool=no/' \ ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e \ '/CXXFLAGS=$$/s|^|#| ; \ /CFLAGS=$$/s|^|#| ; \ s|$$OPTS -O2|$$OPTS|' ${WRKSRC}/config/acinclude.m4 @${REINPLACE_CMD} -e \ 's|FLAGS+=|FLAGS_RELEASE=|' ${WRKSRC}/src/Makefile.am # Change plugins directory # Add GLIB cflags and libs (including -lX*) @${REINPLACE_CMD} -e '/^pluginsdir/s/mozilla/djview4/ ; \ /NSDEJAVU_CFLAGS/s|$$| $$(GLIB_CFLAGS)| ; \ /NSDEJAVU_LIBS/s|$$| $$(GLIB_LIBS) -lXt -lXext|' \ ${WRKSRC}/nsdejavu/Makefile.am post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/djview # Create a symbolic link to match desktop file exec name ${LN} -sf djview ${STAGEDIR}${PREFIX}/bin/djview4 .include diff --git a/graphics/dynamechs/Makefile b/graphics/dynamechs/Makefile index 34f3ae130942..5a1b06df2df0 100644 --- a/graphics/dynamechs/Makefile +++ b/graphics/dynamechs/Makefile @@ -1,40 +1,40 @@ # Created by: ijliao PORTNAME= dynamechs PORTVERSION= 4.0.p1 -PORTREVISION= 8 +PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/4.0pre1 DISTNAME= ${PORTNAME}_${PORTVERSION:S/.p/pre/} MAINTAINER= ports@FreeBSD.org COMMENT= Multibody Dynamic Simulation Library USES= gl gmake perl5 shebangfix tar:bzip2 USE_GL= glut USE_PERL5= build SHEBANG_FILES= make/*.pl MAKE_ENV= OPENGLINCDIR="${LOCALBASE}/include" \ OPENGLLIBDIR="${LOCALBASE}/lib" ALL_TARGET= freebsd USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e \ 's|.SILENT:||' ${WRKSRC}/Makefile do-configure: @${CP} -f ${FILESDIR}/make.platform.freebsd ${WRKSRC}/make/ do-install: .for dir in dm dmu dmGL @${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}/${dir} (cd ${WRKSRC}/${dir} && ${FIND} . -name "*.h" -or -name "*.hpp" | \ ${XARGS} -J % ${INSTALL_DATA} % \ ${STAGEDIR}${PREFIX}/include/${PORTNAME}/${dir}) (cd ${WRKSRC}/lib/platform.freebsd && ${INSTALL_LIB} lib${dir}.so \ ${STAGEDIR}${PREFIX}/lib) .endfor .include diff --git a/graphics/egl-wayland/Makefile b/graphics/egl-wayland/Makefile index 0a0c7355fc48..fcc32dac4fc5 100644 --- a/graphics/egl-wayland/Makefile +++ b/graphics/egl-wayland/Makefile @@ -1,29 +1,30 @@ PORTNAME= egl-wayland DISTVERSION= 1.1.7 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org COMMENT= EGLStream-based Wayland external platform LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= eglexternalplatform>=1.1:graphics/eglexternalplatform LIB_DEPENDS= libwayland-server.so:graphics/wayland USES= gl meson pkgconfig USE_GITHUB= yes USE_GL= egl USE_LDCONFIG= yes GH_ACCOUNT= NVIDIA post-patch: @${REINPLACE_CMD} -e "/install/s/datadir')/prefix'), 'libdata'/" \ ${WRKSRC}/meson.build post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/egl/egl_external_platform.d ${INSTALL_DATA} ${FILESDIR}/10_nvidia_wayland.json \ ${STAGEDIR}${PREFIX}/share/egl/egl_external_platform.d .include diff --git a/graphics/electricsheep/Makefile b/graphics/electricsheep/Makefile index 5513c148eaac..f0a1684afd48 100644 --- a/graphics/electricsheep/Makefile +++ b/graphics/electricsheep/Makefile @@ -1,47 +1,47 @@ # Created by: David Yeske PORTNAME= electricsheep DISTVERSION= 3.0.2.20191005 # configure.ac though says that the version is 2.7b33 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Infinite evolving crowdsourced artwork LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= flam3-animate:graphics/flam3 LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libcurl.so:ftp/curl \ libavcodec.so:multimedia/ffmpeg \ libGLee.so:graphics/glee \ libgtop-2.0.so:devel/libgtop \ libpng.so:graphics/png \ libtinyxml.so:textproc/tinyxml RUN_DEPENDS= flam3-animate:graphics/flam3 USES= autoreconf compiler:c++11-lang dos2unix gl gnome libtool \ localbase:ldflags lua:51 pkgconfig gettext-runtime xorg USE_GITHUB= yes GH_ACCOUNT= scottdraves GH_TAGNAME= 37ba0fd692d6581f8fe009ed11c9650cd8174123 DOS2UNIX_FILES= ContentDownloader/SheepDownloader.cpp DisplayOutput/OpenGL/glx.cpp GNU_CONFIGURE= yes USE_WX= 3.1 USE_GNOME= glib20 USE_GL= gl glut USE_XORG= x11 xrender WRKSRC_SUBDIR= client_generic CFLAGS+= -DLINUX_GNU -I${LOCALBASE}/include/GL -I${LOCALBASE}/include/libavcodec -DSHAREDIR='\"${DATADIR}\"' post-patch: # unbundle GLee @${RM} ${WRKSRC}/DisplayOutput/OpenGL/GLee.* post-install: @${RM} -r ${STAGEDIR}${DOCSDIR}* ${STAGEDIR}${DATADIR}/icons .include diff --git a/graphics/embree/Makefile b/graphics/embree/Makefile index c03bbe421f96..9ca08689fe2d 100644 --- a/graphics/embree/Makefile +++ b/graphics/embree/Makefile @@ -1,70 +1,71 @@ # Created by: Alexey Dokuchaev PORTNAME= embree PORTVERSION= 3.13.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Collection of high-performance ray tracing kernels LICENSE= APACHE20 ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= heavy use of SSE instructions USES= cmake pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes CMAKE_ARGS= -DEMBREE_TASKING_SYSTEM:STRING=${_ETS} \ -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} \ -DEMBREE_BACKFACE_CULLING:BOOL=ON \ -DEMBREE_RAY_MASK:BOOL=ON PLIST_SUB+= VERSION=${DISTVERSION} OPTIONS_DEFINE= DOCS EXAMPLES ISPC TBB OPTIONS_DEFAULT= TBB OPTIONS_SUB= yes ISPC_DESC= ISPC applications support ISPC_BUILD_DEPENDS= ispc:devel/ispc ISPC_CMAKE_OFF= -DEMBREE_ISPC_SUPPORT:BOOL=OFF EXAMPLES_LIB_DEPENDS= libglfw.so:graphics/glfw \ libpng.so:graphics/png EXAMPLES_USES= gl jpeg xorg EXAMPLES_USE= GL=gl,glu,glut XORG=x11,xau,xcb,xdmcp EXAMPLES_CMAKE_OFF= -DEMBREE_TUTORIALS:BOOL=OFF TBB_DESC= Use Intel TBB (optimal performance) TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TBB_VARS= _ETS=TBB TBB_VARS_OFF= _ETS=INTERNAL .include # Disable parts that use _mm_cvtsi128_si64() which is not defined on i386 .if ${ARCH} == i386 CMAKE_ARGS+= -DEMBREE_ISA_AVX512SKX:BOOL=OFF .endif post-patch: @${REINPLACE_CMD} -e \ '/SET(CMAKE_INSTALL_BINDIR/s,\$$.*),${EXAMPLESDIR}),' \ ${WRKSRC}/common/cmake/package.cmake @${REINPLACE_CMD} -e 's,Win32,${OPSYS},gi' \ ${WRKSRC}/common/simd/vint4_sse2.h # Obsolete GNU binutils 2.17.50 objdump(1) is going to be removed # from the base, use LLVM's one if it's available .if exists(/usr/bin/llvm-objdump) @${REINPLACE_CMD} -e 's,objdump,llvm-&,' \ ${WRKSRC}/common/cmake/check_globals.cmake \ ${WRKSRC}/common/cmake/check_stack_frame_size.cmake .endif do-test: ${TEST_WRKSRC}/${PORTNAME}_verify .include diff --git a/graphics/engauge-digitizer/Makefile b/graphics/engauge-digitizer/Makefile index 091098a946ea..f0b75d8db31e 100644 --- a/graphics/engauge-digitizer/Makefile +++ b/graphics/engauge-digitizer/Makefile @@ -1,56 +1,56 @@ PORTNAME= engauge-digitizer DISTVERSIONPREFIX= v DISTVERSION= 12.2.2 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= graphics math science MAINTAINER= yuri@FreeBSD.org COMMENT= Extract data points from images of graphs LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfftw3.so:math/fftw3 \ liblog4cpp.so:devel/log4cpp \ libopenjp2.so:graphics/openjpeg \ libpoppler-qt5.so:graphics/poppler-qt5 USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= markummitchell USE_QT= core gui printsupport sql xml widgets buildtools_build USE_GL= gl CONFIGURE_ENV= OPENJPEG_INCLUDE=${PREFIX}/include/openjpeg-2.4 OPENJPEG_LIB=${PREFIX}/lib \ POPPLER_INCLUDE=${PREFIX}/include/poppler/qt5 POPPLER_LIB=${PREFIX}/lib QMAKE_ARGS= "CONFIG+=jpeg2000 pdf" OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes DOCS_USE= QT=help,linguist_build do-patch-NLS-on: @${REINPLACE_CMD} -e 's|QCoreApplication::applicationDirPath () + "/translations",|"${DATADIR}/translations",|' ${WRKSRC}/src/Translator/TranslatorContainer.cpp post-build-NLS-on: @cd ${WRKSRC} && lrelease engauge.pro post-build-DOCS-on: @cd ${WRKSRC}/help && ./build.bash do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/engauge ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${GZIP_CMD} < ${WRKSRC}/src/img/${PORTNAME}.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svgz ${INSTALL_DATA} ${WRKSRC}/dev/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop do-install-NLS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/translations ${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${STAGEDIR}${DATADIR}/translations do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/bin/documentation/engauge.qch ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/bin/documentation/engauge.qhc ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/eog-plugins/Makefile b/graphics/eog-plugins/Makefile index cfb57c02b8ae..162df5b11895 100644 --- a/graphics/eog-plugins/Makefile +++ b/graphics/eog-plugins/Makefile @@ -1,63 +1,64 @@ # Created by: Joe Marcus Clarke PORTNAME= eog-plugins PORTVERSION= 3.26.6 +PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Plug-ins for the Eye of GNOME image viewer application LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= eog:graphics/eog LIB_DEPENDS= libgdata.so:devel/libgdata \ libgoa-1.0.so:net/gnome-online-accounts \ libjson-glib-1.0.so:devel/json-glib \ libsoup-2.4.so:devel/libsoup \ libexif.so:graphics/libexif \ libpeas-1.0.so:devel/libpeas \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libjson-glib-1.0.so:devel/json-glib \ libsoup-2.4.so:devel/libsoup RUN_DEPENDS= eog:graphics/eog PORTSCOUT= limitw:1,even USE_GNOME= cairo gdkpixbuf2 gtk30 introspection libxml2 USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz GNU_CONFIGURE= yes INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.eog.plugins.exif-display.gschema.xml OPTIONS_DEFINE= CHAMPLAIN PYTHON OPTIONS_DEFAULT=CHAMPLAIN PYTHON OPTIONS_SUB= yes CHAMPLAIN_DESC= Champlain map plugin CHAMPLAIN_LIB_DEPENDS= libcogl.so:graphics/cogl \ libclutter-1.0.so:graphics/clutter \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libchamplain-0.12.so:graphics/libchamplain CHAMPLAIN_USES= gl xorg CHAMPLAIN_USE= GL=egl XORG=x11,xcomposite,xdamage,xext,xfixes,xi,xrandr PYTHON_CONFIGURE_ENABLE=python PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} PYTHON_USES= python:3.6+ PYTHON_VARS= GLIB_SCHEMAS+="org.gnome.eog.plugins.export-to-folder.gschema.xml \ org.gnome.eog.plugins.fullscreenbg.gschema.xml \ org.gnome.eog.plugins.pythonconsole.gschema.xml" post-patch-CHAMPLAIN-off: @${REINPLACE_CMD} -e 's|champlain-gtk|disabled-champlain-gtk|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} '/^DEFAULT_PLUGINS=/,/^$$/ s/map//' \ ${WRKSRC}/configure .include diff --git a/graphics/evolvotron/Makefile b/graphics/evolvotron/Makefile index 46ab4cbc0a89..5a2527b50db3 100644 --- a/graphics/evolvotron/Makefile +++ b/graphics/evolvotron/Makefile @@ -1,70 +1,70 @@ # Created by: David Yeske PORTNAME= evolvotron DISTVERSION= 0.7.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= SF \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX}:icons MAINTAINER= ports@FreeBSD.org COMMENT= Generative software that evolves images/textures/patterns LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs USES= compiler:c++11-lib gl gnome python qmake qt:5 USE_QT= core gui widgets xml buildtools_build USE_GL= gl QMAKE_ARGS= VERSION_NUMBER="${PORTVERSION}" QMAKE_SOURCE_PATH= ${WRKSRC}/main.pro USE_CXXSTD= c++11 WRKSRC= ${WRKDIR}/${PORTNAME} INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 DESKTOP_ENTRIES="Evolvotron" "Interactive image generator" "${PORTNAME}" \ "${PORTNAME}" "Graphics;2DGraphics;" "" OPTIONS_DEFINE= DOCS PORTDOCS= NEWS README TODO USAGE evolvotron.html post-patch: @${REINPLACE_CMD} -e \ '/^CONFIG/s|precompile_header|| ; \ /DEFINES/s|_LINUX|_BSD|' ${WRKSRC}/common.pro do-install: .for i in evolvotron evolvotron_mutate evolvotron_render ${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${STAGEDIR}${PREFIX}/bin/ .endfor .for lib in libevolvotron libfunction ${INSTALL_DATA} ${WRKSRC}/${lib}/${lib}.a ${STAGEDIR}${PREFIX}/lib/ .endfor .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 ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .for m in evolvotron.1 evolvotron_mutate.1 evolvotron_render.1 cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${m} \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ .endfor post-install: # delete static libs installed by mistake @${RM} -r ${STAGEDIR}${PREFIX}/lib do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/f3d/Makefile b/graphics/f3d/Makefile index d3d93a8049a2..d6eb26ba6988 100644 --- a/graphics/f3d/Makefile +++ b/graphics/f3d/Makefile @@ -1,32 +1,33 @@ PORTNAME= f3d DISTVERSIONPREFIX= v DISTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://gitlab.kitware.com/f3d/f3d/-/archive/${DISTVERSIONPREFIX}${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Fast and minimalist 3D viewer LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libvtkCommonMisc-9.0.so:math/vtk9 USES= cmake compiler:c++11-lang gl tar:bzip2 xorg USE_GL= gl glu USE_XORG= ice sm x11 xt PLIST_FILES= bin/f3d \ share/applications/f3d.desktop \ share/bash-completion/completions/f3d \ share/fish/vendor_completions.d/f3d.fish \ share/icons/hicolor/32x32/apps/f3d.png \ share/icons/hicolor/48x48/apps/f3d.png \ share/icons/hicolor/64x64/apps/f3d.png \ share/icons/hicolor/scalable/apps/f3d.svg \ share/zsh/site-functions/_f3d post-install: @cd ${STAGEDIR}${PREFIX} && ${RM} LICENSE README.md .include diff --git a/graphics/fracplanet/Makefile b/graphics/fracplanet/Makefile index 875e0c522ea7..125cab685352 100644 --- a/graphics/fracplanet/Makefile +++ b/graphics/fracplanet/Makefile @@ -1,72 +1,72 @@ # Created by: Igor Pokrovsky PORTNAME= fracplanet PORTVERSION= 0.5.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= SF \ SF/nemysisfreebsdp/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons.tar.gz:icons MAINTAINER= ports@FreeBSD.org COMMENT= Interactive tool for creating random fractal planets and terrain LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_program_options.so:devel/boost-libs USES= compiler:c++11-lang gl gnome qmake:outsource qt:5 USE_GL= gl glu QMAKE_ARGS= VERSION_NUMBER=${PORTVERSION} USE_QT= buildtools_build core gui opengl DESKTOP_ENTRIES= "Fracplanet" \ "" \ "${PORTNAME}" \ "${PORTNAME}" \ "Graphics;" \ "" INSTALLS_ICONS= yes PORTDOCS= * WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOXYGEN DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS CONFLICTS_INSTALL= fracplanet-qt5 DOCFILES= BUGS NEWS README THANKS fracplanet.css fracplanet.htm ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 post-patch: @${REINPLACE_CMD} -Ee 's|(OBJECTS_DIR)|#\1|' ${WRKSRC}/fracplanet.pro post-build-DOXYGEN-on: cd ${WRKSRC} && doxygen . do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ .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 ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}) post-install-DOXYGEN-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "html latex" ${STAGEDIR}${DOCSDIR}) .include diff --git a/graphics/fraqtive/Makefile b/graphics/fraqtive/Makefile index 540cdc6653e6..76fa4f412353 100644 --- a/graphics/fraqtive/Makefile +++ b/graphics/fraqtive/Makefile @@ -1,30 +1,30 @@ # Created by: Markus Brueffer PORTNAME= fraqtive PORTVERSION= 0.4.8 DISTVERSIONPREFIX= v -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Draws Mandelbrot and Julia fractals LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang dos2unix gl qmake qt:5 USE_QT= core gui opengl widgets xml buildtools_build USE_GL= gl glu USE_GITHUB= yes GH_ACCOUNT= mimecorg GH_PROJECT= fraqtive OPTIONS_DEFINE= SSE2 SSE2_DESC= Enable SSE2 optimization SSE2_QMAKE_ON= CONFIG+=sse2 SSE2_QMAKE_OFF= CONFIG+=no-sse2 DOS2UNIX_FILES= src/shadewidget.cpp .include diff --git a/graphics/freeglut/Makefile b/graphics/freeglut/Makefile index 077c9a003aa4..019f5eeaf54f 100644 --- a/graphics/freeglut/Makefile +++ b/graphics/freeglut/Makefile @@ -1,50 +1,50 @@ # Created by: thierry@pompo.net PORTNAME= freeglut PORTVERSION= 3.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= x11@FreeBSD.org COMMENT= Open source implementation of GLUT library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake:insource gl localbase:ldflags pathfix xorg USE_LDCONFIG= yes USE_XORG= ice x11 xi xrandr xxf86vm USE_GL= gl glu LDFLAGS+= -lusbhid -lm DOCS= download.html freeglut.html freeglut_logo.png \ freeglut_user_interface.html index.html ogl_sm.png \ progress.html structure.html BINS= CallbackMaker Fractals Fractals_random Lorenz One Resizer \ multi-touch shapes smooth_opengl3 spaceball subwin timer OPTIONS_DEFINE= DOCS EXAMPLES pre-configure: .for fract in Fractals/fractals.c Fractals_random/fractals_random.c @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \ ${WRKSRC}/progs/demos/${fract} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR} .endfor @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/progs/demos/Fractals/fractals.dat ${STAGEDIR}${EXAMPLESDIR} .for prog in ${BINS} ${INSTALL_PROGRAM} ${WRKSRC}/bin/${prog} ${STAGEDIR}${EXAMPLESDIR} .endfor @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." .include diff --git a/graphics/freetype-gl/Makefile b/graphics/freetype-gl/Makefile index a6177b580998..edee62f51539 100644 --- a/graphics/freetype-gl/Makefile +++ b/graphics/freetype-gl/Makefile @@ -1,57 +1,57 @@ PORTNAME= freetype-gl DISTVERSION= g20210208 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= a38359cdcd97bfcf5d02dd65c66f516eac8208ad.patch:-p1 # https://github.com/rougier/freetype-gl/pull/233: Remove the STATIC requirement from the library PATCHFILES+= 00a13d4c9e31f9c4e68e8ab30e2f7ec5b0e4bf60.patch:-p1 # https://github.com/rougier/freetype-gl/pull/235: Fix Fontconfig dependency name in demos MAINTAINER= yuri@FreeBSD.org COMMENT= C OpenGL Freetype engine library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 TEST_DEPENDS= ImageMagick${IMAGEMAGICK_DEFAULT}-nox11>0:graphics/ImageMagick${IMAGEMAGICK_DEFAULT}-nox11 USES= cmake:noninja gl USE_GL= glew USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= rougier GH_TAGNAME= 647b062 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= freetype-gl_BUILD_APIDOC freetype-gl_BUILD_TESTS LDFLAGS+= -L${LOCALBASE}/lib -lGLEW -lfreetype # https://github.com/rougier/freetype-gl/issues/236 OPTIONS_DEFINE= DEMOS OPTIONS_SUB= yes DEMOS_DESC= Build and install demo programs DEMOS_USE= GL=gl,glu DEMOS_CMAKE_BOOL= freetype-gl_BUILD_DEMOS DEMOS_LIB_DEPENDS= libAntTweakBar.so:graphics/anttweakbar \ libfontconfig.so:x11-fonts/fontconfig \ libglfw.so:graphics/glfw post-patch-DEMOS-on: @${REINPLACE_CMD} -i '' 's|"data/|"${DATADIR}/data/|g ; s|"fonts/|"${DATADIR}/fonts/|g ; s|"shaders/|"${DATADIR}/shaders/|g' ${WRKSRC}/demos/*.c do-test: # build breaks: https://github.com/rougier/freetype-gl/issues/234 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dfreetype-gl_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test do-install-DEMOS-on: .for e in ansi atb-agg benchmark cartoon console cube distance-field distance-field-2 distance-field-3 embedded-font font gamma glyph lcd markup outline subpixel texture ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/demos/${e} ${STAGEDIR}${PREFIX}/bin/ftgl-demo-${e} .endfor cd ${BUILD_WRKSRC}/demos && ${COPYTREE_SHARE} "data fonts shaders" ${STAGEDIR}${DATADIR} .include diff --git a/graphics/ftgl/Makefile b/graphics/ftgl/Makefile index 08a7e8169ba9..6f83793da25d 100644 --- a/graphics/ftgl/Makefile +++ b/graphics/ftgl/Makefile @@ -1,34 +1,35 @@ # Created by: Igor Pokrovsky PORTNAME= ftgl DISTVERSIONPREFIX= v DISTVERSION= 2.4.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= OpenGL FreeType fonts rendering library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 USE_GITHUB= yes GH_ACCOUNT= frankheckenbach USES= autoreconf compiler:c++11-lang gl pathfix gmake libtool \ pkgconfig xorg GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gl-inc="${LOCALBASE}/include" \ --without-glut-inc USE_GL= gl glu USE_XORG= ice sm x11 xext xmu USE_LDCONFIG= yes INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e '/SUBDIRS/ s|docs||; /SUBDIRS/ s|demo||' \ ${WRKSRC}/Makefile.am .include diff --git a/graphics/fv/Makefile b/graphics/fv/Makefile index 01d1d7e82c2c..088a524131b9 100644 --- a/graphics/fv/Makefile +++ b/graphics/fv/Makefile @@ -1,45 +1,45 @@ # Created by: Igor Pokrovsky PORTNAME= fv PORTVERSION= 1.03 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= http://www.eaflux.com/fv/sources/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Viewer of hdr/pfm images LICENSE= GPLv2+ LIB_DEPENDS= libpng.so:graphics/png USES= gl gmake pkgconfig zip USE_GL= glut ALL_TARGET= ${PORTNAME} CXXFLAGS+= $$(pkg-config --cflags libpng) -I${LOCALBASE}/include LDFLAGS+= $$(pkg-config --libs libpng) -L${LOCALBASE}/lib -lglut \ -lGLU -lGL -lbz2 -lm -lz -llzma -lpthread PORTDOCS= AUTHORS ChangeLog README PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= DEBUG DOCS DEBUG_CXXFLAGS_OFF= -DNDEBUG post-patch: @${REINPLACE_CMD} -e \ 's|^CXX=|CXX?=| ; \ s|^CXXFLAGS=|CXXFLAGS?=| ; \ s|^LDFLAGS=|LDFLAGS?=|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/gauche-gl/Makefile b/graphics/gauche-gl/Makefile index bbd1bf39dc6a..f39f01f7e743 100644 --- a/graphics/gauche-gl/Makefile +++ b/graphics/gauche-gl/Makefile @@ -1,63 +1,63 @@ # Created by: Kimura Fuyuki PORTNAME= gl PORTVERSION= 0.6 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics scheme MASTER_SITES= SF/gauche/Gauche-gl PKGNAMEPREFIX= gauche- DISTNAME= Gauche-${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL binding for Gauche LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gosh:lang/gauche RUN_DEPENDS= gosh:lang/gauche USES= gl localbase makeinfo tar:tgz xorg USE_CSTD= gnu99 USE_XORG= ice sm x11 xext xmu xi USE_GL= gl glu glut GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes GAUCHE_ABI= 0.97 DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/gauche/${PORTNAME} PLIST_SUB= TARGET="${CONFIGURE_TARGET}" ABI_VER=${GAUCHE_ABI} INFO= gauche-gl-refe gauche-gl-refj OPTIONS_DEFINE= DOCS EXAMPLES post-patch: .for i in configure src/gauche-gl.c src/gauche-gl.h src/glut-lib.stub @${REINPLACE_CMD} -e '/glut.h/s|GLUT|GL|' ${WRKSRC}/${i} .endfor do-install: .for i in src lib @(cd ${WRKSRC}/${i} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .endfor .for i in ${INFO} ${GZCAT} ${WRKSRC}/doc/${i}.info.gz \ > ${STAGEDIR}${PREFIX}/${INFO_PATH}/${i}.info .endfor @(cd ${STAGEDIR}${PREFIX}/lib/gauche-${GAUCHE_ABI}/site/${CONFIGURE_TARGET} && \ ${CHMOD} u+w libgauche-*.so && ${STRIP_CMD} libgauche-*.so && \ ${CHMOD} u-w libgauche-*.so) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/graphics/geomorph/Makefile b/graphics/geomorph/Makefile index df7cbe2e950f..f3b3ad68fa96 100644 --- a/graphics/geomorph/Makefile +++ b/graphics/geomorph/Makefile @@ -1,43 +1,43 @@ PORTNAME= geomorph PORTVERSION= 0.60.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.60/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Height field generator and editor LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libpng.so:graphics/png USES= compiler:c++11-lang desktop-file-utils gl gmake pkgconfig \ shebangfix SHEBANG_FILES= update-rc USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libintl-prefix="${LOCALBASE}" USE_GCC= yes # lots of severely broken code CFLAGS+= -fcommon PLIST_SUB= PORTVERSION=${PORTVERSION} PORTDATA= * OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: @${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -i '' -e 's|/usr/local/share/geomorph|${DATADIR}|' {} \; @${REINPLACE_CMD} -e 's|\$$HOME/geomorph|\$$HOME/.geomorph|' \ ${WRKSRC}/install-step* ${WRKSRC}/install-user ${WRKSRC}/update-rc @${REINPLACE_CMD} -e '/DEF_DIR_NAME/ s|geomorph|.geomorph|' \ ${WRKSRC}/src/app/globals.h ${WRKSRC}/src/hf/globals.h @${FIND} ${WRKSRC} -name "*.bak" -delete post-install: ${INSTALL_DATA} ${WRKSRC}/geomorph.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/GeoMorph.xpm ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile index f1aae956dd04..805f46a307a6 100644 --- a/graphics/geomview/Makefile +++ b/graphics/geomview/Makefile @@ -1,57 +1,57 @@ # Created by: fenner PORTNAME= geomview PORTVERSION= 1.9.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics education MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Interactive viewer for 3- and 4-D geometric objects LICENSE= LGPL21+ # COPYING mentions LGPL21, source files LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= xdg-open:devel/xdg-utils USES= gl libtool makeinfo motif tar:bzip2 USE_GL= glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-htmlbrowser=xdg-open --with-pdfviewer=xdg-open \ --with-motif=${LOCALBASE} --with-opengl=${LOCALBASE} INSTALL_TARGET= install-strip USE_LDCONFIG= yes PLIST_SUB= VERSION="${PORTVERSION}" INFO= geomview OPTIONS_DEFINE= DOCS EXAMPLES MOTION_AVG MOTION_AVG_DESC= Experimental motion averaging code MOTION_AVG_CONFIGURE_ENABLE= motion-averaging post-patch: @${REINPLACE_CMD} -e \ '/^install-data-am:/s|install-info-am|| ; \ /install-man/s|install-nobase_infoimgDATA||' \ ${WRKSRC}/doc/Makefile.in post-build: @(cd ${WRKSRC}/doc && makeinfo --no-split --no-validate \ -o geomview.info geomview.texi) post-install: (cd ${WRKSRC}/doc && ${INSTALL_DATA} geomview.info \ ${STAGEDIR}${PREFIX}/${INFO_PATH}) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} README \ ${STAGEDIR}${DOCSDIR}) post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/doc && ${INSTALL_DATA} *.c *.tcl \ ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/graphics/glad/Makefile b/graphics/glad/Makefile index e1508f82da6e..e7e64f8b765d 100644 --- a/graphics/glad/Makefile +++ b/graphics/glad/Makefile @@ -1,21 +1,22 @@ PORTNAME= glad DISTVERSIONPREFIX= v DISTVERSION= 0.1.34 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL loader-generator LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake python:build USE_GITHUB= yes GH_ACCOUNT= Dav1dde USE_LDCONFIG= yes CMAKE_ON= GLAD_INSTALL BUILD_SHARED_LIBS GLAD_REPRODUCIBLE CONFLICTS_INSTALL= libglvnd # include/KHR/khrplatform.h, see https://github.com/Dav1dde/glad/issues/260 .include diff --git a/graphics/gle/Makefile b/graphics/gle/Makefile index 4a3da3f73b2c..b60a9bd05e94 100644 --- a/graphics/gle/Makefile +++ b/graphics/gle/Makefile @@ -1,29 +1,29 @@ # Created by: David Gilbert PORTNAME= gle PORTVERSION= 3.1.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}\ http://linas.org/gle/pub/ \ http://metalab.unc.edu/pub/Linux/libs/X/ \ ftp://tsx-11.mit.edu/pub/linux/sources/libs/ MAINTAINER= ports@dclg.ca COMMENT= GL Tubing and Extrusion Library USES= gl libtool xorg USE_XORG= ice xt xmu USE_GL= glut USE_LDCONFIG= yes GNU_CONFIGURE= yes LIBS+= -L${LOCALBASE}/lib -lXext OPTIONS_DEFINE= DOCS post-patch: .for file in ex_angle.c ex_cut_round.c ex_raw.c extrude.c round_cap.c segment.c texgen.c @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/${file} .endfor .include diff --git a/graphics/glee/Makefile b/graphics/glee/Makefile index 3cd09e2f0894..a7f19188d318 100644 --- a/graphics/glee/Makefile +++ b/graphics/glee/Makefile @@ -1,37 +1,38 @@ PORTNAME= GLee DISTVERSION= 5.4.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://elf-stone.com/downloads/${PORTNAME}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= yuri@FreeBSD.org COMMENT= Cross-platform extension loading library for OpenGL LICENSE= BSD2CLAUSE USES= gl gmake GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_GL= gl NO_WRKSUBDIR= yes CFLAGS+= -fPIC LDFLAGS+= -Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined -L${LOCALBASE}/lib -lGL SUB_FILES= glee.pc PLIST_FILES= include/GL/GLee.h \ lib/libGLee.so \ lib/libGLee.so.5 \ lib/libGLee.so.5.4 \ libdata/pkgconfig/glee.pc post-install: cd ${STAGEDIR}${PREFIX}/lib && \ ${MV} libGLee.so libGLee.so.${DISTVERSION:R} && \ ${LN} -s libGLee.so.${DISTVERSION:R} libGLee.so.${DISTVERSION:R:R} && \ ${LN} -s libGLee.so.${DISTVERSION:R} libGLee.so ${INSTALL_DATA} ${WRKDIR}/glee.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig .include diff --git a/graphics/glew-wayland/Makefile b/graphics/glew-wayland/Makefile index cf941d77ca7e..f75318eb79ec 100644 --- a/graphics/glew-wayland/Makefile +++ b/graphics/glew-wayland/Makefile @@ -1,40 +1,40 @@ -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -wayland # https://github.com/nigels-com/glew/issues/172 MAINTAINER= jbeich@FreeBSD.org MASTERDIR= ${.CURDIR}/../glew PLIST= ${.CURDIR}/pkg-plist PKGMESSAGE= ${.CURDIR}/pkg-message USE_GL= gl egl USE_XORG= # empty MAKE_ARGS= NAME=${PORTNAME:tu}${PKGNAMESUFFIX} INSTALL_TARGET= install.lib OPTIONS_DEFINE= # empty post-patch: slave-post-patch slave-post-patch: @${REINPLACE_CMD} 's/Makefile.$$(SYSTEM)/&-egl/' ${WRKSRC}/Makefile @${SED} 's/linux/${OPSYS:tl}/' ${WRKSRC}/config/Makefile.linux-egl \ >${WRKSRC}/config/Makefile.${OPSYS:tl}-egl @${REINPLACE_CMD} -e '/^Requires:/d' \ -e '/^Name:/s/${PORTNAME}/${PKGBASE}/' \ ${WRKSRC}/${PORTNAME}.pc.in # GCC 4.2 doesn't support redefining same typedef @${REINPLACE_CMD} '/typedef.*EGLint;/d' ${WRKSRC}/include/GL/eglew.h post-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/glewinfo \ ${STAGEDIR}${PREFIX}/bin/glewinfo${PKGNAMESUFFIX} ${INSTALL_PROGRAM} ${WRKSRC}/bin/visualinfo \ ${STAGEDIR}${PREFIX}/bin/visualinfo${PKGNAMESUFFIX} ${MKDIR} ${STAGEDIR}${PREFIX}/include/GL ${INSTALL_DATA} ${WRKSRC}/include/GL/eglew.h \ ${STAGEDIR}${PREFIX}/include/GL ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/${PKGBASE}.pc .include "${MASTERDIR}/Makefile" diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile index 1f2dc352a95c..468aabfa59fa 100644 --- a/graphics/glew/Makefile +++ b/graphics/glew/Makefile @@ -1,37 +1,37 @@ # Created by: Igor Pokrovsky PORTNAME= glew PORTVERSION= 2.2.0 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER?= zeising@FreeBSD.org COMMENT= OpenGL Extension Wrangler Library LICENSE= MIT BSD3CLAUSE LICENSE_COMB= dual USES= gmake gl tar:tgz xorg USE_XORG?= x11 xext xi xmu USE_GL?= gl glu USE_LDCONFIG= yes MAKE_ENV= GLEW_DEST=${PREFIX} GLEW_PREFIX=${PREFIX} INSTALL_TARGET?=install.all OPTIONS_DEFINE?=DOCS post-patch: @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' \ -e 's|^LIBDIR|GLEW_LIBDIR|' \ -e 's|$$(LIBDIR)|$$(GLEW_LIBDIR)|' \ ${WRKSRC}/Makefile do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in css html jpg png ${INSTALL_DATA} ${WRKSRC}/doc/*.${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/graphics/glexcess/Makefile b/graphics/glexcess/Makefile index a282a14e84f9..69efb1f109fa 100644 --- a/graphics/glexcess/Makefile +++ b/graphics/glexcess/Makefile @@ -1,34 +1,34 @@ # Created by: Hernan Di Pietro PORTNAME= glexcess PORTVERSION= 1.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= http://www.glexcess.com/files/ DISTNAME= ${PORTNAME} MAINTAINER= hernan.di.pietro@gmail.com COMMENT= Impressive OpenGL Demo USES= gl USE_GL= glut MAKE_ARGS= 'CXXFLAGS=${CXXFLAGS} -I${LOCALBASE}/include -pipe -s -O2' \ 'LDFLAGS=-L${LOCALBASE}/lib -lGL -lGLU -lglut' OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/scene*.cpp @${REINPLACE_CMD} -e 's|k_InitGL(GLvoid)|k_InitGL(void)|' ${WRKSRC}/scene12.cpp @${REINPLACE_CMD} -e 's|Load(char\*|Load(const char* |g' ${WRKSRC}/Texture.* @${REINPLACE_CMD} -e 's|Create(char\*|Create(const char* |g' ${WRKSRC}/Texture.* do-install: ${INSTALL_PROGRAM} ${WRKSRC}/glxs ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/data/*.raw ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile index 0a74e99b72aa..d6205f09a026 100644 --- a/graphics/glfw/Makefile +++ b/graphics/glfw/Makefile @@ -1,59 +1,60 @@ # Created by: Rusmir Dusko PORTNAME= glfw PORTVERSION= 3.3.4 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/glfw/glfw/releases/download/${PORTVERSION}/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Portable framework for OpenGL development LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= cmake:insource gl localbase zip USE_GL= glu USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS PLIST_SUB= VERSION=${PORTVERSION:R} MAJVER="${PORTVERSION:C|\..*||}" PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT=X11 OPTIONS_SINGLE= PLATFORM OPTIONS_SINGLE_PLATFORM= WAYLAND X11 PLATFORM_DESC= Window creation platform WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_USES= kde:5 pkgconfig WAYLAND_USE= KDE=ecm WAYLAND_CMAKE_BOOL= GLFW_USE_WAYLAND X11_USES= xorg X11_USE= XORG=x11,xcursor,xi,xinerama,xrandr,xxf86vm do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/docs/html/search ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/html/search/* \ ${STAGEDIR}${DOCSDIR}/docs/html/search cd ${WRKSRC}/docs/html && ${INSTALL_DATA} *.html *.png *.css *.js \ ${STAGEDIR}${DOCSDIR}/docs/html do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/tests cd ${WRKSRC}/examples && ${INSTALL_PROGRAM} \ boing gears heightmap particles simple splitview wave \ ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/tests && ${INSTALL_PROGRAM} \ clipboard cursor empty events gamma glfwinfo iconify \ joysticks monitors msaa reopen tearing \ threads title windows \ ${STAGEDIR}${EXAMPLESDIR}/tests .include diff --git a/graphics/glfw2/Makefile b/graphics/glfw2/Makefile index e8317506b3a8..d088fe1d3f8b 100644 --- a/graphics/glfw2/Makefile +++ b/graphics/glfw2/Makefile @@ -1,73 +1,73 @@ # Created by: Igor Pokrovsky PORTNAME= glfw PORTVERSION= 2.7.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF PKGNAMESUFFIX= 2 MAINTAINER= ports@FreeBSD.org COMMENT= Portable framework for OpenGL development LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/COPYING.txt USES= gl tar:bzip2 xorg HAS_CONFIGURE= yes CONFIGURE_SCRIPT= compile.sh ALL_TARGET= x11 INSTALL_TARGET= x11-install USE_XORG= xi xrandr USE_GL= glu USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes CFLAGS+= -w PLIST_FILES= include/GL/glfw.h lib/libglfw.a lib/libglfw.so \ lib/libglfw.so.0 libdata/pkgconfig/libglfw.pc PORTDOCS= * PORTEXAMPLES= * DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX} OPTIONS_DEFINE= DOCS EXAMPLES # Restrict to stable (even) versions, indicated by the second component. PORTSCOUT= limit:^2\..* post-extract: @${CHMOD} +x ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|; \ /SOFLAGS/s|-soname |-Wl,-soname,|' \ ${WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} \ -e 's|lib/pkgconfig|libdata/pkgconfig|g' \ ${WRKSRC}/lib/x11/Makefile.x11.in post-install: ${INSTALL_LIB} ${WRKSRC}/lib/x11/libglfw.so ${STAGEDIR}${PREFIX}/lib/libglfw.so.0 ${LN} -sf libglfw.so.0 ${STAGEDIR}${PREFIX}/lib/libglfw.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${INSTALL_DATA} *.pdf *.sty *.tex *.txt ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in boing gears heightmap listmodes mipmaps mtbench mthello pong3d splitview triangle wave ${INSTALL_PROGRAM} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/examples/*.tga ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/tests .for f in accuracy defaults dynamic events fsaa fsinput iconify joysticks peter reopen tearing version ${INSTALL_PROGRAM} ${WRKSRC}/tests/${f} ${STAGEDIR}${EXAMPLESDIR}/tests .endfor .include diff --git a/graphics/gliv/Makefile b/graphics/gliv/Makefile index 8da4b72f63aa..a522ab1c7bba 100644 --- a/graphics/gliv/Makefile +++ b/graphics/gliv/Makefile @@ -1,31 +1,31 @@ # Created by: Jeremy Norris PORTNAME= gliv PORTVERSION= 1.9.7 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= http://guichaz.free.fr/gliv/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Image viewer that uses Gdk-Pixbuf and OpenGL LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext USES= compiler:c11 desktop-file-utils gettext gl gmake gnome \ localbase:ldflags pathfix pkgconfig tar:bzip2 USE_GNOME= gnomeprefix gtk20 USE_GL= gl glu GNU_CONFIGURE= yes MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ AUTOHEADER="${TRUE}" post-install: ${INSTALL_DATA} ${WRKSRC}/gliv.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/gliv.png \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/graphics/glosm/Makefile b/graphics/glosm/Makefile index 96b680699b6f..7e8c0e2929d9 100644 --- a/graphics/glosm/Makefile +++ b/graphics/glosm/Makefile @@ -1,35 +1,35 @@ PORTNAME= glosm PORTVERSION= 0.0.2 DISTVERSIONPREFIX= ${PORTNAME}- -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics geography MAINTAINER= amdmi3@FreeBSD.org COMMENT= 3D OpenGL renderer for OpenStreetMap LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libexpat.so:textproc/expat2 USES= cmake gl sdl tar:bzip2 xorg USE_GL= gl USE_XORG= x11 USE_SDL= sdl USE_CXXSTD= c++98 USE_GITHUB= yes GH_ACCOUNT= AMDmi3 TEST_TARGET= test PORTDOCS= README ChangeLog OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/graphics/glpng/Makefile b/graphics/glpng/Makefile index 47972dcfaa47..10dca6306a1e 100644 --- a/graphics/glpng/Makefile +++ b/graphics/glpng/Makefile @@ -1,24 +1,24 @@ PORTNAME= glpng PORTVERSION= 1.46 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://repo.or.cz/glpng.git/snapshot/ \ https://mirror.amdmi3.ru/distfiles/${DIST_SUBDIR}/ DISTNAME= 1079563a36edfe10a5f5d79ad38fe465425b989e DIST_SUBDIR= glpng MAINTAINER= amdmi3@FreeBSD.org COMMENT= Library to easily load PNG files as an OpenGL textures LICENSE= ZLIB LIB_DEPENDS= libpng.so:graphics/png WRKSRC= ${WRKDIR}/glpng-1079563 USES= cmake gl zip USE_GL= gl OPTIONS_DEFINE= DOCS .include diff --git a/graphics/gltt/Makefile b/graphics/gltt/Makefile index 30128afb49d2..1be96a738ac7 100644 --- a/graphics/gltt/Makefile +++ b/graphics/gltt/Makefile @@ -1,30 +1,30 @@ # Created by: Igor Pokrovsky PORTNAME= gltt PORTVERSION= 2.5.2 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics MASTER_SITES= http://gltt.sourceforge.net/download/ MAINTAINER= ports@FreeBSD.org COMMENT= TrueType fonts rendering using OpenGL LIB_DEPENDS= libttf.so:print/freetype USES= gl gmake libtool USE_GL= gl glut GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-ttf-includes=${LOCALBASE}/include/freetype1 \ --with-ttf-libraries=${LOCALBASE}/lib \ --with-gl-includes=${LOCALBASE}/include \ --with-gl-libraries=${LOCALBASE}/lib \ --with-glut-includes=${LOCALBASE}/include \ --with-glut-libraries=${LOCALBASE}/lib USE_LDCONFIG= yes post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgltt.so .include diff --git a/graphics/glx-utils/Makefile b/graphics/glx-utils/Makefile index 0426d474e487..d82b8a5d9ccc 100644 --- a/graphics/glx-utils/Makefile +++ b/graphics/glx-utils/Makefile @@ -1,34 +1,35 @@ PORTNAME= glx-utils DISTVERSIONPREFIX= ${GL_ACCOUNT}-${GL_PROJECT}- DISTVERSION= 8.4.0-53 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org COMMENT= List GLX capabilities and simple renderer LICENSE= MIT CONFLICTS_INSTALL= mesa-demos USES= gl localbase:ldflags xorg USE_GITLAB= yes USE_GL= gl USE_XORG= x11 GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= mesa GL_PROJECT= demos GL_COMMIT= 5435fc7fbd332e171da9a71e33a9b190e9462cf0 WRKSRC_SUBDIR= src/xdemos PLIST_FILES= bin/glxgears \ bin/glxinfo \ ${NULL} do-build: (cd ${WRKSRC} && ${CC} ${CFLAGS} -o glxinfo glxinfo.c glinfo_common.c ${LDFLAGS} -lGL -lX11) (cd ${WRKSRC} && ${CC} ${CFLAGS} -o glxgears glxgears.c ${LDFLAGS} -lGL -lX11 -lm) do-install: ${INSTALL_PROGRAM} ${PLIST_FILES:Mbin/*:S,^bin,${WRKSRC},} \ ${STAGEDIR}${PREFIX}/bin .include diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile index 9a8ef112a5ca..3a87a1a51bec 100644 --- a/graphics/gnash/Makefile +++ b/graphics/gnash/Makefile @@ -1,160 +1,160 @@ PORTNAME= gnash PORTVERSION= 0.8.10 -PORTREVISION= 46 +PORTREVISION= 47 CATEGORIES= graphics MASTER_SITES= http://git.savannah.gnu.org/cgit/gnash.git/snapshot/ DISTNAME= gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880 MAINTAINER= dinoex@FreeBSD.org COMMENT= GNU Flash movie player LICENSE= GPLv3 LIB_DEPENDS= libltdl.so:devel/libltdl \ libnspr4.so:devel/nspr \ libgif.so:graphics/giflib \ libpng.so:graphics/png \ libcurl.so:ftp/curl \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp \ libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libavcodec.so:multimedia/ffmpeg \ libtheora.so:multimedia/libtheora \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libdca.so:multimedia/libdca \ libgsm.so:audio/gsm CONFLICTS= gnash-devel-[0-9]* USES= cpe tar:bzip2 compiler:c++11-lang autoreconf gmake libtool \ pkgconfig jpeg gnome gl sdl desktop-file-utils xorg CPE_VENDOR= gnu GNU_CONFIGURE= yes USE_GNOME= atk gconf2 gtk20 libxml2 pango USE_XORG= x11 xau xdmcp xext xi xinerama ice sm xv USE_GL= egl USE_SDL= sdl INSTALLS_ICONS= yes SYSCONFIGDIR= ${PREFIX}/etc # jemalloc leads to infinite recursion on FreeBSD CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/ffmpeg CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \ --with-boost-lib="${LOCALBASE}/lib" \ --with-plugins-install=prefix \ --sysconfdir="${SYSCONFIGDIR}" \ --enable-gui=gtk \ --enable-media=ffmpeg \ --with-ffmpeg-incl=${LOCALBASE}/include/libavcodec \ --with-ffmpeg-lib=${LOCALBASE}/lib \ --disable-testsuite \ --disable-kparts3 \ --disable-jemalloc #MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/ffmpeg" GNASHVER= 0.8.11dev CONFIG_FILES= gnashpluginrc gnashrc WRKSRC= ${WRKDIR}/${DISTNAME} PLIST_SUB+= GNASHVER="${GNASHVER}" USE_LDCONFIG= ${PREFIX}/lib/gnash OPTIONS_DEFINE= CYGNAL VAAPI DOCS NLS OPTIONS_SINGLE= MEDIA RENDERER OPTIONS_SINGLE_RENDERER=AGG OPENGL CAIRO OPTIONS_DEFAULT=AGG VAAPI NO_OPTIONS_SORT=yes OPTIONS_SUB= yes CYGNAL_DESC= Cygnal media server AGG_DESC= AGG renderer OPENGL_DESC= OpenGL renderer (experimental) CAIRO_DESC= Cairo renderer VAAPI_DESC= VAAPI support CYGNAL_CONFIGURE_ENABLE= cygnal .include # Cygnal option processing .if ${PORT_OPTIONS:MCYGNAL} CONFIG_FILES+= cygnalrc .endif # NLS option processing (not sure if --disable-nls actually has any effect) .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif CONFIGURE_ARGS+= --disable-npapi --disable-kparts4 # # Renderer options processing # GNASH_RENDERERS= .if ${PORT_OPTIONS:MAGG} LIB_DEPENDS+= libagg.so:graphics/agg GNASH_RENDERERS+= agg .endif .if ${PORT_OPTIONS:MOPENGL} IGNORE= support for OpenGL is currently broken, use option AGG GNASH_RENDERERS+= ogl LIB_DEPENDS+= libgdkglext-x11-1.0.so:x11-toolkits/gtkglext . if ${PORT_OPTIONS:MVAAPI} LIB_DEPENDS+= libva-glx.so:multimedia/libva-glx . endif .endif .if ${PORT_OPTIONS:MCAIRO} LIB_DEPENDS+= libcairo.so:graphics/cairo GNASH_RENDERERS+= cairo .endif .if ${GNASH_RENDERERS} == "" IGNORE= needs at least one renderer enabled. Please rerun 'make config' and enable AGG, OPENGL or CAIRO .endif CONFIGURE_ARGS+= --enable-renderer=${GNASH_RENDERERS:S/^ //W:S/ /,/gW} # # Hardware acceleration options processing # .if ${PORT_OPTIONS:MVAAPI} LIB_DEPENDS+= libva.so:multimedia/libva CONFIGURE_ARGS+= --enable-device=egl,x11,vaapi .else CONFIGURE_ARGS+= --enable-hwaccel=none # XVideo CONFIGURE_ARGS+= --enable-device=egl,x11 .endif .include post-patch: ${REINPLACE_CMD} -e 's|lib64|lib|g' -e 's|lib32|lib|g' \ ${WRKSRC}/macros/libslist ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/macros/incllist ${REINPLACE_CMD} -e 's|CODEC_ID_|AV_CODEC_ID_|' \ ${WRKSRC}/libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp post-install: # eglinfo conflicts with mesa-demos ${MV} ${STAGEDIR}/${PREFIX}/bin/eglinfo ${STAGEDIR}/${PREFIX}/bin/eglinfo-gnash .for conf in ${CONFIG_FILES} ${MV} ${STAGEDIR}/${SYSCONFIGDIR}/${conf} ${STAGEDIR}${SYSCONFIGDIR}/${conf}.dist .endfor .include diff --git a/graphics/gource/Makefile b/graphics/gource/Makefile index eec289a90081..b957dd6bc7ab 100644 --- a/graphics/gource/Makefile +++ b/graphics/gource/Makefile @@ -1,27 +1,27 @@ # Created by: demon@FreeBSD.org PORTNAME= gource PORTVERSION= 0.51 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/acaudwell/Gource/releases/download/${PORTNAME}-${PORTVERSION}/ MAINTAINER= demon@FreeBSD.org COMMENT= OpenGL-based 3D visualisation tool for source control repositories LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpcre.so:devel/pcre \ libboost_filesystem.so:devel/boost-libs \ libpng.so:graphics/png RUN_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm USES= compiler:c++0x gl gmake pkgconfig sdl GNU_CONFIGURE= yes USE_GL= glew gl glu USE_SDL= image2 sdl2 .include diff --git a/graphics/gpxsee/Makefile b/graphics/gpxsee/Makefile index 813305e13cf5..11806629e31f 100644 --- a/graphics/gpxsee/Makefile +++ b/graphics/gpxsee/Makefile @@ -1,57 +1,58 @@ # Created by: Nikolay Korotkiy PORTNAME= gpxsee DISTVERSION= 7.32 +PORTREVISION= 1 CATEGORIES= graphics geography MAINTAINER= sikmir@gmail.com COMMENT= GPS log file viewer and analyzer LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/licence.txt USES= compiler:c++11-lang desktop-file-utils gl qmake:outsource \ qt:5 shared-mime-info USE_QT= buildtools_build concurrent core gui network opengl printsupport \ sql sql-sqlite3_run widgets USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= tumic0 GH_PROJECT= GPXSee OPTIONS_DEFINE= MAPS NLS PBF TIFF OPTIONS_DEFAULT= MAPS PBF TIFF OPTIONS_SUB= yes MAPS_DESC= Install map definitions of some well known global map services NLS_USE= QT=linguisttools_build NLS_USES= gettext-runtime PBF_DESC= Support for PBF vector maps PBF_RUN_DEPENDS= ${QT_PLUGINDIR}/imageformats/libpbf.so:graphics/qtpbfimageplugin TIFF_DESC= Support for GeoTIFF images TIFF_USE= QT=imageformats_run pre-build-NLS-on: ( cd ${BUILD_WRKSRC} && ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro ) do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/gpxsee ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DATADIR}/csv ${INSTALL_DATA} ${WRKSRC}/pkg/csv/* ${STAGEDIR}${DATADIR}/csv @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps ${INSTALL_DATA} ${WRKSRC}/icons/app/hicolor/64x64/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps ${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.xml ${STAGEDIR}${PREFIX}/share/mime/packages @${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo ${INSTALL_DATA} ${WRKSRC}/pkg/appdata.xml ${STAGEDIR}${PREFIX}/share/metainfo/${PORTNAME}.appdata.xml do-install-MAPS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/maps ${INSTALL_DATA} ${WRKSRC}/pkg/maps/* ${STAGEDIR}${DATADIR}/maps do-install-NLS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/translations ${INSTALL_DATA} ${WRKSRC}/lang/*.qm ${STAGEDIR}${DATADIR}/translations .include diff --git a/graphics/gstreamer1-plugins-gl/Makefile b/graphics/gstreamer1-plugins-gl/Makefile index 29de9011e2b0..165c1ab3102a 100644 --- a/graphics/gstreamer1-plugins-gl/Makefile +++ b/graphics/gstreamer1-plugins-gl/Makefile @@ -1,31 +1,31 @@ -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics COMMENT= GStreamer GL graphics plugin GST_PLUGIN= gl DIST= base GL_GST_DIRS= gst-libs/gst/allocators gst-libs/gst/video PLIST= ${.CURDIR}/pkg-plist MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins OPTIONS_DEFINE= WAYLAND OPTIONS_DEFAULT=WAYLAND OPTIONS_SUB= yes WAYLAND_CONFIGURE_ENABLE= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland pre-build: .for dir in ${GL_GST_DIRS} @(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}) .endfor post-install: ${INSTALL_DATA} ${WRKSRC}/pkgconfig/gstreamer-gl.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gstreamer-gl-1.0.pc .include "${MASTERDIR}/Makefile" diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile index 5cfe63ed0b58..af36781aec2e 100644 --- a/graphics/gthumb/Makefile +++ b/graphics/gthumb/Makefile @@ -1,104 +1,104 @@ # Created by: Joe Marcus Clarke # $MCom: ports/trunk/graphics/gthumb/Makefile 19823 2014-08-20 09:28:14Z gusi $ PORTNAME= gthumb PORTVERSION= 3.10.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Image viewer and browser for the GNOME 3 environment LICENSE= GPLv2+ BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libgstreamer-1.0.so:multimedia/gstreamer1 \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ liboauth.so:net/liboauth \ libpng.so:graphics/png \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff \ libcolord.so:graphics/colord RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= bison compiler:c++11-lib desktop-file-utils gettext gl \ gnome jpeg localbase:ldflags meson pkgconfig \ python:3.5+,build shebangfix tar:xz xorg USE_GL= egl USE_GNOME= cairo gtk30 intltool librsvg2 USE_XORG= x11 xcomposite xdamage xext xfixes xrandr xi MESON_ARGS= -Dlibrsvg=true \ -Dlibchamplain=false INSTALL_TARGET= install-strip USE_LDCONFIG= yes INSTALLS_ICONS= yes BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= *.py data/gschemas/*.py gthumb/*.py po/*.py PLIST_SUB= GTHUMB_VER="3.10" GLIB_SCHEMAS= org.gnome.gthumb.change-date.gschema.xml \ org.gnome.gthumb.comments.gschema.xml \ org.gnome.gthumb.contact-sheet.gschema.xml \ org.gnome.gthumb.convert-format.gschema.xml \ org.gnome.gthumb.crop.gschema.xml \ org.gnome.gthumb.enums.xml \ org.gnome.gthumb.facebook.gschema.xml \ org.gnome.gthumb.file-manager.gschema.xml \ org.gnome.gthumb.flickr.gschema.xml \ org.gnome.gthumb.gschema.xml \ org.gnome.gthumb.gstreamer-tools.gschema.xml \ org.gnome.gthumb.image-print.gschema.xml \ org.gnome.gthumb.image-viewer.gschema.xml \ org.gnome.gthumb.importer.gschema.xml \ org.gnome.gthumb.photo-importer.gschema.xml \ org.gnome.gthumb.picasaweb.gschema.xml \ org.gnome.gthumb.pixbuf-savers.gschema.xml \ org.gnome.gthumb.rename-series.gschema.xml \ org.gnome.gthumb.resize-images.gschema.xml \ org.gnome.gthumb.resize.gschema.xml \ org.gnome.gthumb.rotate.gschema.xml \ org.gnome.gthumb.slideshow.gschema.xml \ org.gnome.gthumb.webalbums.gschema.xml \ org.gnome.gthumb.catalogs.gschema.xml \ org.gnome.gthumb.terminal.gschema.xml OPTIONS_DEFINE= BRASERO CLUTTER EXIV2 GSTREAMER RAW SECRET \ WEBP WEBSERVICES YELP OPTIONS_DEFAULT= BRASERO CLUTTER EXIV2 GSTREAMER RAW SECRET \ WEBP WEBSERVICES YELP OPTIONS_SUB= yes BRASERO_DESC= Write galleries to CD/DVD (large dependency) BRASERO_LIB_DEPENDS= libbrasero-media3.so:sysutils/brasero BRASERO_MESON_TRUE= libbrasero CLUTTER_DESC= Fancy slideshows CLUTTER_LIB_DEPENDS= libclutter-gtk-1.0.so:graphics/clutter-gtk3 CLUTTER_MESON_TRUE= clutter EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2 EXIV2_MESON_TRUE= exiv2 GSTREAMER_USE= gstreamer1=yes GSTREAMER_MESON_TRUE= gstreamer RAW_DESC= Raw image support via libraw RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_TRUE= libraw SECRET_DESC= Libsecret support for storing passwords SECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret SECRET_MESON_TRUE= libsecret WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_TRUE= libwebp WEBSERVICES_DESC= Web services WEBSERVICES_LIB_DEPENDS=\ libjson-glib-1.0.so:devel/json-glib \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 WEBSERVICES_MESON_TRUE= webservices YELP_DESC= Viewer for built-in help system YELP_RUN_DEPENDS= yelp:x11/yelp .include diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile index ce81336f9d5a..e0257a40014b 100644 --- a/graphics/hugin/Makefile +++ b/graphics/hugin/Makefile @@ -1,62 +1,62 @@ # Created by: Carlos Eduardo G. Carvalho PORTNAME= hugin PORTVERSION= 2019.2.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} MAINTAINER= grog@FreeBSD.org COMMENT= GUI for Panorama Tools, to stitch panoramic images LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath \ libboost_thread.so:devel/boost-libs \ liblcms2.so:graphics/lcms2 \ libexiv2.so:graphics/exiv2 \ libfftw3.so:math/fftw3 \ libpano13.so:graphics/libpano13 \ libvigraimpex.so:graphics/vigra \ libpng.so:graphics/png \ libtiff.so:graphics/tiff # gmake is really needed at _runtime_. Do not remove it from this list. RUN_DEPENDS= enblend>=4.1.4:graphics/enblend \ exiftool:graphics/p5-Image-ExifTool \ gmake:devel/gmake LICENSE= GPLv2 CFLAGS+= -I${LOCALBASE}/include/Imath BROKEN_i386= Fails to build: ld: error: src/hugin_base/libhuginbase.so.0.0: undefined reference to __atomic_load USES= cmake compiler:c++11-lib desktop-file-utils gettext gl gnome \ jpeg pkgconfig shared-mime-info shebangfix sqlite tar:bzip2 xorg CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} USE_GL= gl glew glu glut USE_WX= 3.0+ USE_XORG= x11 INSTALLS_ICONS= yes SHEBANG_FILES= src/hugin_script_interface/hpi.py \ src/hugin_script_interface/plugins/*.py \ src/hugin_script_interface/plugins-dev/*.py OPTIONS_DEFINE= PANOMATIC AUTOPANOSIFTC PYTHON OPTIONS_DEFAULT= PANOMATIC PYTHON OPTIONS_SUB= yes PANOMATIC_DESC= Install graphics/panomatic PANOMATIC_RUN_DEPENDS= panomatic:graphics/panomatic AUTOPANOSIFTC_DESC= Install graphics/autopano-sift-c AUTOPANOSIFTC_RUN_DEPENDS= autopano:graphics/autopano-sift-c PYTHON_DESC= Python Scripting Interface PYTHON_USES= python PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_CMAKE_ON= -DBUILD_HSI=ON PYTHON_CMAKE_OFF= -DBUILD_HSI=OFF .include diff --git a/graphics/imv/Makefile b/graphics/imv/Makefile index 2115ee82e280..0d33228e3806 100644 --- a/graphics/imv/Makefile +++ b/graphics/imv/Makefile @@ -1,84 +1,84 @@ PORTNAME= imv DISTVERSIONPREFIX= v DISTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= eduardo@FreeBSD.org COMMENT= Simple image viewer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= a2x:textproc/asciidoc LIB_DEPENDS= libicuuc.so:devel/icu \ libinih.so:devel/inih \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 desktop-file-utils gettext-runtime gl gnome \ meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= eXeC64 USE_GL= egl USE_GNOME= cairo glib20 pango PLIST_FILES= bin/imv \ bin/imv-msg \ etc/imv_config \ man/man1/imv-msg.1.gz \ man/man1/imv.1.gz \ man/man5/imv.5.gz \ share/applications/imv.desktop OPTIONS_DEFINE= FREEIMAGE HEIF JPEG NSGIF PNG SVG TEST TIFF OPTIONS_DEFAULT= FREEIMAGE HEIF JPEG NSGIF PNG SVG TIFF ALL OPTIONS_SINGLE= WIN OPTIONS_SINGLE_WIN= WAYLAND X11 ALL OPTIONS_SUB= yes FREEIMAGE_DESC= FreeImage backend (support for many image formats) HEIF_DESC= HEIF backend NSGIF_DESC= NetSurf GIF backend (support for animated GIF) WIN_DESC= Windowing system ALL_LIB_DEPENDS+= libwayland-client.so:graphics/wayland ALL_USES= xorg ALL_USE= gl=glu xorg=x11,xcb ALL_MESON_ON= -Dwindows=all ALL_PLIST_FILES= bin/imv-wayland \ bin/imv-x11 FREEIMAGE_LIB_DEPENDS= libfreeimage.so:graphics/freeimage FREEIMAGE_MESON_ENABLED=freeimage HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= libheif JPEG_LIB_DEPENDS= libturbojpeg.so:graphics/libjpeg-turbo JPEG_MESON_ENABLED= libjpeg NSGIF_LIB_DEPENDS= libnsgif.so:graphics/libnsgif NSGIF_MESON_ENABLED= libnsgif PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= libpng SVG_USE= GNOME=librsvg2 SVG_MESON_ENABLED= librsvg TEST_LIB_DEPENDS= libcmocka.so:sysutils/cmocka TEST_MESON_ENABLED= test TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= libtiff WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland WAYLAND_MESON_ON= -Dwindows=wayland X11_USES= xorg X11_USE= gl=glu \ xorg=x11,xcb X11_MESON_ON= -Dwindows=x11 .include diff --git a/graphics/instant-meshes/Makefile b/graphics/instant-meshes/Makefile index eba55c7a9078..ff2df235f08e 100644 --- a/graphics/instant-meshes/Makefile +++ b/graphics/instant-meshes/Makefile @@ -1,51 +1,51 @@ PORTNAME= instant-meshes DISTVERSION= 0.0-42 DISTVERSIONSUFFIX= -g4a083f4 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MAINTAINER= greg@unrelenting.technology COMMENT= Interactive field-aligned mesh generator LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= convert:graphics/ImageMagick6 LIB_DEPENDS= libglfw.so:graphics/glfw RUN_DEPENDS= zenity:x11/zenity USES= cmake compiler:c++14-lang eigen:3 gl localbase:ldflags \ pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= wjakob GH_TUPLE= wjakob:nanogui:2a61f03:nanogui/ext/nanogui \ wjakob:nanovg:ac15b84:nanovg/ext/nanogui/ext/nanovg \ wjakob:dset:7967ef0:dset/ext/dset \ wjakob:tbb:141b0e3:tbb/ext/tbb \ wjakob:pcg32:0ef13e6:pcg32/ext/pcg32 \ wjakob:pss:a91da33:pss/ext/pss # x11-toolkits/nanogui should be a port dependency, but current versions aren't compatible USE_GL= gl USE_XORG= x11 xcursor xi xinerama xrandr xxf86vm CMAKE_ON= NANOGUI_BUILD_PYTHON post-build: @convert -verbose -resize 500x500 -gravity center -background none -extent 512x512 \ ${WRKSRC}/resources/icon.png ${WRKDIR}/icon_512x512.png .for size in 128x128 192x192 256x256 @convert -verbose -resize ${size} ${WRKDIR}/icon_512x512.png ${WRKDIR}/icon_${size}.png .endfor .for size in 16x16 24x24 32x32 48x48 64x64 96x96 @convert -verbose -resize ${size} ${WRKDIR}/icon_512x512.png -unsharp 0x6 ${WRKDIR}/icon_${size}.png .endfor post-install: @${RM} -r ${STAGEDIR}${PREFIX}/include ${STAGEDIR}${PREFIX}/lib .for size in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 192x192 256x256 512x512 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}/apps ${INSTALL_DATA} ${WRKDIR}/icon_${size}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}/apps/${PORTNAME}.png .endfor ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/"Instant Meshes" ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/ .include diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile index 2c95966e5f7f..062e053d730f 100644 --- a/graphics/jasper/Makefile +++ b/graphics/jasper/Makefile @@ -1,41 +1,42 @@ # Created by: Maxim Sobolev PORTNAME= jasper PORTVERSION= 2.0.32 DISTVERSIONPREFIX= version- +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= sunpoet@FreeBSD.org COMMENT= Implementation of the codec specified in the JPEG-2000 standard LICENSE= JASPER LICENSE_NAME= JasPer License Version 2.0 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cmake cpe jpeg localbase CMAKE_OFF= JAS_ENABLE_AUTOMATIC_DEPENDENCIES JAS_ENABLE_DOC CMAKE_ON= JAS_ENABLE_LIBJPEG USE_LDCONFIG= yes DOCSDIR= ${PREFIX}/share/doc/JasPer USE_GITHUB= yes GH_ACCOUNT= jasper-software CPE_VENDOR= jasper_project OPTIONS_DEFINE= OPENGL DOCS OPTIONS_DEFAULT=OPENGL OPTIONS_SUB= yes OPENGL_CMAKE_BOOL= JAS_ENABLE_OPENGL OPENGL_USE= GL=gl,glu,glut XORG=x11,xext,xi,xmu OPENGL_USES= gl xorg post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/jasper.pdf ${WRKSRC}/doc/jpeg2000.pdf ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/jogl/Makefile b/graphics/jogl/Makefile index 548d9ba43bea..052987526595 100644 --- a/graphics/jogl/Makefile +++ b/graphics/jogl/Makefile @@ -1,96 +1,96 @@ # Created by: Peter Jeremy PORTNAME= jogl PORTVERSION= 1.1.1 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics devel java MASTER_SITES= http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/ EXTRACT_SUFX= -src.zip MAINTAINER= peterj@FreeBSD.org COMMENT= Java bindings for OpenGL LIB_DEPENDS= libdrm.so:graphics/libdrm BUILD_DEPENDS= ${JAVALIBDIR}/antlr.jar:devel/antlr NO_WRKSUBDIR= yes DOCSDIR= ${JAVASHAREDIR}/${PORTNAME} ALL_TARGET= all # Java currently only supports i386 and amd64. Supporting additional # architectures will need patches to at least # gluegen/src/java/com/sun/gluegen/StructLayout.java # gluegen/src/java/com/sun/gluegen/runtime/CPU.java # gluegen/make/gluegen-cpptasks.xml # jogl/make/build.xml ONLY_FOR_ARCHS= i386 amd64 USES= gl xorg zip USE_XORG= x11 xau xdamage xdmcp xext xfixes xorgproto xt xxf86vm USE_GL= gl USE_ANT= yes USE_LDCONFIG= yes USE_LOCALE= en_US.UTF-8 USE_JAVA= yes BUILD_WRKSRC= ${WRKSRC}/jogl/make BUILD_BINPATH= ${WRKSRC}/bin MAKE_ENV+= PATH="${BUILD_BINPATH}:${PATH}" OPTIONS_DEFINE= DOCS .include .if ${PORT_OPTIONS:MDOCS} ALL_TARGET+= javadoc .endif .include .if ${JAVA_PORT_VERSION:M*6*} PLIST_SUB+= JDK6="" PLIST_SUB+= JDK7="@comment " .endif .if ${JAVA_PORT_VERSION:M*7*} PLIST_SUB+= JDK6="@comment " PLIST_SUB+= JDK7="" .endif .if ${JAVA_PORT_VERSION:M*8*} PLIST_SUB+= JDK6="@comment " PLIST_SUB+= JDK7="@comment " .endif .if ${JAVA_PORT_VERSION:M*8*} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-build.xml .endif post-patch: @${REINPLACE_CMD} -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|g' \ ${WRKSRC}/gluegen/make/build.xml @${REINPLACE_CMD} -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/jogl/make/build.xml pre-build: ${MKDIR} ${BUILD_BINPATH} ${SED} -e 's|%%CC%%|${CC}|' < ${FILESDIR}/gcc.in > \ ${BUILD_BINPATH}/gcc ${CHMOD} 755 ${BUILD_BINPATH}/gcc do-install: ${INSTALL_DATA} ${WRKSRC}/gluegen/build/obj/libgluegen-rt.so \ ${WRKSRC}/jogl/build/obj/libjogl.so \ ${WRKSRC}/jogl/build/obj/libjogl_awt.so ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/gluegen/build/gluegen-rt.jar \ ${WRKSRC}/jogl/build/jogl.jar ${STAGEDIR}${JAVAJARDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/jogl/doc/userguide/index.html \ ${STAGEDIR}${DOCSDIR}/UserGuide.html cd ${BUILD_WRKSRC}/../javadoc_public && \ ${FIND} . -print | ${CPIO} -pdm ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/katarakt/Makefile b/graphics/katarakt/Makefile index c5a5daf59799..19be05aaec75 100644 --- a/graphics/katarakt/Makefile +++ b/graphics/katarakt/Makefile @@ -1,35 +1,35 @@ # Created by: Kurt Kanzenbach PORTNAME= katarakt PORTVERSION= 0.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MAINTAINER= kurt@kmk-computers.de COMMENT= Simple PDF viewer uses as much available screen space as possible LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= a2x:textproc/asciidoc LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 USES= compiler:c++11-lang gl pkgconfig qmake qt:5 USE_QT= buildtools_build core gui xml dbus network widgets USE_GL= gl USE_GITLAB= yes GL_SITE= https://gitlab.cs.fau.de GL_ACCOUNT= Qui_Sum GL_COMMIT= 99735bc0b15b57d689b6c982d43b85ed1b40ef45 PLIST_FILES= bin/katarakt \ man/man1/katarakt.1.gz post-build: cd ${WRKSRC} && ${MAKE} doc post-install: ${INSTALL_MAN} ${WRKSRC}/doc/katarakt.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/graphics/kludge3d/Makefile b/graphics/kludge3d/Makefile index 7b618912aa77..c50391b58439 100644 --- a/graphics/kludge3d/Makefile +++ b/graphics/kludge3d/Makefile @@ -1,32 +1,32 @@ # Created by: ijliao PORTNAME= kludge3d PORTVERSION= 20040822 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/source/2004-08-22 MAINTAINER= ports@FreeBSD.org COMMENT= Simple 3D editor LIB_DEPENDS= lib3ds.so:graphics/lib3ds \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext USES= compiler:c++11-lang gl gmake gnome pkgconfig python USE_GL= gl USE_GNOME= gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-lib-GL PLIST_FILES= bin/kludge3d CPPFLAGS+= -I${LOCALBASE}/include -I${PYTHON_INCLUDEDIR} LDFLAGS+= -L${LOCALBASE}/lib -L${PYTHON_LIBDIR}/config -lpthread -lm post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|@EXTRA_CFLAGS@|@CFLAGS@|g ; \ s| install-pixmapsDATA||g ; \ s|-lpthread||g' .include diff --git a/graphics/kmscube/Makefile b/graphics/kmscube/Makefile index cb4211333088..00aa0bfab3fc 100644 --- a/graphics/kmscube/Makefile +++ b/graphics/kmscube/Makefile @@ -1,35 +1,36 @@ PORTNAME= kmscube PORTVERSION= s20201028 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org COMMENT= Example KMS/GBM/EGL application LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdrm.so:graphics/libdrm USES= gl meson pkgconfig USE_GITLAB= yes USE_GL= egl gbm glesv2 GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= mesa GL_COMMIT= e6386d1b99366ea7559438c0d3abd2ae2d6d61ac PLIST_FILES= bin/${PORTNAME} \ bin/texturator \ ${NULL} OPTIONS_DEFINE= GSTREAMER PNG OPTIONS_DEFAULT=PNG GSTREAMER_USES= gnome GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes GSTREAMER_MESON_ENABLED=gstreamer PNG_LIB_DEPENDS= libpng.so:graphics/png post-patch-PNG-off: @${REINPLACE_CMD} 's/dep_libpng.found()/false/' ${WRKSRC}/meson.build .include diff --git a/graphics/kquickimageeditor/Makefile b/graphics/kquickimageeditor/Makefile index 5c623f976478..86c09fb801f3 100644 --- a/graphics/kquickimageeditor/Makefile +++ b/graphics/kquickimageeditor/Makefile @@ -1,18 +1,19 @@ PORTNAME= kquickimageeditor DISTVERSION= 0.1.2 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION:R} MAINTAINER= adridg@FreeBSD.org COMMENT= Simple image editor for QtQuick applications LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt USES= cmake compiler:c++17-lang gl kde:5 pkgconfig qt:5 tar:xz USE_GL= gl USE_QT= core declarative gui network quickcontrols2 \ buildtools_build linguist_build qmake_build USE_KDE= ecm_build .include diff --git a/graphics/lib3ds/Makefile b/graphics/lib3ds/Makefile index 455ae9282918..0b52ed1652b9 100644 --- a/graphics/lib3ds/Makefile +++ b/graphics/lib3ds/Makefile @@ -1,21 +1,21 @@ # Created by: Maxim Sobolev PORTNAME= lib3ds PORTVERSION= 1.3.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/lib3ds/ \ http://pkgs.fedoraproject.org/repo/pkgs/lib3ds/${DISTNAME}${EXTRACT_SUFX}/2572f7b0f29b591d494c1a0658b35c86/ MAINTAINER= ports@FreeBSD.org COMMENT= Library for handling 3DS (3D Studio) files LICENSE= LGPL21+ USES= gl libtool localbase zip GNU_CONFIGURE= yes USE_GL= gl glu glut INSTALL_TARGET= install-strip USE_LDCONFIG= yes .include diff --git a/graphics/libGLU/Makefile b/graphics/libGLU/Makefile index d1f12b8e98b7..122d5b57813b 100644 --- a/graphics/libGLU/Makefile +++ b/graphics/libGLU/Makefile @@ -1,20 +1,21 @@ # Created by: Eric Anholt PORTNAME= libGLU PORTVERSION= 9.0.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/glu/ \ https://mesa.freedesktop.org/archive/glu/ DISTNAME= glu-${PORTVERSION} MAINTAINER= x11@FreeBSD.org COMMENT= OpenGL utility library USES= gl libtool pathfix pkgconfig tar:xz xorg GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip USE_GL= gl USE_LDCONFIG= yes .include diff --git a/graphics/libQGLViewer/Makefile b/graphics/libQGLViewer/Makefile index bc08df269fb8..da829b10b36f 100644 --- a/graphics/libQGLViewer/Makefile +++ b/graphics/libQGLViewer/Makefile @@ -1,25 +1,26 @@ # Created by: Yuri Victorovich PORTNAME= libQGLViewer DISTVERSION= 2.7.2 +PORTREVISION= 1 CATEGORIES= graphics devel MASTER_SITES= http://www.libqglviewer.com/src/ MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library based on Qt5 that eases the creation of OpenGL 3D viewers LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENCE USES= compiler:c++11-lang gl qmake qt:5 USE_GL= gl glu USE_QT= core designer gui opengl widgets xml buildtools_build USE_LDCONFIG= yes PLIST_SUB= SHL3=${DISTVERSION} SHL2=${DISTVERSION:C/\.[0-9]$//} SHL1=${DISTVERSION:C/\.[0-9]\.[0-9]$//} OPTIONS_DEFINE= DOCS DOCSDIR= ${PREFIX}/share/doc/QGLViewer PORTDOCS= * .include diff --git a/graphics/libchamplain/Makefile b/graphics/libchamplain/Makefile index 4934adf5c728..c45ce8edd960 100644 --- a/graphics/libchamplain/Makefile +++ b/graphics/libchamplain/Makefile @@ -1,31 +1,32 @@ # Created by: Koop Mast PORTNAME= libchamplain PORTVERSION= 0.12.20 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= C library aimed to provide a Gtk+ widget to display rasterized maps and markers LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= vapigen:lang/vala LIB_DEPENDS= libcogl.so:graphics/cogl \ libclutter-1.0.so:graphics/clutter \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libjson-glib-1.0.so:devel/json-glib \ libsoup-2.4.so:devel/libsoup USES= gettext-runtime gl gnome localbase meson \ pkgconfig sqlite tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build USE_GL= egl USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr USE_LDCONFIG= yes INSTALL_TARGET= install-strip PLIST_SUB= VERSION=0.12 .include diff --git a/graphics/libepoxy/Makefile b/graphics/libepoxy/Makefile index 835e7111c023..972cdc38084c 100644 --- a/graphics/libepoxy/Makefile +++ b/graphics/libepoxy/Makefile @@ -1,28 +1,29 @@ PORTNAME= libepoxy DISTVERSION= 1.5.8 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/anholt/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= x11@FreeBSD.org COMMENT= Library to handle OpenGL function pointer management LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= gl localbase meson pkgconfig python:3.6+,build shebangfix tar:xz USE_GL= glesv2 egl USE_LDCONFIG= yes SHEBANG_FILES= src/gen_dispatch.py OPTIONS_DEFINE= TEST X11 OPTIONS_DEFAULT= X11 OPTIONS_SUB= yes TEST_MESON_TRUE= tests X11_USES= xorg X11_USE= GL=gl XORG=x11 X11_MESON_YES= glx X11_MESON_TRUE= x11 .include diff --git a/graphics/libgfx/Makefile b/graphics/libgfx/Makefile index d2dc46ecd5e7..74201d6f78ef 100644 --- a/graphics/libgfx/Makefile +++ b/graphics/libgfx/Makefile @@ -1,49 +1,49 @@ # Created by: Andrew Pantyukhin PORTNAME= libgfx DISTVERSION= 1.1.0 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= http://mgarland.org/files/dist/ MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL/FLTK development LICENSE= MIT LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libgzstream.so:devel/gzstream BUILD_WRKSRC= ${WRKSRC}/src USES= gl gmake jpeg xorg USE_GL= glu USE_XORG= x11 xext xft xinerama GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gzstream --with-libtiff-lzw --with-x ALL_TARGET= ${PORTNAME}.so USE_LDCONFIG= yes CFLAGS+= -fPIC CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e \ '/^CC /d ; \ /^CXX /d' ${WRKSRC}/gfx-config.in @${REINPLACE_CMD} -e \ 's|\.a|.so|g ; \ /RANLIB/d ; \ s|[(]AR[)] cru|{CC} ${CFLAGS} ${LDFLAGS} -shared $${GUI_LIBS} -lgzstream -o|' ${WRKSRC}/src/${MAKEFILE} @${REINPLACE_CMD} -e \ '/^FLTK_LIBS/s|"-lfltk"|"`fltk-config --ldflags`"|' ${WRKSRC}/configure do-install: @(cd ${WRKSRC}/include/gfx && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/gfx) ${INSTALL_LIB} ${WRKSRC}/src/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib @${LN} -sf ${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0 .include diff --git a/graphics/libgltext/Makefile b/graphics/libgltext/Makefile index 6f874197fb3c..5c46ee1bf97f 100644 --- a/graphics/libgltext/Makefile +++ b/graphics/libgltext/Makefile @@ -1,53 +1,53 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= libgltext PORTVERSION= 0.3.1 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= SF/gltext/gltext/${PORTVERSION} DISTNAME= gltext-${PORTVERSION} MAINTAINER= acm@FreeBSD.org COMMENT= Portable font rendering library for C++ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 USES= gl gmake localbase libtool xorg USE_GL= gl glu USE_XORG= x11 xmu GNU_CONFIGURE= yes USE_LDCONFIG= yes OPTIONS_DEFINE= EXAMPLES DOCS OPTIONS_SUB= yes EXAMPLES_DESC= Compile examples, need libglut EXAMPLES_USE= GL=glut do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/${PORTNAME}-${PORTVERSION}.so \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0 ${INSTALL_DATA} ${WRKSRC}/src/.libs/${PORTNAME}.a \ ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.la \ ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/src/gltext.h ${STAGEDIR}${PREFIX}/include ${LN} -s ${PORTNAME}.so.0 ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/tutorial.txt ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: .for DIRE in alpha fps simple sizes @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${DIRE} cd ${WRKSRC}/examples && \ ${INSTALL_DATA} ${DIRE}/${DIRE} ${DIRE}/${DIRE}.cpp ${STAGEDIR}${EXAMPLESDIR}/${DIRE} .endfor @${ECHO_MSG} "" @${ECHO_MSG} " Examples source and binary on ${STAGEDIR}${EXAMPLESDIR}" @${ECHO_MSG} "" .include diff --git a/graphics/libgltf/Makefile b/graphics/libgltf/Makefile index 61873ec4cc17..d7e956f50cba 100644 --- a/graphics/libgltf/Makefile +++ b/graphics/libgltf/Makefile @@ -1,24 +1,24 @@ PORTNAME= libgltf PORTVERSION= 0.0.2 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= graphics devel MASTER_SITES= LODEV MAINTAINER= office@FreeBSD.org COMMENT= C++ Library for rendering OpenGL models stored in glTF format LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:devel/boost-libs \ ${LOCALBASE}/include/glm/glm.hpp:math/glm USES= compiler:c++0x gl libtool pathfix pkgconfig tar:bzip2 USE_GL= glew USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-werror INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include .include diff --git a/graphics/libosmesa/Makefile b/graphics/libosmesa/Makefile index 2012865a0e3f..f51e00d77177 100644 --- a/graphics/libosmesa/Makefile +++ b/graphics/libosmesa/Makefile @@ -1,50 +1,51 @@ # Created by: gahr PORTNAME= libosmesa PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= Off-Screen Mesa implementation of the OpenGL API USES= xorg USE_XORG= xorgproto .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" # Disable some options MESON_ARGS+= -Ddri-drivers="" \ -Dgallium-drivers=swrast \ -Dvulkan-drivers="" \ -Dplatforms="" \ -Dgallium-vdpau=disabled \ -Dgallium-omx=disabled \ -Dgallium-va=disabled \ -Dgallium-opencl=disabled \ -Dgallium-xa=disabled \ -Dgallium-xvmc=disabled \ -Dgallium-nine=false \ -Dgles1=disabled \ -Dgles2=disabled \ -Dopengl=true \ -Dglx=disabled \ -Degl=disabled \ -Dgbm=disabled \ -Dtools="" \ -Dzstd=disabled LDFLAGS_i386= -Wl,-znotext .if ${ARCH} == sparc64 MESON_ARGS+= -Dosmesa=classic .else MESON_ARGS+= -Dosmesa=gallium .endif .include "${MASTERDIR}/Makefile.targets" post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/GL ${INSTALL_DATA} ${WRKSRC}/include/GL/osmesa.h \ ${STAGEDIR}${PREFIX}/include/GL .include diff --git a/graphics/libprojectm/Makefile b/graphics/libprojectm/Makefile index 6f32f713e2aa..c69b0560af9b 100644 --- a/graphics/libprojectm/Makefile +++ b/graphics/libprojectm/Makefile @@ -1,75 +1,75 @@ PORTNAME= libprojectM DISTVERSIONPREFIX= v DISTVERSION= 3.1.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics audio MAINTAINER= yuri@FreeBSD.org COMMENT= Awesome music visualiser LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm \ bash:shells/bash LIB_DEPENDS= libftgl.so:graphics/ftgl \ libfreetype.so:print/freetype2 \ libvisual-0.4.so:graphics/libvisual04 RUN_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm USES= autoreconf:build compiler:c++11-lang gl gmake libtool \ localbase:ldflags pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= projectM-visualizer GH_PROJECT= projectm USE_SDL= sdl2 USE_GL= gl glu glew GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-sdl --enable-gles INSTALL_TARGET= install-strip CONFIGURE_SHELL= ${PREFIX}/bin/bash # https://github.com/projectM-visualizer/projectm/issues/319 USE_LDCONFIG= yes USE_CXXSTD= c++98 CXXFLAGS+= -DDATADIR_PATH='\"${LOCALBASE}/share/projectM\"' LDFLAGS+= -L${LOCALBASE}/lib/qt5 # https://github.com/projectM-visualizer/projectm/issues/320 BINARY_ALIAS= make=${GMAKE} OPTIONS_DEFINE= PULSEAUDIO JACK OPTIONS_DEFAULT= PULSEAUDIO OPTIONS_SUB= yes PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_USES= qt:5 PULSEAUDIO_USE= qt=core,gui,opengl,widgets,xml,buildtools_build,qmake_build #qt=declarative,network,script,sensors,serialport,sql,xmlpatterns PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio PULSEAUDIO_CONFIGURE_ON= --enable-qt JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_USES= qt:5 JACK_USE= qt=core,gui,opengl,widgets,xml,buildtools_build,qmake_build #qt=declarative,network,script,sensors,serialport,sql,xmlpatterns JACK_CONFIGURE_ENABLE= jack JACK_CONFIGURE_ON= --enable-qt .include .if ! ${PORT_OPTIONS:MPULSEAUDIO} && ! ${PORT_OPTIONS:MJACK} CONFIGURE_ARGS+= --disable-qt .endif .if ${PORT_OPTIONS:MPULSEAUDIO} || ${PORT_OPTIONS:MJACK} PLIST_FILES+= share/icons/hicolor/scalable/apps/projectM.svg .endif pre-configure: @cd ${WRKSRC}/ && ${SH} autogen.sh post-install: @${MV} ${STAGEDIR}${PREFIX}/share/projectM/config.inp ${STAGEDIR}${PREFIX}/share/projectM/config.inp.sample ${INSTALL_DATA} ${WRKSRC}/fonts/Vera.ttf ${STAGEDIR}${PREFIX}/share/projectM/fonts/ .include diff --git a/graphics/libvisual04-plugins/Makefile b/graphics/libvisual04-plugins/Makefile index e991cca2e4e4..6a0e33d18d1d 100644 --- a/graphics/libvisual04-plugins/Makefile +++ b/graphics/libvisual04-plugins/Makefile @@ -1,49 +1,49 @@ # Created by: Björn König PORTNAME= libvisual PORTVERSION= 0.4.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-plugins/${PORTNAME}-plugins-${PORTVERSION} PKGNAMESUFFIX= 04-plugins DISTNAME= ${PORTNAME}-${PKGNAMESUFFIX:C/.*-//}-${PORTVERSION} MAINTAINER= bkoenig@alpha-tierchen.de COMMENT= Set of plugins for the libvisual framework BROKEN_FreeBSD_13= ld: error: duplicate symbol: _oink_table_cos BROKEN_FreeBSD_14= ld: error: duplicate symbol: _oink_table_cos LIB_DEPENDS= libvisual-${MAJORMINOR}.so:graphics/libvisual04 USES= gl libtool pkgconfig xorg USE_GL= yes USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa \ --disable-mplayer \ --disable-gstreamer-plugin \ --disable-gdkpixbuf-plugin \ --disable-gforce \ --disable-jess \ --prefix=${PREFIX} CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip MAJORMINOR= ${PORTVERSION:C/.[0-9]+$//} DATADIR= ${PREFIX}/share/${PORTNAME}-${PKGNAMESUFFIX:C/.*-//}-${MAJORMINOR} PLIST_SUB= PLUGINS_BASE_DIR=${LOCALBASE}/lib/${PORTNAME}-${MAJORMINOR} post-patch: # link some plugins with libGLU because they need it @${REINPLACE_CMD} -e 's,^\(LDFLAGS = \),\1-lGLU ,' \ ${WRKSRC}/plugins/actor/lv_gltest/Makefile.in \ ${WRKSRC}/plugins/actor/nastyfft/Makefile.in \ ${WRKSRC}/plugins/actor/pseudotoad_flower/Makefile.in # don't install message catalogs @${REINPLACE_CMD} -e 's,^\(SUBDIRS = plugins\) po,\1,' \ ${WRKSRC}/Makefile.in .include diff --git a/graphics/magnum-examples/Makefile b/graphics/magnum-examples/Makefile index 45bd1f40daf3..ba04080a1df7 100644 --- a/graphics/magnum-examples/Makefile +++ b/graphics/magnum-examples/Makefile @@ -1,39 +1,39 @@ PORTNAME= magnum-examples DISTVERSIONPREFIX= v DISTVERSION= 2019.10 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Examples for the Magnum C++11/C++14 graphics engine LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libBox2D.so:misc/box2d \ libCorradeUtility.so:devel/corrade \ libglfw.so:graphics/glfw \ libMagnum.so:graphics/magnum USES= cmake compiler:c++14-lang gl localbase:ldflags openal sdl xorg USE_GITHUB= yes GH_ACCOUNT= mosra GH_TUPLE= mosra:toolchains:fc22ff5:t/toolchains USE_GL= gl egl glesv2 USE_SDL= sdl2 USE_XORG= ice sm x11 xext LDFLAGS+= -lGL # only missing for one example LDFLAGS_i386= -Wl,-znotext CMAKE_ARGS= -DLIB_SUFFIX:STRING="" CMAKE_ON= WITH_AUDIO_EXAMPLE WITH_BOX2D_EXAMPLE WITH_CUBEMAP_EXAMPLE \ WITH_MOUSEINTERACTION_EXAMPLE WITH_MOTIONBLUR_EXAMPLE \ WITH_PRIMITIVES_EXAMPLE WITH_TEXT_EXAMPLE WITH_TEXTUREDTRIANGLE_EXAMPLE \ WITH_TRIANGLE_EXAMPLE WITH_TRIANGLE_PLAIN_GLFW_EXAMPLE WITH_VIEWER_EXAMPLE # examples that failed to build: CMAKE_OFF= WITH_AREALIGHTS_EXAMPLE WITH_BULLET_EXAMPLE WITH_IMGUI_EXAMPLE WITH_LEAPMOTION_EXAMPLE \ WITH_OVR_EXAMPLE WITH_PICKING_EXAMPLE WITH_SHADOWS_EXAMPLE WITH_TRIANGLE_SOKOL_EXAMPLE WITH_WEBVR_EXAMPLE .include diff --git a/graphics/magnum-extras/Makefile b/graphics/magnum-extras/Makefile index acc6b0c83ed1..6287356b6334 100644 --- a/graphics/magnum-extras/Makefile +++ b/graphics/magnum-extras/Makefile @@ -1,33 +1,33 @@ PORTNAME= magnum-extras DISTVERSIONPREFIX= v DISTVERSION= 2019.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Extras for the Magnum C++11/C++14 graphics engine LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libassimp.so:multimedia/assimp \ libCorradeUtility.so:devel/corrade \ libfaad.so:audio/faad \ libfreetype.so:print/freetype2 \ libIL.so:graphics/devil \ libMagnum.so:graphics/magnum \ libpng.so:graphics/png USES= cmake compiler:c++14-lang desktop-file-utils gl sdl xorg USE_GITHUB= yes GH_ACCOUNT= mosra GH_TUPLE= mosra:toolchains:fc22ff5:t/toolchains USE_GL= egl glesv2 USE_SDL= sdl2 USE_LDCONFIG= yes CMAKE_ARGS= -DLIB_SUFFIX:STRING="" CMAKE_ON= WITH_PLAYER WITH_UI WITH_UI_GALLERY .include diff --git a/graphics/magnum-plugins/Makefile b/graphics/magnum-plugins/Makefile index c7f18d40d25b..c2df95dd9aed 100644 --- a/graphics/magnum-plugins/Makefile +++ b/graphics/magnum-plugins/Makefile @@ -1,35 +1,35 @@ PORTNAME= magnum-plugins DISTVERSIONPREFIX= v DISTVERSION= 2019.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Plugins for the Magnum C++11/C++14 graphics engine LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libassimp.so:multimedia/assimp \ libCorradeUtility.so:devel/corrade \ libfaad.so:audio/faad \ libfreetype.so:print/freetype2 \ libIL.so:graphics/devil \ libMagnum.so:graphics/magnum \ libpng.so:graphics/png USES= cmake compiler:c++14-lang gl jpeg openal xorg USE_GITHUB= yes GH_ACCOUNT= mosra GH_TUPLE= mosra:toolchains:fc22ff5:t/toolchains USE_GL= glesv2 USE_LDCONFIG= yes CMAKE_ARGS= -DLIB_SUFFIX:STRING="" CMAKE_ON= WITH_ASSIMPIMPORTER WITH_DDSIMPORTER WITH_DEVILIMAGEIMPORTER WITH_DRFLACAUDIOIMPORTER WITH_DRWAVAUDIOIMPORTER \ WITH_FAAD2AUDIOIMPORTER WITH_FREETYPEFONT WITH_JPEGIMPORTER WITH_JPEGIMAGECONVERTER WITH_MINIEXRIMAGECONVERTER \ WITH_PNGIMAGECONVERTER WITH_PNGIMPORTER WITH_OPENGEXIMPORTER WITH_STANFORDIMPORTER WITH_STBIMAGECONVERTER \ WITH_STBIMAGEIMPORTER WITH_STBTRUETYPEFONT WITH_STBVORBISAUDIOIMPORTER WITH_TINYGLTFIMPORTER .include diff --git a/graphics/magnum/Makefile b/graphics/magnum/Makefile index aecea4c23ae6..2c0282ddb5f1 100644 --- a/graphics/magnum/Makefile +++ b/graphics/magnum/Makefile @@ -1,37 +1,37 @@ PORTNAME= magnum DISTVERSIONPREFIX= v DISTVERSION= 2019.10 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight, modular graphics middleware for games, data visualization LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BROKEN= Player.hpp:193:32: error: too few arguments provided to function-like macro invocation LIB_DEPENDS= libCorradeUtility.so:devel/corrade \ libglfw.so:graphics/glfw USES= cmake compiler:c++14-lang gl openal sdl xorg USE_GITHUB= yes GH_ACCOUNT= mosra GH_TUPLE= mosra:toolchains:a3e0aff:t/toolchains USE_GL= gl egl USE_SDL= sdl2 USE_XORG= x11 USE_LDCONFIG= yes CMAKE_ARGS= -DLIB_SUFFIX:STRING="" CMAKE_ON= BUILD_SHARED_LIBS \ TARGET_GLES WITH_GL_INFO WITH_IMAGECONVERTER WITH_ANYIMAGEIMPORTER WITH_ANYAUDIOIMPORTER \ WITH_ANYIMAGECONVERTER WITH_ANYSCENEIMPORTER WITH_WAVAUDIOIMPORTER WITH_MAGNUMFONT WITH_OBJIMPORTER \ WITH_SHAPES WITH_SHADERS WITH_TEXT WITH_TEXTURETOOLS WITH_TRADE \ WITH_GL WITH_PRIMITIVES WITH_EGLCONTEXT WITH_GLXAPPLICATION WITH_WINDOWLESSGLXAPPLICATION \ WITH_GLXCONTEXT WITH_XEGLAPPLICATION WITH_GLFWAPPLICATION WITH_SDL2APPLICATION CMAKE_OFF= TARGET_GLES2 .include diff --git a/graphics/maim/Makefile b/graphics/maim/Makefile index f91e0ed95419..a18d11d4914a 100644 --- a/graphics/maim/Makefile +++ b/graphics/maim/Makefile @@ -1,34 +1,34 @@ PORTNAME= maim DISTVERSIONPREFIX= v DISTVERSION= 5.6.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MAINTAINER= 0mp@FreeBSD.org COMMENT= Screenshot utility with performance improvements over scrot LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm LIB_DEPENDS= libicuuc.so:devel/icu \ libImlib2.so:graphics/imlib2 \ libpng.so:graphics/png \ libslopy.so.7.5:x11/slop USES= cmake compiler:c++11-lang gl jpeg xorg USE_GITHUB= yes GH_ACCOUNT= naelstrof USE_GL= gl glut USE_XORG= ice sm x11 xcomposite xext xfixes xrandr xrender CMAKE_ARGS= -DSLOP_LIBRARIES=${LOCALBASE}/lib/libslopy.so PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/share/man/man1 .include diff --git a/graphics/mesa-demos/Makefile b/graphics/mesa-demos/Makefile index f168fc3a22be..4b38c5100e26 100644 --- a/graphics/mesa-demos/Makefile +++ b/graphics/mesa-demos/Makefile @@ -1,26 +1,26 @@ # Created by: Eric Anholt PORTNAME= mesa-demos PORTVERSION= 8.4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/demos/ #${PORTVERSION}/ MAINTAINER= x11@FreeBSD.org COMMENT= OpenGL demos distributed with Mesa LICENSE= MIT LIB_DEPENDS= libdrm.so:graphics/libdrm CONFLICTS_INSTALL= glx-utils USES= gmake gl localbase pkgconfig tar:bzip2 xorg GNU_CONFIGURE= yes USE_GL= egl gbm gl glesv2 glew glu glut USE_XORG= xorgproto x11 xdamage xext xfixes xi xxf86vm CONFIGURE_ARGS+=--disable-gles1 --disable-osmesa --disable-vg --disable-wayland \ --with-system-data-files .include diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile index 2f6c3cb03c06..0bf5e5aff5a9 100644 --- a/graphics/mesa-dri/Makefile +++ b/graphics/mesa-dri/Makefile @@ -1,118 +1,118 @@ # Created by: Eric Anholt PORTNAME= mesa-dri PORTVERSION= ${MESAVERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics COMMENT= OpenGL hardware acceleration drivers for DRI2+ OPTIONS_GROUP= PLATFORM OPTIONS_GROUP_PLATFORM= PLATFORM_X11 PLATFORM_WAYLAND PLATFORM_X11_DESC= Enable X11 support for GBM/EGL PLATFORM_WAYLAND_DESC= Enable Wayland support for GBM/EGL PLATFORM_WAYLAND_IMPLIES= WAYLAND OPTIONS_DEFINE= WAYLAND ZSTD OPTIONS_DEFAULT= WAYLAND PLATFORM_X11 PLATFORM_WAYLAND ZSTD OPTIONS_SUB= yes WAYLAND_DESC= Enable support for the Wayland platform in Vulkan drivers WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.8:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_IMPLIES= PLATFORM_WAYLAND ZSTD_DESC= Use ZSTD for shader cache ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_MESON_ENABLED= zstd .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" ALL_DRI_DRIVERS= I915 I965 R100 R200 SWRAST ALL_GALLIUM_DRIVERS= IRIS R300 R600 RADEONSI SVGA SWRAST ALL_VULKAN_DRIVERS= INTEL AMD .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 GALLIUM_DRIVERS+= SWRAST # llvmpipe .elif ${ARCH:Marm*} || ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == riscv64 DRI_DRIVERS+= SWRAST # Mesa Classic swrast .endif .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 \ || ${ARCH} == powerpc || ${ARCH} == powerpc64 DRI_DRIVERS+= R100 R200 GALLIUM_DRIVERS+= R300 R600 RADEONSI VULKAN_DRIVERS+= AMD . if ${PORT_OPTIONS:MPLATFORM_X11} USE_XORG+= xv xvmc MESON_ARGS+= -Dgallium-xvmc=enabled . endif .endif .if ${ARCH} == amd64 || ${ARCH} == i386 DRI_DRIVERS+= I915 I965 GALLIUM_DRIVERS+= IRIS SVGA VULKAN_DRIVERS+= INTEL .endif LDFLAGS_i386= -Wl,-znotext .if ${PORT_OPTIONS:MPLATFORM_X11} MESA_PLATFORMS+= x11 USE_XORG+= xorgproto x11 xdamage xext xfixes xshmfence xv .if defined(VULKAN_DRIVERS) USE_XORG+= xcb xrandr .endif .endif .if ${PORT_OPTIONS:MPLATFORM_WAYLAND} MESA_PLATFORMS+= wayland .endif MESON_ARGS+= -Ddri-drivers="${DRI_DRIVERS:ts,:tl}" \ -Dgallium-drivers="${GALLIUM_DRIVERS:ts,:tl}" \ -Dvulkan-drivers="${VULKAN_DRIVERS:ts,:tl}" \ -Dplatforms="${MESA_PLATFORMS:ts,:tl}" # Disable some options MESON_ARGS+= -Dgallium-xa=disabled \ -Dgles1=disabled \ -Dgles2=disabled \ -Dglx=disabled \ -Degl=disabled \ -Dosmesa=none \ -Dtools="" .for _d in ${ALL_DRI_DRIVERS} . if defined(DRI_DRIVERS) && ${DRI_DRIVERS:M${_d}} PLIST_SUB+= ${_d}_DRIVER="" . else PLIST_SUB+= ${_d}_DRIVER="@comment " . endif .endfor .for _gd in ${ALL_GALLIUM_DRIVERS} . if defined(GALLIUM_DRIVERS) && ${GALLIUM_DRIVERS:M${_gd}} PLIST_SUB+= ${_gd}_GDRIVER="" . else PLIST_SUB+= ${_gd}_GDRIVER="@comment " . endif .endfor PLIST_SUB += ARCH=${ARCH:S/amd/x86_/} .for _vd in ${ALL_VULKAN_DRIVERS} . if defined(VULKAN_DRIVERS) && ${VULKAN_DRIVERS:M${_vd}} PLIST_SUB+= ${_vd}_VDRIVER="" . else PLIST_SUB+= ${_vd}_VDRIVER="@comment " . endif .endfor .include "${MASTERDIR}/Makefile.targets" post-install: @${RM} -r ${STAGEDIR}/etc/OpenCL ${INSTALL_DATA} ${FILESDIR}/01-freebsd.conf \ ${STAGEDIR}${PREFIX}/share/drirc.d .include diff --git a/graphics/mesa-gallium-va/Makefile b/graphics/mesa-gallium-va/Makefile index e3f1e0d38fc2..7dd18b20cc99 100644 --- a/graphics/mesa-gallium-va/Makefile +++ b/graphics/mesa-gallium-va/Makefile @@ -1,53 +1,53 @@ PORTNAME= mesa-gallium-va PORTVERSION= ${MESAVERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics COMMENT= Mesa Gallium VAAPI drivers LIB_DEPENDS= libva.so:multimedia/libva \ libzstd.so:archivers/zstd OPTIONS_DEFINE= X11 OPTIONS_DEFAULT= X11 X11_DESC= Enable X11 support X11_USES= xorg X11_USE= xorg=xorgproto,x11,xcb,xdamage,xext,xfixes,xshmfence,xxf86vm,xrandr .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" ONLY_FOR_ARCHS= i386 amd64 aarch64 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= Used only by amd/radeon hardware MESON_ARGS+= -Ddri-drivers="" \ -Dgallium-drivers="radeonsi,r600" \ -Dvulkan-drivers="" \ -Dgallium-vdpau=disabled \ -Dgallium-omx=disabled \ -Dgallium-xa=disabled \ -Dgallium-opencl=disabled \ -Dgallium-xvmc=disabled \ -Dgallium-nine=false \ -Dgbm=disabled \ -Dgles1=disabled \ -Dgles2=disabled \ -Dosmesa=none \ -Dglx=disabled \ -Ddri3=disabled LDFLAGS_i386= -Wl,-znotext MESON_ARGS+= -Dgallium-va=enabled .if ${PORT_OPTIONS:MX11} MESON_ARGS+= -Dplatforms="x11" .else MESON_ARGS+= -Dglx=disabled \ -Degl=disabled \ -Dopengl=false \ -Dshared-glapi=disabled .endif .include "${MASTERDIR}/Makefile.targets" .include diff --git a/graphics/mesa-gallium-vdpau/Makefile b/graphics/mesa-gallium-vdpau/Makefile index f9d879c2b08d..471d614f4155 100644 --- a/graphics/mesa-gallium-vdpau/Makefile +++ b/graphics/mesa-gallium-vdpau/Makefile @@ -1,53 +1,54 @@ PORTNAME= mesa-gallium-vdpau PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= Mesa Gallium VDPAU drivers LIB_DEPENDS= libva.so:multimedia/libva \ libvdpau.so:multimedia/libvdpau \ libzstd.so:archivers/zstd OPTIONS_DEFINE= X11 OPTIONS_DEFAULT= X11 X11_DESC= Enable X11 support X11_USES= xorg X11_USE= xorg=xorgproto,x11,xcb,xdamage,xext,xfixes,xshmfence,xxf86vm,xrandr .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" ONLY_FOR_ARCHS= i386 amd64 aarch64 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= Used only by amd/radeon hardware MESON_ARGS+= -Ddri-drivers="" \ -Dgallium-drivers="r300,r600,radeonsi" \ -Dvulkan-drivers="" \ -Dgallium-vdpau=disabled \ -Dgallium-omx=disabled \ -Dgallium-xa=disabled \ -Dgallium-opencl=disabled \ -Dgallium-xvmc=disabled \ -Dgallium-nine=false \ -Dgbm=disabled \ -Dgles1=disabled \ -Dgles2=disabled \ -Dosmesa=none \ -Dglx=disabled \ -Ddri3=disabled LDFLAGS_i386= -Wl,-znotext MESON_ARGS+= -Dgallium-vdpau=enabled .if ${PORT_OPTIONS:MX11} MESON_ARGS+= -Dplatforms="x11" .else MESON_ARGS+= -Dglx=disabled \ -Degl=disabled \ -Dopengl=false \ -Dshared-glapi=disabled .endif .include "${MASTERDIR}/Makefile.targets" .include diff --git a/graphics/mesa-gallium-xa/Makefile b/graphics/mesa-gallium-xa/Makefile index becc4a07d02f..77ffe534d7f9 100644 --- a/graphics/mesa-gallium-xa/Makefile +++ b/graphics/mesa-gallium-xa/Makefile @@ -1,42 +1,43 @@ # Created by: johalun PORTNAME= mesa-gallium-xa PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= Mesa Gallium XA state tracker USES= xorg USE_XORG= xorgproto .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Used only by VMWare supported architectures MESON_ARGS+= -Ddri-drivers="" \ -Dgallium-drivers="svga" \ -Dvulkan-drivers="" \ -Dplatforms="" \ -Dgallium-vdpau=disabled \ -Dgallium-omx=disabled \ -Dgallium-va=disabled \ -Dgallium-opencl=disabled \ -Dgallium-xvmc=disabled \ -Dgallium-nine=false \ -Degl=disabled \ -Dgbm=disabled \ -Dgles1=disabled \ -Dgles2=disabled \ -Dglx=disabled \ -Dopengl=false \ -Dshared-glapi=disabled \ -Dosmesa=none LDFLAGS_i386= -Wl,-znotext MESON_ARGS+= -Dgallium-xa=enabled .include "${MASTERDIR}/Makefile.targets" .include diff --git a/graphics/milton/Makefile b/graphics/milton/Makefile index 382c93e3654b..35e60b57e3f2 100644 --- a/graphics/milton/Makefile +++ b/graphics/milton/Makefile @@ -1,52 +1,53 @@ # Created by: Alexey Dokuchaev PORTNAME= milton PORTVERSION= 1.9.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Infinite-canvas paint program LICENSE= GPLv3+ BUILD_DEPENDS= icotool:graphics/icoutils USE_GITHUB= yes GH_ACCOUNT= serge-rgb USES= cmake compiler:c++11-lang gl gnome sdl xorg USE_GL= gl glu USE_GNOME= cairo gtk20 USE_SDL= sdl2 image2 USE_XORG= ice sm x11 xext xi INSTALLS_ICONS= yes PLIST_FILES= bin/milton ${DATADIR_REL}/Carlito.ttf .for n in 16 32 48 64 128 256 PLIST_FILES+= share/icons/hicolor/${n}x${n}/apps/milton.png .endfor post-patch: @${REINPLACE_CMD} -e 's:__linux__:__${OPSYS}__:' \ ${WRKSRC}/src/easytab.h @${REINPLACE_CMD} -e 's:Carlito\.ttf:${DATADIR}/&:' \ ${WRKSRC}/src/sdl_milton.cc @${REINPLACE_CMD} -e 's:milton\.png:${PREFIX}/share/icons/hicolor/256x256/apps/&:' \ ${WRKSRC}/src/platform_linux.cc @${REINPLACE_CMD} -E '/case (ENODATA|ENOST?R|ETIME):/d' \ ${WRKSRC}/src/shadergen.cc do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/Milton \ ${STAGEDIR}${PREFIX}/bin/milton @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/third_party/Carlito.ttf \ ${STAGEDIR}${DATADIR} .for n in 16 32 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps ${INSTALL_DATA} ${INSTALL_WRKSRC}/milton_icon_?_${n}x${n}x32.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps/milton.png .endfor .include diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile index f5c791e442b6..6527b0aff7ce 100644 --- a/graphics/mupdf/Makefile +++ b/graphics/mupdf/Makefile @@ -1,66 +1,67 @@ # Created by: Martin Dieringer PORTNAME= mupdf DISTVERSION= 1.18.0 DISTVERSIONSUFFIX= -source +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= http://www.mupdf.com/downloads/ \ http://www.mupdf.com/downloads/archive/ MAINTAINER= uzsolt@uzsolt.hu COMMENT= Lightweight PDF viewer and toolkit LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjbig2dec.so:graphics/jbig2dec \ libopenjp2.so:graphics/openjpeg USES= cpe compiler:c++11-lang gl gmake jpeg pkgconfig xorg USE_XORG= x11 xcursor xext xinerama xrandr USE_GL= gl glut USE_LDCONFIG= yes CPE_VENDOR= artifex # pkg-config to avoid the conflict with openjpeg15 CFLAGS+= `pkg-config --cflags libopenjp2` LDFLAGS+= `pkg-config --libs libjpeg libopenjp2` -ljbig2dec MAKE_ARGS= build=release prefix=${PREFIX} mandir=${PREFIX}/man verbose=yes \ XCFLAGS+="-I${WRKSRC}/include/mupdf -fPIC" \ XLIBS+="-L${LOCALBASE}/lib -L${WRKSRC}/build/release" \ SOVERSION=${DISTVERSION} ALL_TARGET= all extra-libs OPTIONS_DEFINE= DOCS JS SCROLL OPTIONS_DEFAULT= SCROLL JS_DESC= JavaScript support (V8 engine) SCROLL_DESC= Build with scroll hacks JS_LIB_DEPENDS= libv8.so:lang/v8 JS_MAKE_ARGS= V8_PRESENT=1 V8LIBS=-lv8 SCROLL_EXTRA_PATCHES= ${FILESDIR}/scroll_hack-platform__x11__pdfapp.c PLIST_SUB= SOVERSION=${PORTVERSION} post-patch: @${REINPLACE_CMD} -e 's/-pipe -O2//' -e 's/-ldl//' ${WRKSRC}/Makerules post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/mupdf-x11 \ ${STAGEDIR}${PREFIX}/bin/mupdf ${INSTALL_PROGRAM} \ ${WRKSRC}/build/release/muraster \ ${STAGEDIR}${PREFIX}/bin ${LN} -s libmupdf.so.${PORTVERSION} \ ${STAGEDIR}${PREFIX}/lib/libmupdf.so ${LN} -s libmupdf-third.so.${PORTVERSION} \ ${STAGEDIR}${PREFIX}/lib/libmupdf-third.so .include diff --git a/graphics/ocaml-lablgl/Makefile b/graphics/ocaml-lablgl/Makefile index 07b6cb023ff8..9a16fcb09e02 100644 --- a/graphics/ocaml-lablgl/Makefile +++ b/graphics/ocaml-lablgl/Makefile @@ -1,83 +1,83 @@ # Created by: Ronald Kuehn PORTNAME= lablgl PORTVERSION= 1.05 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/dist/ \ https://forge.ocamlcore.org/frs/download.php/1254/ PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL interface for Objective Caml LICENSE= BSD3CLAUSE CONFLICTS= ocaml-nox11-[0-9]* USES= gl gmake tk xorg USE_XORG= x11 xext xmu USE_GL= glut USE_OCAML= yes USE_OCAML_WASH= yes USE_OCAML_CAMLP4=yes USE_OCAML_TK= yes ALL_TARGET= all opt MAKE_JOBS_UNSAFE= yes DOCSDIR= ${PREFIX}/share/doc/ocaml/lablgl EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/lablgl PATTERN= [[:space:]]*(do|then)?[[:space:]]*)cp([[:space:]] OPTIONS_DEFINE= THREADS DOCS OPTIONS_DEFAULT= THREADS THREADS_DESC= Threaded Tcl/Tk (must match lang/ocaml) .include .if ${PORT_OPTIONS:MTHREADS} THR_LD= -lpthread .endif post-extract: @${CP} ${WRKSRC}/Makefile.config.freebsd ${WRKSRC}/Makefile.config post-patch: @${REINPLACE_CMD} -e "s,/usr/X11R6,${LOCALBASE},g" \ -e "s,/usr/local,${LOCALBASE},g" \ -e "s,^\(BINDIR[ \t]*=\).*,\1${STAGEDIR}${PREFIX}/bin,g" \ -e "s,^\(RANLIB[ \t]*=\).*,\1ranlib,g" \ -e "s,^#\(LIBDIR[ \t]*=\).*,\1${PREFIX}/lib/ocaml,g" \ -e "s,^#\(DLLDIR[ \t]*=\).*,\1${STAGEDIR}${PREFIX}/lib/ocaml/stublibs,g" \ -e "s,^#\(INSTALLDIR[ \t]*=\).*,\1${STAGEDIR}${PREFIX}/lib/ocaml/lablGL,g" \ -e "s!^#\(COPTS[ \t]*=\).*!\1-c ${CFLAGS}!g" \ -e "/^TKINCLUDES/s,=.*$$,= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR}," \ -e "/^TKLIBS/s,=.*$$,= -L${LOCALBASE}/lib -ltk${TK_SHLIB_VER}\ -ltcl${TCL_SHLIB_VER} ${THR_LD}," \ ${WRKSRC}/Makefile.config @${REINPLACE_CMD} -E \ -e '/exec ocaml/s,\$$\(INSTALLDIR\),${PREFIX}/lib/ocaml/lablGL,' \ -e 's,^(${PATTERN}+.*INSTALLDIR),\1\$${BSD_INSTALL_DATA} \3,' \ -e 's,^(${PATTERN}+.*BINDIR),\1\$${BSD_INSTALL_SCRIPT} \3,' \ -e 's,^(${PATTERN}+.*LIBDIR),\1\$${BSD_INSTALL_DATA} \3,' \ ${WRKSRC}/src/Makefile ${WRKSRC}/LablGlut/src/Makefile \ ${WRKSRC}/Togl/src/Makefile pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/ocaml/stublibs post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/lablglut @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/togl @(cd ${WRKSRC}/LablGlut/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}/lablglut '! -name Makefile') @(cd ${WRKSRC}/Togl/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}/togl '! -name Makefile') @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile index 3b0f7caf6f1a..d2cf42f994f7 100644 --- a/graphics/ogre3d/Makefile +++ b/graphics/ogre3d/Makefile @@ -1,110 +1,110 @@ # Created by: Oliver Lehmann PORTNAME= ogre3d DISTVERSIONPREFIX= v DISTVERSION= 1.11.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics devel MAINTAINER= oliver@FreeBSD.org COMMENT= Scene-oriented, flexible 3D engine written in C++ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_FreeBSD_12_powerpc64= fails to build: /usr/local/bin/ld: /usr/lib/crt1.o:(.got+0x60): undefined reference to 'main' LIB_DEPENDS= libzzip.so:devel/zziplib \ libfreetype.so:print/freetype2 CONFLICTS= ogre3d19-[0-9]* USES= cmake compiler:c++11-lib pkgconfig sdl xorg USE_LDCONFIG= yes USE_SDL= sdl2 USE_XORG= x11 xaw xext xrandr xt USE_GITHUB= yes GH_ACCOUNT= OGRECave GH_PROJECT= ogre CMAKE_ARGS+= -DOGRE_BUILD_RENDERSYSTEM_GL3PLUS:BOOL=OFF \ -DOGRE_BUILD_RENDERSYSTEM_GL:BOOL=OFF \ -DOGRE_BUILD_RENDERSYSTEM_GLES2:BOOL=OFF \ -DOGRE_BUILD_COMPONENT_PYTHON:BOOL=OFF \ -DOGRE_BUILD_COMPONENT_JAVA:BOOL=OFF \ -DOGRE_BUILD_COMPONENT_CSHARP:BOOL=OFF \ -DOGRE_BUILD_PLUGIN_FREEIMAGE:BOOL=OFF \ -DOGRE_BUILD_PLUGIN_EXRCODEC:BOOL=OFF \ -DOGRE_CONFIG_ENABLE_ZIP:BOOL=ON \ -DOGRE_INSTALL_DOCS:BOOL=OFF \ -DOGRE_INSTALL_SAMPLES_SOURCE:BOOL=OFF OPTIONS_DEFINE= CSHARP DOCS FREEIMAGE JAVA OPENEXR OPENGL PROFILE \ PYTHON OPTIONS_DEFAULT= DOCS OPENGL OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CMAKE_BOOL= OGRE_INSTALL_DOCS FREEIMAGE_DESC= Build FreeImage codec FREEIMAGE_CMAKE_BOOL= OGRE_BUILD_PLUGIN_FREEIMAGE FREEIMAGE_LIB_DEPENDS= libfreeimage.so:graphics/freeimage OPENEXR_USE= XORG=ice OPENEXR_CMAKE_BOOL= OGRE_BUILD_PLUGIN_EXRCODEC OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENGL_CMAKE_BOOL= OGRE_BUILD_RENDERSYSTEM_GL3PLUS \ OGRE_BUILD_RENDERSYSTEM_GL \ OGRE_BUILD_RENDERSYSTEM_GLES2 OPENGL_USES= gl xorg OPENGL_USE= XORG=sm,ice GL=gl,glu PROFILE_CMAKE_BOOL= OGRE_PROFILING CSHARP_DESC= Build Csharp bindings CSHARP_CMAKE_BOOL= OGRE_BUILD_COMPONENT_CSHARP CSHARP_BUILD_DEPENDS= swig:devel/swig JAVA_CMAKE_BOOL= OGRE_BUILD_COMPONENT_JAVA JAVA_BUILD_DEPENDS= swig:devel/swig JAVA_VARS= CMAKE_ARGS+=-DJAVA_HOME=${JAVA_HOME} JAVA_USE= JAVA=yes PYTHON_CMAKE_BOOL= OGRE_BUILD_COMPONENT_PYTHON PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_USES= python CXXFLAGS+= -DNDEBUG -I${LOCALBASE}/include -I${LOCALBASE}/include/Imath post-patch: @${REINPLACE_CMD} -e '\ s,defined(__x86_64__),& || defined(__sparc64__) || defined(__amd64__),' \ ${WRKSRC}/OgreMain/include/OgrePlatform.h post-patch-PYTHON-on: ${REINPLACE_CMD} -e 's/\(Python_ADDITIONAL_VERSIONS\) [0-9\.]*/\$1 ${PYTHON_VER}/' \ ${WRKSRC}/CMake/Dependencies.cmake ${REINPLACE_CMD} -e "s/dist-packages/site-packages/" \ ${WRKSRC}/Components/Python/CMakeLists.txt post-build-DOCS-on: ${MAKE_CMD} -C ${BUILD_WRKSRC} OgreDoc post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docfile in README.md LICENSE AUTHORS ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR} .endfor post-install-JAVA-on: @${MKDIR} ${STAGEDIR}${LOCALBASE}/share/OGRE/java ${INSTALL_DATA} ${BUILD_WRKSRC}/java/Ogre-${DISTVERSION}.jar \ ${STAGEDIR}${LOCALBASE}/share/OGRE/java ${INSTALL_LIB} ${BUILD_WRKSRC}/java/libs/libOgreJNI.so \ ${STAGEDIR}${LOCALBASE}/lib/OGRE .include diff --git a/graphics/open3d/Makefile b/graphics/open3d/Makefile index a21ff42c1e9a..d3aaf796418c 100644 --- a/graphics/open3d/Makefile +++ b/graphics/open3d/Makefile @@ -1,35 +1,35 @@ PORTNAME= Open3D DISTVERSIONPREFIX= v DISTVERSION= 0.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Modern library for 3D data processing LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE LIB_DEPENDS= libglfw.so:graphics/glfw \ libjsoncpp.so:devel/jsoncpp \ libpng.so:graphics/png USES= cmake compiler:c++14-lang eigen:3 gl jpeg localbase:ldflags \ pkgconfig USE_GITHUB= yes GH_ACCOUNT= IntelVCL USE_GL= gl glew glu USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTS BUILD_PYBIND11 BUILD_PYTHON_MODULE BUILD_PYTHON_TUTORIALS WRKSRC_SUBDIR= src LDFLAGS+= -pthread # https://github.com/IntelVCL/Open3D/issues/510 post-install: # https://github.com/IntelVCL/Open3D/issues/509 .for d in include/Open3D/IO/FileFormat include/Open3D/Visualization/Shader/GLSL @${RMDIR} ${STAGEDIR}${PREFIX}/${d} .endfor .include diff --git a/graphics/opencolorio-tools/Makefile b/graphics/opencolorio-tools/Makefile index 1c7f9c43fe4f..b816b2a06539 100644 --- a/graphics/opencolorio-tools/Makefile +++ b/graphics/opencolorio-tools/Makefile @@ -1,11 +1,12 @@ # Created by: Shane Ambler PKGNAMESUFFIX= -tools +PORTREVISION= 1 COMMENT= Tools to work with OpenColorIO profiles MASTERDIR= ${.CURDIR}/../opencolorio OCIO_SLAVE= tools OPTIONS_EXCLUDE=DOCS .include "${MASTERDIR}/Makefile" diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile index f77fe515e580..293188ec9a0c 100644 --- a/graphics/opencolorio/Makefile +++ b/graphics/opencolorio/Makefile @@ -1,103 +1,103 @@ # Created by: Shane Ambler PORTNAME= opencolorio DISTVERSIONPREFIX= v DISTVERSION= 1.1.1 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= Complete color management solution LICENSE= BSD3CLAUSE USES= alias cmake compiler:c++11-lang localbase:ldflags pkgconfig \ shebangfix USE_GITHUB= yes GH_ACCOUNT= imageworks GH_PROJECT= OpenColorIO CMAKE_ON= USE_EXTERNAL_TINYXML USE_EXTERNAL_YAML CMAKE_OFF= OCIO_BUILD_JNIGLUE OCIO_BUILD_NUKE OCIO_BUILD_STATIC \ OCIO_BUILD_DOCS CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_gcc= -Wno-unused-function -Wno-error CXXFLAGS_clang= -Wno-deprecated-register SHEBANG_FILES= share/sphinx/ExtractRstFromSourceCPP.py \ share/sphinx/ExtractRstFromSourceSimple.py \ src/pyglue/createPyDocH.py PLIST_SUB+= LIBVERS=${PORTVERSION} .if ${MACHINE_CPU:Msse2} CMAKE_ON+= OCIO_USE_SSE .else CMAKE_OFF+= OCIO_USE_SSE .endif .include .if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == tools LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libOpenImageIO.so:graphics/openimageio \ libOpenColorIO.so:graphics/opencolorio CMAKE_ON+= OCIO_BUILD_APPS USE_EXTERNAL_LCMS CMAKE_OFF+= OCIO_BUILD_SHARED OCIO_BUILD_PYGLUE LDFLAGS+= -lOpenColorIO USES+= gl xorg USE_GL= gl glu glut glew USE_XORG= xi xmu PLIST= ${PKGDIR}/pkg-plist-tools EXTRA_PATCHES= ${PATCHDIR}/tools .elif defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule LIB_DEPENDS= libOpenImageIO.so:graphics/openimageio \ libOpenColorIO.so:graphics/opencolorio USES+= python:3.6+ USE_PYTHON= flavors LDFLAGS+= -lOpenColorIO CMAKE_ON+= OCIO_BUILD_PYGLUE OCIO_PYGLUE_LINK CMAKE_OFF+= OCIO_BUILD_APPS OCIO_BUILD_SHARED CMAKE_ARGS+= -DPYTHON:FILEPATH=${PYTHON_CMD} PLIST= ${PKGDIR}/pkg-plist-pyglue .else # master port LIB_DEPENDS= libtinyxml.so:textproc/tinyxml \ libyaml-cpp03.so:devel/yaml-cpp03 USES+= python:3.6+,build USE_LDCONFIG= yes CMAKE_ON+= OCIO_BUILD_SHARED OCIO_BUILD_PYGLUE CMAKE_OFF+= OCIO_BUILD_APPS CMAKE_ARGS+= -DPYTHON:FILEPATH=${PYTHON_CMD} # we enable pyglue in master port. This makes the python module # available when generating docs, we leave the python header in place # but only install the python module with the py-opencolorio port # this makes it easier to allow multiple python versions installed PLIST= ${PKGDIR}/pkg-plist EXTRA_PATCHES= ${PATCHDIR}/libs .endif post-patch: @${REINPLACE_CMD} -e '/pkg_check_modules/ s|yaml-cpp|&03|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/YAML_CPP_INCLUDE_DIR/ s|yaml-cpp|&03|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/YAML_CPP_LIBRARY/ s|yaml-cpp|&03|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|yaml-cpp|&03|' ${WRKSRC}/src/core/OCIOYaml.cpp .if ${SLAVE_PORT} == yes @${FIND} ${WRKSRC}/src/apps -name main.cpp | ${XARGS} \ ${REINPLACE_CMD} '/namespace OIIO/d' .endif .if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule do-install: @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_LIB} ${BUILD_WRKSRC}/src/pyglue/PyOpenColorIO.so ${STAGEDIR}${PYTHON_SITELIBDIR} .elif !defined(OCIO_SLAVE) post-install: @${RM} -R ${STAGEDIR}${PYTHON_LIBDIR} .endif .include diff --git a/graphics/opencsg/Makefile b/graphics/opencsg/Makefile index 11efd7db41ca..79c892bb7397 100644 --- a/graphics/opencsg/Makefile +++ b/graphics/opencsg/Makefile @@ -1,22 +1,22 @@ # Created by: Michael Reifenberger PORTNAME= opencsg PORTVERSION= 1.4.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= http://www.opencsg.org/ DISTNAME= OpenCSG-${PORTVERSION} MAINTAINER= mr@FreeBSD.org COMMENT= Constructive Solid Geometry rendering library LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../license.txt USES= compiler:c++11-lang gl qmake qt:5 USE_GL= gl glesv2 glew USE_QT= opengl qmake_build WRKSRC= ${WRKDIR}/${DISTNAME}/src PLIST_SUB= PORTVERSION=${PORTVERSION} .include diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile index feb2911a85f3..be09eb304439 100644 --- a/graphics/opendx/Makefile +++ b/graphics/opendx/Makefile @@ -1,107 +1,107 @@ # Created by: Thomas Gellekum PORTNAME= opendx PORTVERSION= 4.4.4 -PORTREVISION= 32 +PORTREVISION= 33 CATEGORIES= graphics math java MASTER_SITES= http://www.sfr-fresh.com/unix/misc/ DISTNAME= dx-${PORTVERSION} MAINTAINER= stephen@FreeBSD.org COMMENT= IBM's Open Visualization Data Explorer LICENSE= IBM-OVDX-v1 LICENSE_NAME= IBM PUBLIC LICENSE - Open Visualization Data Explorer VERSION 1.0 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \ libtiff.so:graphics/tiff \ libcdf.so:science/cdf MAKE_JOBS_UNSAFE= yes USES= bison compiler:c++17-lang gl gmake libtool motif xorg USE_XORG= x11 xt xinerama xext xpm xmu sm ice USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared USE_LDCONFIG= yes CONFIGURE_ENV= ARCH=freebsd CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib NO_MTREE= yes PLIST_SUB= ARCH=freebsd PKGMESSAGE= ${WRKDIR}/pkg-message .if defined(WITH_HDF) && !defined(WITHOUT_NETCDF) IGNORE= HDF and NETCDF are conflicting .endif .if defined(WITH_HDF) LIB_DEPENDS+= libmfhdf.so:science/hdf .else CONFIGURE_ARGS+= --without-hdf .endif .if !defined(WITHOUT_NETCDF) LIB_DEPENDS+= libnetcdf.so:science/netcdf .else CONFIGURE_ARGS+= --without-netcdf .endif .if defined(WITH_JAVA) ONLY_FOR_ARCHS= i386 USE_JAVA= yes BUILD_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:graphics/cosmoplayer RUN_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:graphics/cosmoplayer CONFIGURE_ARGS+= --with-cosmojar-path=${JAVALIBDIR}/npcosmop211.jar \ --with-java40jar-path=${JAVALIBDIR}/java40.jar \ --with-jni-path=${JAVA_HOME}/include:${JAVA_HOME}/include/freebsd PLIST_SUB+= JAVA="" DIR2PRUNE= dx/java/user dx/java/server/nets .else CONFIGURE_ARGS+= --without-javadx PLIST_SUB+= JAVA="@comment " .endif PLIST_SUB+= UNAMEP=${ARCH} .include post-patch: @${RM} ${WRKSRC}/include/stamp-h.in .for dir in doc help html man @${FIND} ${WRKSRC}/${dir} -type f | ${XARGS} \ ${REINPLACE_CMD} -e "s;/usr/lpp;${PREFIX};g" .endfor @${REINPLACE_CMD} -e "s;/usr/X11R6;${LOCALBASE};g" \ ${WRKSRC}/configure @${REINPLACE_CMD} -e "s|startserver.bat||" \ ${WRKSRC}/src/uipp/java/server/Makefile.in @${REINPLACE_CMD} -e 's|$$(ARCH)|@ARCH@|' \ ${WRKSRC}/src/misc/Makefile.* @${REINPLACE_CMD} -e 's/void exit (int);/[[noreturn]] void exit (int);/' \ ${WRKSRC}/configure for f in `find ${WRKSRC} -name "*.bm"`; do \ if [ $${f%/*} != "${WRKSRC}/src/uipp/widgets" ]; then \ ${REINPLACE_CMD} -E 's/0x(..)/static_cast(0x\1)/g' $$f; \ ${REINPLACE_CMD} -E 's/static unsigned char/static char/g' $$f; \ fi; \ done post-install: @${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE} .if defined(WITH_JAVA) ${CHMOD} 0775 ${STAGEDIR}${PREFIX}/dx/java/server/nets ${TOUCH} ${DIR2PRUNE:S|^|${STAGEDIR}${PREFIX}/|:S|$|/.keepme|} @${ECHO} "---------------------------------------------------------" \ >> ${PKGMESSAGE} @${ECHO} "Before starting ${PREFIX}/dx/java/server/bin/startserver" \ >> ${PKGMESSAGE} @${ECHO} "you must install the port graphics/opendx-samples." \ >> ${PKGMESSAGE} .endif @${ECHO} "---------------------------------------------------------" \ >> ${PKGMESSAGE} .include diff --git a/graphics/openfx-arena/Makefile b/graphics/openfx-arena/Makefile index 64eeca4f93ba..ea044a94ba95 100644 --- a/graphics/openfx-arena/Makefile +++ b/graphics/openfx-arena/Makefile @@ -1,66 +1,66 @@ PORTNAME= openfx-arena PORTVERSION= 2.3.14 DISTVERSIONPREFIX= Natron- -PORTREVISION= 39 +PORTREVISION= 40 CATEGORIES= graphics MAINTAINER= olivier@FreeBSD.org COMMENT= Extra OpenFX plugins for Natron 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 \ libcdr-0.1.so:graphics/libcdr01 \ librevenge-0.0.so:textproc/librevenge \ libpoppler-glib.so:graphics/poppler-glib \ liblcms2.so:graphics/lcms2 \ libMagick++-6.so:graphics/ImageMagick6 \ 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 USES= gl gmake gnome iconv xorg USE_GITHUB= yes GH_ACCOUNT= NatronGitHub GH_PROJECT= openfx-arena GH_TUPLE= NatronGitHub:openfx-supportext:e600cae:openfx_supportext/SupportExt \ NatronGitHub:openfx:a85dc34:openfx/OpenFX \ NatronGitHub:openfx-io:Natron-2.3.12:OpenFX_IO/OpenFX-IO \ NatronGitHub:SequenceParsing:9e8b77a:SequenceParsing/OpenFX-IO/IOSupport/SequenceParsing \ NatronGitHub:tinydir:3aae922: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 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/openfx-misc/Makefile b/graphics/openfx-misc/Makefile index 45ea07dbd36c..5936e322649f 100644 --- a/graphics/openfx-misc/Makefile +++ b/graphics/openfx-misc/Makefile @@ -1,41 +1,41 @@ PORTNAME= openfx-misc PORTVERSION= 2.3.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= olivier@FreeBSD.org COMMENT= Miscellaneous OpenFX Effects plugins LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 powerpc64 USES= gl gmake USE_GITHUB= yes GH_ACCOUNT= NatronGitHub GH_PROJECT= openfx-misc GH_TAGNAME= 3ab0531 GH_TUPLE= NatronGitHub:openfx-supportext:e600cae:openfx_supportext/SupportExt \ NatronGitHub:openfx:a85dc34:openfx/openfx MAKE_ENV+= CONFIG=release USE_GL= gl pre-patch: @${RM} ${WRKSRC}/CImg/CImg.h.orig 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}/DebugProxy/DebugProxy.cpp \ ${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/CImg.ofx.bundle/Contents/FreeBSD-x86-64/CImg.ofx ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/OFX/Plugins/Misc.ofx.bundle/Contents/FreeBSD-x86-64/Misc.ofx ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/OFX/Plugins/Shadertoy.ofx.bundle/Contents/FreeBSD-x86-64/Shadertoy.ofx .include diff --git a/graphics/openrm/Makefile b/graphics/openrm/Makefile index 5c019611b464..c840691909dc 100644 --- a/graphics/openrm/Makefile +++ b/graphics/openrm/Makefile @@ -1,82 +1,82 @@ # Created by: Igor Pokrovsky PORTNAME= openrm PORTVERSION= 1.6.0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION:R} \ SF/${PORTNAME}/${PORTNAME}-demo/${PORTVERSION:R}:demo DISTNAME= ${PORTNAME}-devel-${PORTVERSION:R}-${PORTVERSION:E} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DEMO_DISTFILE:S/$/:demo/} MAINTAINER= ports@FreeBSD.org COMMENT= Development environment used to build 2D/3D/stereo graphics LICENSE= LGPL20+ # from sources, though LICENSE file is LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE.html USES= gl jpeg perl5 shebangfix xorg SHEBANG_FILES= doc/*.pl USE_GL= glu USE_XORG= xmu USE_PERL5= build ALL_TARGET= freebsd docs MAKE_ARGS= AR="${AR}" \ CC="${CC}" \ CP="${CP}" \ ECHO_CMD="${ECHO_CMD}" \ LN="${LN}" \ RM="${RM}" \ STRIP_CMD="${STRIP_CMD}" \ X11BASE="${LOCALBASE}" WRKSRC= ${WRKDIR}/rm${PORTVERSION:R:S/.//g} USE_LDCONFIG= yes MAKE_JOBS_UNSAFE=yes CFLAGS+= -fPIC -DPIC PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MEXAMPLES} DEMO_DISTFILE= ${DISTNAME:S,-devel-,-demo-,}${EXTRACT_SUFX} DEMO_WRKSRC= ${WRKDIR}/rmdemo .endif post-patch-EXAMPLES-on: @${REINPLACE_CMD} -e \ '/^RM/s|/usr|${PREFIX}| ; \ /^OPENGL/s|/usr|${LOCALBASE}| ; \ /^X11/s|/usr/X11R6|${LOCALBASE}| ; \ /^OPT/s|-g|| ; \ /^ARCH/s|-m32|| ; \ /^JPEG/s|/usr|${LOCALBASE}|' ${DEMO_WRKSRC}/makeinclude do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/rm ${INSTALL_DATA} ${WRKSRC}/include/rm/*.h ${STAGEDIR}${PREFIX}/include/rm .for f in librm librmaux librmi librmv ${INSTALL_DATA} ${WRKSRC}/lib/${f}.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/lib/${f}.so.1 ${STAGEDIR}${PREFIX}/lib ${LN} -fs ${f}.so.1 ${STAGEDIR}${PREFIX}/lib/${f}.so .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/HTML/images (cd ${WRKSRC} && ${INSTALL_DATA} FUTUREPLANS README RELEASENOTES \ ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKSRC}/doc/HTML/*.html ${STAGEDIR}${DOCSDIR}/HTML ${INSTALL_DATA} ${WRKSRC}/doc/HTML/images/* \ ${STAGEDIR}${DOCSDIR}/HTML/images do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/data (cd ${DEMO_WRKSRC} && ${INSTALL_DATA} README configure makeinclude \ Makefile.x11 *.c *.h ${STAGEDIR}${EXAMPLESDIR}) ${INSTALL_DATA} ${DEMO_WRKSRC}/data/* ${STAGEDIR}${EXAMPLESDIR}/data .include diff --git a/graphics/opensubdiv/Makefile b/graphics/opensubdiv/Makefile index 348cc8056835..f20aa50b052b 100644 --- a/graphics/opensubdiv/Makefile +++ b/graphics/opensubdiv/Makefile @@ -1,79 +1,79 @@ PORTNAME= opensubdiv DISTVERSIONPREFIX= v DISTVERSION= 3_4_3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES?= graphics MAINTAINER= FreeBSD@Shaneware.biz COMMENT= High performance subdivision surface libraries LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= glfw>2.7.0:graphics/glfw USES= cmake gl USE_GITHUB= yes GH_ACCOUNT= PixarAnimationStudios GH_PROJECT= OpenSubdiv USE_GL= gl glu glew USE_LDCONFIG= yes CMAKE_ON= NO_CUDA NO_DX NO_OMP OPTIONS_DEFINE= DOCS EXAMPLES OPENCL PTEX TBB TEST TUTORIALS #OPTIONS_DEFAULT= TBB -- off until onetbb support is available OPTIONS_SUB= yes DOCS_CMAKE_BOOL_OFF= NO_DOC DOCS_BUILD_DEPENDS= rst2html.py:textproc/py-docutils \ doxygen>=1.8.4:devel/doxygen DOCS_USES= python:build EXAMPLES_CMAKE_BOOL_OFF= NO_EXAMPLES EXAMPLES_USES= xorg EXAMPLES_USE= xorg=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm EXAMPLES_LIB_DEPENDS= libglfw.so:graphics/glfw OPENCL_CMAKE_BOOL_OFF= NO_OPENCL OPENCL_CFLAGS= -pthread OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/cl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd PTEX_DESC= ptex support PTEX_CMAKE_BOOL_OFF= NO_PTEX PTEX_CMAKE_ON= -DPTEX_LOCATION:STRING=${LOCALBASE} \ -DPTEX_INCLUDE_DIR:STRING=${LOCALBASE}/include/ptex PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex TBB_DESC= Intel threading building blocks TBB_CMAKE_BOOL_OFF= NO_TBB TBB_LIB_DEPENDS= libtbb.so:devel/tbb TBB_BROKEN= not available until transition to onetbb is complete TEST_CMAKE_BOOL_OFF= NO_REGRESSION NO_TESTS NO_GL_TESTS TEST_LIB_DEPENDS= libglfw.so:graphics/glfw TEST_USES= xorg TEST_USE= xorg=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm # the tutorials and tests include use of deprecated parts of the library # using clang 10 on 32 bit fails to build all tutorials and tests # currently 12.1 still works - 11.4 and current fail # CMake files and pkg-plist are patched to prevent failing builds TUTORIALS_DESC= Install tutorial programs TUTORIALS_CMAKE_BOOL_OFF= NO_TUTORIALS PLIST_SUB+= LIBVERS=${PORTVERSION} post-patch: ${FIND} ${WRKSRC}/tutorials -name CMakeLists.txt -exec \ ${REINPLACE_CMD} -e 's|{CMAKE_BINDIR_BASE}/tutorials|{CMAKE_INSTALL_PREFIX}/${DATADIR_REL}/tutorials|g' {} + ${FIND} ${WRKSRC}/examples -name CMakeLists.txt -exec \ ${REINPLACE_CMD} -e 's|{CMAKE_BINDIR_BASE}|{CMAKE_INSTALL_PREFIX}/${EXAMPLESDIR_REL}|g' {} + ${FIND} ${WRKSRC}/regression -name CMakeLists.txt -exec \ ${REINPLACE_CMD} -e 's|{CMAKE_BINDIR_BASE}|{CMAKE_INSTALL_PREFIX}/tests/${PORTNAME}|g' {} + .include diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile index 618918b0052b..501eeead77eb 100644 --- a/graphics/osg/Makefile +++ b/graphics/osg/Makefile @@ -1,160 +1,160 @@ # Created by: Randall Hopper PORTNAME= osg PORTVERSION= 3.6.5 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 23 +PORTREVISION= 24 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USE_GITHUB= yes GH_ACCOUNT= openscenegraph GH_PROJECT= OpenSceneGraph CONFLICTS_INSTALL=osg34-[0-9]* USES= alias cmake compiler:c11 jpeg gl pkgconfig xorg USE_GL= gl USE_XORG= x11 USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include/Imath -DInt64=uint64_t PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=161 \ OPENTHREADS_VERSION=3.3.1 \ OPENTHREADS_SHLIBVER=21 OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA \ JASPER LIBLAS LUA NVTT OPENEXR PDF SDL ASIO \ SVG VNC XRANDR XINERAMA FONTCONFIG DCMTK COLLADA OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR XINERAMA FONTCONFIG OPTIONS_SUB= yes ASIO_DESC= ASIO support (resthttp plugin) GDAL_DESC= GDAL support GTA_DESC= GTA file format support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support OPENCASCADE_DESC= OpenCASCADE format support DCMTK_DESC= DICOM format support COLLADA_DESC= COLLADA (dae) format support CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CMAKE_BOOL= OSG_TEXT_USE_FONTCONFIG GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USES= gnome GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes GSTREAMER_VARS= FORCE_REQUIRE+="GStreamer GLIB" GSTREAMER_VARS_OFF= FORCE_IGNORE+="GStreamer GLIB" GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USES= gnome PDF_USE= GNOME=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib SDL_USES= sdl SDL_USE= SDL=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_USES= gnome SVG_USE= GNOME=cairo,librsvg2 SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XRANDR_CMAKE_BOOL= OSGVIEWER_USE_XRANDR XRANDR_USE= XORG=xrandr XINERAMA_CMAKE_BOOL= OSGVIEWER_USE_XINERAMA XINERAMA_USE= XORG=xinerama #OPENCASCADE_LIB_DEPENDS=libTKBRep.so:cad/opencascade #OPENCASCADE_VARS= FORCE_REQUIRE+=OpenCascade #OPENCASCADE_VARS_OFF= FORCE_IGNORE+=OpenCascade #OPENCASCADE_CMAKE_ARGS= -DOPENCASCADE_LIBRARY_TYPE="Shared" DCMTK_LIB_DEPENDS= libdcmrt.so:graphics/dcmtk \ libxml2.so:textproc/libxml2 \ libicuuc.so:devel/icu DCMTK_USES= ssl DCMTK_VARS= FORCE_REQUIRE+=DCMTK DCMTK_VARS_OFF= FORCE_IGNORE+=DCMTK #ILMBASE_LIB_DEPENDS= ${LOCALBASE}/lib/libImath.so:graphics/ilmbase #ILMBASE_VARS= FORCE_REQUIRE+=ilmbase #ILMBASE_VARS_OFF= FORCE_IGNORE+=ilmbase COLLADA_LIB_DEPENDS= libcollada-dom2.5-dp.so:devel/collada-dom \ libboost_filesystem.so:devel/boost-libs COLLADA_VARS= FORCE_REQUIRE+=COLLADA COLLADA_VARS_OFF= FORCE_IGNORE+=COLLADA ASIO_BUILD_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio ASIO_VARS= FORCE_REQUIRE+=Asio ASIO_VARS_OFF= FORCE_IGNORE+=Asio # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK FOX wxWidgets GtkGl SDL2 # only for examples FORCE_IGNORE+= FBX Inventor # not in ports FORCE_IGNORE+= ilmbase # not used FORCE_IGNORE+= OpenCascade # detection broken FORCE_IGNORE+= ZeroConf # no avahi support yet FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d; \ s|-pedantic||' ${WRKSRC}/CMakeLists.txt .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include diff --git a/graphics/osg34/Makefile b/graphics/osg34/Makefile index d9726dd9e672..1795e575c6f5 100644 --- a/graphics/osg34/Makefile +++ b/graphics/osg34/Makefile @@ -1,151 +1,151 @@ # Created by: Randall Hopper PORTNAME= osg PORTVERSION= 3.4.1 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 24 +PORTREVISION= 25 CATEGORIES= graphics PKGNAMESUFFIX= 34 MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USE_GITHUB= yes GH_ACCOUNT= openscenegraph GH_PROJECT= OpenSceneGraph CONFLICTS_INSTALL=osg-[0-9]* USES= alias cmake compiler:c++11-lang gl jpeg pkgconfig xorg USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes # needed to ensure build on gcc-based archs; harmless otherwise CXXFLAGS+= -Wno-narrowing -I${LOCALBASE}/include/Imath -DInt64=uint64_t PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=131 \ OPENTHREADS_VERSION=3.3.0 \ OPENTHREADS_SHLIBVER=20 PORTSCOUT= limitw:1,even OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA \ JASPER LIBLAS LUA NVTT OPENEXR PDF QT5 SDL \ SVG VNC XINE XRANDR OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR GDAL_DESC= GDAL support GTA_DESC= GTA file format support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support OPTIONS_SUB= yes CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes GSTREAMER_VARS= FORCE_REQUIRE+=GStreamer GSTREAMER_VARS_OFF= FORCE_IGNORE+=GStreamer GSTREAMER_BROKEN= fails when linking gstreamer plugin, with error cannot find -lgstreamer-1.0 GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USE= gnome=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib QT5_USES= qt:5 QT5_USE= qt=buildtools_build,core,gui,opengl,qmake_build,webkit,widgets QT5_CMAKE_ON= -DDESIRED_QT_VERSION=5 QT5_VARS= FORCE_REQUIRE+="Qt5Widgets Qt5WebKitWidgets" QT5_VARS_OFF= FORCE_IGNORE+="Qt5Widgets Qt5WebKitWidgets" SDL_USES= sdl SDL_USE= sdl=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_USES= gnome SVG_USE= gnome=cairo,librsvg2 SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_VARS= FORCE_REQUIRE+=Xine XINE_VARS_OFF= FORCE_IGNORE+=Xine XRANDR_CMAKE_ON= -DOSGVIEWER_USE_XRANDR:BOOL=ON XRANDR_CMAKE_OFF= -DOSGVIEWER_USE_XRANDR:BOOL=OFF XRANDR_USE= xorg=xrandr # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK GLUT FOX Qt3 wxWidgets OpenAL GtkGl SDL2 # only for examples FORCE_IGNORE+= COLLADA Performer OurDCMTK XUL FBX # not in ports FORCE_IGNORE+= OpenVRML # ports version too old FORCE_IGNORE+= ITK # ports version doesn't build on 10.x FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include .if ${PORT_OPTIONS:MQT5} CMAKE_ARGS+= -DOSG_USE_QT:BOOL=ON PLIST_SUB+= QT="" .else CMAKE_ARGS+= -DOSG_USE_QT:BOOL=OFF PLIST_SUB+= QT="@comment " .endif post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d' \ ${WRKSRC}/CMakeLists.txt .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include diff --git a/graphics/osgearth/Makefile b/graphics/osgearth/Makefile index 89b8f875e3ff..aa44131b8630 100644 --- a/graphics/osgearth/Makefile +++ b/graphics/osgearth/Makefile @@ -1,54 +1,54 @@ # Created by: lbartoletti PORTNAME= osgearth PORTVERSION= 2.10.1 DISTVERSIONPREFIX= ${PORTNAME}- -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics geography MAINTAINER= lbartoletti@FreeBSD.org COMMENT= C++ terrain rendering toolkit for OpenSceneGraph LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libosg.so:graphics/osg34 \ libgdal.so:graphics/gdal \ libcurl.so:ftp/curl \ libgeos.so:graphics/geos \ libleveldb.so:databases/leveldb \ libPocoUtil.so:devel/poco \ libprotoc.so:devel/protobuf \ librocksdb.so:databases/rocksdb USES= cmake gl pkgconfig sqlite USE_GITHUB= yes GH_ACCOUNT= gwaldron USE_CXXSTD= c++11 USE_LDCONFIG= yes USE_GL+= gl glu CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:PATH=${LOCALBASE}/include \ -DCMAKE_LIBRARY_PATH:PATH=${LOCALBASE}/lib \ -DLIB_POSTFIX:STRING="" PLIST_SUB= PORTVERSION=${PORTVERSION} .include .if ${ARCH:Mpowerpc64*} CXXFLAGS+= -DNO_WARN_X86_INTRINSICS -maltivec -mvsx USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++11-lang .endif .include .if ${ARCH} == i386 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-i386 .endif .include diff --git a/graphics/oyranos/Makefile b/graphics/oyranos/Makefile index 420b57dc66af..faff5ba4a321 100644 --- a/graphics/oyranos/Makefile +++ b/graphics/oyranos/Makefile @@ -1,65 +1,65 @@ PORTNAME= oyranos PORTVERSION= 0.9.6 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MAINTAINER= bsam@FreeBSD.org COMMENT= Colour Management System (CMS) 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/p5-OpenGL/Makefile b/graphics/p5-OpenGL/Makefile index 45eeb421e266..ad0e4870e9fe 100644 --- a/graphics/p5-OpenGL/Makefile +++ b/graphics/p5-OpenGL/Makefile @@ -1,27 +1,27 @@ # Created by: ijliao PORTNAME= OpenGL PORTVERSION= 0.66 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:CHM PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module to display 3D data using OpenGL, GLU, GLUT, and GLX MANUAL_PACKAGE_BUILD= needs the X server it will be used with to build PORTSCOUT= limit:^[0-9\.]*$$ CONFIGURE_ARGS= interface=FREEGLUT USES= gl perl5 display:configure xorg USE_PERL5= configure USE_GL= glut USE_XORG= x11 xext xmu xi ice post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL .include diff --git a/graphics/panoglview/Makefile b/graphics/panoglview/Makefile index 0fbdefebca05..b69c5d93b513 100644 --- a/graphics/panoglview/Makefile +++ b/graphics/panoglview/Makefile @@ -1,28 +1,28 @@ # Created by: argv[0] (Iouri V. Ivliev) PORTNAME= panoglview PORTVERSION= 0.2.2 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= SF/hugin/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ii@any.com.ru COMMENT= Panorama viewer using OpenGL USES= compiler:c++11-lang gl gmake USE_GL= glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-unicode CONFIGURE_ENV= WX_CONFIG_NAME=${WX_CONFIG} \ PATH="$${PATH}:${LOCALBASE}/bin" CFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -I${LOCALBASE}/include -ftemplate-depth-64 LIBS+= -L${LOCALBASE}/lib -lGLU -lGL USE_WX= 3.0 WX_COMPS= wx WX_CONF_ARGS= relative PLIST_FILES= bin/panoglview .include diff --git a/graphics/partio/Makefile b/graphics/partio/Makefile index e59bd7a61130..0e471dcd52e5 100644 --- a/graphics/partio/Makefile +++ b/graphics/partio/Makefile @@ -1,70 +1,71 @@ PORTNAME= partio PORTVERSION= 1.14.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= graphics math MAINTAINER= danfe@FreeBSD.org COMMENT= C++ library for particle I/O and manipulation LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= swig:devel/swig USES= cmake compiler:c++11-lang gl python:run shebangfix xorg SHEBANG_FILES= src/tools/partedit.py src/tools/partinspect.py \ src/tools/partjson.py USE_GL= gl glu glut USE_LDCONFIG= yes USE_XORG= xi xmu USE_GITHUB= yes GH_ACCOUNT= wdas PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES PYQT PYQT_DESC= Install PyQt-based auxiliary tools # DOCS must be selected for PORTDOCS to work DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= all doc DOCS_BUILD_DEPENDS= doxygen:devel/doxygen PYQT_USES= pyqt:5 PYQT_USE= PYQT=core,gui,widgets PYQT_PLIST_FILES= bin/partinspect post-patch: @${REINPLACE_CMD} -e \ '/^project/s,${PORTNAME},& VERSION ${PORTVERSION},' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's,OpenGL::OpenGL,$${OPENGL_LIBRARIES},' \ ${WRKSRC}/src/tools/CMakeLists.txt @${REINPLACE_CMD} -e 's,^from Qt,from PyQt5,' \ ${WRKSRC}/src/tools/partinspect.py @${REINPLACE_CMD} -e '/^install/d' ${WRKSRC}/src/tests/CMakeLists.txt post-patch-DOCS-off: @${REINPLACE_CMD} -e '/add_subdirectory(src\/doc)/d' \ ${WRKSRC}/CMakeLists.txt # Remove those files that don't yet work post-install: ${RM} ${STAGEDIR}${PREFIX}/bin/partedit post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/src/doc && ${INSTALL_DATA} tutorial.txt partio.tex ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/src/data && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR} post-install-PYQT-off: cd ${STAGEDIR}${PREFIX} && ${RM} ${PYQT_PLIST_FILES} .include diff --git a/graphics/pencil2d/Makefile b/graphics/pencil2d/Makefile index a41149c853fc..fefbf9e098a2 100644 --- a/graphics/pencil2d/Makefile +++ b/graphics/pencil2d/Makefile @@ -1,32 +1,33 @@ PORTNAME= pencil2d DISTVERSIONPREFIX= v DISTVERSION= 0.6.6 +PORTREVISION= 1 CATEGORIES= graphics math MAINTAINER= yuri@FreeBSD.org COMMENT= Easy and intuitive tool to make 2D hand-drawn animations LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.TXT RUN_DEPENDS= ffmpeg:multimedia/ffmpeg USES= compiler:c++11-lang desktop-file-utils gl gmake qmake qt:5 \ shared-mime-info USE_QT= core gui multimedia network svg widgets xml xmlpatterns buildtools_build USE_GL= gl USE_GITHUB= yes GH_PROJECT= pencil QMAKE_ARGS= NO_TESTS=1 PLIST_FILES= bin/pencil2d \ share/applications/org.pencil2d.Pencil2D.desktop \ share/bash-completion/completions/pencil2d \ share/icons/hicolor/256x256/apps/org.pencil2d.Pencil2D.png \ share/metainfo/org.pencil2d.Pencil2D.metainfo.xml \ share/mime/packages/org.pencil2d.Pencil2D.xml \ share/zsh/site-functions/_pencil2d .include diff --git a/graphics/photoflare/Makefile b/graphics/photoflare/Makefile index b28e53b1ffa5..faec11b36c16 100644 --- a/graphics/photoflare/Makefile +++ b/graphics/photoflare/Makefile @@ -1,24 +1,25 @@ PORTNAME= photoflare DISTVERSIONPREFIX= v DISTVERSION= 1.6.8 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Quick, simple but powerful cross-platform image editor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libGraphicsMagick++.so:graphics/GraphicsMagick USES= compiler:c++17-lang desktop-file-utils gl qmake qt:5 localbase pkgconfig USE_GITHUB= yes USE_QT= core gui network printsupport widgets buildtools_build linguisttools_build USE_GL= gl CXXFLAGS+= `pkg-config --cflags GraphicsMagick++` LDFLAGS+= `pkg-config --libs GraphicsMagick++` ${LDFLAGS_${CHOSEN_COMPILER_TYPE}} LDFLAGS_clang= -lomp LDFLAGS_gcc= -fopenmp .include diff --git a/graphics/phototonic/Makefile b/graphics/phototonic/Makefile index b783b58e3221..be9ca816c8b8 100644 --- a/graphics/phototonic/Makefile +++ b/graphics/phototonic/Makefile @@ -1,26 +1,27 @@ # Created by: Olivier Duchateau PORTNAME= phototonic DISTVERSIONPREFIX= v DISTVERSION= 2.1 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Image viewer and organizer LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexiv2.so:graphics/exiv2 USES= compiler:c++11-lang desktop-file-utils gettext gl qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= oferkv USE_GL= gl USE_QT= core gui imageformats svg widgets buildtools_build post-patch: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/phototonic.pro .include diff --git a/graphics/piglit/Makefile b/graphics/piglit/Makefile index 2b851b8daf0b..007507c07754 100644 --- a/graphics/piglit/Makefile +++ b/graphics/piglit/Makefile @@ -1,60 +1,61 @@ # Created by: Jean-Sébastien Pédron PORTNAME= piglit PORTVERSION= 20200910 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= x11@FreeBSD.org COMMENT= Automated OpenGL and OpenCL testsuite LICENSE= MIT GPLv2 GPLv3 LGPL20 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ vulkan-headers>0:graphics/vulkan-headers \ wayland-protocols>=0:graphics/wayland-protocols LIB_DEPENDS= libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libvulkan.so:graphics/vulkan-loader \ libwaffle-1.so:graphics/waffle \ libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= mesa GL_PROJECT= piglit GL_COMMIT= 136a7f5fa0703603be1ffb338abe4865e76a8058 PATCH_SITES= https://gitlab.freedesktop.org/mesa/piglit/-/commit/ PATCH_DIST_STRIP= -p1 PATCHFILES+= 7f1916da04fc.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 PATCHFILES+= c6a4d8aa8e68.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 PATCHFILES+= 0443b6a18648.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 PATCHFILES+= 96d8ddd0a658.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 PATCHFILES+= d5f4cfd3b0da.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 PATCHFILES+= 64c468c6c7e3.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 PATCHFILES+= 681e86f53c2e.patch # https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/383 USES= cmake compiler:c11 gl pkgconfig python:3.5+ shebangfix xorg USE_GL= egl gbm gl glu USE_XORG= x11 xcb xext xrender SHEBANG_FILES= piglit CMAKE_ON= PIGLIT_BUILD_GLES2_TESTS PIGLIT_BUILD_GLES3_TESTS LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message DATADIR= ${PREFIX}/lib/piglit PORTDATA= * OPTIONS_DEFINE= DOCS .include diff --git a/graphics/pinpoint/Makefile b/graphics/pinpoint/Makefile index c52174f80f8b..b2b8dddea94c 100644 --- a/graphics/pinpoint/Makefile +++ b/graphics/pinpoint/Makefile @@ -1,33 +1,33 @@ # Created by: lichray@gmail.com PORTNAME= pinpoint DISTVERSION= 0.1.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= GNOME MAINTAINER= lichray@gmail.com COMMENT= Tool for making hackers do excellent presentations LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libclutter-glx-1.0.so:graphics/clutter USES= gl gnome pathfix pkgconfig gmake tar:xz USE_GL= gl USE_GNOME= librsvg2 GNU_CONFIGURE= yes OPTIONS_DEFINE= GST GST_DESC= Live videos as slide backgrounds .include .if ${PORT_OPTIONS:MGST} LIB_DEPENDS+= libclutter-gst-1.0.so:multimedia/clutter-gst .else CONFIGURE_ARGS+= --enable-cluttergst=no .endif .include diff --git a/graphics/pixie/Makefile b/graphics/pixie/Makefile index f6f62b3a0f7e..38d944ac59d2 100644 --- a/graphics/pixie/Makefile +++ b/graphics/pixie/Makefile @@ -1,67 +1,67 @@ # Created by: Igor Pokrovsky PORTNAME= pixie PORTVERSION= 2.2.6 -PORTREVISION= 31 +PORTREVISION= 32 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Pixie%20${PORTVERSION} DISTNAME= Pixie-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Photorealistic renderer with Pixar's RenderMan-like interface LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_armv6= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_armv7= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_riscv64= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_FreeBSD_11_powerpc64= fails to compile on powerpc64 elfv1: ../common/mathSpec.h:548:37: error: 'max' was not declared in this scope BROKEN_FreeBSD_12_powerpc64= fails to compile on powerpc64 elfv1: ../common/mathSpec.h:548:37: error: 'max' was not declared in this scope LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath \ libtiff.so:graphics/tiff \ libfltk_gl.so:x11-toolkits/fltk USES= autoreconf bison compiler:c++0x gl libtool pathfix tar:tgz USE_GL= glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --includedir=${PREFIX}/include/pixie \ --libdir=${PREFIX}/lib/pixie \ --with-docdir=${DOCSDIR} \ --with-shaderdir=${DATADIR}/shaders \ --with-ribdir=${DATADIR}/ribs \ --with-texturedir=${DATADIR}/textures \ --with-displaysdir=${PREFIX}/lib/pixie/displays \ --with-modulesdir=${PREFIX}/lib/pixie/modules \ --with-openexr-prefix=${LOCALBASE} \ --enable-openexr-threads WRKSRC= ${WRKDIR}/Pixie INSTALL_TARGET= install-strip USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} PORTDOCS= * CFLAGS+= -fPIC CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/Imath LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/test/s|==|=|g ; \ s|-lpthread|-pthread|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \ ${WRKSRC}/src/ri/Makefile.am \ ${WRKSRC}/src/sdr/Makefile.am post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog DEVNOTES NEWS \ README ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ '! -name "*Makefile*"') .include diff --git a/graphics/py-PyOpenGL/Makefile b/graphics/py-PyOpenGL/Makefile index ee9de3d77eaf..3e6f18ae7036 100644 --- a/graphics/py-PyOpenGL/Makefile +++ b/graphics/py-PyOpenGL/Makefile @@ -1,35 +1,36 @@ # Created by: Randall Hopper PORTNAME= PyOpenGL PORTVERSION= 3.1.5 +PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} #DISTNAME= PyOpenGL-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= OpenGL (and related library) interface for Python BUILD_DEPENDS= ${PYNUMPY} \ ${PY_PILLOW} RUN_DEPENDS= ${PYNUMPY} \ ${PY_PILLOW} OPTIONS_DEFINE= TKINTER OPTIONS_DEFAULT= TKINTER TKINTER_DESC= Build with tkinter for X support USES= dos2unix gl python:3.6+ USE_GL= glut USE_PYTHON= distutils autoplist TKINTER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} post-patch: @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's|||g' @${FIND} ${WRKSRC} -name "*.bak" -delete ${REINPLACE_CMD} -e 's|posix |posix|g' ${WRKSRC}/OpenGL/__init__.py .include diff --git a/graphics/py-python-poppler-qt5/Makefile b/graphics/py-python-poppler-qt5/Makefile index 3f07b2f4f5f2..caad551265ac 100644 --- a/graphics/py-python-poppler-qt5/Makefile +++ b/graphics/py-python-poppler-qt5/Makefile @@ -1,44 +1,44 @@ PORTNAME= python-poppler-qt5 DISTVERSIONPREFIX= v DISTVERSION= 0.75.0 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= graphics python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= m.ne@gmx.net COMMENT= Python bindings for the Poppler-Qt PDF rendering library LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual BUILD_DEPENDS= qmake:devel/qt5-qmake LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 USES= compiler:c++11-lang gl pkgconfig pyqt:5 python:3.5+ qt:5 USE_GITHUB= yes GH_ACCOUNT= frescobaldi USE_GL= gl USE_PYQT= gui qtbuilder xml sip_build USE_QT= core gui xml PLIST_SUB= _PY_SONAME=${_PY_SONAME} .include .if ${PYTHON_REL} < 30800 _PY_SONAME= .cpython-${PYTHON_SUFFIX}m .else _PY_SONAME= ${PYTHON_EXT_SUFFIX} .endif do-build: (cd ${WRKSRC} ; sip-build --verbose --no-make --build-dir build ; ${MAKE} -C ./build ) do-install: (cd ${WRKSRC} ; ${MAKE} -C ./build install INSTALL_ROOT=${STAGEDIR} ) post-install: ${RLN} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${_PY_SONAME}.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5.so @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${_PY_SONAME}.so .include diff --git a/graphics/py-qt5-svg/Makefile b/graphics/py-qt5-svg/Makefile index 435d7532ba67..53d39e61c7d1 100644 --- a/graphics/py-qt5-svg/Makefile +++ b/graphics/py-qt5-svg/Makefile @@ -1,29 +1,30 @@ PORTNAME= svg +PORTREVISION= 1 CATEGORIES= graphics devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtSvg module CONFIGURE_ARGS= --enable QtSvg PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run gui_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui svg widgets qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtSvg API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtSvg.so .include diff --git a/graphics/py-visvis/Makefile b/graphics/py-visvis/Makefile index 66bea89a8309..0e9630bf309a 100644 --- a/graphics/py-visvis/Makefile +++ b/graphics/py-visvis/Makefile @@ -1,30 +1,30 @@ # Created by: Rainer Hurling PORTNAME= visvis PORTVERSION= 1.13.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Object oriented approach to visualization of 1D to 4D data LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libfltk.so:x11-toolkits/fltk RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}imageio>=0:graphics/py-imageio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyside2>=0:devel/pyside2@${PY_FLAVOR} USES= gl python:3.5+ pyqt:5 USE_GL= gl USE_PYQT= core gui USE_PYTHON= autoplist distutils USE_WX= 3.0+ NO_ARCH= yes .include diff --git a/graphics/qgis-ltr/Makefile b/graphics/qgis-ltr/Makefile index 50541b7914ed..1b10797fd33a 100644 --- a/graphics/qgis-ltr/Makefile +++ b/graphics/qgis-ltr/Makefile @@ -1,179 +1,179 @@ # Created by: Laurent Courty PORTNAME= qgis DISTVERSIONPREFIX= final- DISTVERSION= 3_16_7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics geography PKGNAMESUFFIX= -ltr PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ MAINTAINER= rhurlin@FreeBSD.org COMMENT= Free and Open Source Geographic Information System LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/LICENSE DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 BUILD_DEPENDS= gpsbabel>=1.5.4:astro/gpsbabel \ opencl>=0:devel/opencl \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.1:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.17.3:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=1.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.4:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=3.0.5:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.20.0:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=19.1.1:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=3.0.2:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.5.2:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=2.1.3:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.14.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.7:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.3.1:devel/py-yaml@${PY_FLAVOR} LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libnetcdf.so:science/netcdf \ libOpenCL.so:devel/ocl-icd \ libproj.so:graphics/proj \ libprotobuf-lite.so:devel/protobuf \ libqjson-qt5.so:devel/qjson \ libqscintilla2_qt5.so:devel/qscintilla2-qt5 \ libqt5keychain.so:security/qtkeychain \ libqwt6.so:x11-toolkits/qwt6 \ libspatialindex.so:devel/spatialindex \ libspatialite.so:databases/spatialite \ libsz.so:science/szip \ 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>=19.10:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.1:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=3.1.0:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=2.3.0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geopandas>=0.7.0:graphics/py-geopandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.17.3:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.12.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=1.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.4:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=3.0.5:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.0.7:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.1:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nltk>=3.4.1:textproc/py-nltk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.6:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.18.0:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=0.24.2:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pip>=19.1.1:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=3.0.2:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.7.0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.5:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.5.2:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=2.1.3:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrsgis>=0.2.6:graphics/py-pyrsgis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rasterio>=0:graphics/py-rasterio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.14.3:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Shapely>=1.6.4:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.14.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.7:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=2.0.1:textproc/py-xlrd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.3.1:devel/py-yaml@${PY_FLAVOR} ### Fortran is needed by numpy, GRASS, etc. USES= bison cmake compiler:features cpe desktop-file-utils \ fortran gl gmake gnome pgsql pyqt:5 python:3.7+ qca qt:5 \ shebangfix sqlite:3 USE_GITHUB= yes GH_PROJECT= ${PORTNAME:tu} USE_GL= gl USE_GNOME= libxml2 INSTALLS_ICONS= yes USE_LDCONFIG= yes USE_PYQT= core gui network qml quick quickwidgets qscintilla2 \ pysip sip sql svg webkit_run webkitwidgets_run xml USE_QT= 3d buildtools_build core concurrent dbus declarative \ designer doc gamepad gui linguist_build location \ network printsupport qmake_build script serialport \ sql sql-pgsql sql-sqlite3 svg testlib uitools \ webengine widgets webkit xml SHEBANG_FILES= src/plugins/grass/scripts/*.py CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \ -DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \ -DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ -DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \ -DQWT_INCLUDE_DIR:PATH=${LOCALBASE}/include/qt5/qwt6 \ -DQWT_LIBRARY:FILEPATH=${LOCALBASE}/lib/qt5/libqwt6.so \ -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW CMAKE_ON= BUILD_TESTING ENABLE_TESTS USE_OPENCL WITH_3D WITH_ASTYLE \ WITH_BINDINGS WITH_CUSTOM_WIDGETS WITH_INTERNAL_MDAL \ WITH_POSTGRESQL CMAKE_OFF= WITH_GLOBE 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= GRASS SERVER OPTIONS_DEFAULT= GRASS SERVER NO_OPTIONS_SORT= yes OPTIONS_SUB= yes SERVER_DESC= Enable QGIS server GRASS_BUILD_DEPENDS= grass7:databases/grass7 GRASS_RUN_DEPENDS= ${GRASS_BUILD_DEPENDS} GRASS_CMAKE_BOOL= WITH_GRASS7 SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE .include post-patch: # 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 fd21b2776bd1..1c17007d3d3d 100644 --- a/graphics/qgis/Makefile +++ b/graphics/qgis/Makefile @@ -1,180 +1,180 @@ # Created by: Laurent Courty PORTNAME= qgis DISTVERSIONPREFIX= final- DISTVERSION= 3_18_3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics geography PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ MAINTAINER= rhurlin@FreeBSD.org COMMENT= Free and Open Source Geographic Information System LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/LICENSE DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 BUILD_DEPENDS= gpsbabel>=1.5.4:astro/gpsbabel \ opencl>=0:devel/opencl \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.1:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.17.3:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=1.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.4:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=3.0.5:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.20.0:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=19.1.1:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=3.0.2:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.5.2:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=2.1.3:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.14.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.7:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.3.1:devel/py-yaml@${PY_FLAVOR} LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ liblazperf.so:archivers/lazperf \ libnetcdf.so:science/netcdf \ libOpenCL.so:devel/ocl-icd \ libpdal_base.so:math/pdal \ libproj.so:graphics/proj \ libprotobuf-lite.so:devel/protobuf \ libqjson-qt5.so:devel/qjson \ libqscintilla2_qt5.so:devel/qscintilla2-qt5 \ libqt5keychain.so:security/qtkeychain \ libqwt6.so:x11-toolkits/qwt6 \ libspatialindex.so:devel/spatialindex \ libspatialite.so:databases/spatialite \ libsz.so:science/szip \ 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>=19.10:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.1:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=3.1.0:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=2.3.0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geopandas>=0.7.0:graphics/py-geopandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.17.3:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.12.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=1.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.4:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=3.0.5:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.0.7:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.1:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nltk>=3.4.1:textproc/py-nltk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.6:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.18.0:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=0.24.2:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pip>=19.1.1:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=3.0.2:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.7.0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.5:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.5.2:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=2.1.3:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrsgis>=0.2.6:graphics/py-pyrsgis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rasterio>=0:graphics/py-rasterio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.14.3:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Shapely>=1.6.4:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.14.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.7:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=2.0.1:textproc/py-xlrd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.3.1:devel/py-yaml@${PY_FLAVOR} ### Fortran is needed by numpy, GRASS, etc. USES= bison cmake compiler:features cpe desktop-file-utils \ fortran gl gmake gnome pgsql pyqt:5 python:3.7+ qca qt:5 \ shebangfix sqlite:3 USE_GITHUB= yes GH_PROJECT= ${PORTNAME:tu} USE_GL= gl USE_GNOME= libxml2 INSTALLS_ICONS= yes USE_LDCONFIG= yes USE_PYQT= core gui network qml quick quickwidgets qscintilla2 \ pysip sip sql svg webkit_run webkitwidgets_run xml USE_QT= 3d buildtools_build core concurrent dbus declarative \ designer doc gamepad gui linguist_build location \ network printsupport qmake_build script serialport \ sql sql-pgsql sql-sqlite3 svg testlib uitools \ webengine widgets webkit xml SHEBANG_FILES= src/plugins/grass/scripts/*.py CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \ -DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \ -DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ -DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \ -DQWT_INCLUDE_DIR:PATH=${LOCALBASE}/include/qt5/qwt6 \ -DQWT_LIBRARY:FILEPATH=${LOCALBASE}/lib/qt5/libqwt6.so \ -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW CMAKE_ON= BUILD_TESTING ENABLE_TESTS USE_OPENCL WITH_3D WITH_ASTYLE \ WITH_BINDINGS WITH_CUSTOM_WIDGETS WITH_EPT WITH_INTERNAL_MDAL \ WITH_POSTGRESQL WITH_PDAL CMAKE_OFF= WITH_GLOBE 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= GRASS SERVER OPTIONS_DEFAULT= GRASS SERVER NO_OPTIONS_SORT= yes OPTIONS_SUB= yes SERVER_DESC= Enable QGIS server GRASS_BUILD_DEPENDS= grass7:databases/grass7 GRASS_RUN_DEPENDS= ${GRASS_BUILD_DEPENDS} GRASS_CMAKE_BOOL= WITH_GRASS7 SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE .include post-patch: # 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/qt5-opengl/Makefile b/graphics/qt5-opengl/Makefile index e89a98fe3507..c681e221d04b 100644 --- a/graphics/qt5-opengl/Makefile +++ b/graphics/qt5-opengl/Makefile @@ -1,27 +1,27 @@ PORTNAME= opengl DISTVERSION= ${QT5_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5-compatible OpenGL support module USES= compiler:c++11-lang gl qmake:no_env qt-dist:5,base USE_GL= gl USE_QT= core gui widgets qmake_build buildtools_build HAS_CONFIGURE= yes BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} QT_DEFINES= OPENGL QT_CONFIG= opengl post-configure: .for d in src/opengl ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor .include diff --git a/graphics/qt5-wayland/Makefile b/graphics/qt5-wayland/Makefile index c38213d03370..b38ea76dd100 100644 --- a/graphics/qt5-wayland/Makefile +++ b/graphics/qt5-wayland/Makefile @@ -1,27 +1,27 @@ PORTNAME= wayland DISTVERSION= ${QT5_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt5 wrapper for Wayland BUILD_DEPENDS= ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c++11-lang gl gnome pkgconfig qmake:norecursive \ qt-dist:5,wayland xorg USE_GL= egl gl USE_GNOME= glib20 USE_QT= core dbus gui declarative \ buildtools_build qmake_build USE_XORG= x11 xcomposite QT_BINARIES= yes .include diff --git a/graphics/qtpbfimageplugin/Makefile b/graphics/qtpbfimageplugin/Makefile index 0018084f1ecf..c69e6f86361f 100644 --- a/graphics/qtpbfimageplugin/Makefile +++ b/graphics/qtpbfimageplugin/Makefile @@ -1,25 +1,25 @@ PORTNAME= qtpbfimageplugin PORTVERSION= 2.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MAINTAINER= sikmir@gmail.com COMMENT= Qt image plugin for displaying Mapbox vector tiles LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libprotobuf-lite.so:devel/protobuf USES= compiler:c++11-lang gl qmake qt:5 USE_QT= core gui buildtools_build USE_GL= gl USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} USE_GITHUB= yes GH_ACCOUNT= tumic0 GH_PROJECT= QtPBFImagePlugin PLIST_FILES= ${QT_PLUGINDIR}/imageformats/libpbf.so .include diff --git a/graphics/quat-gui/Makefile b/graphics/quat-gui/Makefile index b0de463623e4..0708f967ea79 100644 --- a/graphics/quat-gui/Makefile +++ b/graphics/quat-gui/Makefile @@ -1,64 +1,64 @@ # Created by: David Yeske PORTNAME= quat PORTVERSION= 1.20 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= graphics MASTER_SITES= https://www.physcip.uni-stuttgart.de/pages/~phy11733/download/ PKGNAMESUFFIX= -gui MAINTAINER= ports@FreeBSD.org COMMENT= Three-dimensional fractal creator (X11 GUI) LICENSE= GPLv2+ LIB_DEPENDS= libfltk.so:x11-toolkits/fltk OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS USES= gl xorg USE_XORG= xext USE_GL= gl glut GNU_CONFIGURE= yes CONFIGURE_ENV= FLUID="${LOCALBASE}/bin/fluid" CONFIGURE_ARGS= --datadir=${PREFIX}/share/doc CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDOCS= * PLIST_FILES= bin/quat DESKTOP_ENTRIES="Quat" "3D Fractal Generator" "" "${PORTNAME}" "" "" OPTIMIZED_CFLAGS_CFLAGS= -O3 -ffast-math post-patch: @${REINPLACE_CMD} -E -e \ 's,-(march=pentium|O3|ffast-math),,g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -E -e \ 's|-I\.[[:space:]]+-I\$$\(srcdir\)[[:space:]]+||' \ ${WRKSRC}/gui/Makefile.in @${REINPLACE_CMD} -e \ 's||| ; \ s|/doc/quat/|/doc/${PKGBASE}/|' \ ${WRKSRC}/gui/MainWindow.cxx # disable data file installation since distfile does not do # The Right Thing(TM) @${REINPLACE_CMD} -E -e \ 's|^(install-data-am:).*$$|\1| ; \ s|^(SUBDIRS.*)doc|\1|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|@PACKAGE@|${PKGBASE}|' \ ${WRKSRC}/doc/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .include diff --git a/graphics/quesa/Makefile b/graphics/quesa/Makefile index 8067d1498a76..2d98902c8d8a 100644 --- a/graphics/quesa/Makefile +++ b/graphics/quesa/Makefile @@ -1,26 +1,26 @@ # Created by: Igor Pokrovsky PORTNAME= quesa PORTVERSION= 1.8 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= High level 3D graphics library compatible with Apple's QuickDraw(TM) USES= gl libtool xorg USE_CXXSTD= gnu++98 GNU_CONFIGURE= yes USE_GL= glut USE_XORG= x11 ice xmu xi INSTALL_TARGET= install-strip USE_LDCONFIG= yes pre-configure: @${REINPLACE_CMD} -e 's|-std=c99||g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|isfinite|finite|g' \ ${WRKSRC}/Source/Core/System/E3IOData.c \ ${WRKSRC}/Source/Core/System/E3View.c .include diff --git a/graphics/quesoglc/Makefile b/graphics/quesoglc/Makefile index cfa39756fd6c..34f0d7337326 100644 --- a/graphics/quesoglc/Makefile +++ b/graphics/quesoglc/Makefile @@ -1,46 +1,46 @@ PORTNAME= quesoglc PORTVERSION= 0.7.2 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free implementation of the OpenGL Character Renderer LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfribidi.so:converters/fribidi \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= gl gmake libtool localbase pathfix pkgconfig tar:bzip2 xorg GNU_CONFIGURE= yes USE_GL= gl glu USE_XORG= x11 INSTALL_TARGET= install-strip USE_LDCONFIG= yes # needs GLEW MX (multiple rendering contexts), so system glew won't go CONFIGURE_ARGS= --without-glew --with-fribidi PORTDOCS= README OPTIONS_DEFINE= DOCS TEST TEST_CONFIGURE_ENABLE= executables # these libs are only required for building tests, which are not # installed, so no LIB_DEPENDS; tests also require X11 display # and are interactive TEST_BUILD_DEPENDS= ${LOCALBASE}/lib/libglut.so:graphics/freeglut \ ${LOCALBASE}/lib/libSM.so:x11/libSM \ ${LOCALBASE}/lib/libICE.so:x11/libICE \ ${LOCALBASE}/lib/libXi.so:x11/libXi \ ${LOCALBASE}/lib/libXmu.so:x11-toolkits/libXmu TEST_TEST_TARGET= check post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/qvge/Makefile b/graphics/qvge/Makefile index 4bc1f04c9509..2ff8f99c8ac3 100644 --- a/graphics/qvge/Makefile +++ b/graphics/qvge/Makefile @@ -1,48 +1,49 @@ # Created by: Alexey Dokuchaev PORTNAME= qvge PORTVERSION= 0.6.3 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Qt Visual Graph Editor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE USE_GITHUB= yes GH_ACCOUNT= ArsMasiuk USES= compiler:c++11-lang desktop-file-utils gl qt:5 \ shared-mime-info xorg USE_GL= gl USE_QT= buildtools_build qmake_build core gui network opengl \ printsupport svg widgets x11extras xml USE_XORG= x11 MAKE_ARGS= INSTALL_ROOT=${STAGEDIR} WRKSRC_SUBDIR= src PLIST_FILES= bin/qvgeapp share/appdata/qvge.appdata.xml \ share/applications/qvge.desktop \ share/mime/packages/application-xgr.xml \ share/pixmaps/qvge.png PORTDOCS= CHANGES README.md OPTIONS_DEFINE= DOCS OGDF OGDF_DESC= Use OGDF instead of GraphViz engine OGDF_LIB_DEPENDS= libOGDF.so:math/ogdf OGDF_QMAKE_ON= CONFIG+=USE_OGDF OGDF_QMAKE_OFF= CONFIG+=USE_GVGRAPH OGDF_RUN_DEPENDS_OFF= dot:graphics/graphviz do-configure: cd ${CONFIGURE_WRKSRC} && ${QMAKE_ENV} ${QMAKE} ${QMAKE_ARGS} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/radiance/Makefile b/graphics/radiance/Makefile index 7fb678524cb7..27dcf6ebdfbd 100644 --- a/graphics/radiance/Makefile +++ b/graphics/radiance/Makefile @@ -1,35 +1,35 @@ PORTNAME= radiance DISTVERSION= 0.6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics PKGNAMESUFFIX= -video MAINTAINER= yuri@FreeBSD.org COMMENT= Video art software for VJs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN= Fails to build with the latest mpv: https://github.com/zbanks/radiance/issues/114 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libmpv.so:multimedia/mpv \ libportaudio.so:audio/portaudio \ librtmidi.so:audio/rtmidi \ libsamplerate.so:audio/libsamplerate USES= cmake compiler:c++14-lang gl localbase:ldflags qt:5 USE_GITHUB= yes GH_ACCOUNT= zbanks GH_TUPLE= zbanks:BTrack:1c5b72e:bt/BTrack USE_QT= core declarative graphicaleffects gui network quickcontrols widgets \ buildtools_build qmake_build USE_GL= gl glu CMAKE_ARGS= -DRADIANCE_SYSTEM_RESOURCES:STRING=${DATADIR}/ post-patch: @${REINPLACE_CMD} '/-march=native/d' ${WRKSRC}/CMakeLists.txt .include diff --git a/graphics/radius-engine/Makefile b/graphics/radius-engine/Makefile index ad3317b3ee4f..7ae5dc0af20b 100644 --- a/graphics/radius-engine/Makefile +++ b/graphics/radius-engine/Makefile @@ -1,33 +1,33 @@ # Created by: Rusmir Dusko PORTNAME= radius-engine PORTVERSION= 1.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics devel MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= Lua script-based 2D engine built on top of OpenGL and SDL LICENSE= MIT LIB_DEPENDS= liblua-5.1.so:lang/lua51 \ libpng.so:graphics/png \ libphysfs.so.1:devel/physfs USES= gl pathfix pkgconfig sdl USE_SDL= sdl sound USE_GL= glu GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib PLIST_FILES= include/radius.h \ lib/libradius-engine.a \ libdata/pkgconfig/radius-engine.pc post-patch: @${REINPLACE_CMD} -e 's|lua5.1|lua-5.1|g' \ ${WRKSRC}/acinclude.m4 ${WRKSRC}/configure .include diff --git a/graphics/reallyslick/Makefile b/graphics/reallyslick/Makefile index 669bc57f5276..875b484b8715 100644 --- a/graphics/reallyslick/Makefile +++ b/graphics/reallyslick/Makefile @@ -1,40 +1,40 @@ # Created by: David Yeske PORTNAME= reallyslick PORTVERSION= 0.9.1 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= graphics MASTER_SITES= SF/rss-glx/rss-glx/${PORTVERSION} DISTNAME= rss-glx_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL screensaver collection LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \ libGLC.so:graphics/quesoglc USES= compiler:c++11-lang gl gmake pathfix pkgconfig tar:bzip2 libtool USE_GL= glut GNU_CONFIGURE= yes CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lXext OPTIONS_DEFINE= FREEALUT GLEW FREEALUT_DESC= Enable freealut support FREEALUT_CONFIGURE_ENABLE= sound FREEALUT_USES= openal:alut FREEALUT_LDFLAGS= ${_FREEALUT_LDFLAGS_${ARCH}} _FREEALUT_LDFLAGS_i386= -Wl,-znotext GLEW_DESC= Enable GLEW support GLEW_USE= GL=glew GLEW_CONFIGURE_ENV_OFF= ac_cv_header_GL_glew_h=no post-patch: @${REINPLACE_CMD} '/LINK.*pixelcity/s/LINK/CXXLINK/' ${WRKSRC}/src/Makefile.in .include diff --git a/graphics/rubygem-opengl/Makefile b/graphics/rubygem-opengl/Makefile index 58f1f1600cea..b01ced6719b1 100644 --- a/graphics/rubygem-opengl/Makefile +++ b/graphics/rubygem-opengl/Makefile @@ -1,20 +1,21 @@ # Created by: Steve Wills PORTNAME= opengl PORTVERSION= 0.10.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics ruby MASTER_SITES= RG DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= OpenGL wrapper for Ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/MIT-LICENSE USES= gl gem USE_GL= glut USE_RUBY= yes .include diff --git a/graphics/s2tc/Makefile b/graphics/s2tc/Makefile index 30c7999f7987..015c4a605d31 100644 --- a/graphics/s2tc/Makefile +++ b/graphics/s2tc/Makefile @@ -1,33 +1,33 @@ # Created by: David Naylor PORTNAME= s2tc PORTVERSION= 1.0+20151228 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Subset of a well-known texture compression scheme LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= mesa-libs>=0:graphics/mesa-libs TEST_DEPENDS= convert:graphics/ImageMagick6 \ nvcompress:graphics/nvidia-texture-tools \ wget:ftp/wget USES= autoreconf libtool pathfix USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= divVerent GH_TAGNAME= f6ec862 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include do-test: (cd ${WRKSRC}/tests; ${SETENV} use_external=false use_nvcompress=true ${SH} test.sh) .include diff --git a/graphics/sage/Makefile b/graphics/sage/Makefile index 7e8858fe5ec1..d73df37be145 100644 --- a/graphics/sage/Makefile +++ b/graphics/sage/Makefile @@ -1,24 +1,24 @@ # Created by: Janni PORTNAME= sage PORTVERSION= 0.2.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics devel MASTER_SITES= SF/worldforge/${PORTNAME}%20%28OpenGL%20helper%20lib%29/${PORTVERSION} MAINTAINER= oliver@FreeBSD.org COMMENT= OpenGL extension library CONFIGURE_ARGS= --program-transform-name= GNU_CONFIGURE= yes USES= gl libtool pathfix sdl USE_GL= yes USE_LDCONFIG= yes USE_SDL= sdl CFLAGS+= -I${LOCALBASE}/include post-patch: @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/configure .include diff --git a/graphics/sdl_ttf/Makefile b/graphics/sdl_ttf/Makefile index 214663c60f99..6f90b561aa6f 100644 --- a/graphics/sdl_ttf/Makefile +++ b/graphics/sdl_ttf/Makefile @@ -1,30 +1,30 @@ # Created by: Maxim Sobolev PORTNAME= sdl_ttf PORTVERSION= 2.0.11 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= https://www.libsdl.org/projects/SDL_ttf/release/ DISTNAME= SDL_ttf-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Library to use TrueType fonts to render text in SDL applications LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 USES= gmake iconv gl libtool pathfix pkgconfig sdl xorg USE_SDL= sdl USE_XORG= x11 USE_GL= gl GNU_CONFIGURE= yes USE_LDCONFIG= yes post-install: ${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont \ ${STAGEDIR}${PREFIX}/bin/sdl-showfont .include diff --git a/graphics/seexpr/Makefile b/graphics/seexpr/Makefile index c0d89485429c..9d4041068af5 100644 --- a/graphics/seexpr/Makefile +++ b/graphics/seexpr/Makefile @@ -1,60 +1,61 @@ # Created by: Alexey Dokuchaev PORTNAME= seexpr PORTVERSION= 3.4.4.0 +PORTREVISION= 1 CATEGORIES= graphics math MASTER_SITES= https://download.kde.org/stable/${PORTNAME}/ MAINTAINER= danfe@FreeBSD.org COMMENT= Embeddable expression evaluation language LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png USES= bison cmake compiler:c++14-lang gl qt:5 USE_GL= gl glu USE_LDCONFIG= yes USE_QT= buildtools_build qmake_build core gui opengl widgets MAKE_JOBS_UNSAFE= yes # https://github.com/wdas/seexpr/issues/40 OPTIONS_DEFINE= ANIMCURVE DEEPWATER LLVM NLS PYTHON OPTIONS_DEFAULT= DEEPWATER OPTIONS_SUB= yes ANIMCURVE_DESC= Build controls for animation curves ANIMCURVE_CMAKE_ON= -DENABLE_ANIMCURVE:BOOL=TRUE ANIMCURVE_BROKEN= error: use of undeclared identifier 'animlib' DEEPWATER_DESC= Build controls for deep water spectrum DEEPWATER_CMAKE_ON= -DENABLE_DEEPWATER:BOOL=TRUE LLVM_DESC= Build with LLVM ${LLVM_DEFAULT:C/.$$//} backend LLVM_LIB_DEPENDS= libLLVM.so:devel/llvm${LLVM_DEFAULT} LLVM_CMAKE_OFF= -DENABLE_LLVM_BACKEND:BOOL=FALSE NLS_USES= kde:5 NLS_USE= KDE=ecm_build NLS_CMAKE_OFF= -DBUILD_TRANSLATIONS:BOOL=FALSE PYTHON_LIB_DEPENDS= ${PY_BOOST} PYTHON_USES= pyqt:5 python PYTHON_USE= PYQT=core_build,sip_build,widgets_build PYTHON_CMAKE_ON= -DPYQT_SIP_DIR:STRING=${PYQT_SIPDIR} PYTHON_CMAKE_OFF= -DUSE_PYTHON:BOOL=FALSE .if ! ${MACHINE_CPU:Msse41} CMAKE_ARGS+= -DENABLE_SSE4:BOOL=FALSE .endif post-patch: @${REINPLACE_CMD} -e '//d' ${WRKSRC}/src/SeExpr2/Platform.h @${REINPLACE_CMD} -e '/pkgconfig/s/share/libdata/' \ ${WRKSRC}/CMakeLists.txt post-install: @${RMDIR} ${STAGEDIR}${PREFIX}/include/SeExpr2/generated .include diff --git a/graphics/seom/Makefile b/graphics/seom/Makefile index af95444cfffc..57b42026330f 100644 --- a/graphics/seom/Makefile +++ b/graphics/seom/Makefile @@ -1,58 +1,58 @@ # Created by: Bruce M Simpson PORTNAME= seom PORTVERSION= 2010011201 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= LOCAL/bms MAINTAINER= ports@FreeBSD.org COMMENT= Real-time capture library for OpenGL applications LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= not yet ported to any arch other than x86 USES= gl gmake tar:bzip2 xorg USE_XORG= x11 xv xext USE_GL= gl USE_LDCONFIG= yes MAKE_ENV= DATADIR="${DATADIR}" .include .if ${ARCH} == amd64 || ${ARCH} == i386 BUILD_DEPENDS+= yasm:devel/yasm .endif post-patch: @${ECHO_CMD} 1.0-196 > ${WRKSRC}/VERSION post-install: .for f in seom-filter seom-server seom-player ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libseom.so # # To roll snapshot: as bms: make BOOTSTRAP=defined fetch # .if defined(BOOTSTRAP) FETCH_DEPENDS+= svn:devel/subversion SVN_REV= 196 # svn tip at epoch 2009120801 SVNROOT_URI= https://devel.neopsis.com/svn/seom do-fetch: ${MKDIR} ${WRKDIR} svn export -r ${SVN_REV} ${SVNROOT_URI}/trunk ${WRKSRC} cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} .if ${USER} == bms ${CHMOD} ugo+r ${DISTDIR}/${DISTNAME}.tar.bz2 scp -p ${DISTDIR}/${DISTNAME}.tar.bz2 \ freefall.freebsd.org:public_distfiles/ .endif .endif # defined(BOOTSTRAP) .include diff --git a/graphics/sharpconstruct/Makefile b/graphics/sharpconstruct/Makefile index e20aaa667b17..7235e4ad6044 100644 --- a/graphics/sharpconstruct/Makefile +++ b/graphics/sharpconstruct/Makefile @@ -1,37 +1,37 @@ PORTNAME= sharpconstruct PORTVERSION= 0.11 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= graphics MASTER_SITES= SF/sharp3d/SharpConstruct/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= 3D modeller for organic shapes 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= i386 amd64 ONLY_FOR_ARCHS_REASON= uses SSE instructions USES= compiler:c++11-lang gl tar:bzip2 gmake pkgconfig USE_CXXSTD= c++11 GNU_CONFIGURE= yes USE_GL= gl glu PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz PORTDATA= * 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/simpleviewer/Makefile b/graphics/simpleviewer/Makefile index be23c579af5e..40f030aef250 100644 --- a/graphics/simpleviewer/Makefile +++ b/graphics/simpleviewer/Makefile @@ -1,90 +1,90 @@ # Created by: Alexey Dokuchaev PORTNAME= simpleviewer PORTVERSION= 3.1.7 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/andreyu/simple-viewer-gl/get/ DISTNAME= v${PORTVERSION} # version tag, has no embedded ${PORTNAME} DIST_SUBDIR= ${PORTNAME} # and that's why we need ${DIST_SUBDIR} MAINTAINER= danfe@FreeBSD.org COMMENT= Small and simple image viewer based on OpenGL LICENSE= GPLv2 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libglfw.so:graphics/glfw \ liblz4.so:archivers/liblz4 \ libpng.so:graphics/png USES= cmake:insource compiler:c++11-lang gl jpeg pkgconfig \ tar:bzip2 xorg USE_GL= gl glu USE_XORG= ice sm x11 xcursor xext xinerama xrandr xxf86vm CMAKE_ARGS= -DAPP_VERSION_MAJOR:STRING=${PORTVERSION:S/./ /g:[1]} \ -DAPP_VERSION_MINOR:STRING=${PORTVERSION:S/./ /g:[2]} \ -DAPP_VERSION_RELEASE:STRING=${PORTVERSION:S/./ /g:[3]} WRKSRC= ${WRKDIR}/andreyu-simple-viewer-gl-d8928067922d PLIST_FILES= bin/sviewgl ${DATADIR_REL}/Icon-1024.png \ ${DATADIR_REL}/Icon-16.png ${DATADIR_REL}/Icon-32.png PORTDOCS= README.md PORTEXAMPLES= config.example SUB_FILES= pkg-message EXTRA_FEATURES= CURL GIF IMLIB2 JPEG2000 LCMS2 LIBEXIF OPENEXR TIFF WEBP OPTIONS_DEFINE= DOCS EXAMPLES ${EXTRA_FEATURES} OPTIONS_DEFAULT= ${EXTRA_FEATURES} CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CMAKE_OFF= -DDISABLE_CURL_SUPPORT:STRING=1 GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_OFF= -DDISABLE_GIF_SUPPORT:STRING=1 IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2 IMLIB2_CMAKE_OFF= -DDISABLE_IMLIB2_SUPPORT:STRING=1 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG2000_CMAKE_OFF= -DDISABLE_JPEG2000_SUPPORT:STRING=1 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CMAKE_OFF= -DDISABLE_LCMS2_SUPPORT:STRING=1 LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_CMAKE_OFF= -DDISABLE_EXIF_SUPPORT:STRING=1 OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_CMAKE_OFF= -DDISABLE_OPENEXR_SUPPORT:STRING=1 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_OFF= -DDISABLE_TIFF_SUPPORT:STRING=1 WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_OFF= -DDISABLE_WEBP_SUPPORT:STRING=1 post-patch: @${REINPLACE_CMD} -e '/#include/s,lz4/,,' \ ${WRKSRC}/src/formats/formatage.cpp @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/src/main.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sviewgl ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/res/Icon-*.png ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/config.example ${STAGEDIR}${EXAMPLESDIR} .include JPEG2000_DESC+= via OpenJPEG diff --git a/graphics/swftools/Makefile b/graphics/swftools/Makefile index d50bbc750bd4..7d92d319aabf 100644 --- a/graphics/swftools/Makefile +++ b/graphics/swftools/Makefile @@ -1,76 +1,76 @@ # Created by: ijliao PORTNAME= swftools PORTVERSION= 0.9.2 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= http://www.swftools.org/ \ http://www.c-s.li/ports/ MAINTAINER= dinoex@FreeBSD.org COMMENT= SWF manipulation and generation utilities LICENSE= GPLv2 LIB_DEPENDS= libt1.so:devel/t1lib \ libgif.so:graphics/giflib \ libfftw3.so:math/fftw3 \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= gmake pkgconfig jpeg gl USE_GL= glut GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_lib_zzip_zzip_file_open=no LMAN1= as3compile.1 font2swf.1 gif2swf.1 jpeg2swf.1 pdf2swf.1 \ png2swf.1 swfbbox.1 swfc.1 swfcombine.1 swfdump.1 \ swfextract.1 swfrender.1 swfstrings.1 wav2swf.1 CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= -fcommon LDFLAGS+= -L${LOCALBASE}/lib BINFILES= as3compile font2swf gif2swf jpeg2swf pdf2swf png2swf \ swfbbox swfc swfcombine swfdump swfextract swfrender \ swfstrings wav2swf OPTIONS_DEFINE= LAME PDF OPTIONS_SUB= yes LAME_LIB_DEPENDS= libmp3lame.so:audio/lame PDF_LIB_DEPENDS= libpdf.so:print/pdflib .include .if ! ${PORT_OPTIONS:MLAME} CONFIGURE_ENV+= ac_cv_lib_mp3lame_lame_init=no .endif .if ${PORT_OPTIONS:MPDF} LMAN1+= pdf2pdf.1 BINFILES+= pdf2pdf .else CONFIGURE_ENV+= ac_cv_lib_pdf_PDF_open_file=no .endif post-patch: ${REINPLACE_CMD} -e 's| -O | |g ; \ s|/usr/include/fontconfig|${LOCALBASE}/include/fontconfig|g ; \ s|/usr/local/include|${LOCALBASE}/include|g ; \ s|/usr/local/lib|${LOCALBASE}/lib|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e '/python/d ; \ /avi2swf/d' ${WRKSRC}/Makefile.in do-install: .for i in ${BINFILES} ${INSTALL_PROGRAM} ${WRKSRC}/src/${i} ${STAGEDIR}${PREFIX}/bin/ .endfor .for i in ${LMAN1} ${INSTALL_DATA} ${WRKSRC}/src/${i} ${STAGEDIR}${PREFIX}/man/man1/ .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/swfs ${INSTALL_DATA} ${WRKSRC}/swfs/*.swf ${STAGEDIR}${DATADIR}/swfs/ ${LN} -s simple_viewer.swf ${STAGEDIR}${DATADIR}/swfs/default_viewer.swf ${LN} -s tessel_loader.swf ${STAGEDIR}${DATADIR}/swfs/default_loader.swf .include diff --git a/graphics/tiffgt/Makefile b/graphics/tiffgt/Makefile index 68a12662f419..b29f215690e3 100644 --- a/graphics/tiffgt/Makefile +++ b/graphics/tiffgt/Makefile @@ -1,38 +1,39 @@ PORTNAME= tiffgt DISTVERSION= 4.3.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://download.osgeo.org/libtiff/ DISTNAME= tiff-${DISTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= X11 Tools for working with TIFF images LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libjbig.so:graphics/jbigkit \ libtiff.so:graphics/tiff \ libzstd.so:archivers/zstd USES= cpe gl jpeg libtool pathfix xorg CPE_PRODUCT= libtiff CPE_VERSION= ${DISTVERSION:C/[a-z]+//} CPE_UPDATE= ${DISTVERSION:C/[0-9.]+//} USE_XORG= sm ice xmu xi x11 USE_GL= glut glu gl USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-jpeg-include-dir=${LOCALBASE}/include \ --with-jpeg-lib-dir=${LOCALBASE}/lib --with-x PLIST_FILES= bin/tiffgt man/man1/tiffgt.1.gz pre-configure: ${REINPLACE_CMD} -e 's|^docfiles|no-docfiles|' \ -e 's|man html|man|' ${WRKSRC}/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tools/.libs/tiffgt ${STAGEDIR}/${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/man/tiffgt.1 ${STAGEDIR}${PREFIX}/man/man1/ .include diff --git a/graphics/tiled/Makefile b/graphics/tiled/Makefile index f2b4e4320c48..6d61ca378ac4 100644 --- a/graphics/tiled/Makefile +++ b/graphics/tiled/Makefile @@ -1,48 +1,49 @@ PORTNAME= tiled PORTVERSION= 1.7.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= graphics editors games MAINTAINER= amdmi3@FreeBSD.org COMMENT= General purpose tile map editor LICENSE= BSD2CLAUSE BSD3CLAUSE GPLv2+ LICENSE_COMB= multi LIB_DEPENDS= libzstd.so:archivers/zstd USE_GITHUB= yes GH_ACCOUNT= bjorn USES= compiler:c++14-lang desktop-file-utils gl qmake qt:5 \ shared-mime-info xorg USE_QT= core gui widgets opengl network declarative \ buildtools_build linguisttools_build USE_GL= gl USE_LDCONFIG= yes QMAKE_ARGS= SYSTEM_ZSTD=yes PORTDOCS= * OPTIONS_DEFINE= PYTHON DBUS DOCS OPTIONS_DEFAULT=PYTHON DBUS OPTIONS_SUB= yes PYTHON_DESC= Enable python plugin PYTHON_USES= pkgconfig python:3.6+ PYTHON_QMAKE_OFF= DISABLE_PYTHON_PLUGIN=yes DBUS_USE= QT=dbus DBUS_QMAKE_OFF= DISABLE_DBUS=yes post-patch-PYTHON-on: @${REINPLACE_CMD} -e 's|python3|python-${PYTHON_VER}|' \ ${WRKSRC}/src/plugins/python/find_python.pri post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in AUTHORS README.md NEWS.md ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/graphics/togl/Makefile b/graphics/togl/Makefile index d9b448e3654e..9ca967537061 100644 --- a/graphics/togl/Makefile +++ b/graphics/togl/Makefile @@ -1,54 +1,54 @@ # Created by: Randall Hopper PORTNAME= togl DISTVERSION= 2.0 DISTVERSIONSUFFIX= -src -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics tk MASTER_SITES= SF/${PORTNAME}/Togl/${PORTVERSION} DISTNAME= Togl${DISTVERSIONFULL} MAINTAINER= ports@FreeBSD.org COMMENT= Tk OpenGL widget LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gl gmake tk:tea xorg USE_XORG= x11 xt xmu USE_GL= gl USE_LDCONFIG= ${PREFIX}/lib/Togl2.0 WRKSRC= ${WRKDIR}/Togl2.0 TOGL_INSTDIR= ${PREFIX}/lib/${DISTNAME} OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * post-patch: @${REINPLACE_CMD} -e 's|wish |${WISH:T} |' ${WRKSRC}/*.tcl @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/g' \ ${WRKSRC}/configure do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/Makefile ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/ben.rgb ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/double.c ${WRKSRC}/double.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/gears.c ${WRKSRC}/gears.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/image.c ${WRKSRC}/image.h ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/index.c ${WRKSRC}/index.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/overlay.c ${WRKSRC}/overlay.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/stereo.c ${WRKSRC}/stereo.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/texture.c ${WRKSRC}/texture.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/togl.c ${WRKSRC}/togl.h ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tree2.rgba ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/graphics/urho3d/Makefile b/graphics/urho3d/Makefile index e7c05f9a2a97..d844e16e0921 100644 --- a/graphics/urho3d/Makefile +++ b/graphics/urho3d/Makefile @@ -1,29 +1,30 @@ PORTNAME= urho3d PORTVERSION= 1.7.1 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= romain@FreeBSD.org COMMENT= Cross-platform 2D and 3D game engine LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_aarch64= fails to build: fatal error: 'LibCpuId/libcpuid.h' file not found BROKEN_i386= fails to build: error: typedef redefinition with different types BROKEN_riscv64= fails to build: invokes x86 assembler USES= cmake:noninja,insource dos2unix gl xorg USE_GITHUB= yes USE_XORG= x11 xext USE_GL= gl PORTSCOUT= skipv:1.11,1.12,1.13,1.14,1.15,1.16,1.21,1.22,1.23,1.31,1.32 # incorrect versioning upstream DOS2UNIX_FILES= ${WRKSRC}/Source/ThirdParty/StanHull/hull.cpp GH_PROJECT= Urho3D OPTIONS_DEFINE= EXAMPLES EXAMPLES_CMAKE_OFF= -DURHO3D_SAMPLES:BOOL=false .include diff --git a/graphics/vpaint/Makefile b/graphics/vpaint/Makefile index 5a01580b95fa..de5b0083f3c1 100644 --- a/graphics/vpaint/Makefile +++ b/graphics/vpaint/Makefile @@ -1,55 +1,55 @@ PORTNAME= vpaint PORTVERSION= 1.7 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= Experimental vector graphics and 2D animation editor LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= dalboris USES= compiler:c++11-lib eigen:3 gl qmake qt:5 USE_QT= core gui widgets opengl network qmake_build buildtools_build USE_GL= gl glu glew QMAKE_SOURCE_PATH= ${WRKSRC}/src/Gui CXXFLAGS+= -isystem ${LOCALBASE}/include/eigen3 PORTDOCS= * PORTEXAMPLES= * DESKTOP_ENTRIES="VPaint" \ "Vector-Based Animation Editor" \ "VPaint" \ "VPaint" \ "Graphics;" \ "" OPTIONS_DEFINE= DOCS EXAMPLES post-extract: @${RM} -r ${WRKSRC}/src/Third do-install: ${INSTALL_PROGRAM} ${WRKSRC}/VPaint ${STAGEDIR}${PREFIX}/bin .for s in 16 32 48 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s} ${INSTALL_DATA} ${WRKSRC}/src/Gui/images/icon-${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/VPaint.png .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.vec ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/graphics/waffle/Makefile b/graphics/waffle/Makefile index 99df446167bf..2e4e70744c0f 100644 --- a/graphics/waffle/Makefile +++ b/graphics/waffle/Makefile @@ -1,60 +1,61 @@ # Created by: Jean-Sébastien Pédron PORTNAME= waffle DISTVERSION= 1.6.1-15 +PORTREVISION= 1 CATEGORIES= graphics # Wayland xdg-shell support (to run on sway/wayfire/etc. that have removed wl-shell) PATCH_SITES= https://gitlab.freedesktop.org/bl4ckb0ne/${PORTNAME}/-/commit/ PATCHFILES= 39ad2b26f46e90cbae13a9cbc58e1f9df03f0980.patch:-p1 \ e4a1e7e9670b77d5b145520d60c4b7570fe3c6ea.patch:-p1 \ 8c202f88ab4f0f851e3f19dd82bc6b5236120564.patch:-p1 MAINTAINER= x11@FreeBSD.org COMMENT= Library that allows to defer selection of an OpenGL API until runtime LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= cmake:devel/cmake USES= compiler:c11 gl localbase meson pkgconfig python:3.5+,build USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= mesa GL_COMMIT= 2485a41c321a29463b5c0af7813c2d1046e2f925 USE_GL= egl gl USE_LDCONFIG= yes DOCSDIR= ${PREFIX}/share/doc/waffle1 BINARY_ALIAS= python3=${PYTHON_CMD} OPTIONS_DEFINE= DOCS GBM MANPAGES SURFACELESS WAYLAND X11 OPTIONS_DEFAULT= GBM MANPAGES SURFACELESS WAYLAND X11 OPTIONS_SUB= yes GBM_DESC= GBM/DRM/KMS direct-on-hardware support SURFACELESS_DESC= Surfaceless EGL support GBM_LIB_DEPENDS= libudev.so:devel/libudev-devd GBM_USE= GL=gbm GBM_MESON_ENABLED= gbm MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl MANPAGES_USES= gnome MANPAGES_USE= GNOME=libxslt:build MANPAGES_MESON_TRUE= build-manpages SURFACELESS_MESON_ENABLED= surfaceless_egl WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \ wayland-scanner:graphics/wayland WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland WAYLAND_MESON_ENABLED= wayland X11_USES= xorg X11_USE= XORG=x11,xcb X11_MESON_ENABLED= glx x11_egl .include diff --git a/graphics/waylandpp/Makefile b/graphics/waylandpp/Makefile index 65e7c5a97f51..49b041897459 100644 --- a/graphics/waylandpp/Makefile +++ b/graphics/waylandpp/Makefile @@ -1,23 +1,24 @@ PORTNAME= waylandpp DISTVERSION= 0.2.8 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Wayland C++ bindings LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpugixml.so:textproc/pugixml \ libwayland-egl.so:graphics/wayland USES= cmake compiler:c++11-lang gl localbase:ldflags pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= NilsBrause USE_GL= egl USE_LDCONFIG= yes CMAKE_OFF= BUILD_DOCUMENTATION BUILD_EXAMPLES PLIST_SUB= SOVERSION=${DISTVERSION} .include diff --git a/graphics/wdune/Makefile b/graphics/wdune/Makefile index 61a4183d5393..f3e034b3a81b 100644 --- a/graphics/wdune/Makefile +++ b/graphics/wdune/Makefile @@ -1,48 +1,48 @@ # Created by: Ying-Chieh Liao PORTNAME= wdune PORTVERSION= 1.926 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= ftp://ftp.ourproject.org/pub/wdune/ MAINTAINER= pi@FreeBSD.org COMMENT= Graphical VRML97 editor and animation tool LICENSE= GPLv2 BUILD_DEPENDS= cgal>0:math/cgal LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libosdCPU.so:graphics/opensubdiv \ libpng.so:graphics/png \ libswresample.so:multimedia/ffmpeg USES= compiler:c++11-lang gl jpeg motif sdl tar:bzip2 xorg USE_XORG= x11 xft xi xmu xext xt USE_GL= gl glu glut USE_SDL= sdl GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-optimization \ --without-devil \ --with-cgalheaders \ --with-helpurl="${DOCSDIR}/index.html" CPPFLAGS+= -I${LOCALBASE}/include/freetype2 -D__FREEBSD__ LDFLAGS+= -L${LOCALBASE}/lib ALL_TARGET= dune OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} dune4kids illegal2vrml \ ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC}/man && ${INSTALL_MAN} dune.1 illegal2vrml.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 do-install-DOCS-on: cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/wings/Makefile b/graphics/wings/Makefile index 7e33d1119fb9..fec4a123e84a 100644 --- a/graphics/wings/Makefile +++ b/graphics/wings/Makefile @@ -1,63 +1,64 @@ # Created by: olgeni@FreeBSD.org PORTNAME= wings PORTVERSION= 2.2.6.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF DIST_SUBDIR= erlang MAINTAINER= cmt@FreeBSD.org COMMENT= Polygon mesh modeler written in Erlang LICENSE= Wings3D LICENSE_NAME= Wings 3D License # similar to TclTk license LICENSE_FILE= ${WRKSRC}/license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= erl:lang/erlang \ erlang-esdl>0:devel/erlang-esdl \ erlang-cl>0:devel/erlang-cl \ erlang-wx>0:lang/erlang-wx RUN_DEPENDS:= ${BUILD_DEPENDS} MAKE_ENV= ESDL_PATH=${LOCALBASE}/lib/erlang/lib/esdl PLIST_SUB= VERSION="${PORTVERSION}" MAKE_JOBS_UNSAFE=yes USE_GL= gl glu SUB_FILES= ${PORTNAME}.sh USES= gl tar:bzip2 gmake PORTSCOUT= limitw:1,even DESKTOP_ENTRIES="Wings" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}" \ "Graphics;3DGraphics;" \ "" post-patch: @${REINPLACE_CMD} -e 's,include_lib("wings/,include_lib(",g' \ ${WRKSRC}/src/*.erl \ ${WRKSRC}/plugins_src/*.erl \ ${WRKSRC}/plugins_src/import_export/*.erl \ ${WRKSRC}/plugins_src/primitives/*.erl \ ${WRKSRC}/plugins_src/commands/*.erl \ ${WRKSRC}/plugins_src/commands/*.hrl \ ${WRKSRC}/plugins_src/autouv/*.erl \ ${WRKSRC}/icons/*.erl do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} "ebin icons plugins textures shaders patches" \ ${STAGEDIR}${PREFIX}/lib/erlang/lib/${DISTNAME} cd ${WRKSRC} && ${COPYTREE_SHARE} "src" \ ${STAGEDIR}${PREFIX}/lib/erlang/lib/${DISTNAME} "-name *\.erl" cd ${WRKSRC} && ${COPYTREE_SHARE} "priv" \ ${STAGEDIR}${PREFIX}/lib/erlang/lib/${DISTNAME} "-name *\.so" ${LN} -sf ${DISTNAME} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.icon ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico .include diff --git a/graphics/xaos/Makefile b/graphics/xaos/Makefile index b031afa928d2..6d729be1f303 100644 --- a/graphics/xaos/Makefile +++ b/graphics/xaos/Makefile @@ -1,64 +1,65 @@ # Created by: Joseph Koshy PORTNAME= xaos DISTVERSIONPREFIX= release- DISTVERSION= 4.2.1 +PORTREVISION= 1 CATEGORIES= graphics math MAINTAINER= ports@FreeBSD.org COMMENT= Real-time interactive fractal browser LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gl qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= xaos-project GH_PROJECT= XaoS USE_GL= gl USE_QT= core gui opengl widgets buildtools_build linguisttools_build QMAKE_ARGS+= INCLUDEPATH+=${LOCALBASE}/include \ LIBS+=-L${LOCALBASE}/lib DESKTOP_ENTRIES= "XaoS" \ "" \ "${PREFIX}/share/pixmaps/xaos.png" \ "xaos" \ "" \ false OPTIONS_DEFINE= DOCS EXAMPLES NLS TUTORIAL OPTIONS_DEFAULT= TUTORIAL OPTIONS_SUB= yes TUTORIAL_DESC= Tutorial fractal sequences post-install: # HACK: original "install" target missing ${INSTALL_PROGRAM} ${WRKSRC}/bin/xaos ${STAGEDIR}${PREFIX}/bin/xaos ${INSTALL_DATA} ${WRKSRC}/src/ui/images/xaosbig.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/xaos.png post-install-DOCS-on: ${INSTALL_MAN} ${WRKSRC}/doc/xaos.6 \ ${STAGEDIR}${MANPREFIX}/share/man/man6/xaos.6 post-install-EXAMPLES-on: (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) post-install-NLS-on: # catalogs (cd ${WRKSRC}/catalogs && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/XaoS/catalogs) # translation files (cd ${WRKSRC}/i18n && ${COPYTREE_SHARE} \ "*.qm" ${STAGEDIR}${PREFIX}/share/XaoS/i18n) post-install-TUTORIAL-on: (cd ${WRKSRC}/tutorial && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/XaoS/tutorial) .include diff --git a/graphics/yukon/Makefile b/graphics/yukon/Makefile index 85a4af624cb9..1864525b14f6 100644 --- a/graphics/yukon/Makefile +++ b/graphics/yukon/Makefile @@ -1,63 +1,63 @@ # Created by: Bruce M Simpson PORTNAME= yukon PORTVERSION= 2010011201 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= LOCAL/bms MAINTAINER= ports@FreeBSD.org COMMENT= Real-time capture tool for OpenGL applications LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libseom.so:graphics/seom USES= gl gmake tar:bzip2 xorg USE_XORG= x11 xv USE_GL= gl USE_LDCONFIG= ${PREFIX}/lib/yukon # NOTE: These should be bumped if the underlying GL or Xorg ports change. LIBGL_MAJOR= 1 LIBX11_MAJOR= 6 MAKE_ENV+= LIBGL_MAJOR="${LIBGL_MAJOR}" LIBX11_MAJOR="${LIBX11_MAJOR}" PLIST_SUB+= LIBGL_MAJOR="${LIBGL_MAJOR}" LIBX11_MAJOR="${LIBX11_MAJOR}" # # To roll snapshot: as bms: make BOOTSTRAP=defined fetch # .if defined(BOOTSTRAP) FETCH_DEPENDS+= svn:devel/subversion SVN_REV= 158 # svn tip at epoch 2009120801 SVNROOT_URI= https://devel.neopsis.com/svn/yukon do-fetch: @${MKDIR} ${WRKDIR} svn export -r ${SVN_REV} ${SVNROOT_URI}/trunk ${WRKSRC} cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} .if ${USER} == bms ${CHMOD} ugo+r ${DISTDIR}/${DISTNAME}.tar.bz2 scp -p ${DISTDIR}/${DISTNAME}.tar.bz2 \ freefall.freebsd.org:public_distfiles/ .endif .endif # defined(BOOTSTRAP) post-patch: @${REINPLACE_CMD} -e 's,/etc/yukon,${PREFIX}/etc/yukon,' \ ${WRKSRC}/src/core/conf.c ${WRKSRC}/src/scripts/yukon post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yukon/lib*.so.[0-9]* \ ${STAGEDIR}${PREFIX}/lib/yukon/yukon-core-lib @${MKDIR} ${STAGEDIR}${PREFIX}/etc/yukon/system @${PRINTF} 'LDPATH="%s"\n' ${PREFIX}/lib/yukon \ >> ${WRKSRC}/yukon-system-conf ${INSTALL_DATA} ${WRKSRC}/yukon-system-conf \ ${STAGEDIR}${PREFIX}/etc/yukon/system/default ${INSTALL_DATA} ${WRKSRC}/tools/yukon.conf \ ${STAGEDIR}${PREFIX}/etc/yukon/conf.sample .include diff --git a/java/java3d/Makefile b/java/java3d/Makefile index 481f65528a0d..ab837153c844 100644 --- a/java/java3d/Makefile +++ b/java/java3d/Makefile @@ -1,70 +1,70 @@ # Created by: nork@FreeBSD.org PORTNAME= java3d PORTVERSION= 1.5.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= java graphics games devel MASTER_SITES= https://sites.google.com/site/daemonwizard/ MAINTAINER= ports@FreeBSD.org COMMENT= Provides API for creating and manipulation of 3D geometry LICENSE= BSD2CLAUSE GPLv2 LICENSE_COMB= multi BROKEN_aarch64= fails to compile: GVector.java:168: bad use of '>' BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details BROKEN_armv7= fails to compile: build.xml: Compile failed; see the compiler error output for details USES= compiler:c11 gl tar:bzip2 xorg USE_JAVA= 8 USE_GL= gl USE_XORG= xt JAVA_VENDOR= openjdk USE_ANT= yes LLD_UNSAFE= yes PLIST_SUB+= JAVA_HOME=${JAVA_HOME:S/^${PREFIX}\///} ARCH=${ARCH} DOCSSRC= ${WRKSRC}/j3d-core/build/freebsd/javadocs/docs-public PORTDOCS= * OPTIONS_DEFINE= DOCS .include post-patch: ${REINPLACE_CMD} -e 's|gcc|${CC}|g' \ ${WRKSRC}/j3d-core/src/native/ogl/build-freebsd.xml do-build: cd ${WRKSRC}/vecmath && ${SETENV} ${MAKE_ENV} ${ANT} dist cd ${WRKSRC}/j3d-core \ && ${SETENV} ${MAKE_ENV} ${ANT} -Dbuild.type=fcs \ -Dis${OPSYS}=yes \ -Dports.localbase=${LOCALBASE} \ jar-opt post-build-DOCS-on: cd ${WRKSRC}/j3d-core \ && ${SETENV} ${MAKE_ENV} ${ANT} -Dbuild.type=fcs \ -Dis${OPSYS}=yes \ docs-public do-install: @${MKDIR} ${STAGEDIR}${JAVA_HOME}/jre/lib/ext ${INSTALL_DATA} \ ${WRKSRC}/vecmath/dist/lib/ext/vecmath.jar \ ${WRKSRC}/j3d-core/build/default/opt/lib/ext/j3dcore.jar \ ${WRKSRC}/j3d-core/build/default/opt/lib/ext/j3dutils.jar \ ${STAGEDIR}${JAVA_HOME}/jre/lib/ext @${MKDIR} ${STAGEDIR}${JAVA_HOME}/jre/lib/${ARCH} ${INSTALL} \ ${WRKSRC}/j3d-core/build/default/opt/native/libj3dcore-ogl.so \ ${STAGEDIR}${JAVA_HOME}/jre/lib/${ARCH} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${DOCSSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) .include diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile index 994dc42fb9ae..490e6d41126f 100644 --- a/java/openjfx14/Makefile +++ b/java/openjfx14/Makefile @@ -1,164 +1,164 @@ PORTNAME= openjfx DISTVERSION= 14.0.2.1+1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= java x11-toolkits devel MASTER_SITES= https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-core/7.7.1/:core \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-grouping/7.7.1/:grouping \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queries/7.7.1/:queries \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queryparser/7.7.1/:queryparser \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-sandbox/7.7.1/:sandbox \ https://repo1.maven.org/maven2/org/antlr/antlr4/4.7.2/:antlr PKGNAMESUFFIX= 14 DISTFILES= lucene-core-7.7.1.jar:core \ lucene-grouping-7.7.1.jar:grouping \ lucene-queries-7.7.1.jar:queries \ lucene-queryparser-7.7.1.jar:queryparser \ lucene-sandbox-7.7.1.jar:sandbox \ antlr4-4.7.2-complete.jar:antlr MAINTAINER= mikael@FreeBSD.org COMMENT= JavaFX SDK overlay for OpenJDK 11 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ apache-ant>0:devel/apache-ant \ gradle62>=6.2:devel/gradle62 \ ${JAVALIBDIR}/junit.jar:java/junit LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gettext-runtime gl gnome jpeg localbase:ldflags ninja pkgconfig \ sqlite xorg USE_GITHUB= yes GH_ACCOUNT= openjdk GH_PROJECT= jfx USE_GL= gl USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 gtk30 pango USE_JAVA= yes JAVA_VERSION= 11 USE_LDCONFIG= yes USE_XORG= x11 xtst xxf86vm CFLAGS+= -Wno-unused-command-line-argument PLIST_SUB= INSTALLDIR=${_INSTALLDIR} OPTIONS_DEFINE= MEDIA SWT TEST WEBKIT OPTIONS_DEFAULT= MEDIA WEBKIT OPTIONS_SUB= yes MEDIA_DESC= Media module SWT_DESC= SWT support MEDIA_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libsndio.so:audio/sndio MEDIA_USES= gmake MEDIA_VARS= COMPILE_MEDIA=true SWT_BUILD_DEPENDS= swt>0:x11-toolkits/swt SWT_RUN_DEPENDS= swt>0:x11-toolkits/swt SWT_VARS= COMPILE_SWT=true TEST_USES= display:test TEST_VARS= AWT_TEST=true FULL_TEST=true # Gradle calls CMake during the build WEBKIT_IMPLIES= MEDIA WEBKIT_BUILD_DEPENDS= cmake:devel/cmake WEBKIT_LIB_DEPENDS= libicui18n.so:devel/icu WEBKIT_USES= bison gmake gperf perl5 python:3.5+,build WEBKIT_USE= GNOME=libxslt,libxml2 \ PERL5=build \ RUBY=yes \ XORG=xcomposite,xdamage,xfixes,xrender,xt WEBKIT_VARS= RUBY_NO_RUN_DEPENDS=yes COMPILE_WEBKIT=true # Move Gradle's home below ${WRKDIR} instead of using ${HOME}/.gradle _GRADLE_ENV= CC=${WRKDIR}/bin/ccwrapper \ CXX=${WRKDIR}/bin/cxxwrapper \ GRADLE_USER_HOME=${WRKDIR}/gradle-home \ JAVA_VERSION=${JAVA_VERSION} _GRADLE_RUN= ${SETENV} ${_GRADLE_ENV} gradle62 --no-daemon _INSTALLDIR= ${PREFIX}/${PKGBASE} post-extract: ${MKDIR} ${WRKDIR}/jars .for f in core grouping queries queryparser sandbox ${CP} ${DISTDIR}/lucene-${f}-7.7.1.jar ${WRKDIR}/jars .endfor ${CP} ${DISTDIR}/antlr4-4.7.2-complete.jar ${WRKDIR}/jars # The BSD Makefiles for GStreamer-lite and Jfxmedia are based on the # Linux versions. Prepare the tree, so that we only see the changes # from Linux's Makefile in our own patches. pre-patch: @${CP} -r ${WRKSRC}/modules/javafx.media/src/main/native/jfxmedia/projects/linux \ ${WRKSRC}/modules/javafx.media/src/main/native/jfxmedia/projects/bsd @${CP} -r ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/projects/linux \ ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/projects/bsd post-patch: @${MKDIR} ${WRKDIR}/bin @${PRINTF} '#!/bin/sh\nexec ${CCACHE_BIN} ${CC} ${CFLAGS} ${LDFLAGS} "$$@"\n' > ${WRKDIR}/bin/ccwrapper @${PRINTF} '#!/bin/sh\nexec ${CCACHE_BIN} ${CXX} ${CXXFLAGS} ${LDFLAGS} "$$@"\n' > ${WRKDIR}/bin/cxxwrapper @${CHMOD} +x ${WRKDIR}/bin/ccwrapper ${WRKDIR}/bin/cxxwrapper @${REINPLACE_CMD} -e 's|gcc|${WRKDIR}/bin/ccwrapper|g' \ -e 's|g\+\+|${WRKDIR}/bin/cxxwrapper|g' \ ${WRKSRC}/buildSrc/bsd.gradle # Add a *BSD native audio sink to GStreamer-lite instead of using the # bundled ALSA sink. Currently we add an sndio sink, but this is an extension # point for eventually adding an OSS backend (or others) as an option as well. # If you add a new one make sure it registers itself as "bsdaudiosink" as defined # in modules/media/src/main/native/jfxmedia/platform/gstreamer/GstPipelineFactory.cpp @${MKDIR} ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio @${CP} ${FILESDIR}/gstsndio.* ${FILESDIR}/sndiosink.* \ ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio @cd ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio && \ ${LN} -s gstsndio.c gstbsdaudio.c && \ ${LN} -s sndiosink.c bsdaudiosink.c # Pull Java dependencies from LOCALBASE @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/build.gradle ${WRKSRC}/buildSrc/build.gradle # Remove bundled libraries. We use the system's versions instead. @cd ${WRKSRC}/modules/javafx.web/src/main/native/Source/ThirdParty && \ ${RM} -r icu libxml libxslt sqlite @${RM} -r ${WRKSRC}/modules/javafx.web/src/main/native/Source/WTF/icu @cd ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/3rd_party && \ ${RM} -r glib libffi do-configure: @${MKDIR} ${WRKDIR}/gradle-home @${ECHO_CMD} "NUM_COMPILE_THREADS = ${MAKE_JOBS_NUMBER}" > ${WRKSRC}/gradle.properties @${ECHO_CMD} "JFX_DEPS_URL = ${WRKDIR}/jars" > ${WRKSRC}/gradle.properties .for prop in COMPILE_MEDIA COMPILE_WEBKIT AWT_TEST FULL_TEST @${ECHO_CMD} "${prop} = ${${prop}:Ufalse}" >> ${WRKSRC}/gradle.properties .endfor @${ECHO_CMD} "BSD.compileSWT = ${COMPILE_SWT:Ufalse};" >> ${WRKSRC}/buildSrc/bsd.gradle # the java doc are not installed on FreeBSD so exclude the javadoc task # as it'll fail otherwise do-build: @cd ${WRKSRC} && ${SETENV} ${_GRADLE_RUN} zips --exclude-task javadoc # it's not recommended to install openjfx inside openjdk directory do-install: @${MKDIR} ${STAGEDIR}${_INSTALLDIR} \ ${STAGEDIR}${_INSTALLDIR}/lib \ ${STAGEDIR}${_INSTALLDIR}/jmods ${INSTALL_DATA} ${WRKSRC}/build/javafx-exports.zip ${STAGEDIR}${_INSTALLDIR} (cd ${WRKSRC}/build/artifacts/javafx-sdk-14.0.2.1/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${_INSTALLDIR}/lib) @${MV} ${STAGEDIR}${_INSTALLDIR}/lib/src.zip ${STAGEDIR}${_INSTALLDIR}/lib/javafx-src.zip (cd ${WRKSRC}/build/artifacts/javafx-jmods-14.0.2.1 && ${COPYTREE_SHARE} . ${STAGEDIR}${_INSTALLDIR}/jmods) @${FIND} ${STAGEDIR}${_INSTALLDIR}/lib -name '*.so' -exec ${STRIP_CMD} \{\} \; do-test-TEST-on: @cd ${WRKSRC} && ${_GRADLE_RUN} check test .include diff --git a/lang/basic256/Makefile b/lang/basic256/Makefile index 5ebc53f70daf..4f473d85796b 100644 --- a/lang/basic256/Makefile +++ b/lang/basic256/Makefile @@ -1,28 +1,29 @@ PORTNAME= basic256 PORTVERSION= 2.0.0.11 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= SF/kidbasic/ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= fernape@FreeBSD.org COMMENT= Easy to use BASIC language and IDE for education LICENSE= GPLv2 BUILD_DEPENDS= espeak:audio/espeak \ sqlite3:databases/sqlite3 \ flex:textproc/flex USES= bison compiler:c++11-lib dos2unix gl qmake qt:5 sdl DOS2UNIX_FILES= BASIC256.pro Interpreter.cpp USE_GL+= gl USE_QT= buildtools core gui multimedia network printsupport sql widgets serialport USE_SDL= sdl mixer QMAKE_ARGS+= LOCALBASE="${LOCALBASE}" QMAKE_SOURCE_PATH= BASIC256.pro MAKE_JOBS_UNSAFE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/lang/clover/Makefile b/lang/clover/Makefile index 7b90fc12c91c..c4ff892ad1f9 100644 --- a/lang/clover/Makefile +++ b/lang/clover/Makefile @@ -1,55 +1,56 @@ PORTNAME= clover PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= lang COMMENT= Mesa OpenCL implementation for AMD GPUs DEPRECATED= Uses EOL Python 2.7 via devel/libclc EXPIRATION_DATE=2021-06-23 BUILD_DEPENDS= libclc>=0.3.0:devel/libclc \ opencl>=0:devel/opencl LIB_DEPENDS= libOpenCL.so:devel/ocl-icd \ libzstd.so:archivers/zstd RUN_DEPENDS= libclc>=0.3.0:devel/libclc \ opencl>=0:devel/opencl ONLY_FOR_ARCHS= i386 amd64 powerpc64le powerpc64 ONLY_FOR_ARCHS_REASON= Clover needs a GPU supported by the Radeon KMS driver BROKEN_FreeBSD_11= undefined reference to `vl_video_buffer_plane_order' .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" MESON_ARGS+= -Ddri-drivers="" \ -Dplatforms="" \ -Dvulkan-drivers="" \ -Dgallium-nine=false \ -Dgallium-omx=disabled \ -Dgallium-opencl=disabled \ -Dgallium-va=disabled \ -Dgallium-vdpau=disabled \ -Dgallium-xa=disabled \ -Dgallium-xvmc=disabled \ -Dgles1=disabled \ -Dgles2=disabled \ -Dopengl=false \ -Dglx=disabled \ -Degl=disabled \ -Dgbm=disabled \ -Dtools="" \ -Dgallium-opencl=icd \ -Dgallium-drivers=r600,radeonsi LDFLAGS_i386= -Wl,-znotext .include "${MASTERDIR}/Makefile.targets" pre-patch: @if [ -e ${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT} ] && \ ! [ -e ${LOCALBASE}/bin/clang${LLVM_DEFAULT} ]; then \ ${ECHO_MSG} "Your llvm${LLVM_DEFAULT} is not built with clang support, which is required."; \ ${FALSE}; \ fi .include diff --git a/lang/erlang-runtime20/Makefile b/lang/erlang-runtime20/Makefile index cf2f92ef2b3a..13c2f65d8387 100644 --- a/lang/erlang-runtime20/Makefile +++ b/lang/erlang-runtime20/Makefile @@ -1,139 +1,139 @@ # Created by: ruslan@shevchenko.kiev.ua PORTNAME= erlang DISTVERSIONPREFIX= OTP- DISTVERSION= 20.3.8.26 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= lang parallel java PKGNAMESUFFIX= -runtime20 DIST_SUBDIR= erlang MAINTAINER= erlang@FreeBSD.org COMMENT= Functional programming language from Ericsson LICENSE= APACHE20 BROKEN_sparc64= Fails to build: error: fp_except undeclared USES= autoreconf:build gmake ncurses perl5 USE_GITHUB= yes GH_PROJECT= otp USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-smp-support MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message SUB_LIST= ERLANG_LIB=${ERLANG_LIB} ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} OPTIONS_DEFINE= DIRTY DTRACE HIPE JAVA KQUEUE NATIVE ODBC OPENSSL SCTP \ THREADS WX OPTIONS_DEFAULT= DIRTY DTRACE HIPE KQUEUE OPENSSL SCTP THREADS .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP # ld(1) fails to link probes: missing __dtrace_erlang___* symbols OPTIONS_EXCLUDE_aarch64= DTRACE OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE OPTIONS_EXCLUDE_i386= DTRACE HIPE NATIVE OPTIONS_EXCLUDE_powerpc64= HIPE OPTIONS_EXCLUDE_powerpc64le= HIPE OPTIONS_EXCLUDE_riscv64= DTRACE DIRTY_DESC= Enable Dirty schedulers HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support NATIVE_DESC= Enable native libraries SCTP_DESC= Enable SCTP support WX_DESC= Enable WX application # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. DIRTY_CONFIGURE_ENABLE= dirty-schedulers DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace DTRACE_CFLAGS= -fno-omit-frame-pointer DTRACE_VARS= STRIP="" HIPE_CONFIGURE_ENABLE= hipe JAVA_CONFIGURE_WITH= javac JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" JAVA_VARS= USE_JAVA=yes KQUEUE_CONFIGURE_ENABLE= kernel-poll NATIVE_IMPLIES= HIPE NATIVE_CONFIGURE_ENABLE= native-libs ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_WITH= odbc ODBC_CFLAGS= -I/usr/local/include ODBC_LDFLAGS= -L/usr/local/lib OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} OPENSSL_VARS= BROKEN_SSL=openssl SCTP_CONFIGURE_ENABLE= sctp THREADS_CONFIGURE_ENABLE= threads WX_USES= gl WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} WX_VARS= USE_GL="gl glu" \ USE_WX=2.8+ \ WX_COMPS="wx contrib" .include .if ${OPSYS} == FreeBSD CFLAGS+= -DMAP_NORESERVE=0 .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif .if ${ARCH} == armv6 || ${ARCH} == armv7 MAKE_ARGS+= ARCH=arm .endif pre-configure: @cd ${WRKSRC} && ./otp_build autoconf pre-configure-WX-off: echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP post-configure-ODBC-on: ${RM} ${WRKSRC}/lib/odbc/SKIP pre-build-NATIVE-on: @cd ${WRKSRC} && ${MAKE_CMD} clean post-install-JAVA-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* post-install-ODBC-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* post-install-OPENSSL-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* post-install-WX-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* post-stage: ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \ | ${SORT} >> ${TMPPLIST} .include diff --git a/lang/erlang-runtime21/Makefile b/lang/erlang-runtime21/Makefile index 82105f13a293..1041c606eb38 100644 --- a/lang/erlang-runtime21/Makefile +++ b/lang/erlang-runtime21/Makefile @@ -1,160 +1,160 @@ # Created by: ruslan@shevchenko.kiev.ua PORTNAME= erlang DISTVERSIONPREFIX= OTP- DISTVERSION= 21.3.8.24 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= lang parallel java PKGNAMESUFFIX= -runtime21 DIST_SUBDIR= erlang MAINTAINER= erlang@FreeBSD.org COMMENT= Functional programming language from Ericsson LICENSE= APACHE20 BROKEN_sparc64= Fails to build: error: fp_except undeclared USES= autoreconf:build gmake ncurses perl5 USE_GITHUB= nodefault GH_ACCOUNT= erlang:otp,corba GH_PROJECT= otp:otp corba:corba GH_TAGNAME= 4.5.2:corba USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-smp-support MAKE_JOBS_UNSAFE= yes DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= pkg-message SUB_LIST= ERLANG_LIB=${ERLANG_LIB} WRKSRC= ${WRKSRC_otp} ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} OPTIONS_DEFINE= CORBA DIRTY DTRACE HIPE JAVA KQUEUE NATIVE ODBC OPENSSL \ SCTP THREADS WX OPTIONS_DEFAULT= CORBA DIRTY DTRACE HIPE KQUEUE OPENSSL SCTP THREADS .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP # ld(1) fails to link probes: missing __dtrace_erlang___* symbols OPTIONS_EXCLUDE_aarch64= DTRACE OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE OPTIONS_EXCLUDE_i386= DTRACE HIPE NATIVE OPTIONS_EXCLUDE_powerpc64= HIPE OPTIONS_EXCLUDE_powerpc64le= HIPE OPTIONS_EXCLUDE_riscv64= DTRACE CORBA_DESC= Enable Corba support DIRTY_DESC= Enable Dirty schedulers HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support NATIVE_DESC= Enable native libraries SCTP_DESC= Enable SCTP support WX_DESC= Enable WX application # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. DIRTY_CONFIGURE_ENABLE= dirty-schedulers DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace DTRACE_CFLAGS= -fno-omit-frame-pointer DTRACE_VARS= STRIP="" HIPE_CONFIGURE_ENABLE= hipe JAVA_CONFIGURE_WITH= javac JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" JAVA_VARS= USE_JAVA=yes KQUEUE_CONFIGURE_ENABLE= kernel-poll NATIVE_IMPLIES= HIPE NATIVE_CONFIGURE_ENABLE= native-libs ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_WITH= odbc ODBC_CFLAGS= -I/usr/local/include ODBC_LDFLAGS= -L/usr/local/lib OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} SCTP_CONFIGURE_ENABLE= sctp THREADS_CONFIGURE_ENABLE= threads WX_USES= gl WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} WX_VARS= USE_GL="gl glu" \ USE_WX=3.1+ \ WX_COMPS="wx" .include .if ${OPSYS} == FreeBSD CFLAGS+= -DMAP_NORESERVE=0 .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif .if ${ARCH} == armv6 || ${ARCH} == armv7 MAKE_ARGS+= ARCH=arm .endif pre-configure: @cd ${WRKSRC} && ./otp_build autoconf pre-configure-WX-off: echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP post-configure-ODBC-on: ${RM} ${WRKSRC}/lib/odbc/SKIP pre-build-NATIVE-on: @cd ${WRKSRC} && ${MAKE_CMD} clean post-build-CORBA-on: cd ${WRKSRC_corba} \ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} ${MAKE_CMD} post-install-CORBA-on: cd ${WRKSRC_corba} \ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} \ ${MAKE_CMD} release RELEASE_ROOT=${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} post-install-DTRACE-on: ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ ${WRKSRC}/lib/runtime_tools/c_src/*.d \ ${WRKSRC}/lib/runtime_tools/examples/*.d \ ${STAGEDIR}${DATADIR}/dtrace post-install-JAVA-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* post-install-ODBC-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* post-install-OPENSSL-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* post-install-WX-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* post-stage: ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o -type l \ | ${SORT} >> ${TMPPLIST} .include diff --git a/lang/erlang-runtime22/Makefile b/lang/erlang-runtime22/Makefile index 88e2f5da620c..4f149ce2f4bb 100644 --- a/lang/erlang-runtime22/Makefile +++ b/lang/erlang-runtime22/Makefile @@ -1,160 +1,160 @@ # Created by: ruslan@shevchenko.kiev.ua PORTNAME= erlang DISTVERSIONPREFIX= OTP- DISTVERSION= 22.3.4.20 -PORTREVISION= 0 +PORTREVISION= 1 # NB when bumping OTP versions also bump PORTREVISION in databases/couchdb3 CATEGORIES= lang parallel java PKGNAMESUFFIX= -runtime22 DIST_SUBDIR= erlang MAINTAINER= erlang@FreeBSD.org COMMENT= Functional programming language from Ericsson LICENSE= APACHE20 BROKEN_sparc64= Fails to build: error: fp_except undeclared USES= autoreconf:build gmake ncurses perl5 USE_GITHUB= nodefault GH_ACCOUNT= erlang:otp,corba GH_PROJECT= otp:otp corba:corba GH_TAGNAME= 4.5.2:corba USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-smp-support MAKE_JOBS_UNSAFE= yes DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= pkg-message SUB_LIST= ERLANG_LIB=${ERLANG_LIB} WRKSRC= ${WRKSRC_otp} ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} OPTIONS_DEFINE= CORBA DIRTY DTRACE HIPE JAVA KQUEUE NATIVE ODBC OPENSSL \ SCTP THREADS WX OPTIONS_DEFAULT= CORBA DIRTY DTRACE KQUEUE OPENSSL SCTP THREADS .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP # ld(1) fails to link probes: missing __dtrace_erlang___* symbols OPTIONS_EXCLUDE_aarch64= DTRACE OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE OPTIONS_EXCLUDE_i386= DTRACE HIPE NATIVE OPTIONS_EXCLUDE_powerpc64= HIPE OPTIONS_EXCLUDE_riscv64= DTRACE CORBA_DESC= Enable Corba support DIRTY_DESC= Enable Dirty schedulers HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support NATIVE_DESC= Enable native libraries SCTP_DESC= Enable SCTP support WX_DESC= Enable WX application # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. DIRTY_CONFIGURE_ENABLE= dirty-schedulers DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace DTRACE_CFLAGS= -fno-omit-frame-pointer DTRACE_VARS= STRIP="" HIPE_CONFIGURE_ENABLE= hipe JAVA_CONFIGURE_WITH= javac JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" JAVA_VARS= USE_JAVA=yes KQUEUE_CONFIGURE_ENABLE= kernel-poll NATIVE_IMPLIES= HIPE NATIVE_CONFIGURE_ENABLE= native-libs ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_WITH= odbc ODBC_CFLAGS= -I/usr/local/include ODBC_LDFLAGS= -L/usr/local/lib OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} SCTP_CONFIGURE_ENABLE= sctp THREADS_CONFIGURE_ENABLE= threads WX_USES= gl WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} WX_VARS= USE_GL="gl glu" \ USE_WX=3.1+ \ WX_COMPS="wx" .include .if ${OPSYS} == FreeBSD CFLAGS+= -DMAP_NORESERVE=0 .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif .if ${ARCH} == armv6 || ${ARCH} == armv7 MAKE_ARGS+= ARCH=arm .endif pre-configure: @cd ${WRKSRC} && ./otp_build autoconf pre-configure-WX-off: echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP post-configure-ODBC-on: ${RM} ${WRKSRC}/lib/odbc/SKIP pre-build-NATIVE-on: @cd ${WRKSRC} && ${MAKE_CMD} clean post-build-CORBA-on: cd ${WRKSRC_corba} \ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} ${MAKE_CMD} post-install-CORBA-on: cd ${WRKSRC_corba} \ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} \ ${MAKE_CMD} release RELEASE_ROOT=${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} post-install-DTRACE-on: ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ ${WRKSRC}/lib/runtime_tools/c_src/*.d \ ${WRKSRC}/lib/runtime_tools/examples/*.d \ ${STAGEDIR}${DATADIR}/dtrace post-install-JAVA-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* post-install-ODBC-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* post-install-OPENSSL-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* post-install-WX-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* post-stage: ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o -type l \ | ${SORT} >> ${TMPPLIST} .include diff --git a/lang/erlang-runtime23/Makefile b/lang/erlang-runtime23/Makefile index 995f2af57f94..2c063e72a18b 100644 --- a/lang/erlang-runtime23/Makefile +++ b/lang/erlang-runtime23/Makefile @@ -1,159 +1,159 @@ # Created by: ruslan@shevchenko.kiev.ua PORTNAME= erlang DISTVERSIONPREFIX= OTP- DISTVERSION= 23.3.4.4 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= lang parallel java PKGNAMESUFFIX= -runtime23 DIST_SUBDIR= erlang MAINTAINER= erlang@FreeBSD.org COMMENT= Functional programming language from Ericsson LICENSE= APACHE20 BROKEN_sparc64= Fails to build: error: fp_except undeclared USES= autoreconf:build gmake ncurses perl5 USE_GITHUB= nodefault GH_ACCOUNT= erlang:otp,corba GH_PROJECT= otp:otp corba:corba GH_TAGNAME= 5.0.2:corba USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-smp-support MAKE_JOBS_UNSAFE= yes DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= pkg-message SUB_LIST= ERLANG_LIB=${ERLANG_LIB} WRKSRC= ${WRKSRC_otp} ERLANG_LIB= ${PORTNAME}${PORTVERSION:C/\..*//} OPTIONS_DEFINE= CORBA DIRTY DTRACE HIPE JAVA KQUEUE NATIVE ODBC OPENSSL \ SCTP THREADS WX OPTIONS_DEFAULT= CORBA DIRTY DTRACE KQUEUE OPENSSL SCTP THREADS .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP # ld(1) fails to link probes: missing __dtrace_erlang___* symbols OPTIONS_EXCLUDE_aarch64= DTRACE OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE OPTIONS_EXCLUDE_i386= DTRACE HIPE NATIVE OPTIONS_EXCLUDE_powerpc64= HIPE OPTIONS_EXCLUDE_riscv64= DTRACE CORBA_DESC= Enable Corba support DIRTY_DESC= Enable Dirty schedulers HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support NATIVE_DESC= Enable native libraries SCTP_DESC= Enable SCTP support WX_DESC= Enable WX application # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. DIRTY_CONFIGURE_ENABLE= dirty-schedulers DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace DTRACE_CFLAGS= -fno-omit-frame-pointer DTRACE_VARS= STRIP="" HIPE_CONFIGURE_ENABLE= hipe JAVA_CONFIGURE_WITH= javac JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" JAVA_VARS= USE_JAVA=yes KQUEUE_CONFIGURE_ENABLE= kernel-poll NATIVE_IMPLIES= HIPE NATIVE_CONFIGURE_ENABLE= native-libs ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_WITH= odbc ODBC_CFLAGS= -I/usr/local/include ODBC_LDFLAGS= -L/usr/local/lib OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} SCTP_CONFIGURE_ENABLE= sctp THREADS_CONFIGURE_ENABLE= threads WX_USES= gl WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} WX_VARS= USE_GL="gl glu" \ USE_WX=3.1+ \ WX_COMPS="wx" .include .if ${OPSYS} == FreeBSD CFLAGS+= -DMAP_NORESERVE=0 .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif .if ${ARCH} == armv6 || ${ARCH} == armv7 MAKE_ARGS+= ARCH=arm .endif pre-configure: @cd ${WRKSRC} && ./otp_build autoconf pre-configure-WX-off: echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP post-configure-ODBC-on: ${RM} ${WRKSRC}/lib/odbc/SKIP pre-build-NATIVE-on: @cd ${WRKSRC} && ${MAKE_CMD} clean post-build-CORBA-on: cd ${WRKSRC_corba} \ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} ${MAKE_CMD} post-install-CORBA-on: cd ${WRKSRC_corba} \ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} \ ${MAKE_CMD} release RELEASE_ROOT=${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} post-install-DTRACE-on: ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ ${WRKSRC}/lib/runtime_tools/c_src/*.d \ ${WRKSRC}/lib/runtime_tools/examples/*.d \ ${STAGEDIR}${DATADIR}/dtrace post-install-JAVA-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* post-install-ODBC-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* post-install-OPENSSL-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* post-install-WX-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* post-stage: ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o -type l \ | ${SORT} >> ${TMPPLIST} .include diff --git a/lang/erlang-wx/Makefile b/lang/erlang-wx/Makefile index ec93cc381b24..4f7e875f2ed8 100644 --- a/lang/erlang-wx/Makefile +++ b/lang/erlang-wx/Makefile @@ -1,60 +1,60 @@ PORTNAME= erlang DISTVERSIONPREFIX= OTP- DISTVERSION= 21.3.8.24 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= lang parallel PKGNAMESUFFIX= -wx DIST_SUBDIR= erlang MAINTAINER= erlang@FreeBSD.org COMMENT= Erlang bindings for wxWindows LICENSE= APACHE20 BUILD_DEPENDS= erlang>=21.3.8:lang/erlang RUN_DEPENDS= erlang>=21.3.8:lang/erlang USES= autoreconf:build gl gmake perl5 xorg USE_GITHUB= yes GH_PROJECT= otp USE_GL= gl glu USE_PERL5= build USE_WX= 3.1+ WX_COMPS= wx GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes WX_APPS= wx debugger et observer CONFIGURE_ARGS+= --enable-threads \ --with-wx-config=${WX_CONFIG} \ --without-javac \ --without-odbc pre-configure: @cd ${WRKSRC} && ./otp_build autoconf do-build: .for app in wx debugger et observer cd ${WRKSRC}/lib/${app} && ${SETENV} ERL_LIBS=${WRKSRC}/lib ${GMAKE} ERL_TOP=${WRKSRC} TARGET=${CONFIGURE_TARGET} .endfor ${STRIP_CMD} ${WRKSRC}/lib/wx/priv/${CONFIGURE_TARGET}/erl_gl.so ${STRIP_CMD} ${WRKSRC}/lib/wx/priv/${CONFIGURE_TARGET}/wxe_driver.so ${MV} ${WRKSRC}/lib/wx/priv/${CONFIGURE_TARGET}/*.so ${WRKSRC}/lib/wx/priv ${RMDIR} ${WRKSRC}/lib/wx/priv/${CONFIGURE_TARGET} do-install: .for app in ${WX_APPS} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${app}-$$(${CUT} -w -f3 ${WRKSRC}/lib/${app}/vsn.mk) ${FIND} ${WRKSRC}/lib/${app} -type d -empty -delete .for dir in src include priv ebin cd ${WRKSRC}/lib/${app} && if [ -d ${dir} ]; then \ ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${app}-$$(${CUT} -w -f3 vsn.mk); \ fi .endfor .endfor .include diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 8340085ec797..0dd7cdf31601 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -1,228 +1,228 @@ # Created by: ruslan@shevchenko.kiev.ua PORTNAME= erlang DISTVERSIONPREFIX= OTP- DISTVERSION= 21.3.8.24 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 4 CATEGORIES= lang parallel java DIST_SUBDIR= erlang MAINTAINER= erlang@FreeBSD.org COMMENT= Functional programming language from Ericsson LICENSE= APACHE20 BROKEN_sparc64= Fails to build: error: fp_except undeclared USES= autoreconf:build compiler:c11 gmake ncurses perl5 USE_GITHUB= nodefault GH_ACCOUNT= erlang:otp,corba GH_PROJECT= otp:otp corba:corba GH_TAGNAME= 4.5.2:corba USE_PERL5= build USE_RC_SUBR= epmd GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-smp-support MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message SUB_LIST= TOOLS_VSN=${TOOLS_VSN} WRKSRC= ${WRKSRC_otp} ERLANG_LIB= ${PORTNAME} EI_VSN= 3.11.3.2 SNMP_VSN= 5.2.12 TOOLS_VSN= 3.1.0.1 # On Erlang 22, native code generation does not currently work for all modules # due to new BEAM instructions not supported by HiPE the native compiler. # Remove HIPE from OPTIONS_DEFAULT if this is still the case when the port is # upgraded to such version. OPTIONS_DEFINE= CORBA DIRTY DTRACE FOP HIPE JAVA KQUEUE MANPAGES NATIVE \ ODBC OPENSSL PDF SCTP THREADS WX OPTIONS_DEFAULT= CORBA DIRTY DTRACE HIPE KQUEUE MANPAGES OPENSSL SCTP \ THREADS .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_DragonFly= HIPE NATIVE SCTP # ld(1) fails to link probes: missing __dtrace_erlang___* symbols OPTIONS_EXCLUDE_aarch64= DTRACE OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE OPTIONS_EXCLUDE_i386= DTRACE HIPE NATIVE OPTIONS_EXCLUDE_powerpc64= ${OPTIONS_EXCLUDE_${ARCH}_${OSREL:R}} HIPE OPTIONS_EXCLUDE_powerpc64_11= DTRACE OPTIONS_EXCLUDE_powerpc64_12= DTRACE OPTIONS_EXCLUDE_powerpc64le= HIPE OPTIONS_EXCLUDE_riscv64= DTRACE OPTIONS_SUB= yes CORBA_DESC= Enable Corba support DIRTY_DESC= Enable Dirty schedulers FOP_DESC= Build full documentation with Apache FOP HIPE_DESC= Build native HiPE compiler KQUEUE_DESC= Enable Kernel Poll (kqueue) support NATIVE_DESC= Enable native libraries PDF_DESC= Build PDF documentation SCTP_DESC= Enable SCTP support WX_DESC= Enable WX application # If you run Erlang and get a message resembling "WARNING: number of # probes fixed does not match the number of defined probes (54 != 132, # respectively)" you probably misconfigured DTrace in some way. DIRTY_CONFIGURE_ENABLE= dirty-schedulers DTRACE_CONFIGURE_WITH= dynamic-trace=dtrace DTRACE_CFLAGS= -fno-omit-frame-pointer DTRACE_VARS= STRIP="" FOP_PREVENTS= MANPAGES FOP_BUILD_DEPENDS= fop:textproc/fop \ xsltproc:textproc/libxslt HIPE_CONFIGURE_ENABLE= hipe JAVA_CONFIGURE_WITH= javac JAVA_CONFIGURE_ENV= ac_cv_prog_JAVAC="${JAVAC}" JAVA_VARS= USE_JAVA=yes KQUEUE_CONFIGURE_ENABLE= kernel-poll MANPAGES_RUN_DEPENDS= ${LOCALBASE}/etc/man.d/erlang.conf:lang/erlang-man NATIVE_IMPLIES= HIPE NATIVE_CONFIGURE_ENABLE= native-libs ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_WITH= odbc ODBC_CFLAGS= -I/usr/local/include ODBC_LDFLAGS= -L/usr/local/lib OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} PDF_IMPLIES= FOP SCTP_CONFIGURE_ENABLE= sctp THREADS_CONFIGURE_ENABLE= threads WX_USES= gl WX_CONFIGURE_WITH= wx-config=${WX_CONFIG} WX_VARS= USE_GL="gl glu" \ USE_WX=3.1+ \ WX_COMPS="wx" .include .if ${OPSYS} == FreeBSD CFLAGS+= -DMAP_NORESERVE=0 .endif .if ${ARCH} == i386 MAKE_ARGS+= ARCH=x86 .endif .if ${ARCH} == armv6 || ${ARCH} == armv7 MAKE_ARGS+= ARCH=arm .endif pre-configure: @if [ ! $$(${CAT} ${WRKSRC}/lib/erl_interface/vsn.mk | ${GREP} "EI_VSN *=" | ${CUT} -w -f3) = ${EI_VSN} ]; then \ ${ECHO_MSG} "===> EI_VSN (${EI_VSN}) in Makefile does not match value in lib/erl_interface/vsn.mk"; exit 1; \ fi @if [ ! $$(${CAT} ${WRKSRC}/lib/tools/vsn.mk | ${GREP} "TOOLS_VSN *=" | ${CUT} -w -f3) = ${TOOLS_VSN} ]; then \ ${ECHO_MSG} "===> TOOLS_VSN (${TOOLS_VSN}) in Makefile does not match value in lib/tools/vsn.mk"; exit 1; \ fi @if [ ! $$(${CAT} ${WRKSRC}/lib/snmp/vsn.mk | ${GREP} -E "SNMP_VSN *=" | ${CUT} -w -f3) = ${SNMP_VSN} ]; then \ ${ECHO_MSG} "===> SNMP_VSN (${SNMP_VSN}) in Makefile does not match value in lib/snmp/vsn.mk"; exit 1; \ fi @cd ${WRKSRC} && ./otp_build autoconf pre-configure-WX-off: echo "disabled by port options" > ${WRKSRC}/lib/debugger/SKIP echo "disabled by port options" > ${WRKSRC}/lib/et/SKIP echo "disabled by port options" > ${WRKSRC}/lib/observer/SKIP echo "disabled by port options" > ${WRKSRC}/lib/wx/SKIP post-configure-ODBC-on: ${RM} ${WRKSRC}/lib/odbc/SKIP pre-build-NATIVE-on: @cd ${WRKSRC} && ${MAKE_CMD} clean post-build-CORBA-on: cd ${WRKSRC_corba} \ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} ${MAKE_CMD} # The man-pages are put (in spite of FreeBSD's port convention) in a private # subdir. This is to avoid cluttering up the man page name space. Also the # Erlang man pages are more of internal documentation using the man format than # actual system man pages. (erl.1 and epmd.1 perhaps being the exception). post-build-FOP-on: @cd ${WRKSRC} && ${MAKE_CMD} docs .if ${PORT_OPTIONS:MCORBA} cd ${WRKSRC_corba} \ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} ${MAKE_CMD} docs .endif post-install: ${LN} -sf ../lib/${ERLANG_LIB}/lib/erl_interface-${EI_VSN}/bin/erl_call ${STAGEDIR}${PREFIX}/bin/erl_call ${LN} -sf ../lib/${ERLANG_LIB}/lib/snmp-${SNMP_VSN}/bin/snmpc ${STAGEDIR}${PREFIX}/bin/snmpc post-install-CORBA-on: cd ${WRKSRC_corba} \ && ${SETENV} OVERRIDE_TARGET=${CONFIGURE_TARGET} ERL_TOP=${WRKSRC_otp} \ ${MAKE_CMD} release RELEASE_ROOT=${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB} post-install-DTRACE-on: ${MKDIR} ${STAGEDIR}${DATADIR}/dtrace ${INSTALL_DATA} ${WRKSRC}/erts/emulator/beam/*.d \ ${WRKSRC}/lib/runtime_tools/c_src/*.d \ ${WRKSRC}/lib/runtime_tools/examples/*.d \ ${STAGEDIR}${DATADIR}/dtrace post-install-FOP-on: @${ECHO_CMD} "MANPATH ${PREFIX}/lib/erlang/man" > ${WRKDIR}/erlang.conf ${INSTALL_DATA} ${WRKDIR}/erlang.conf ${STAGEDIR}${PREFIX}/etc/man.d/erlang.conf for SECTION in 1 3 4 6 7; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/man/man$${SECTION}; \ ${FIND} ${WRKSRC}/erts ${WRKSRC}/lib -type f | ${GREP} doc/man$${SECTION} \ | ${XARGS} -J % ${CP} -v % ${STAGEDIR}${PREFIX}/lib/erlang/man/man$${SECTION}; \ done .if ${PORT_OPTIONS:MCORBA} ${FIND} ${WRKSRC_corba}/lib -type f | ${GREP} doc/man3 \ | ${XARGS} -J % ${CP} -v % ${STAGEDIR}${PREFIX}/lib/erlang/man/man3 .endif post-install-JAVA-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/jinterface-* post-install-ODBC-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/odbc-* post-install-OPENSSL-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/crypto-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssh-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/ssl-* post-install-PDF-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${FIND} ${WRKSRC} -name \*.pdf | ${XARGS} -J % ${CP} -v % ${STAGEDIR}${DOCSDIR} .if ${PORT_OPTIONS:MCORBA} ${FIND} ${WRKSRC_corba} -name \*.pdf | ${XARGS} -J % ${CP} -v % ${STAGEDIR}${DOCSDIR} .endif post-install-WX-off: ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/debugger-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/et-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/observer-* ${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-* post-stage: ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* ${DATADIR_REL}/* -type f -o -type l \ | ${SORT} >> ${TMPPLIST} @if [ -d ${STAGEDIR}/${DOCSDIR} ]; then \ cd ${STAGEDIR}${PREFIX}; ${FIND} ${DOCSDIR_REL}/* -name \*.pdf \ | ${SORT} >> ${TMPPLIST}; \ fi .include diff --git a/lang/kf5-kross/Makefile b/lang/kf5-kross/Makefile index 2fdd09c56bc3..6ee5c4c676f8 100644 --- a/lang/kf5-kross/Makefile +++ b/lang/kf5-kross/Makefile @@ -1,18 +1,19 @@ PORTNAME= kross DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= lang kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= KF5 multi-language application scripting USES= cmake compiler:c++11-lib gettext gl kde:5 qt:5 tar:xz USE_GL= gl USE_KDE= auth bookmarks codecs completion config configwidgets \ coreaddons doctools_build ecm i18n iconthemes itemviews \ jobwidgets kio parts service solid sonnet textwidgets \ widgetsaddons windowsystem xmlgui USE_QT= concurrent core dbus gui network script uiplugin \ uitools widgets xml \ buildtools_build qmake_build .include diff --git a/lang/py-qt5-qml/Makefile b/lang/py-qt5-qml/Makefile index 0a10af0c91fa..768c29045bc2 100644 --- a/lang/py-qt5-qml/Makefile +++ b/lang/py-qt5-qml/Makefile @@ -1,29 +1,30 @@ PORTNAME= qml +PORTREVISION= 1 CATEGORIES= lang devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QML module CONFIGURE_ARGS= --enable QtQml PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run network_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core declarative gui network buildtools_build qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtQml API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtQml.so .include diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile index c2fbd14471ba..41c17f723956 100644 --- a/lang/smalltalk/Makefile +++ b/lang/smalltalk/Makefile @@ -1,77 +1,77 @@ # Created by: gpalmer PORTNAME= smalltalk PORTVERSION= 3.2.5 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= lang MASTER_SITES= GNU MAINTAINER= danfe@FreeBSD.org COMMENT= GNU Smalltalk BROKEN_aarch64= Fails to link: undefined reference to sbrk BROKEN_powerpc64= Fails to build: gst-package: did not understand #~ BROKEN_riscv64= Fails to link: undefined reference to sbrk BROKEN_sparc64= Fails to install BUILD_DEPENDS= zip:archivers/zip \ gawk:lang/gawk LIB_DEPENDS= libgdbm.so:databases/gdbm \ libffi.so:devel/libffi \ libltdl.so:devel/libltdl \ libcairo.so:graphics/cairo \ libexpat.so:textproc/expat2 USES= gl gmake gnome iconv libtool makeinfo pathfix pkgconfig \ readline shebangfix sqlite tar:xz xorg USE_GL= gl glu glut USE_GNOME= pango USE_XORG= ice sm x11 xi xmu GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_prog_EMACS=no ac_cv_prog_AWK=gawk CONFIGURE_ARGS= --enable-generational-gc=no \ --enable-gtk=no \ --localstatedir="${PREFIX}/var" \ --with-emacs=no \ --with-gmp=no USE_LDCONFIG= yes SHEBANG_LANG= sed sed_OLD_CMD= /bin/sed sed_CMD= ${SED} SHEBANG_FILES= packages/vfs/deb packages/vfs/mailfs \ examples/pepe.sed examples/xml.sed PLIST_SUB= VERSION="${PORTVERSION}" PORTDATA= * INFO= gst gst-base gst-libs OPTIONS_DEFINE= PGSQL SDL OPTIONS_DEFAULT= PGSQL SDL OPTIONS_SUB= yes PGSQL_USES= pgsql SDL_USES= sdl SDL_USE= SDL=image,mixer,sdl,sound,ttf post-patch: @${REINPLACE_CMD} -e 's/ia64-\*-\* /&|amd64-*-* /' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's/lrintl (truncl/lroundl (truncl/' \ ${WRKSRC}/libgst/prims.def \ ${WRKSRC}/libgst/prims.inl @${REINPLACE_CMD} -e '/^ac_include/s/\\$$/#include \\/' \ ${WRKSRC}/snprintfv/configure post-build: @${SED} -e 's|@bindir@|${PREFIX}/bin|g' \ ${WRKSRC}/gst-mode.el.in > ${WRKSRC}/gst-mode.el post-install: @${LN} -sf gst-load.1 ${STAGEDIR}${MANPREFIX}/man/man1/gst-reload.1 @${MKDIR} ${STAGEDIR}${DATADIR}/gtk ${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp @${LS} -1 ${STAGEDIR}${PREFIX}/bin/gst* |grep -v config|${XARGS} ${STRIP_CMD} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/smalltalk/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgst.so .include diff --git a/lang/squeak/Makefile b/lang/squeak/Makefile index f7631ecd0a4a..03a3ce19cc34 100644 --- a/lang/squeak/Makefile +++ b/lang/squeak/Makefile @@ -1,85 +1,85 @@ # Created by: Roland Jesse PORTNAME= squeak PORTVERSION= 4.10.2 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= lang MASTER_SITES= http://www.squeakvm.org/unix/release/:vmsrc \ http://ftp.squeak.org/${IMAGE_VERSION}/:src \ ftp://squeak.org/${IMAGE_VERSION}/:sqsrc \ http://squeak.610t.org/patches/:mainsrc DISTFILES= Squeak-${VM_VERSION}-src${EXTRACT_SUFX}:vmsrc \ Squeak${IMAGE_FULL_VERSION}.zip:src \ ${SQUEAK_SRC}.zip:sqsrc DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= Squeak-${VM_VERSION}-src${EXTRACT_SUFX} MAINTAINER= takeshi.mutoh@gmail.com COMMENT= Full Smalltalk 80 with portability to Unix, Mac, and Windows LICENSE= APACHE20 MIT LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le powerpcspe BUILD_DEPENDS= cmake:devel/cmake \ v4l_compat>=1.0.20120501:multimedia/v4l_compat LIB_DEPENDS= libaudio.so:audio/nas \ libdbus-1.so:devel/dbus \ libffi.so:devel/libffi \ libfreetype.so:print/freetype2 \ libasound.so:audio/alsa-lib \ libpulse-simple.so:audio/pulseaudio \ libv4l2.so:multimedia/libv4l USES= gl gnome iconv pkgconfig xorg USE_GL= gl USE_GNOME= cairo pango USE_XORG= ice sm x11 xext xrender VM_VERSION= ${PORTVERSION}.${SVN_VERSION} SVN_VERSION= 2614 IMAGE_VERSION= 4.6 IMAGE_SVN_VERSION= 15102 IMAGE_FULL_VERSION= ${IMAGE_VERSION}-${IMAGE_SVN_VERSION} SQUEAK_SRC= SqueakV46.sources SQUEAK_LIB_DIR= ${PORTVERSION}-${SVN_VERSION} HAS_CONFIGURE= yes CONFIGURE_SCRIPT= unix/cmake/configure CONFIGURE_ARGS= --prefix=${PREFIX} CONFIGURE_OUTSOURCE= yes SUB_FILES= pkg-message SUB_LIST= SQUEAK_LIB_DIR=${SQUEAK_LIB_DIR} \ IMAGE_FULL_VERSION=${IMAGE_FULL_VERSION} WRKSRC= ${WRKDIR}/Squeak-${VM_VERSION}-src PLIST_SUB= SQUEAK_LIB_DIR=${SQUEAK_LIB_DIR} \ IMAGE_FULL_VERSION=${IMAGE_FULL_VERSION} IMAGES= Squeak${IMAGE_FULL_VERSION}.image \ Squeak${IMAGE_FULL_VERSION}.changes \ ${SQUEAK_SRC} post-patch: @${REINPLACE_CMD} -e 's,,,' \ ${WRKSRC}/unix/plugins/PseudoTTYPlugin/openpty.h @${REINPLACE_CMD} -e 's,return;,return 0;,' \ ${WRKSRC}/Cross/plugins/Mpeg3Plugin/libmpeg/video/idct.c \ ${WRKSRC}/Cross/plugins/Mpeg3Plugin/libmpeg/audio/layer3.c @${REINPLACE_CMD} -e 's,return;,return 1;,' \ ${WRKSRC}/Cross/plugins/Mpeg3Plugin/libmpeg/video/getpicture.c post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/so.* \ ${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/squeakvm \ ${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/ckformat ${UNZIP_NATIVE_CMD} -u ${_DISTDIR}/${SQUEAK_SRC}.zip -d ${WRKDIR} ${UNZIP_NATIVE_CMD} -u ${_DISTDIR}/Squeak${IMAGE_FULL_VERSION}.zip \ -d ${WRKDIR} ${INSTALL_DATA} ${IMAGES:S,^,${WRKDIR}/,} \ ${STAGEDIR}${PREFIX}/lib/squeak .include diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile index e7f990443e03..b1aa8c7223b1 100644 --- a/mail/thunderbird/Makefile +++ b/mail/thunderbird/Makefile @@ -1,79 +1,80 @@ # Created by: Joe Marcus Clarke PORTNAME= thunderbird DISTVERSION= 78.11.0 +PORTREVISION= 1 CATEGORIES= mail news net-im MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source DISTFILES= ${DISTNAME}.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org COMMENT= Mozilla Thunderbird is standalone mail and news that stands above BUILD_DEPENDS= nspr>=4.26:devel/nspr \ nss>=3.56:security/nss \ icu>=67.1,1:devel/icu \ libevent>=2.1.8:devel/libevent \ harfbuzz>=2.6.6:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ png>=1.6.35:graphics/png \ libvpx>=1.8.2:multimedia/libvpx \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ autoconf-2.13:devel/autoconf213 \ nasm:devel/nasm \ yasm:devel/yasm \ zip:archivers/zip LIB_DEPENDS= libjson-c.so:devel/json-c \ libbotan-2.so:security/botan2 SSP_UNSAFE= yes USE_GECKO= gecko USE_MOZILLA= -sqlite CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 USES= tar:xz MOZ_OPTIONS= --enable-application=comm/mail --enable-official-branding MOZ_OPTIONS+= --with-system-bz2 --with-system-jsonc --with-system-botan MOZ_MK_OPTIONS= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 MOZ_EXPORT= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 PORTNAME_ICON= ${MOZILLA}.png PORTNAME_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default48.png SYSTEM_PREFS= ${FAKEDIR}/lib/${PORTNAME}/defaults/pref/${PORTNAME}.js OPTIONS_DEFINE= LIGHTNING OPTIONS_DEFAULT=CANBERRA LIGHTNING .include "${.CURDIR}/../../www/firefox/Makefile.options" .include .if ${PORT_OPTIONS:MLIGHTNING} MOZ_OPTIONS+= --enable-calendar .else MOZ_OPTIONS+= --disable-calendar .endif post-extract: @${SED} -e 's|@PORTNAME_ICON@|${PORTNAME_ICON:R}|;s|@MOZILLA@|${MOZILLA}|' \ <${FILESDIR}/thunderbird.desktop.in >${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/comm/mail/app/nsMailApp.cpp pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${MOZSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${MOZSRC}/js/src/ && ${LOCALBASE}/bin/autoconf-2.13) port-pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/defaults post-install: ${INSTALL_DATA} ${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop ${STAGEDIR}${PREFIX}/share/applications ${LN} -sf ${PORTNAME_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME_ICON} .include diff --git a/math/analitza/Makefile b/math/analitza/Makefile index 4fc21dbc3e96..22ae3d652384 100644 --- a/math/analitza/Makefile +++ b/math/analitza/Makefile @@ -1,27 +1,28 @@ PORTNAME= analitza DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= math education kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Library from KDE Education project LICENSE= GFDL GPLv2 LICENSE_COMB= multi LICENSE_FILE_GFDL= ${WRKSRC}/COPYING.DOC LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING USES= cmake compiler:c++11-lang eigen:3 gl kde:5 qt:5 tar:xz USE_GL= glu USE_KDE= ecm USE_QT= core declarative gui network opengl printsupport svg widgets xml \ buildtools_build linguisttools_build qmake_build USE_LDCONFIG= yes SHLIB_VER= 8.0.0 PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" \ SHLIB_SHVER="${SHLIB_VER:R:R}" OPTIONS_DEFINE= DOCS .include diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile index 74186fb9f284..77946017325f 100644 --- a/math/asymptote/Makefile +++ b/math/asymptote/Makefile @@ -1,89 +1,89 @@ # Created by: Nicola Vitale PORTNAME= asymptote PORTVERSION= 2.67 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= nivit@FreeBSD.org COMMENT= Powerful script-based vector graphics language LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libcurl.so:ftp/curl \ libsigsegv.so:devel/libsigsegv RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cson>=0.8:devel/py-cson@${PY_FLAVOR} \ ${PY_PILLOW} USES= compiler:c++14-lang gettext-runtime ghostscript gl gmake gnome ncurses perl5 python:3.6+ \ pyqt:5 shebangfix tar:tgz SHEBANG_FILES= GUI/*.py USE_GL= gl glu glut USE_GNOME= librsvg2:run USE_PERL5= build USE_TEX= dvipsk formats USE_PYQT= svg_run widgets_run CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes MAKE_ENV= ASYMPTOTE_HOME=${WRKDIR} HOME=${WRKDIR} MAKE_JOBS_UNSAFE= yes ALL_TARGET= asy asy-keywords.el INSTALL_TARGET= install-asy SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFAULT= FFTW GSL MANPAGES READLINE OPTIONS_DEFINE= BDWGC DOCS EXAMPLES FFTW GSL MANPAGES OFFSCREEN READLINE BDWGC_LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded BDWGC_DESC= Enable Boehm-Demers-Weiser garbage collector BDWGC_CONFIGURE_ENABLE= gc=${LOCALBASE} DOCS_ALL_TARGET= html DOCS_BUILD_DEPENDS= texi2dvi:print/texinfo DOCS_CONFIGURE_WITH= docdir=${DOCSDIR} DOCS_INSTALL_TARGET= install-html FFTW_CONFIGURE_ENABLE= fftw FFTW_DESC= Use FFTW to compute the Discrete Fourier Transform FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 GSL_CONFIGURE_ENABLE= gsl GSL_DESC= Enable GNU Scientific library GSL_LIB_DEPENDS= libgsl.so:math/gsl MANPAGES_ALL_TARGET= man MANPAGES_BUILD_DEPENDS= texi2dvi:print/texinfo MANPAGES_INFO= asy-faq OFFSCREEN_CONFIGURE_ENABLE= offscreen OFFSCREEN_DESC= Enable offscreen rendering using OSMesa library OFFSCREEN_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa READLINE_CONFIGURE_ENABLE= readline READLINE_USES= readline TEST_TARGET= test TEST_WRKSRC= ${WRKSRC}/tests post-patch: @${REINPLACE_CMD} 's/-lgc/-lgc-threaded/' ${WRKSRC}/configure @${REINPLACE_CMD} 's,makeinfo,${LOCALBASE}/bin/makeinfo,' \ ${WRKSRC}/doc/png/Makefile.in # Fix the python interpreter in the generated file share/asymptote/GUI/xasyVersion.py: @${REINPLACE_CMD} 's,/usr/bin/env python3,${PYTHON_CMD},' ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asy .include diff --git a/math/cgal/Makefile b/math/cgal/Makefile index f7ca9ab86cae..4fadc384b71e 100644 --- a/math/cgal/Makefile +++ b/math/cgal/Makefile @@ -1,47 +1,48 @@ # Created by: Jean-Yves Lefort PORTNAME= cgal PORTVERSION= 5.2.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://github.com/${PORTNAME:tu}/${PORTNAME}/releases/download/v${PORTVERSION}/ DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Computational geometry library LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi BROKEN_sparc64= does not build: fails to compile all_files.cpp BUILD_DEPENDS= ${LOCALBASE}/lib/libntl.a:math/ntl LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libmpfr.so:math/mpfr \ libgmp.so:math/gmp #TODO math/mpfi, math/rs, graphics/qglviewer #Not yet in ports USES= cmake eigen:3 shebangfix tar:xz SHEBANG_FILES= scripts/cgal_create_CMakeLists \ scripts/cgal_create_cmake_script OPTIONS_DEFINE= VISUALIZATION QT5 VISUALIZATION_IMPLIES= QT5 OPTIONS_SUB= yes VISUALIZATION_DESC= Visualization Required for most demos (Qt5 Geomview) VISUALIZATION_LIB_DEPENDS= libgeomview.so:graphics/geomview .include .if ${PORT_OPTIONS:MQT5} USES+= gl qt:5 CMAKE_ARGS+= -DWITH_CGAL_Qt5=ON USE_QT+= core gui opengl widgets svg buildtools_build qmake_build xml USE_GL+= gl glu .else CMAKE_ARGS+= -DWITH_CGAL_Qt5=OFF .endif .include diff --git a/math/curv/Makefile b/math/curv/Makefile index 8accc9e3bb78..fecefd0dab2e 100644 --- a/math/curv/Makefile +++ b/math/curv/Makefile @@ -1,40 +1,40 @@ PORTNAME= curv DISTVERSION= 0.4-417 DISTVERSIONSUFFIX= -gf6f8d011 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= math lang graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Language for making art using mathematics LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= glm>0:math/glm LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libglfw.so:graphics/glfw \ libImath.so:math/Imath \ libopenvdb.so:misc/openvdb \ libtbb.so:devel/tbb USES= cmake compiler:c++14-lang gl localbase:ldflags xorg USE_GITHUB= yes GH_ACCOUNT= curv3d GH_TUPLE= ocornut:imgui:e0cab56:imgui/extern/imgui \ Tessil:ordered-map:3c14151:om/extern/ordered-map \ AmokHuginnsson:replxx:9da16bb:replxx/extern/replxx USE_GL= gl USE_XORG= x11 PLIST_FILES= bin/curv \ lib/curv/lib/blend.curv \ lib/curv/lib/noise.curv \ lib/curv/lib/web_colour.curv \ lib/curv/std.curv \ share/gtksourceview-3.0/language-specs/curv.lang post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/curv/lib/README .include diff --git a/math/freefem++/Makefile b/math/freefem++/Makefile index 72cbebd168db..e4ed648941dc 100644 --- a/math/freefem++/Makefile +++ b/math/freefem++/Makefile @@ -1,67 +1,67 @@ # Created by: Thierry Thomas PORTNAME= freefem++ PORTVERSION= 4.6 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math science MAINTAINER= kh@mogami.com COMMENT= Partial differential equation solver LICENSE= LGPL3 BUILD_DEPENDS= bash:shells/bash \ gmm++>0:math/gmm++ \ pipe:misc/pipe \ tetgen:math/tetgen LIB_DEPENDS= libhdf5.so:science/hdf5 \ libumfpack.so:math/suitesparse-umfpack \ libarpack.so:math/arpack-ng \ libfftw3.so:math/fftw3 \ libgsl.so:math/gsl \ libipopt.so:math/ipopt \ libmetis.so:math/metis \ libscotch.so:cad/scotch \ libcmumps.so:math/mumps \ libnlopt.so:math/nlopt \ libsuperlu.so:math/superlu \ libsz.so:science/szip RUN_DEPENDS= bash:shells/bash \ pipe:misc/pipe USE_GITHUB= yes GH_ACCOUNT= FreeFem GH_PROJECT= FreeFem-sources USES= autoreconf bison blaslapack:openblas compiler:c++11-lib fortran \ gl gmake localbase perl5 pkgconfig shebangfix xorg SHEBANG_GLOB= ff-pkg-download.in SHEBANG_FILES= examples/CheckAllEdp ./examples/misc/speedtest.sh CPPFLAGS+= -I${LOCALBASE}/include/superlu .if !defined{WITH_DEBUG} LDFLAGS+= -s .endif GNU_CONFIGURE= yes CONFIGURE_ENV= CNOFLAGS="${CFLAGS}" LIBS=-lz CONFIGURE_ARGS= --disable-download \ --without-mpi \ --with-blas=${BLASLIB} \ --with-lapack=${LAPACKLIB} USE_GL= gl glu glut OPTIONS_DEFINE= EXAMPLES OPTIONS_DEFAULT=EXAMPLES PLIST_SUB= VER=${PORTVERSION} DATADIR= ${PREFIX}/share/FreeFEM/${PORTVERSION} TEST_TARGET= check pre-configure: ${REINPLACE_CMD} -e 's|-llapack|${LAPACKLIB}|' ${WRKSRC}/configure.ac .include diff --git a/math/g2o/Makefile b/math/g2o/Makefile index dbfd369c5b54..3a9a4ff419f2 100644 --- a/math/g2o/Makefile +++ b/math/g2o/Makefile @@ -1,61 +1,62 @@ PORTNAME= g2o DISTVERSION= 20201223 DISTVERSIONSUFFIX= _git +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= General framework for graph optimization LICENSE= LGPL3 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libcxsparse.so:math/suitesparse-cxsparse \ libQGLViewer-qt5.so:graphics/libQGLViewer \ libmetis.so:math/metis \ libopenblas.so:math/openblas USES= cmake compiler:c++11-lang gl eigen:3 blaslapack:netlib qt:5 USE_GITHUB= yes GH_ACCOUNT= RainerKuemmerle USE_GL= gl glu USE_QT= core gui opengl xml widgets buildtools_build qmake_build USE_LDCONFIG= yes CMAKE_OFF= DO_SSE_AUTODETECT OPTIONS_DEFINE= FAST_MATH OPTIONS_SINGLE= SIMD_${ARCH:tu} OPTIONS_SINGLE_SIMD_AMD64= NOSSE SSE2 SSE3 SSE41 SSE42 SSE4A OPTIONS_SINGLE_SIMD_I386= ${OPTIONS_SINGLE_SIMD_AMD64} OPTIONS_DEFAULT_amd64= SSE2 OPTIONS_DEFAULT_i386= SSE2 SIMD_AMD64_DESC= Use SSE SIMD optimizations SIMD_I386_DESC= ${SIMD_AMD64_DESC} FAST_MATH_DESC= Enable fast math operations NOSSE_DESC= Do not use SIMD optimization SSE2_DESC= SSE2 optimization SSE3_DESC= SSE3 optimization SSE41_DESC= SSE41 optimization SSE42_DESC= SSE42 optimization SSE4A_DESC= SSE4a optimization FAST_MATH_CMAKE_BOOL= G2O_FAST_MATH NOSSE_CMAKE_ON= -DDISABLE_SSE2:BOOL=ON -DDISABLE_SSE3:BOOL=ON -DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON SSE2_CMAKE_ON= -DDISABLE_SSE3:BOOL=ON -DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON SSE3_CMAKE_ON= -DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON SSE41_CMAKE_ON= -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON SSE42_CMAKE_ON= -DDISABLE_SSE4_A:BOOL=ON SSE4A_CMAKE_ON= # empty to make portlint happy .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DDISABLE_SSE2:BOOL=ON -DDISABLE_SSE3:BOOL=ON -DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \ ${WRKSRC}/cmake_modules/*.cmake .include diff --git a/math/geogram/Makefile b/math/geogram/Makefile index 3e3c41619605..d5346af6e656 100644 --- a/math/geogram/Makefile +++ b/math/geogram/Makefile @@ -1,28 +1,29 @@ PORTNAME= geogram DISTVERSIONPREFIX= v DISTVERSION= 1.7.6 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Programming library of geometric algorithms LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/doc/devkit/license.dox LIB_DEPENDS= libglfw.so:graphics/glfw USES= cmake gl localbase:ldflags xorg USE_XORG= x11 xcursor xi xinerama xrandr xxf86vm USE_GL= gl glu USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= alicevision CMAKE_ON= GEOGRAM_USE_SYSTEM_GLFW3 VORPALINE_BUILD_DYNAMIC CMAKE_ARGS= -DVORPALINE_PLATFORM:STRING=FreeBSD CFLAGS+= -fcommon # https://github.com/alicevision/geogram/issues/16 CXXFLAGS+= -fcommon # https://github.com/alicevision/geogram/issues/16 LDFLAGS+= -pthread .include diff --git a/math/giacxcas/Makefile b/math/giacxcas/Makefile index 3db4b3a6a1fe..9cecfd241ac2 100644 --- a/math/giacxcas/Makefile +++ b/math/giacxcas/Makefile @@ -1,145 +1,145 @@ # Created by: Frederic Han PORTNAME= giacxcas DISTVERSION= 1.6.0-7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/:giac \ http://cocoa.dima.unige.it/cocoalib/tgz/:cocoa \ http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/ DISTFILES= giac_${DISTVERSION}${EXTRACT_SUFX}:giac \ CoCoALib-${COCOA_LIB_VERSION}.tgz:cocoa \ fltk-giac.tar.gz DIST_SUBDIR= ${PORTNAME} MAINTAINER= yuri@FreeBSD.org COMMENT= Computer algebra system LICENSE= GPLv3 DOC LICENSE_COMB= multi LICENSE_NAME_DOC= French documentation LICENSE_TEXT_DOC= French documentation is for non-commercial use only LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LICENSE_PERMS_DOC= dist-mirror pkg-mirror auto-accept LICENSE_DISTFILES_DOC= giac_${DISTVERSION}${EXTRACT_SUFX} BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libao.so:audio/libao \ libcurl.so:ftp/curl \ libfontconfig.so:x11-fonts/fontconfig \ libgsl.so:math/gsl \ libglpk.so:math/glpk \ libgmp.so:math/gmp \ libecm.so:math/gmp-ecm \ libmpfr.so:math/mpfr \ libmpfi.so:math/mpfi \ libpari.so:math/pari \ libpng.so:graphics/png \ libsamplerate.so:audio/libsamplerate RUN_DEPENDS= xdg-open:devel/xdg-utils USES= blaslapack compiler:c++14-lang desktop-file-utils fortran \ gettext gl gmake gnome jpeg libtool localbase ncurses perl5 \ readline shebangfix xorg GNU_CONFIGURE= yes USE_GL= gl USE_XORG= x11 xcursor xext xft xi xinerama USE_TEX= latex:build dvipsk:build USE_PERL5= run USE_LDCONFIG= yes # Warning: don't remove the USE_GCC without a runtime test *after* make install #USE_GCC= yes CONFIGURE_ENV= ac_cv_lib_X11_main=yes \ ac_cv_lib_cocoa_main=yes \ ac_cv_lib_fltk_gl_main=yes \ ac_cv_lib_fltk_main=yes \ ac_cv_lib_fltk_images_main=yes \ ac_cv_lib_jpeg_main=yes SHEBANG_FILES= src/pgiac INSTALL_TARGET= install-strip INSTALLS_ICONS= yes COCOA_LIB_VERSION= 0.99700 CPPFLAGS+= -I${COCOALIB-GIAC}/include \ -I${FLTKDEV-GIAC} \ -Wno-narrowing LDFLAGS+= -L${COCOALIB-GIAC}/lib \ -L${FLTKDEV-GIAC}/lib WRKSRC= ${WRKDIR}/giac-${DISTVERSION:C/-[0-9]*//} FLTKDEV-GIAC= ${WRKDIR}/fltk-1.3.0 COCOALIB-GIAC= ${WRKDIR}/CoCoALib-${COCOA_LIB_VERSION} TEST_TARGET= check DATADIR= ${PREFIX}/share/giac DOCSDIR= ${PREFIX}/share/doc/giac EXAMPLESDIR= ${PREFIX}/share/examples/giac INFO= giac_es giac_us OPTIONS_DEFINE= DOCS EXAMPLES #NB: built of giacxcas with USE_GCC and nlt is successfull if the ntl port is also # installed with USE_GCC CONFIGURE_ARGS+= --disable-ntl PORTDOCS= * PORTEXAMPLES= * post-extract: @${FIND} ${WRKSRC}/examples/Exemples -name "._*" -delete post-patch: @${GREP} -Rl --null /bin/bash ${COCOALIB-GIAC} | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' @${REINPLACE_CMD} -e '/^SUBDIR/s|examples||' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \ ${WRKSRC}/xcas.applications @${REINPLACE_CMD} -e 's|cp -f \*|$$(INSTALL_DATA) WARNINGS [a-z]*|' \ ${WRKSRC}/doc/el/*/Makefile.in @${REINPLACE_CMD} -e '/browser=/s|"mozilla"|"xdg-open"|' \ ${WRKSRC}/src/global.cc @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} \ ${REINPLACE_CMD} -e 's|$$(prefix)/share/giac/doc|$$(docdir)|' @${FIND} ${COCOALIB-GIAC} -name "Makefile" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's|\($$(MAKE) \)-s |\1|; s|\([[:blank:]]\)@|\1|' @${REINPLACE_CMD} -e '/.SILENT:/s|^|#|' \ ${FLTKDEV-GIAC}/makeinclude.in ${SED} -i ".orig" -Ee 's|char \*last = style \+ strlen\(style\) - 2|char *last = pretty|' \ -Ee 's|\*style = 0|last = style + strnlen(style, ENDOFBUFFER) - 2; *style = 0|' \ ${FLTKDEV-GIAC}/src/fl_set_fonts_xft.cxx pre-configure: ${REINPLACE_CMD} -e 's|/usr/lib /usr/lib64 /usr/lib32 /usr/local /opt/local/lib /sw/lib /usr/sfw/lib|${LOCALBASE}/lib|' \ -e '/libgmp.a/s|find|#find|' \ -e 's|-name libgmp.so|-type f -name "libgmp.so.*"|' \ ${COCOALIB-GIAC}/configuration/gmp-find.sh ${REINPLACE_CMD} -e 's|^protected:|public:|' ${FLTKDEV-GIAC}/FL/Fl_Widget.H .for f in icas.cc path.h ${REINPLACE_CMD} -e 's|/usr/local/share/giac/doc|${DOCSDIR}|' \ ${WRKSRC}/src/${f} .endfor ${FIND} ${WRKSRC}/doc -type f | ${XARGS} ${GREP} -l 'share/giac/doc' | \ ${XARGS} ${REINPLACE_CMD} -e 's|/usr/local/share/giac/doc|${DOCSDIR}|' @(cd ${COCOALIB-GIAC} && ${SETENV} ${CONFIGURE_ENV} ./configure \ --with-cxx="${CXX}") @(cd ${FLTKDEV-GIAC} && ${SETENV} ${CONFIGURE_ENV} ./configure \ --prefix=${FLTKDEV-GIAC} \ CXX="${CXX}" CXXFLAGS="${CXXFLAGS}") post-configure: # malloc.h on 13-CURRENT is missing mallinfo and compilation fails after it is discovered @${FIND} ${WRKSRC} -name config.h | ${XARGS} ${REINPLACE_CMD} -e 's|#define HAVE_MALLOC_H 1|/* #undef HAVE_MALLOC_H */|' pre-build: @cd ${COCOALIB-GIAC} && ${DO_MAKE_BUILD} \ CXXFLAGS_SPECIFIC="${CXXFLAGS}" library @cd ${FLTKDEV-GIAC}/src && ${DO_MAKE_BUILD} post-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "Exemples [a-z]*" \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/math/kalgebra/Makefile b/math/kalgebra/Makefile index 5846b60d112c..ca67e2c18db4 100644 --- a/math/kalgebra/Makefile +++ b/math/kalgebra/Makefile @@ -1,39 +1,40 @@ PORTNAME= kalgebra DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= math education kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= KDE graph calculator LIB_DEPENDS= libAnalitza.so:math/analitza 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 gl kde:5 \ readline qt:5 tar:xz USE_GL= glu USE_KDE= auth codecs config configwidgets coreaddons doctools ecm i18n \ kio service widgetsaddons xmlgui USE_QT= concurrent core dbus declarative gui location network opengl printsupport \ svg testlib webchannel widgets xml \ buildtools_build qmake_build CMAKE_ARGS= -DBUILD_mobile:BOOL=FALSE OPTIONS_DEFINE= DOCS WEBENGINE OPTIONS_DEFAULT_amd64= WEBENGINE OPTIONS_DEFAULT_i386= WEBENGINE OPTIONS_SUB= yes WEBENGINE_DESC= Add dependency on qt5-webengine WEBENGINE_USE= QT=webengine WEBENGINE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets .include .if ${PORT_OPTIONS:MWEBENGINE} DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 .endif .include diff --git a/math/mathgl/Makefile b/math/mathgl/Makefile index 2487785a0ac9..3f66cddfd36a 100644 --- a/math/mathgl/Makefile +++ b/math/mathgl/Makefile @@ -1,74 +1,74 @@ PORTNAME= mathgl DISTVERSION= 2.4.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Library for high-quality scientific data visualization LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgif.so:graphics/giflib \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libhpdf.so:print/libharu \ libltdl.so:devel/libltdl \ libpng.so:graphics/png \ libsz.so:science/szip USES= cmake compiler:c++11-lang gettext-runtime gl jpeg xorg USE_GL= gl glu glut USE_XORG= xi xmu USE_LDCONFIG= yes .for v in double gif glut gsl hdf5 jpeg ltdl mgl2 opengl pdf png zlib CMAKE_ARGS+= -Denable-${v}=ON .endfor .for v in doc-info doc-html lgpl mgltex CMAKE_ARGS+= -Denable-${v}=OFF .endfor OPTIONS_DEFINE= PYTHON MPI OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= QT5 FLTK WXGTK OPTIONS_RADIO= THREADS OPTIONS_RADIO_THREADS= PTHREADS OPENMP OPTIONS_DEFAULT= QT5 OPTIONS_SUB= yes GRAPHICS_DESC= Graphics support PTHREADS_DESC= Enable POSIX threads support (broken, fix pending release) OPENMP_DESC= Parallel processing support via OpenMP (broken, cmake bug) FLTK_DESC= Enable fltk widget PLIST_SUB= SHLIB_VER=7.5.0 PYTHON_CMAKE_BOOL= enable-python PYTHON_BUILD_DEPENDS= swig:devel/swig \ ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_BROKEN= Python option needs to be fixed: lgpl needs to be enabled for it MPI_CMAKE_BOOL= enable-mpi MPI_LIB_DEPENDS= libmpi.so:net/openmpi QT5_CMAKE_BOOL= enable-qt5 QT5_USE= QT=core,gui,opengl,printsupport,widgets,buildtools_build,qmake_build QT5_USES= desktop-file-utils qt:5 shared-mime-info FLTK_CMAKE_BOOL= enable-fltk FLTK_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk FLTK_USE= XORG=ice,sm,x11,xext WXGTK_CMAKE_BOOL= wx WXGTK_USE= WX=3.0+ PTHREADS_CMAKE_BOOL= enable-pthread OPENMP_CMAKE_BOOL= enable-openmp post-patch-FLTK-on: @${REINPLACE_CMD} -e 's|#include diff --git a/math/mathmod/Makefile b/math/mathmod/Makefile index 42d5b28f99fe..83943aea4580 100644 --- a/math/mathmod/Makefile +++ b/math/mathmod/Makefile @@ -1,22 +1,23 @@ # Created by: thierry@pompo.net PORTNAME= MathMod PORTVERSION= 11.1 +PORTREVISION= 1 CATEGORIES= math graphics MAINTAINER= thierry@FreeBSD.org COMMENT= Mathematical modeling software LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= parisolab GH_PROJECT= ${PORTNAME:tl} USES= compiler:c++11-lang dos2unix gl qmake qt:5 USE_GL= gl USE_QT= buildtools_build core gui opengl qmake_build widgets PLIST_FILES= bin/${PORTNAME} .include diff --git a/math/minizinc-ide/Makefile b/math/minizinc-ide/Makefile index e6b5b8118746..312c537cf41e 100644 --- a/math/minizinc-ide/Makefile +++ b/math/minizinc-ide/Makefile @@ -1,36 +1,36 @@ PORTNAME= minizinc-ide DISTVERSION= 2.5.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math lang MAINTAINER= yuri@FreeBSD.org COMMENT= IDE for MiniZinc, a constraint modeling language LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 RUN_DEPENDS= minizinc:math/minizinc USES= gl compiler:c++11-lang qmake qt:5 USE_QT= core declarative gui location network printsupport sql webchannel webengine widgets buildtools_build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= MiniZinc GH_PROJECT= MiniZincIDE USE_GITLAB= nodefault GL_TUPLE= minizinc:cp-profiler-integration:f16b3132df33b3f258971f36dbe5e909983381c9:cp/cp-profiler/src/cpp-integration PLIST_FILES= bin/MiniZincIDE \ share/pixmaps/minizinc_icon.png DESKTOP_ENTRIES= "MiniZinc" "Constraint modeling language" "${PREFIX}/share/pixmaps/minizinc_icon.png" "MiniZincIDE" "Science;Development;Education;" "" post-install: ${INSTALL_DATA} ${WRKSRC}/resources/icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/minizinc_icon.png .include diff --git a/math/octave/Makefile b/math/octave/Makefile index 22eb956a4f29..257fc435b19b 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -1,129 +1,129 @@ # Created by: chuckr@FreeBSD.org PORTNAME= octave PORTVERSION= ${OCTAVE_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= GNU MAINTAINER= stephen@FreeBSD.org COMMENT= High-level interactive language for numerical computations LICENSE= GPLv3 BUILD_DEPENDS= gnuplot:math/gnuplot \ ${LOCALBASE}/bin/gperf:devel/gperf \ gsed:textproc/gsed \ ${LOCALBASE}/bin/makeinfo:print/texinfo RUN_DEPENDS= gnuplot:math/gnuplot \ gsed:textproc/gsed \ ${LOCALBASE}/bin/makeinfo:print/texinfo LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick \ libarpack.so:math/arpack-ng \ libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libfltk.so:x11-toolkits/fltk \ libftgl.so:graphics/ftgl \ libhdf5.so:science/hdf5 \ libpcre.so:devel/pcre \ libqhull.so.7:math/qhull \ libqrupdate.so:math/qrupdate \ libcxsparse.so:math/suitesparse-cxsparse \ libklu.so:math/suitesparse-klu \ libumfpack.so:math/suitesparse-umfpack \ libglpk.so:math/glpk \ libgl2ps.so:print/gl2ps \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libdrm.so:graphics/libdrm \ libOSMesa.so:graphics/libosmesa \ libsundials_arkode.so:math/sundials \ libportaudio.so:audio/portaudio # libsndfile.so:audio/libsndfile # Commented out until this port no longer has vulnerabilities. USES= charsetfix fortran gmake libtool perl5 pkgconfig readline \ tar:xz compiler:c++14-lang \ desktop-file-utils gl iconv xorg USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}/${PORTVERSION} USE_PERL5= build GNU_CONFIGURE= yes USE_QT= core gui help network opengl \ qmake_build buildtools_build linguist_build \ printsupport sql widgets \ xml USE_XORG= x11 xext xfixes xft \ xcursor xinerama xrender USE_GL= gl glu OCTAVE_VERSION= ${PORTVERSION} GNU_HOST= ${ARCH}-portbld-freebsd${OSREL} PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION} GNU_HOST=${GNU_HOST} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/qt5 CONFIGURE_ENV= GPERF="${LOCALBASE}/bin/gperf" \ JAVA_HOME=${JAVA_HOME} \ MAKEINFO=${LOCALBASE}/bin/makeinfo \ MKINFO=${LOCALBASE}/bin/makeinfo \ MOC_QTVER=${LOCALBASE}/bin/moc \ UIC_QTVER=${LOCALBASE}/bin/uic \ RCC_QTVER=${LOCALBASE}/bin/rcc \ ac_cv_type_max_align_t=yes \ ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --host=${GNU_HOST} \ --with-blas="-L${LOCALBASE}/lib ${BLASLIB}" \ --with-lapack="${LAPACKLIB}" \ --enable-shared \ --disable-jit \ --disable-openmp \ --with-osmesa INFO= octave liboctave INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS JAVA QT5 OPTIONS_RADIO= BLAS OPTIONS_RADIO_BLAS= OPENBLAS NETLIB ATLAS OPTIONS_DEFAULT= JAVA OPENBLAS QT5 OPTIONS_SUB= yes DOCS_CONFIGURE_ENABLE= docs JAVA_CONFIGURE_ENABLE= java QT5_CONFIGURE_WITH= qt=5 qscintilla QT5_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DOCS_USE= TEX=dvipsk:build,formats:build JAVA_USE= JAVA=yes QT5_USES= qt:5 OPENBLAS_USES= blaslapack:openblas NETLIB_USES= blaslapack:netlib ATLAS_USES= blaslapack:atlas post-patch: ${REINPLACE_CMD} 's+"makeinfo"+"${LOCALBASE}/bin/makeinfo"+' ${WRKSRC}/libinterp/corefcn/help.cc ${REINPLACE_CMD} 's/"-qt=$$qt_version"/"-qt=qt$$qt_version"/' ${WRKSRC}/configure post-install: (cd ${STAGEDIR}${DATADIR} && ${LN} -s ${PORTVERSION}/imagelib .) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in liboctave/liboctave.ps \ refcard/refcard-a4.ps refcard/refcard-legal.ps \ refcard/refcard-letter.ps interpreter/octave.ps ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/${INFO_PATH} .for file in interpreter/octave.info liboctave/liboctave.info ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${PREFIX}/${INFO_PATH} .endfor check regression-test: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check) .include "Makefile.version" .include diff --git a/math/octomap/Makefile b/math/octomap/Makefile index 85fdd1f44b80..dbec3e54ec0b 100644 --- a/math/octomap/Makefile +++ b/math/octomap/Makefile @@ -1,27 +1,28 @@ PORTNAME= octomap DISTVERSIONPREFIX= v DISTVERSION= 1.9.7 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Efficient probabilistic 3D mapping framework based on octrees LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/octomap/LICENSE.txt LICENSE_FILE_GPLv2= ${WRKSRC}/octovis/LICENSE.txt LIB_DEPENDS= libQGLViewer-qt5.so:graphics/libQGLViewer USES= cmake compiler:c++11-lang localbase:ldflags gl qt:5 USE_GITHUB= yes GH_ACCOUNT= OctoMap USE_QT= core gui opengl xml widgets buildtools_build qmake_build USE_GL= gl glu USE_LDCONFIG= yes # Viewer is broken: https://github.com/OctoMap/octomap/issues/224, and libQGLViewer detection is broken: https://github.com/OctoMap/octomap/issues/225 #CMAKE_ON= OCTOVIS_QT5 CMAKE_ARGS= -DQGLVIEWER_BASE_DIR:PATH=${LOCALBASE}/include/QGLViewer #-DQGLViewer_LIBRARY_DIR_OTHER:PATH=${LOCALBASE}/lib .include diff --git a/math/openmesh/Makefile b/math/openmesh/Makefile index 260792abfb02..d8adce976836 100644 --- a/math/openmesh/Makefile +++ b/math/openmesh/Makefile @@ -1,24 +1,25 @@ PORTNAME= openmesh DISTVERSION= 8.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://www.openmesh.org/media/Releases/${DISTVERSION}/ DISTNAME= OpenMesh-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Generic data structure for manipulating polygonal meshes LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake compiler:c++11-lang dos2unix gl qt:5 xorg DOS2UNIX_FILES= src/OpenMesh/Tools/CMakeLists.txt USE_QT= core concurrent gui help network opengl printsupport script scripttools sql svg x11extras xml xmlpatterns webkit widgets \ buildtools_build qmake_build uitools_build USE_GL= gl glu glut USE_XORG= xi xmu USE_LDCONFIG= yes post-install: @${RMDIR} ${STAGEDIR}${PREFIX}/include/OpenMesh/Tools/VDPM/xpm .include diff --git a/math/poly2tri/Makefile b/math/poly2tri/Makefile index 3ae911969ba1..da566bc56fc9 100644 --- a/math/poly2tri/Makefile +++ b/math/poly2tri/Makefile @@ -1,24 +1,25 @@ PORTNAME= poly2tri DISTVERSION= g20191130 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= 2D constrained Delaunay triangulation library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libglfw.so:graphics/glfw USES= compiler:c11 gl localbase:ldflags waf USE_GITHUB= yes GH_ACCOUNT= jhasse GH_TAGNAME= e6e63dd29ef0805b3e40fe1832c2f1fe2307943a USE_GL= gl PLIST_FILES= bin/p2t post-stage: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/p2t .include diff --git a/math/qwtplot3d/Makefile b/math/qwtplot3d/Makefile index a2ab56477d76..0f5669fe31fe 100644 --- a/math/qwtplot3d/Makefile +++ b/math/qwtplot3d/Makefile @@ -1,23 +1,24 @@ PORTNAME= qwtplot3d PORTVERSION= 0.3.0.g20210210 +PORTREVISION= 1 CATEGORIES= math PKGNAMESUFFIX= -qt5 MAINTAINER= makc@FreeBSD.org COMMENT= 3D plotting widgets for Qt LIB_DEPENDS= libgl2ps.so:print/gl2ps USES= cmake compiler:c++17-lang gl qt:5 USE_QT= core gui opengl widgets buildtools_build qmake_build USE_GL= gl glu USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= SciDAVis GH_TAGNAME= 438c855d CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_Qt6=True \ -DBUILD_SHARED_LIBS=True .include diff --git a/math/scilab/Makefile b/math/scilab/Makefile index 9448cc113f60..0f554eaea796 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -1,178 +1,178 @@ # Created by: js@jeannot.org PORTNAME= scilab PORTVERSION= 6.1.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math cad java MASTER_SITES= https://www.scilab.org/download/${PORTVERSION}/ DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} MAINTAINER= makc@FreeBSD.org COMMENT= Scientific software package for numerical computations LICENSE= GPLv2 BSD3CLAUSE LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/COPYING-BSD LIB_DEPENDS= libxml2.so:textproc/libxml2 \ libpcre.so:devel/pcre \ libcurl.so:ftp/curl \ libhdf5.so:science/hdf5 \ libarpack.so:math/arpack-ng \ libfftw3.so:math/fftw3 \ libmatio.so:math/matio \ libamd.so:math/suitesparse-amd RUN_DEPENDS= xdg-open:devel/xdg-utils USES= compiler:c++17-lang cpe desktop-file-utils eigen:3,build \ fortran gettext gmake gnome iconv:wchar_t libtool \ localbase ncurses pathfix pkgconfig shared-mime-info USE_LOCALE= en_US.UTF-8 GNU_CONFIGURE= yes INSTALLS_ICONS= yes CONFIGURE_ARGS= --with-gfortran \ --without-emf \ --with-eigen-include=${LOCALBASE}/include/eigen3 \ ${ICONV_CONFIGURE_ARG} LDFLAGS+= ${ICONV_LIB} CONFIGURE_ENV= BLAS_LIBS="${BLASLIB}" LAPACK_LIBS="${LAPACKLIB}" INSTALL_TARGET= install-strip PLIST_SUB= SHLIB_VER=${PORTVERSION} OPTIONS_DEFINE= GUI OCAML TK OPTIONS_RADIO= BLAS OPTIONS_RADIO_BLAS= ATLAS NETLIB OPENBLAS OPTIONS_DEFAULT= GUI NETLIB OCAML TK OPTIONS_EXCLUDE_powerpc64= GUI OPTIONS_EXCLUDE_powerpc64le= GUI OPTIONS_SUB= yes ATLAS_USES= blaslapack:atlas NETLIB_USES= blaslapack:netlib OPENBLAS_USES= blaslapack:openblas GUI_DESC= Java-based Graphical User Interface OCAML_DESC= Scicos - dynamical system simulator (requires GUI) # Java dependencies: _GUI_DEPENDS+= ${JAVALIBDIR}/flexdock.jar:devel/flexdock \ ${JAVALIBDIR}/jogl2.jar:graphics/jogamp-jogl \ foprep:math/jeuclid \ ${JAVALIBDIR}/jhall.jar:java/javahelp \ ${JAVALIBDIR}/jrosetta-api.jar:java/jrosetta \ ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging \ ${JAVALIBDIR}/jgraphx.jar:java/jgraphx \ ${JAVALIBDIR}/jlatexmath.jar:math/jlatexmath \ ${LOCALBASE}/share/java/ecj-4.5.jar:lang/gcc-ecj45 \ ${JAVALIBDIR}/lucene-core-5.5.5.jar:textproc/lucene5 # Documentation, graphic export: _GUI_DEPENDS+= ${LOCALBASE}/share/java/fop/build/fop.jar:textproc/fop \ ${JAVALIBDIR}/jlatexmath-fop.jar:math/jlatexmath \ ${LOCALBASE}/share/java/batik/lib/batik-all.jar:graphics/batik \ ${JAVALIBDIR}/avalon-framework.jar:devel/avalon-framework \ ${JAVALIBDIR}/commons-io.jar:devel/apache-commons-io \ ${JAVALIBDIR}/xmlgraphics-commons.jar:graphics/xmlgraphics-commons # Code quality: _GUI_DEPENDS+= ${JAVALIBDIR}/commons-beanutils.jar:java/apache-commons-beanutils \ ${JAVALIBDIR}/antlr.jar:devel/antlr \ ${JAVALIBDIR}/junit4.jar:java/junit \ ${LOCALBASE}/bin/splint:devel/splint # Documentation building: _GUI_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/javahelp/javahelp.xsl:textproc/docbook-xsl \ ${JAVALIBDIR}/saxon9he.jar:textproc/saxon-he \ ${JAVALIBDIR}/xml-apis-ext.jar:textproc/xml-commons \ xsltproc:textproc/libxslt # Other gui deps: _GUI_DEPENDS+= ${JAVALIBDIR}/looks.jar:devel/jgoodies-looks \ ${JAVALIBDIR}/skinlf.jar:x11-toolkits/skinlf # Can't use USE_ANT because it overrides do-build target GUI_BUILD_DEPENDS= ${_GUI_DEPENDS} \ ant:devel/apache-ant GUI_RUN_DEPENDS= ${_GUI_DEPENDS} GUI_ALL_TARGET= all doc GUI_USES= gl GUI_USE= GL=gl JAVA=yes GUI_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-bin-JAVA_HOME GUI_CONFIGURE_ON= --with-jdk=${JAVA_HOME} \ --with-docbook=${LOCALBASE}/share/xsl/docbook \ --enable-build-help GUI_CONFIGURE_OFF= --without-gui \ --without-javasci \ --without-xcos \ --disable-build-help OCAML_IMPLIES= GUI OCAML_CONFIGURE_WITH= modelica OCAML_BUILD_DEPENDS= ocaml:lang/ocaml OCAML_RUN_DEPENDS= ocaml:lang/ocaml TK_CONFIGURE_OFF= --without-tk TK_CONFIGURE_ON= --with-tk-library=${LOCALBASE}/lib \ --with-tk-include=${TK_INCLUDEDIR} \ --with-tcl-library=${LOCALBASE}/lib \ --with-tcl-include=${TCL_INCLUDEDIR} TK_USES= tk xorg TK_USE= XORG=x11 TK_RUN_DEPENDS= ${LOCALBASE}/lib/bwidget/init.tcl:x11-toolkits/bwidget .if !exists(/usr/include/omp.h) CONFIGURE_ARGS+= --without-openmp .endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .include .if ${GCC_DEFAULT} >= 10 # workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar) FFLAGS+= -fallow-argument-mismatch .endif post-patch: @${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},' ${WRKSRC}/etc/librarypath.xml @${REINPLACE_CMD} -e 's, gfortran, ${FC},' ${WRKSRC}/modules/dynamic_link/src/scripts/configure post-patch-GUI-on: # scilab segfaults on FreeBSD with C locale @${REINPLACE_CMD} 's,LC_ALL=C,,' ${WRKSRC}/Makefile.in @# Configure fixes @${REINPLACE_CMD} '/ac_java_jvm_jni_lib_flags/s,\(ljvm\),\1 -pthread,' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/usr/lib/java|${JAVALIBDIR}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/usr/lib64/jni|${LOCALBASE}/lib/|g' ${WRKSRC}/configure @${REINPLACE_CMD} 's,\(DEFAULT_JAR_DIR="\),\1 \ ${LOCALBASE}/share/java/classes \ ${LOCALBASE}/share/java/fop/build \ ${LOCALBASE}/share/java/batik/lib \ ${LOCALBASE}/share/java/jeuclid/repo ,' ${WRKSRC}/configure # Prefer non-versioned files to avoid excessive rebuilds. This also fixes detection of fop. @${REINPLACE_CMD} 's|batik-all\*\.jar|batik-all.jar|g; \ s|commons-io\*\.jar|commons-io.jar|g; \ s|commons-logging\*\.jar|commons-logging.jar|g; \ s|fop\*\.jar|fop.jar|g; \ s|jlatexmath\*\.jar|jlatexmath.jar|g; \ s|xmlgraphics-commons\*\.jar|xmlgraphics-commons.jar|g' \ ${WRKSRC}/configure # Part of the jogamp-jogl-2.3 patch: @${REINPLACE_CMD} -e 's|javax.media.opengl.glu.GLUnurbs|com.jogamp.opengl.glu.GLUnurbs|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|jogamp.common.os.MachineDescriptionRuntime|jogamp.common.os.MachineDataInfoRuntime|' ${WRKSRC}/configure @# Run fixes @${REINPLACE_CMD} -e 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/bin/scilab pre-install: ${MKDIR} ${STAGEDIR}${DATADIR}/.atoms post-install: @# Remove empty dirs in DATADIR/modules - they will be removed by the @# toolbox uninstaller otherwise if 3rd party toolboxes are used @${FIND} ${STAGEDIR}${DATADIR}/modules -type d -empty -delete .include diff --git a/math/ump/Makefile b/math/ump/Makefile index 6784b7801c65..fc9ffd7db138 100644 --- a/math/ump/Makefile +++ b/math/ump/Makefile @@ -1,32 +1,32 @@ # Created by: Nicola Vitale PORTNAME= ump PORTVERSION= 0.8.6 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= math education MASTER_SITES= SF/u-m-p/u-m-p/${PORTVERSION} PKGNAMESUFFIX= -math MAINTAINER= ports@FreeBSD.org COMMENT= Graphical, easy to use math program LICENSE= GPLv2 USES= compiler:c++11-lang gl gmake gnome pkgconfig tar:bzip2 USE_GNOME= gtk20 USE_GL= glu ALL_TARGET= ${PORTNAME} CONFLICTS= ump-1.[0-9]* DESKTOP_ENTRIES="Ump" "" "" "ump" "Education;Math;Science;GTK;" "" post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/main.cpp post-install: ${INSTALL_DATA} ${WRKSRC}/ump.conf \ ${STAGEDIR}${PREFIX}/etc/ump.conf.sample .include diff --git a/math/vtk6/Makefile b/math/vtk6/Makefile index 668271493f08..ef931dbf8f58 100644 --- a/math/vtk6/Makefile +++ b/math/vtk6/Makefile @@ -1,202 +1,202 @@ # Created by: gahr PORTNAME= vtk PORTVERSION= 6.2.0 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 6 DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= stephen@FreeBSD.org COMMENT= Visualization toolkit LICENSE= BSD3CLAUSE LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 # # TODO # * VTK Groups CONFLICTS= vtk8 vtk9 USES= alias cmake jpeg localbase xorg USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} USE_XORG= xt sm ice x11 xext VTK_SHORT_VER= ${PORTVERSION:R} PLIST_SUB+= VER2=${VTK_SHORT_VER} DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options OPTIONS_DEFINE= DESIGNER DOCS OSMESA EXAMPLES SHARED QT5 OPTIONS_DEFAULT=SHARED #OPTIONS_DEFAULT=MPI Qt JAVA TCLTK DESIGNER OSMESA_DESC= Use Mesa for off-screen rendering DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes # Options groups #VTK_GROUPS= Imaging MPI Qt Rendering StandAlone Views VTK_GROUPS= MPI VTK_WRAPS= JAVA TCLTK OPTIONS_GROUP= GROUPS WRAPPING OPTIONS_GROUP_GROUPS=${VTK_GROUPS} OPTIONS_GROUP_WRAPPING=${VTK_WRAPS} GROUPS_DESC= Groups WRAPPING_DESC= Wrapping .for g in ${VTK_GROUPS} $g_DESC= Build the $g group .endfor .for w in ${VTK_WRAPS} $w_DESC= $w wrapping .endfor CMAKE_ARGS+= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_NO_DOCUMENTATION=ON \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ -DVTK_USE_SYSTEM_TIFF:BOOL=ON \ -DVTK_USE_SYSTEM_PNG:BOOL=ON \ -DVTK_USE_SYSTEM_JPEG:BOOL=ON \ -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON \ -DVTK_USE_SYSTEM_ZLIB:BOOL=ON \ -DSTAGEDIR=${STAGEDIR} \ -DModule_vtkTestingCore:BOOL=ON \ -DModule_vtkTestingRendering:BOOL=ON \ -DVTK_WRAP_PYTHON:BOOL=OFF SHARED_CMAKE_ON= -DBUILD_SHARED_LIBS:BOOL=ON SHARED_CMAKE_OFF= -DBUILD_SHARED_LIBS:BOOL=OFF # Mangling so that it will build when science/netcdf is installed. post-patch: ${MV} ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/netcdf.h \ ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/xxxnetcdf.h ${FIND} ${WRKSRC}/ThirdParty/netcdf -type f | ${XARGS} ${REINPLACE_CMD} \ -E 's/[[:<:]]netcdf\.h[[:>:]]/xxxnetcdf.h/' .include .for g in ${VTK_GROUPS} . if ${PORT_OPTIONS:M${g}} CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=ON . else CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=OFF . endif .endfor .if ${PORT_OPTIONS:MOSMESA} LIB_DEPENDS+= libOSMesa.so:graphics/libosmesa CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF PLIST_SUB+= X11="@comment " \ OSMESA="" .else USES+= gl USE_GL= gl glu PLIST_SUB+= X11="" \ OSMESA="@comment " .endif .if ${PORT_OPTIONS:MEXAMPLES} CMAKE_ARGS+= -DBUILD_EXAMPLES:BOOL=ON .endif .if ${PORT_OPTIONS:MMPI} LIB_DEPENDS+= libmpi.so:net/openmpi3 CMAKE_ARGS+= -DMPIEXEC=${LOCALBASE}/mpi/openmpi3/bin/mpiexec PLIST_SUB+= MPI="" .else PLIST_SUB+= MPI="@comment " .endif .if ${PORT_OPTIONS:MQT5} USES+= qt:5 USE_QT= gui_build gui_run network_build network_run sql_build sql_run \ qmake_build opengl webkit_build buildtools webkit_run CMAKE_ARGS+= -DVTK_QT_VERSION:STRING="5" \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 PLIST_SUB+= QTV="qt5" .endif .if ${PORT_OPTIONS:MQT5} CMAKE_ARGS+= -DVTK_Group_Qt:BOOL=ON PLIST_SUB+= QT="" .else PLIST_SUB+= QT="@comment " CMAKE_ARGS+= -DVTK_Group_Qt:BOOL=OFF .endif .if ${PORT_OPTIONS:MDESIGNER} .if ${PORT_OPTIONS:MQT5} USE_QT+= designer .else IGNORE= designer requires QT5 .endif PLIST_SUB+= DESIGNER="" CMAKE_ARGS+= -DQT_DESIGNER_PLUGIN:BOOL=ON .else PLIST_SUB+= DESIGNER="@comment " CMAKE_ARGS+= -DQT_DESIGNER_PLUGIN:BOOL=OFF .endif # Wrapping .if ${PORT_OPTIONS:MJAVA} CATEGORIES+= java USE_JAVA= yes CMAKE_ARGS+= -DVTK_WRAP_JAVA:BOOL=ON \ -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ATCH}/libjava.so PLIST_SUB+= JAVA="" .else CMAKE_ARGS+= -DVTK_WRAP_JAVA:BOOL=OFF \ -DModule_vtkWrappingJava:BOOL=OFF PLIST_SUB+= JAVA="@comment " .endif .if ${PORT_OPTIONS:MTCLTK} USES+= tk CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=ON \ -DVTK_Group_Tk:BOOL=ON \ -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} PLIST_SUB+= TCLTK="" .else CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=OFF \ -DVTK_Group_Tk:BOOL=OFF PLIST_SUB+= TCLTK="@comment " .endif .if ${PORT_OPTIONS:MJAVA} || ${PORT_OPTIONS:MTCLTK} PLIST_SUB+= WRAP="" .else PLIST_SUB+= WRAP="@comment " .endif .if ${PORT_OPTIONS:MDOCS} CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=ON BUILD_DEPENDS+= doxygen:devel/doxygen USES+= perl5 USE_PERL5+= build .else CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=OFF .endif .include .if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 CXXFLAGS+= -mminimal-toc .endif .include diff --git a/math/vtk8/Makefile b/math/vtk8/Makefile index 76753f228fda..ec64fd414f5f 100644 --- a/math/vtk8/Makefile +++ b/math/vtk8/Makefile @@ -1,126 +1,127 @@ PORTNAME= vtk DISTVERSION= 8.2.0 +PORTREVISION= 1 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 8 DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Visualization toolkit LICENSE= BSD3CLAUSE LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 CONFLICTS= vtk6 vtk9 USES= alias cmake compiler:c++11-lang gl jpeg localbase xorg USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} USE_XORG= ice x11 xt xext sm CMAKE_ON= BUILD_SHARED_LIBS \ VTK_INSTALL_NO_DOCUMENTATION VTK_USE_SYSTEM_EXPAT VTK_USE_SYSTEM_TIFF \ VTK_USE_SYSTEM_PNG VTK_USE_SYSTEM_JPEG VTK_USE_SYSTEM_FREETYPE VTK_USE_SYSTEM_ZLIB \ Module_vtkTestingCore Module_vtkTestingRendering CMAKE_ARGS+= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DSTAGEDIR=${STAGEDIR} VTK_SHORT_VER= ${PORTVERSION:R} DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options OPTIONS_DEFINE= DESIGNER DOCS OSMESA QT5 EXAMPLES OPTIONS_DEFAULT= MPI QT5 OSMESA_DESC= Use Mesa for off-screen rendering DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes # Options groups #VTK_GROUPS= Imaging MPI Qt Rendering StandAlone Views VTK_GROUPS= MPI VTK_WRAPS= JAVA TCLTK OPTIONS_GROUP= GROUPS WRAPPING OPTIONS_GROUP_GROUPS=${VTK_GROUPS} OPTIONS_GROUP_WRAPPING=${VTK_WRAPS} GROUPS_DESC= Groups WRAPPING_DESC= Wrapping .for g in ${VTK_GROUPS} $g_DESC= Build the $g group .endfor .for w in ${VTK_WRAPS} $w_DESC= $w wrapping .endfor QT5_USES= qt:5 QT5_USE= QT=core,gui,sql,uiplugin,widgets,x11extras,qmake_build,buildtools_build QT5_CMAKE_ON= -DVTK_QT_VERSION:STRING="5" \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 \ -DVTK_Group_Qt:BOOL=ON DESIGNER_CMAKE_BOOL= QT_DESIGNER_PLUGIN DESIGNER_USE= QT=designer DESIGNER_IMPLIES= QT5 MPI_LIB_DEPENDS= libmpi.so:net/openmpi MPI_CMAKE_ON= -DMPIEXEC=${LOCALBASE}/mpi/openmpi/bin/mpiexec OSMESA_CMAKE_ARGS= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa # Wrapping JAVA_CATEGORIES= java JAVA_VARS= USE_JAVA=yes JAVA_CMAKE_BOOL= VTK_WRAP_JAVA Module_vtkWrappingJava JAVA_CMAKE_ON= -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ATCH}/libjava.so TCLTK_USES= tk TCLTK_CMAKE_BOOL= VTK_WRAP_TCL VTK_Group_Tk TCLTK_CMAKE_ON= -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} DOCS_CMAKE_BOOL= BUILD_DOCUMENTATION DOCS_BUILD_DEPENDS= doxygen:devel/doxygen EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES # Mangling so that it will build when science/netcdf is installed. post-patch: @${MV} ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/netcdf.h \ ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/xxxnetcdf.h @${FIND} ${WRKSRC}/ThirdParty/netcdf -type f | ${XARGS} ${REINPLACE_CMD} \ -E 's/[[:<:]]netcdf\.h[[:>:]]/xxxnetcdf.h/' .include .for g in ${VTK_GROUPS} . if ${PORT_OPTIONS:M${g}} CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=ON . else CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=OFF . endif .endfor .if !${PORT_OPTIONS:MOSMESA} USES+= gl USE_GL= gl glu .endif post-install: # autoplist: thousands of files, complex dependencies on options @cd ${STAGEDIR}${PREFIX} && \ ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile index c2c4b4c690ee..13dba74c3eaf 100644 --- a/math/vtk9/Makefile +++ b/math/vtk9/Makefile @@ -1,136 +1,136 @@ PORTNAME= vtk DISTVERSION= 9.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math graphics MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 9 DISTNAME= ${PORTNAME:tu}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Visualization toolkit LICENSE= BSD3CLAUSE LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 USES= alias cmake compiler:c++11-lang gl jpeg localbase xorg USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} USE_XORG= ice x11 xt xext sm CMAKE_ON= BUILD_SHARED_LIBS \ VTK_INSTALL_NO_DOCUMENTATION VTK_USE_SYSTEM_EXPAT VTK_USE_SYSTEM_TIFF \ VTK_USE_SYSTEM_PNG VTK_USE_SYSTEM_JPEG VTK_USE_SYSTEM_FREETYPE VTK_USE_SYSTEM_ZLIB \ Module_vtkTestingCore Module_vtkTestingRendering CMAKE_ARGS= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DSTAGEDIR=${STAGEDIR} VTK_SHORT_VER= ${PORTVERSION:R} DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options OPTIONS_DEFINE= DESIGNER DOCS OSMESA PYTHON QT5 EXAMPLES OPTIONS_DEFAULT= MPI PYTHON QT5 # vtk python binding is needed by other packages, and is unfortunately is unseparable. It is a candidate to be a subpackage. OSMESA_DESC= Use Mesa for off-screen rendering DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes # Options groups #VTK_GROUPS= Imaging MPI Qt Rendering StandAlone Views VTK_GROUPS= MPI VTK_WRAPS= JAVA TCLTK OPTIONS_GROUP= GROUPS WRAPPING OPTIONS_GROUP_GROUPS=${VTK_GROUPS} OPTIONS_GROUP_WRAPPING=${VTK_WRAPS} GROUPS_DESC= Groups WRAPPING_DESC= Wrapping .for g in ${VTK_GROUPS} $g_DESC= Build the $g group .endfor .for w in ${VTK_WRAPS} $w_DESC= $w wrapping .endfor PYTHON_USES= python:3.6+ PYTHON_CMAKE_BOOL= VTK_WRAP_PYTHON PYTHON_CMAKE_ON= -DVTK_PYTHON_VERSION=${PYTHON_MAJOR_VER} PYTHON_VARS= SUB_FILES=PKG-INFO SUB_LIST=PORTVERSION=${PORTVERSION} QT5_USES= qt:5 QT5_USE= QT=core,gui,sql,uiplugin,widgets,x11extras,qmake_build,buildtools_build QT5_CMAKE_ON= -DVTK_QT_VERSION:STRING="5" \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 \ -DVTK_Group_Qt:BOOL=ON DESIGNER_CMAKE_BOOL= QT_DESIGNER_PLUGIN DESIGNER_USE= QT=designer DESIGNER_IMPLIES= QT5 MPI_LIB_DEPENDS= libmpi.so:net/openmpi MPI_CMAKE_ON= -DMPIEXEC=${LOCALBASE}/mpi/openmpi/bin/mpiexec OSMESA_CMAKE_ON= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa # Wrapping JAVA_CATEGORIES= java JAVA_VARS= USE_JAVA=yes JAVA_CMAKE_BOOL= VTK_WRAP_JAVA Module_vtkWrappingJava JAVA_CMAKE_ON= -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ATCH}/libjava.so TCLTK_USES= tk TCLTK_CMAKE_BOOL= VTK_WRAP_TCL VTK_Group_Tk TCLTK_CMAKE_ON= -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} DOCS_CMAKE_BOOL= BUILD_DOCUMENTATION DOCS_BUILD_DEPENDS= doxygen:devel/doxygen EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES # Mangling so that it will build when science/netcdf is installed. post-patch: @${MV} ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/netcdf.h \ ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/xxxnetcdf.h @${FIND} ${WRKSRC}/ThirdParty/netcdf -type f | ${XARGS} ${REINPLACE_CMD} \ -E 's/[[:<:]]netcdf\.h[[:>:]]/xxxnetcdf.h/' .include .for g in ${VTK_GROUPS} . if ${PORT_OPTIONS:M${g}} CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=ON . else CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=OFF . endif .endfor .if !${PORT_OPTIONS:MOSMESA} USES+= gl USE_GL= gl glu .endif CONFLICTS= vtk6 vtk8 do-install-PYTHON-on: # cmake doesn't install pip's .egg-info: https://gitlab.kitware.com/vtk/vtk/-/issues/18087 @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info @${INSTALL_DATA} ${WRKDIR}/PKG-INFO ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info post-install: # autoplist: thousands of files, complex dependencies on options @cd ${STAGEDIR}${PREFIX} && \ ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/math/zegrapher/Makefile b/math/zegrapher/Makefile index 2cff2e1769ac..79e86009ed05 100644 --- a/math/zegrapher/Makefile +++ b/math/zegrapher/Makefile @@ -1,29 +1,30 @@ PORTNAME= ZeGrapher DISTVERSIONPREFIX= v DISTVERSION= 3.1.1.20200921 +PORTREVISION= 1 CATEGORIES= math graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Software for plotting mathematical objects LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/boost/math/special_functions/binomial.hpp:devel/boost-libs USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= AdelKS GH_TAGNAME= 6832bd61291b3e82bc05233ae74e8d7556abe910 USE_QT= core gui network printsupport svg widgets buildtools_build USE_GL= gl PLIST_FILES= bin/${PORTNAME} \ share/${PORTNAME}/locale/${PORTNAME}_fr.qm \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/128x128/apps/${PORTNAME}.png \ share/metainfo/ZeGrapher.appdata.xml PORTSCOUT= limit:^[1-9].* .include diff --git a/misc/actiona/Makefile b/misc/actiona/Makefile index 3796a75a0634..de12bd6fada1 100644 --- a/misc/actiona/Makefile +++ b/misc/actiona/Makefile @@ -1,40 +1,40 @@ PORTNAME= actiona DISTVERSIONPREFIX= v DISTVERSION= 3.10.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Cross-platform automation tool LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/boost/property_tree/ini_parser.hpp:devel/boost-libs LIB_DEPENDS= libnotify.so:devel/libnotify \ libopencv_core.so:graphics/opencv USES= compiler:c++11-lang desktop-file-utils gl pkgconfig qmake \ gnome qt:5 shared-mime-info xorg USE_GITHUB= yes GH_ACCOUNT= Jmgr USE_QT= concurrent core dbus gui multimedia network script scripttools speech sql widgets x11extras xml xmlpatterns \ buildtools_build uitools_build USE_GNOME= gdkpixbuf2 glib20 USE_GL= gl USE_XORG= x11 xtst QMAKE_ARGS= PKGCONFIG_OPENCV=opencv4 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= QT=linguisttools_build pre-build-NLS-on: # this is a hackish way to turn NLS on/off, asked the upstream to have the NLS option @cd ${WRKSRC} && ${MAKE_CMD} locale_release post-stage-NLS-off: @${RM} -r ${STAGEDIR}${DATADIR} .include diff --git a/misc/crosti/Makefile b/misc/crosti/Makefile index 9e7d9e79146c..0df6e8739cc7 100644 --- a/misc/crosti/Makefile +++ b/misc/crosti/Makefile @@ -1,22 +1,22 @@ PORTNAME= crosti DISTVERSION= 1.14.0 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONSUFFIX= -source CATEGORIES= misc #MASTER_SITES= SF/crosti/crosti%20${DISTVERSION}/ # size mismatch: expected 671143, actual 661721 MASTER_SITES= https://managedway.dl.sourceforge.net/project/crosti/crosti%201.14.0/ MAINTAINER= yuri@FreeBSD.org COMMENT= Convert custom image to cross stitch design, edit stitch designs LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/gpl.txt USES= compiler:c++11-lang desktop-file-utils dos2unix gl qmake qt:5 \ shared-mime-info zip DOS2UNIX_GLOB= *.cpp *.csc *.h *.pro *.txt *.xml USE_GL= gl USE_QT= concurrent core gui printsupport svg widgets buildtools_build NO_WRKSUBDIR= yes .include diff --git a/misc/dartsim/Makefile b/misc/dartsim/Makefile index fc99144c832f..0219d1de271c 100644 --- a/misc/dartsim/Makefile +++ b/misc/dartsim/Makefile @@ -1,54 +1,54 @@ PORTNAME= dartsim DISTVERSIONPREFIX= v DISTVERSION= 6.9.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Dynamic Animation and Robotics Toolkit LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= clang failure: https://bugs.llvm.org/show_bug.cgi?id=41757 BUILD_DEPENDS= pagmo2>0:science/pagmo2 LIB_DEPENDS= libassimp.so:multimedia/assimp \ libBulletDynamics.so:devel/bullet \ libboost_system.so:devel/boost-libs \ libccd.so:math/libccd \ libconsole_bridge.so:devel/ros-console_bridge \ libfcl.so:math/fcl \ libflann_cpp.so:math/flann \ libipopt.so:math/ipopt \ liblz4.so:archivers/liblz4 \ liboctomap.so:math/octomap \ libode.so:devel/ode \ libosg.so:graphics/osg34 \ libnlopt.so:math/nlopt \ libpagmo.so:science/pagmo2 \ libtbb.so:devel/tbb \ libtinyxml2.so:textproc/tinyxml2 \ liburdfdom_world.so:devel/ros-urdfdom USES= cmake compiler:c++17-lang eigen:3,build,run gl localbase:ldflags \ pkgconfig xorg USE_GITHUB= yes GH_PROJECT= dart USE_GL= gl glu glut USE_XORG= xi xmu USE_CXXSTD= c++17 # missing in the project, it uses std::void_t (through pagmo2) which is a c++17 feature USE_LDCONFIG= yes CXXFLAGS+= -I${LOCALBASE}/include/coin # because of pagmo2 headers include CMAKE_ON= BUILD_SHARED_LIBS # DART_VERBOSE DATADIR= share/dart DOCSDIR= ${PREFIX}/share/doc/dart OPTIONS_DEFINE= DOCS PORTDOCS= * .include diff --git a/misc/openhantek/Makefile b/misc/openhantek/Makefile index 90c51bbc3456..75e25b3605a7 100644 --- a/misc/openhantek/Makefile +++ b/misc/openhantek/Makefile @@ -1,33 +1,34 @@ PORTNAME= openhantek DISTVERSION= 3.2.3 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Digital Software Oscilloscope (DSO) software for Hantek oscilloscopes LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfftw3.so:math/fftw3 USES= cmake compiler:c++11-lang gl localbase qt:5 USE_GITHUB= yes GH_ACCOUNT= OpenHantek GH_PROJECT= OpenHantek6022 # there's also the openhantek project which OpenHantek6022 is a fork of USE_QT= core gui opengl printsupport widgets buildtools_build linguist_build qmake_build USE_GL= gl glu OPTIONS_DEFINE= HANTEK_AC HANTEK_AC_DESC= Allow AC input with a modified hardware HANTEK_AC_CMAKE_ON= -DHANTEK_AC=1 PLIST_FILES= bin/OpenHantek \ etc/devd/openhantek.conf \ share/applications/OpenHantek.desktop \ share/icons/hicolor/48x48/apps/OpenHantek.png \ share/icons/hicolor/scalable/apps/OpenHantek.svg PORTSCOUT= limit:^.*[1-9]\. # prevent words like 'unstable' .include diff --git a/misc/openvdb/Makefile b/misc/openvdb/Makefile index c6fb8fb46b18..ae665bf136d3 100644 --- a/misc/openvdb/Makefile +++ b/misc/openvdb/Makefile @@ -1,53 +1,54 @@ PORTNAME= openvdb DISTVERSIONPREFIX= v DISTVERSION= 8.1.0 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Tools for storage and manipulation of sparse volumetric data LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libblosc.so:archivers/c-blosc \ libboost_system.so:devel/boost-libs \ libImath.so:math/Imath \ libtbb.so:devel/tbb TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++11-lang localbase:ldflags pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation CMAKE_ARGS= -DCONCURRENT_MALLOC="Tbbmalloc" CMAKE_OFF= OPENVDB_CORE_STATIC CMAKE_TESTING_ON= OPENVDB_BUILD_UNITTESTS # one test fails: https://github.com/AcademySoftwareFoundation/openvdb/issues/1103 OPTIONS_DEFINE= PYTHON TOOLS #DOCS # TOOLS and PYTHON should be made into subpackages OPTIONS_DEFAULT= PYTHON TOOLS OPTIONS_SUB= yes PYTHON_USES= python PYTHON_CMAKE_BOOL= OPENVDB_BUILD_PYTHON_MODULE PYTHON_CMAKE_ON= -DFREEBSD_PYTHON_VER:STRING=${PYTHON_VER} -DUSE_NUMPY:BOOL=ON PYTHON_LIB_DEPENDS= ${PY_BOOST} PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} TOOLS_DESC= Build CLI tools TOOLS_CMAKE_BOOL= OPENVDB_BUILD_BINARIES OPENVDB_BUILD_VDB_LOD \ OPENVDB_BUILD_VDB_RENDER OPENVDB_BUILD_VDB_VIEW TOOLS_LIB_DEPENDS= libglfw.so:graphics/glfw \ libOpenEXR.so:graphics/openexr TOOLS_USES= gl xorg TOOLS_USE= GL=gl,glu XORG=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm # DOCS is broken: https://github.com/AcademySoftwareFoundation/openvdb/issues/899 #DOCS_CMAKE_BOOL= OPENVDB_BUILD_DOCS #DOCS_BUILD_DEPENDS= doxygen:devel/doxygen #PORTDOCS= * .include diff --git a/misc/orion/Makefile b/misc/orion/Makefile index 0f4b99dcbd22..0e202801afa9 100644 --- a/misc/orion/Makefile +++ b/misc/orion/Makefile @@ -1,30 +1,31 @@ PORTNAME= orion DISTVERSION= 1.6.7-12 DISTVERSIONSUFFIX= -gec8400c +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= QML/C++-written desktop client for Twitch.tv LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libmpv.so:multimedia/mpv USES= compiler:c++14-lang gl qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= drac69 USE_QT= core declarative graphicaleffects gui network quickcontrols2 svg widgets buildtools_build USE_GL= gl PLIST_FILES= bin/${PORTNAME} \ share/applications/Orion.desktop \ share/icons/hicolor/scalable/apps/${PORTNAME}.svgz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/distfiles/Orion.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${GZIP_CMD} ${GZIP} < ${WRKSRC}/distfiles/${PORTNAME}.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svgz .include diff --git a/misc/qbrew/Makefile b/misc/qbrew/Makefile index 0644e81b54e9..b68107afc86b 100644 --- a/misc/qbrew/Makefile +++ b/misc/qbrew/Makefile @@ -1,32 +1,32 @@ # Created by: David Johnson PORTNAME= qbrew PORTVERSION= 0.4.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= misc MASTER_SITES= http://www.usermode.org/code/ MAINTAINER= adridg@FreeBSD.org COMMENT= Homebrewer's recipe calculator LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang gl qmake qt:5 USE_GL= gl USE_QT= buildtools_build qmake_build \ core gui printsupport widgets xml QMAKE_ARGS= CONFIG+="configure" QMAKE_ENV+= BINDIR="${PREFIX}/bin" \ DATADIR="${DATADIR}" \ DOCDIR="${DOCSDIR}" OPTIONS_DEFINE= DOCS PORTDOCS= * post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbrew .include diff --git a/misc/qt5ct/Makefile b/misc/qt5ct/Makefile index e4e3ec68c8b6..9ac7ccbdfea7 100644 --- a/misc/qt5ct/Makefile +++ b/misc/qt5ct/Makefile @@ -1,29 +1,30 @@ PORTNAME= qt5ct DISTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= SF/${PORTNAME} MAINTAINER= tcberner@FreeBSD.org COMMENT= Qt 5 configuration tool LICENSE= BSD2CLAUSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= cmake compiler:c++11-lang gettext-runtime gl gnome \ qt:5 tar:bz2 xorg USE_QT= concurrent core dbus gui paths svg widgets \ buildtools_build linguisttools_build qmake_build USE_GL= egl gl USE_XORG= x11 xext xrender USE_GNOME= glib20 USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS post-install-DOCS-on: ${MKDIR} ${STAGEDIR}/${DOCSDIR} && \ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR} .include diff --git a/misc/raspberrypi-userland/Makefile b/misc/raspberrypi-userland/Makefile index 42fad99b9736..9060c401731a 100644 --- a/misc/raspberrypi-userland/Makefile +++ b/misc/raspberrypi-userland/Makefile @@ -1,64 +1,65 @@ # Created by: Mikael Urankar PORTNAME= raspberrypi-userland PORTVERSION= 20161026 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= ports@FreeBSD.org COMMENT= Various libraries for the Raspberry Pi LICENSE= BSD3CLAUSE ONLY_FOR_ARCHS= armv6 armv7 CONFLICTS_INSTALL= libglvnd USES= cmake pkgconfig shebangfix USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= gonzoua GH_PROJECT= userland GH_TAGNAME= e143b48 CMAKE_ARGS+= -DVMCS_INSTALL_PREFIX=${PREFIX} \ -DCMAKE_TOOLCHAIN_FILE=${WRKSRC}/makefiles/cmake/toolchains/arm-freebsd.cmake SHEBANG_FILES= host_applications/linux/apps/dtoverlay/dtoverlay-post \ host_applications/linux/apps/dtoverlay/dtoverlay-pre OPTIONS_DEFINE= EXAMPLES DEBUG EXAMPLES_DESC= Install test applications source code (hello_pi) EXAMPLES_LIB_DEPENDS= libfreetype.so:print/freetype2 DEBUG_CFLAGS_OFF= -DNDEBUG LLD_UNSAFE= yes post-patch: @${REINPLACE_CMD} -e "s|/opt/vc|${PREFIX}|g" \ ${WRKSRC}/makefiles/cmake/vmcs.cmake \ ${WRKSRC}/host_applications/linux/apps/hello_pi/Makefile.include @${REINPLACE_CMD} -e "s|CMAKE_C_COMPILER cc|CMAKE_C_COMPILER ${CC}|g" \ -e "s|CMAKE_CXX_COMPILER c++|CMAKE_C_COMPILER ${CXX}|g" \ -e "s|CMAKE_ASM_COMPILER as|CMAKE_C_COMPILER ${CC}|g" \ ${WRKSRC}/makefiles/cmake/toolchains/arm-freebsd.cmake # patches for hello_pi example @${REINPLACE_CMD} -e "s|make|gmake|g" \ ${WRKSRC}/host_applications/linux/apps/hello_pi/rebuild.sh @${REINPLACE_CMD} -e "s|gcc|cc|g" \ ${WRKSRC}/host_applications/linux/apps/hello_pi/hello_fft/makefile @${REINPLACE_CMD} -e "s|linux|sys|g" \ ${WRKSRC}/host_applications/linux/apps/hello_pi/hello_fft/mailbox.h @${REINPLACE_CMD} -e "s|LOCALBASE|${LOCALBASE}|g" \ ${WRKSRC}/host_applications/linux/apps/hello_pi/Makefile.include .for file in hello_fft/gpu_fft.txt hello_teapot/triangle.c hello_teapot/video.c hello_videocube/video.c @${REINPLACE_CMD} -e "s|/opt/vc/src|${EXAMPLESDIR}|g" \ ${WRKSRC}/host_applications/linux/apps/hello_pi/${file} .endfor post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/host_applications/linux/apps/hello_pi && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/hello_pi) .include diff --git a/misc/valentina/Makefile b/misc/valentina/Makefile index 3dc4350cf4af..1bb49e3be559 100644 --- a/misc/valentina/Makefile +++ b/misc/valentina/Makefile @@ -1,30 +1,31 @@ PORTNAME= valentina DISTVERSION= 0.7.47 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Sewing pattern drafting tool aiming to remake the garment industry LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE_GPL.txt USES= compiler:c++11-lang desktop-file-utils dos2unix gl gmake qmake qt:5 USE_QT= buildtools_build concurrent core gui linguisttools_build network \ opengl printsupport svg testlib_build widgets xml xmlpatterns USE_GL= gl USE_LDCONFIG= yes USE_GITLAB= yes GL_ACCOUNT= smart-pattern GL_COMMIT= 1ea8e1baaae9b06a4d290ddb654c076bb762ceac DOS2UNIX_FILES= src/libs/vgeometry/vellipticalarc.cpp QMAKE_ARGS= CONFIG+="noTests" CONFIG+="noRunPath" .if !defined(WITH_CCACHE_BUILD) || defined(NO_CCACHE) QMAKE_ARGS+= CONFIG+="no_ccache" .endif BINARY_ALIAS= hg=/usr/bin/true git=/usr/bin/false .include diff --git a/multimedia/QtAV/Makefile b/multimedia/QtAV/Makefile index 54ec552827b8..bb5cac8da2a0 100644 --- a/multimedia/QtAV/Makefile +++ b/multimedia/QtAV/Makefile @@ -1,52 +1,52 @@ PORTNAME= QtAV DISTVERSIONPREFIX= v DISTVERSION= 1.13.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia DIST_SUBDIR= KDE PATCH_SITES= https://github.com/wang-bin/QtAV/commit/ PATCHFILES= 5abba7f0505e75fceabd4dd8992a7e02bb149d64.patch:-p1 MAINTAINER= kde@FreeBSD.org COMMENT= Cross-platform multimedia framwork based on Qt and ffmpeg LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/lgpl-2.1.txt LIB_DEPENDS= libass.so:multimedia/libass \ libavcodec.so:multimedia/ffmpeg USES= compiler:c++11-lang gl qmake:outsource qt:5 xorg USE_GL= gl USE_QT= core declarative gui network opengl sql widgets \ buildtools_build qmake_build USE_XORG= x11 xext xv OPTIONS_DEFINE= OPENAL UCHARDET VAAPI PULSEAUDIO OPTIONS_DEFAULT= OPENAL UCHARDET VAAPI OPTIONS_SUB= yes OPENAL_LIB_DEPENDS= libopenal.so:audio/openal-soft OPENAL_QMAKE_OFF= CONFIG+=no-openal PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_QMAKE_OFF= CONFIG+=no-pulseaudio UCHARDET_DESC= Guess subtitle encoding via uchardet UCHARDET_LIB_DEPENDS= libuchardet.so:textproc/uchardet UCHARDET_QMAKE_OFF= CONFIG+=no-uchardet VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_QMAKE_OFF= CONFIG+=no-vaapi PLIST_SUB= QT_VERSION="${_QT_VERSION}" USE_GITHUB= yes GH_ACCOUNT= wang-bin # The examples are GLPv3 licencensed and have too generic names, like 'Player', # so don't install them. QMAKE_ARGS= CONFIG+=no-examples .include diff --git a/multimedia/aegisub/Makefile b/multimedia/aegisub/Makefile index 23b605092256..d54af5def1a1 100644 --- a/multimedia/aegisub/Makefile +++ b/multimedia/aegisub/Makefile @@ -1,92 +1,92 @@ # Created by: Leinier Cruz Salfran PORTNAME= aegisub PORTVERSION= 3.2.2 -PORTREVISION= 49 +PORTREVISION= 50 CATEGORIES= multimedia MASTER_SITES= http://ftp.aegisub.org/pub/archives/releases/source/ \ ftp://ftp.aegisub.org/pub/archives/releases/source/ \ ftp://ftp2.aegisub.org/pub/archives/releases/source/ MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform subtitle editor LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENCE BROKEN_aarch64= Fails to compile: no support for this architecture (yet) NOT_FOR_ARCHS= powerpc64 powerpc64le NOT_FOR_ARCHS_REASON_powerpc64= No support for PowerPC 64 bit mode NOT_FOR_ARCHS_REASON_powerpc64le= No support for PowerPC 64 bit mode LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libicui18n.so:devel/icu \ libass.so:multimedia/libass \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c++11-lib desktop-file-utils gettext gl gmake gnome \ iconv localbase pkgconfig tar:xz USE_GNOME= intltool USE_WX= 3.0 WX_CONF_ARGS= absolute USE_GL= gl USE_CSTD= c99 USE_CXXSTD= c++11 CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 LDFLAGS+= -Wl,--as-needed # freetype GNU_CONFIGURE= yes CONFIGURE_ENV= ICONV_LIBS="${ICONV_LIB}" PTHREAD_LIBS="-pthread" \ agi_cv_with_iconv=yes CONFIGURE_ARGS= --disable-compiler-flags \ --disable-gcc-prec \ --disable-sanity-checks \ --disable-update-checker \ --without-libc++ \ ${ICONV_CONFIGURE_ARG} INSTALLS_ICONS= yes PLIST_SUB= VERSION="${PORTVERSION:R}" OPTIONS_DEFINE= ALSA DOCS FFMPEG FFTW HUNSPELL OPENAL PORTAUDIO \ PULSEAUDIO OPTIONS_DEFAULT= FFMPEG FFTW HUNSPELL PULSEAUDIO ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --without-alsa FFMPEG_LIB_DEPENDS= libffms2.so:multimedia/ffms2 FFMPEG_CONFIGURE_OFF= --without-ffms FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW_CONFIGURE_OFF= --without-fftw3 HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell HUNSPELL_CONFIGURE_OFF= --without-hunspell OPENAL_USES= openal OPENAL_CONFIGURE_OFF= --without-openal PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CONFIGURE_OFF=\ --without-portaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF=\ --without-libpulse # src/audio_display.o: undefined reference to symbol '__atomic_load_8@@LIBATOMIC_1.0' .if empty(CFLAGS:M-march=*) CFLAGS+= ${CFLAGS_${ARCH}_${CHOSEN_COMPILER_TYPE}} CFLAGS_i386_gcc= -march=pentium .endif post-patch: @${REINPLACE_CMD} -e \ 's| -O3||' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|".*build/|"./build/|' ${WRKSRC}/build/version.sh @${REINPLACE_CMD} -e \ 's|^CC=|CC?=| ; \ /^CCOPT_/s|=.*|=| ; \ /^CCDEBUG/s|=.*|=|' ${WRKSRC}/vendor/luajit/src/Makefile post-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} \ automation/v4-docs ${STAGEDIR}${DOCSDIR}) @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aegisub-* .include diff --git a/multimedia/arcan/Makefile b/multimedia/arcan/Makefile index 00d567a94bf0..b21d360a533a 100644 --- a/multimedia/arcan/Makefile +++ b/multimedia/arcan/Makefile @@ -1,116 +1,116 @@ PORTNAME= arcan DISTVERSION= 0.6.0.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= multimedia PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 347240c18313.patch:-p2 # https://github.com/letoram/arcan/pull/229 PATCHFILES+= bbdb86c8be1b.patch:-p2 # https://github.com/letoram/arcan/pull/230 MAINTAINER= jbeich@FreeBSD.org COMMENT= Display Server, Multimedia Framework, Game Engine LICENSE= BSD3CLAUSE GPLv2+ LGPL21+ LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE=${WRKSRC:H}/data/distr/LICENSE.BSD LICENSE_FILE_GPLv2+ = ${WRKSRC:H}/data/distr/LICENSE.GPL LICENSE_FILE_LGPL21+ = ${WRKSRC:H}/data/distr/LICENSE.LGPL LIB_DEPENDS= libdrm.so:graphics/libdrm \ libfreetype.so:print/freetype2 RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri USES= cmake compiler:c11 gl iconv openal pkgconfig sqlite USE_GITHUB= yes USE_GL= egl gbm gl USE_LDCONFIG= yes GH_ACCOUNT= letoram WRKSRC_SUBDIR= src CMAKE_ON= HYBRID_HEADLESS CMAKE_OFF= STATIC_LIBUVC CMAKE_ARGS= -DDISTR_TAG:STRING="portbld" \ -DENGINE_BUILDTAG:STRING="${DISTVERSIONFULL}" LDFLAGS+= -Wl,--as-needed # bzip2, ffmpeg, librt, libutil, lzma, zlib LDFLAGS_i386= -Wl,-z,notext OPTIONS_DEFINE= ESPEAK FFMPEG LUAJIT MANPAGES SDL SUID TESSERACT UVC VLC VNC WAYLAND OPTIONS_DEFAULT=ESPEAK FFMPEG LUAJIT MANPAGES SDL SUID TESSERACT UVC VLC VNC WAYLAND OPTIONS_SUB= yes ESPEAK_DESC= Text to speech via eSpeak ESPEAK_LIB_DEPENDS= libespeak.so:audio/espeak FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg MANPAGES_USE= RUBY=yes MANPAGES_VARS= RUBY_NO_RUN_DEPENDS=yes LUAJIT_DESC= Use LuaJIT instead of standard Lua LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty LUAJIT_USES_OFF= lua:51 LUAJIT_CMAKE_BOOL_OFF= DISABLE_JIT SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CMAKE_BOOL= HYBRID_SDL SUID_DESC= setuid bit on "${PORTNAME}" binary SUID_PLIST_SUB= MAYBE_SUID="@(,,4755) " SUID_PLIST_SUB_OFF= MAYBE_SUID="@(,,0755) " TESSERACT_DESC= Optical Character Recognition via Tesseract TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract VLC_DESC= Video decode via libvlc VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc UVC_DESC= USB video cameras via libuvc UVC_LIB_DEPENDS= libuvc.so:multimedia/libuvc UVC_CMAKE_BOOL= FSRV_DECODE_UVC VNC_DESC= VNC client/server support VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-server.so:graphics/wayland \ libxcb-icccm.so:x11/xcb-util-wm \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= xwayland-devel>0:x11-servers/xwayland-devel WAYLAND_USES= xorg WAYLAND_USE= XORG=xcb WAYLAND_CMAKE_BOOL_OFF= DISABLE_WAYLAND post-patch: @${REINPLACE_CMD} -i.prefix 's,/usr/local,${PREFIX},g' \ ${WRKSRC:H}/doc/${PORTNAME}.1 \ ${WRKSRC}/engine/arcan_vr.c \ ${WRKSRC}/frameserver/decode/default/decode_av.c \ ${WRKSRC}/frameserver/terminal/default/arcterm.c \ ${WRKSRC}/frameserver/terminal/default/cli.c \ ${WRKSRC}/frameserver/terminal/default/cli_builtin.c \ ${WRKSRC}/platform/posix/paths.c \ ${WRKSRC}/shmif/arcan_shmif_debugif.c pre-configure-MANPAGES-on: @${RUBY} -C ${WRKSRC:H}/doc -Ku docgen.rb mangen 2>/dev/null post-patch-ESPEAK-off: @${REINPLACE_CMD} -i.noespeak '/find.*Espeak/d' \ ${WRKSRC}/frameserver/decode/default/CMakeLists.txt post-patch-FFMPEG-off: @${REINPLACE_CMD} -i.noffmpeg '/pkg.*FFMPEG/d' \ ${WRKSRC}/a12/CMakeLists.txt \ ${WRKSRC}/frameserver/decode/default/CMakeLists.txt \ ${WRKSRC}/frameserver/encode/default/CMakeLists.txt post-patch-TESSERACT-off: @${REINPLACE_CMD} -i.notesseract '/pkg.*tesseract/d' \ ${WRKSRC}/frameserver/encode/default/CMakeLists.txt post-patch-VNC-off: @${REINPLACE_CMD} -i.novnc '/pkg.*libvnc/d' \ ${WRKSRC}/frameserver/encode/default/CMakeLists.txt \ ${WRKSRC}/frameserver/remoting/default/CMakeLists.txt .include diff --git a/multimedia/avidemux-cli/Makefile b/multimedia/avidemux-cli/Makefile index 31e5f892341d..d84136c6f8ac 100644 --- a/multimedia/avidemux-cli/Makefile +++ b/multimedia/avidemux-cli/Makefile @@ -1,22 +1,23 @@ PORTNAME= avidemux PORTVERSION= ${AVIDEMUX_VERSION} +PORTREVISION= 1 CATEGORIES= multimedia PKGNAMESUFFIX= -cli MAINTAINER= multimedia@FreeBSD.org COMMENT= Simple GUI based video editor (cli) LIB_DEPENDS= libADM6avutil.so.56:multimedia/avidemux MASTERDIR= ${.CURDIR}/../avidemux PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile.common" CMAKE_SOURCE_PATH= ${WRKSRC}/avidemux/cli CMAKE_ARGS+= -DAVIDEMUX_SOURCE_DIR=${WRKSRC} -DAVIDEMUX_INSTALL_PREFIX:PATH="${PREFIX}" post-configure: post-configure-common .include diff --git a/multimedia/avidemux-qt5/Makefile b/multimedia/avidemux-qt5/Makefile index 39cf4c2254bf..1253dfbbefd4 100644 --- a/multimedia/avidemux-qt5/Makefile +++ b/multimedia/avidemux-qt5/Makefile @@ -1,23 +1,24 @@ PORTNAME= avidemux PORTVERSION= ${AVIDEMUX_VERSION} +PORTREVISION= 1 CATEGORIES= multimedia PKGNAMESUFFIX= -qt5 MAINTAINER= multimedia@FreeBSD.org COMMENT= Simple GUI based video editor (QT5 UI) LIB_DEPENDS= libADM6avutil.so.56:multimedia/avidemux MASTERDIR= ${.CURDIR}/../avidemux OPTIONS_SLAVE= QT5 PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile.common" CMAKE_SOURCE_PATH= ${WRKSRC}/avidemux/qt4 CMAKE_ARGS+= -DAVIDEMUX_SOURCE_DIR=${WRKSRC} -DAVIDEMUX_INSTALL_PREFIX:PATH="${PREFIX}" post-configure: post-configure-common .include diff --git a/multimedia/avidemux/Makefile b/multimedia/avidemux/Makefile index dc1a66ad1bbc..8b314acebe31 100644 --- a/multimedia/avidemux/Makefile +++ b/multimedia/avidemux/Makefile @@ -1,20 +1,20 @@ # Created by: Anish Mistry (with help from mean) # assuming freebsd always has 16 byte aligned malloc as macos does. is this true? # nls files not getting installed with nls=on. are they getting built? # sync port options with current software options PORTNAME= avidemux PORTVERSION= ${AVIDEMUX_VERSION} -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= multimedia@FreeBSD.org COMMENT= Simple GUI based video editor .include "${.CURDIR}/Makefile.common" CMAKE_SOURCE_PATH= ${WRKSRC}/avidemux_core post-configure: post-configure-common .include diff --git a/multimedia/bino/Makefile b/multimedia/bino/Makefile index da3be8cf26d5..9d8b8f2161e2 100644 --- a/multimedia/bino/Makefile +++ b/multimedia/bino/Makefile @@ -1,40 +1,40 @@ # Created by: Mykola Dzham PORTNAME= bino PORTVERSION= 1.6.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= multimedia MASTER_SITES= https://download.savannah.nongnu.org/releases/bino/ MAINTAINER= i@levsha.me COMMENT= 3D video player with multi-display support LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libass.so:multimedia/libass \ libavformat.so:multimedia/ffmpeg \ libopenal.so:audio/openal-soft USES= autoreconf compiler:c++11-lang desktop-file-utils gl gmake \ gnome iconv pkgconfig qt:5 tar:xz USE_GL= gl glu glew GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_QT= buildtools_build core gui opengl widgets USE_CXXSTD= c++11 # no port fow equalizer now, lirc detecting not working CONFIGURE_ARGS= --without-equalizer --without-lirc --docdir=${DOCSDIR} EXTRA_PATCHES= ${FILESDIR}/glew-fix-7098cd6a.patch INFO= bino OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE=nls .include diff --git a/multimedia/cheese/Makefile b/multimedia/cheese/Makefile index 245ff4013af0..90c7a2074a5e 100644 --- a/multimedia/cheese/Makefile +++ b/multimedia/cheese/Makefile @@ -1,45 +1,45 @@ # Created by: FreeBSD GNOME Team PORTNAME= cheese PORTVERSION= 3.38.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Photobooth-inspired app for taking pictures and videos from webcam LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat \ gnome-video-effects>=0:graphics/gnome-video-effects \ vala>=0.14.0:lang/vala \ itstool:textproc/itstool LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libjson-glib-1.0.so:devel/json-glib \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libclutter-gst-3.0.so:multimedia/clutter-gst3 RUN_DEPENDS= gnome-video-effects>=0:graphics/gnome-video-effects PORTSCOUT= limitw:1,even USES= gettext gl gnome localbase:ldflags pkgconfig meson tar:xz xorg USE_GNOME= cairo librsvg2 gnomedesktop3 libxml2:build introspection:build USE_GL= egl USE_XORG= xi xext xdamage xfixes xcomposite xrandr xxf86vm x11 USE_GSTREAMER1= bad good jpeg ogg theora v4l2 vorbis vpx INSTALLS_ICONS= yes USE_LDCONFIG= yes CPPFLAGS+= -Wno-format-nonliteral MESON_ARGS= -Dgtk_doc=false \ -Dman=false GLIB_SCHEMAS= org.gnome.Cheese.gschema.xml .include diff --git a/multimedia/clutter-gst/Makefile b/multimedia/clutter-gst/Makefile index 22b1981ea4a0..017f82a70001 100644 --- a/multimedia/clutter-gst/Makefile +++ b/multimedia/clutter-gst/Makefile @@ -1,29 +1,29 @@ # Created by: Martin Wilke PORTNAME= clutter-gst PORTVERSION= 2.0.18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Clutter GStreamer integration LIB_DEPENDS= libclutter-1.0.so:graphics/clutter PORTSCOUT= ignore:1 USES= gl gmake gnome libtool localbase pathfix \ pkgconfig tar:xz xorg USE_GNOME= introspection gnomeprefix GNU_CONFIGURE= yes USE_GL= gl USE_GSTREAMER1= yes USE_XORG= x11 USE_LDCONFIG= yes MAKE_ENV= XDG_CACHE_HOME=${WRKDIR} LDFLAGS+= -lpthread INSTALL_TARGET= install-strip .include diff --git a/multimedia/clutter-gst3/Makefile b/multimedia/clutter-gst3/Makefile index a6c99020dc01..123f9bafd36a 100644 --- a/multimedia/clutter-gst3/Makefile +++ b/multimedia/clutter-gst3/Makefile @@ -1,40 +1,41 @@ # Created by: Martin Wilke PORTNAME= clutter-gst PORTVERSION= 3.0.27 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= GNOME PKGNAMESUFFIX= 3 DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Clutter GStreamer integration LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \ libcogl-path.so:graphics/cogl \ libfribidi.so:converters/fribidi \ libjson-glib-1.0.so:devel/json-glib USES= gettext-runtime gl gmake gnome libtool localbase pathfix \ pkgconfig tar:xz xorg USE_GNOME= atk cairo gdkpixbuf2 gnomeprefix introspection:build pango GNU_CONFIGURE= yes USE_GL= gl egl USE_GSTREAMER1= yes USE_XORG= xcomposite xdamage xext xfixes xi xrandr x11 USE_LDCONFIG= yes MAKE_ENV= XDG_CACHE_HOME=${WRKDIR} CONFIGURE_ARGS= --disable-udev CPPFLAGS+= ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_LIBS} INSTALL_TARGET= install-strip # The clutter-gst gstreamer plugin is not parrallel installable with # the 2.0 version. But we install it anyway since all GNOME users # are switched. .include diff --git a/multimedia/dvbcut/Makefile b/multimedia/dvbcut/Makefile index eea3b0c8ef87..87a0c47549c5 100644 --- a/multimedia/dvbcut/Makefile +++ b/multimedia/dvbcut/Makefile @@ -1,58 +1,58 @@ # Created by: se@FreeBSD.org PORTNAME= dvbcut PORTVERSION= 0.7.3 DISTVERSIONPREFIX= v -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= multimedia MAINTAINER= se@FreeBSD.org COMMENT= Qt application for cutting of MPEG PS and MPEG TS streams (DVB) LICENSE= GPLv2 BUILD_DEPENDS= mplayer:multimedia/mplayer \ ffmpeg:multimedia/ffmpeg LIB_DEPENDS= liba52.so:audio/liba52 \ libao.so:audio/libao \ libmad.so:audio/libmad \ libavutil.so:multimedia/ffmpeg RUN_DEPENDS:= ${BUILD_DEPENDS} USES= compiler:c++11-lang desktop-file-utils gl pkgconfig \ qmake:outsource qt:5 shared-mime-info USE_QT= core gui widgets xml buildtools_build linguisttools_build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= bernhardu GH_PROJECT= dvbcut-deb CXXFLAGS+= -I${LOCALBASE}/include \ -I${LOCALBASE}/include/libavcodec \ -I${LOCALBASE}/include/libavformat \ -I${LOCALBASE}/include/libswscale \ -D DVBCUT_VERSION=${PORTVERSION} QMAKE_SOURCE_PATH=${WRKSRC}/src QMAKE_ARGS= LRELEASE="${LRELEASE}" PORTSCOUT= limit:^[^-]*$$ post-build: @${SED} -e 's;@prefix@;${PREFIX};' \ < ${WRKSRC}/dvbcut.desktop.in \ > ${WRKSRC}/dvbcut.desktop do-install: ${INSTALL_PROGRAM} ${WRKDIR}/.build/dvbcut ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/dvbcut.1 ${STAGEDIR}${MANPREFIX}/man/man1/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/dvbcut.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/dvbcut/icons/ ${INSTALL_DATA} ${WRKSRC}/dvbcut.svg ${STAGEDIR}${PREFIX}/share/dvbcut/icons/ ${INSTALL_DATA} ${WRKSRC}/icons/* ${STAGEDIR}${PREFIX}/share/dvbcut/icons/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/dvbcut.xml ${STAGEDIR}${PREFIX}/share/mime/packages/ .include diff --git a/multimedia/ffaudioconverter/Makefile b/multimedia/ffaudioconverter/Makefile index 301135a09444..159f7dd1d4d6 100644 --- a/multimedia/ffaudioconverter/Makefile +++ b/multimedia/ffaudioconverter/Makefile @@ -1,28 +1,29 @@ PORTNAME= FFaudioConverter DISTVERSIONPREFIX= v DISTVERSION= 0.29.1 +PORTREVISION= 1 CATEGORIES= multimedia audio MAINTAINER= yuri@FreeBSD.org COMMENT= Graphical audio covert and filter tool LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ffmpeg:multimedia/ffmpeg USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= Bleuzen USE_QT= concurrent core gui widgets buildtools_build linguisttools_build USE_GL= gl PLIST_FILES= bin/ffaudioconverter \ share/applications/com.github.Bleuzen.FFaudioConverter.desktop \ share/icons/hicolor/512x512/apps/com.github.Bleuzen.FFaudioConverter.png \ share/metainfo/com.github.Bleuzen.FFaudioConverter.appdata.xml post-patch: @${REINPLACE_CMD} 's|DEFAULT_FFMPEG_BINARY = .*|DEFAULT_FFMPEG_BINARY = ${LOCALBASE}/bin/ffmpeg|' ${WRKSRC}/FFaudioConverter.pro .include diff --git a/multimedia/gmerlin/Makefile b/multimedia/gmerlin/Makefile index a85ab7c7ec14..beec5a1c2409 100644 --- a/multimedia/gmerlin/Makefile +++ b/multimedia/gmerlin/Makefile @@ -1,82 +1,82 @@ PORTNAME= gmerlin PORTVERSION= 1.2.0 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= multimedia MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Multimedia framework LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexif.so:graphics/libexif \ libgavl.so:multimedia/gavl \ libfontconfig.so:x11-fonts/fontconfig USES= gettext gl gnome libtool makeinfo pathfix pkgconfig sqlite xorg USE_GNOME= gtk20 libxml2 USE_XORG= x11 xext xfixes xinerama xv USE_GL= gl GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_func_inotify_init=no CONFIGURE_ARGS= --disable-v4l --disable-v4l2 --disable-v4lconvert \ --without-doxygen --with-cpuflags=none --disable-musicbrainz \ --disable-esd USE_LDCONFIG= yes LLD_UNSAFE= yes INSTALL_TARGET= install-strip INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib LDFLAGS+= -Wl,--add-needed INFO= gmerlin OPTIONS_DEFINE= ALSA CDDB CDIO JACK JPEG LIBVISUAL \ OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF DOCS OPTIONS_DEFAULT= CDDB JACK JPEG LIBVISUAL \ OPTIMIZED_CFLAGS PNG PULSEAUDIO QUICKTIME TIFF OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa --disable-alsamixer CDDB_LIB_DEPENDS= libcddb.so:audio/libcddb CDDB_CONFIGURE_OFF= --disable-cddb CDIO_LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libcdio_cdda.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_OFF= --disable-libcdio JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --disable-libjpeg LIBVISUAL_LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04 LIBVISUAL_CONFIGURE_OFF=--disable-libvisual OPTIMIZED_CFLAGS_CFLAGS=-O3 -funroll-loops -fomit-frame-pointer -ffast-math PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_OFF= --disable-libpng PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF=--disable-pulseaudio QUICKTIME_LIB_DEPENDS= libquicktime.so:multimedia/libquicktime QUICKTIME_CONFIGURE_OFF=--disable-lqt TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_OFF= --disable-libtiff post-patch: @${REINPLACE_CMD} -e \ '/LIBS/s|-ldl || ; \ s|-DGTK_DISABLE_DEPRECATED|| ; \ s|-O3.*-ffast-math||' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|^texinfo_|#texinfo_|g' ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e \ 's|ln -sf $$(DESTDIR)|ln -sf |' ${WRKSRC}/icons/Makefile.in @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-ldl||g' post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}) .include diff --git a/multimedia/gstreamer1-qt/Makefile b/multimedia/gstreamer1-qt/Makefile index e5c851c553ba..df63d29010d8 100644 --- a/multimedia/gstreamer1-qt/Makefile +++ b/multimedia/gstreamer1-qt/Makefile @@ -1,33 +1,33 @@ PORTNAME= gstreamer1 PORTVERSION= 1.2.0 -PORTREVISION= 24 +PORTREVISION= 25 CATEGORIES= multimedia MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-gstreamer/ PKGNAMESUFFIX= -qt5 DISTNAME= qt-gstreamer-${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Qt ${FLAVOR:C/qt//} bindings for GStreamer 1.x multimedia library LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libgstreamer-1.0.so:multimedia/gstreamer1 CONFLICTS_INSTALL= gstreamer${PKGNAMESUFFIX}-* USES= bison cmake compiler:c++11-lang gl gnome pathfix pkgconfig qt:5 tar:xz USE_GSTREAMER1= yes USE_GL= gl USE_GNOME= glib20 USE_QT= buildtools_build qmake_build core declarative gui network opengl \ testlib widgets USE_LDCONFIG= yes CMAKE_OFF= USE_GST_PLUGIN_DIR USE_QT_PLUGIN_DIR CMAKE_ARGS= -DQT_VERSION=5 PLIST_SUB= SHLIB_VER="${PORTVERSION}" .include diff --git a/multimedia/gstreamer1-vaapi/Makefile b/multimedia/gstreamer1-vaapi/Makefile index c43d4a8f8489..ab98e0d21275 100644 --- a/multimedia/gstreamer1-vaapi/Makefile +++ b/multimedia/gstreamer1-vaapi/Makefile @@ -1,39 +1,39 @@ # Created by: Koop Mast PORTNAME= gstreamer1-vaapi PORTVERSION= 1.16.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer-vaapi/ DISTNAME= gstreamer-vaapi-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= GStreamer hardware video decoding via VA-API plug-in LICENSE= LGPL21 LIB_DEPENDS= libva.so:multimedia/libva GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= compiler:c11 gettext-runtime gl gmake gnome libtool \ pkgconfig tar:xz xorg USE_LDCONFIG= yes USE_GNOME= glib20 USE_GSTREAMER1= bad gl USE_GL= gl USE_XORG= x11 xrandr xrender xorgproto OPTIONS_DEFINE= DRM WAYLAND DRM_DESC= Raw KMS/DRM backend DRM_CONFIGURE_ENABLE= drm DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdrm.so:graphics/libdrm WAYLAND_CONFIGURE_ENABLE= wayland WAYLAND_LIB_DEPENDS= libva-wayland.so:multimedia/libva \ libwayland-client.so:graphics/wayland .include diff --git a/multimedia/kamoso/Makefile b/multimedia/kamoso/Makefile index 5f6791cde7aa..1f961a76edf6 100644 --- a/multimedia/kamoso/Makefile +++ b/multimedia/kamoso/Makefile @@ -1,24 +1,25 @@ PORTNAME= kamoso DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= multimedia kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Application to take pictures and videos out of your webcam LICENSE= GPLv2 USES= cmake compiler:c++11-lang gettext gl gnome kde:5 pkgconfig qt:5 \ tar:xz USE_GL= gl USE_GNOME= glib20 USE_GSTREAMER1= yes USE_KDE= auth bookmarks codecs completion config configwidgets \ coreaddons ecm i18n itemviews jobwidgets kio kirigami2 \ notifications purpose service solid widgetsaddons xmlgui USE_QT= concurrent core dbus declarative graphicaleffects gui network \ quickcontrols widgets xml \ buildtools_build qmake_build OPTIONS_DEFINE= DOCS .include diff --git a/multimedia/kdenlive/Makefile b/multimedia/kdenlive/Makefile index 77e1b223a9c7..b1ebda52c44e 100644 --- a/multimedia/kdenlive/Makefile +++ b/multimedia/kdenlive/Makefile @@ -1,69 +1,70 @@ PORTNAME= kdenlive DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= multimedia kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= KDE professional quality non-linear video editing suite LICENSE= GPLv2 LIB_DEPENDS= libmlt.so:multimedia/mlt \ librttr_core.so:devel/rttr BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:multimedia/ffmpeg${FFMPEG_SUFX} \ ${LOCALBASE}/lib/mlt/libmltqt.so:multimedia/mlt-qt5 USES= cmake compiler:c++11-lang desktop-file-utils gettext-tools \ gl pkgconfig qt:5 shared-mime-info kde:5 tar:xz xorg USE_GL= gl glu USE_KDE= archive attica auth bookmarks codecs completion config \ configwidgets coreaddons crash dbusaddons ecm filemetadata \ guiaddons i18n iconthemes kio itemviews jobwidgets \ kdeclarative newstuff notifications notifyconfig package \ service solid sonnet textwidgets widgetsaddons xmlgui \ init_run USE_QT= concurrent core dbus declarative gui multimedia network \ networkauth xml \ buildtools_build qmake_build \ quickcontrols_run script svg webkit widgets USE_XORG= x11 CFLAGS+= -I${LOCALBASE}/include # linux/input.h CMAKE_ARGS= -DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFX}" # Keep in sync with multimedia/mlt, possibly. FFMPEG_SUFX= # Currently empty. OPTIONS_DEFINE= DVDWIZARD FILESHARE FREI0R LADSPA SCREENCAST V4L XINE DOCS OPTIONS_DEFAULT=DVDWIZARD FILESHARE FREI0R LADSPA SCREENCAST V4L XINE OPTIONS_SUB= yes DVDWIZARD_DESC= DVD authoring via DVDAuthor and cdrtools FILESHARE_DESC= Common KF5 filesharing support SCREENCAST_DESC=Screen capture support via recordMyDesktop V4L_DESC= Webcam support via Video4Linux XINE_DESC= DVD preview support via xine DVDWIZARD_RUN_DEPENDS= dvdauthor:multimedia/dvdauthor \ cdrecord:sysutils/cdrtools FILESHARE_USE= KDE=purpose FILESHARE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5Purpose FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r-plugins LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins SCREENCAST_RUN_DEPENDS= recordmydesktop:multimedia/recordmydesktop V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CMAKE_OFF= -DWITH_LibV4L2:BOOL=FALSE XINE_RUN_DEPENDS= xine:multimedia/xine post-patch: @${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \ -e '/SharedMimeInfo/ d' \ ${PATCH_WRKSRC}/data/CMakeLists.txt .include diff --git a/multimedia/kodi-addon-screensaver.biogenesis/Makefile b/multimedia/kodi-addon-screensaver.biogenesis/Makefile index d180e049707e..f097e5cd2036 100644 --- a/multimedia/kodi-addon-screensaver.biogenesis/Makefile +++ b/multimedia/kodi-addon-screensaver.biogenesis/Makefile @@ -1,22 +1,23 @@ # Created by: Rozhuk Ivan PORTNAME= screensaver.biogenesis PORTVERSION= 2.5.0 DISTVERSIONSUFFIX= -Matrix +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= rozhuk.im@gmail.com COMMENT= BioGenesis screensaver for Kodi LICENSE= GPLv2+ USES= cmake gl kodi USE_GITHUB= yes GH_ACCOUNT= xbmc USE_GL= egl gl glu PLIST_SUB= SOVERSION=${PORTVERSION} CMAKE_ARGS= -DADDONS_TO_BUILD=${PORTNAME} .include diff --git a/multimedia/kodi-addon-screensaver.matrixtrails/Makefile b/multimedia/kodi-addon-screensaver.matrixtrails/Makefile index b990db0b68e6..42b63146d8fc 100644 --- a/multimedia/kodi-addon-screensaver.matrixtrails/Makefile +++ b/multimedia/kodi-addon-screensaver.matrixtrails/Makefile @@ -1,21 +1,22 @@ # Created by: Rozhuk Ivan PORTNAME= screensaver.matrixtrails PORTVERSION= 2.6.0 DISTVERSIONSUFFIX= -Matrix +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= rozhuk.im@gmail.com COMMENT= Matrix trails screensaver for Kodi LICENSE= GPLv2+ USES= cmake gl kodi USE_GITHUB= yes GH_ACCOUNT= xbmc USE_GL= egl gl glu CMAKE_ARGS= -DADDONS_TO_BUILD=${PORTNAME} .include diff --git a/multimedia/kodi-addon-screensaver.stars/Makefile b/multimedia/kodi-addon-screensaver.stars/Makefile index cb108a88c154..ba7ceda86bc2 100644 --- a/multimedia/kodi-addon-screensaver.stars/Makefile +++ b/multimedia/kodi-addon-screensaver.stars/Makefile @@ -1,23 +1,24 @@ # Created by: Rozhuk Ivan PORTNAME= screensaver.stars PORTVERSION= 2.4.0 DISTVERSIONSUFFIX= -Matrix +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= rozhuk.im@gmail.com COMMENT= Starfield screensaver for Kodi LICENSE= GPLv2+ USES= cmake compiler:c++14-lang gl kodi USE_GITHUB= yes GH_ACCOUNT= xbmc USE_CXXSTD= c++14 USE_GL= egl gl glu PLIST_SUB= SOVERSION=${PORTVERSION} CMAKE_ARGS= -DADDONS_TO_BUILD=${PORTNAME} .include diff --git a/multimedia/kodi-addon-visualization.fishbmc/Makefile b/multimedia/kodi-addon-visualization.fishbmc/Makefile index ed79bae272ee..c93de2337112 100644 --- a/multimedia/kodi-addon-visualization.fishbmc/Makefile +++ b/multimedia/kodi-addon-visualization.fishbmc/Makefile @@ -1,26 +1,26 @@ # Created by: Rozhuk Ivan PORTNAME= visualization.fishbmc PORTVERSION= 6.3.0 DISTVERSIONSUFFIX= -Matrix -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MAINTAINER= rozhuk.im@gmail.com COMMENT= Fische visualizer for Kodi LICENSE= GPLv2+ BUILD_DEPENDS= glm>0:math/glm USES= cmake localbase compiler:c++14-lang gl kodi USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= xbmc USE_GL= egl gl glu PLIST_SUB= SOVERSION=${PORTVERSION} CMAKE_ARGS= -DADDONS_TO_BUILD=${PORTNAME} .include diff --git a/multimedia/kodi-addon-visualization.shadertoy/Makefile b/multimedia/kodi-addon-visualization.shadertoy/Makefile index aac61bc752e3..fed6283e3857 100644 --- a/multimedia/kodi-addon-visualization.shadertoy/Makefile +++ b/multimedia/kodi-addon-visualization.shadertoy/Makefile @@ -1,29 +1,30 @@ # Created by: Rozhuk Ivan PORTNAME= visualization.shadertoy PORTVERSION= 2.3.0 DISTVERSIONSUFFIX= -Matrix +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= rozhuk.im@gmail.com COMMENT= Shadertoy visualizer for Kodi LICENSE= GPLv2+ BUILD_DEPENDS= glm>0:math/glm USES= cmake compiler:c++14-lang gl kodi localbase USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= xbmc USE_GL= egl gl glu PLIST_SUB= SOVERSION=${PORTVERSION} CMAKE_ARGS= -DADDONS_TO_BUILD=${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's|delete buffer;|delete[] buffer;|g' \ ${WRKSRC}/src/main.cpp .include diff --git a/multimedia/kodi-addon-visualization.spectrum/Makefile b/multimedia/kodi-addon-visualization.spectrum/Makefile index e98c1e432ccd..cfa8161ed9a2 100644 --- a/multimedia/kodi-addon-visualization.spectrum/Makefile +++ b/multimedia/kodi-addon-visualization.spectrum/Makefile @@ -1,25 +1,26 @@ # Created by: Rozhuk Ivan PORTNAME= visualization.spectrum PORTVERSION= 3.4.0 DISTVERSIONSUFFIX= -Matrix +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= rozhuk.im@gmail.com COMMENT= Spectrum visualizer for Kodi LICENSE= GPLv2+ BUILD_DEPENDS= glm>0:math/glm USES= cmake compiler:c++14-lang gl kodi localbase USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= xbmc USE_GL= egl gl glu PLIST_SUB= SOVERSION=${PORTVERSION} CMAKE_ARGS= -DADDONS_TO_BUILD=${PORTNAME} .include diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile index 08e555df2cb3..528bc6a7f8eb 100644 --- a/multimedia/kodi/Makefile +++ b/multimedia/kodi/Makefile @@ -1,293 +1,293 @@ PORTNAME= kodi DISTVERSION= 19.1 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONSUFFIX= -${KODI_CODENAME} CATEGORIES= multimedia java MAINTAINER= yzrh@noema.org COMMENT= Award winning media center application 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 \ libdav1d.so:multimedia/dav1d \ libdvdnav.so:multimedia/libdvdnav \ libdvdread.so:multimedia/libdvdread \ libexpat.so:textproc/expat2 \ libfmt.so:devel/libfmt \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libfstrcmp.so:devel/fstrcmp \ libgif.so:graphics/giflib \ 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 \ libuuid.so:misc/e2fsprogs-libuuid USES= cmake compiler:c++14-lang gettext \ gnome iconv jpeg pkgconfig python:3.5+ sqlite ssl KODI_CODENAME= Matrix USE_GITHUB= yes GH_ACCOUNT= xbmc GH_PROJECT= xbmc 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}} INSTALLS_ICONS= yes USE_LDCONFIG= yes USE_JAVA= yes JAVA_BUILD= jre USE_GNOME= libxml2 CMAKE_ARGS= -DGIT_VERSION="${GH_TAGNAME}" \ -DDVDNAV_LIBRARY="${LOCALBASE}/lib/libdvdnav.so" \ -DDVDREAD_LIBRARY="${LOCALBASE}/lib/libdvdread.so" \ -DLIBDVD_INCLUDE_DIRS="${LOCALBASE}/include" CMAKE_OFF= ENABLE_INTERNAL_CROSSGUID CONFIGURE_ENV= _CPU_FEATURE="${CPU_FEATURE}" OPTIONS_SUB= yes # Broken: BLUETOOTH OPTIONS_DEFINE= AIRPLAY AVAHI LIBBLURAY CEC DBUS DVDCSS LCMS2 \ LIRC WEBSERVER NFS DVD SMB TEST UDEV UPNP \ VAAPI VDPAU XSLT DOCS OPTIONS_DEFAULT= LIBBLURAY CEC DVDCSS LCMS2 WEBSERVER \ DVD UPNP VAAPI VDPAU XSLT 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_RADIO= DATABASE OPTIONS_RADIO_DATABASE= MARIADB MYSQL OPTIONS_GROUP= SOUND FEATURE PLATFORM # Broken: ALSA OPTIONS_GROUP_SOUND= 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 PLATFORM_DESC= Kodi platform DATABASE_DESC= Database FEATURE_DESC= X86 CPU feature AIRPLAY_DESC= AirPlay support BLUETOOTH_DESC= Bluetooth support CEC_DESC= CEC adapter support 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 MARIADB_DESC= MariaDB database 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 BLUETOOTH_CMAKE_BOOL= ENABLE_BLUETOOTH BLUETOOTH_CMAKE_ON= -DBLUETOOTH_INCLUDE_DIR="${LOCALBASE}/include" LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CMAKE_BOOL= ENABLE_BLURAY CEC_LIB_DEPENDS= libcec.so:multimedia/libcec CEC_CMAKE_BOOL= ENABLE_CEC DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_BOOL= ENABLE_DBUS DVDCSS_LIB_DEPENDS= libdvdcss.so:multimedia/libdvdcss DVDCSS_CMAKE_BOOL= ENABLE_DVDCSS DVDCSS_CMAKE_ON= -DDVDCSS_LIBRARY="${LOCALBASE}/lib/libdvdcss.so" 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_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" GLES_CMAKE_ON= -DAPP_RENDER_SYSTEM:STRING="gles" MARIADB_USES= mysql:105m MARIADB_CMAKE_BOOL= ENABLE_MARIADBCLIENT MARIADB_CMAKE_ON= -DMARIADBCLIENT_INCLUDE_DIR="${LOCALBASE}/include" MYSQL_USES= mysql MYSQL_CMAKE_BOOL= ENABLE_MYSQLCLIENT ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= ENABLE_ALSA 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_USES= gl GBM_USE= GL=egl,gbm,glu GBM_CFLAGS= -I${LOCALBASE}/include/libepoll-shim GBM_LDFLAGS= -L${LOCALBASE}/lib -lepoll-shim 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 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_USES= xorg gl X11_USE= XORG=x11,xext,xrandr GL=egl,gbm,gl,glu X11_LIB_DEPENDS= libdrm.so:graphics/libdrm .include .if !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11) CMAKE_ARGS+= -DCORE_PLATFORM_NAME:STRING="gbm wayland x11" .elif empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11) CMAKE_ARGS+= -DCORE_PLATFORM_NAME:STRING="wayland x11" .elif !empty(PORT_OPTIONS:MGBM) && empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11) CMAKE_ARGS+= -DCORE_PLATFORM_NAME:STRING="gbm x11" .elif !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) && empty(PORT_OPTIONS:MX11) CMAKE_ARGS+= -DCORE_PLATFORM_NAME:STRING="gbm wayland" .elif empty(PORT_OPTIONS:MGBM) && empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11) CMAKE_ARGS+= -DCORE_PLATFORM_NAME:STRING="x11" .elif empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) && empty(PORT_OPTIONS:MX11) CMAKE_ARGS+= -DCORE_PLATFORM_NAME:STRING="wayland" .elif !empty(PORT_OPTIONS:MGBM) && empty(PORT_OPTIONS:MWAYLAND) && empty(PORT_OPTIONS:MX11) CMAKE_ARGS+= -DCORE_PLATFORM_NAME:STRING="gbm" .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-patch: ${REINPLACE_CMD} 's|KODI_DEPENDSBUILD|true|' \ ${WRKSRC}/cmake/modules/FindLibDvd.cmake ${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}${MAN1PREFIX}/man/man1 cd ${STAGEDIR}${MAN1PREFIX}/man/man1 && ${LN} -s kodi.bin.1.gz kodi.1.gz cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} TexturePacker JsonSchemaBuilder ${FIND} ${STAGEDIR}${PREFIX}/lib/kodi -type f -name '*.so' -print0 | ${XARGS} -0 ${STRIP_CMD} ${RM} -rf ${STAGEDIR}${PREFIX}/lib/firewalld .include diff --git a/multimedia/libva-glx/Makefile b/multimedia/libva-glx/Makefile index 439bbd9d0e6c..0addf7913d30 100644 --- a/multimedia/libva-glx/Makefile +++ b/multimedia/libva-glx/Makefile @@ -1,14 +1,15 @@ +PORTREVISION= 1 PKGNAMESUFFIX= -glx COMMENT= VAAPI wrapper for GLX MASTERDIR= ${.CURDIR}/../libva OPTIONS_SLAVE= GLX ${GLX_IMPLIES} OPTIONS_EXCLUDE=WAYLAND post-install: slave-post-install slave-post-install: @${REINPLACE_CMD} '/glx/!s/^/@comment /' ${TMPPLIST} .include "${MASTERDIR}/Makefile" diff --git a/multimedia/libva-vdpau-driver/Makefile b/multimedia/libva-vdpau-driver/Makefile index bb7aaa7f1f4f..08eff5f11fdd 100644 --- a/multimedia/libva-vdpau-driver/Makefile +++ b/multimedia/libva-vdpau-driver/Makefile @@ -1,36 +1,36 @@ PORTNAME= libva-vdpau-driver PORTVERSION= 0.7.4 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= multimedia MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/${PORTNAME}/ MAINTAINER= madpilot@FreeBSD.org COMMENT= VDPAU-based backend for VAAPI LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libvdpau.so:multimedia/libvdpau BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libva.pc:multimedia/libva \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING USES= libtool gl gmake localbase pkgconfig tar:bzip2 USE_GL= gl GNU_CONFIGURE= yes INSTALL_TARGET= install-strip PLIST_FILES= lib/dri/nvidia_drv_video.so lib/dri/s3g_drv_video.so lib/dri/vdpau_drv_video.so OPTIONS_DEFINE= DEBUG DEBUG_CONFIGURE_ENABLE= debug post-patch: .SILENT ${REINPLACE_CMD} -e '/LIBS/{ s/-ldl//; s/-lrt//; }' \ -e 's|driverdir|& --define-variable prefix=${PREFIX}|' \ -e '/\^vdpau_version/s|$$CC -E|& ${CPPFLAGS}|' \ ${WRKSRC}/configure .include diff --git a/multimedia/libvdpau-va-gl/Makefile b/multimedia/libvdpau-va-gl/Makefile index 67b1a94ea5ff..cf570b8541ef 100644 --- a/multimedia/libvdpau-va-gl/Makefile +++ b/multimedia/libvdpau-va-gl/Makefile @@ -1,38 +1,38 @@ PORTNAME= libvdpau-va-gl PORTVERSION= 0.4.2 DISTVERSIONPREFIX= v -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 58a98e8a735f.patch:-p1 MAINTAINER= madpilot@FreeBSD.org COMMENT= VDPAU driver with OpenGL/VAAPI backend LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv6= fails to configure: CMake Error: Check for working CXX compiler: /nxb-bin/usr/bin/c++ -- broken LIB_DEPENDS= libva-x11.so:multimedia/libva USE_GITHUB= yes GH_ACCOUNT= i-rinat USES= cmake compiler:c++11-lang gl pkgconfig xorg USE_XORG= x11 USE_GL= gl LDFLAGS+= -Wl,--as-needed # Xext, ICE, SM TEST_TARGET= check PLIST_FILES= lib/vdpau/libvdpau_va_gl.so lib/vdpau/libvdpau_va_gl.so.1 # bug 217825: Convenience symlinks. On AMD prefer VDPAU from Mesa. PLIST_FILES+= lib/vdpau/libvdpau_i915.so.1 lib/vdpau/libvdpau_i965.so.1 post-install: .for f in ${PLIST_FILES:N*va_gl*:M*.so.1} ${LN} -sf libvdpau_va_gl.so.1 ${STAGEDIR}${PREFIX}/$f .endfor .include diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile index 1d422f8d8a47..1b0a389892c6 100644 --- a/multimedia/libxine/Makefile +++ b/multimedia/libxine/Makefile @@ -1,186 +1,186 @@ # Created by: alex PORTNAME= xine DISTVERSION= 1.2.11 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION} PKGNAMEPREFIX= lib DISTNAME= ${PORTNAME}-lib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Libraries for xine multimedia player LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libFLAC.so:audio/flac \ liba52.so:audio/liba52 \ libvorbis.so:audio/libvorbis \ libspeex.so:audio/speex \ libmng.so:graphics/libmng \ libpng.so:graphics/png \ libdvdread.so:multimedia/libdvdread \ libfreetype.so:print/freetype2 \ libfame.so:multimedia/libfame \ libcdio_paranoia.so:sysutils/libcdio-paranoia \ libmodplug.so:audio/libmodplug \ libvcdinfo.so:multimedia/vcdimager \ libtheora.so:multimedia/libtheora \ libmad.so:audio/libmad \ libdca.so:multimedia/libdca \ libavcodec.so:multimedia/ffmpeg \ libfaad.so:audio/faad \ libvdpau.so:multimedia/libvdpau \ libvpx.so:multimedia/libvpx \ libiso9660.so:sysutils/libcdio \ libogg.so:audio/libogg \ libdvdnav.so:multimedia/libdvdnav USES= compiler cpe gl gmake gnome iconv libtool:keepla jpeg \ localbase pathfix perl5 pkgconfig tar:xz xorg LLD_UNSAFE= yes CPE_PRODUCT= xine-lib CPE_VENDOR= xine GNU_CONFIGURE= yes USE_XORG= x11 xcb xv xinerama xext sm ice USE_GL= gl glu USE_PERL5= build USE_LDCONFIG= yes CONFIGURE_ARGS= --with-libflac \ --enable-musepack \ --enable-real-codecs \ --without-esound MAKE_ENV= V=1 MAKE_ARGS= pkgdatadir="${DATADIR}" \ datadir="${DATADIR}" \ libdir="${PREFIX}/lib" CFLAGS_i386= -fomit-frame-pointer DOCSDIR= ${PREFIX}/share/doc/xine-lib # Please sync with XINE_PLUGINSDIR in multimedia/xine # and multimedia/vdr-plugin-xineliboutput PLUGINSDIR= lib/xine/plugins/2.9 PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" OPTIONS_DEFINE= AALIB ALSA AOM CACA DAV1D DOCS DMX_IMAGE DVB \ IMAGEMAGICK IPV6 JACK LIBBLURAY NFS NLS PIXBUF PULSEAUDIO \ SDL SFTP SMB SNDIO V4L VAAPI WAVPACK WAYLAND XVMC OPTIONS_DEFAULT= DVB OPENSSL PIXBUF VAAPI OPTIONS_DEFINE_i386= W32DLL OPTIONS_DEFAULT_i386= W32DLL OPTIONS_GROUP= TLS OPTIONS_GROUP_TLS= GNUTLS OPENSSL OPTIONS_SUB= yes AOM_DESC= Enable libaom AV1 decoder support DAV1D_DESC= Enable dav1d AV1 decoder support DMX_IMAGE_DESC= DMX image plugin DVB_DESC= DVB plugin NFS_DESC= Enable NFS support using libnfs SDL_DESC= Enable support for SDL 1 video output SFTP_DESC= Enable SFTP support using libssh2 TLS_DESC= Enable TLS support for https and ftps W32DLL_DESC= Win32 codec support WAYLAND_DESC= Enable Wayland support AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_ENABLE= aalib ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_WITH= libaom CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_WITH= caca DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_WITH= dav1d DVB_BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat DVB_CONFIGURE_ENABLE= dvb GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ON= --enable-tls IMAGEMAGICK_LIB_DEPENDS= libMagickWand-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} IMAGEMAGICK_CONFIGURE_WITH= imagemagick IMAGEMAGICK_IMPLIES= DMX_IMAGE IPV6_CONFIGURE_ENABLE= ipv6 JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_WITH= jack LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= bluray NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CONFIGURE_ENABLE= nfs OPENSSL_CONFIGURE_ON= --enable-tls OPENSSL_CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_USES= ssl PIXBUF_CONFIGURE_ENABLE= gdkpixbuf PIXBUF_IMPLIES= DMX_IMAGE PIXBUF_USE= GNOME=gdkpixbuf2,glib20 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio SDL_CONFIGURE_WITH= sdl SDL_USES= sdl SDL_USE= SDL=sdl SFTP_LIB_DEPENDS= libssh2.so:security/libssh2 SFTP_CONFIGURE_ENABLE= sftp SMB_USES= samba:lib SMB_CONFIGURE_ENV= LIBSMBCLIENT_LIBS="-L${SAMBALIBS} -lsmbclient" \ LIBSMBCLIENT_CFLAGS="-I${SAMBAINCLUDES}" SMB_CONFIGURE_ENABLE= samba SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio VAAPI_LIB_DEPENDS= libva.so:multimedia/libva \ libva-glx.so:multimedia/libva-glx VAAPI_CONFIGURE_ENABLE= vaapi V4L_BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= libv4l v4l v4l2 W32DLL_CONFIGURE_ENABLE= w32dll W32DLL_PLIST_FILES= ${PLUGINSDIR}/xineplug_decode_w32dll.so WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_WITH= wavpack WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland .if defined(WITH_NVIDIA304_GL) || exists(${LOCALBASE}/lib/libXvMCNVIDIA.so.1) XVMC_CONFIGURE_WITH= xvmc-lib=XvMCNVIDIA XVMC_LIB_DEPENDS= libXvMCNVIDIA.so:x11/nvidia-driver-304 .else XVMC_CONFIGURE_WITH= xvmc-lib=XvMCW XVMC_LIB_DEPENDS= libXvMC.so:x11/libXvMC .endif XVMC_CONFIGURE_ENABLE= xvmc .include .if ${ARCH} == aarch64 BUILD_DEPENDS+= as:devel/binutils .elif ${ARCH} == powerpc BUILD_DEPENDS+= as:devel/binutils CFLAGS+= -fno-integrated-as .endif .if !${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MOPENSSL} CONFIGURE_ARGS+= --disable-tls .endif pre-configure-GNUTLS-off: @${REINPLACE_CMD} -e 's|have_gnutls=yes|have_gnutls=no|' \ ${WRKSRC}/configure post-patch: .if ${COMPILER_TYPE} == "clang" @${REINPLACE_CMD} -e 's|-fno-rename-registers||' \ ${WRKSRC}/src/libw32dll/Makefile.in .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/post/*.so .include diff --git a/multimedia/lives/Makefile b/multimedia/lives/Makefile index 103d3b32cda1..1156a968c46c 100644 --- a/multimedia/lives/Makefile +++ b/multimedia/lives/Makefile @@ -1,171 +1,171 @@ # Created by: Andrew Pantyukhin PORTNAME= lives DISTVERSION= 3.2.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia MASTER_SITES= http://lives-video.com/releases/ DISTNAME= LiVES-${PORTVERSION} MAINTAINER= vvd@unislabs.com COMMENT= Video editing system LICENSE= GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPL BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ analyseplugin:audio/ladspa LIB_DEPENDS= liboil-0.3.so:devel/liboil \ libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg \ libmjpegutils.so:multimedia/mjpegtools RUN_DEPENDS= analyseplugin:audio/ladspa \ ffprobe:multimedia/ffmpeg \ sox:audio/sox WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= autoreconf compiler:c++11-lib gettext-runtime gettext-tools \ gl gnome libtool localbase pathfix perl5 pkgconfig python \ sdl shebangfix xorg SHEBANG_FILES= build-lives-rfx-plugin build-lives-rfx-plugin-multi smogrify \ tools/autolives.pl lives-plugins/plugins/encoders/*_encoder \ lives-plugins/marcos-encoders/*encoder* \ lives-plugins/plugins/encoders/multi_encoder3 \ lives-plugins/plugins/playback/audiostream/audiostreamer.pl GNU_CONFIGURE= yes USE_XORG= x11 xrender USE_GL= gl glu USE_SDL= sdl sdl2 USE_GNOME= cairo gdkpixbuf2 gtk30 intltool USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-ldvgrab --disable-prctl --disable-system-weed INSTALL_TARGET= install-strip DOC_FILES= AUTHORS COPYING COPYING.LGPL ChangeLog FEATURES GETTING.STARTED NEWS README \ OMC/lives-OMC.txt RFX/LiVES-Perl.odt RFX/rfxbuilder.odt \ RFX/RFX.spec docs/c++-bindings.odt docs/clip_format.txt \ lives-plugins/marcos-encoders/README.multi_encoder \ weed-docs/weedspec.txt weed-docs/weedevents.txt OPTIONS_DEFINE= ALSA DOCS DOXYGEN DV FFTW FREI0R JACK IMAGEMAGICK LIBEXPLAIN \ LIBVISUAL OGG OPENCV OPTIMIZED_CFLAGS NLS PROJECTM PULSEAUDIO \ SCHROEDINGER THEORA V4L WAYLAND OPTIONS_GROUP= RUNTIME EXT_WIN_CAPTURE MPLAYERS MP3 YOUTUBE_DLX OPTIONS_GROUP_RUNTIME= CDDA2WAV GHOSTSCRIPT LAME MATROSKA MENCODER OGG123 OGM \ SSWF X264 XDG_SCREENSAVER XWININFO OPTIONS_GROUP_EXT_WIN_CAPTURE= WMCTRL XDOTOOL OPTIONS_GROUP_MP3= MPG123 MPG321 OPTIONS_GROUP_MPLAYERS= MPLAYER MPV OPTIONS_GROUP_YOUTUBE_DLX= YOUTUBE_DL YOUTUBE_DLC OPTIONS_DEFAULT= CDDA2WAV DOCS DV FFTW GHOSTSCRIPT IMAGEMAGICK JACK LAME \ MPG123 MPLAYER NLS OGG OGG123 OGM OPENCV SCHROEDINGER \ THEORA X264 XDG_SCREENSAVER XDOTOOL XWININFO YOUTUBE_DL OPTIONS_SUB= yes ALSA_CONFIGURE_OFF= --disable-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib CDDA2WAV_RUN_DEPENDS= cdda2wav:sysutils/cdrtools DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_OFF= --disable-doxygen DV_CONFIGURE_OFF= --disable-libdv DV_LIB_DEPENDS= libdv.so:multimedia/libdv DV_RUN_DEPENDS= encodedv:multimedia/libdv EXT_WIN_CAPTURE_DESC= Allows external window capture via xdotool or wmctrl FFTW_CONFIGURE_OFF= --disable-fftw3f FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FREI0R_BUILD_DEPENDS= frei0r>0:graphics/frei0r FREI0R_CONFIGURE_OFF= --disable-frei0r FREI0R_RUN_DEPENDS= frei0r>0:graphics/frei0r GHOSTSCRIPT_USES= ghostscript:run IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} \ composite:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} JACK_CONFIGURE_OFF= --disable-jack JACK_LIB_DEPENDS= libjack.so:audio/jack \ libjackserver.so:audio/jack LAME_RUN_DEPENDS= lame:audio/lame LIBEXPLAIN_CONFIGURE_OFF= --disable-libexplain LIBEXPLAIN_DESC= Used to explain Unix and Linux system call errors LIBEXPLAIN_LIB_DEPENDS= libexplain.so:devel/libexplain LIBVISUAL_CONFIGURE_OFF= --disable-libvisual LIBVISUAL_LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04 MATROSKA_RUN_DEPENDS= mkvmerge:multimedia/mkvtoolnix MENCODER_RUN_DEPENDS= mencoder:multimedia/mencoder MENCODER_DESC= Use mencoder as video file and movie encoder MP3_DESC= Runtime check order is: mpg321, mpg123, mplayer, mplayer2, mpv MPG123_RUN_DEPENDS= mpg123:audio/mpg123 MPG321_DESC= MP3 decoding support via mpg321 MPG321_RUN_DEPENDS= mpg321:audio/mpg321 MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPLAYERS_DESC= Install mplayer/mpv (runtime check) MPV_DESC= MPV media player support MPV_RUN_DEPENDS= mpv:multimedia/mpv NLS_USES= gettext-tools OGG_CONFIGURE_OFF= --disable-ogg OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG123_DESC= Use ogg123 from vorbis-tools OGG123_RUN_DEPENDS= ogg123:audio/vorbis-tools OGM_DESC= Use ogmtools for manipulating with OGM files OGM_RUN_DEPENDS= ogmmerge:multimedia/ogmtools OPENCV_CONFIGURE_OFF= --disable-opencv OPENCV_LIB_DEPENDS= libopencv_calib3d.so:graphics/opencv \ libopencv_core.so:graphics/opencv SCHROEDINGER_CONFIGURE_OFF= --disable-dirac SCHROEDINGER_LIB_DEPENDS= libschroedinger-1.0.so:multimedia/schroedinger SSWF_DESC= Use sswf for manipulating with Flash movies SSWF_RUN_DEPENDS= sswf:graphics/sswf THEORA_CONFIGURE_OFF= --disable-theora THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora OPTIMIZED_CFLAGS_CONFIGURE_ON= --enable-turbo PROJECTM_CONFIGURE_OFF= --disable-projectM PROJECTM_DESC= projectM support PROJECTM_LIB_DEPENDS= libprojectM.so:graphics/libprojectm PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio RUNTIME_DESC= Runtime detected utilities V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_CONFIGURE_OFF= --disable-v4l V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l WAYLAND_CONFIGURE_OFF= --disable-wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WMCTRL_DESC= Install wmctrl WMCTRL_RUN_DEPENDS= wmctrl:x11/wmctrl YOUTUBE_DL_DESC= Install youtube-dl YOUTUBE_DL_RUN_DEPENDS= youtube-dl:www/youtube_dl YOUTUBE_DLC_DESC= Install youtube-dlc YOUTUBE_DLC_RUN_DEPENDS= youtube-dlc:www/youtube_dlc YOUTUBE_DLX_DESC= Install youtube-dl (runtime check) X264_RUN_DEPENDS= x264:multimedia/x264 XDG_SCREENSAVER_DESC= Used to disable screensaver during playback XDG_SCREENSAVER_RUN_DEPENDS= xdg-screensaver:devel/xdg-utils XDOTOOL_DESC= Install xdotool XDOTOOL_RUN_DEPENDS= xdotool:x11/xdotool XWININFO_DESC= Used for external window capture XWININFO_RUN_DEPENDS= xwininfo:x11/xwininfo post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ 's/^LIBS = $$/&@LIBS@/' @${REINPLACE_CMD} -e 's|/usr/local/lib/|${LOCALBASE}/lib/|g' \ ${WRKSRC}/lives-plugins/weed-plugins/frei0r.c @${REINPLACE_CMD} 's|/usr/bin/perl|${perl_CMD}|' \ ${WRKSRC}/build-lives-rfx-plugin pre-build-NLS-on: @(cd ${WRKSRC}/po && ${DO_MAKE_BUILD} update-po) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-DOXYGEN-on: @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${DOCSDIR_REL}/html \ -not -type d >> ${TMPPLIST}) .include diff --git a/multimedia/minitube/Makefile b/multimedia/minitube/Makefile index af464fbdec35..46767e53fc27 100644 --- a/multimedia/minitube/Makefile +++ b/multimedia/minitube/Makefile @@ -1,43 +1,44 @@ PORTNAME= minitube DISTVERSION= 3.8.2 +PORTREVISION= 1 CATEGORIES= multimedia www MAINTAINER= yuri@FreeBSD.org COMMENT= TV-like client for YouTube LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmpv.so:multimedia/mpv USES= compiler:c++11-lang gl qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= flaviotordini GH_TUPLE= \ flaviotordini:idle:6aa092da64a011e445bf31cf31c0cd8dda4c64ff:flaviotordini_idle/lib/idle \ flaviotordini:media:edfcc8cb7104e95b060b955dcf0eb871df7ecbbf:flaviotordini_media/lib/media \ flaviotordini:http:b85c56407733f6f562f6cb25df137611f843f114:flaviotordini_http/lib/http \ flaviotordini:updater:18ce1d09fda792d9f4bb8fe91409a79cdae84fe1:flaviotordini_updater/lib/updater \ flaviotordini:js:c00b981fb1fb88a32e9e0a0287b32c73a5d1f1a5:flaviotordini_js/lib/js USE_GL= gl USE_QT= core dbus declarative gui network script sql widgets \ buildtools_build imageformats_run sql-sqlite3_run \ x11extras QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE} \ DEFINES+=APP_GOOGLE_API_KEY="${MINITUBE_GOOGLE_API_KEY}" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USE= QT=linguisttools_build post-patch: # Remove BOM @${REINPLACE_CMD} -e '1 s|^.*/|/|g' \ ${WRKSRC}/src/aggregatevideosource.cpp post-patch-NLS-off: @${REINPLACE_CMD} -e '/include(locale\/locale.pri)/d' ${WRKSRC}/minitube.pro .include diff --git a/multimedia/mlt/Makefile b/multimedia/mlt/Makefile index a4c3043013bf..be1b7f77b995 100644 --- a/multimedia/mlt/Makefile +++ b/multimedia/mlt/Makefile @@ -1,181 +1,182 @@ PORTNAME= mlt DISTVERSION= 6.26.1 +PORTREVISION= 1 # Don't use GitHub "fake" downloads that are auto-generated from a # tag; the project uploads tarballs for each release. MASTER_SITES= https://github.com/mltframework/${PORTNAME}/releases/download/v${DISTVERSION}/ CATEGORIES?= multimedia MAINTAINER= kde@FreeBSD.org COMMENT?= Multimedia framework for TV broadcasting LICENSE?= GPLv2 GPLv3 LGPL21 LICENSE_COMB?= multi USES+= alias compiler:c++11-lang eigen:3 gmake gnome localbase \ pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-gpl --enable-gpl3 --target-os=FreeBSD .ifndef(WITH_DEBUG) CONFIGURE_ARGS+=--disable-debug .else CONFIGURE_ARGS+=--enable-debug .endif .ifndef(SLAVEPORT) # Master port. # They both install bin/melt. CONFLICTS_INSTALL= freeze-[0-9]* LIB_DEPENDS= libfftw3.so:math/fftw3 \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis BROKEN_sparc64= does not compile on sparc64 (invokes i386 asm) USE_GL= gl USE_GNOME= libxml2 USE_SDL= image2 USE_XORG= x11 USES+= gl iconv pathfix sdl xorg PATHFIX_MAKEFILEIN= Makefile CONFIGURE_ARGS+=--disable-qt --swig-languages=none USE_LDCONFIG= yes PLIST_SUB= PORTVERSION="${PORTVERSION}" PORTDOCS= AUTHORS NEWS README docs PORTEXAMPLES= demo OPTIONS_DEFINE= DOCS EXAMPLES FFMPEG FREI0R GDK JACK OPENGL \ SAMPLERATE SOX VIDSTAB OPTIONS_DEFAULT=FFMPEG FREI0R GDK OPENGL SAMPLERATE SOX VIDSTAB OPTIONS_SUB= yes GDK_DESC= Images and text rendering via GDK SOX_DESC= SoX audio effects support VIDSTAB_DESC= Video stabilization support via Vid.Stab FFMPEG_SUFX= # Currently empty. FFMPEG_LIB_DEPENDS= libavformat${FFMPEG_SUFX}.so:multimedia/ffmpeg${FFMPEG_SUFX} FFMPEG_CONFIGURE_ENABLE=avformat FFMPEG_CONFIGURE_ON= --avformat-suffix="${FFMPEG_SUFX}" FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CONFIGURE_ENABLE=frei0r GDK_LIB_DEPENDS= libexif.so:graphics/libexif \ libfontconfig.so:x11-fonts/fontconfig GDK_USE= GNOME=gdkpixbuf2,pango GDK_CONFIGURE_ENABLE= gdk JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa JACK_CONFIGURE_ENABLE= jackrack JACK_USE= GNOME=glib20 # Prepare for OpenCV 3 port. CONFIGURE_ARGS+= --disable-opencv OPENCV_CONFIGURE_ENABLE=opencv OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libmovit.so:graphics/movit OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE=opengl SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CONFIGURE_ENABLE=resample SOX_LIB_DEPENDS= libsox.so:audio/sox SOX_CONFIGURE_ENABLE= sox VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CONFIGURE_ENABLE=vid.stab pre-configure: # Remove sdl1 support ${RM} -r ${WRKSRC}/src/modules/sdl @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ ${WRKSRC}/src/modules/frei0r/factory.c \ ${WRKSRC}/src/modules/jackrack/plugin_mgr.c @${REINPLACE_CMD} -e 's,-lpthread,-pthread,' \ -e 's,-liconv,${ICONV_LIB},' \ ${WRKSRC}/src/framework/Makefile \ ${WRKSRC}/src/melt/Makefile \ ${WRKSRC}/src/modules/*/Makefile common-post-install: ${INSTALL_MAN} ${WRKSRC}/docs/melt.1 ${STAGEDIR}${MANPREFIX}/man/man1/melt.1 @${RM} ${WRKSRC}/docs/melt.1 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/melt ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt.so.${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt++.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 LIB_DEPENDS+= libmlt.so:${MASTER_PORT} PLIST?= ${.CURDIR}/pkg-plist . if ${SLAVEPORT:Mqt*} # Qt slave port. PKGNAMESUFFIX= -${SLAVEPORT} COMMENT= Qt ${SLAVEPORT:C/[^0-9]//g} plugin for the MLT multimedia framework LICENSE= GPLv2 GPLv3 LICENSE_COMB= multi LIB_DEPENDS+= libexif.so:graphics/libexif CONFIGURE_ARGS+=--enable-qt \ --qt-libdir="${QT_LIBDIR}" \ --qt-includedir="${QT_INCDIR}" BUILD_WRKSRC= ${WRKSRC}/src/modules/qt . elif ${SLAVEPORT:Mswig} # SWIG slave port. LANGUAGE= ${SLAVEPORT:Nswig} COMMENT= ${LANGUAGE} bindings for the MLT multimedia framework LICENSE= LGPL21 LICENSE_COMB= single BUILD_DEPENDS+= swig:devel/swig _CFLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib CFLAGS+= ${_CFLAGS} CXXFLAGS+= ${_CFLAGS} CONFIGURE_ARGS+=--swig-languages=${LANGUAGE:tl} BUILD_WRKSRC= ${WRKSRC}/src/swig INSTALL_WRKSRC= ${BUILD_WRKSRC}/${LANGUAGE:tl} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}/${LANGUAGE:tl} . endif INSTALL_WRKSRC?=${BUILD_WRKSRC} pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} # Dummy placeholder target. common-post-install: @${TRUE} .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/mpc-qt/Makefile b/multimedia/mpc-qt/Makefile index fe151556fc3f..7247243a15e3 100644 --- a/multimedia/mpc-qt/Makefile +++ b/multimedia/mpc-qt/Makefile @@ -1,25 +1,26 @@ PORTNAME= mpc-qt DISTVERSIONPREFIX= v DISTVERSION= 20.10 +PORTREVISION= 1 CATEGORIES= multimedia audio MAINTAINER= jbeich@FreeBSD.org COMMENT= Qt 5 clone of Media Player Classic based on libmpv LICENSE= GPLv2 BUILD_DEPENDS= mpv>=0.29,1:multimedia/mpv LIB_DEPENDS= libmpv.so:multimedia/mpv USE_GITHUB= yes GH_ACCOUNT= cmdrkotori GH_PROJECT= ${PORTNAME}-origin USES= compiler:c++14-lang desktop-file-utils gl pkgconfig qmake qt:5 USE_QT= qmake_build buildtools_build linguisttools_build \ core dbus gui network svg_run widgets x11extras USE_GL= gl OPTIONS_DEFINE= DOCS .include diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index 09ddd828f6a4..d9cb87a4df7d 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -1,99 +1,100 @@ # Created by: Thomas E. Zander with help from Vladimir Kushnir PORTNAME= mplayer PORTVERSION= ${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g} +PORTREVISION= 1 CATEGORIES= multimedia audio MAINTAINER= riggs@FreeBSD.org COMMENT= High performance media player supporting many formats .include "${.CURDIR}/../../multimedia/mplayer/Makefile.common" OPTIONS_DEFINE= AALIB AMR_NB AMR_WB ASS BLURAY CACA CDIO DV DVDNAV \ ENCA FONTCONFIG FRIBIDI GIF GNUTLS GSM GUI IPV6 JACK \ LADSPA LIBMNG LIRC LZO NAS NLS OPENAL OPENGL \ OPENJPEG OPUS PULSEAUDIO RTMP \ SDL SKINS SNDIO SMB SPEEX SVGALIB V4L VDPAU VPX \ X11 X11DGA X11VM XINERAMA XVIDEO XVMC OPTIONS_DEFAULT=ASS DVDNAV FONTCONFIG FRIBIDI GNUTLS OPENGL \ SKINS X11 X11DGA X11VM XINERAMA XVIDEO OPTIONS_DEFINE_i386= RTCPU OPTIONS_DEFINE_amd64= RTCPU OPTIONS_DEFINE_powerpc= RTCPU OPTIONS_DEFAULT_i386= RTCPU VDPAU OPTIONS_DEFAULT_amd64= RTCPU VDPAU OPTIONS_DEFAULT_powerpc=RTCPU ASS_DESC?= Subtitles rendering via libass BLURAY_DESC?= BluRay support DVDNAV_DESC?= DVD navigation features support ENCA_DESC?= Charset conversion via enca LZO_DESC?= External liblzo support RTCPU_DESC?= Use runtime CPU detection SKINS_DESC?= Install skins for GUI X11DGA_DESC?= X11 DGA video driver support X11VM_DESC?= X11 VidMode support SUB_FILES= pkg-message CONFLICTS= mplayer2-2.* CONFFILES= example.conf input.conf menu.conf dvb-menu.conf USES+= iconv pkgconfig OPTIONS_SUB= yes .include "${.CURDIR}/../../multimedia/mplayer/Makefile.optvars" .include CONFIGURE_ARGS+= --disable-arts \ --disable-directfb \ --disable-faac \ --disable-libdca \ --disable-toolame \ --disable-twolame \ --disable-x264 \ --disable-xvid \ --disable-mencoder \ --disable-mpg123 \ --disable-musepack \ --disable-theora .include "${.CURDIR}/../../multimedia/mplayer/Makefile.options" pre-everything:: @${ECHO_MSG} "N - O - T - E" @${ECHO_MSG} "" @${ECHO_MSG} "There are some knobs which *can* *not* be selected via the" @${ECHO_MSG} "OPTIONS framework. At the moment, these settings are:" @${ECHO_MSG} "WITH_KERN_HZ=${DEFAULT_KERN_HZ}" @${ECHO_MSG} "DEFAULT_DVD_DEVICE=${DEFAULT_DVD_DEVICE}" @${ECHO_MSG} "DEFAULT_CDROM_DEVICE=${DEFAULT_CDROM_DEVICE}" .if ${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MX11} @${ECHO_MSG} "If you want to use the GUI, you can use the skins from" @${ECHO_MSG} "${PORTSDIR}/multimedia/mplayer-skins" @${ECHO_MSG} "or download them from" @${ECHO_MSG} "http://www.mplayerhq.hu/" .endif post-patch: common-post-patch post-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${CHMOD} 755 ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DATADIR}/examples/etc @${CHMOD} 755 ${STAGEDIR}${DATADIR}/examples/etc .for conf in ${CONFFILES} ${INSTALL_DATA} ${WRKSRC}/etc/${conf} ${STAGEDIR}${DATADIR}/examples/etc .endfor .if ${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MX11} @${LN} -sf mplayer ${STAGEDIR}${PREFIX}/bin/gmplayer @(cd ${STAGEDIR}${MAN1PREFIX}/man/man1 && ${LN} -sf mplayer.1.gz gmplayer.1.gz) ${CP} -f ${WRKSRC}/etc/mplayer256x256.png ${STAGEDIR}${PREFIX}/share/pixmaps/mplayer.png .endif .include diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 08b1ddc03b9a..19e935053e6c 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -1,198 +1,198 @@ # Created by: Grzegorz Blach PORTNAME= mpv DISTVERSIONPREFIX= v DISTVERSION= 0.33.1 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= multimedia audio MASTER_SITES= https://waf.io/:waf DISTFILES= ${WAF_RELEASE}${EXTRACT_SUFX}:waf PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 1bb2665e3d09.patch:-p1 59c32a04b04d.patch:-p1 62fb374349e0.patch:-p1 PATCHFILES+= 24525e4ef9ba.patch:-p1 4dd5fdc0876e.patch:-p1 4d80314c5c88.patch:-p1 PATCHFILES+= 1b2e5137e04b.patch:-p1 # https://github.com/mpv-player/mpv/pull/8312 PATCHFILES+= 3f006eced47b.patch:-p1 # required for #7268 PATCHFILES+= dbf0fd7d60fa.patch:-p1 # https://github.com/mpv-player/mpv/pull/7268 PATCHFILES+= dbbf4a415de7.patch:-p1 # https://github.com/mpv-player/mpv/pull/7268 PATCHFILES+= 03b9f8e32362.patch:-p1 # https://github.com/mpv-player/mpv/issues/8913 PATCHFILES+= 968faef86723.patch:-p1 # libplacebo 3.104 PATCHFILES+= 7c4465cefb27.patch:-p1 # libplacebo 3.104 MAINTAINER= multimedia@FreeBSD.org COMMENT= Free and open-source general-purpose video player LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= ffmpeg>=4.0.2,1:multimedia/ffmpeg LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libass.so:multimedia/libass USES= compiler:c11 desktop-file-utils iconv jpeg localbase:ldflags \ pkgconfig python:build tar:bz2 waf USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= mpv-player # Keep in sync with bootstrap.py to avoid regressions WAF_CMD= ${WRKDIR}/${WAF_RELEASE}/waf-light WAF_RELEASE= waf-2.0.20 CONFIGURE_ENV= BIN_PYTHON="${PYTHON_CMD}" CONFIGURE_ARGS= --docdir="${EXAMPLESDIR}" \ --htmldir="${DOCSDIR}/html" \ --mandir="${MANPREFIX}/man" \ --disable-debug-build \ --disable-optimize \ --disable-pdf \ --disable-rubberband \ --disable-shaderc \ --disable-vapoursynth \ --enable-libmpv-shared OPTIONS_DEFINE= ARCHIVE DOCS LCMS2 LUAJIT MANPAGES MUJS TEST UCHARDET EXAMPLES ZIMG OPTIONS_DEFAULT= ARCHIVE DVDNAV MANPAGES OPENGL UCHARDET \ V4L VAAPI VDPAU VULKAN WAYLAND X11 YTDL OPTIONS_GROUP= IN VO AO OPTIONS_GROUP_IN= CDIO DVDNAV LIBBLURAY V4L YTDL OPTIONS_GROUP_VO= CACA OPENGL SIXEL VAAPI VDPAU VULKAN WAYLAND X11 OPTIONS_GROUP_AO= ALSA JACK OPENAL PULSEAUDIO SDL OPTIONS_SUB= yes DVDNAV_DESC= DVD menu navigation LUAJIT_DESC= Use LuaJIT instead of Lua scripting language support MUJS_DESC= Use MuJS for Javascript language support SIXEL_DESC= Sixel graphics support UCHARDET_DESC= Guess subtitle encoding via uchardet VULKAN_DESC= Vulkan output support YTDL_DESC= Install youtube-dl ZIMG_DESC= High quality software scaling via "z" library IN_DESC= Input VO_DESC= Video Output AO_DESC= Audio Output ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa ARCHIVE_USES= libarchive ARCHIVE_CONFIGURE_ON= --enable-libarchive CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_OFF= --disable-caca CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_ON= --enable-cdda DOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils DOCS_CONFIGURE_ON= --enable-html DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav \ libdvdread.so:multimedia/libdvdread DVDNAV_CONFIGURE_ON= --enable-dvdnav JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_OFF= --disable-lcms2 LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ON= --enable-libbluray LIBBLURAY_CONFIGURE_OFF= --disable-libbluray LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_USES_OFF= lua LUAJIT_CONFIGURE_ON= --lua=luajit LUAJIT_CONFIGURE_OFF= --lua=${LUA_VER_STR}fbsd MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_CONFIGURE_OFF= --disable-manpage MUJS_LIB_DEPENDS= libmujs.so:lang/mujs MUJS_CONFIGURE_ON= --enable-javascript MUJS_CONFIGURE_OFF= --disable-javascript OPENAL_CONFIGURE_ENABLE= openal OPENAL_USES= openal OPENAL_LDFLAGS= ${_OPENAL_LDFLAGS_${ARCH}} _OPENAL_LDFLAGS_i386= -Wl,-znotext OPENGL_USES= gl OPENGL_USE= GL=egl,gbm OPENGL_CONFIGURE_OFF= --disable-gl PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ON= --enable-sdl2 SIXEL_LIB_DEPENDS= libsixel.so:graphics/libsixel SIXEL_CONFIGURE_OFF= --disable-sixel TEST_CONFIGURE_ON= --enable-tests UCHARDET_LIB_DEPENDS= libuchardet.so:textproc/uchardet UCHARDET_CONFIGURE_OFF= --disable-uchardet V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/dvb/dmx.h:multimedia/v4l_compat V4L_CONFIGURE_ON= --enable-dvbin VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_OFF= --disable-vaapi VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_OFF= --disable-vdpau VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libplacebo.so:graphics/libplacebo \ libvulkan.so:graphics/vulkan-loader VULKAN_CONFIGURE_OFF= --disable-vulkan --disable-libplacebo WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols \ ${LOCALBASE}/include/linux/input-event-codes.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_CONFIGURE_OFF= --disable-wayland WAYLAND_IMPLIES= OPENGL X11_USES= gnome xorg X11_USE= XORG=x11,xext,xinerama,xorgproto,xrandr,xscrnsaver,xv,xxf86vm X11_VARS= INSTALLS_ICONS=yes X11_CONFIGURE_OFF= --disable-x11 YTDL_RUN_DEPENDS= youtube-dl:www/youtube_dl ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_CONFIGURE_OFF= --disable-zimg .include .if ${PORT_OPTIONS:MVAAPI} && ${PORT_OPTIONS:MWAYLAND} CONFIGURE_ARGS+= --enable-vaapi-wayland LIB_DEPENDS+= libva-wayland.so:multimedia/libva .else CONFIGURE_ARGS+= --disable-vaapi-wayland .endif post-patch: @${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \ ${WRKSRC}/wscript_build.py post-patch-MANPAGES-on: @${FIND} ${WRKSRC}/DOCS/man -name '*.rst' | ${XARGS} ${REINPLACE_CMD} \ -e 's|/usr/local|${PREFIX}|g' pre-install-TEST-on: @(cd ${WRKSRC} && ${SETENV} ${TEST_ENV} build/mpv --unittest=all-simple) post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mpv @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpv.so .include diff --git a/multimedia/mpvpaper/Makefile b/multimedia/mpvpaper/Makefile index 587e08ebe96f..3898abf16549 100644 --- a/multimedia/mpvpaper/Makefile +++ b/multimedia/mpvpaper/Makefile @@ -1,24 +1,25 @@ PORTNAME= mpvpaper DISTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= jbeich@FreeBSD.org COMMENT= Video wallpaper for wlroots compositors LICENSE= GPLv3 BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libmpv.so:multimedia/mpv USES= compiler:c11 gl meson pkgconfig USE_GITHUB= yes USE_GL= egl GH_ACCOUNT= GhostNaN PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}-holder post-patch: @${REINPLACE_CMD} 's/pidof/pgrep/' ${WRKSRC}/src/main.c .include diff --git a/multimedia/mythtv-frontend/Makefile b/multimedia/mythtv-frontend/Makefile index 87adcfbae69a..a611f2b33056 100644 --- a/multimedia/mythtv-frontend/Makefile +++ b/multimedia/mythtv-frontend/Makefile @@ -1,12 +1,13 @@ # Created by: Bernhard Froehlich +PORTREVISION= 1 PKGNAMESUFFIX= -${SLAVEPORT} MAINTAINER= ahicks@p-o.co.uk COMMENT= Homebrew PVR project (frontend only) MASTERDIR= ${.CURDIR}/../../multimedia/mythtv SLAVEPORT= frontend PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile" diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile index 5f853930614b..30782c3d38e2 100644 --- a/multimedia/mythtv/Makefile +++ b/multimedia/mythtv/Makefile @@ -1,251 +1,251 @@ # Created by: Stacey Son , Ari Maniatis PORTNAME= mythtv DISTVERSIONPREFIX= v DISTVERSION= 31.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= multimedia MAINTAINER?= ahicks@p-o.co.uk COMMENT?= Homebrew PVR project LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 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 \ libva-glx.so:multimedia/libva-glx \ libbluray.so:multimedia/libbluray \ libass.so:multimedia/libass \ libfftw3_threads.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libfreetype.so:print/freetype2 \ libxml2.so:textproc/libxml2 \ libdav1d.so:multimedia/dav1d \ libaom.so:multimedia/aom \ libdrm.so:graphics/libdrm BUILD_DEPENDS= yasm:devel/yasm \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES= compiler:c++11-lang gmake gl iconv libtool pkgconfig pathfix \ qmake:no_env qt:5 ssl xorg USE_GITHUB= yes GH_ACCOUNT= MythTV USE_GL= gl USE_LDCONFIG= yes USE_QT= buildtools_build core dbus gui imageformats_run \ linguist_build network opengl qmake_build script sql \ sql-mysql_run webkit widgets xml USE_XORG= x11 xv xrandr xxf86vm xinerama xext xcb HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}" --cxx="${CXX}" \ --libxml2-path="${LOCALBASE}/include/libxml2" \ --disable-audio-alsa 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 CPPFLAGS+= ${QTCPPFLAGS} LDFLAGS+= -L${LOCALBASE}/lib REINPLACE_ARGS= -i "" WRKSRC_SUBDIR= ${PORTNAME} DESKTOP_ENTRIES="MythTV Frontend" "MythTV is a homebrew PVR project" "" \ "mythfrontend" "AudioVideo;Video;" false .if defined(SLAVEPORT) && ${SLAVEPORT} == "frontend" CONFLICTS_INSTALL= mythtv CONFIGURE_ARGS+=--disable-dvb --disable-firewire --disable-hdhomerun \ --disable-hdpvr --disable-ivtv \ --without-bindings=perl,python EXTRA_PATCHES= ${.CURDIR}/../../multimedia/mythtv/files/extrapatch-programs_programs.pro OPTIONS_EXCLUDE+= BINDINGS LIRC MYSQL .else CONFLICTS_INSTALL= mythtv-frontend RUN_DEPENDS+= tv_check:textproc/p5-xmltv \ wget:ftp/wget USES+= perl5 python:3.5+ shebangfix USE_PERL5= run build 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/Television/ttvdb.py \ programs/scripts/metadata/Movie/tmdb3.py \ programs/scripts/metadata/Music/mbutils.py CONFIGURE_ARGS+=--dvb-path="${WRKSRC}/media_tree/include/uapi" \ --enable-ivtv --enable-v4l2 USERS= mythtv GROUPS= mythtv DATADIR= ${PREFIX}/share/mythtv SUB_FILES= pkg-message .endif 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= ${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 \ p5-DBD-mysql>0:databases/p5-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 \ p5-DBD-mysql>0:databases/p5-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 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 .if !defined(SLAVEPORT) # 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 .endif post-install: .if !defined(SLAVEPORT) @${MKDIR} ${STAGEDIR}${PREFIX}/share/mythtv/database ${INSTALL_DATA} ${WRKSRC}/database/mc.sql ${STAGEDIR}${PREFIX}/share/mythtv/database .endif @${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/olive/Makefile b/multimedia/olive/Makefile index 1ce1e67e7081..0d42fd97732a 100644 --- a/multimedia/olive/Makefile +++ b/multimedia/olive/Makefile @@ -1,30 +1,31 @@ PORTNAME= olive DISTVERSION= 0.1.2 +PORTREVISION= 1 CATEGORIES= multimedia PKGNAMESUFFIX= -video-editor MAINTAINER= yuri@FreeBSD.org COMMENT= NLE (nonlinear) video editor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= frei0r>0:graphics/frei0r LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libOpenColorIO.so:graphics/opencolorio RUN_DEPENDS= frei0r>0:graphics/frei0r USES= dos2unix qmake compiler:c++11-lang desktop-file-utils gl pkgconfig qt:5 shared-mime-info USE_GITHUB= yes GH_ACCOUNT= olive-editor DOS2UNIX_FILES= olive.pro \ ui/graphview.cpp \ ui/timelineheader.cpp USE_QT= core gui multimedia network opengl svg widgets buildtools_build linguisttools_build USE_GL= gl DATADIR= ${PREFIX}/share/olive-editor PORTSCOUT= limit:^.*[1-9]\..* # prevent tags like 20181223 .include diff --git a/multimedia/opentoonz/Makefile b/multimedia/opentoonz/Makefile index aa844b8553db..cf058a6cd6e3 100644 --- a/multimedia/opentoonz/Makefile +++ b/multimedia/opentoonz/Makefile @@ -1,33 +1,34 @@ PORTNAME= opentoonz DISTVERSIONPREFIX= v DISTVERSION= 1.5.0 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= kde@FreeBSD.org COMMENT= 2D animation software LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= boost-libs>0:devel/boost-libs LIB_DEPENDS= libgslcblas.so:math/gsl \ libjson-c.so:devel/json-c \ liblz4.so:archivers/liblz4 \ liblzo2.so:archivers/lzo2 \ libmypaint.so:graphics/libmypaint \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libsuperlu.so:math/superlu \ libturbojpeg.so:graphics/libjpeg-turbo USES= cmake:noninja compiler:c++11-lang gettext-runtime gl \ gnome jpeg pkgconfig qt:5 USE_GITHUB= yes USE_GL= gl glew glu glut USE_GNOME= glib20 USE_QT= core gui multimedia network opengl printsupport \ script serialport svg widgets xml \ buildtools_build linguisttools_build qmake_build CMAKE_SOURCE_PATH= ${WRKSRC}/toonz/sources .include diff --git a/multimedia/phonon-gstreamer/Makefile b/multimedia/phonon-gstreamer/Makefile index 699ff3c42177..8cff17b26c6e 100644 --- a/multimedia/phonon-gstreamer/Makefile +++ b/multimedia/phonon-gstreamer/Makefile @@ -1,36 +1,37 @@ # Created by: Martin Wilke PORTNAME= phonon DISTVERSION= 4.10.0 +PORTREVISION= 1 CATEGORIES= multimedia kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTNAME}-backend-${PHONON_PLUGIN}/${DISTVERSION} DISTNAME= ${PORTNAME}-backend-${PHONON_PLUGIN}-${DISTVERSION} DIST_SUBDIR= KDE/phonon PKGNAMESUFFIX= -${PHONON_PLUGIN}-qt5 MAINTAINER= kde@FreeBSD.org COMMENT= GStreamer backend for Phonon LICENSE= LGPL21 USES= cmake compiler:c++11-lang gl gnome kde:5 pkgconfig qt:5 tar:xz xorg USE_GL= gl USE_GNOME= glib20 libxml2 USE_GSTREAMER1= yes USE_KDE= ecm USE_QT= core gui opengl phonon4 widgets x11extras \ buildtools_build qmake_build USE_XORG= x11 CMAKE_ON= PHONON_BUILD_PHONON4QT5 SUB_FILES= pkg-message OPTIONS_DEFINE= GST_PLUGINS GST_PLUGINS_DESC= Install GStreamer plugins GST_PLUGINS_RUN_DEPENDS= gstreamer1-plugins-all>=0:multimedia/gstreamer1-plugins-all PHONON_PLUGIN= gstreamer WRKSRC= ${WRKDIR}/${PORTNAME}-backend-${PHONON_PLUGIN}-${DISTVERSION} .include diff --git a/multimedia/py-qt5-multimedia/Makefile b/multimedia/py-qt5-multimedia/Makefile index dce3257e65c9..42e309fc6b5c 100644 --- a/multimedia/py-qt5-multimedia/Makefile +++ b/multimedia/py-qt5-multimedia/Makefile @@ -1,29 +1,30 @@ PORTNAME= multimedia +PORTREVISION= 1 CATEGORIES= multimedia devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtMultimedia module CONFIGURE_ARGS= --enable QtMultimedia PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run gui_run network_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui multimedia network qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtMultimedia API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtMultimedia.so .include diff --git a/multimedia/py-qt5-multimediawidgets/Makefile b/multimedia/py-qt5-multimediawidgets/Makefile index 8ea6ee7a60e3..82ab779c96c9 100644 --- a/multimedia/py-qt5-multimediawidgets/Makefile +++ b/multimedia/py-qt5-multimediawidgets/Makefile @@ -1,29 +1,30 @@ PORTNAME= multimediawidgets +PORTREVISION= 1 CATEGORIES= multimedia devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtMultimediaWidgets module CONFIGURE_ARGS= --enable QtMultimediaWidgets PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run multimedia_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui multimedia network widgets qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtMultimedia API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtMultimediaWidgets.so .include diff --git a/multimedia/qmmp-qt5/Makefile b/multimedia/qmmp-qt5/Makefile index 37fe83ab84e8..ad9a7aaf27e6 100644 --- a/multimedia/qmmp-qt5/Makefile +++ b/multimedia/qmmp-qt5/Makefile @@ -1,320 +1,320 @@ PORTNAME= qmmp PORTVERSION= 1.2.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= multimedia MASTER_SITES= http://qmmp.ylsoftware.com/files/ \ SF/qmmp-dev/${PORTNAME}/ PKGNAMESUFFIX= -qt5 MAINTAINER= liangtai.s16@gmail.com COMMENT= Qt5-based multimedia player LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= ${PORTNAME}-0.* PORTSCOUT= limit:^1\..* USES= cmake gnome pathfix pkgconfig qt:5 tar:bzip2 USE_QT= core gui network widgets xml \ buildtools_build linguisttools_build qmake_build USE_LDCONFIG= yes OPTIONS_SUB= yes OPTIONS_GROUP= DOCUMENTS PLUGIN_APPLICATION PLUGIN_FORMATS \ PLUGIN_DSP_EFFECTS PLUGIN_VISUAL_EFFECTS PLUGIN_OUTPUT \ PLUGIN_PLAYLIST PLUGIN_NETWORKING MISC PLUGIN_APPLICATION_DESC= Main program view OPTIONS_GROUP_PLUGIN_APPLICATION= GNOMEHOTKEY HOTKEY KDENOTIFY \ NOTIFIER QMMP_DIALOG QSUI SKINNEDUI STATICON TWOPANELDIALOG DOCUMENTS_DESC= Documentation and API Reference OPTIONS_GROUP_DOCUMENTS= DOCS DOXYGEN PLUGIN_FORMATS_DESC= Support various media formats OPTIONS_GROUP_PLUGIN_FORMATS= ARCHIVE CDDA FAAD FFMPEG FLAC GME \ MAD MODPLUG MUSEPACK OPUS SNDFILE VORBIS WAVPACK WILDMIDI PLUGIN_DSP_EFFECTS_DESC= DSP effects OPTIONS_GROUP_PLUGIN_DSP_EFFECTS= BS2B CROSSFADE LADSPA SOXR STEREO PLUGIN_VISUAL_EFFECTS_DESC= Visual effects OPTIONS_GROUP_PLUGIN_VISUAL_EFFECTS= ANALYZER PROJECTM PLUGIN_OUTPUT_DESC= Output sound systems OPTIONS_GROUP_PLUGIN_OUTPUT= ALSA JACK NULLOUT OSS OSS4 \ PULSEAUDIO QTMULTIMEDIA SHOUTCAST PLUGIN_PLAYLIST_DESC= Playlist operation OPTIONS_GROUP_PLUGIN_PLAYLIST= COPYPASTE DIR_ASSOC FILEOPS HAL \ TRACKCHANGE UDISKS2 PLUGIN_NETWORKING_DESC= Features via the Net OPTIONS_GROUP_PLUGIN_NETWORKING= COVER CURL LYRICS MMS SB SCROBBLER MISC_DESC= Other features OPTIONS_GROUP_MISC= CONVERTER CUE ENCA FILEWRITER MPLAYER MPRIS RGSCAN SID OPTIONS_DEFAULT= ALSA ANALYZER ARCHIVE BS2B CDDA CONVERTER COPYPASTE COVER \ CROSSFADE CUE CURL DIR_ASSOC ENCA FAAD FFMPEG FILEOPS FILEWRITER FLAC \ GNOMEHOTKEY GME HAL HOTKEY JACK KDENOTIFY LADSPA LYRICS MAD \ MMS MODPLUG MPRIS MPLAYER MUSEPACK NOTIFIER NULLOUT \ OPUS OSS4 PROJECTM PULSEAUDIO QMMP_DIALOG QSUI QTMULTIMEDIA RGSCAN \ SHOUTCAST SB SCROBBLER SID SKINNEDUI SNDFILE SOXR STATICON STEREO \ TRACKCHANGE TWOPANELDIALOG UDISKS2 VORBIS WAVPACK WILDMIDI DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen QSUI_DESC= Simple UI based on standard widgets set QSUI_CMAKE_BOOL= USE_QSUI SKINNEDUI_DESC= Skinned GUI SKINNEDUI_USES= qt:5 xorg SKINNEDUI_USE= QT=x11extras XORG=x11 SKINNEDUI_CMAKE_BOOL= USE_SKINNED DIR_ASSOC_DESC= inode/directory mime type association DIR_ASSOC_CMAKE_BOOL= USE_DIR_ASSOC DIR_ASSOC_USES= desktop-file-utils JACK_LIB_DEPENDS= libjack.so:audio/jack \ libsoxr.so:audio/libsoxr JACK_BUILD_DEPENDS= jackit>=0.121.2:audio/jack JACK_CMAKE_BOOL= USE_JACK ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA BS2B_DESC= Support the Bauer stereophonic2binaural effect BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CMAKE_BOOL= USE_BS2B PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE QTMULTIMEDIA_DESC= Support to use Qt low-level multimedia API QTMULTIMEDIA_USES= qt:5 QTMULTIMEDIA_USE= QT=multimedia QTMULTIMEDIA_CMAKE_BOOL= USE_QTMULTIMEDIA SHOUTCAST_LIB_DEPENDS= libogg.so:audio/libogg \ libshout.so:audio/libshout \ libsoxr.so:audio/libsoxr \ libvorbis.so:audio/libvorbis SHOUTCAST_CMAKE_BOOL= USE_SHOUT FLAC_LIB_DEPENDS= libFLAC.so:audio/flac \ libtag.so:audio/taglib FLAC_CMAKE_BOOL= USE_FLAC MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack \ libtag.so:audio/taglib MUSEPACK_CMAKE_BOOL= USE_MPC GME_DESC= Support video game music files GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CMAKE_BOOL= USE_GME FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= USE_FFMPEG MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CMAKE_BOOL= USE_MODPLUG FAAD_LIB_DEPENDS= libfaad.so:audio/faad \ libtag.so:audio/taglib FAAD_CMAKE_BOOL= USE_AAC CDDA_LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libcddb.so:audio/libcddb \ libcdio_cdda.so:sysutils/libcdio-paranoia CDDA_CMAKE_BOOL= USE_CDA ENCA_DESC= Support automatic character set detection ENCA_LIB_DEPENDS= libenca.so:converters/enca ENCA_CMAKE_BOOL= USE_ENCA FILEWRITER_DESC= Dump output sound into ogg audio file FILEWRITER_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis FILEWRITER_CMAKE_BOOL= USE_FILEWRITER MPLAYER_DESC= Enable showing videos by mplayer MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPLAYER_CMAKE_BOOL= USE_MPLAYER PROJECTM_DESC= Support the projectM music visualiser PROJECTM_LIB_DEPENDS= libprojectM.so:graphics/libprojectm PROJECTM_USES= gl PROJECTM_USE= GL=gl PROJECTM_CMAKE_BOOL= USE_PROJECTM OSS_CMAKE_BOOL= USE_OSS OSS4_DESC= Open Sound System (ver4) support OSS4_BUILD_DEPENDS= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:audio/oss OSS4_CMAKE_BOOL= USE_OSS4 LADSPA_RUN_DEPENDS= analyseplugin:audio/ladspa LADSPA_CMAKE_BOOL= USE_LADSPA WILDMIDI_DESC= Support to playback MIDI files WILDMIDI_LIB_DEPENDS= libWildMidi.so:audio/wildmidi WILDMIDI_CMAKE_BOOL= USE_MIDI MAD_LIB_DEPENDS= libmad.so:audio/libmad \ libtag.so:audio/taglib MAD_CMAKE_BOOL= USE_MAD OPUS_DESC= Enable reading opusfile tags OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile \ libopus.so:audio/opus \ libtag.so:audio/taglib OPUS_CMAKE_BOOL= USE_OPUS RGSCAN_DESC= ReplayGain scanner RGSCAN_LIB_DEPENDS= libtag.so:audio/taglib RGSCAN_CMAKE_BOOL= USE_RGSCAN SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_BOOL= USE_SNDFILE VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg \ libtag.so:audio/taglib VORBIS_CMAKE_BOOL= USE_VORBIS WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CMAKE_BOOL= USE_WAVPACK CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CMAKE_BOOL= USE_CURL MMS_LIB_DEPENDS= libmms.so:net/libmms MMS_CMAKE_BOOL= USE_MMS CUE_CMAKE_BOOL= USE_CUE NULLOUT_DESC= Support null output NULLOUT_CMAKE_BOOL= USE_NULL SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CMAKE_BOOL= USE_SOXR CROSSFADE_DESC= Support cross-fade effect CROSSFADE_CMAKE_BOOL= USE_CROSSFADE STEREO_DESC= Support stereo effect STEREO_CMAKE_BOOL= USE_STEREO ANALYZER_DESC= Support spectrum analyzer visualization ANALYZER_CMAKE_BOOL= USE_ANALYZER ARCHIVE_DESC= Read archived media file ARCHIVE_USES= libarchive ARCHIVE_CMAKE_BOOL= USE_ARCHIVE CONVERTER_DESC= Support file type converter CONVERTER_LIB_DEPENDS= libtag.so:audio/taglib CONVERTER_CMAKE_BOOL= USE_CONVERTER COPYPASTE_DESC= Enable copy/paste track infos between playlists COPYPASTE_CMAKE_BOOL= USE_COPYPASTE MPRIS_DESC= Support the Media Player Remote MPRIS_USES= qt:5 MPRIS_USE= QT=dbus MPRIS_CMAKE_BOOL= USE_MPRIS SCROBBLER_DESC= Support Libre.fm/Last.fm scrobbler feature SCROBBLER_CMAKE_BOOL= USE_SCROBBLER SID_DESC= Support sid SID_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp SID_CMAKE_BOOL= USE_SID STATICON_DESC= Support to show status icon STATICON_CMAKE_BOOL= USE_STATICON SB_DESC= Browser for IceCast stream directory SB_CMAKE_BOOL= USE_SB NOTIFIER_DESC= Support to popup notifier NOTIFIER_CMAKE_BOOL= USE_NOTIFIER LYRICS_DESC= Support to show lyrics using lyrics.wikia.com LYRICS_CMAKE_BOOL= USE_LYRICS HAL_USES= qt:5 HAL_USE= QT=dbus HAL_CMAKE_BOOL= USE_HAL HOTKEY_DESC= Support global shortcut keys HOTKEY_USES= qt:5 HOTKEY_USE= QT=x11extras XORG=x11 HOTKEY_CMAKE_BOOL= USE_HOTKEY GNOMEHOTKEY_DESC= Support GNOME/Cinnamon shortcut keys GNOMEHOTKEY_USES= qt:5 GNOMEHOTKEY_USE= QT=dbus GNOMEHOTKEY_CMAKE_BOOL= USE_GNOMEHOTKEY FILEOPS_DESC= Support file operation FILEOPS_CMAKE_BOOL= USE_FILEOPS COVER_DESC= Support to show cover images COVER_CMAKE_BOOL= USE_COVER KDENOTIFY_DESC= Support to popup notifier for KDE KDENOTIFY_USES= qt:5 KDENOTIFY_USE= QT=dbus KDENOTIFY_CMAKE_BOOL= USE_KDENOTIFY TRACKCHANGE_DESC= Enable to run external command each track TRACKCHANGE_CMAKE_BOOL= USE_TRACKCHANGE UDISKS2_DESC= Support removable disc detection using UDisks UDISKS2_RUN_DEPENDS= bsdisks:sysutils/bsdisks UDISKS2_USES= qt:5 UDISKS2_USE= QT=dbus UDISKS2_CMAKE_BOOL= USE_UDISKS2 QMMP_DIALOG_DESC= An original dialog QMMP_DIALOG_CMAKE_BOOL= USE_QMMP_DIALOG TWOPANELDIALOG_DESC= File dialog by two-panel selector TWOPANELDIALOG_CMAKE_BOOL= USE_TWO_PANEL_DIALOG PLIST_SUB+= SHLIB_VER=${PORTVERSION:C/-.*//} PATHFIX_CMAKELISTSTXT= \\"CMakeLists.txt -exec grep -l /pkgconfig {} +\\" PORTDOCS= README README.RUS AUTHORS post-patch: @${GREP} -L '${LOCALBASE}/lib/oss' \ ${WRKSRC}/src/plugins/Output/oss4/CMakeLists.txt | ${XARGS} \ ${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|' pre-configure: @${RM} ${BUILD_WRKSRC}/CMakeCache.txt post-build-DOXYGEN-on: cd ${WRKSRC}/doc && doxygen Doxyfile post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}; \ cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-DOXYGEN-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html/search ; \ cd ${WRKSRC}/doc/html && \ ${INSTALL_MAN} *.html *.png *.css ${STAGEDIR}${DOCSDIR}/html ; \ cd ${WRKSRC}/doc/html/search && \ ${INSTALL_MAN} *.html *.png *.css *.js ${STAGEDIR}${DOCSDIR}/html/search ; \ ${RM} ${WRKDIR}/PLIST.doc ; \ ${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \ ${SED} 's|${STAGEDIR}${PREFIX}/||' \ >> ${WRKDIR}/PLIST.doc ; \ cd ${WRKDIR} ; ${SED} -i -e '/PLIST.doc/ r PLIST.doc' ${TMPPLIST} .include diff --git a/multimedia/qt5-multimedia/Makefile b/multimedia/qt5-multimedia/Makefile index 08c366ea3615..f8b900e65c0f 100644 --- a/multimedia/qt5-multimedia/Makefile +++ b/multimedia/qt5-multimedia/Makefile @@ -1,60 +1,60 @@ PORTNAME= multimedia DISTVERSION= ${QT5_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt audio, video, radio and camera support module # LICENSE set via USES_QT5 (bsd.qt.mk) USES= compiler:c++11-lang gl gnome pkgconfig qmake:norecursive \ qt-dist:5,multimedia xorg USE_GL= gl USE_GNOME= glib20 USE_QT= core declarative gui network opengl widgets \ buildtools_build USE_XORG= x11 xext xv QT_CONFIG= xlib # TODO: Bug 225100: the machinery in bsd.qt.mk's qt-post-install target does # not seem to account for the case of a module no longer defining QT_DEFINES: # the lines in qconfig-modules.h including said module's qconfig-.h # will remain. We're setting it below to avoid build errors, but this needs to # be fixed properly later. QT_DEFINES= _QTMULTIMEDIA_DUMMY OPTIONS_DEFINE= GSTREAMER OPENAL OPTIONS_DEFAULT= ALSA GSTREAMER OPENAL OPTIONS_GROUP= AUDIOPLUGIN OPTIONS_GROUP_AUDIOPLUGIN= ALSA PULSEAUDIO OPTIONS_SUB= yes AUDIOPLUGIN_DESC= Audio plugins to build OPENAL_DESC= 3D positional spatialized sound support OPENAL_USES= openal OPENAL_VARS= QT_CONFIG+=openal OPENAL_VARS_OFF= QT_CONFIG+=-openal \ QMAKE_CONFIGURE_ARGS+=-no-openal ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_VARS= QT_CONFIG+=alsa ALSA_VARS_OFF= QT_CONFIG+=-alsa \ QMAKE_CONFIGURE_ARGS+=-no-alsa GSTREAMER_BUILD_DEPENDS=${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat GSTREAMER_USE= GSTREAMER1=bad GSTREAMER_VARS= QT_CONFIG+=gstreamer-1.0 \ QMAKE_CONFIGURE_ARGS+=-gstreamer 1.0 GSTREAMER_VARS_OFF= QT_CONFIG+=-gstreamer-1.0 \ QMAKE_CONFIGURE_ARGS+=-no-gstreamer PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= QT_CONFIG+=pulseaudio PULSEAUDIO_VARS_OFF= QT_CONFIG+=-pulseaudio \ QMAKE_CONFIGURE_ARGS+=-no-pulseaudio .include diff --git a/multimedia/shotcut/Makefile b/multimedia/shotcut/Makefile index 4a6b98b98ce3..49d3f674e1a2 100644 --- a/multimedia/shotcut/Makefile +++ b/multimedia/shotcut/Makefile @@ -1,50 +1,51 @@ PORTNAME= shotcut DISTVERSIONPREFIX= v DISTVERSION= ${FULLVERSION} +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org COMMENT= Free, open source, cross-platform video editor LICENSE= GPLv3 LIB_DEPENDS= libmlt.so:multimedia/mlt RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ ${LOCALBASE}/lib/libjack.so:audio/jack USES= compiler:c++11-lang desktop-file-utils gl pkgconfig \ qmake qt:5 sdl shared-mime-info \ xorg USE_GITHUB= yes GH_ACCOUNT= mltframework # Needed to be able to correctly check for updates in-app. FULLVERSION= 21.03.21 USE_GL+= gl USE_QT= buildtools_build concurrent_build core declarative \ graphicaleffects_run gui multimedia network opengl \ printsupport quickcontrols2 sql \ sql-sqlite3_run webkit websockets widgets x11extras xml \ linguisttools_build USE_SDL= sdl2 USE_XORG= x11 QMAKE_ARGS= ${PORTNAME:tu}_VERSION="${FULLVERSION}" OPTIONS_DEFINE= FREI0R LADSPA NLS WEBVFX OPTIONS_DEFAULT=FREI0R LADSPA WEBVFX OPTIONS_SUB= yes WEBVFX_DESC= HTML/QML-based video effects support FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r-plugins LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins WEBVFX_RUN_DEPENDS= ${LOCALBASE}/lib/mlt/libmltwebvfx.so:multimedia/webvfx-qt5 pre-build: @${FIND} ${WRKSRC} -name '.depend' -delete .include diff --git a/multimedia/smplayer/Makefile b/multimedia/smplayer/Makefile index 422eaa164d55..8aeeb57807d7 100644 --- a/multimedia/smplayer/Makefile +++ b/multimedia/smplayer/Makefile @@ -1,81 +1,82 @@ # Created by: Diego Depaoli and Yinghong Liu PORTNAME= smplayer DISTVERSION= 21.1.0 +PORTREVISION= 1 CATEGORIES= multimedia audio kde MASTER_SITES= SF/${PORTNAME}/SMPlayer/${PORTVERSION} MAINTAINER= vvd@unislabs.com COMMENT= Complete front-end based on Qt for mplayer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/Copying.txt USES= cpe compiler:c++11-lang desktop-file-utils dos2unix gl \ gmake qmake qt:5 tar:bzip2 xorg USE_GL= gl USE_QT= buildtools_build linguisttools_build \ core dbus gui network script widgets xml USE_XORG= x11 xext CPE_VENDOR= ricardo_villalba DOS2UNIX_REGEX= .*.[^p][^n][^g]$ ALL_TARGET= src/smplayer CONFIGURE_WRKSRC= ${WRKSRC}/src MAKE_ARGS= PREFIX=${PREFIX} DESTDIR=${STAGEDIR} QMAKE_ARGS= "DEFINES_DISABLED+=MPLAYER2_SUPPORT" PORTDOCS= Changelog Not_so_obvious_things.txt \ Readme.txt Release_notes.txt Watching_TV.txt OPTIONS_MULTI= ENGINE OPTIONS_MULTI_ENGINE= MPLAYER MPV OPTIONS_DEFINE= DOCS DEBUG SKINS THEMES OPTIONS_DEFAULT= MPV SKINS THEMES ENGINE_DESC= Multimedia engine MPLAYER_DESC= Allow to use MPlayer as multimedia engine MPV_DESC= Allow to use mpv as multimedia engine SKINS_DESC= Install additional skins THEMES_DESC= Install additional themes MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPLAYER_QMAKE_OFF= "DEFINES_DISABLED+=MPLAYER_SUPPORT" MPV_RUN_DEPENDS= mpv:multimedia/mpv MPV_QMAKE_OFF= "DEFINES_DISABLED+=MPV_SUPPORT" SKINS_RUN_DEPENDS= smplayer-skins>=0:multimedia/smplayer-skins THEMES_RUN_DEPENDS= smplayer-themes>=0:multimedia/smplayer-themes # Do not use unstable versions PORTSCOUT= site:http://sourceforge.net/projects/smplayer/files/Unstable/releases/ SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -e 's|&& $$(QMAKE) $$(QMAKE_OPTS)||; \ s|lrelease|${LRELEASE}|; \ s| make| ${MAKE_CMD}|g' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|-O2 -W -Wall -Werror|${CFLAGS}|' \ ${WRKSRC}/webserver/Makefile post-patch-DEBUG-on: @${REINPLACE_CMD} -e '/CONFIG += debug/s|#||' \ ${WRKSRC}/src/smplayer.pro post-patch-DEBUG-off: @${REINPLACE_CMD} -e '/DEFINES += NO_DEBUG_ON_CONSOLE/s|#||' \ ${WRKSRC}/src/smplayer.pro post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/simple_web_server post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/multimedia/smtube/Makefile b/multimedia/smtube/Makefile index 9eda76102a69..9441d10a09fa 100644 --- a/multimedia/smtube/Makefile +++ b/multimedia/smtube/Makefile @@ -1,51 +1,52 @@ # Created by: Pawel Pekala PORTNAME= smtube DISTVERSION= 20.6.0 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= SF/smtube/SMTube/${PORTVERSION}/ MAINTAINER= vvd@unislabs.com COMMENT= SMPlayer YouTube browser LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/Copying.txt RUN_DEPENDS= youtube-dl:www/youtube_dl USES= gl gmake qt:5 tar:bzip2 USE_GL= gl USE_QT= qmake_build buildtools_build linguisttools_build \ core network script gui webkit widgets ALL_TARGET= #empty MAKE_ARGS= DATA_PATH="${DATADIR}" DOC_PATH="${DOCSDIR}" \ LRELEASE="${LRELEASE}" MAKE="${MAKE_CMD}" \ QMAKE="${QMAKE}" PORTDOCS= * OPTIONS_MULTI= PLAYER OPTIONS_MULTI_PLAYER= MPLAYER MPV SMPLAYER VLC OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= QT5 SMPLAYER PLAYER_DESC= Video player MPLAYER_DESC= MPlayer dependency for video playback MPV_DESC= mpv dependency for video playback SMPLAYER_DESC= SMPlayer dependency for video playback VLC_DESC= VLC dependency for video playback MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPV_RUN_DEPENDS= mpv:multimedia/mpv SMPLAYER_RUN_DEPENDS= smplayer:multimedia/smplayer VLC_RUN_DEPENDS= vlc:multimedia/vlc post-patch: @${REINPLACE_CMD} 's|$$(QMAKE_OPTS)|${QMAKE_ARGS:S,\$,\$\$,g}|' \ ${WRKSRC}/Makefile post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/multimedia/vdr-plugin-xineliboutput/Makefile b/multimedia/vdr-plugin-xineliboutput/Makefile index 9acd97710675..9094529c5b2b 100644 --- a/multimedia/vdr-plugin-xineliboutput/Makefile +++ b/multimedia/vdr-plugin-xineliboutput/Makefile @@ -1,66 +1,66 @@ # Created by: Juergen Lock PORTNAME= vdr-plugin-xineliboutput PORTVERSION= 1.0.90s20120511 -PORTREVISION= 30 +PORTREVISION= 31 CATEGORIES= multimedia MASTER_SITES= SF/xineliboutput/files/xineliboutput/vdr-xineliboutput-${PORTVERSION}/:release \ LOCAL/nox:snapshot DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - xineliboutput plugin/viewer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxine.so:multimedia/libxine \ libavutil.so:multimedia/ffmpeg \ libdbus-glib-1.so:devel/dbus-glib \ libvdpau.so:multimedia/libvdpau PATCH_STRIP= -p1 USES= compiler:c++11-lang gl pkgconfig tar:bzip2 xorg USE_XORG= xrandr xrender HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" --cxx="${CXX}" --add-cflags=-I${VDRDIR} USE_GL= gl glu glut WRKSRC= ${WRKDIR}/vdr-${PLUGIN} XINE_PLUGINSDIR=lib/xine/plugins/2.9 PORTDOCS= README HISTORY PORTEXAMPLES= xine PLIST_SUB= XINE_PLUGINSDIR=${XINE_PLUGINSDIR} OPTIONS_DEFINE= LIBBLURAY LIBEXTRACTOR EXAMPLES DOCS LIBEXTRACTOR_LIB_DEPENDS= libextractor.so:textproc/libextractor LIBEXTRACTOR_CONFIGURE_ENABLE= libextractor LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin # clang doesn't know -MG ${TOUCH} -t 200001010000 ${WRKSRC}/nosignal_720x576.c \ ${WRKSRC}/black_720x576.c ${WRKSRC}/vdrlogo_720x576.c pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: post-install-pluginlocales @${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN} ${INSTALL_DATA} ${WRKSRC}/examples/allowed_hosts.conf \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/xine ${INSTALL_DATA} ${FILESDIR}/keymap ${STAGEDIR}${EXAMPLESDIR}/xine post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/multimedia/webcamoid/Makefile b/multimedia/webcamoid/Makefile index 4177bd8c5f1e..f137c2e93a09 100644 --- a/multimedia/webcamoid/Makefile +++ b/multimedia/webcamoid/Makefile @@ -1,38 +1,39 @@ PORTNAME= webcamoid DISTVERSION= 8.8.0 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Full featured webcam suite LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libasound.so:audio/alsa-lib \ libavcodec.so:multimedia/ffmpeg \ libjack.so:audio/jack \ libpulse.so:audio/pulseaudio \ libv4l2.so:multimedia/libv4l USES= compiler:c++11-lang gl gnome pkgconfig qmake qt:5 xorg USE_GITHUB= yes USE_GNOME= glib20 USE_GSTREAMER1= yes USE_GL= gl USE_QT= concurrent core declarative gui multimedia network opengl quickcontrols2 svg widgets xml \ buildtools_build quickcontrols_run MAKE_ENV= NOOSS=1 # NOOSS is because the OSS module attempts to use kevent on OSS devices, which is broken in the base QMAKE_ARGS= INSTALLQMLDIR=${QT_QMLDIR} \ LIBDIR=${PREFIX}/lib \ MANDIR=${PREFIX}/man .include .if ${CHOSEN_COMPILER_TYPE} == gcc # Workaround for Bug#224137: devel/qt5-qmake: Doesn't use the right compiler in case USE_GCC is selected BINARY_ALIAS= g++=${CXX} .endif .include diff --git a/multimedia/wlrobs/Makefile b/multimedia/wlrobs/Makefile index 859465e927b9..a8616e96da8e 100644 --- a/multimedia/wlrobs/Makefile +++ b/multimedia/wlrobs/Makefile @@ -1,29 +1,30 @@ PORTNAME= wlrobs DISTVERSIONPREFIX= v PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONFULL:C/.*-//}${EXTRACT_SUFX}?dummy=/ MAINTAINER= jbeich@FreeBSD.org COMMENT= Wayland screen capture plugin for obs-studio LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING.md LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libobs.so:multimedia/obs-studio USES= gl meson pkgconfig USE_GL= egl DATADIR= ${PREFIX}/lib/obs-plugins PORTDATA= lib${PORTNAME}.so .include .if ${ARCH:Mpowerpc64*} USES+= compiler:gcc-c++11-lib .else USES+= compiler:c11 .endif .include diff --git a/net-im/chatterino2/Makefile b/net-im/chatterino2/Makefile index 82109562a1d6..99a5c59ceb4c 100644 --- a/net-im/chatterino2/Makefile +++ b/net-im/chatterino2/Makefile @@ -1,57 +1,57 @@ PORTNAME= chatterino2 PORTVERSION= g2020090101 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-im MAINTAINER= swills@FreeBSD.org COMMENT= Twitch chat client LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rapidjson>0:devel/rapidjson LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libqt5keychain.so:security/qtkeychain USES= compiler:c++17-lang gl pkgconfig qmake qt:5 ssl USE_QT= concurrent core gui multimedia network svg widgets \ buildtools_build qmake_build USE_GL= gl OPTIONS_DEFINE= DOCS PLIST_FILES= bin/chatterino \ share/appdata/com.chatterino.chatterino.appdata.xml \ share/applications/com.chatterino.chatterino.desktop \ share/icons/hicolor/256x256/apps/chatterino.png USE_GITHUB= yes GH_ACCOUNT= chatterino COMMIT_ID= cbcd5f3863b6edf22b6d6ffb625bd338f3ea112d GH_TAGNAME= ${COMMIT_ID:C|(.......).*|\1|} GH_TUPLE= Chatterino:libcommuni:f3e7f97:communi/lib/libcommuni \ pajlada:humanize:4e00a03:humanize/lib/humanize \ pajlada:serialize:130ffc3:serialize/lib/serialize \ pajlada:settings:6de3a27:settings/lib/settings \ pajlada:signals:6665cca:signals/lib/signals \ ziocleto:websocketpp:1e0138c:websocketpp/lib/websocketpp QMAKE_ENV= GIT_COMMIT=${COMMIT_ID} \ GIT_RELEASE=${DISTVERSIONPREFIX}${PORTVERSION} QMAKE_ARGS= INCLUDEPATH+=${LOCALBASE}/include/qt5keychain \ LIBS+=-lqt5keychain \ RAPIDJSON_SYSTEM=1 PORTDOCS= README.md docs/Commands.md docs/ENV.md docs/IMAGEUPLOADER.md \ docs/README.md docs/Regex.md PORTSCOUT= skipv:v2.2.2,v2.2.1,v2.2.0,v2.1.7,v2.1.6,v2.1.5,v2.1.4,v2.1.3,v2.1.2,v2.1.0,v2.0.4,v2.0.3,v2.0.2,v2.0.1,v2.0.0 post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/docs ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ .for DOC in docs/Commands.md docs/ENV.md docs/IMAGEUPLOADER.md docs/README.md docs/Regex.md ${INSTALL_DATA} ${WRKSRC}/${DOC} ${STAGEDIR}${DOCSDIR}/docs .endfor .include diff --git a/net-im/diligent/Makefile b/net-im/diligent/Makefile index 754710a469ae..2b64648ba47b 100644 --- a/net-im/diligent/Makefile +++ b/net-im/diligent/Makefile @@ -1,36 +1,36 @@ # Created by: Kris Moore PORTNAME= diligent PORTVERSION= 0.2.7 -PORTREVISION= 8 +PORTREVISION= 9 DISTVERSIONPREFIX= v CATEGORIES= net-im MAINTAINER= ports@FreeBSD.org COMMENT= Unofficial Qt Slack client LICENSE= LGPL3 USE_LDCONFIG= yes USE_QT= core gui linguist network svg \ webkit widgets x11extras buildtools_build USE_GL= gl USES= compiler:c++11-lang gl qmake qt:5 QMAKE_ARGS= CONFIG+="configure" USE_GITHUB= yes GH_ACCOUNT= trueos GH_PROJECT= diligent PLIST_FILES= bin/diligent \ share/applications/diligent.desktop \ share/icons/diligent.png SUB_FILES= diligent.desktop do-install: ${INSTALL_PROGRAM} ${WRKSRC}/diligent ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/${SUB_FILES} ${STAGEDIR}${PREFIX}/share/applications/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons ${INSTALL_DATA} ${WRKSRC}/images/png/Slack.png ${STAGEDIR}${PREFIX}/share/icons/diligent.png .include diff --git a/net-im/gitterdone/Makefile b/net-im/gitterdone/Makefile index 7f7a1666a980..223e1a8f2b44 100644 --- a/net-im/gitterdone/Makefile +++ b/net-im/gitterdone/Makefile @@ -1,30 +1,30 @@ PORTNAME= gitterdone PORTVERSION= 201710031257 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-im MAINTAINER= jt@ixsystems.com COMMENT= Gitter Client based on Qt5 LICENSE= BSD2CLAUSE USES= compiler:c++11-lang gl qmake qt:5 shebangfix tar:xz USE_QT= core gui network linguist_build \ buildtools_build widgets webkit svg USE_GL+= gl MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes WRKSRC_SUBDIR= src-qt5 QMAKE_ARGS= CONFIG+="configure" USE_GITHUB= yes GH_ACCOUNT= trueos GH_PROJECT= gitterdone GH_TAGNAME= 23eaadb70baeffb22ab035e08fc4675907707590 .include diff --git a/net-im/neochat/Makefile b/net-im/neochat/Makefile index 9d1211f92d6c..783226d2dccc 100644 --- a/net-im/neochat/Makefile +++ b/net-im/neochat/Makefile @@ -1,30 +1,30 @@ PORTNAME= neochat DISTVERSION= 1.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-im MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} MAINTAINER= adridg@FreeBSD.org COMMENT= Glossy Matrix IM client based on KDE technologies LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-only.txt LIB_DEPENDS= libcmark.so:textproc/cmark \ libqt5keychain.so:security/qtkeychain BUILD_DEPENDS= libquotient>=0.6.6:net-im/libquotient \ kquickimageeditor>=0.1.2:graphics/kquickimageeditor # Quotient is a static lib RUN_DEPENDS= kquickimageeditor>=0.1.2:graphics/kquickimageeditor USES= cmake compiler:c++17-lang gl kde:5 pkgconfig qt:5 tar:xz USE_GL= gl USE_QT= core dbus declarative graphicaleffects gui imageformats \ multimedia network quickcontrols quickcontrols2 \ svg widgets xml \ buildtools_build linguist_build qmake_build USE_KDE= config coreaddons dbusaddons i18n itemmodels kirigami2 notifications \ qqc2-desktop-style \ ecm_build .include diff --git a/net-im/ricochet/Makefile b/net-im/ricochet/Makefile index 4f2cb933a6e7..1a1eeaa4d838 100644 --- a/net-im/ricochet/Makefile +++ b/net-im/ricochet/Makefile @@ -1,42 +1,42 @@ # Created by: Yuri Victorovich PORTNAME= ricochet PORTVERSION= 1.1.4 DISTVERSIONPREFIX= v -PORTREVISION= 24 +PORTREVISION= 25 CATEGORIES= net-im net-p2p MAINTAINER= yuri@FreeBSD.org COMMENT= Anonymous peer-to-peer instant messenger LICENSE= RICOCHET LICENSE_NAME= Ricochet LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= compiler:c++11-lib gl gmake pkgconfig qmake qt:5 ssl USE_GITHUB= yes GH_ACCOUNT= ricochet-im USE_QT= core declarative gui multimedia network quickcontrols widgets \ buildtools_build linguisttools_build USE_GL= gl QMAKE_ARGS+= DEFINES+=RICOCHET_NO_PORTABLE OPENSSLDIR=${OPENSSLBASE} OPTIONS_DEFINE= TOR OPTIONS_DEFAULT= TOR TOR_DESC= Install Tor: it is required for ${PORTNAME} to run TOR_RUN_DEPENDS= tor:security/tor PLIST_FILES= bin/ricochet \ share/applications/ricochet.desktop \ share/icons/hicolor/48x48/apps/ricochet.png \ share/icons/hicolor/scalable/apps/ricochet.svg post-patch: @${REINPLACE_CMD} -E 's| -fsanitize=[a-z-]+| |g' \ ${WRKSRC}/hardened.pri .include diff --git a/net-im/spectral/Makefile b/net-im/spectral/Makefile index 55f721f1b0a2..6649d665fce7 100644 --- a/net-im/spectral/Makefile +++ b/net-im/spectral/Makefile @@ -1,40 +1,40 @@ PORTNAME= spectral PORTVERSION= 817 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-im MAINTAINER= adridg@FreeBSD.org COMMENT= Glossy Matrix IM client based on Qt technologies LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libqt5keychain.so:security/qtkeychain \ libcmark.so:textproc/cmark USES= cmake compiler:c++17-lang gl pkgconfig qt:5 tar:bz2 USE_GL= gl USE_QT= core dbus declarative graphicaleffects gui imageformats \ multimedia network quickcontrols quickcontrols2 svg widgets \ buildtools_build linguist_build qmake_build CMAKE_ON= USE_INTREE_LIBQMC SFPMNAME= SortFilterProxyModel SFPMVERSION= 36befddf5d57faad990e72c88c5844794f274145 QUOTNAME= libQuotient QUOTVERSION= 58dfe74390ebdd8ec6611d3b8fecfe7d051ff955 DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.bz2:spectral \ ${SFPMVERSION}.zip:sfpm \ ${QUOTVERSION}.zip:quot MASTER_SITES= https://gitlab.com/spectral-im/spectral/-/archive/${PORTVERSION}/:spectral \ https://github.com/oKcerG/${SFPMNAME}/archive/:sfpm \ https://github.com/quotient-im/${QUOTNAME}/archive/:quot post-extract: ${RMDIR} ${WRKSRC}/include/${SFPMNAME} ${WRKSRC}/include/${QUOTNAME} ${LN} -s ${WRKDIR}/${SFPMNAME}-${SFPMVERSION} ${WRKSRC}/include/${SFPMNAME} ${LN} -s ${WRKDIR}/${QUOTNAME}-${QUOTVERSION} ${WRKSRC}/include/${QUOTNAME} .include diff --git a/net-im/teamwords/Makefile b/net-im/teamwords/Makefile index 5a8d904e30c9..186f6ef41da3 100644 --- a/net-im/teamwords/Makefile +++ b/net-im/teamwords/Makefile @@ -1,43 +1,43 @@ # Created by: Kris Moore PORTNAME= teamwords PORTVERSION= 0.2.1 DISTVERSIONPREFIX= v -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= net-im MAINTAINER= ports@FreeBSD.org COMMENT= Unofficial Qt Slack client LICENSE= LGPL3 USES= compiler:c++11-lang gl qmake qt:5 USE_LDCONFIG= yes USE_QT= core gui network webkit widgets buildtools_build USE_GL= gl QMAKE_ARGS= CONFIG+="configure" USE_GITHUB= yes GH_ACCOUNT= MiT-Ufa GH_PROJECT= TeamWords PLIST_FILES= bin/teamwords \ share/applications/teamwords.desktop \ share/icons/teamwords.png SUB_FILES= teamwords.desktop OPTIONS_DEFINE= WEBKITNOTIFY WEBKITNOTIFY_DESC= Use QtWebkit for notifications post-patch-WEBKITNOTIFY-on: @${REINPLACE_CMD} 's|linux|unix|' \ ${WRKSRC}/plugins/qtwebkit/qtwebkit-plugins.pri do-install: ${INSTALL_PROGRAM} ${WRKSRC}/teamwords ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/${SUB_FILES} ${STAGEDIR}${PREFIX}/share/applications/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons ${INSTALL_DATA} ${WRKSRC}/images/png/Slack.png ${STAGEDIR}${PREFIX}/share/icons/teamwords.png .include diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index b635bbefee83..ebb2f7000a38 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -1,91 +1,92 @@ PORTNAME= telegram-desktop DISTVERSION= 2.7.4 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= henry.hu.sh@gmail.com COMMENT= Telegram Desktop messaging app LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= Does not build, webrtc related. NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe NOT_FOR_ARCHS_REASON= Only little endian is supported BUILD_DEPENDS= alsa-lib>0:audio/alsa-lib \ microsoft-gsl>0:devel/microsoft-gsl \ pulseaudio>0:audio/pulseaudio \ range-v3>0:devel/range-v3 \ tl-expected>0:devel/tl-expected \ v4l_compat>0:multimedia/v4l_compat \ yasm:devel/yasm \ ${LOCALBASE}/lib/libtg_owt.a:net-im/tg_owt LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdbusmenu-qt5.so:devel/libdbusmenu-qt \ libenchant-2.so:textproc/enchant2 \ libhunspell-1.7.so:textproc/hunspell \ libjpeg.so:graphics/jpeg-turbo \ liblz4.so:archivers/liblz4 \ libminizip.so:archivers/minizip \ libopenal.so:audio/openal-soft \ libopus.so:audio/opus \ libqrcodegencpp.so:graphics/qr-code-generator \ libusrsctp.so:net/libusrsctp \ libxkbcommon.so:x11/libxkbcommon \ libxxhash.so:devel/xxhash USES= cmake compiler:c++17-lang desktop-file-utils gl \ gnome pkgconfig python:3.7+,build qt:5 ssl xorg USE_GITHUB= nodefault GH_ACCOUNT= telegramdesktop GH_PROJECT= tdesktop USE_GL= gl USE_GNOME= glib20 glibmm INSTALLS_ICONS= yes USE_QT= core dbus gui imageformats network widgets buildtools_build \ qmake_build wayland USE_XORG= x11 xcb CMAKE_ARGS= -DDESKTOP_APP_SPECIAL_TARGET="" -DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \ -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} \ -Ddisable_autoupdate=1 CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \ TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION \ DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION CMAKE_OFF= DESKTOP_APP_USE_PACKAGED_RLOTTIE DESKTOP_APP_USE_PACKAGED_VARIANT \ DESKTOP_APP_USE_GLIBC_WRAPS TDESKTOP_USE_PACKAGED_TGVOIP \ DESKTOP_APP_USE_PACKAGED_FONTS # Disable DCHECKs, otherwise video calls will crash. CXXFLAGS+= -DNDEBUG # see Bugzilla #245452 for details NO_CCACHE= yes # Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA. # It dynamically loads PulseAudio, and if this fails, it loads ALSA. # If both of them are not installed, then voice calls do not work, but other functionalities still work. OPTIONS_DEFINE= GTK OPTIONS_DEFAULT= ALSA OPTIONS_MULTI= AUDIO OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO AUDIO_DESC= Audio backend for voice calls GTK_DESC= Gtk integration (Use Gtk dialogs, etc.) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib GTK_CMAKE_BOOL_OFF= DESKTOP_APP_DISABLE_GTK_INTEGRATION GTK_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 GTK_USE= GNOME=gtk30 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio # Telegram asks each custom build to have its own API ID and hash. TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d TELEGRAM_API_ID= 601761 .include diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile index 75c539424179..5e8fd13806a4 100644 --- a/net-p2p/qbittorrent/Makefile +++ b/net-p2p/qbittorrent/Makefile @@ -1,70 +1,71 @@ # Created by: Doug Barton PORTNAME= qbittorrent DISTVERSION= 4.3.5 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Bittorrent client using Qt5 and libtorrent-rasterbar LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_12_powerpc64= fails to build: ./base/tristatebool.h:44:5: 'constexpr' constructor does not have empty body LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \ libboost_system.so:devel/boost-libs FLAVORS= default nox FLAVOR?= ${FLAVORS:[1]} nox_PKGNAMESUFFIX= -nox nox_PLIST= ${MASTERDIR}/pkg-plist-nox USES= compiler:c++14-lang pkgconfig qmake:no_env qt:5 ssl tar:xz GNU_CONFIGURE= yes USE_QT= core network xml buildtools_build linguisttools_build qmake_build DESTDIRNAME= INSTALL_ROOT CONFIGURE_ENV+= openssl_CFLAGS="-I${OPENSSLINC}" openssl_LIBS="-L${OPENSSLLIB} -lssl" .if ${FLAVOR} == default USES+= desktop-file-utils gl USE_QT+= concurrent gui svg widgets USE_GL= gl .endif .if ${FLAVOR} == nox SUFFIX= -nox COMMENT+= (web UI version) CONFIGURE_ARGS= --disable-gui USERS= qbittorrent GROUPS= qbittorrent USE_RC_SUBR= qbittorrent SUB_LIST= USER=${USERS} GROUP=${GROUPS} PLIST_SUB= USER=${USERS} GROUP=${GROUPS} OPTIONS_EXCLUDE= DBUS .endif OPTIONS_DEFINE= DBUS PYTHON DEBUG OPTIONS_DEFAULT= DBUS DEBUG_CONFIGURE_ENABLE= debug DBUS_CONFIGURE_ENABLE= qt-dbus DBUS_USE= qt=dbus PYTHON_DESC= Install Python to support some plugin functionality PYTHON_USES= python:3.6+,run post-patch-PYTHON-on: @${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_CMD}"|' ${WRKSRC}/src/base/utils/foreignapps.cpp post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbittorrent${SUFFIX} ${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent${SUFFIX}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ @${RM} -r ${STAGEDIR}${PREFIX}/share/man .if ${FLAVOR} == nox @${MKDIR} ${STAGEDIR}/var/db/qbittorrent/conf ${STAGEDIR}/var/db/qbittorrent/Downloads .endif .include diff --git a/net-p2p/retroshare/Makefile b/net-p2p/retroshare/Makefile index 6e34c7acf85e..30d9d7493566 100644 --- a/net-p2p/retroshare/Makefile +++ b/net-p2p/retroshare/Makefile @@ -1,64 +1,64 @@ # Created by: glocke@bsdstammtisch.at PORTNAME= retroshare DISTVERSIONPREFIX= v DISTVERSION= 0.6.4 -PORTREVISION= 7 +PORTREVISION= 8 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 BROKEN= Doesn't build with libmicrohttpd 0.9.71 - PR: 250100 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libsqlcipher.so:databases/sqlcipher \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp \ libgnome-keyring.so:security/libgnome-keyring \ libgpgme.so:security/gpgme \ libopencv_highgui.so:graphics/opencv \ libavcodec.so:multimedia/ffmpeg \ libcurl.so:ftp/curl \ libmicrohttpd.so:www/libmicrohttpd \ 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 .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 .include diff --git a/net/py-qt5-networkauth/Makefile b/net/py-qt5-networkauth/Makefile index 23cf1a8af5fb..e0f4c6f008d6 100644 --- a/net/py-qt5-networkauth/Makefile +++ b/net/py-qt5-networkauth/Makefile @@ -1,46 +1,47 @@ PORTNAME= networkauth PORTVERSION= ${PYQT5_VERSION} +PORTREVISION= 1 CATEGORIES= net devel python MASTER_SITES= ${MASTER_SITES_PYQTNETWORKAUTH} PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- DISTNAME= ${PYQTNETWORKAUTH_DISTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtNetworkAuth module USES= gl pyqt:5 python:3.5+ qt:5 USE_PYQT= sip_build core gui network widgets USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui network networkauth qmake_build USE_GL+= gl HAS_CONFIGURE= yes CONFIGURE_ARGS+= --verbose --no-dist-info \ -d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 \ -q ${QMAKE} \ --sip ${SIP} \ --pyqt-sipdir=${PYQT_SIPDIR} DESTDIRNAME= INSTALL_ROOT OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtNetworkAuth API for QScintilla2 API_CONFIGURE_ON= --apidir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-patch: ${REINPLACE_CMD} -e "s/sip-module/sip-module-${PYTHON_VER}/" ${WRKSRC}/configure.py; ${REINPLACE_CMD} -e "s/-gui/gui/" ${WRKSRC}/configure.py ${WRKSRC}/pyproject.toml do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtNetworkAuth.so .include diff --git a/net/quiterss/Makefile b/net/quiterss/Makefile index 9e27cacd7203..59fed2136a81 100644 --- a/net/quiterss/Makefile +++ b/net/quiterss/Makefile @@ -1,39 +1,40 @@ # Created by: lbartoletti PORTNAME= quiterss PORTVERSION= 0.19.4 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://quiterss.org/files/${PORTVERSION}_/ DISTNAME= QuiteRSS-${PORTVERSION}-src MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Open-source cross-platform RSS/Atom news feeds reader LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang desktop-file-utils gl pkgconfig \ qmake:outsource qt:5 sqlite USE_QT= buildtools_build linguisttools_build core xml gui widgets \ network multimedia printsupport webkit sql sql-sqlite3_run USE_GL= gl NO_WRKSUBDIR= yes OPTIONS_DEFINE= DEBUG post-patch-DEBUG-on: @${REINPLACE_CMD} 's|debug_and_release|debug|' \ ${WRKSRC}/QuiteRSS.pro post-patch-DEBUG-off: @${REINPLACE_CMD} 's|debug_and_release|release|' \ ${WRKSRC}/QuiteRSS.pro post-patch: @${REINPLACE_CMD} 's|$$$$\[QT_INSTALL_BINS\]/lrelease|${LRELEASE}|' \ ${WRKSRC}/lang/lang.pri @${REINPLACE_CMD} 's|$$$$PREFIX/share/quiterss|${DATADIR}|' \ ${WRKSRC}/QuiteRSS.pro .include diff --git a/net/spoofer/Makefile b/net/spoofer/Makefile index 02975b0f2e10..b2a18269e114 100644 --- a/net/spoofer/Makefile +++ b/net/spoofer/Makefile @@ -1,44 +1,45 @@ # Created by: Andrew Pantyukhin PORTNAME= spoofer DISTVERSION= 1.4.7 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://www.caida.org/projects/spoofer/downloads/ MAINTAINER= mjl@luckie.org.nz COMMENT= Spoofer Project testing software LICENSE= GPLv3 BUILD_DEPENDS= protoc:devel/protobuf LIB_DEPENDS= libprotobuf-lite.so:devel/protobuf RUN_DEPENDS= scamper:net/scamper USES= compiler:c++11-lib CONFIGURE_ARGS= --disable-development --with-protobuf=${LOCALBASE} GNU_CONFIGURE= yes PORTDOCS= README OPTIONS_DEFINE= DOCS GUI OPTIONS_DEFAULT=GUI OPTIONS_SUB= yes GUI_CONFIGURE_ENABLE= manager GUI_USE= GL=gl QT=buildtools_build,qmake_build,core,network,gui,widgets GUI_USES= gl qt:5 GUI_VARS= USE_RC_SUBR=${PORTNAME} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} do-install-GUI-on: .for r in 16 32 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${r}x${r}/apps ${INSTALL_DATA} ${WRKSRC}/icons/spoofer${r}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${r}x${r}/apps/spoofer.png .endfor .include diff --git a/net/tigervnc-server/Makefile b/net/tigervnc-server/Makefile index c0e1a3b99f92..baba9aba60b2 100644 --- a/net/tigervnc-server/Makefile +++ b/net/tigervnc-server/Makefile @@ -1,96 +1,96 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -server COMMENT= TigerVNC Server PATCH_DEPENDS+= ${NONEXISTENT}:x11-servers/xorg-server:patch BUILD_DEPENDS+= ${LOCALBASE}/include/GL/internal/dri_interface.h:graphics/mesa-dri \ ${LOCALBASE}/libdata/pkgconfig/fontutil.pc:x11-fonts/font-util \ bash:shells/bash LIB_DEPENDS= libxshmfence.so:x11/libxshmfence # almost equivalent to x11-servers/xorg-server's RUN_DEPENDS+= ${LOCALBASE}/share/X11/xkb/rules/base:x11/xkeyboard-config \ xkbcomp:x11/xkbcomp USES+= autoreconf:build compiler:c11 gl jpeg libtool pkgconfig ssl shebangfix xorg USE_LDCONFIG= yes USE_GL+= gl USE_XORG+= ice pixman sm x11 xau xdamage xdmcp xext xfixes xfont2 \ xkbfile xorg-macros xorgproto xrandr xrender xtrans xtst SHEBANG_LANG= bash SHEBANG_FILES= unix/vncserver/vncsession-start.in BINARY_WRAPPERS= gm4 OPTIONS_DEFINE= DOCS GNUTLS PAM OPTIONS_DEFAULT= GNUTLS PAM OPTIONS_SUB= yes GNUTLS_CMAKE_BOOL= ENABLE_GNUTLS GNUTLS_CONFIGURE_ARGS= --enable-glx-tls GNUTLS_LIB_DEPENDS= libtasn1.so:security/libtasn1 \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libgnutls.so:security/gnutls PAM_CMAKE_BOOL= ENABLE_PAM CONFIGURE_ARGS+= \ --prefix=${PREFIX} --mandir=${PREFIX}/man/ \ --docdir=${PREFIX}/share/doc/${PORTNAME}/ --with-pic --without-dtrace \ --disable-static --disable-dri --disable-unit-tests \ --disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \ --disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \ --disable-config-dbus --disable-config-hal \ --disable-dri2 --enable-install-libxf86config --enable-glx \ --with-default-font-path="catalogue:${LOCALBASE}/share/fonts,built-ins" \ --with-xkb-path=${LOCALBASE}/share/X11/xkb \ --with-xkb-bin-directory=${LOCALBASE}/bin \ --with-serverconfig-path=${LOCALBASE}/lib/X11 \ --disable-selective-werror \ --disable-xwayland \ --with-fontrootdir=${LOCALBASE}/share/fonts CFLAGS+= -I${LOCALBASE}/include/libdrm # This is server port, disabling some features # - disable vncviewer # - server is not internationalized CMAKE_ARGS+= -DBUILD_VIEWER:BOOL=false -DENABLE_NLS:BOOL=false TIGERVNC_XORG_PATCH_VER= ${MAKE} -C "${.CURDIR}/../../x11-servers/xorg-server" -V PORTVERSION:R:S,\.,,g XORG_WRKSRC= ${MAKE} -C ${.CURDIR}/../../x11-servers/xorg-server -VWRKSRC pre-patch: @${CP} -R $$(${XORG_WRKSRC})/ ${WRKSRC}/unix/xserver/ post-patch: # do not build tests @${REINPLACE_CMD} -e 's|add_subdirectory(tests)||' ${WRKSRC}/CMakeLists.txt @cd ${WRKSRC}/unix/xserver/ && ${PATCH} -p1 < ${WRKSRC}/unix/xserver$$(${TIGERVNC_XORG_PATCH_VER}).patch post-configure: @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ${AUTORECONF} -fiv @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ./configure ${CONFIGURE_ARGS} post-build: @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} SHELL=${LOCALBASE}/bin/bash post-install: @cd ${WRKSRC}/unix/xserver/hw/vnc/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/Xvnc ${STAGEDIR}${PREFIX}/lib/xorg/modules/extensions/libvnc.so @${INSTALL_SCRIPT} ${FILESDIR}/vncserver.ports ${STAGEDIR}${PREFIX}/bin/vncserver .include "${.CURDIR}/Makefile.common.mk" # import from x11-server/xorg-server/Makefile .if ${SSL_DEFAULT} == base # The reason why I use this is cause openssl from base doesn't # install a .pc file and configure will fail trying to find it. # Setting both of those variables to a *non-empty* value by-passes # the pkg-config check. CONFIGURE_ENV= SHA1_LIB="-L/usr/lib -lcrypto" SHA1_CFLAGS="-I/usr/include" .endif # keep in sync with all platforms where libunwind is available .if (${ARCH} == amd64 || ${ARCH} == i386) LIB_DEPENDS+= libunwind.so:devel/libunwind .endif diff --git a/net/waypipe/Makefile b/net/waypipe/Makefile index 555f413d2f6a..4a8330c009e3 100644 --- a/net/waypipe/Makefile +++ b/net/waypipe/Makefile @@ -1,50 +1,51 @@ PORTNAME= waypipe DISTVERSIONPREFIX= v DISTVERSION= 0.8.0 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= jbeich@FreeBSD.org COMMENT= Network transparency with Wayland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c11 localbase:ldflags meson pkgconfig USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= mstoeckl GL_COMMIT= 1b33ad619e625785bbd2f4c16fe5782b6ba26d65 PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= FFMPEG LZ4 MANPAGES OPENGL VAAPI ZSTD OPTIONS_DEFAULT=FFMPEG LZ4 MANPAGES OPENGL VAAPI ZSTD FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_MESON_ENABLED= with_video LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZ4_MESON_ENABLED= with_lz4 MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz OPENGL_USES= gl OPENGL_USE= GL=gbm OPENGL_LIB_DEPENDS= libdrm.so:graphics/libdrm OPENGL_MESON_ENABLED= with_dmabuf VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_MESON_ENABLED= with_vaapi VAAPI_IMPLIES= FFMPEG ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_MESON_ENABLED= with_zstd post-patch: # 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 .include diff --git a/net/wpa_supplicant_gui/Makefile b/net/wpa_supplicant_gui/Makefile index 43c5ffdd11a8..ca30b8896c01 100644 --- a/net/wpa_supplicant_gui/Makefile +++ b/net/wpa_supplicant_gui/Makefile @@ -1,71 +1,72 @@ # Created by: Ilya Bakulin PORTNAME= wpa_supplicant_gui DISTVERSION= 2.9 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://w1.fi/releases/ \ http://partmedia.users.sourceforge.net/dist/:icons \ LOCAL/yuri/net/wpa_supplicant_gui/:icons DISTNAME= wpa_supplicant-${PORTVERSION} DISTFILES= ${DISTNAME}.tar.gz \ wpa-gui-icons.tar.gz:icons MAINTAINER= yuri@FreeBSD.org COMMENT= Qt-based frontend for wpa_supplicant LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../COPYING USES= gl gmake qt:5 xorg USE_QT= qmake_build buildtools_build linguisttools_build core gui \ widgets svg_run USE_GL= gl ALL_TARGET= wpa_gui-qt4 INSTALL_WRKSRC= ${WRKSRC}/wpa_gui-qt4 PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} PLIST_FILES= sbin/wpa_gui \ share/applications/wpa_gui.desktop \ share/icons/hicolor/16x16/apps/wpa_gui.png \ share/icons/hicolor/scalable/apps/wpa_gui.svgz \ man/man8/wpa_gui.8.gz WRKSRC_SUBDIR= wpa_supplicant OPTIONS_DEFINE= DEBUG NLS NLS_PLIST_FILES= ${DATADIR_REL}/translations/wpa_gui_de.qm post-patch: @${REINPLACE_CMD} -e \ '/^Exec/s|=.*|=${PREFIX}/sbin/wpa_gui|' \ ${INSTALL_WRKSRC}/wpa_gui.desktop @${REINPLACE_CMD} -e '/resourceDir = / \ s|QLibraryInfo::location(QLibraryInfo::TranslationsPath)| \ "${DATADIR}/translations"|' \ ${INSTALL_WRKSRC}/main.cpp post-patch-DEBUG-on: @${REINPLACE_CMD} -e \ 's| release| debug|' \ ${INSTALL_WRKSRC}/wpa_gui.pro do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/wpa_gui \ ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${INSTALL_WRKSRC}/wpa_gui.desktop \ ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps ${INSTALL_DATA} ${WRKDIR}/icons/hicolor/16x16/apps/wpa_gui.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${GZIP_CMD} < ${INSTALL_WRKSRC}/icons/wpa_gui.svg \ > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/wpa_gui.svgz ${GZIP_CMD} < ${WRKSRC}/doc/docbook/wpa_gui.8 \ > ${STAGEDIR}${PREFIX}/man/man8/wpa_gui.8.gz do-install-NLS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/translations ${INSTALL_DATA} ${INSTALL_WRKSRC}/lang/wpa_gui_de.qm \ ${STAGEDIR}${DATADIR}/translations .include diff --git a/net/x2goclient/Makefile b/net/x2goclient/Makefile index 03ba21e259b5..d52dc8332a62 100644 --- a/net/x2goclient/Makefile +++ b/net/x2goclient/Makefile @@ -1,70 +1,71 @@ # Created by: arved PORTNAME= x2goclient PORTVERSION= 4.1.2.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://code.x2go.org/releases/source/x2goclient/ MAINTAINER= nc@FreeBSD.org COMMENT= Qt client for the X2Go system LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING # Avoid clash with libssh from base BUILD_DEPENDS= ${LOCALBASE}/lib/libssh.so:security/libssh LIB_DEPENDS= libcups.so:print/cups \ libssh.so:security/libssh RUN_DEPENDS= nxproxy:net/nxproxy \ x2goclient-cli:net/x2goclient-cli USES= compiler:c++11-lang gl pkgconfig qmake qt:5 xorg USE_GL= gl USE_XORG= x11 xpm USE_QT= core gui network svg widgets x11extras \ buildtools_build linguisttools_build qmake_build QMAKE_ARGS= QMAKE_LRELEASE="${LRELEASE}" OPTIONS_DEFINE= DOCS LDAP OPTIONS_DEFAULT= LDAP LDAP_USE= OPENLDAP=yes LDAP_CFLAGS= -DUSELDAP LDAP_QMAKE_ON= LIBS+="-lX11 -lXpm -lcups -lldap" LDAP_QMAKE_OFF= LIBS+="-lX11 -lXpm -lcups" post-patch: @${FIND} ${WRKSRC}/src -name "*.cpp" -or -name "*.h" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's|Q_OS_LINUX|Q_OS_UNIX| ; \ //s|^|//| ; \ /#define USELDAP/s|^|//| ; \ s|/usr/local/bin|${LOCALBASE}/bin|' pre-build: @(cd ${WRKSRC} && ${DO_MAKE_BUILD} compiler_TSQM_make_all) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/x2goclient ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/man1/x2goclient.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/desktop/x2goclient.desktop \ ${STAGEDIR}${DESKTOPDIR} .for i in 16x16 32x32 48x48 64x64 128x128 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}/apps ${INSTALL_DATA} ${WRKSRC}/res/img/icons/${i}/x2goclient.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}/apps .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/icons ${INSTALL_DATA} ${WRKSRC}/res/img/icons/x2goclient.xpm \ ${STAGEDIR}${DATADIR}/icons .for i in x2goclient.png x2gosession.png ${INSTALL_DATA} ${WRKSRC}/res/img/icons/128x128/${i} \ ${STAGEDIR}${DATADIR}/icons .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/HOWTO.GPGCARD ${STAGEDIR}${DOCSDIR} .include diff --git a/polish/qnapi/Makefile b/polish/qnapi/Makefile index 6f3c4ed6dcea..30fe93aa9ce0 100644 --- a/polish/qnapi/Makefile +++ b/polish/qnapi/Makefile @@ -1,37 +1,37 @@ # Created by: Pawel Pekala PORTNAME= qnapi PORTVERSION= 0.2.3 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= polish multimedia MAINTAINER= ports@FreeBSD.org COMMENT= Qt5 based subtitle downloader LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/LICENSE BUILD_DEPENDS= qt-maybe>0:devel/qt-maybe \ libmaia>0:net/libmaia LIB_DEPENDS= libmediainfo.so:multimedia/libmediainfo \ libzen.so:multimedia/libzen RUN_DEPENDS= 7z:archivers/p7zip USE_GITHUB= yes USES= compiler:c++11-lib gl pkgconfig qmake qt:5 USE_GL= gl USE_QT= buildtools_build core gui network widgets xml CXXFLAGS+= -I${LOCALBASE}/include/maia post-patch: @${REINPLACE_CMD} 's|/usr|${PREFIX}|; s|share/man|man|' \ ${WRKSRC}/qnapi.pro post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qnapi (cd ${WRKSRC}/doc && ${INSTALL_DATA} qnapi-download.desktop \ qnapi-scan.desktop ${STAGEDIR}${DESKTOPDIR}) .include diff --git a/print/gl2ps/Makefile b/print/gl2ps/Makefile index 7b91fb8d2868..578580b1630c 100644 --- a/print/gl2ps/Makefile +++ b/print/gl2ps/Makefile @@ -1,23 +1,24 @@ # Created by: Igor Pokrovsky PORTNAME= gl2ps PORTVERSION= 1.4.2 +PORTREVISION= 1 CATEGORIES= print graphics MASTER_SITES= http://www.geuz.org/gl2ps/src/ MAINTAINER= makc@FreeBSD.org COMMENT= C library providing vector output for OpenGL applications LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING.LGPL LIB_DEPENDS= libpng.so:graphics/png USES= cmake gl tar:tgz USE_GL= gl USE_LDCONFIG= yes PLIST_SUB= SHLIB_VER=${PORTVERSION} OPTIONS_DEFINE= DOCS .include diff --git a/print/limereport/Makefile b/print/limereport/Makefile index 098f1d5d6ed5..82a94944d45c 100644 --- a/print/limereport/Makefile +++ b/print/limereport/Makefile @@ -1,42 +1,43 @@ # Created by: Golyashov Sergey PORTNAME= limereport PORTVERSION= 1.5.35 +PORTREVISION= 1 CATEGORIES= print MAINTAINER= svvord@soft-wizard.ru COMMENT= Multi-platform C++ report generator library written using Qt framework LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake compiler:c++11-lang dos2unix gl qt:5 USE_QT+= buildtools_build core gui script sql xml svg quickcontrols2 \ printsupport uitools network widgets declarative qmake_build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= fralx GH_PROJECT= LimeReport USE_LDCONFIG= yes LIB_DEPENDS+= libpng.so:graphics/png OPTIONS_DEFINE= DEBUG DOCS ZINT OPTIONS_DEFAULT= ZINT DOCS_CMAKE_BOOL= DOCS_INSTALL ZINT_DESC= Build with graphics/zint instead of bundled one ZINT_CMAKE_ON= SYSTEM_ZINT ZINT_LIB_DEPENDS= libQZint.so:graphics/zint ZINT_EXTRA_PATCHES= ${FILESDIR}/extrapatch-barcode .include .if ${PORT_OPTIONS:MDEBUG} CMAKE_BUILD_TYPE= Debug .endif .include diff --git a/print/miktex/Makefile b/print/miktex/Makefile index 7bbb7bfa53ac..dc03be59057c 100644 --- a/print/miktex/Makefile +++ b/print/miktex/Makefile @@ -1,82 +1,82 @@ PORTNAME= miktex DISTVERSION= 21.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= LOCAL/arrowd/miktex:bootstrap DISTFILES= miktex-zzdb1-2.9.tar.lzma:bootstrap \ miktex-zzdb3-2.9.tar.lzma:bootstrap \ miktex-config-2.9.tar.lzma:bootstrap \ miktex-dvips.tar.lzma:bootstrap \ miktex-fontconfig.tar.lzma:bootstrap \ miktex-misc.tar.lzma:bootstrap \ tetex.tar.lzma:bootstrap EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= arrowd@FreeBSD.org COMMENT= Implementation of TeX/LaTeX LICENSE= MULTIPLE LICENSE_NAME= Multiple LICENSE_TEXT= This is a collection of many independent packages and does not have a single license LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept LIB_DEPENDS= libapr-1.so:devel/apr1 \ libboost_locale.so:devel/boost-libs \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libfribidi.so:converters/fribidi \ libgd.so:graphics/gd \ libgmp.so:math/gmp \ libgraphite2.so:graphics/graphite2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libhunspell-1.7.so:textproc/hunspell \ libicui18n.so:devel/icu \ libicuuc.so:devel/icu \ liblog4cxx.so:devel/log4cxx \ libmpfr.so:math/mpfr \ libmspack.so:archivers/libmspack \ libpng.so:graphics/png \ libpopt.so:devel/popt \ liburiparser.so:net/uriparser \ libzzip.so:devel/zziplib USES= bison cmake:noninja gettext-tools gmake gnome jpeg pkgconfig ssl xorg USE_GITHUB= yes GH_ACCOUNT= MiKTeX USE_XORG= pixman USE_GNOME= cairo libxslt USE_LDCONFIG= yes OPTIONS_DEFINE= MANPAGES UIQT OPTIONS_DEFAULT= MANPAGES UIQT OPTIONS_SUB= yes UIQT_DESC= Build Qt components MANPAGES_CMAKE_BOOL= WITH_MAN_PAGES UIQT_CMAKE_BOOL= WITH_UI_QT UIQT_USES= qt:5 gl UIQT_USE= qt=core,concurrent,dbus,gui,linguisttools,printsupport,script,scripttools,uitools,widgets,xml,buildtools_build,qmake_build gl=gl CMAKE_ARGS= -DMIKTEX_SYSTEM_ETC_FONTS_CONFD_DIR=${LOCALBASE}/etc/fonts/conf.d \ -DMIKTEX_SYSTEM_VAR_CACHE_DIR=${DATADIR}/cache \ -DMIKTEX_SYSTEM_VAR_LIB_DIR=${DATADIR}/lib DIST_SUBDIR= miktex post-extract: ${MKDIR} ${BUILD_WRKSRC} . for f in ${DISTFILES:M*bootstrap} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f:S/:bootstrap//} ${BUILD_WRKSRC} . endfor post-install: ${RM} ${STAGEDIR}${PREFIX}/share/miktex-texmf/miktex/config/*.log .include diff --git a/print/posterazor/Makefile b/print/posterazor/Makefile index 3a86e25c7a91..ade332ceb4dd 100644 --- a/print/posterazor/Makefile +++ b/print/posterazor/Makefile @@ -1,38 +1,39 @@ # Created by: Emanuel Haupt PORTNAME= posterazor PORTVERSION= 1.9.7 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= print graphics MAINTAINER= ehaupt@FreeBSD.org COMMENT= Cuts an image into pieces which can be printed out as a poster LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang dos2unix gl localbase:ldflags qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= ehaupt USE_GL= gl USE_QT= core gui printsupport widgets buildtools_build QMAKE_SOURCE_PATH= ${WRKSRC}/src/posterazor.pro DESKTOP_ENTRIES= "PosteRazor" \ "Make your own poster!" \ "${PREFIX}/share/pixmaps/posterazor.xpm" \ "posterazor" \ "Application;Graphics;" \ "" PLIST_FILES= bin/posterazor \ share/pixmaps/posterazor.xpm do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/PosteRazor \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/print/py-qt5-printsupport/Makefile b/print/py-qt5-printsupport/Makefile index 1be18b69c6d7..7e967453900a 100644 --- a/print/py-qt5-printsupport/Makefile +++ b/print/py-qt5-printsupport/Makefile @@ -1,28 +1,29 @@ PORTNAME= printsupport +PORTREVISION= 1 CATEGORIES= print python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtPrintSupport module CONFIGURE_ARGS= --enable QtPrintSupport PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui printsupport widgets qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtPrintsupport API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtPrintSupport.so .include diff --git a/print/qpdfview/Makefile b/print/qpdfview/Makefile index d78f60f619b0..49531833013c 100644 --- a/print/qpdfview/Makefile +++ b/print/qpdfview/Makefile @@ -1,47 +1,47 @@ # Created by: Veniamin Gvozdikov PORTNAME= qpdfview DISTVERSION= 0.4.18 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= print MASTER_SITES= https://launchpadlibrarian.net/294276875/ \ https://launchpad.net/${PORTNAME}/trunk/${DISTVERSION}/+download/ MAINTAINER= mbeis@xs4all.nl COMMENT= Tabbed DjVu/PDF/PS document viewer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 USES= compiler:c++11-lang desktop-file-utils gl pkgconfig qmake qt:5 USE_LDCONFIG= yes USE_QT= buildtools_build concurrent core dbus gui imageformats linguisttools printsupport sql sql-sqlite3 svg widgets xml USE_GL= gl QMAKE_SOURCE_PATH= ${PORTNAME}.pro DATADIR= ${PREFIX}/share/${PORTNAME} OPTIONS_DEFINE= CUPS DJVU PS OPTIONS_DEFAULT= CUPS DJVU PS OPTIONS_SUB= yes CUPS_QMAKE_OFF= "CONFIG+=without_cups" CUPS_LIB_DEPENDS= libcups.so:print/cups DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_QMAKE_OFF= "CONFIG+=without_djvu" PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_QMAKE_OFF= "CONFIG+=without_ps" .include pre-configure: ${REINPLACE_CMD} -e 's#/usr#${PREFIX}#g;s#${PREFIX}/share/man#${PREFIX}/man#g' \ ${WRKSRC}/${PORTNAME}.pri cd ${WRKSRC} && ${LRELEASE} ${PORTNAME}.pro .include diff --git a/science/afni/Makefile b/science/afni/Makefile index 21ea9b77236f..f38a015e1190 100644 --- a/science/afni/Makefile +++ b/science/afni/Makefile @@ -1,154 +1,154 @@ PORTNAME= afni DISTVERSIONPREFIX= AFNI_ DISTVERSION= 21.1.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science biology graphics perl5 python MAINTAINER= fernape@FreeBSD.org COMMENT= Advanced Functional Neuro Imaging LICENSE= GPLv2 BROKEN_powerpc64= fails to compile: ./predicates_init.c:46: error: implicit declaration of function 'fpsetprec' 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 \ libf2c.so:lang/f2c \ libgsl.so:math/gsl \ libnetcdff.so:science/netcdf-fortran \ libxml2.so:textproc/libxml2 \ libXm.so:x11-toolkits/open-motif \ libnetpbm.so:graphics/netpbm # Remote execution of suma. Also needed for glxinfo. RUN_DEPENDS= endian:sysutils/endian \ mpeg_encode:multimedia/mpeg_encode \ qhull:math/qhull \ R:math/R \ ${CRAN_DEPENDS} USES= compiler:openmp gettext gl gmake gnome iconv jpeg:run motif USES+= perl5 python shebangfix tar:xz xorg USE_GITHUB= yes USE_GL= gl glu USE_GNOME= glib20 USE_XORG= x11 xext xi xmu 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 ########################################################################### # 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-[0-9]* \ nifticlib-[0-9]* \ open-usp-tukubai-[0-9]* X11R6_FILES= coxplot/Makefile \ coxplot/Makefile.f2c 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/avogadro2/Makefile b/science/avogadro2/Makefile index 5c4498a2dbb2..a0a5228f85e3 100644 --- a/science/avogadro2/Makefile +++ b/science/avogadro2/Makefile @@ -1,30 +1,31 @@ PORTNAME= avogadro2 DISTVERSION= 1.94.0 +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Chemical editor and visualization application LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= hdf5>0:science/hdf5 LIB_DEPENDS= libAvogadroCore.so:science/avogadrolibs \ libMoleQueueClient.so:misc/molequeue USES= cmake compiler:c++11-lang desktop-file-utils gl libarchive qt:5 USE_GITHUB= yes GH_ACCOUNT= OpenChemistry GH_PROJECT= avogadroapp USE_QT= core concurrent gui network widgets buildtools_build qmake_build USE_GL= gl glew glu USE_LDCONFIG= yes PLIST_FILES= bin/avogadro2 \ share/applications/avogadro2.desktop \ share/pixmaps/avogadro2.png post-install: @${RM} -r ${STAGEDIR}${PREFIX}/share/doc .include diff --git a/science/avogadrolibs/Makefile b/science/avogadrolibs/Makefile index 9b5f6c3d239b..ae6e0f72c715 100644 --- a/science/avogadrolibs/Makefile +++ b/science/avogadrolibs/Makefile @@ -1,74 +1,75 @@ PORTNAME= avogadrolibs DISTVERSION= 1.94.0 +PORTREVISION= 1 CATEGORIES= science PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/ PATCHFILES= cf9d82575796d5fcabb153bdebde26843d81d83e.patch:-p1 \ ea813f683cdd9865994c0ba94a24325e04b9f8fb.patch:-p1 MAINTAINER= yuri@FreeBSD.org COMMENT= Avogadro2 libraries for chemical editor and visualization applications LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++17-lang eigen:3,build,run # eigen needs to be 'run' because it is written into cmake files USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= OpenChemistry GH_TUPLE= OpenChemistry:molecules:b1e16c5:molecules/../molecules \ OpenChemistry:crystals:c3e2468:crystals/../crystals CMAKE_ON= BUILD_SHARED_LIBS CMAKE_TESTING_ON= ENABLE_TESTING OPTIONS_DEFINE= HDF5 LIBARCHIVE LIBMSYM MMTF OPENGL QT5 SPGLIB VTK OPTIONS_DEFAULT= LIBARCHIVE LIBMSYM MMTF OPENGL QT5 SPGLIB OPTIONS_SUB= yes HDF5_CMAKE_BOOL= USE_HDF5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/szip LIBARCHIVE_DESC= Enable optional Libarchive features LIBARCHIVE_CMAKE_BOOL= USE_LIBARCHIVE LIBARCHIVE_USES= libarchive LIBARCHIVE_IMPLIES= QT5 LIBMSYM_DESC= Enable optional features using libmsym LIBMSYM_CMAKE_BOOL= USE_LIBMSYM LIBMSYM_LIB_DEPENDS= libmsym.so:science/libmsym LIBMSYM_IMPLIES= QT5 # enables the 'symmetry' Qt plugin MMTF_DESC= Enable optional features using mmtf MMTF_CMAKE_BOOL= USE_MMTF MMTF_BUILD_DEPENDS= mmtf-cpp>0:science/mmtf-cpp OPENGL_CMAKE_BOOL= USE_OPENGL OPENGL_USES= gl OPENGL_USE= GL=gl,glew,glu QT5_CMAKE_BOOL= USE_QT QT5_USES= qt:5 QT5_USE= QT=core,concurrent,gui,network,svg,widgets,buildtools_build,qmake_build QT5_IMPLIES= OPENGL SPGLIB_DESC= Enable optional features using spglib SPGLIB_CMAKE_BOOL= USE_SPGLIB SPGLIB_CMAKE_ON= -DSPGLIB_INCLUDE_DIR=${LOCALBASE}/include/spglib SPGLIB_LIB_DEPENDS= libsymspg.so:science/spglib SPGLIB_IMPLIES= QT5 # USE_SPGLIB only installs header file without USE_QT, and also installs SpaceGroup.a with USE_QT, see https://github.com/OpenChemistry/avogadrolibs/issues/610 VTK_DESC= Enable libraries that use VTK VTK_CMAKE_BOOL= USE_VTK VTK_LIB_DEPENDS= libvtksys-8.2.so:math/vtk8 VTK_IMPLIES= QT5 VTK_BROKEN= Needs https://github.com/psavery/genXrdPattern, etc post-install: @${RM} -r ${STAGEDIR}${PREFIX}/share/doc .include diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile index 86d513914061..233a534629bb 100644 --- a/science/cgnslib/Makefile +++ b/science/cgnslib/Makefile @@ -1,62 +1,62 @@ # Created by: thierry@pompo.net PORTNAME= cgnslib PORTVERSION= 4.1.2 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= science MAINTAINER= thierry@FreeBSD.org COMMENT= CFD General Notation System library code LICENSE= AS-IS LICENSE_NAME= AS-IS LICENSE_FILE= ${WRKSRC}/license.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cmake USE_GITHUB= yes GH_ACCOUNT= CGNS GH_PROJECT= CGNS USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes TEST_TARGET= test FFLAGS+= -std=legacy OPTIONS_DEFINE= FORTRAN HDF5 TESTS TOOLS OPTIONS_DEFAULT= FORTRAN HDF5 TESTS TOOLS OPTIONS_SUB= yes HDF5_DESC= Enable HDF5 interface TESTS_DESC= Enable test programs TOOLS_DESC= Build the CGNSTools package FORTRAN_USES= fortran FORTRAN_CMAKE_BOOL= CGNS_ENABLE_FORTRAN HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 libsz.so:science/szip HDF5_CMAKE_BOOL= CGNS_ENABLE_HDF5 HDF5_CMAKE_ON= -DHDF5_INCLUDE_PATH:PATH="${LOCALBASE}/include" TESTS_CMAKE_BOOL= CGNS_ENABLE_TESTS TOOLS_USES= gl localbase tk xorg TOOLS_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 TOOLS_USE= GL=egl,gl,glu \ XORG=ice,sm,x11,xau,xcomposite,xcursor,xdamage,xdmcp,xext,xfixes,xft,xi,xinerama,xkbfile,xmu,xpm,xrandr,xrender,xres,xscrnsaver,xt,xtst,xv,xxf86vm TOOLS_CMAKE_BOOL= CGNS_BUILD_CGNSTOOLS TOOLS_CMAKE_ON= -DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \ -DTK_INCLUDE_PATH:STRING="${TK_INCLUDEDIR}" post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R} \ ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R:R} do-test: cd ${TEST_WRKSRC} && \ ${SETENV} ${TEST_ENV} ctest -C ${CMAKE_BUILD_TYPE} .include diff --git a/science/drawxtl/Makefile b/science/drawxtl/Makefile index f844dc53783c..7f9f951a5eda 100644 --- a/science/drawxtl/Makefile +++ b/science/drawxtl/Makefile @@ -1,40 +1,41 @@ PORTNAME= DRAWxtl DISTVERSION= 5.5 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://www.lwfinger.com/drawxtl/ DISTNAME= ${PORTNAME}${DISTVERSION:S/.//} MAINTAINER= yuri@FreeBSD.org COMMENT= Crystal structure visualization tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfltk.so:x11-toolkits/fltk USES= desktop-file-utils gl gmake localbase xorg USE_GL= gl glu USE_XORG= xinerama xft xext x11 xpm BINARY_ALIAS= gcc=${CC} g++=${CXX} WRKSRC= ${WRKDIR}/${PORTNAME}/source/${DISTNAME} PLIST_FILES= bin/${PORTNAME} share/pixmaps/${PORTNAME}.xpm DESKTOP_ENTRIES="${PORTNAME}" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \ "${PORTNAME}" \ "Chemistry;Physics;Science;Education;Viewer;" \ "" POST_PLIST= complete-desktop-entries do-install: ${INSTALL_PROGRAM} ${WRKSRC}/../../exe/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.xpm ${STAGEDIR}${PREFIX}/share/pixmaps complete-desktop-entries: @${ECHO} "MimeType=chemical/x-cif;chemical/x-shelx;" >> ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}.desktop .include diff --git a/science/elmerfem/Makefile b/science/elmerfem/Makefile index 7323b88c8baa..819410eb1e2e 100644 --- a/science/elmerfem/Makefile +++ b/science/elmerfem/Makefile @@ -1,100 +1,100 @@ # Created by: Pedro Giffuni PORTNAME= elmerfem PORTVERSION= 8.4.20200708 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MAINTAINER= henrik@gulbra.net COMMENT= Multiphysical simulation software LICENSE= GPLv2 LIB_DEPENDS= libmetis.so:math/metis \ libmpich.so:net/mpich \ libopenblas.so:math/openblas \ libparpack.so:math/arpack-ng USES= cmake compiler:c++11-lang fortran USE_GITHUB= yes GH_ACCOUNT= ElmerCSC GH_TAGNAME= 679a882b USE_LDCONFIG= ${PREFIX}/lib/elmersolver ALL_TARGET= # empty CMAKE_ARGS= -DELMER_FEM_REVISION:STRING=${GH_TAGNAME} LDFLAGS+= -L${LOCALBASE}/lib FCPPFLAGS+= -ansi CMAKE_ARGS+= -DHAVE_INTTYPES_H=ON .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev .endif OPTIONS_DEFINE= GUI OCC OPTIONS_DEFAULT= GUI OCC OPTIONS_SUB= yes OCC_IMPLIES= GUI GUI_DESC= Build with ElmerGUI (Graphical User Interface) GUI_CMAKE_BOOL= WITH_ELMERGUI WITH_PARAVIEW GUI_CMAKE_ON= -DQWT_LIBRARY=${QT_LIBDIR}/libqwt6.so \ -DQWT_INCLUDE_DIR=${QT_INCDIR}/qwt6 \ -DDESIRED_QT_VERSION=5 \ -DWITH_QT5:BOOL=TRUE \ -DQT_FOUND:BOOL=TRUE GUI_LIB_DEPENDS= libqwt6.so:x11-toolkits/qwt6 GUI_USES= gl jpeg qt:5 xorg GUI_USE= gl=gl,glu xorg=ice,sm,x11,xext,xt qt=${QT5_LIBS:ts,} OCC_DESC= Use OpenCASCADE for CAD import in ElmerGUI OCC_CMAKE_BOOL= WITH_OCC OCC_CMAKE_ON= -DVTK_DIR=${LOCALBASE}/lib/vtk-8.2/cmake/vtk-8.2 OCC_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libpython3.7m.so:lang/python37 \ libtiff.so:graphics/tiff \ libTKernel.so:cad/opencascade \ libvtksys-8.2.so:math/vtk8 QT5_LIBS= buildtools_build concurrent core declarative gui location \ network opengl printsupport qmake_build script sensors \ sql svg webchannel webkit widgets xml .include .if ${ARCH} == "amd64" CFLAGS_${ARCH}= -fPIC CXXFLAGS_${ARCH}= -fPIC FCFLAGS+= -fPIC FFLAGS+= -fPIC .endif .if ${GCC_DEFAULT} >= 10 # workaround for Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/COMPLEX(8)). # in theory, this should set FCFLAGS, but the port does not conform FFLAGS+= -fallow-argument-mismatch .endif post-patch: @${RM} -r ${WRKSRC}/elmergrid/src/metis-5.1.0 @${REINPLACE_CMD} -e 's,"metis.*/metis\.h",,' \ ${WRKSRC}/elmergrid/src/femelmer.c post-patch-OCC-on: @${REINPLACE_CMD} -e "s|\$${VERSION}|`${PKG_QUERY} '%v' opencascade`|" \ "${WRKSRC}/cmake/Modules/FindOCE.cmake" @${REINPLACE_CMD} -e 's|$${INCLUDE}|${LOCALBASE}/include/OpenCASCADE|' \ "${WRKSRC}/cmake/Modules/FindOCE.cmake" post-install: ${LN} -sf ElmerSolver_mpi ${STAGEDIR}${PREFIX}/bin/ElmerSolver @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/ElmerGrid do-test: @cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS} .include diff --git a/science/gabedit/Makefile b/science/gabedit/Makefile index 8e0b40cd0206..f9bc78f2c627 100644 --- a/science/gabedit/Makefile +++ b/science/gabedit/Makefile @@ -1,56 +1,57 @@ PORTNAME= gabedit DISTVERSION= 2.5.1-300720 # the last number is "snapshot" +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://sites.google.com/site/allouchear/Home/gabedit/download/ DISTNAME= GabeditSrc${DISTVERSION:C/([0-9])\.([0-9])\.([0-9])-([0-9])/\1\2\3_\4/} MAINTAINER= yuri@FreeBSD.org COMMENT= Graphical user interface for several chemistry software packages LICENSE= MIT LICENSE_FILE= ${WRKSRC}/License BROKEN_i386= undefined reference to `__atomic_load' LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext USES= compiler:c++11-lang gettext-runtime gl gmake gnome pkgconfig \ xorg USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango pangox-compat USE_GL= gl glu USE_XORG= ice sm x11 xmu xt INSTALLS_ICONS= yes CFLAGS+= -fcommon # change the default because GlobalOrb.h has many common definitions BINARY_ALIAS= make=gmake PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop ICON_SIZES= 16 24 32 48 .for SZ in ${ICON_SIZES} PLIST_FILES+= share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png .endfor OPTIONS_DEFINE= OPENMP OPTIONS_DEFAULT= OPENMP OPTIONS_EXCLUDE_powerpc= OPENMP post-patch: @${REINPLACE_CMD} 's|/usr/|${PREFIX}/|; s| -O2| ${CFLAGS}|; s|gcc|${CC}|' ${WRKSRC}/CONFIG post-patch-OPENMP-off: @${REINPLACE_CMD} 's|enable_omp = 1|enable_omp = 0|' ${WRKSRC}/CONFIG do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/utils/Others/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} .for SZ in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps ${INSTALL_DATA} ${WRKSRC}/icons/Gabedit${SZ}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png .endfor .include diff --git a/science/gchemutils/Makefile b/science/gchemutils/Makefile index e5b67ab72a51..36eb69e377ba 100644 --- a/science/gchemutils/Makefile +++ b/science/gchemutils/Makefile @@ -1,71 +1,71 @@ # Created by: Pav Lucistnik PORTNAME= gchemutils PORTVERSION= 0.14.16 -PORTREVISION= 6 +PORTREVISION= 7 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 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_XORG= x11 USE_GNOME= cairo gtk30 intlhack libgsf libxml2 USE_GL= gl USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-omf-dir=${PREFIX}/share/omf INSTALLS_ICONS= yes INSTALLS_OMF= yes 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 4ed786355f22..a80ee062afca 100644 --- a/science/ghemical/Makefile +++ b/science/ghemical/Makefile @@ -1,46 +1,46 @@ # Created by: Nakata Maho PORTNAME= ghemical PORTVERSION= 3.0.0 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= science MASTER_SITES= http://bioinformatics.org/ghemical/download/%SUBDIR%/ MASTER_SITE_SUBDIR= release20111012 current MAINTAINER= yuri@FreeBSD.org COMMENT= Computational chemistry software package 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 \ libint.so:science/libint \ liblapack.so:math/lapack \ liboglappth.so:science/liboglappth \ libmopac7.so:biology/mopac \ 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 gdkpixbuf2 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/iboview/Makefile b/science/iboview/Makefile index a316dee0782f..5d16a3fe9b75 100644 --- a/science/iboview/Makefile +++ b/science/iboview/Makefile @@ -1,30 +1,30 @@ # Created by: Johannes Dieterich PORTNAME= iboview PORTVERSION= 20150427 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= science MASTER_SITES= http://www.iboview.org/bin/ DISTNAME= ibo-view.20150427 MAINTAINER= jmd@FreeBSD.org COMMENT= Program for analyzing molecular electronic structure LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= boost-libs>=0:devel/boost-libs RUN_DEPENDS= boost-libs>=0:devel/boost-libs ONLY_FOR_ARCHS= amd64 USES= blaslapack:openblas fortran gl qmake:outsource qt:5 tar:bz2 USE_GL= gl glu USE_QT= buildtools_build core gui widgets opengl script svg PLIST_FILES= bin/iboview do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/iboview ${STAGEDIR}${PREFIX}/bin .include diff --git a/science/kalzium/Makefile b/science/kalzium/Makefile index 808cf0a36d4d..3cc73869d8b7 100644 --- a/science/kalzium/Makefile +++ b/science/kalzium/Makefile @@ -1,36 +1,37 @@ PORTNAME= kalzium DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= science education kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Periodic table of elements for KDE LICENSE= GPLv2 LGPL20 GFDL LICENSE_COMB= multi LIB_DEPENDS= libopenbabel.so:science/openbabel \ libAvogadroCore.so:science/avogadrolibs BUILD_DEPENDS= ${LOCALBASE}/lib/ocaml/facile/facile.a:math/facile \ ${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:science/chemical-mime-data RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:science/chemical-mime-data USES= cmake compiler:c++11-lang desktop-file-utils gettext gl kde:5 \ pkgconfig qt:5 tar:xz USE_GL= gl glew glu USE_KDE= auth archive attica bookmarks codecs completion config configwidgets \ coreaddons crash doctools ecm emoticons guiaddons i18n \ iconthemes itemmodels itemviews jobwidgets js kdelibs4support \ khtml kio newstuff notifications parts plotting service solid \ sonnet textwidgets unitconversion widgetsaddons windowsystem \ xmlgui USE_OCAML= yes NO_OCAML_RUNDEPENDS= yes USE_QT= concurrent core dbus declarative gui network opengl printsupport script svg \ widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS .include diff --git a/science/libghemical/Makefile b/science/libghemical/Makefile index 8acf76c0564e..95906f69009b 100644 --- a/science/libghemical/Makefile +++ b/science/libghemical/Makefile @@ -1,42 +1,42 @@ # Created by: Nakata Maho PORTNAME= libghemical PORTVERSION= 3.0.0 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= science MASTER_SITES= http://bioinformatics.org/ghemical/download/release20111012/ \ http://bioinformatics.org/ghemical/download/current/ MAINTAINER= yuri@FreeBSD.org COMMENT= Support libraries of science/ghemical port LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= obabel:science/openbabel \ intltool-update:textproc/intltool \ ld:devel/binutils LIB_DEPENDS= libblas.so:math/blas \ libint.so:science/libint \ libf2c.so:lang/f2c \ liblapack.so:math/lapack \ libmpqc.so:science/mpqc USES= fortran gettext gl gmake libtool localbase pathfix pkgconfig USE_CXXSTD= c++98 USE_GL= gl GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ENV= LD_PRELOAD=${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so # workaround: otherwise configure fails CONFIGURE_ARGS+= --enable-mpqc LDFLAGS+= -lSCbasis -lSCcints -lSCclass -lSCcontainer -lSCdft -lSCgroup \ -lSCintv3 -lSCisosurf -lSCkeyval -lSCmbpt -lSCmbptr12 -lSCmisc \ -lSCmolecule -lSCoint3 -lSCoptimize -lSCoptions -lSCpsi \ -lSCref -lSCrender -lSCscf -lSCscmat -lSCsolvent -lSCstate \ -lSCsymmetry -lSCwfn -lgfortran -lpthread -lblas -llapack PLIST_SUB= LIBGHEMICAL_VERSION="${PORTVERSION}" INSTALL_TARGET= install-strip .include diff --git a/science/liboglappth/Makefile b/science/liboglappth/Makefile index fda2e769cdac..2f64cb4c6e09 100644 --- a/science/liboglappth/Makefile +++ b/science/liboglappth/Makefile @@ -1,20 +1,20 @@ # Created by: Nakata Maho PORTNAME= liboglappth PORTVERSION= 1.0.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= science MASTER_SITES= http://bioinformatics.org/ghemical/download/release20111012/ \ http://bioinformatics.org/ghemical/download/current MAINTAINER= ports@FreeBSD.org COMMENT= Support libraries of science/ghemical port GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= gl libtool pathfix USE_GL= glu CPPFLAGS+= -I${LOCALBASE}/include .include diff --git a/science/luscus/Makefile b/science/luscus/Makefile index f3c7c0929468..f5d55ad3fae9 100644 --- a/science/luscus/Makefile +++ b/science/luscus/Makefile @@ -1,36 +1,36 @@ PORTNAME= luscus DISTVERSION= 0.8.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MASTER_SITES= SF/${PORTNAME}/ DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Molecular editor and viewer LICENSE= AFL LICENSE_NAME= Academic Free License LICENSE_FILE= ${WRKSRC}/License.txt LICENSE_PERMS= auto-accept dist-mirror pkg-mirror LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgdkglext-x11-1.0.so:x11-toolkits/gtkglext RUN_DEPENDS= bash:shells/bash \ obabel:science/openbabel # see https://sourceforge.net/p/luscus/tickets/5/ USES= cmake compiler:c++11-lang gettext-runtime gl gnome pkgconfig \ shebangfix xorg SHEBANG_GLOB= *.sh USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango pangox-compat USE_GL= gl glu USE_XORG= x11 CFLAGS+= -fcommon # variables n_geometries/move_molecule/window/pix/etc are defined in the header post-patch: @${REINPLACE_CMD} 's|/etc/luscus|${DATADIR}|' ${WRKSRC}/gv_system.c @${REINPLACE_CMD} -i '' 's|$$HOME/\.${PORTNAME}/|${LOCALBASE}/bin/|' ${WRKSRC}/*/*/*.sh @${REINPLACE_CMD} -i '' 's|$$RUNDIR/|${LOCALBASE}/bin/|' ${WRKSRC}/*/*/*.sh .include diff --git a/science/medit/Makefile b/science/medit/Makefile index bd0d59f1cff3..1c0fd1100333 100644 --- a/science/medit/Makefile +++ b/science/medit/Makefile @@ -1,66 +1,66 @@ # Created by: Thierry Thomas PORTNAME= medit PORTVERSION= 2012.02.05 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= science graphics MASTER_SITES= https://www.ljll.math.upmc.fr/~frey/ftp/archives/ DISTFILES= ${SOURCETARB} ${LIBTARBALL} EXTRACT_ONLY= ${SOURCETARB} MAINTAINER= thierry@FreeBSD.org COMMENT= Interactive meshes visualization LICENSE= None LICENSE_NAME= Special grant LICENSE_TEXT= Special grant from the author LICENSE_PERMS= dist-mirror pkg-mirror auto-accept BUILD_DEPENDS= ${LOCALBASE}/include/cfortran.h:lang/cfortran USES= gl gmake tar:tgz xorg USE_XORG= x11 xmu xext USE_GL= gl glu glut MAKEFILE= makefile ALL_TARGET= ${OPSYS} MAKE_ENV= WRKSRC="${WRKSRC}" ARCHI=${OPSYS} ARCH=${ARCH} OSREL=${OSREL} NO_WRKSUBDIR= yes MAKE_JOBS_UNSAFE= yes LLD_UNSAFE= yes LIBVERSION= ${PORTVERSION} SOURCETARB= ${PORTNAME}.${PORTVERSION}${EXTRACT_SUFX} LIBTARBALL= library.${LIBVERSION}${EXTRACT_SUFX} PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= EXAMPLES .include . if ${PORT_OPTIONS:MEXAMPLES} || make(makesum) DISTFILES+= meshes.tar.gz EXTRACT_ONLY+= meshes.tar.gz MESHES= DEFAULT.medit ozark.gis part.bb part.mesh thepart.mesh PLIST_FILES+= ${MESHES:S|^|%%EXAMPLESDIR%%/|} . endif post-extract: cd ${WRKSRC} && \ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${LIBTARBALL} ${EXTRACT_AFTER_ARGS} --exclude ${MAKEFILE} ${CP} ${FILESDIR}/gttime.c ${WRKSRC}/sources/ .for l in lplib2.c lplib2.h ${MV} ${WRKSRC}/sources/${l} ${WRKSRC}/sources/${l}.old .endfor pre-build: ${MKDIR} ${WRKSRC}/bin/${ARCH}/${OSREL} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${MESHES:S|^|${WRKSRC}/INRIA.dir/|} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/science/molscript/Makefile b/science/molscript/Makefile index 0d5d97f377a6..fd23b44e9149 100644 --- a/science/molscript/Makefile +++ b/science/molscript/Makefile @@ -1,46 +1,46 @@ PORTNAME= MolScript DISTVERSION= 2.1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Display 3D molecules in schematic and detailed representations LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE.txt LIB_DEPENDS= libpng.so:graphics/png RUN_DEPENDS= render:graphics/raster3d # molscript use requires the executable 'render' to be present USES= gl gmake jpeg localbase:ldflags xorg USE_GITHUB= yes GH_ACCOUNT= pekrau GH_TAGNAME= 280abee USE_GL= gl glu glut USE_XORG= x11 xext xmu MAKEFILE= Makefile.complete MAKE_ARGS= CC=${CC} COPT="${CFLAGS}" CFLAGS+= -I${FILESDIR} WRKSRC_SUBDIR= code BINARY_ALIAS= make=${MAKE_CMD} PROGS= ${PORTNAME:tl} molauto PLIST_FILES= ${PROGS:S/^/bin\//} OPTIONS_DEFINE= DOCS PORTDOCS= * do-install: .for e in ${PROGS} ${INSTALL_PROGRAM} ${WRKSRC}/../${e} ${STAGEDIR}${PREFIX}/bin .endfor do-install-DOCS-on: cd ${WRKSRC}/../docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include diff --git a/science/opensim-core/Makefile b/science/opensim-core/Makefile index 791d8cba0394..c75ba78423ae 100644 --- a/science/opensim-core/Makefile +++ b/science/opensim-core/Makefile @@ -1,54 +1,54 @@ PORTNAME= OpenSim DISTVERSION= 4.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science PKGNAMESUFFIX= -core MAINTAINER= yuri@FreeBSD.org COMMENT= Software for modeling of musculoskeletal structures LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libdocopt.so:devel/docopt.cpp \ libSimTKcommon.so:science/simbody USES= blaslapack:openblas cmake compiler:c++11-lib fortran gl shebangfix xorg # fortran only for simbody/openblas SHEBANG_FILES= Applications/opensim-install-command-line.sh USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:tl}-org GH_PROJECT= ${PORTNAME:tl}-core USE_GL= gl glu glut USE_XORG= xi xmu USE_LDCONFIG= yes CXXFLAGS+= -I${LOCALBASE}/include/docopt CONFIGURE_ENV+= SIMBODY_HOME=${LOCALBASE} CMAKE_OFF= OPENSIM_COPY_DEPENDENCIES DO_TESTING OPTIONS_DEFINE= PYTHON JAVA DOCS OPTIONS_DEFAULT= PYTHON JAVA OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= BUILD_PYTHON_WRAPPING PYTHON_USES= python PYTHON_BUILD_DEPENDS= swig:devel/swig JAVA_CMAKE_BOOL= BUILD_JAVA_WRAPPING JAVA_CMAKE_ON= -DJAVA_AWT_LIBRARY=${LOCALBASE}/openjdk8/jre/lib/amd64/libawt.so \ -DJAVA_JVM_LIBRARY=${LOCALBASE}/openjdk8/jre/lib/amd64/server/libjvm.so \ -DJAVA_INCLUDE_PATH=${LOCALBASE}/openjdk8/include JAVA_USE= JAVA=yes JAVA_BUILD_DEPENDS= swig:devel/swig DOCS_CMAKE_BOOL= INSTALL_DOCS PORTDOCS= * do-test: # 4 testcases are known to fail: https://github.com/opensim-org/opensim-core/issues/2379 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DDO_TESTING=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include diff --git a/science/py-pymol/Makefile b/science/py-pymol/Makefile index e849fc33a097..949c29219ef0 100644 --- a/science/py-pymol/Makefile +++ b/science/py-pymol/Makefile @@ -1,58 +1,58 @@ # Created by: Nakata Maho PORTNAME= pymol DISTVERSIONPREFIX= v DISTVERSION= 2.4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science biology python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= OpenGL-based molecular visualization system 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 \ libpng.so:graphics/png \ libmsgpackc.so:devel/msgpack \ libnetcdf.so:science/netcdf 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:3.5+ shebangfix tar:bz2 USE_GITHUB= yes GH_ACCOUNT= schrodinger GH_PROJECT= ${PORTNAME}-open-source USE_GL= gl glew glu glut USE_GNOME= libxml2 USE_PYTHON= distutils concurrent # autoplist is broken: https://github.com/schrodinger/pymol-open-source/issues/99 SHEBANG_FILES= test/show test/run test/cyg CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}chempy # https://github.com/schrodinger/pymol-open-source/issues/100 OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= QT5 TK OPTIONS_DEFAULT= QT5 QT5_USES= pyqt:5 QT5_USE= PYQT=core_run,gui_run,opengl_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/scidavis/Makefile b/science/scidavis/Makefile index 0c0d1f4928ec..f6ad164b8ea8 100644 --- a/science/scidavis/Makefile +++ b/science/scidavis/Makefile @@ -1,46 +1,46 @@ PORTNAME= scidavis PORTVERSION= 2.4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MAINTAINER= makc@FreeBSD.org COMMENT= Scientific data analysis and visualization LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgsl.so:math/gsl \ libmuparser.so:math/muparser \ libpng.so:graphics/png \ libqwt5-qt5.so:x11-toolkits/qwt5-qt5 \ libqwtplot3d-qt5.so:math/qwtplot3d \ liborigin.so:math/liborigin USES= cmake compiler:c++17-lang desktop-file-utils gl pkgconfig \ qt:5 shared-mime-info USE_GL= gl glu USE_QT= core gui opengl printsupport svg widgets xml \ buildtools_build linguisttools_build qmake_build USE_GITHUB= yes GH_ACCOUNT= highperformancecoder CMAKE_ON= ORIGIN_IMPORT CMAKE_OFF= DOWNLOAD_LINKS \ SEARCH_FOR_UPDATES OPTIONS_DEFINE= DOCS NLS PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_DESC= Python scripting support PYTHON_USES= pyqt:5 python:3.6+ PYTHON_USE= pyqt=core,gui,printsupport,sip,widgets PYTHON_CMAKE_ON= -DPython3_EXECUTABLE=${PYTHON_CMD} \ -DSCRIPTING_PYTHON=True PYTHON_CMAKE_OFF= -DSCRIPTING_PYTHON=False post-install-PYTHON-on: ${MV} ${STAGEDIR}${PREFIX}/etc/scidavisrc.py \ ${STAGEDIR}${PREFIX}/etc/scidavisrc.py.sample .include diff --git a/science/shelxle/Makefile b/science/shelxle/Makefile index 9edca2ceba65..6dd78a2600c5 100644 --- a/science/shelxle/Makefile +++ b/science/shelxle/Makefile @@ -1,24 +1,25 @@ PORTNAME= shelxle DISTVERSION= 1.0.1273 +PORTREVISION= 1 CATEGORIES= science # chemistry MASTER_SITES= SF/${PORTNAME}/code/ MAINTAINER= yuri@FreeBSD.org COMMENT= Graphical user interface for small-molecule structure refinement LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang dos2unix gl qmake qt:5 tar:bz2 DOS2UNIX_FILES= shelXle.pro USE_QT= core gui network opengl widgets buildtools_build USE_GL= gl PLIST_FILES= bin/shelxle \ share/applications/shelxle.desktop \ share/pixmaps/shelxle.png post-patch: @${FIND} ${WRKSRC} -name "*.cpp" -o -name "*.h" | ${XARGS} ${REINPLACE_CMD} -e 's|NULL|nullptr|g' .include diff --git a/science/simbody/Makefile b/science/simbody/Makefile index bcdff953a0b1..2242398d379a 100644 --- a/science/simbody/Makefile +++ b/science/simbody/Makefile @@ -1,51 +1,51 @@ PORTNAME= simbody DISTVERSIONPREFIX= Simbody- DISTVERSION= 3.7 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science biology PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ PATCHFILES= 1b306f66bcd15e9bf6b27882e2daa6375ac4cd2e.patch:-p1 MAINTAINER= yuri@FreeBSD.org COMMENT= Multibody dynamics library for (bio)mechanical systems simulation LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libopenblas.so:math/openblas USES= blaslapack:openblas cmake compiler:c++11-lang fortran # fortran only for openblas USE_GITHUB= yes USE_LDCONFIG= yes CMAKE_OFF= BUILD_TESTING CMAKE_ARGS= -DBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so -DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so -DFREEBSD_EXAMPLESDIR=${EXAMPLESDIR} OPTIONS_DEFINE= DOCS VISUALIZER EXAMPLE_PROGRAMS # EXAMPLE_PROGRAMS significanly increases the build time and package size, so it is not called EXAMPLES to prevent it from being installed by default OPTIONS_DEFAULT= VISUALIZER OPTIONS_SUB= yes DOCS_CMAKE_BOOL= INSTALL_DOCS VISUALIZER_DESC= Build the visualizer component VISUALIZER_CMAKE_BOOL= BUILD_VISUALIZER VISUALIZER_USES= gl xorg VISUALIZER_USE= GL=gl,glu,glut XORG=xi,xmu EXAMPLE_PROGRAMS_DESC= Build and install example programs EXAMPLE_PROGRAMS_CMAKE_BOOL= BUILD_EXAMPLES PORTDOCS= * # this port installs examples into ${EXAMPLESDIR} when EXAMPLE_PROGRAMS=ON, but check-plist doesn't complain for some reason post-install-DOCS-on: # https://github.com/simbody/simbody/issues/652 @${RMDIR} ${STAGEDIR}${DOCSDIR}/api do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile index ad482c2cdd8e..cded05538a62 100644 --- a/science/v_sim/Makefile +++ b/science/v_sim/Makefile @@ -1,97 +1,97 @@ # Created by: Thierry Thomas PORTNAME= v_sim PORTVERSION= 3.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= https://gitlab.com/l_sim/${PORTNAME}/-/archive/${PORTVERSION}/ MAINTAINER= thierry@FreeBSD.org COMMENT= Visualization of atomic structures LICENSE= CeCILL LICENSE_NAME= CeCILL LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= p5-XML-LibXML>0:textproc/p5-XML-LibXML \ libarchive>0:archivers/libarchive \ xcrysden:science/xcrysden \ bash:shells/bash LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libopenbabel.so:science/openbabel \ libfreetype.so:print/freetype2 \ libyaml.so:textproc/libyaml \ libnetcdf.so:science/netcdf \ libmsym.so:science/libmsym \ libftgl.so:graphics/ftgl \ libxc.so:science/libxc RUN_DEPENDS= ${PYNUMPY} \ xcrysden:science/xcrysden \ libarchive>0:archivers/libarchive \ ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} USES= autoreconf blaslapack compiler:c11 fortran gl gmake gnome \ libtool:keepla localbase:ldflags pkgconfig python:3.7+ \ shebangfix tar:bzip2 xorg SHEBANG_GLOB= *.py USE_XORG= x11 USE_GNOME= cairo gtk30 intltool introspection USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_SHELL=${LOCALBASE}/bin/bash CONFIGURE_ARGS= --htmldir=${PREFIX}/share/doc --with-openbabel \ --with-netcdf=${LOCALBASE} --with-etsf-file-format \ --with-xsf --with-cube --with-msym=${LOCALBASE} \ --with-msym-inc=-I${LOCALBASE}/include/libmsym \ --with-libxc=${LOCALBASE} --enable-python-module CPPFLAGS+= ${CFLAGS} USE_LDCONFIG= yes INSTALLS_ICONS= yes OPTIONS_DEFINE= DOCS NLS EXAMPLES .if defined(WITH_DEBUG) CONFIGURE_ARGS+=--enable-debug-messages .endif .include .if ${ARCH:Mamd64*} || ${ARCH:Mpowerpc64*} BUILD_DEPENDS+= abinit:science/abinit RUN_DEPENDS+= abinit:science/abinit CONFIGURE_ARGS+=--with-abinit PLIST_SUB+= AB="" .else PLIST_SUB+= AB="@comment " .endif .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else USES+= gettext-tools PLIST_SUB+= NLS="@comment " .endif pre-configure: ${REINPLACE_CMD} -e 's|$${docdir}/examples|${EXAMPLESDIR}|' \ ${WRKSRC}/configure.ac ${REINPLACE_CMD} -e 's|print sys.prefix|print (sys.prefix)|' \ -e 's|print sys.exec_prefix|print (sys.exec_prefix)|' \ ${WRKSRC}/m4/python.m4 pre-configure-NLS-off: ${REINPLACE_CMD} -e '/^ po /d' ${WRKSRC}/Makefile.am pre-configure-DOCS-off: ${REINPLACE_CMD} -e '/^ Documentation/d' ${WRKSRC}/Makefile.am pre-configure-EXAMPLES-off: ${REINPLACE_CMD} -e '/^ examples/d' \ ${WRKSRC}/Makefile.am ${REINPLACE_CMD} -e 's|: install-v_simexamplesDATA|:|' \ ${WRKSRC}/lib/python/Makefile.am .include diff --git a/science/vipster/Makefile b/science/vipster/Makefile index 0dd52964ee43..3be42027cc1f 100644 --- a/science/vipster/Makefile +++ b/science/vipster/Makefile @@ -1,55 +1,56 @@ PORTNAME= vipster DISTVERSIONPREFIX= v DISTVERSION= 1.19.1b-14 DISTVERSIONSUFFIX= -g7168a1b +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Crystalline and molecular structure visualisation program LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= catch>0:devel/catch \ cli11>0:devel/cli11 \ libfmt>0:devel/libfmt \ nlohmann-json>0:devel/nlohmann-json USES= cmake compiler:c++17-lang gl USE_GL= gl USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= sgsaenger OPTIONS_DEFINE= DESKTOP LAMMPS PYTHON OPTIONS_DEFAULT= DESKTOP OPTIONS_SUB= yes CMAKE_OFF= VIPSTER_DOWNLOAD_DEPENDENCIES DESKTOP_DESC= Build QT-based desktop app DESKTOP_CMAKE_BOOL= VIPSTER_DESKTOP DESKTOP_USES= qt:5 DESKTOP_USE= QT=core,gui,widgets,buildtools_build,qmake_build LAMMPS_DESC= Interactive LAMMPS in desktop app LAMMPS_CMAKE_BOOL= VIPSTER_LAMMPS LAMMPS_IMPLIES= DESKTOP LAMMPS_LIB_DEPENDS= libfftw3.so:math/fftw3 \ liblammps.so:science/lammps \ libmpi.so:net/openmpi LAMMPS_CONFLICTS_BUILD= mpich PYTHON_CMAKE_BOOL= VIPSTER_PYLIB VIPSTER_PYWIDGET PYTHON_BROKEN= Bundles pybind11: https://github.com/sgsaenger/vipster/issues/23 PORTSCOUT= limit:^[0-9][0-9a-z\.]*$$ do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DTESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include diff --git a/science/vmd/Makefile b/science/vmd/Makefile index 99efe584a37b..aeef7e029364 100644 --- a/science/vmd/Makefile +++ b/science/vmd/Makefile @@ -1,167 +1,167 @@ # Created by: Stephen Montgomery-Smith PORTNAME= vmd DISTVERSION= 1.9.3 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= science graphics python tcl tk MASTER_SITES= http://jedi.ks.uiuc.edu/~johns/raytracer/files/0.99b6/:tachyon \ http://www.photonlimited.com/~johns/tachyon/files/0.99b6/:tachyon \ http://webclu.bio.wzw.tum.de/stride/:stride \ ftp://ftp.ebi.ac.uk/pub/software/unix/stride/src/:stride DISTFILES= ${VMD_DIST} \ ${TACHYON_DIST}:tachyon \ ${STRIDE_DIST}:stride MAINTAINER= ports@FreeBSD.org COMMENT= Molecular visualization program LICENSE= VMD BSD3CLAUSE STRIDE LICENSE_COMB= multi BUILD_DEPENDS= makedepend:devel/makedepend \ ${PYNUMPY} LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfltk.so:x11-toolkits/fltk \ libnetcdf.so:science/netcdf RUN_DEPENDS= ${PYNUMPY} LICENSE_FILE_VMD= ${WRKSRC}/LICENSE LICENSE_PERMS_VMD= no-auto-accept LICENSE_NAME_VMD= Visual Molecular Dynamics Software License Agreement LICENSE_DISTFILES_VMD= ${VMD_DIST} LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/lib/tachyon/Copyright LICENSE_DISTFILES_BSD3CLAUSE= ${TACHYON_DIST} LICENSE_TEXT_STRIDE= ${FILESDIR}/stride.txt LICENSE_PERMS_STRIDE= dist-mirror pkg-mirror auto-accept LICENSE_NAME_STRIDE= Stride Copyright Notice LICENSE_DISTFILES_STRIDE=${STRIDE_DIST} USES= gl gmake perl5 python shebangfix sqlite tcl tk xorg SHEBANG_FILES= ${WRKDIR}/plugins/topotools/*.tcl USE_PERL5= build USE_GL= gl glu USE_XORG= x11 ONLY_FOR_ARCHS= amd64 i386 CONFIGURE_ENV= PYTHON_INCLUDE_DIR=${PYTHON_INCLUDEDIR} \ PYTHON_LIBRARY_DIR=${PYTHON_LIBDIR} \ NUMPY_INCLUDE_DIR=${PYTHON_SITELIBDIR}/numpy/core/include \ NUMPY_LIBRARY_DIR=${PYTHON_SITELIBDIR} \ TCL_INCLUDE_DIR=${TCL_INCLUDEDIR} \ TCL_LIBRARY_DIR=${LOCALBASE}/lib \ TK_INCLUDE_DIR=${TK_INCLUDEDIR} \ TK_LIBRARY_DIR=${LOCALBASE}/lib CONFIGURE_ARGS= ${VMD_ARCH} OPENGL FLTK TK IMD TCL PTHREADS LIBTACHYON NETCDF NUMPY PYTHON INSTALL_WRKSRC= ${WRKSRC}/src MAKE_ENV= EXPATINC=-I${LOCALBASE}/include \ EXPATLIB=-L${LOCALBASE}/lib \ EXPATLDFLAGS=-lexpat \ EXPATDYNAMIC=1 \ NETCDFINC=-I${LOCALBASE}/include \ NETCDFLIB=-L${LOCALBASE}/lib \ NETCDFLDFLAGS=-lnetcdf \ SQLITEINC=-I${LOCALBASE}/include \ SQLITELIB=-L${LOCALBASE}/lib \ SQLITELDFLAGS=-lsqlite3 \ SQLITEDYNAMIC=1 \ TCLLIB=-L${LOCALBASE}/lib \ TCLINC=-I${TCL_INCLUDEDIR} \ TCLLDFLAGS=-ltcl${TCL_VER:S/.//} \ TKLDFLAGS="-ltk${TK_VER:S/.//} -lX11" VMD_DIST= ${PORTNAME}-${DISTVERSION}.src.tar.gz TACHYON_DIST= tachyon-0.99b6.tar.gz STRIDE_DIST= stride.tar.gz STRIDE_DOC= stride.doc .include .if ${ARCH} == "amd64" VMD_ARCH= FREEBSDAMD64 .else VMD_ARCH= FREEBSD .endif PLIST_SUB+= VMD_ARCH=${VMD_ARCH} # Check for VMD sources .if !exists(${DISTDIR}/${VMD_DIST}) IGNORE= license restrictions require manual fetching of the distribution\ source. Please visit http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=VMD\ with a browser. You will be required to register, log in, and accept\ the University of Illinois agreement before you can download the\ ${VMD_DIST} source file. Place this file in ${DISTDIR} and try again. .endif do-extract: ${MKDIR} ${WRKDIR} ${WRKSRC}/lib/stride ${TAR} -xzf ${DISTDIR}/${VMD_DIST} -C ${WRKDIR} ${TAR} -xzf ${WRKSRC}/lib/surf/surf.tar.Z -C ${WRKSRC}/lib/surf ${TAR} -xzf ${DISTDIR}/${TACHYON_DIST} -C ${WRKSRC}/lib ${TAR} -xzf ${DISTDIR}/${STRIDE_DIST} -C ${WRKSRC}/lib/stride post-patch: ${REINPLACE_CMD} \ -e "s|-lpython2.5|-l${PYTHON_VERSION}${PYTHON_ABIVER}|" \ -e "s|/usr/local|${LOCALBASE}|g" \ -e "s|-fno-for-scope||g" \ -e "s/\"gcc\"/\"${CC}\"/;s/\"g++\"/\"${CXX}\"/" \ ${WRKSRC}/configure ${REINPLACE_CMD} -e "s/.SILENT:/#.SILENT:/" ${WRKDIR}/plugins/Makefile ${REINPLACE_CMD} "s/.SILENT:/#.SILENT:/" ${WRKDIR}/plugins/*/Makefile ${REINPLACE_CMD} "s%log2f(\([^ ,]*\))%logf(\1)/(float)M_LN2%g" \ ${WRKSRC}/src/Orbital.C ${REINPLACE_CMD} -E "s/(SHLD[[:space:]]*=[[:space:]]*)gcc/\1${CC}/" \ ${WRKDIR}/plugins/Make-arch ${REINPLACE_CMD} -E "s/(CC[[:space:]]*=[[:space:]]*)(gcc|cc)/\1${CC}/" \ ${WRKSRC}/lib/stride/Makefile \ ${WRKSRC}/lib/surf/Makefile \ ${WRKSRC}/lib/tachyon/unix/Make-arch \ ${WRKDIR}/plugins/cionize/Makefile.specialbuilds \ ${WRKDIR}/plugins/cionize/Makefile.mine \ ${WRKDIR}/plugins/cionize/Makefile.testing \ ${WRKDIR}/plugins/Make-arch \ ${WRKDIR}/plugins/molfile_plugin/f77/Makefile ${REINPLACE_CMD} -E "s/(CXX[[:space:]]*=[[:space:]]*)g\+\+/\1${CXX}/" \ ${WRKDIR}/plugins/fmtool/Makefile.specialbuilds \ ${WRKDIR}/plugins/hesstrans/src/foo/Makefile \ ${WRKDIR}/plugins/hesstrans/src/foo/nm_gnu.mak \ ${WRKDIR}/plugins/Make-arch ${REINPLACE_CMD} -e "s/return *;/return 0;/g" \ ${WRKSRC}/lib/surf/*.c do-build: ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} bsd -C ${WRKSRC}/lib/tachyon/unix ${MV} ${WRKSRC}/lib/tachyon/compile/bsd/tachyon ${WRKSRC}/lib/tachyon/tachyon_${VMD_ARCH} ${SETENV} ${MAKE_ENV} PLUGINDIR=${WRKSRC}/plugins ${MAKE_CMD} ${VMD_ARCH} distrib -C ${WRKDIR}/plugins cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} all -C ${WRKSRC}/src ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} depend -C ${WRKSRC}/lib/surf ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} surf -C ${WRKSRC}/lib/surf ${MV} ${WRKSRC}/lib/surf/surf ${WRKSRC}/lib/surf/surf_${VMD_ARCH} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} -C ${WRKSRC}/lib/stride ${MV} ${WRKSRC}/lib/stride/stride ${WRKSRC}/lib/stride/stride_${VMD_ARCH} post-install: ${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||g' ${STAGEDIR}${PREFIX}/bin/vmd ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/vmd/*${VMD_ARCH} \ ${STAGEDIR}${LOCALBASE}/lib/vmd/plugins/${VMD_ARCH}/molfile/*.so .for f in tcl/autopsf1.6/psfcheck.so tcl/hesstrans1.0/hesstrans.so \ tcl/mutator1.5/libalchemify.so tcl/pmepot1.0/libpmepot.so \ tcl/psfgen1.6/libpsfgen.so tcl/rnaview1.1/rnaview \ tcl/signalproc1.1/specden.so tcl/signalproc1.1/fftcmds.so \ tcl/signalproc1.1/sgsmooth.so tcl/volutil1.3/volutil \ tcl/clustalw1.1/clustalw tcl/libbiokit1.1/tcl_libbiokit.so \ tcl/libbiokit1.1/q tcl/libbiokit1.1/seqqr \ tcl/libbiokit1.1/structqr tcl/libbiokit1.1/qpair \ tcl/libbiokit1.1/rmsd tcl/libbiokit1.1/percid \ tcl/phylotree1.2/upgmaclu tcl/stamp1.2/stamp \ tcl/bossconvert1.0/Topology \ bin/catdcd5.1/catdcd bin/cionize1.0/cionize ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/vmd/plugins/${VMD_ARCH}/${f} .endfor .include diff --git a/science/wxmacmolplt/Makefile b/science/wxmacmolplt/Makefile index 4d6d8fe2b5f4..de1693273de3 100644 --- a/science/wxmacmolplt/Makefile +++ b/science/wxmacmolplt/Makefile @@ -1,23 +1,23 @@ PORTNAME= wxmacmolplt DISTVERSIONPREFIX= v DISTVERSION= 7.7-43 -PORTREVISION= 3 +PORTREVISION= 4 DISTVERSIONSUFFIX= -g9a46f7a CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Graphical user interface principally for the GAMESS program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= autoreconf compiler:c++11-lang gl gmake localbase:ldflags \ pkgconfig USE_GITHUB= yes GH_ACCOUNT= brettbode GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} USE_WX= 3.0 # configure crashes with 3.1: checking for wxWidgets libraries... Segmentation fault (core dumped) USE_GL= gl glew glu .include diff --git a/science/xcrysden/Makefile b/science/xcrysden/Makefile index 45c840772e46..56348489f833 100644 --- a/science/xcrysden/Makefile +++ b/science/xcrysden/Makefile @@ -1,54 +1,54 @@ PORTNAME= xcrysden PORTVERSION= 1.6.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MASTER_SITES= http://www.xcrysden.org/download/ MAINTAINER= yuri@FreeBSD.org COMMENT= Crystalline and molecular structure visualisation program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfftw3.so:math/fftw3 \ libgl2ps.so:print/gl2ps \ libTogl2.0.so:graphics/togl RUN_DEPENDS= bwidget>0:x11-toolkits/bwidget \ obabel:science/openbabel \ convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} \ ppmtompeg:graphics/netpbm \ xwd:x11/xwd USES= fortran gl gmake localbase:ldflags tcl tk xorg USE_GL= gl glu USE_XORG= x11 xmu CONFLICTS_INSTALL= cgnslib-4.1.2,1 # bin/unitconv MAKE_ARGS= prefix=${STAGEDIR}${PREFIX} CFLAGS+= -fcommon # notified xcrysden ML on Sep 20, 2020 BINARY_ALIAS= make=gmake gcc=cc gfortran=gfortran${GCC_DEFAULT} OPTIONS_DEFINE= EXAMPLES PORTEXAMPLES= * post-patch: @${CP} ${FILESDIR}/Make.sys ${WRKSRC} @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Make.sys @${RM} -r ${WRKSRC}/external/src post-install: # stagedir shouldn't be in executables @${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||' ${STAGEDIR}${PREFIX}/bin/* # remove bad symlinks @${RM} \ ${STAGEDIR}${PREFIX}/share/doc/xcrysden/examples/examples \ ${STAGEDIR}${PREFIX}/share/xcrysden/examples @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xcrysden/* # move examples from the docs dir @${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/science/xdrawchem/Makefile b/science/xdrawchem/Makefile index 5ac9805af667..3b13059b2899 100644 --- a/science/xdrawchem/Makefile +++ b/science/xdrawchem/Makefile @@ -1,29 +1,30 @@ PORTNAME= xdrawchem DISTVERSION= 1.11.0-2 +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Two-dimensional molecule drawing program LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libopenbabel.so:science/openbabel USES= compiler:c++11-lang gl qmake qt:5 USE_QT= core gui network printsupport svg widgets xml buildtools_build USE_GL= gl USE_GITLAB= yes GL_SITE= https://salsa.debian.org GL_ACCOUNT= georgesk GL_COMMIT= a3f74c34eb09fa72ee16848ec6901049ca5309d5 pre-configure: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/xdrawchem.pro post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/security/yubikey-manager-qt/Makefile b/security/yubikey-manager-qt/Makefile index 03f9be8aaf8b..9a5e145989e4 100644 --- a/security/yubikey-manager-qt/Makefile +++ b/security/yubikey-manager-qt/Makefile @@ -1,45 +1,46 @@ PORTNAME= yubikey-manager-qt DISTVERSIONPREFIX= yubikey-manager-qt- DISTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= daniel@shafer.cc COMMENT= Cross-platform application for configuring any YubiKey LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>0:security/py-yubikey-manager@${PY_FLAVOR} \ pyotherside-qt5>0:devel/pyotherside-qt5 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>0:security/py-yubikey-manager@${PY_FLAVOR} \ pyotherside-qt5>0:devel/pyotherside-qt5 USES= compiler:c++11-lang gl pkgconfig python:3.5+ qt:5 qmake \ shebangfix USE_GL= gl USE_QT= core declarative graphicaleffects gui network quickcontrols \ quickcontrols2 svg widgets buildtools_build USE_GITHUB= yes GH_ACCOUNT= Yubico SHEBANG_FILES= ykman-gui/py/yubikey.py \ ykman-cli/test.py \ ykman-cli/py/cli.py \ build_qrc.py PLIST_FILES= bin/ykman-gui \ share/applications/ykman-gui.desktop \ share/pixmaps/ykman.png post-extract: @${REINPLACE_CMD} -e '/system/s|python|${PYTHON_CMD}|g' ${WRKSRC}/ykman-gui/ykman-gui.pro \ ${WRKSRC}/ykman-cli/ykman-cli.pro @${REINPLACE_CMD} -e 's|/usr/bin/ykman-gui|${PREFIX}/bin/ykman-gui|g' ${WRKSRC}/resources/linux/AppRun @${REINPLACE_CMD} -e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g' ${WRKSRC}/ykman-gui/deployment.pri post-install: ${INSTALL_DATA} ${WRKSRC}/resources/ykman-gui.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/resources/icons/ykman.png ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/security/yubioath-desktop/Makefile b/security/yubioath-desktop/Makefile index 033f56e6724a..0dce01c2752e 100644 --- a/security/yubioath-desktop/Makefile +++ b/security/yubioath-desktop/Makefile @@ -1,43 +1,44 @@ PORTNAME= yubioath-desktop DISTVERSIONPREFIX= yubioath-desktop- DISTVERSION= 5.0.4 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= daniel@shafer.cc COMMENT= GUI for displaying OATH codes with a Yubikey LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yubikey-manager>=0.7.0:security/py-yubikey-manager@${PY_FLAVOR} \ pyotherside-qt5>0:devel/pyotherside-qt5 \ RSA_SecurID_getpasswd:devel/libccid \ libffi>0:devel/libffi \ pcscd:devel/pcsc-lite \ swig:devel/swig USES= compiler:c++11-lang desktop-file-utils gl python:3.5+ qmake qt:5 \ shebangfix ssl USE_GL= gl USE_QT= core declarative gui network quickcontrols2 svg widgets buildtools_build USE_GITHUB= yes GH_ACCOUNT= Yubico SHEBANG_FILES= build_qrc.py \ py/yubikey.py \ PLIST_FILES= bin/yubioath-desktop \ share/applications/com.yubico.yubioath.desktop \ share/pixmaps/com.yubico.yubioath.png post-patch: @${REINPLACE_CMD} -e '/PYTHON_CMD/s|python3|${PYTHON_CMD}|g' \ ${WRKSRC}/yubioath-desktop.pro @${REINPLACE_CMD} -e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g' ${WRKSRC}/deployment.pri post-install: ${INSTALL_DATA} ${WRKSRC}/resources/com.yubico.yubioath.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/resources/icons/com.yubico.yubioath.png ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/sysutils/UEFITool/Makefile b/sysutils/UEFITool/Makefile index 7edf11c5c605..1637c8e9df20 100644 --- a/sysutils/UEFITool/Makefile +++ b/sysutils/UEFITool/Makefile @@ -1,27 +1,28 @@ # Created by: Piotr Kubaj PORTNAME= UEFITool DISTVERSIONPREFIX= A DISTVERSION= 58 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= pkubaj@FreeBSD.org COMMENT= UEFI images parser LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE.md USES= compiler:c++11-lang gl qmake:outsource qt:5 USE_GITHUB= yes USE_GL= gl USE_QT= core gui widgets buildtools_build qmake_build WRKSRC_SUBDIR= ${PORTNAME} GH_ACCOUNT= LongSoft PLIST_FILES= bin/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/sysutils/accounts-qml-module/Makefile b/sysutils/accounts-qml-module/Makefile index e061a4dc3036..8930eafe9d70 100644 --- a/sysutils/accounts-qml-module/Makefile +++ b/sysutils/accounts-qml-module/Makefile @@ -1,33 +1,33 @@ PORTNAME= accounts-qml-module DISTVERSION= 0.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils kde DIST_SUBDIR= KDE/${GL_ACCOUNT} MAINTAINER= kde@FreeBSD.org COMMENT= Expose the Online Accounts API to QML applications LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libaccounts-qt5.so:net-im/libaccounts-qt5 \ libsignon-qt5.so:sysutils/signon-qt5 USES= compiler:c++11-lang gl pkgconfig qmake qt:5 tar:bz2 USE_GL= gl USE_QT= core declarative gui network testlib xml \ buildtools_build qdoc_build qmake_build # gitlab variables USE_GITLAB= yes GL_ACCOUNT= accounts-sso GL_COMMIT= cfadea7ba8ba4011ae20d771696eb74deb87201e .include .if ${ARCH:Mpowerpc64*} PLIST_SUB= PPC64="@comment " .else PLIST_SUB= PPC64="" .endif .include diff --git a/sysutils/daggy/Makefile b/sysutils/daggy/Makefile index 7c854da00551..d7dde777da6b 100644 --- a/sysutils/daggy/Makefile +++ b/sysutils/daggy/Makefile @@ -1,29 +1,29 @@ PORTNAME= daggy DISTVERSION= 2.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org COMMENT= Data Aggregation Utility: runs commands on remote hosts simultaneously LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= mustache>0:devel/mustache LIB_DEPENDS= libbotan-2.so:security/botan2 \ libssh2.so:security/libssh2 \ libyaml-cpp.so:devel/yaml-cpp USES= compiler:c++17-lang gl localbase:ldflags pkgconfig cmake qt:5 USE_GITHUB= yes GH_ACCOUNT= synacker USE_QT= core gui network buildtools_build qmake_build USE_GL= gl USE_LDCONFIG= yes CMAKE_OFF= CONAN_BUILD post-patch: @${REINPLACE_CMD} -e 's|VERSION_STR|"${DISTVERSION}"|' ${WRKSRC}/src/Daggy/CConsoleDaggy.cpp .include diff --git a/sysutils/dsbbatmon/Makefile b/sysutils/dsbbatmon/Makefile index d37fef3ea5e8..128c3a5c95b5 100644 --- a/sysutils/dsbbatmon/Makefile +++ b/sysutils/dsbbatmon/Makefile @@ -1,17 +1,18 @@ PORTNAME= dsbbatmon DISTVERSION= 1.0.6 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://freeshell.de/~mk/download/ MAINTAINER= mk@nic-nac-project.org COMMENT= Qt battery monitor LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang gl qmake qt:5 tar:tgz USE_GL= gl USE_QT= buildtools_build core gui linguisttools_build widgets .include diff --git a/sysutils/dsblogoutmgr/Makefile b/sysutils/dsblogoutmgr/Makefile index ecc0379fa849..b0c453ba4495 100644 --- a/sysutils/dsblogoutmgr/Makefile +++ b/sysutils/dsblogoutmgr/Makefile @@ -1,23 +1,24 @@ PORTNAME= dsblogoutmgr PORTVERSION= 1.3.2 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://freeshell.de/~mk/download/ MAINTAINER= mk@nic-nac-project.org COMMENT= Graphical logout manager LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang gl qmake qt:5 tar:tgz USE_GL= gl USE_QT= buildtools_build core gui linguisttools_build widgets OPTIONS_DEFINE= METALOCK METALOCK_DESC= Use metalock for locking the screen METALOCK_RUN_DEPENDS= metalock:x11/metalock .include diff --git a/sysutils/dsbmc/Makefile b/sysutils/dsbmc/Makefile index 618bf69158b8..f996b97ef599 100644 --- a/sysutils/dsbmc/Makefile +++ b/sysutils/dsbmc/Makefile @@ -1,24 +1,25 @@ # Created by: Marcel Kaiser PORTNAME= dsbmc DISTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= mk@nic-nac-project.org COMMENT= Qt client for DSBMD that lets you mount media, and more LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= dsbmd>=0.3:sysutils/dsbmd USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 tar:tgz USE_GL= gl USE_QT= buildtools_build core gui linguisttools_build widgets USE_GITHUB= yes GH_ACCOUNT= mrclksr GH_PROJECT= DSBMC .include diff --git a/sysutils/dsbsu/Makefile b/sysutils/dsbsu/Makefile index 60de539e797b..3d82efc50706 100644 --- a/sysutils/dsbsu/Makefile +++ b/sysutils/dsbsu/Makefile @@ -1,19 +1,20 @@ PORTNAME= dsbsu PORTVERSION= 0.2 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= mk@nic-nac-project.org COMMENT= Qt frontend to su(1) LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang gl qmake qt:5 tar:tgz xorg USE_GL= gl USE_QT= buildtools_build core gui linguisttools_build widgets USE_GITHUB= yes GH_ACCOUNT= mrclksr GH_PROJECT= DSBSu .include diff --git a/sysutils/logstalgia/Makefile b/sysutils/logstalgia/Makefile index 754c53c73417..f2cefae39709 100644 --- a/sysutils/logstalgia/Makefile +++ b/sysutils/logstalgia/Makefile @@ -1,40 +1,40 @@ # Created by: Emanuel Haupt PORTNAME= logstalgia DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 1.1.2 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= sysutils www MAINTAINER= ehaupt@FreeBSD.org COMMENT= Website access log visualization tool LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libpcre.so:devel/pcre \ libpng.so:graphics/png \ libftgl.so:graphics/ftgl GNU_CONFIGURE= yes USES= autoreconf compiler:c++0x gl gmake jpeg localbase:ldflags \ pkgconfig sdl USE_GL= gl glu glew USE_SDL= image2 sdl2 USE_GITHUB= yes GH_ACCOUNT= acaudwell GH_PROJECT= Logstalgia Core:core GH_TAGNAME= 1534074:core post-extract: @${MV} ${WRKDIR}/Core-*/* ${WRKSRC}/src/core/ post-patch: @${REINPLACE_CMD} -e 's| -Wno-unused-but-set-variable||' \ ${WRKSRC}/Makefile.am .include diff --git a/sysutils/luckybackup/Makefile b/sysutils/luckybackup/Makefile index 12d55a402f89..c307147fc786 100644 --- a/sysutils/luckybackup/Makefile +++ b/sysutils/luckybackup/Makefile @@ -1,34 +1,35 @@ PORTNAME= luckybackup PORTVERSION= 0.5.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/source MAINTAINER= jhale@FreeBSD.org COMMENT= Qt frontend to the backup utility rsync LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/license/gpl.txt RUN_DEPENDS= rsync:net/rsync \ pkexec:sysutils/polkit USES= compiler:c++11-lang gl qmake qt:5 USE_GL= gl USE_QT= core gui network widgets buildtools_build post-patch: ${REINPLACE_CMD} -e 's|/usr|$$$${PREFIX}|g' -e '/INSTALLS/s|debianmenu ||' \ -e '/manpage/s|share/||' -e 's|QMAKE_STRIP.*|QMAKE_STRIP = ${STRIP_CMD}|g' \ ${WRKSRC}/luckybackup.pro ${REINPLACE_CMD} -e 's|/usr/bin/||g' -e 's|/usr/share/pixmaps/||g' \ ${WRKSRC}/menu/*.desktop ${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \ ${WRKSRC}/src/executenow.cpp ${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \ ${WRKSRC}/menu/luckybackup-pkexec \ ${WRKSRC}/menu/net.luckybackup.su.policy \ ${WRKSRC}/src/global.cpp \ ${WRKSRC}/src/scheduleDialog.cpp .include diff --git a/sysutils/pc-networkmanager/Makefile b/sysutils/pc-networkmanager/Makefile index fd00aef35277..dacb0a5fa167 100644 --- a/sysutils/pc-networkmanager/Makefile +++ b/sysutils/pc-networkmanager/Makefile @@ -1,33 +1,33 @@ PORTNAME= pc-networkmanager PORTVERSION= 201710031301 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils MAINTAINER= jt@ixsystems.com COMMENT= TrueOS Qt based network manager LICENSE= BSD2CLAUSE ONLY_FOR_ARCHS= amd64 LIB_DEPENDS= libtrueos-ui.so:sysutils/trueos-libqt5 MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} MAKE_JOBS_UNSAFE= yes USES= gl qmake qt:5 shebangfix tar:xz SHEBANG_FILES= src/NetworkManager/resources/umts_stick USE_LDCONFIG= yes USE_QT= core gui network svg linguist \ buildtools x11extras widgets USE_GL+= gl QMAKE_ARGS= CONFIG+="configure" USE_GITHUB= yes GH_ACCOUNT= trueos GH_PROJECT= pc-networkmanager GH_TAGNAME= ae50abf3ba522a7685f275157455f6d424453bb2 .include diff --git a/sysutils/plasma5-kinfocenter/Makefile b/sysutils/plasma5-kinfocenter/Makefile index 7dab4857efd6..c1076a73b0f1 100644 --- a/sysutils/plasma5-kinfocenter/Makefile +++ b/sysutils/plasma5-kinfocenter/Makefile @@ -1,35 +1,36 @@ PORTNAME= kinfocenter DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= sysutils kde kde-plasma MAINTAINER= kde@FreeBSD.org COMMENT= Plasma5 utility providing system information LIB_DEPENDS= libpci.so:devel/libpci USES= cmake compiler:c++11-lib cpe gettext gl kde:5 pkgconfig \ qt:5 tar:xz xorg USE_GL= egl gl glu USE_KDE= auth bookmarks codecs completion config configwidgets \ coreaddons crash dbusaddons doctools ecm emoticons guiaddons \ i18n iconthemes jobwidgets kcmutils kdeclarative \ kdelibs4support kio notifications package parts init \ itemmodels itemviews service solid sonnet textwidgets \ unitconversion wayland wayland widgetsaddons windowsystem xmlgui \ systemsettings_run USE_QT= concurrent core dbus declarative gui network printsupport widgets xml \ buildtools_build qmake_build USE_XORG= ice sm x11 xext # TODO -- this should be handled correctly... LDFLAGS+=-ldevinfo # install freebsd-logo and distrorc post-install: ${MKDIR} ${STAGEDIR}/${DATADIR}/images ${INSTALL_DATA} ${FILESDIR}/freebsd_logo.svg ${STAGEDIR}/${DATADIR}/images/ ${MKDIR} ${STAGEDIR}/${PREFIX}/etc/xdg ${INSTALL_DATA} ${FILESDIR}/kcm-about-distrorc ${STAGEDIR}/${PREFIX}/etc/xdg/ ${REINPLACE_CMD} -i "" -e "s#%%DATADIR%%#${DATADIR}#" ${STAGEDIR}/${PREFIX}/etc/xdg/kcm-about-distrorc .include diff --git a/sysutils/qdirstat/Makefile b/sysutils/qdirstat/Makefile index 48ae52b26ed7..167277b23419 100644 --- a/sysutils/qdirstat/Makefile +++ b/sysutils/qdirstat/Makefile @@ -1,31 +1,32 @@ PORTNAME= qdirstat PORTVERSION= 1.7.1 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= kbowling@FreeBSD.org COMMENT= Qt utility that sums up disk usage for directory trees LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 shebangfix USE_GL= gl USE_QT= buildtools_build core gui widgets OPTIONS_DEFINE= DOCS USE_GITHUB= yes GH_ACCOUNT= shundhammer SHEBANG_FILES= scripts/qdirstat-cache-writer QMAKE_ARGS+= INSTALL_PREFIX=${PREFIX} pre-configure: ${REINPLACE_CMD} -e 's,/share,,g' \ ${WRKSRC}/man/man.pro post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qdirstat .include diff --git a/sysutils/qsudo/Makefile b/sysutils/qsudo/Makefile index a66d438ccefe..dd1c80f7d401 100644 --- a/sysutils/qsudo/Makefile +++ b/sysutils/qsudo/Makefile @@ -1,25 +1,25 @@ PORTNAME= qsudo DISTVERSION= 201711240000 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils security MAINTAINER= jt@ixsystems.com COMMENT= Qt sudo front-end LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/../LICENSE RUN_DEPENDS= sudo:security/sudo USES= compiler:c++11-lang qmake qt:5 USE_GITHUB= yes GH_ACCOUNT= trueos GH_TAGNAME= 815e31c USE_QT= core gui widgets buildtools_build WRKSRC_SUBDIR= src-qt5 LDFLAGS+= -Wl,--as-needed # prevents unnecessary USE_GL=gl, see bug#224488 PLIST_FILES= bin/qsudo .include diff --git a/sysutils/qtpass/Makefile b/sysutils/qtpass/Makefile index 8c5af2869174..795c0836b8a9 100644 --- a/sysutils/qtpass/Makefile +++ b/sysutils/qtpass/Makefile @@ -1,39 +1,40 @@ PORTNAME= qtpass DISTVERSIONPREFIX= v DISTVERSION= 1.3.2 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= brouwer@annejan.com COMMENT= Qt GUI for pass, the standard unix password manager LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= pass:sysutils/password-store USES= compiler:c++11-lang gl qmake:outsource qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= IJhack GH_PROJECT= QtPass USE_GL= gl USE_QT= core gui network testlib widgets buildtools_build linguisttools_build # Create a desktop entry for the port. DESKTOP_ENTRIES= "QtPass" "" \ "${PREFIX}/share/pixmaps/qtpass.png" \ "${PREFIX}/bin/qtpass" \ "Security;Utility;" true PLIST_FILES= bin/qtpass \ share/pixmaps/qtpass.png # Fix build with Qt 5.13 pre-build: cd ${WRKSRC}/localization && ${LRELEASE} *ts # Install the icon of the port. post-install: ${INSTALL_DATA} ${WRKSRC}/artwork/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/qtpass.png .include diff --git a/sysutils/signon-ui/Makefile b/sysutils/signon-ui/Makefile index c9b5d9f962d0..b96164354a69 100644 --- a/sysutils/signon-ui/Makefile +++ b/sysutils/signon-ui/Makefile @@ -1,30 +1,30 @@ PORTNAME= signon-ui PORTVERSION= 0.17 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= sysutils kde DIST_SUBDIR= KDE/${GL_ACCOUNT} MAINTAINER= kde@FreeBSD.org COMMENT= Component for handling accounts-sso user interactions LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libaccounts-qt5.so:net-im/libaccounts-qt5 \ libnotify.so:devel/libnotify \ libsignon-qt5.so:sysutils/signon-qt5 \ libproxy.so:net/libproxy USES= compiler:c++11-lang gettext-runtime gl gnome pkgconfig python \ qmake qt:5 tar:bz2 USE_GL= gl USE_GNOME= gdkpixbuf2 glib20 USE_QT= core dbus declarative gui network webkit widgets xml \ buildtools_build qmake_build # gitlab variables USE_GITLAB= yes GL_ACCOUNT= accounts-sso GL_COMMIT= 075830f31096947fcea70802b8d3c142bccfbefa .include diff --git a/sysutils/tarsnap-gui/Makefile b/sysutils/tarsnap-gui/Makefile index 007ac74220d0..264b9168c930 100644 --- a/sysutils/tarsnap-gui/Makefile +++ b/sysutils/tarsnap-gui/Makefile @@ -1,22 +1,22 @@ PORTNAME= tarsnap-gui PORTVERSION= 1.0.2 -PORTREVISION= 3 +PORTREVISION= 4 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= swills@FreeBSD.org COMMENT= Cross platform GUI for the Tarsnap command line client USE_GITHUB= yes GH_ACCOUNT= Tarsnap USES= compiler:c++11-lib gl qmake qt:5 USE_QT= buildtools_build core gui network qmake_build sql sql-sqlite3 widgets USE_GL= gl PLIST_FILES= bin/tarsnap-gui do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tarsnap-gui ${STAGEDIR}${PREFIX}/bin .include diff --git a/sysutils/trueos-libqt5/Makefile b/sysutils/trueos-libqt5/Makefile index e76427e18357..fbfef8aae029 100644 --- a/sysutils/trueos-libqt5/Makefile +++ b/sysutils/trueos-libqt5/Makefile @@ -1,33 +1,33 @@ PORTNAME= trueos-libqt5 PORTVERSION= 20171003 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= jt@ixsystems.com COMMENT= TrueOS QT5 Library LICENSE= BSD2CLAUSE ONLY_FOR_ARCHS= amd64 USES= gl qmake qt:5 shebangfix tar:xz MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes USE_QT= core gui network svg linguist \ buildtools x11extras widgets USE_GL+= gl WRKSRC_SUBDIR= src-qt5 QMAKE_ARGS= CONFIG+="configure" USE_GITHUB= yes GH_ACCOUNT= trueos GH_PROJECT= trueos-libqt5 GH_TAGNAME= 9e92b465d823185c9b96f2017e06f2a06b6143fa .include diff --git a/textproc/fcitx5/Makefile b/textproc/fcitx5/Makefile index 97bd02d1c1ad..af8bf051b833 100644 --- a/textproc/fcitx5/Makefile +++ b/textproc/fcitx5/Makefile @@ -1,79 +1,80 @@ # Created by: Ka Ho Ng PORTNAME= fcitx5 DISTVERSION= 5.0.4 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://download.fcitx-im.org/data/:dict DISTFILES= ${SPELL_EN_DICT_TAR}:dict DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= khng300@gmail.com COMMENT= New implementation of the Fcitx IME framework LICENSE= LGPL21+ BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ uthash>=0:devel/uthash LIB_DEPENDS= libdbus-1.so:devel/dbus \ libevent.so:devel/libevent \ libuuid.so:misc/e2fsprogs-libuuid \ libfmt.so:devel/libfmt \ libxkbcommon.so:x11/libxkbcommon \ libexpat.so:textproc/expat2 \ libjson-c.so:devel/json-c RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ xkeyboard-config>=0:x11/xkeyboard-config # gettext-tools for both build-time hard requirement and Fcitx5 helper shell scripts USES= cmake compiler:c++17-lang gettext-runtime gettext-tools:build,run gl gnome kde:5 pkgconfig PLIST_SUB= VER=${PORTVERSION} CONFLICTS= zh-fcitx OPTIONS_DEFINE= X11 WAYLAND ENCHANT OPTIONS_DEFAULT= X11 WAYLAND ENCHANT OPTIONS_SUB= yes SUB_FILES= pkg-message X11_USES= xorg X11_USE= xorg=xcb,xkbfile X11_LIB_DEPENDS= libxcb-util.so:x11/xcb-util \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-ewmh.so:x11/xcb-util-wm \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-imdkit.so:x11/xcb-imdkit WAYLAND_BUILD_DEPENDS= wayland-scanner:graphics/wayland \ wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland ENCHANT_DESC= Dictionary/spellchecking framework ENCHANT_LIB_DEPENDS= libenchant-2.so:textproc/enchant2 ENCHANT_CMAKE_BOOL= ENABLE_ENCHANT CMAKE_ON= SYSTEM_USE_UTHASH FCITX5_DOWNLOAD_DISALLOWED CMAKE_OFF= ENABLE_TEST MAKE_ENV= FCITX5_DOWNLOAD_DISALLOWED=TRUE USE_GL= egl USE_GNOME= cairo glib20 gdkpixbuf2 pango USE_KDE= ecm INSTALLS_ICONS= yes USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= fcitx # These must follow src/modules/spell/dict/CMakeLists.txt SPELL_EN_DICT_VER= 20121020 SPELL_EN_DICT_TAR= en_dict-${SPELL_EN_DICT_VER}.tar.gz post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${SPELL_EN_DICT_TAR} ${WRKSRC}/src/modules/spell/dict .include diff --git a/textproc/qstardict/Makefile b/textproc/qstardict/Makefile index 6cce9d9bd217..472e98b9b770 100644 --- a/textproc/qstardict/Makefile +++ b/textproc/qstardict/Makefile @@ -1,42 +1,42 @@ # Created by: Yinghong.Liu PORTNAME= qstardict DISTVERSIONPREFIX= qstardict- DISTVERSION= 1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MAINTAINER= makc@FreeBSD.org COMMENT= Qt based dictionary program (stardict clone) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gl gnome pkgconfig qmake qt:5 tar:bzip2 xorg USE_GL= gl USE_GNOME= glib20 USE_QT= core dbus gui network printsupport widgets xml \ buildtools_build linguisttools_build qmake_build USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= a-rodin QMAKE_ARGS= INSTALL_PREFIX=${PREFIX} OPTIONS_DEFINE= DOCS KDE OPTIONS_SUB= yes KDE_DESC= KDE integration KDE_USES= kde:5 KDE_USE= KDE=globalaccel,notifications,windowsystem KDE_QMAKE_ON= "ENABLED_PLUGINS=stardict web kdeintegration" # Path to dictionaries installed by stardict-* ports DICPATH= ${LOCALBASE}/share/stardict/dic post-patch: ${REINPLACE_CMD} '/m_dictDirs/s|/usr/share/stardict/dic|${PREFIX}/share/stardict/dic|g' \ ${WRKSRC}/plugins/stardict/stardict.cpp .include diff --git a/textproc/uim-qt5/Makefile b/textproc/uim-qt5/Makefile index 76d4dad0df2f..166008838a7e 100644 --- a/textproc/uim-qt5/Makefile +++ b/textproc/uim-qt5/Makefile @@ -1,39 +1,40 @@ +PORTREVISION= 1 PKGNAMESUFFIX= -qt5 COMMENT= Qt5 modules of uim input method LICENSE= BSD3CLAUSE GPLv2+ GPLv3+ LGPL21+ PD LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cmake:devel/cmake LIB_DEPENDS= libuim.so:textproc/uim USES= compiler:c++11-lang gl iconv kde:5 libtool qt:5 USE_GL= gl USE_KDE= plasma-framework USE_QT= buildtools_build core declarative gui network qmake_build widgets x11extras MASTERDIR= ${.CURDIR}/../../textproc/uim PKGDIR= ${.CURDIR} GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-qt5 --with-qt5-immodule CONFIGURE_ENV= DATADIRNAME="share" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include UIM_SLAVE= yes .if defined(WITHOUT_X11) IGNORE= cannot be built without X11. Please, unset WITHOUT_X11 .endif do-build: (cd ${WRKSRC}/uim && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libuim-x-util.la libuim-counted-init.la) (cd ${WRKSRC}/replace && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}) (cd ${WRKSRC}/qt5 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}) do-install: (cd ${WRKSRC}/qt5 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} DESTDIR=${STAGEDIR} install) .include "${MASTERDIR}/Makefile" diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 56c3e9290990..da4d7eaff5e1 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,354 +1,355 @@ # Created by: Florent Thoumie PORTNAME= chromium PORTVERSION= 91.0.4472.114 +PORTREVISION= 1 CATEGORIES= www java MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ LOCAL/rene/chromium/:fonts DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= chromium@FreeBSD.org COMMENT= Google web browser based on WebKit LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi BROKEN_FreeBSD_11_aarch64= components/safe_browsing_db/v4_rice.cc:120:18: use of overloaded operator '&' is ambiguous ONLY_FOR_ARCHS= aarch64 amd64 i386 BUILD_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \ gperf:devel/gperf \ ffmpeg>=3.2.2,1:multimedia/ffmpeg \ flock:sysutils/flock \ node:www/node \ xcb-proto>0:x11/xcb-proto \ ${LOCALBASE}/bin/ar:devel/binutils \ ${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 LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ libsnappy.so:archivers/snappy \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ 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 \ libavcodec.so:multimedia/ffmpeg \ 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 \ 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 dos2unix gl gnome jpeg localbase:ldflags \ ninja perl5 pkgconfig python:2.7,build shebangfix tar:xz xorg CPE_VENDOR= google CPE_PRODUCT= chrome DOS2UNIX_FILES= third_party/skia/third_party/vulkanmemoryallocator/include/vk_mem_alloc.h \ third_party/vulkan_memory_allocator/src/vk_mem_alloc.h USE_GL= gbm gl USE_GNOME= atk dconf glib20 gtk30 libxml2 libxslt INSTALLS_ICONS= yes USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome BINARY_ALIAS= python=${PYTHON_CMD} EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang # 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_hangout_services_extension=true \ enable_js_type_check=false \ enable_nacl=false \ enable_one_click_signin=true \ enable_remoting=false \ fieldtrial_testing_like_official_build=true \ is_clang=true \ optimize_webui=false \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator="none" \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=false \ use_gnome_keyring=false \ use_lld=true \ use_sysroot=false \ use_system_freetype=true \ use_system_harfbuzz=true \ use_system_libjpeg=true \ extra_cxxflags="${CXXFLAGS}" \ extra_ldflags="${LDFLAGS}" # 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 TEST OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS SNDIO 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+=ffmpeg_branding="Chrome" \ GN_ARGS+=proprietary_codecs=true CODECS_VARS_OFF= GN_ARGS+=ffmpeg_branding="Chromium" \ GN_ARGS+=proprietary_codecs=false 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="13 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="6.5 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="14 GB" MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false # With SNDIO=on we exclude audio_manager_linux from the build (see # media/audio/BUILD.gn) and use audio_manager_openbsd which does not # support falling back to ALSA or PulseAudio. SNDIO_PREVENTS= ALSA PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false .include "Makefile.tests" TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX} \ test_fonts-85${EXTRACT_SUFX}:fonts TEST_ALL_TARGET= ${TEST_TARGETS} .include .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 .if ${COMPILER_VERSION} < 120 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-build_config_compiler_pgo_pgo.gni .if ${PORT_OPTIONS:MLTO} BROKEN+= does not build with LTO needs LLVM 12+ .endif .endif # swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only .if ${ARCH} == aarch64 PLIST_SUB+= NOT_AARCH64="@comment " .else PLIST_SUB+= NOT_AARCH64="" .endif # 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 pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Chromium, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} post-extract-TEST-on: @${MKDIR} ${WRKSRC}/third_party/test_fonts/test_fonts @${MV} ${WRKDIR}/test_fonts ${WRKSRC}/third_party/test_fonts/ post-patch: @${MKDIR} ${WRKSRC}/sandbox/policy/freebsd @${CP} ${FILESDIR}/dir_reader_freebsd.h ${WRKSRC}/base/files @${CP} ${FILESDIR}/device_info_fetcher_freebsd.h ${WRKSRC}/chrome/browser/enterprise/signals @${CP} ${FILESDIR}/device_info_fetcher_freebsd.cc ${WRKSRC}/chrome/browser/enterprise/signals @${CP} ${FILESDIR}/sandbox_freebsd.h ${WRKSRC}/sandbox/policy/freebsd @${CP} ${FILESDIR}/sandbox_freebsd.cc ${WRKSRC}/sandbox/policy/freebsd post-patch-SNDIO-on: @${MKDIR} ${WRKSRC}/media/audio/sndio ${WRKSRC}/media/audio/openbsd @${CP} ${FILESDIR}/sndio_output.* ${WRKSRC}/media/audio/sndio @${CP} ${FILESDIR}/sndio_input.* ${WRKSRC}/media/audio/sndio @${CP} ${FILESDIR}/audio_manager_openbsd.* ${WRKSRC}/media/audio/openbsd 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 \ ffmpeg flac fontconfig freetype harfbuzz-ng libdrm libpng libwebp libxml libxslt openh264 opus snappy || ${FALSE} # We need the site package from xcbgen, which installs as python3.x (really: default version), while the chromium # build still needs to use python2.7. It works, because xcbgen can run with both versions, but we want to avoid # having the pre-compiled pyc files from 2.7 in the 3.x site packages # Remove this as soon as chromium uses python3.x as well @${MKDIR} ${WRKDIR}/site-packages/xcbgen ${CP} ${PYTHONBASE}/lib/python${PYTHON_DEFAULT}/site-packages/xcbgen/*.py \ ${WRKDIR}/site-packages/xcbgen 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-x64/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd-x64/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 do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ ${STAGEDIR}${MANPREFIX}/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 icudtl.dat 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 .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} .for g in libEGL.so libGLESv2.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/swiftshader/${g} \ ${STAGEDIR}${DATADIR}/swiftshader .endfor .endif post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 \ ${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 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/firefox-esr/Makefile b/www/firefox-esr/Makefile index df33ccd23d96..2a4607ddd2ed 100644 --- a/www/firefox-esr/Makefile +++ b/www/firefox-esr/Makefile @@ -1,63 +1,63 @@ # Created by: Alan Eldridge PORTNAME= firefox DISTVERSION= 78.11.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build2/source PKGNAMESUFFIX= -esr DISTFILES= ${DISTNAME}esr.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org COMMENT= Web browser based on the browser portion of Mozilla BUILD_DEPENDS= nspr>=4.26:devel/nspr \ nss>=3.56:security/nss \ icu>=67.1,1:devel/icu \ libevent>=2.1.8:devel/libevent \ harfbuzz>=2.6.6:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ png>=1.6.35:graphics/png \ libvpx>=1.8.2:multimedia/libvpx \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ autoconf-2.13:devel/autoconf213 \ nasm:devel/nasm \ yasm:devel/yasm \ zip:archivers/zip USE_GECKO= gecko CPE_PRODUCT= ${PORTNAME}_esr CONFLICTS_INSTALL= firefox USE_MOZILLA= -sqlite CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 USES= tar:xz FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png FIREFOX_DESKTOP= ${MOZSRC}/taskcluster/docker/${MOZILLA}-snap/${MOZILLA}.desktop MOZ_OPTIONS= --enable-application=browser \ --enable-official-branding .include "${.CURDIR}/../../www/firefox/Makefile.options" post-patch: @${REINPLACE_CMD} -e 's/%u/%U/' -e '/X-MultipleArgs/d' \ -e '/^Icon/s/=.*/=${FIREFOX_ICON:R}/' \ ${FIREFOX_DESKTOP} @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/browser/app/nsBrowserApp.cpp pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${WRKSRC}/js/src/ && ${LOCALBASE}/bin/autoconf-2.13) post-install: ${INSTALL_DATA} ${FIREFOX_DESKTOP} ${STAGEDIR}${PREFIX}/share/applications/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${LN} -sf ${FIREFOX_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${FIREFOX_ICON} .include diff --git a/www/firefox/Makefile b/www/firefox/Makefile index 9e27b33ee149..4ade9b45cebf 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -1,60 +1,61 @@ # Created by: Alan Eldridge PORTNAME= firefox DISTVERSION= 89.0.1 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= www MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source DISTFILES= ${DISTNAME}.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org COMMENT= Web browser based on the browser portion of Mozilla BUILD_DEPENDS= nspr>=4.26:devel/nspr \ nss>=3.64:security/nss \ icu>=67.1,1:devel/icu \ libevent>=2.1.8:devel/libevent \ harfbuzz>=2.8.0:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ png>=1.6.37:graphics/png \ libvpx>=1.8.2:multimedia/libvpx \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ v4l_compat>0:multimedia/v4l_compat \ autoconf-2.13:devel/autoconf213 \ nasm:devel/nasm \ yasm:devel/yasm \ zip:archivers/zip USE_GECKO= gecko CONFLICTS_INSTALL= firefox-esr USE_MOZILLA= -sqlite CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 USES= tar:xz FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png FIREFOX_DESKTOP= ${MOZSRC}/taskcluster/docker/${MOZILLA}-snap/${MOZILLA}.desktop MOZ_OPTIONS= --enable-application=browser \ --enable-official-branding .include "${.CURDIR}/../../www/firefox/Makefile.options" post-patch: @${REINPLACE_CMD} -e 's/%u/%U/' -e '/X-MultipleArgs/d' \ -e '/^Icon/s/=.*/=${FIREFOX_ICON:R}/' \ ${FIREFOX_DESKTOP} @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/browser/app/nsBrowserApp.cpp pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${WRKSRC}/js/src/ && ${LOCALBASE}/bin/autoconf-2.13) post-install: ${INSTALL_DATA} ${FIREFOX_DESKTOP} ${STAGEDIR}${PREFIX}/share/applications/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${LN} -sf ${FIREFOX_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${FIREFOX_ICON} .include diff --git a/www/libwpe/Makefile b/www/libwpe/Makefile index 391090eca4da..e4d1b22f7994 100644 --- a/www/libwpe/Makefile +++ b/www/libwpe/Makefile @@ -1,18 +1,19 @@ PORTNAME= libwpe PORTVERSION= 1.10.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://wpewebkit.org/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= General-purpose library for WPE WebKit LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gl meson pkgconfig tar:xz USE_GL= egl USE_LDCONFIG= yes .include diff --git a/www/py-qt5-webengine/Makefile b/www/py-qt5-webengine/Makefile index 63a28992fade..a8367d34fd16 100644 --- a/www/py-qt5-webengine/Makefile +++ b/www/py-qt5-webengine/Makefile @@ -1,52 +1,53 @@ PORTNAME= webengine DISTVERSION= ${PYQT_VERSION} +PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= https://pypi.python.org/packages/source/P/PyQtWebEngine/ PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- DISTNAME= PyQtWebEngine-${DISTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtWebEngine module LICENSE= GPLv3 DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core gui network printsupport webchannel USE_PYTHON= concurrent flavors py3kplist USE_QT= core declarative gui location network printsupport webchannel \ webengine widgets qmake_build CONFIGURE_ARGS= -d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 \ -q ${QMAKE} \ --sip ${SIP} \ --pyqt-sipdir ${PYQT_SIPDIR} \ --verbose DESTDIRNAME= INSTALL_ROOT OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT= API OPTIONS_SUB= yes API_DESC= Install QtWebEngine API for QScintilla2 API_CONFIGURE_ON= --apidir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace PLIST_SUB= PYQT_WEBENGINE_VERSION=${DISTVERSION} post-install-DEBUG-off: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/PyQt5/QtWebEngine*.so post-patch: ${REINPLACE_CMD} -e "s/sip-module/sip-module-${PYTHON_VER}/" ${WRKSRC}/configure.py do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} .include diff --git a/www/py-qt5-webkit/Makefile b/www/py-qt5-webkit/Makefile index 73bf21f51255..21bb04cd5b20 100644 --- a/www/py-qt5-webkit/Makefile +++ b/www/py-qt5-webkit/Makefile @@ -1,29 +1,30 @@ PORTNAME= webkit +PORTREVISION= 1 CATEGORIES= www devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtWebKit module CONFIGURE_ARGS= --enable QtWebKit PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run gui_run network_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui network webkit qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtWebKit API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtWebKit.so .include diff --git a/www/py-qt5-webkitwidgets/Makefile b/www/py-qt5-webkitwidgets/Makefile index e9bcc7d4059e..5f73cc086e9b 100644 --- a/www/py-qt5-webkitwidgets/Makefile +++ b/www/py-qt5-webkitwidgets/Makefile @@ -1,30 +1,31 @@ PORTNAME= webkitwidgets +PORTREVISION= 1 CATEGORIES= www devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtWebKitWidgets module CONFIGURE_ARGS= --enable QtWebKitWidgets PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run printsupport_run webkit_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui network printsupport webkit widgets \ qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtWebKitWidgets API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtWebKitWidgets.so .include diff --git a/www/qt5-webengine/Makefile b/www/qt5-webengine/Makefile index 1fd7501c7334..c72e414fac93 100644 --- a/www/qt5-webengine/Makefile +++ b/www/qt5-webengine/Makefile @@ -1,157 +1,157 @@ # 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. PORTNAME= webengine DISTVERSION= ${QT5_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 library to render web content BUILD_DEPENDS= bison:devel/bison \ yasm:devel/yasm \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat 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 \ 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= 5.15.2 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 ninja:build pkgconfig python:2.7,build \ qmake:norecursive,outsource qt-dist:5,webengine shebangfix xorg USE_GL= gl USE_GNOME= glib20 libxml2 libxslt 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 xorgproto \ xrandr xrender xscrnsaver xtst 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*} || ${ARCH} == sparc64 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/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/chromium/third_party/pdfium/xfa/fgas/font/cfx_fontsourceenum_file.cpp \ ${WRKSRC}/src/3rdparty/gn/build/gen.py .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64 @${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. ${PYTHON_CMD} ${WRKSRC}/src/3rdparty/chromium/build/linux/unbundle/replace_gn_files.py \ --system-libraries libwebp libxml libxslt yasm # Rerun syncqt.pl -- otherwise the resulting package misses some forwarding headers. cd ${WRKSRC} && ${QT_BINDIR}/syncqt.pl -version ${QT5_VERSION} .include diff --git a/www/qt5-webglplugin/Makefile b/www/qt5-webglplugin/Makefile index 5eb3d15cd725..9f86fa28d8f6 100644 --- a/www/qt5-webglplugin/Makefile +++ b/www/qt5-webglplugin/Makefile @@ -1,19 +1,19 @@ PORTNAME= webglplugin DISTVERSION= ${QT5_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt QPA plugin for running an application via a browser using streamed WebGL commands LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= compiler:c++11-lang gl gnome qmake:norecursive qt-dist:5 USE_GL= gl USE_GNOME= glib20 USE_QT= core dbus declarative gui network webchannel websockets \ buildtools_build .include diff --git a/www/qt5-webview/Makefile b/www/qt5-webview/Makefile index 107d884d3f20..f02190e1fbf7 100644 --- a/www/qt5-webview/Makefile +++ b/www/qt5-webview/Makefile @@ -1,26 +1,26 @@ PORTNAME= webview DISTVERSION= ${QT5_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt component for displaying web content USES= compiler:c++11-lang gl qmake:norecursive qt-dist:5 USE_GL= gl USE_QT= core declarative gui location network webchannel \ buildtools_build .include .if ${ARCH} == amd64 || ${ARCH} == i386 DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 PLIST_SUB+= WEBENGINE="" USE_QT+= webengine .else PLIST_SUB+= WEBENGINE="@comment " .endif .include diff --git a/www/webkit2-gtk3/Makefile b/www/webkit2-gtk3/Makefile index b62f0574f14c..4ea4a3bedc4a 100644 --- a/www/webkit2-gtk3/Makefile +++ b/www/webkit2-gtk3/Makefile @@ -1,120 +1,120 @@ # Created by: Michael Johnson PORTNAME= webkit DISTVERSION= 2.30.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://webkitgtk.org/releases/ PKGNAMESUFFIX= 2-gtk3 DISTNAME= ${PORTNAME}gtk-${PORTVERSION} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Opensource browser engine using the GTK+ 3 toolkit LICENSE= GPLv2 BSD2CLAUSE LICENSE_COMB= dual BUILD_DEPENDS= ${LOCALBASE}/bin/ar:devel/binutils LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwebp.so:graphics/webp \ libpng.so:graphics/png \ libsecret-1.so:security/libsecret \ libnotify.so:devel/libnotify \ libhyphen.so:textproc/hyphen \ libicutu.so:devel/icu \ libopenjp2.so:graphics/openjpeg \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libsoup-2.4.so:devel/libsoup \ libgcrypt.so:security/libgcrypt \ libtasn1.so:security/libtasn1 \ libwoff2dec.so:devel/woff2 PORTSCOUT= limitw:1,even USES= bison cmake compiler:c++14-lang gettext gl gnome gperf \ jpeg localbase:ldflags perl5 pkgconfig python:build \ sqlite tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build libxml2 libxslt USE_GL= gl egl glesv2 USE_LDCONFIG= yes USE_PERL5= build USE_RUBY= yes RUBY_NO_RUN_DEPENDS= yes USE_XORG= x11 xcomposite xdamage xext xrender xt ice BINARY_ALIAS= python=${PYTHON_CMD} CXXFLAGS+= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 CXXFLAGS_powerpc= -DENABLE_YARR_JIT=0 CXXFLAGS_powerpc64= -DENABLE_YARR_JIT=0 CMAKE_ARGS= -DPORT=GTK CMAKE_OFF= USE_LD_GOLD ${CMAKE_OFF_${ARCH}:U} \ ENABLE_GLES2 \ USE_SYSTEMD CMAKE_ON= ENABLE_MINIBROWSER \ USE_SYSTEM_MALLOC CMAKE_OFF_armv6= ENABLE_JIT CMAKE_OFF_armv7= ENABLE_JIT CMAKE_OFF_powerpc= ENABLE_JIT CMAKE_OFF_powerpc64= ENABLE_JIT CONFIGURE_ENV= XDG_CACHE_HOME=${WRKDIR} INSTALL_TARGET= install BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3 OPTIONS_DEFINE= DEBUG GEOIP GSTREAMER WAYLAND OPTIONS_DEFAULT= GEOIP GSTREAMER WAYLAND OPTIONS_SUB= yes # Building WebKit with debugging symbols requires ar and ld with # support for thin archives. Also see # https://bugs.webkit.org/show_bug.cgi?id=140384 DEBUG_CMAKE_ON= -DCMAKE_AR=${LOCALBASE}/bin/ar \ -DCMAKE_RANLIB=${LOCALBASE}/bin/ranlib \ -DCMAKE_LINKER=${LOCALBASE}/bin/ld DEBUG_CXXFLAGS= -B${LOCALBASE}/bin DEBUG_CMAKE_OFF= -DCMAKE_AR=/usr/bin/ar \ -DCMAKE_RANLIB=/usr/bin/ranlib \ -DCMAKE_LINKER=/usr/bin/ld DEBUG_CXXFLAGS_OFF= -B/usr/bin DEBUG_CFLAGS_OFF= -DNDEBUG GEOIP_CMAKE_BOOL= ENABLE_GEOLOCATION GEOIP_BUILD_DEPENDS= geoclue>=2.4.3:net/geoclue GEOIP_RUN_DEPENDS= geoclue>=2.4.3:net/geoclue GSTREAMER_USE= GSTREAMER1=bad,gl GSTREAMER_CMAKE_BOOL= ENABLE_VIDEO ENABLE_WEB_AUDIO WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND_TARGET WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libwpe-1.0.so:www/libwpe \ libWPEBackend-fdo-1.0.so:www/wpebackend-fdo post-patch: @${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \ ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp pre-configure: # .if !exists() evaluates too early before cairo has a chance to be installed @if ! pkg-config --exists cairo-egl; then \ ${ECHO_MSG} "${PKGNAME}: Needs cairo with OPENGL support enabled."; \ ${FALSE}; \ fi post-install: @${RLN} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/jsc \ ${STAGEDIR}${PREFIX}/bin/jsc-4 @${RLN} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/MiniBrowser \ ${STAGEDIR}${PREFIX}/bin/MiniBrowser-4 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver .include diff --git a/www/wt/Makefile b/www/wt/Makefile index db316da02e24..3a5c77140e96 100644 --- a/www/wt/Makefile +++ b/www/wt/Makefile @@ -1,144 +1,145 @@ # Created by: Mohammad S. Babaei PORTNAME= wt DISTVERSION= 4.5.0 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= info@babaei.net COMMENT= Widget-centric C++ library for developing web applications LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png \ libboost_system.so:devel/boost-libs \ libGraphicsMagick.so:graphics/GraphicsMagick USES= cmake compiler:c++14-lang pkgconfig ssl xorg USE_GITHUB= yes GH_ACCOUNT= emweb USE_XORG= x11 USE_LDCONFIG= yes CMAKE_ARGS= -DCONFIGDIR:STRING=${LOCALBASE}/etc/${PORTNAME} \ -DGM_PREFIX:STRING=${LOCALBASE} \ -DEXAMPLES_DESTINATION:STRING=share/examples/${PORTNAME} \ -DSSL_PREFIX:STRING=/usr \ -DZLIB_PREFIX:STRING=/usr \ -DCONNECTOR_ISAPI:BOOL=OFF \ -DWEBUSER:STRING=www \ -DWEBGROUP:STRING=www \ -DWT_WRASTERIMAGE_IMPLEMENTATION:STRING=GraphicsMagick \ -DENABLE_SSL:BOOL=ON \ -DDESTDIR:STRING=${STAGEDIR} OPTIONS_DEFINE= \ EXAMPLES \ TESTS \ RESOURCES \ HARU \ PANGO \ QT5 \ OPENGL \ LIBWTTEST \ UNWIND OPTIONS_DEFAULT= \ TESTS \ RESOURCES \ HARU \ PANGO \ OPENGL \ LIBWTTEST OPTIONS_GROUP= CONNECTOR DBO WSTRING OPTIONS_SUB= yes NO_OPTIONS_SORT= yes EXAMPLES_DESC= Install examples (implies SQLITE3 and WTHTTP) TESTS_DESC= Build Wt tests RESOURCES_DESC= Install resources directory HARU_DESC= Enable Haru Free PDF Library LIBWTTEST_DESC= Build Wt::Test for automated (integration/unit) tests UNWIND_DESC= Build Wt with stacktrace support using libunwind OPTIONS_GROUP_CONNECTOR= FCGI WTHTTP OPTIONS_DEFAULT+= FCGI WTHTTP CONNECTOR_DESC= Connector FCGI_DESC= Build FastCGI connector WTHTTP_DESC= Build Wt stand-alone httpd connector OPTIONS_GROUP_DBO= SQLITE3 POSTGRES MYSQL OPTIONS_DEFAULT+= SQLITE3 DBO_DESC= Wt::DBO SQLITE3_DESC= Build Wt with SQLite 3 support POSTGRES_DESC= Build Wt with PostgreSQL support MYSQL_DESC= Build Wt with MariaDB or MySQL support EXAMPLES_IMPLIES= SQLITE3 WTHTTP EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES INSTALL_EXAMPLES FCGI_CMAKE_BOOL= CONNECTOR_FCGI FCGI_LIB_DEPENDS= libfcgi.so:www/fcgi \ libfcgi++.so:www/fcgi FCGI_CMAKE_ON= -DFCGI_PREFIX:STRING=${LOCALBASE} HARU_CMAKE_BOOL= ENABLE_HARU HARU_LIB_DEPENDS= libhpdf.so:print/libharu HARU_CMAKE_ON= -DHARU_PREFIX:STRING=${LOCALBASE} LIBWTTEST_CMAKE_BOOL= ENABLE_LIBWTTEST MYSQL_USES= mysql MYSQL_CMAKE_BOOL= ENABLE_MYSQL MYSQL_CMAKE_ON= -DMYSQL_PREFIX:STRING=${LOCALBASE} \ -DENABLE_LIBWTDBO:BOOL=ON OPENGL_CMAKE_BOOL= ENABLE_OPENGL OPENGL_USE= GL=gl,glew OPENGL_USES= gl PANGO_CMAKE_BOOL= ENABLE_PANGO PANGO_USE= GNOME=pango PANGO_USES= gnome PANGO_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig POSTGRES_CMAKE_BOOL= ENABLE_POSTGRES POSTGRES_USES= pgsql POSTGRES_CMAKE_ON= -DPOSTGRES_PREFIX:STRING=${LOCALBASE} \ -DENABLE_LIBWTDBO:BOOL=ON QT5_CMAKE_BOOL= ENABLE_QT5 QT5_USE= qt=buildtools_build,core QT5_USES= qt:5 RESOURCES_CMAKE_BOOL= INSTALL_RESOURCES SQLITE3_CMAKE_BOOL= ENABLE_SQLITE SQLITE3_USES= sqlite:3 SQLITE3_CMAKE_ON= -DENABLE_LIBWTDBO:BOOL=ON TESTS_CMAKE_BOOL= BUILD_TESTS UNWIND_CMAKE_BOOL= ENABLE_UNWIND UNWIND_LIB_DEPENDS= libunwind.so:devel/libunwind WTHTTP_CMAKE_BOOL= CONNECTOR_HTTP PORTEXAMPLES= * .include .if ${PORT_OPTIONS:MSQLITE3} || \ ${PORT_OPTIONS:MPOSTGRES} || \ ${PORT_OPTIONS:MMYSQL} PLIST_SUB+= DBO="" .else PLIST_SUB+= DBO="@comment " .endif post-install: @${RM} ${STAGEDIR}${ETCDIR}/wt_config.xml @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/wt_config.xml \ ${STAGEDIR}${ETCDIR}/wt_config.xml.sample .include diff --git a/x11-clocks/glclock/Makefile b/x11-clocks/glclock/Makefile index 0d4e1165feb3..a6cc88cedeb9 100644 --- a/x11-clocks/glclock/Makefile +++ b/x11-clocks/glclock/Makefile @@ -1,51 +1,51 @@ # Created by: Randall Hopper PORTNAME= glclock DISTVERSION= 6.0b6.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-clocks MASTER_SITES= http://www.daionet.gr.jp/~masa/archives/ MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL spinning pocket watch demo and benchmark utility USES= gl xorg USE_XORG= xi xmu xext x11 USE_GL= gl glu glut MAKEFILE= makefile CFLAGS+= -DIMAGE_PATH="\\\"${PREFIX}/lib/X11/glclock/\\\"" PLIST_FILES= ${PROGRAMS:S,^,bin/,} ${SCRIPTS:S,^,bin/,} \ ${TEXTURES:S,^,lib/X11/glclock/,} OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPTIMIZED_CFLAGS_CFLAGS=\ -O3 -fexpensive-optimizations -ffast-math \ -fomit-frame-pointer PROGRAMS= glclock glclockmark SCRIPTS= chromeclock chromeclock_L crystalclock crystalclock_L \ glclock_L glclockmark_ALL marbleclock marbleclock_L \ metalclock metalclock_L mwclock mwclock_L woodclock \ woodclock_L TEXTURES= light.ppm marble.ppm sky.ppm wood.ppm detail.pgm \ detail2.pgm detail_b.pgm filter.pgm post-patch: @${REINPLACE_CMD} -e \ 's|g\+\+|$${CXX}| ; \ s|-O2|$${CXXFLAGS}| ; \ s|/usr/X11R6|$${LOCALBASE}|' ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e 's|glPolygonOffsetEXT|glPolygonOffset|' \ ${WRKSRC}/GLextensions.cpp do-install: ${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/glclock ${INSTALL_DATA} ${TEXTURES:S,^,${WRKSRC}/,} \ ${STAGEDIR}${PREFIX}/lib/X11/glclock .include diff --git a/x11-drivers/xf86-video-amdgpu/Makefile b/x11-drivers/xf86-video-amdgpu/Makefile index 15ec4573dd92..134aa97a9a3c 100644 --- a/x11-drivers/xf86-video-amdgpu/Makefile +++ b/x11-drivers/xf86-video-amdgpu/Makefile @@ -1,31 +1,31 @@ # this port is for future amdgpu kernel support testing. PORTNAME= xf86-video-amdgpu PORTVERSION= 19.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org amdgpu display driver PATCH_SITES= https://gitlab.freedesktop.org/xorg/driver/${PORTNAME}/-/commit/ PATCHFILES+= edcbe5f52ddfceee3d66d69bbcebbceac06b6d0d.patch:-p1 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdrm_amdgpu.so:graphics/libdrm USES= gl xorg-cat:driver USE_GL= gbm # No amdgpu kernel driver on non-x86 and PC98. ONLY_FOR_ARCHS= aarch64 i386 amd64 powerpc64le ONLY_FOR_ARCHS_REASON= KMS is required and currently only available on x86/arm64/powerpc64le CONFIGURE_ARGS+=--disable-udev PLIST_FILES= lib/xorg/modules/drivers/amdgpu_drv.so \ man/man4/amdgpu.4x.gz \ share/X11/xorg.conf.d/10-amdgpu.conf .include diff --git a/x11-drivers/xf86-video-ati/Makefile b/x11-drivers/xf86-video-ati/Makefile index 7a55fcafdb18..893396b1785e 100644 --- a/x11-drivers/xf86-video-ati/Makefile +++ b/x11-drivers/xf86-video-ati/Makefile @@ -1,32 +1,32 @@ PORTNAME= xf86-video-ati PORTVERSION= 19.1.0 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org ati display driver PATCH_SITES= https://gitlab.freedesktop.org/xorg/driver/${PORTNAME}/-/commit/ PATCHFILES+= f223035f4ffcff2a9296d1e907a5193f8e8845a3.patch:-p1 PATCHFILES+= 4d84cf438e7f1bebf0053035ef0292e9fed257d1.patch:-p1 PATCHFILES+= c0eb5dbd9c1db6b6d5b1574bcd8c584170d7ab54.patch:-p1 PATCHFILES+= 3845392426e9798c1fb2a6fc5e97bf5dfd5c443d.patch:-p1 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING # No Radeon kernel driver on non-x86. ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= KMS is required and currently only available on x86/arm64/powerpc64 LIB_DEPENDS= libpciaccess.so:devel/libpciaccess \ libdrm_radeon.so:graphics/libdrm USES= gl xorg xorg-cat:driver USE_GL= gl USE_XORG= pciaccess CONFIGURE_ARGS+=--disable-udev .include diff --git a/x11-drivers/xf86-video-glint/Makefile b/x11-drivers/xf86-video-glint/Makefile index 022f103c8b26..d948b050881c 100644 --- a/x11-drivers/xf86-video-glint/Makefile +++ b/x11-drivers/xf86-video-glint/Makefile @@ -1,12 +1,12 @@ PORTNAME= xf86-video-glint PORTVERSION= 1.2.9 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org glint display driver USES= gl xorg-cat:driver USE_GL= gl .include diff --git a/x11-drivers/xf86-video-mach64/Makefile b/x11-drivers/xf86-video-mach64/Makefile index 785cbc0680a9..379c61cafcda 100644 --- a/x11-drivers/xf86-video-mach64/Makefile +++ b/x11-drivers/xf86-video-mach64/Makefile @@ -1,12 +1,12 @@ PORTNAME= xf86-video-mach64 PORTVERSION= 6.9.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org mach64 display driver USES= gl xorg-cat:driver USE_GL= gl .include diff --git a/x11-drivers/xf86-video-mga/Makefile b/x11-drivers/xf86-video-mga/Makefile index a2fcaa88ab6e..882877e66213 100644 --- a/x11-drivers/xf86-video-mga/Makefile +++ b/x11-drivers/xf86-video-mga/Makefile @@ -1,13 +1,13 @@ PORTNAME= xf86-video-mga PORTVERSION= 2.0.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 3 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org mga display driver USES= gl xorg-cat:driver USE_GL= gl .include diff --git a/x11-drivers/xf86-video-openchrome/Makefile b/x11-drivers/xf86-video-openchrome/Makefile index 24c7f0852365..d25d25eb44ed 100644 --- a/x11-drivers/xf86-video-openchrome/Makefile +++ b/x11-drivers/xf86-video-openchrome/Makefile @@ -1,33 +1,33 @@ PORTNAME= xf86-video-openchrome PORTVERSION= 0.6.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org openChrome display driver LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdrm.so:graphics/libdrm USES= gl xorg xorg-cat:driver USE_GL= gl USE_XORG= x11 xext xv # Override pkg-config to prevent linking against libudev CONFIGURE_ENV+= LIBUDEV_LIBS="-L${LOCALBASE}" MAKE_ARGS+= drivermandir=${LOCALBASE}/man/man4 .include # XvMC is only supported by this driver on x86 .if ${ARCH} == "i386" || ${ARCH} == "amd64" USE_XORG+= xvmc PLIST_SUB+= XVMC="" .else PLIST_SUB+= XVMC="@comment " .endif .include diff --git a/x11-drivers/xf86-video-r128/Makefile b/x11-drivers/xf86-video-r128/Makefile index 6d57c3192bde..7314fae74812 100644 --- a/x11-drivers/xf86-video-r128/Makefile +++ b/x11-drivers/xf86-video-r128/Makefile @@ -1,15 +1,15 @@ PORTNAME= xf86-video-r128 PORTVERSION= 6.12.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org r128 display driver LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= gl xorg-cat:driver USE_GL= gl .include diff --git a/x11-drivers/xf86-video-savage/Makefile b/x11-drivers/xf86-video-savage/Makefile index 576428970d4e..817667ec5e78 100644 --- a/x11-drivers/xf86-video-savage/Makefile +++ b/x11-drivers/xf86-video-savage/Makefile @@ -1,18 +1,18 @@ PORTNAME= xf86-video-savage PORTVERSION= 2.3.9 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11-drivers PATCH_SITES= https://gitlab.freedesktop.org/xorg/driver/${PORTNAME}/-/commit/ PATCHFILES+= 0ece556daa8a88771b669d8104396abd9166d2d0.patch:-p1 MAINTAINER= x11@FreeBSD.org COMMENT= X.Org savage display driver LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= gl xorg-cat:driver USE_GL= gl .include diff --git a/x11-drivers/xf86-video-sunffb/Makefile b/x11-drivers/xf86-video-sunffb/Makefile index f8f46adca6f2..f0f416997d15 100644 --- a/x11-drivers/xf86-video-sunffb/Makefile +++ b/x11-drivers/xf86-video-sunffb/Makefile @@ -1,14 +1,14 @@ PORTNAME= xf86-video-sunffb PORTVERSION= 1.2.2 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org sunffb display driver USES= gl xorg-cat:driver USE_GL= gl ONLY_FOR_ARCHS= sparc64 .include diff --git a/x11-drivers/xf86-video-tdfx/Makefile b/x11-drivers/xf86-video-tdfx/Makefile index 8392d8ca31bf..9cfb8cdb7890 100644 --- a/x11-drivers/xf86-video-tdfx/Makefile +++ b/x11-drivers/xf86-video-tdfx/Makefile @@ -1,15 +1,15 @@ PORTNAME= xf86-video-tdfx PORTVERSION= 1.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org tdfx display driver LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= gl xorg-cat:driver USE_GL= gl .include diff --git a/x11-fm/fsv2/Makefile b/x11-fm/fsv2/Makefile index 3bca33fe9edd..5310400853ea 100644 --- a/x11-fm/fsv2/Makefile +++ b/x11-fm/fsv2/Makefile @@ -1,35 +1,35 @@ PORTNAME= fsv2 PORTVERSION= 1.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-fm MASTER_SITES= http://cyber.dabamos.de/pub/distfiles/ MAINTAINER= kidon@posteo.de COMMENT= 3D filesystem visualizer LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libftgl.so:graphics/ftgl USES= compiler:c++11-lang tar:bzip2 libtool gettext-runtime gl gnome \ pkgconfig USE_GNOME= gtkmm24 atkmm glibmm pangomm cairomm libsigc++20 gtk20 atk \ cairo gdkpixbuf2 USE_GL= gl glu USE_LDCONFIG= yes GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls INSTALL_TARGET= install-strip .include diff --git a/x11-fm/qtfm/Makefile b/x11-fm/qtfm/Makefile index 7874065f1181..441c1694b908 100644 --- a/x11-fm/qtfm/Makefile +++ b/x11-fm/qtfm/Makefile @@ -1,37 +1,38 @@ # Created by: Zhihao Yuan PORTNAME= qtfm PORTVERSION= 6.2.1 +PORTREVISION= 1 CATEGORIES= x11-fm MAINTAINER= jgh@FreeBSD.org COMMENT= Small, lightweight file manager based on pure Qt LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libinotify.so:devel/libinotify USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5 USE_GL= gl USE_QT= concurrent core dbus gui widgets \ buildtools_build qmake_build USE_GITHUB= yes GH_ACCOUNT= rodlie QMAKE_ARGS= MANDIR=${PREFIX}/share/man \ PREFIX=${PREFIX} \ XDGDIR=${PREFIX}/etc/xdg \ DOCDIR=${DOCSDIR} OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|docs.path.*|docs.path = $$$${DOCDIR}|' \ ${WRKSRC}/libfm/libfm.pro post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qtfm .include diff --git a/x11-fm/sushi/Makefile b/x11-fm/sushi/Makefile index 6771d6a92aee..d25912f448e4 100644 --- a/x11-fm/sushi/Makefile +++ b/x11-fm/sushi/Makefile @@ -1,44 +1,44 @@ # Created by: Gustau Perez i Querol PORTNAME= sushi PORTVERSION= 3.34.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-fm gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Tool similar to Gloobus Preview that provides quick file previews LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgcr-base-3.so:security/gcr \ libgjs.so:lang/gjs \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libclutter-gst-3.0.so:multimedia/clutter-gst3 \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ libmusicbrainz5.so:audio/libmusicbrainz5 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libclutter-1.0.so:graphics/clutter \ libjson-glib-1.0.so:devel/json-glib \ libcogl.so:graphics/cogl \ libsoup-2.4.so:devel/libsoup \ libevdocument3.so:graphics/evince \ libepoxy.so:graphics/libepoxy RUN_DEPENDS= nautilus:x11-fm/nautilus PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gl gnome localbase meson \ pkgconfig tar:xz xorg USE_CSTD= c11 INSTALLS_ICONS= yes USE_GNOME= cairo gtksourceview4 intlhack introspection USE_GL= egl USE_GSTREAMER1= yes USE_LDCONFIG= yes USE_XORG= x11 xcomposite xdamage xext xi xfixes xrandr .include diff --git a/x11-fm/tdfsb/Makefile b/x11-fm/tdfsb/Makefile index b0ae33b1220d..4d131e4634e3 100644 --- a/x11-fm/tdfsb/Makefile +++ b/x11-fm/tdfsb/Makefile @@ -1,44 +1,44 @@ # Created by: Alejandro Pulver PORTNAME= tdfsb PORTVERSION= 0.0.10 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= x11-fm MASTER_SITES= http://www.determinate.net/webdata/data/ MAINTAINER= ports@FreeBSD.org COMMENT= 3D filesystem browser LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsmpeg.so:multimedia/smpeg USES= gl pkgconfig sdl USE_GL= glut USE_SDL= image sdl PORTDOCS= README PLIST_FILES= bin/${PORTNAME} CPPFLAGS+= `${LOCALBASE}/bin/pkgconf --cflags SDL_image gl` \ `${LOCALBASE}/bin/smpeg-config --cflags` \ -I ${LOCALBASE}/include LDFLAGS+= `${LOCALBASE}/bin/pkgconf --libs SDL_image gl` \ `${LOCALBASE}/bin/smpeg-config --libs` \ -L ${LOCALBASE}/lib -lGLU -lglut -lm OPTIONS_DEFINE= DOCS do-build: (cd ${BUILD_WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} ${PORTNAME}.c \ -o ${PORTNAME} ${LDFLAGS}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/x11-servers/xarcan/Makefile b/x11-servers/xarcan/Makefile index d6b3f1d12d57..155d1bf8f2f1 100644 --- a/x11-servers/xarcan/Makefile +++ b/x11-servers/xarcan/Makefile @@ -1,52 +1,53 @@ PORTNAME= xarcan DISTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= x11-servers PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 2be9063af666.patch:-p1 # https://github.com/letoram/xarcan/pull/8 MAINTAINER= jbeich@FreeBSD.org COMMENT= X11 server as Arcan client LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/GL/internal/dri_interface.h:graphics/mesa-dri LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libarcan_shmif_ext.so:multimedia/arcan RUN_DEPENDS= xkbcomp:x11/xkbcomp \ xkeyboard-config>0:x11/xkeyboard-config USES= compiler:c11 gl meson pkgconfig xorg USE_GITHUB= yes USE_GL= gbm gl USE_XORG= pixman xau xdmcp xfont2 xkbfile xshmfence xtrans GH_ACCOUNT= letoram MESON_ARGS= -D${PORTNAME}=true \ -Dxorg=false \ -Dxnest=false \ -Dxvfb=false \ -Dxwayland=false \ -Dudev=false \ -Dudev_kms=false \ -Ddefault_font_path="${DEFAULT_FONTPATH_LIST:ts,}" PLIST_FILES= bin/Xarcan # Keep in sync with xorg-server FONTPATH_ROOT?= ${LOCALBASE}/share/fonts FONTPATHD?= ${PREFIX}/etc/X11/fontpath.d DEFAULT_FONTPATH_LIST= \ ${FONTPATH_ROOT}/misc/ \ ${FONTPATH_ROOT}/TTF/ \ ${FONTPATH_ROOT}/OTF/ \ ${FONTPATH_ROOT}/Type1/ \ ${FONTPATH_ROOT}/100dpi/ \ ${FONTPATH_ROOT}/75dpi/ \ catalogue:${FONTPATHD} do-install: # XXX Prevent Meson from installing unrelated files ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/hw/kdrive/arcan/Xarcan \ ${STAGEDIR}${PREFIX}/bin .include diff --git a/x11-servers/xephyr/Makefile b/x11-servers/xephyr/Makefile index 344fc0ec5361..edc1c1cdf25d 100644 --- a/x11-servers/xephyr/Makefile +++ b/x11-servers/xephyr/Makefile @@ -1,27 +1,28 @@ PORTNAME= xephyr +PORTREVISION= 1 COMMENT= X server from X.Org based on kdrive LICENSE= MIT LIB_DEPENDS+= libxcb-image.so:x11/xcb-util-image \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-util.so:x11/xcb-util MASTERDIR= ${.CURDIR}/../xorg-server DESCR= ${.CURDIR}/pkg-descr SLAVE_PORT= yes USE_XORG= x11 xcb CONFIGURE_ARGS+=--enable-xephyr --disable-dmx --disable-xnest --disable-xvfb \ --enable-kdrive --disable-xwayland PLIST_FILES= bin/Xephyr man/man1/Xephyr.1.gz do-install: cd ${WRKSRC}/hw/kdrive/ephyr; DESTDIR=${STAGEDIR} ${MAKE} install .include "${MASTERDIR}/Makefile" diff --git a/x11-servers/xorg-dmx/Makefile b/x11-servers/xorg-dmx/Makefile index f6c4e1542ee6..1d21bba0bee4 100644 --- a/x11-servers/xorg-dmx/Makefile +++ b/x11-servers/xorg-dmx/Makefile @@ -1,21 +1,22 @@ # Created by: lesi@FreeBSD.org PORTNAME= xorg-dmx +PORTREVISION= 1 COMMENT= Distributed Multihead X from X.Org LICENSE= MIT MASTERDIR= ${.CURDIR}/../xorg-server DESCR= ${.CURDIR}/pkg-descr SLAVE_PORT= yes USE_XORG= dmx xorgproto x11 xaw7 xext xfixes xi xmu xpm xrender xres xt xtst CONFIGURE_ARGS+=--enable-dmx --disable-xephyr --disable-xnest --disable-xvfb \ --disable-xwayland do-install: cd ${WRKSRC}/hw/dmx; DESTDIR=${STAGEDIR} ${MAKE} install .include "${MASTERDIR}/Makefile" diff --git a/x11-servers/xorg-nestserver/Makefile b/x11-servers/xorg-nestserver/Makefile index 0350b8205e8a..08afdfea4d5e 100644 --- a/x11-servers/xorg-nestserver/Makefile +++ b/x11-servers/xorg-nestserver/Makefile @@ -1,26 +1,27 @@ # Created by: Eric Anholt PORTNAME= xorg-nestserver +PORTREVISION= 1 PORTEPOCH= 2 COMMENT= Nesting X server from X.Org LICENSE= MIT MASTERDIR= ${.CURDIR}/../xorg-server DESCR= ${.CURDIR}/pkg-descr RUN_DEPENDS= xkeyboard-config>=2.5:x11/xkeyboard-config SLAVE_PORT= yes USE_XORG= x11 xext CONFIGURE_ARGS+=--enable-xnest --disable-dmx --disable-xephyr --disable-xvfb \ --disable-xwayland PLIST_FILES= bin/Xnest man/man1/Xnest.1.gz do-install: cd ${WRKSRC}/hw/xnest; DESTDIR=${STAGEDIR} ${MAKE} install .include "${MASTERDIR}/Makefile" diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile index 940a4400fb36..739da636e4a9 100644 --- a/x11-servers/xorg-server/Makefile +++ b/x11-servers/xorg-server/Makefile @@ -1,126 +1,127 @@ # Created by: Eric Anholt PORTNAME?= xorg-server PORTVERSION?= 1.20.11 +PORTREVISION?= 1 PORTEPOCH?= 1 CATEGORIES= x11-servers MASTER_SITES= XORG/individual/xserver DISTNAME= xorg-server-${PORTVERSION} MAINTAINER= x11@FreeBSD.org COMMENT?= X.Org X server and related programs LICENSE= MIT RUN_DEPENDS+= xkeyboard-config>=2.5:x11/xkeyboard-config \ xkbcomp:x11/xkbcomp SLAVE_PORT?= no OPTIONS_SUB= yes OPTIONS_DEFINE+= SUID OPTIONS_RADIO= CONF OPTIONS_RADIO_CONF= DEVD UDEV OPTIONS_DEFAULT= SUID OPTIONS_DEFAULT_FreeBSD_11= DEVD OPTIONS_DEFAULT_FreeBSD_12= UDEV OPTIONS_DEFAULT_FreeBSD_13= UDEV OPTIONS_DEFAULT_FreeBSD_14= UDEV OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} SUID_DESC= Install setuid wrapper to allow startx as non-root CONF_DESC= Backend to use for input device configuration DEVD_DESC= Use devd for autoconfiguration of input devices UDEV_DESC= Use udev via libudev-devd for autoconfiguration of input devices DEVD_CONFIGURE_ENABLE= config-devd SUID_CONFIGURE_ENABLE= suid-wrapper SUID_CONFIGURE_ON= --libexecdir=${PREFIX}/bin # set SUID_WRAPPER_DIR UDEV_CONFIGURE_ENABLE= config-udev UDEV_CONFIGURE_ON= --disable-config-udev-kms UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd .include FONTPATH_ROOT?= ${LOCALBASE}/share/fonts FONTPATHD?= ${PREFIX}/etc/X11/fontpath.d DEFAULT_FONTPATH_LIST= \ ${FONTPATH_ROOT}/misc/ \ ${FONTPATH_ROOT}/TTF/ \ ${FONTPATH_ROOT}/OTF/ \ ${FONTPATH_ROOT}/Type1/ \ ${FONTPATH_ROOT}/100dpi/ \ ${FONTPATH_ROOT}/75dpi/ \ catalogue:${FONTPATHD} DEFAULT_FONTPATH_CMD=${ECHO_CMD} ${DEFAULT_FONTPATH_LIST} | ${TR} ' ' , PLIST_SUB+= FONTPATHD="${FONTPATHD:S,^${PREFIX}/,,}" USES= compiler:c11 cpe gl gmake perl5 ssl xorg xorg-cat:xserver USE_PERL5= build USE_GL+= gl USE_XORG+= pixman xau xdmcp xfont2 xkbfile xorgproto xshmfence xtrans CONFIGURE_ARGS+=--without-doxygen --without-xmlto --without-fop \ --with-default-font-path="$$(${DEFAULT_FONTPATH_CMD})" \ --without-dtrace --disable-config-hal \ --disable-install-setuid --disable-unit-tests \ --with-fallback-input-driver=libinput INSTALL_TARGET= install-strip CPE_VENDOR= x.org .if ${SLAVE_PORT} == "no" || ${PORTNAME} == "xephyr" || ${PORTNAME} == "xwayland" LIB_DEPENDS+= libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy .else BUILD_DEPENDS+= libepoxy>0:graphics/libepoxy # only for configure .endif .if ${SLAVE_PORT} == "no" USE_GL+= gbm USE_XORG+= pciaccess CONFIGURE_ARGS+=--disable-dmx --disable-xephyr --disable-xnest --disable-xvfb \ --disable-xwayland --enable-xcsecurity SUB_FILES= pkg-install pkg-deinstall .else CONFIGURE_ARGS+= --disable-xorg OPTIONS_EXCLUDE= DEVD UDEV SUID # Set PLIST for slave ports so they only need to set PLIST_FILES PLIST= ${.CURDIR}/pkg-plist .endif .include .if ${SSL_DEFAULT} == base # The reason why I use this is cause openssl from base doesn't install a .pc file # and configure will fail trying to find it. Setting both of those variables to # a *non-empty* value by-passes the pkg-config check. CONFIGURE_ENV= SHA1_LIB="-L/usr/lib -lcrypto" SHA1_CFLAGS="-I/usr/include" .endif .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${ARCH} == "sparc64" PLIST_SUB+= SPARC64="" .else PLIST_SUB+= SPARC64="@comment " .endif post-patch: @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \ ${WRKSRC}/configure .if ${SLAVE_PORT} == "no" post-install: # Avoid conflict with nvidia-driver, move libglx.so into .xorg directory @${MKDIR} ${STAGEDIR}${PREFIX}/lib/xorg/modules/extensions/.xorg ${MV} ${STAGEDIR}${PREFIX}/lib/xorg/modules/extensions/libglx.so \ ${STAGEDIR}${PREFIX}/lib/xorg/modules/extensions/.xorg/ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/xorg.conf.d @${MKDIR} ${STAGEDIR}${FONTPATHD} @${MKDIR} ${STAGEDIR}${PREFIX}/share/X11/xorg.conf.d @${INSTALL_DATA} ${FILESDIR}/20-evdev-kbd.conf \ ${STAGEDIR}${PREFIX}/share/X11/xorg.conf.d .endif # ! SLAVE_PORT .include diff --git a/x11-servers/xorg-vfbserver/Makefile b/x11-servers/xorg-vfbserver/Makefile index 9e17b57ba35d..3967261dfb2d 100644 --- a/x11-servers/xorg-vfbserver/Makefile +++ b/x11-servers/xorg-vfbserver/Makefile @@ -1,23 +1,24 @@ # Created by: Eric Anholt PORTNAME= xorg-vfbserver +PORTREVISION= 1 PORTEPOCH= 1 COMMENT= X virtual framebuffer server from X.Org LICENSE= MIT MASTERDIR= ${.CURDIR}/../xorg-server DESCR= ${.CURDIR}/pkg-descr SLAVE_PORT= yes CONFIGURE_ARGS+=--enable-xvfb --disable-dmx --disable-xephyr --disable-xnest \ --disable-xwayland PLIST_FILES= bin/Xvfb man/man1/Xvfb.1.gz do-install: cd ${WRKSRC}/hw/vfb; DESTDIR=${STAGEDIR} ${MAKE} install .include "${MASTERDIR}/Makefile" diff --git a/x11-servers/xwayland/Makefile b/x11-servers/xwayland/Makefile index dc462286a05b..4a02741db209 100644 --- a/x11-servers/xwayland/Makefile +++ b/x11-servers/xwayland/Makefile @@ -1,35 +1,36 @@ PORTNAME= xwayland +PORTREVISION= 1 COMMENT= X Clients under Wayland LICENSE= MIT BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/wayland-protocols.pc:graphics/wayland-protocols \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libinput.so:x11/libinput CONFLICTS_INSTALL= ${PORTNAME}-devel MASTERDIR= ${.CURDIR}/../xorg-server DESCR= ${.CURDIR}/pkg-descr SLAVE_PORT= yes USE_XORG= x11 xext USE_GL+= egl gbm CONFIGURE_ARGS+=--disable-dmx --disable-xephyr --disable-xnest --disable-xvfb \ --enable-xwayland --with-default-xkb-ruleset=evdev PLIST_FILES= bin/Xwayland OPTIONS_DEFINE= NVIDIA NVIDIA_DESC= EGLStream support for glamor on Xwayland NVIDIA_BUILD_DEPENDS= egl-wayland>0:graphics/egl-wayland NVIDIA_CONFIGURE_ENABLE=xwayland-eglstream do-install: cd ${WRKSRC}/hw/xwayland; DESTDIR=${STAGEDIR} ${MAKE_CMD} install .include "${MASTERDIR}/Makefile" diff --git a/x11-themes/Kvantum/Makefile b/x11-themes/Kvantum/Makefile index 875cf9fd6d20..63d8d570d974 100644 --- a/x11-themes/Kvantum/Makefile +++ b/x11-themes/Kvantum/Makefile @@ -1,27 +1,28 @@ PORTNAME= Kvantum DISTVERSIONPREFIX= V DISTVERSION= 0.20.0 +PORTREVISION= 1 CATEGORIES= x11-themes PKGNAMESUFFIX= -qt5 MAINTAINER= rigoletto@FreeBSD.org COMMENT= SVG-based theme engine for Qt, KDE and LXQt LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gl kde:5 qmake qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= tsujan USE_GL= gl USE_LDCONFIG= yes USE_KDE= windowsystem USE_QT= core gui svg widgets x11extras \ buildtools_build linguisttools_build USE_XORG= x11 xext WRKSRC_SUBDIR= ${PORTNAME} .include diff --git a/x11-themes/qgnomeplatform/Makefile b/x11-themes/qgnomeplatform/Makefile index d8786912dc2d..103138069be1 100644 --- a/x11-themes/qgnomeplatform/Makefile +++ b/x11-themes/qgnomeplatform/Makefile @@ -1,25 +1,26 @@ PORTNAME= qgnomeplatform DISTVERSION= 0.6.1-8 DISTVERSIONSUFFIX= -g53d7924 +PORTREVISION= 1 CATEGORIES= x11-themes MAINTAINER= greg@unrelenting.technology COMMENT= Qt 5 Platform Theme designed to fit into GNOME LICENSE= LGPL21 LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libharfbuzz.so:print/harfbuzz USES= compiler:c++11-lang gl gnome pkgconfig qmake:outsource qt:5 xorg USE_GL= gl USE_GNOME= gtk30 cairo gdkpixbuf2 USE_QT= buildtools_build core gui widgets dbus wayland USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= FedoraQt GH_PROJECT= QGnomePlatform .include diff --git a/x11-themes/qt5-style-plugins/Makefile b/x11-themes/qt5-style-plugins/Makefile index a77b93a5201a..49a3a296b26f 100644 --- a/x11-themes/qt5-style-plugins/Makefile +++ b/x11-themes/qt5-style-plugins/Makefile @@ -1,29 +1,29 @@ # Created by: Marie Loise Nolden PORTNAME= qt5-style-plugins DISTVERSIONPREFIX= v DISTVERSION= 5.0.0-23 DISTVERSIONSUFFIX= -g335dbe -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= x11-themes DIST_SUBDIR= KDE/Qt/addons MAINTAINER= kde@FreeBSD.org COMMENT= Additional Styles for Qt 5 and KDE LICENSE= LGPL21 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= compiler:c++11-lang gettext-runtime gl gnome pkgconfig qmake \ qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= qt GH_PROJECT= qtstyleplugins USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango USE_QT= core dbus gui widgets buildtools_build USE_GL= gl USE_XORG= x11 xext .include diff --git a/x11-toolkits/SoXt/Makefile b/x11-toolkits/SoXt/Makefile index cd698d994191..c4768a49fece 100644 --- a/x11-toolkits/SoXt/Makefile +++ b/x11-toolkits/SoXt/Makefile @@ -1,28 +1,28 @@ # Created by: roland.jesse@gmx.net PORTNAME= SoXt PORTVERSION= 1.3.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11-toolkits MASTER_SITES= https://bitbucket.org/Coin3D/coin/downloads/ MAINTAINER= bofh@FreeBSD.org COMMENT= GUI binding for using Open Inventor with Xt/Motif LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.GPL LIB_DEPENDS= libCoin.so:graphics/Coin USES= gl libtool motif pathfix perl5 shebangfix xorg USE_GL= gl USE_PERL5= build SHEBANG_FILES= cfg/doxy4win.pl USE_XORG= xi GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-pthread=yes --with-coin=${LOCALBASE} # avoid renaming of soxt-config and soxt-config.1 USE_LDCONFIG= yes INSTALL_TARGET= install-strip .include diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile index 0f4c2d49c2f9..0d8907edadf8 100644 --- a/x11-toolkits/fltk/Makefile +++ b/x11-toolkits/fltk/Makefile @@ -1,54 +1,55 @@ # Created by: Dima Sivachenko PORTNAME= fltk PORTVERSION= 1.3.5 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= https://www.fltk.org/pub/${PORTNAME}/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= danfe@FreeBSD.org COMMENT= Cross-platform C++ graphical user interface toolkit LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libfontconfig.so:x11-fonts/fontconfig USES= gl jpeg localbase pkgconfig tar:bz2 xorg USE_XORG= x11 xcursor xext xfixes xft xinerama xrender USE_GL= gl glu USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared CONFIGURE_ENV= NROFF=echo WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES post-extract: @${MV} ${WRKSRC}/test/help.cxx ${WRKSRC}/test/help_dialog.cxx @${MV} ${WRKSRC}/test/help-test.html ${WRKSRC}/test/help_dialog.html post-patch: .SILENT prefix="${PREFIX}" ; plength=$$(($${#prefix}+10)) ; \ ${REINPLACE_CMD} -e "\|/etc/fltk|{s||${PREFIX}&|;s|10|$${plength}|;}" \ ${WRKSRC}/src/Fl_Preferences.cxx ${REINPLACE_CMD} -e 's,$$(docdir)/examples,${EXAMPLESDIR},' \ ${WRKSRC}/test/Makefile ${REINPLACE_CMD} -e '/^INSTALL_BIN/s,-m,${STRIP} &, ; \ s,^\.SILENT,#&,' ${WRKSRC}/makeinclude.in ${REINPLACE_CMD} -E \ 's,(.*)LDFLAGS(.*)LINKSHARED(.*),\1LINKSHARED\2LDFLAGS\3,' \ ${WRKSRC}/fluid/Makefile post-install: .for x in fltk fltk_forms fltk_gl fltk_images ${LN} -sf lib${x}.so.${PORTVERSION:R} \ ${STAGEDIR}${PREFIX}/lib/lib${x}.so.1 .endfor .include diff --git a/x11-toolkits/fox14/Makefile b/x11-toolkits/fox14/Makefile index 189c3b846e6c..4c7cc0c810d8 100644 --- a/x11-toolkits/fox14/Makefile +++ b/x11-toolkits/fox14/Makefile @@ -1,132 +1,132 @@ # Created by: Will Andrews PORTNAME= fox PORTVERSION= 1.4.35 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= x11-toolkits MASTER_SITES= http://www.fox-toolkit.org/ftp/ \ ftp://ftp.fox-toolkit.org/pub/ \ http://fresh.t-systems-sfr.com/unix/src/misc/ PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} MAINTAINER= ports@FreeBSD.org COMMENT= Fast and extensive C++ GUI toolkit LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff MAJORVER= ${PORTVERSION:R} SHVER= ${PORTVERSION:S/${MAJORVER}.//} PLIST_SUB+= MAJORVER=${MAJORVER} SHVER=${SHVER} USES= gl jpeg libtool USE_GL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-opengl=yes \ --bindir=${PREFIX}/bin/${PORTNAME}-${MAJORVER} \ --enable-threadsafe USE_LDCONFIG= yes PORTDOCS= * CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= OPTIMIZED_CFLAGS CUPS DEBUG APPS PROFILE SHM XFT DOCS OPTIONS_DEFAULT=SHM XFT APPS_DESC= Install sample applications SHM_DESC= Shared Memory support .include ## ## Additional Options ## # .if ${PORT_OPTIONS:MXFT} CONFIGURE_ARGS+=--with-xft=yes USES+= xorg USE_XORG+= xft CPPFLAGS+= `freetype-config --cflags` LDFLAGS+= `freetype-config --libs` .else CONFIGURE_ARGS+= --with-xft=no .endif # .if ${PORT_OPTIONS:MSHM} CONFIGURE_ARGS+= --with-xshm=yes .else CONFIGURE_ARGS+= --with-xshm=no .endif # .if ${PORT_OPTIONS:MCUPS} LIB_DEPENDS+= libcups.so:print/cups CONFIGURE_ARGS+= --enable-cups .else CONFIGURE_ARGS+= --disable-cups .endif # .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-debug .else CONFIGURE_ARGS+= --enable-release .endif # .if ${PORT_OPTIONS:MAPPS} PLIST_SUB+= APPS="" .else PLIST_SUB+= APPS="@comment " .endif # .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} # turn distribution-recommended optimization flags back on CXXFLAGS+= -O2 -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations .endif # .if ${PORT_OPTIONS:MPROFILE} CONFIGURE_ARGS+= --with-profiling=gprof .endif post-patch: # Rename man pages as in manpage.1 --> manpage-14.1 to avoid # conflicts with fox16 and fox17 files=$$(${FIND} ${WRKSRC} -name *.1); \ for f in $$files; do \ ${MV} $$f `echo $$f | ${SED} -e 's|\.1|-14.1|'`; \ done; ${FIND} ${WRKSRC} -name Makefile.am -o -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -i '' -e '/man_MANS/s|\.1|-14.1|g' # CXXFLAGS safeness @${REINPLACE_CMD} -E -e \ 's|-O2|${CXXFLAGS}|g ; \ s|-lc_r|-lpthread|g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} # doc prefix safeness @${REINPLACE_CMD} -E -e \ 's|^(htmldir).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -E -e \ 's|^(artdir).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/art/Makefile.in @${REINPLACE_CMD} -E -e \ 's|^(screenshotsdir).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/screenshots/Makefile.in .if ${PORT_OPTIONS:MDOCS} == "" @${REINPLACE_CMD} -e \ '/^SUBDIRS/s/ doc//' \ ${WRKSRC}/Makefile.in .endif .if ${PORT_OPTIONS:MAPPS} == "" @${REINPLACE_CMD} -E -e \ 's,^(SUBDIRS.*)adie,\1,; \ s,^(SUBDIRS.*)pathfinder,\1,; \ s,^(SUBDIRS.*)calculator,\1,' \ ${WRKSRC}/Makefile.in .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so .include diff --git a/x11-toolkits/fox16/Makefile b/x11-toolkits/fox16/Makefile index 60096bd1bc52..2d8e79e0aad9 100644 --- a/x11-toolkits/fox16/Makefile +++ b/x11-toolkits/fox16/Makefile @@ -1,128 +1,129 @@ # Created by: Alexander Novitsky PORTNAME= fox PORTVERSION= 1.6.57 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= http://fox-toolkit.org/ftp/ \ ftp://ftp.fox-toolkit.org/pub/ PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} MAINTAINER= jhale@FreeBSD.org COMMENT= Fast and extensive C++ GUI toolkit -- ver.1.6 LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= compiler:features gl jpeg libtool pathfix xorg USE_GL= gl glu USE_XORG= x11 xext xfixes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-opengl --with-x --with-xim USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include -fPIC LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= MAJORVER="${MAJORVER}" PORTDOCS= * OPTIONS_DEFINE= APPS DEBUG DOCS OPTIMIZED_CFLAGS PROFILE SHM \ XCURSOR XFT XINPUT XRANDR XRENDER OPTIONS_DEFAULT= SHM XCURSOR XFT XINPUT XRANDR XRENDER OPTIONS_SUB= yes APPS_DESC= Install sample applications DEBUG_CONFIGURE_ON= --enable-debug DEBUG_CONFIGURE_OFF= --enable-release PROFILE_CONFIGURE_ON= --with-profiling=gprof SHM_DESC= Shared Memory support SHM_CONFIGURE_ON= --with-xshm=yes SHM_CONFIGURE_OFF= --with-xshm=no XCURSOR_USES= xorg XCURSOR_USE= xorg=xcursor XCURSOR_CONFIGURE_ON= --with-xcursor=yes XCURSOR_CONFIGURE_OFF= --with-xcursor=no XFT_USES= xorg XFT_USE= xorg=xft XFT_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig XFT_CONFIGURE_ON= --with-xft=yes XFT_CONFIGURE_OFF= --with-xft=no XFT_CPPFLAGS= $$(freetype-config --cflags) XFT_LDFLAGS= $$(freetype-config --libs) XFT_IMPLIES= XRENDER XINPUT_DESC= X Input extension library support XINPUT_USES= xorg XINPUT_USE= xorg=xi XINPUT_CONFIGURE_ON= --with-xinput=yes XINPUT_CONFIGURE_OFF= --with-xinput=no XRANDR_USES= xorg XRANDR_USE= xorg=xrandr XRANDR_CONFIGURE_ON= --with-xrandr=yes XRANDR_CONFIGURE_OFF= --with-xrandr=no XRENDER_DESC= X Render extension library support XRENDER_USES= xorg XRENDER_USE= xorg=xrender XRENDER_CONFIGURE_ON= --with-xrender=yes XRENDER_CONFIGURE_OFF= --with-xrender=no MAJORVER= ${PORTVERSION:R} .include .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CXXFLAGS+= -ffast-math . if !${PORT_OPTIONS:MPROFILE} CXXFLAGS+= -fomit-frame-pointer . endif . if ${COMPILER_TYPE} == "gcc" CXXFLAGS+= -fexpensive-optimizations -finline-functions . endif .endif post-patch: # Rename man pages as in manpage.1 --> manpage-16.1 to avoid # conflicts with fox14 and fox17 @files=$$(${FIND} ${WRKSRC} -name *.1); \ for f in $$files; do \ ${MV} $$f `${ECHO_CMD} $$f | ${SED} -e 's|\.1|-16.1|'`; \ done; @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ '/man_MANS/s|\.1|-16.1|g' @${REINPLACE_CMD} -e \ '/^Libs:/s|$$| -pthread|; \ s|"||g' ${WRKSRC}/fox.pc.in # CXXFLAGS safeness @${REINPLACE_CMD} -e \ 's|^\(CXXFLAGS=""\)|#\1|; \ /CXXFLAGS/s|-O2 ||; \ /CXXFLAGS/s|\(-Wuninitialized\).*"|\1"|; \ /LDFLAGS/s|-s ||' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} # doc prefix safeness @${REINPLACE_CMD} -e \ 's|^\(htmldir\).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e \ 's|^\(artdir\).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/art/Makefile.in @${REINPLACE_CMD} -e \ 's|^\(screenshotsdir\).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/screenshots/Makefile.in post-patch-APPS-off: @${REINPLACE_CMD} -e \ 's|^\(SUBDIRS.*\)adie|\1|; \ s|^\(SUBDIRS.*\)pathfinder|\1|; \ s|^\(SUBDIRS.*\)calculator|\1|' \ ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libCHART-${MAJORVER}.so.[0-9].* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libFOX-${MAJORVER}.so.[0-9].* .include diff --git a/x11-toolkits/fox17/Makefile b/x11-toolkits/fox17/Makefile index ce82e8131c82..3c3690f5789b 100644 --- a/x11-toolkits/fox17/Makefile +++ b/x11-toolkits/fox17/Makefile @@ -1,107 +1,108 @@ # Created by: gahr PORTNAME= fox PORTVERSION= 1.7.77 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= http://fox-toolkit.org/ftp/ \ ftp://ftp.fox-toolkit.org/pub/ PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} MAINTAINER= jhale@FreeBSD.org COMMENT= Fast and extensive C++ GUI toolkit (development version) LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc= missing __sync_bool_compare_and_swap_8() LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c++11-lib gl libtool localbase pathfix xorg USE_GL= gl glu USE_XORG= ice sm x11 xcursor xext xfixes xft xi xrandr xrender USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-freetype-include="`freetype-config --cflags | sed -e 's|^-I||'`" \ --with-freetype-library="`freetype-config --libs | sed -e 's|^-L||'`" \ --with-opengl=yes \ --with-xim \ --enable-png \ --bindir=${PREFIX}/bin/${PORTNAME}-${MAJORVER} INSTALL_TARGET= install-strip CPPFLAGS+= -D__BSD_VISIBLE -D__EXT1_VISIBLE -D_XOPEN_SOURCE=700 MAJORVER= ${PORTVERSION:R} PLIST_SUB+= MAJORVER=${MAJORVER} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${MAJORVER} PORTDOCS= * OPTIONS_DEFINE= DEBUG DOCS EXAMPLES OPTIMIZED_CFLAGS PROFILE TEST OPTIONS_GROUP= IMGFMTS OPTIONS_GROUP_IMGFMTS= JPEG OPENJPEG TIFF WEBP OPTIONS_DEFAULT= JPEG OPENJPEG TIFF WEBP IMGFMTS_DESC= Image formats DEBUG_CONFIGURE_ENABLE= debug DEBUG_CXXFLAGS_OFF= -DNDEBUG JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpeg OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 OPENJPEG_CONFIGURE_ENABLE= jp2 PROFILE_CONFIGURE_ON= --with-profiling=gprof TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_ENABLE= tiff WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= webp .include .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CXXFLAGS+= -O2 -ffast-math . if !${PORT_OPTIONS:MPROFILE} CXXFLAGS+= -fomit-frame-pointer . endif . if ${CHOSEN_COMPILER_TYPE} == gcc CXXFLAGS+= -fexpensive-optimizations -finline-functions . endif .endif post-patch: # Rename man pages as in manpage.1 --> manpage-17.1 to avoid # conflicts with fox14 and fox16 @files=$$(${FIND} ${WRKSRC} -name *.1); \ for f in $$files; do \ ${MV} $$f `${ECHO_CMD} $$f | ${SED} -e 's|\.1|-17.1|'`; \ done; @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ '/man_MANS/s|\.1|-17.1|g' @${REINPLACE_CMD} -e '/^Libs:/s|$$| -pthread|; s|"||g' ${WRKSRC}/fox17.pc.in # CXXFLAGS safeness @${REINPLACE_CMD} -e \ 's|^\(CXXFLAGS=""\)|#\1|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} post-patch-EXAMPLES-off: @${REINPLACE_CMD} -e \ 's|^\(SUBDIRS.*\)adie|\1|; \ s|^\(SUBDIRS.*\)pathfinder|\1|; \ s|^\(SUBDIRS.*\)shutterbug|\1|; \ s|^\(SUBDIRS.*\)calculator|\1|' \ ${WRKSRC}/Makefile.in post-patch-TEST-off: @${REINPLACE_CMD} -e \ 's|^\(SUBDIRS.*\)glviewer|\1|; \ s|^\(SUBDIRS.*\)tests|\1|' \ ${WRKSRC}/Makefile.in .include diff --git a/x11-toolkits/gnustep-back/Makefile b/x11-toolkits/gnustep-back/Makefile index b1280dcb0839..9f7ce2f3cf74 100644 --- a/x11-toolkits/gnustep-back/Makefile +++ b/x11-toolkits/gnustep-back/Makefile @@ -1,57 +1,58 @@ PORTNAME= gnustep-back DISTVERSIONPREFIX= back- DISTVERSION= 0_28_0 +PORTREVISION= 1 CATEGORIES= x11-toolkits gnustep MAINTAINER= ports@FreeBSD.org COMMENT= GNUstep GUI backend LICENSE_COMB= multi LICENSE= GPLv3 LGPL3 LIB_DEPENDS+= libgif.so:graphics/giflib \ libtiff.so:graphics/tiff \ libXft.so:x11-fonts/libXft \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libcairo.so:graphics/cairo USES= gl gnustep jpeg pkgconfig xorg USE_GNUSTEP= base gui build USE_XORG= xft xrender xmu xext x11 xcursor xfixes xmu USE_GL= gl USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES} USE_GITHUB= yes GH_ACCOUNT= gnustep GH_PROJECT= libs-back GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-tiff-library=${LOCALBASE}/lib \ --with-tiff-include=${LOCALBASE}/include \ --with-jpeg-library=${LOCALBASE}/lib \ --with-jpeg-include=${LOCALBASE}/include \ --with-gif-library=${LOCALBASE}/lib \ --with-gif-include=${LOCALBASE}/include \ --enable-graphics=cairo \ --disable-glitz # LLD 7 creates a library that does not work with FreeBSD (or OpenBSD) rtld - # it loads apparently without errors, but the global constructors are not # called. It also appears to corrupt some internal state, as throwing an # exception causes a crash inside rtld. LLD_UNSAFE= yes MAKE_FLAGS+= OPTFLAG="${CFLAGS} -I${LOCALBASE}/include" BACKVERSION= ${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1} CFLAGS+= -I${LOCALBASE}/include/freetype2 PLIST_SUB+= BACK=back-${BACKVERSION} PLIST_SUB+= BACKVERSION=${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1} pre-configure: .for file in config.guess config.sub install-sh @${CP} ${GNUSTEP_PREFIX}/System/Library/Makefiles/${file} ${WRKSRC} .endfor .include diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index 36c2deb6d9f4..6f0cfb7a6193 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -1,114 +1,115 @@ # Created by: Vanilla I. Shu # Please keep gtk30 in sync with the following x11-themes ports: # adwaita-icon-theme, gnome-themes-standard and mate-themes PORTNAME= gtk PORTVERSION= 3.24.29 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= GNOME/sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} PKGNAMESUFFIX= 3 DISTNAME= gtk+-${PORTVERSION} DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Gimp Toolkit for X11 GUI (current stable version) LICENSE= LGPL20 PORTSCOUT= limit:1,even LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS+= hicolor-icon-theme>=0:misc/hicolor-icon-theme \ adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme USE_PERL5= build USE_LDCONFIG= yes GNU_CONFIGURE= yes USE_GNOME= atk cairo gdkpixbuf2 introspection:build pango \ librsvg2:run USES= compiler:c11 gettext gmake gnome libtool localbase \ pathfix perl5 pkgconfig tar:xz CONFIGURE_ARGS= --enable-introspection CPPFLAGS+= -fno-omit-frame-pointer INSTALLS_ICONS= yes INSTALL_TARGET= install-strip LIBVERSION= 0.2404.25 PLIST_SUB+= LIBVERSION=${LIBVERSION} GLIB_SCHEMAS= org.gtk.Demo.gschema.xml \ org.gtk.Settings.ColorChooser.gschema.xml \ org.gtk.Settings.Debug.gschema.xml \ org.gtk.Settings.EmojiChooser.gschema.xml \ org.gtk.Settings.FileChooser.gschema.xml OPTIONS_DEFINE= ATK_BRIDGE CUPS CLOUDPRINT COLORD DEBUG BROADWAY WAYLAND X11 OPTIONS_DEFAULT=ATK_BRIDGE CUPS COLORD BROADWAY WAYLAND X11 OPTIONS_SUB= yes ATK_BRIDGE_DESC=AT-SPI ATK bridge support (requires X11) ATK_BRIDGE_CONFIGURE_WITH= atk-bridge ATK_BRIDGE_LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-atk ATK_BRIDGE_IMPLIES= X11 BROADWAY_DESC= Enable GDK Broadway backend for showing GTK+ in the webbrowser using HTML5 and web sockets. BROADWAY_CONFIGURE_ENABLE= broadway-backend COLORD_DESC= Color profile support COLORD_LIB_DEPENDS= libcolord.so:graphics/colord COLORD_CONFIGURE_ENABLE=colord CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CONFIGURE_ENABLE= cups CLOUDPRINT_DESC= Cloud printing support CLOUDPRINT_CONFIGURE_ENABLE= cloudprint CLOUDPRINT_USE= gnome=libxml2 CLOUDPRINT_LIB_DEPENDS= librest-0.7.so:devel/librest \ libsoup-2.4.so:devel/libsoup \ libjson-glib-1.0.so:devel/json-glib # don't explicitly disable debug, this causes segfaults. See ports r437293 DEBUG_CONFIGURE_ON= --enable-debug=yes WAYLAND_DESC= GDK Wayland backend WAYLAND_CONFIGURE_ENABLE= wayland-backend WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ wayland-protocols>=0:graphics/wayland-protocols WAYLAND_USES= gl WAYLAND_USE= GL=egl X11_DESC= GDK X11 backend X11_CONFIGURE_ENABLE= x11-backend X11_USES= xorg X11_USE= XORG=x11,xcomposite,xcursor,xdamage,xext,xfixes,xi,xinerama,xrandr,xrender post-patch: @${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \ ${WRKSRC}/configure pre-configure-X11-on: # .if !exists() evaluates too early before cairo has a chance to be installed @if ! pkg-config --exists cairo-xlib; then \ ${ECHO_MSG} "${PKGNAME}: Needs cairo with X11 support enabled."; \ ${FALSE}; \ fi pre-build: @${RM} -r ${WRKSRC}/docs/gtk.info* post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-3.0/modules @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-3.0/${GTK3_VERSION}/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-3.0/${GTK3_VERSION}/loaders ${INSTALL_MAN} ${WRKSRC}/docs/reference/gtk/gtk-query-immodules-3.0.1 \ ${STAGEDIR}${PREFIX}/man/man1 .include diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile index c4799a34b91b..356d35950f92 100644 --- a/x11-toolkits/gtk40/Makefile +++ b/x11-toolkits/gtk40/Makefile @@ -1,114 +1,114 @@ PORTNAME= gtk PORTVERSION= 4.2.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-toolkits MASTER_SITES= GNOME PKGNAMESUFFIX= 4 DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Gimp Toolkit for X11 GUI (current stable version) LICENSE= LGPL20 PORTSCOUT= limit:1,even BUILD_DEPENDS= sassc>0:textproc/sassc LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= hicolor-icon-theme>=0:misc/hicolor-icon-theme \ adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme USES= compiler:c11 gettext gnome localbase meson ninja \ pathfix perl5 python:3.7+ pkgconfig tar:xz USE_LDCONFIG= yes USE_PERL5= build USE_GNOME= atk cairo gdkpixbuf2 introspection:build pango \ librsvg2:run LDFLAGS+= -lexecinfo INSTALLS_ICONS= yes BINARY_ALIAS= python3=${PYTHON_CMD} LIBVERSION= 0.2404.23 PLIST_SUB+= LIBVERSION=${LIBVERSION} GLIB_SCHEMAS= org.gtk.Demo4.gschema.xml \ org.gtk.gtk4.Settings.ColorChooser.gschema.xml \ org.gtk.gtk4.Settings.Debug.gschema.xml \ org.gtk.gtk4.Settings.EmojiChooser.gschema.xml \ org.gtk.gtk4.Settings.FileChooser.gschema.xml .if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld # undefined reference to symbol `g_module_symbol' (try adding -lgmodule-2.0) LDFLAGS+= -fuse-ld=lld .endif OPTIONS_DEFINE= CUPS CLOUDPRINT COLORD DEBUG BROADWAY FFMPEG \ GSTREAMER VULKAN WAYLAND X11 OPTIONS_DEFAULT=CUPS COLORD BROADWAY VULKAN WAYLAND X11 OPTIONS_SUB= yes BROADWAY_DESC= Enable GDK Broadway backend for showing GTK+ in the webbrowser using HTML5 and web sockets. BROADWAY_MESON_TRUE= broadway-backend COLORD_DESC= Color profile support COLORD_LIB_DEPENDS= libcolord.so:graphics/colord COLORD_MESON_ENABLED= colord CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_MESON_ENABLED= cups CLOUDPRINT_DESC= Cloud printing support CLOUDPRINT_MESON_ENABLED= cloudprint CLOUDPRINT_USE= gnome=libxml2 CLOUDPRINT_LIB_DEPENDS= librest-0.7.so:devel/librest \ libsoup-2.4.so:devel/libsoup \ libjson-glib-1.0.so:devel/json-glib FFMPEG_DESC= FFmpeg multimedia backend FFMPEG_MESON_ENABLED= media-ffmpeg FFMPEG_RUN_DEPENDS= ffmpeg>0:multimedia/ffmpeg FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg GSTREAMER_DESC= GStreamer multimedia backend GSTREAMER_MESON_ENABLED=media-gstreamer GSTREAMER_USE= GSTREAMER1=bad,gl VULKAN_DESC= GDK Vulkan renderer backend VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_MESON_ENABLED= vulkan WAYLAND_DESC= GDK Wayland backend WAYLAND_MESON_TRUE= wayland-backend WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ wayland-protocols>=0:graphics/wayland-protocols WAYLAND_USES= gl WAYLAND_USE= GL=egl X11_DESC= GDK X11 backend X11_MESON_TRUE= x11-backend X11_USES= xorg X11_USE= XORG=x11,xcomposite,xcursor,xdamage,xext,xfixes,xi,xinerama,xrandr,xrender pre-build: @${RM} -r ${WRKSRC}/docs/gtk.info* post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/loaders @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/modules @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/loaders @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/modules .include diff --git a/x11-toolkits/gtkada3/Makefile b/x11-toolkits/gtkada3/Makefile index 51f913532501..72334f295fe6 100644 --- a/x11-toolkits/gtkada3/Makefile +++ b/x11-toolkits/gtkada3/Makefile @@ -1,73 +1,73 @@ # Created by: John Marino PORTNAME= gtkada PORTVERSION= 3.14.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 3 MAINTAINER= ports@FreeBSD.org COMMENT= Ada graphical toolkit based on Gtk3 components LICENSE= GPLv3 BUILD_DEPENDS= gprbuild:devel/gprbuild LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ libdrm.so:graphics/libdrm \ libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libepoxy.so:graphics/libepoxy \ libpng.so:graphics/png \ libffi.so:devel/libffi \ libpcre.so:devel/pcre \ libexpat.so:textproc/expat2 \ libatspi.so:accessibility/at-spi2-core \ libgraphite2.so:graphics/graphite2 \ libdbus-1.so:devel/dbus USES= ada:run gl gmake gnome iconv:wchar_t perl5 pkgconfig xorg USE_PERL5= build USE_GNOME= gtk30 cairo gdkpixbuf2 USE_XORG= ice sm xxf86vm xcb xdmcp xau x11 pixman xfixes xdamage \ xcomposite xi xext xcursor xrandr xinerama xrender USE_GL= gl egl gbm glu USE_GITHUB= yes GH_ACCOUNT= AdaCore GH_PROJECT= gtkada GH_TAGNAME= 1688bb8 GNU_CONFIGURE= yes ALL_TARGET= tools static relocatable PORTDOCS= gtkada_ug LDFLAGS+= -L${LOCALBASE}/lib MAKE_ARGS= PROCESSORS=${MAKE_JOBS_NUMBER} CONFLICTS_INSTALL= gtkada-* CONFIGURE_ARGS+= --with-GL=auto \ --with-GL-prefix=${PREFIX} \ --enable-shared \ --enable-static OPTIONS_DEFINE= DOCS NLS DEBUG DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx DOCS_ALL_TARGET= docs NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext DEBUG_CONFIGURE_ON= --enable-build=Debug DEBUG_CONFIGURE_OFF= --enable-build=Production do-build: # This target is recreated because -j cannot be set, but # MAKE_JOBS_SAFE=yes is needed for PROCESSORS value cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gtkada-dialog ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/gtkada/gtkada_ug/_sources .include diff --git a/x11-toolkits/gtkglarea2/Makefile b/x11-toolkits/gtkglarea2/Makefile index e9726734a627..820317eb2e04 100644 --- a/x11-toolkits/gtkglarea2/Makefile +++ b/x11-toolkits/gtkglarea2/Makefile @@ -1,30 +1,30 @@ # Created by: Marc Recht PORTNAME= gtkglarea PORTVERSION= 2.0.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= x11-toolkits MASTER_SITES= GNOME DISTNAME= gtkglarea-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL widget for the GTK+2 GUI toolkit LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c++11-lang gl gnome libtool:keepla pathfix pkgconfig tar:bzip2 USE_GNOME= cairo gdkpixbuf2 gtk20 USE_GL= gl glu USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-lib-GL INSTALL_TARGET= install-strip LIBS+= -lm .include diff --git a/x11-toolkits/gtkglext/Makefile b/x11-toolkits/gtkglext/Makefile index 3c741de6b090..4f23d2f53394 100644 --- a/x11-toolkits/gtkglext/Makefile +++ b/x11-toolkits/gtkglext/Makefile @@ -1,37 +1,37 @@ # Created by: Kimura Fuyuki PORTNAME= gtkglext PORTVERSION= 1.2.0 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= x11-toolkits MASTER_SITES= SF DIST_SUBDIR= gnome2 MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL extension to GTK+ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB GNU_CONFIGURE= yes USES= gettext gl gmake gnome iconv libtool pathfix pkgconfig \ tar:bzip2 xorg USE_GL= glu USE_GNOME= gtk20 pangox-compat USE_LDCONFIG= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ '/^SUBDIRS/s|docs||' ${WRKSRC}/Makefile.in @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-DGTK_DISABLE_DEPRECATED||g ; \ s|-DGDK_DISABLE_DEPRECATED||g' post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/reference/gtkglext/html/* ${STAGEDIR}${DOCSDIR}/ .include diff --git a/x11-toolkits/irrlicht/Makefile b/x11-toolkits/irrlicht/Makefile index 440cd991a79e..d17876824258 100644 --- a/x11-toolkits/irrlicht/Makefile +++ b/x11-toolkits/irrlicht/Makefile @@ -1,52 +1,52 @@ # Created by: Simon Barner PORTNAME= irrlicht PORTVERSION= 1.8.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits graphics MASTER_SITES= SF/${PORTNAME}/Irrlicht%20SDK/${PORTVERSION:R}/${PORTVERSION}/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= High performance realtime 3D engine LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/readme.txt LIB_DEPENDS= libpng.so:graphics/png DOS2UNIX_GLOB= Makefile *.cpp *.h *.txt USES= alias dos2unix gl gmake jpeg zip xorg USE_GL= gl USE_XORG= x11 xxf86vm USE_LDCONFIG= yes ALL_TARGET= sharedlib PLIST_SUB= PORTVERSION=${PORTVERSION} SOVERSION=${PORTVERSION:R} SUB_FILES= pkg-message BUILD_WRKSRC= ${WRKSRC}/source/Irrlicht INSTALL_WRKSRC= ${BUILD_WRKSRC} EXAMPLEDIRS= 01.HelloWorld 02.Quake3Map 03.CustomSceneNode 04.Movement \ 05.UserInterface 06.2DGraphics 07.Collision 08.SpecialFX \ 09.Meshviewer 10.Shaders 11.PerPixelLighting \ 12.TerrainRendering 13.RenderToTexture 15.LoadIrrFile Demo OPTIONS_DEFINE= DEBUG EXAMPLES DEBUG_MAKE_ENV_OFF= NDEBUG=1 post-patch: @${REINPLACE_CMD} -e '/#define.*_IRR_USE_NON_SYSTEM_JPEG_LIB_/ d' \ -e '/#define.*_IRR_USE_NON_SYSTEM_LIB_PNG_/ d' \ -e '/#define.*_IRR_USE_NON_SYSTEM_ZLIB_/ d' \ -e '/#define.*_IRR_USE_NON_SYSTEM_BZLIB_/ d' \ -e '/#define.*_IRR_COMPILE_WITH_JOYSTICK_EVENTS_/ d' \ ${WRKSRC}/include/IrrCompileConfig.h post-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "${EXAMPLEDIRS}" \ ${STAGEDIR}${EXAMPLESDIR} \ "( -name Makefile -or -name *\.cpp -or -name *\.h )" cd ${WRKSRC} && ${COPYTREE_SHARE} media ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/x11-toolkits/mygui-opengl/Makefile b/x11-toolkits/mygui-opengl/Makefile index e3381b67bde3..69ed20f133c1 100644 --- a/x11-toolkits/mygui-opengl/Makefile +++ b/x11-toolkits/mygui-opengl/Makefile @@ -1,14 +1,14 @@ -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -opengl COMMENT= OpenGL renderer for MyGUI MASTERDIR= ${.CURDIR}/../mygui MYGUI_RENDERSYSTEM= 4 MYGUI_SUBDIR= Platforms/OpenGL/OpenGLPlatform USES= gl USE_GL= gl glu .include "${MASTERDIR}/Makefile" diff --git a/x11-toolkits/nanogui/Makefile b/x11-toolkits/nanogui/Makefile index 966781e015b1..74be91453c40 100644 --- a/x11-toolkits/nanogui/Makefile +++ b/x11-toolkits/nanogui/Makefile @@ -1,42 +1,42 @@ PORTNAME= nanogui DISTVERSION= g20190922 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits MAINTAINER= yuri@FreeBSD.org COMMENT= Minimalistic GUI library for OpenGL LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libglfw.so:graphics/glfw USES= cmake compiler:c++14-lang eigen:3,build,run gl xorg USE_GITHUB= yes GH_ACCOUNT= wjakob GH_TAGNAME= e9ec8a1a9861cf578d9c6e85a6420080aa715c03 GH_TUPLE= wjakob:nanovg:50826f7bf0d910962e6aba2c3310ede889726917:wjakob_nanovg/ext/nanovg USE_GL= gl USE_XORG= x11 xcursor xi xinerama xrandr xxf86vm USE_LDCONFIG= yes CMAKE_OFF= NANOGUI_BUILD_EXAMPLE GLFW_BUILD_EXAMPLES OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= NANOGUI_BUILD_PYTHON PYTHON_USES= python PYTHON_BUILD_DEPENDS= ${LOCALBASE}/include/pybind11/pybind11.h:devel/pybind11 PYTHON_RUN_DEPENDS= pybind11>0:devel/pybind11 post-install: ${INSTALL_DATA} ${WRKSRC}/ext/nanovg/src/*.h ${STAGEDIR}${PREFIX}/include/nanogui/ # bundled dependency headers aren't installed post-install-PYTHON-on: @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${MV} ${STAGEDIR}${PREFIX}/lib/nanogui*.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .include diff --git a/x11-toolkits/otk/Makefile b/x11-toolkits/otk/Makefile index f7135af44e33..f9c4df5dc96f 100644 --- a/x11-toolkits/otk/Makefile +++ b/x11-toolkits/otk/Makefile @@ -1,37 +1,37 @@ # Created by: Igor Pokrovsky PORTNAME= otk PORTVERSION= 0.96 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-toolkits graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} DISTNAME= ${PORTNAME}_lib_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Widget library based on OpenGL LICENSE= LGPL20+ WRKSRC= ${WRKDIR}/${PORTNAME}_lib USES= gl tar:tgz xorg USE_XORG= xmu xext x11 USE_GL= glut glu gl USE_LDCONFIG= yes PLIST_FILES= include/gadget_lib.h include/otk_lib.h \ lib/libotk.so lib/libotk.so.0 CPPFLAGS+= -I${LOCALBASE}/include -fPIC LDFLAGS+= -lGLU -lGL -lXmu -lXext -lX11 -L${LOCALBASE}/lib do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -shared otk_lib.c \ -o libotk.so.0 ${LDFLAGS} do-install: ${INSTALL_LIB} ${WRKSRC}/libotk.so.0 ${STAGEDIR}${PREFIX}/lib ${LN} -sf libotk.so.0 ${STAGEDIR}${PREFIX}/lib/libotk.so ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include .include diff --git a/x11-toolkits/pangolin/Makefile b/x11-toolkits/pangolin/Makefile index 6b6cfe96f044..4705c3985504 100644 --- a/x11-toolkits/pangolin/Makefile +++ b/x11-toolkits/pangolin/Makefile @@ -1,28 +1,29 @@ PORTNAME= pangolin DISTVERSIONPREFIX= v DISTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= x11-toolkits MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight rapid development library for managing OpenGL display LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ liblz4.so:archivers/liblz4 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libzstd.so:archivers/zstd USES= cmake compiler:c++14-lang gl jpeg pkgconfig USE_GL= gl glew glu USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= stevenlovegrove GH_PROJECT= Pangolin LDFLAGS+= -pthread .include diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile index 8fe21647b6bd..cff2a2978333 100644 --- a/x11-toolkits/plib/Makefile +++ b/x11-toolkits/plib/Makefile @@ -1,38 +1,38 @@ # Created by: Brian Buchanan PORTNAME= plib PORTVERSION= 1.8.5 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11-toolkits MASTER_SITES= http://plib.sourceforge.net/dist/ MAINTAINER= ports@FreeBSD.org COMMENT= Portable library for joystick/sound/OpenGL GUI/3D math LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING USES= gl gmake xorg USE_XORG= xt xi xmu xext x11 USE_GL= glu GNU_CONFIGURE= yes CXXFLAGS+= -fPIC CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-js-jsBSD.cxx post-patch: @${REINPLACE_CMD} -e 's|-lpthread||g ; \ s|-ldl||g ; \ s|-lc_r||g' ${WRKSRC}/configure @${ECHO} "JS component is not compiled with new usb stack" post-build: ${CC} ${CFLAGS} -o ${WRKDIR}/plib-jscal ${FILESDIR}/jsBSDCal.c post-install: ${INSTALL_PROGRAM} ${WRKDIR}/plib-jscal ${STAGEDIR}${PREFIX}/bin .include diff --git a/x11-toolkits/py-qt5-chart/Makefile b/x11-toolkits/py-qt5-chart/Makefile index 47bd31086a41..fee3ed2d0a9a 100644 --- a/x11-toolkits/py-qt5-chart/Makefile +++ b/x11-toolkits/py-qt5-chart/Makefile @@ -1,48 +1,49 @@ PORTNAME= chart PORTVERSION= ${PYQT5_VERSION} +PORTREVISION= 1 CATEGORIES= x11-toolkits devel python MASTER_SITES= ${MASTER_SITES_PYQTCHART} PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- DISTNAME= ${PYQTCHART_DISTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtChart module LICENSE= ${PYQT5_LICENSE} USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core gui widgets USE_PYTHON= concurrent flavors py3kplist USE_QT= charts core declarative gui qmake_build widgets HAS_CONFIGURE= yes CONFIGURE_ARGS+= --verbose --no-dist-info \ -d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 \ -q ${QMAKE} \ --sip ${SIP} \ --pyqt-sipdir=${PYQT_SIPDIR} \ --qtchart-sipdir=${PYQT_SIPDIR} DESTDIRNAME= INSTALL_ROOT OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtCharts API for QScintilla2 API_CONFIGURE_ON= --apidir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-patch: ${REINPLACE_CMD} -e "s/sip-module/sip-module-${PYTHON_VER}/" ${WRKSRC}/configure.py do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtChart.so .include diff --git a/x11-toolkits/py-qt5-gui/Makefile b/x11-toolkits/py-qt5-gui/Makefile index 5502623bc273..2768bea69fad 100644 --- a/x11-toolkits/py-qt5-gui/Makefile +++ b/x11-toolkits/py-qt5-gui/Makefile @@ -1,27 +1,28 @@ PORTNAME= gui +PORTREVISION= 1 CATEGORIES= x11-toolkits devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtGui module CONFIGURE_ARGS= --enable QtGui PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl -USE_PYQT= sip_build core_run +USE_PYQT= sip_build core_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui qmake_build imageformats_run OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtGui API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtGui.so .include diff --git a/x11-toolkits/py-qt5-quick/Makefile b/x11-toolkits/py-qt5-quick/Makefile index 7467ce4675ca..46a2fa64146d 100644 --- a/x11-toolkits/py-qt5-quick/Makefile +++ b/x11-toolkits/py-qt5-quick/Makefile @@ -1,29 +1,30 @@ PORTNAME= quick +PORTREVISION= 1 CATEGORIES= x11-toolkits devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtQuick module CONFIGURE_ARGS= --enable QtQuick PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run gui_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core declarative gui qmake_build network OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtQuick API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtQuick.so .include diff --git a/x11-toolkits/py-qt5-quick3d/Makefile b/x11-toolkits/py-qt5-quick3d/Makefile index 1698b8939ed6..965c41dd067b 100644 --- a/x11-toolkits/py-qt5-quick3d/Makefile +++ b/x11-toolkits/py-qt5-quick3d/Makefile @@ -1,29 +1,30 @@ PORTNAME= quick3d +PORTREVISION= 1 CATEGORIES= x11-toolkits devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtQuick3D module CONFIGURE_ARGS= --enable QtQuick3D PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run gui_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core declarative gui qmake_build network quick3d OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtQuick API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtQuick3D.so .include diff --git a/x11-toolkits/py-qt5-quickwidgets/Makefile b/x11-toolkits/py-qt5-quickwidgets/Makefile index 097e0d9522cb..3b9166e90ccd 100644 --- a/x11-toolkits/py-qt5-quickwidgets/Makefile +++ b/x11-toolkits/py-qt5-quickwidgets/Makefile @@ -1,30 +1,31 @@ PORTNAME= quickwidgets +PORTREVISION= 1 CATEGORIES= x11-toolkits devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtQuickWidgets module USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= core_run gui_run sip_build PYQT_DIST= yes USE_PYTHON= concurrent flavors py3kplist USE_QT= core declarative gui network widgets \ qmake_build CONFIGURE_ARGS= --enable QtQuickWidgets OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT= API OPTIONS_SUB= yes API_DESC= Install QtQuick API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtQuickWidgets.so .include diff --git a/x11-toolkits/py-qt5-widgets/Makefile b/x11-toolkits/py-qt5-widgets/Makefile index 8424c7173e02..c1d1baa8cd7b 100644 --- a/x11-toolkits/py-qt5-widgets/Makefile +++ b/x11-toolkits/py-qt5-widgets/Makefile @@ -1,29 +1,30 @@ PORTNAME= widgets +PORTREVISION= 1 CATEGORIES= x11-toolkits devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtWidgets module CONFIGURE_ARGS= --enable QtWidgets PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run gui_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui widgets qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtGui API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtWidgets.so .include diff --git a/x11-toolkits/py-wxPython40/Makefile b/x11-toolkits/py-wxPython40/Makefile index 1dff0f5dd56d..874be09f3c08 100644 --- a/x11-toolkits/py-wxPython40/Makefile +++ b/x11-toolkits/py-wxPython40/Makefile @@ -1,36 +1,36 @@ PORTNAME= wxPython PORTVERSION= 4.0.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 40 DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= GUI toolkit for the Python programming language LICENSE= WXWINDOWS LGPL21+ GPLv2+ LICENSE_COMB= multi LICENSE_NAME_WXWINDOWS= wxWindows Library Licence, Version 3.1 LICENSE_FILE_WXWINDOWS= ${WRKSRC}/license/licence.txt LICENSE_PERMS_WXWINDOWS= dist-mirror pkg-mirror auto-accept BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR} USES= compiler:c++11-lib gl localbase pkgconfig python:3.6+ USE_GL= glu USE_WX= 3.0 USE_PYTHON= distutils autoplist OPTIONS_DEFINE= NLS NLS_USES= gettext post-patch: @${REINPLACE_CMD} -e "s|WX_CONFIG = 'wx-config'|WX_CONFIG = '${WX_CONFIG}'|" ${WRKSRC}/build.py post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/wx -name *.so -exec ${STRIP_CMD} {} + .include diff --git a/x11-toolkits/qml-box2d/Makefile b/x11-toolkits/qml-box2d/Makefile index 9740c7685664..902768f1d03f 100644 --- a/x11-toolkits/qml-box2d/Makefile +++ b/x11-toolkits/qml-box2d/Makefile @@ -1,17 +1,17 @@ PORTNAME= qml-box2d DISTVERSION= 2.0.20180109 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-toolkits MAINTAINER= kde@FreeBSD.org COMMENT= QML Box2D plugin USES= compiler:c++11-lang gl qmake:outsource qt:5 USE_GITHUB= yes GH_TAGNAME= 21e57f USE_GL= gl USE_QT= core declarative gui network \ buildtools_build qmake_build USE_LDCONFIG= ${QT_QMLDIR}/Box2D.2.0/ .include diff --git a/x11-toolkits/qt5-declarative/Makefile b/x11-toolkits/qt5-declarative/Makefile index 20feecbfc011..2b75ff3fe26f 100644 --- a/x11-toolkits/qt5-declarative/Makefile +++ b/x11-toolkits/qt5-declarative/Makefile @@ -1,30 +1,31 @@ PORTNAME= declarative DISTVERSION= ${QT5_VERSION} +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt declarative framework for dynamic user interfaces USES= compiler:c++11-lang gl python:build qmake:norecursive \ qt-dist:5 USE_GL= gl USE_QT= core gui network sql testlib \ widgets buildtools_build CONFLICTS= qt5-declarative-render2d-* qt5-qml qt5-quick BINARY_ALIAS= python=${PYTHON_CMD} QT_BINARIES= yes QT_DEFINES= ACCESSIBILITY QT_CONFIG= accessibility accessibility-atspi-bridge post-patch: # qtdeclarative.pro wants to run python, replace that with PYTHON_CMD ${REINPLACE_CMD} '/py_out/s#python#${PYTHON_CMD}#g' \ ${WRKSRC}/qtdeclarative.pro ${REINPLACE_CMD} 's,python,${PYTHON_CMD},g' \ ${WRKSRC}/src/3rdparty/masm/masm.pri .include diff --git a/x11-toolkits/qt5-gui/Makefile b/x11-toolkits/qt5-gui/Makefile index 8cc7362c6252..a49eadb62a48 100644 --- a/x11-toolkits/qt5-gui/Makefile +++ b/x11-toolkits/qt5-gui/Makefile @@ -1,114 +1,114 @@ PORTNAME= gui DISTVERSION= ${QT5_VERSION} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-toolkits graphics PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt graphical user interface module BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \ ${LOCALBASE}/include/xf86drm.h:graphics/libdrm \ at-spi2-core>=0:accessibility/at-spi2-core \ ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_armv6= as:devel/binutils BUILD_DEPENDS_armv7= as:devel/binutils LIB_DEPENDS= libdbus-1.so:devel/dbus \ libevdev.so:devel/libevdev \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libinput.so:x11/libinput \ libpng.so:graphics/png \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb.so:x11/libxcb \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ xdg-open:devel/xdg-utils USES= compiler:c++11-lang gl gnome jpeg localbase \ qmake:no_env qt-dist:5,base USE_GL= egl gl USE_GNOME= glib20 USE_QT= core dbus network buildtools_build qmake_build QT_BINARIES= yes QT_CONFIG= accessibility accessibility-atspi-bridge dbus \ fontconfig glib opengl png system-freetype system-jpeg \ system-png xcb xcb-glx xcb-render xcb-xlib xinput2 xlib \ xrender QT_DEFINES= ACCESSIBILITY DBUS FONTCONFIG FREETYPE GLIB \ IMAGEFORMAT_PNG OPENGL SHAPE XCB XKB XKBCOMMON XRENDER USE_XORG= ice sm xi xrender HAS_CONFIGURE= yes CONFIGURE_ARGS= -no-eglfs \ -no-libudev \ -system-harfbuzz # Explicitly set to c++14 to avoid c++17/c++1z, since libX11's headers # are using the obsolete 'register' keyword. CONFIGURE_ARGS+= -c++std \ c++14 BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} OPTIONS_DEFINE= X11 OPTIONS_DEFAULT= X11 OPTIONS_SUB= yes X11_USES= xorg X11_USE= xorg=x11 # Build and install QtPlatformSupport and default QPA plugins (XCB, # minimal and offscreen). QtGui won't work without (one of) them, but # they depend on QtGui itself, so they can't be added as dependencies. # QtPlatformSupport doesn't need to be installed (it's a static # library), but might be needed by people porting Qt on new platforms. _MORE_WRKSRCS= src/platformheaders src/platformsupport src/plugins/platforms \ src/plugins/generic # Image formats are split through different tarballs, these are the # main ones; input contexts require no additional dependency. _MORE_WRKSRCS+= src/plugins/imageformats src/plugins/platforminputcontexts # openglextensions is the static library to use for further things like qtcanvas3d _MORE_WRKSRCS+= src/openglextensions # Inherited from Qt 4. .if defined(PACKAGE_BUILDING) RUN_DEPENDS+= ${LOCALBASE}/share/fonts/encodings/encodings.dir:x11-fonts/encodings \ xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype .endif post-configure: .for d in src/tools/qvkgen src/gui ${_MORE_WRKSRCS} ${MKDIR} ${WRKSRC}/${d} cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d} .endfor pre-build: .for d in src/tools/qvkgen @cd ${WRKSRC}/${d} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} .endfor post-build: .for d in ${_MORE_WRKSRCS} @cd ${WRKSRC}/${d} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} .endfor post-install: .for d in src/tools/qvkgen ${_MORE_WRKSRCS} @cd ${WRKSRC}/${d} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ ${MAKE_ARGS} ${INSTALL_TARGET} .endfor .include diff --git a/x11-toolkits/qwt6/Makefile b/x11-toolkits/qwt6/Makefile index c66f7260f3cd..1e8609101bbe 100644 --- a/x11-toolkits/qwt6/Makefile +++ b/x11-toolkits/qwt6/Makefile @@ -1,37 +1,38 @@ PORTNAME= qwt PORTVERSION= 6.1.6 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= SF PKGNAMESUFFIX= 6-qt5 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Qt Widgets for Technical Applications USES= compiler:c++11-lang gl gmake qmake qt:5 tar:bzip2 USE_GL= gl USE_QT= buildtools_build widgets gui core designer gui opengl svg xml printsupport concurrent USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} DOCSDIR= ${PREFIX}/share/doc/qwt6-qt5 PORTDOCS= * PLIST_SUB= SHLIB_VER=${PORTVERSION} \ SHLIB_SHVER=${PORTVERSION:R} QMAKE_ARGS+= PLUGINDIR=${PREFIX}/${QT_PLUGINDIR_REL} PLIST_FILES= ${PREFIX}/${QT_PLUGINDIR_REL}/designer/libqwt6_designer_plugin.so OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/INSTALLS.*doc/d' ${WRKSRC}/doc/doc.pro @${REINPLACE_CMD} -e 's/%%QT_VERSION%%/5/g' \ -e 's|%%QT_INCDIR%%|${QT_INCDIR}|g' \ -e 's|%%QT_LIBDIR%%|${QT_LIBDIR}|g' \ -e 's|%%QT_MKSPECDIR%%|${QT_MKSPECDIR}|g' \ ${WRKSRC}/qwtconfig.pri post-install-DOCS-on: @(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/x11-toolkits/soqt/Makefile b/x11-toolkits/soqt/Makefile index 7db6a62a6b21..0e114eb9e634 100644 --- a/x11-toolkits/soqt/Makefile +++ b/x11-toolkits/soqt/Makefile @@ -1,30 +1,31 @@ # Created by: roland.jesse@gmx.net PORTNAME= SoQt PORTVERSION= 1.6.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= x11-toolkits # cannot use GITHUB - submodules required MASTER_SITES= https://bitbucket.org/Coin3D/soqt/downloads/ DISTNAME= soqt-${PORTVERSION}-src MAINTAINER= cmt@FreeBSD.org COMMENT= Qt5-fork of the SoQt toolkit library for Coin LICENSE= BSD3CLAUSE LIB_DEPENDS= libCoin.so:graphics/Coin USES= cmake compiler:c++11-lang dos2unix gl libtool \ localbase:ldflags pathfix pkgconfig qmake:no_env qt:5 xorg zip USE_QT= buildtools core gui opengl qmake widgets USE_GL= gl USE_XORG= ice sm x11 xext xi USE_LDCONFIG= yes CPPFLAGS+= -I${QT_INCDIR}/QtCore -I${QT_INCDIR} LDFLAGS+= -L${QT_LIBDIR} WRKSRC= ${WRKDIR}/soqt .include diff --git a/x11-toolkits/swt/Makefile b/x11-toolkits/swt/Makefile index 3ece694606f7..8cee5d4569ef 100644 --- a/x11-toolkits/swt/Makefile +++ b/x11-toolkits/swt/Makefile @@ -1,60 +1,60 @@ # Created by: Robert C. Noland III PORTNAME= swt DISTVERSION= 4.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits devel java MASTER_SITES= http://archive.eclipse.org/eclipse/downloads/drops4/R-${DISTVERSION}-201903070500/ DISTNAME= ${PORTNAME}-${DISTVERSION}-gtk-linux-x86_64 MAINTAINER= makc@FreeBSD.org COMMENT= Standard Widget Toolkit for Java LICENSE= EPL ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le USES= compiler:c++11-lang gl gmake gnome pkgconfig zip:infozip xorg USE_ANT= yes USE_GL= glu gl USE_GNOME= gdkpixbuf2 gtk30 USE_JAVA= yes USE_XORG= xtst JAVA_OS= native SWT_VERSION= 4924r25 MAKEFILE= make_freebsd.mak MAKE_ENV= SWT_VERSION=${SWT_VERSION} PLIST_SUB= SWT_VERSION=${SWT_VERSION} NO_WRKSUBDIR= yes OPTIONS_DEFINE= CAIRO WEBKIT OPTIONS_DEFAULT= CAIRO OPTIONS_SUB= yes CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo CAIRO_MAKE_ENV= MAKE_CAIRO=make_cairo WEBKIT_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 WEBKIT_MAKE_ENV= BUILD_WEBKIT2EXTENSION=yes WEBKIT_MAKE_ENV_OFF= BUILD_WEBKIT2EXTENSION=no post-extract: @(cd ${WRKSRC} && ${UNZIP_CMD} -qo "*.zip") @${CP} ${FILESDIR}/build.xml ${WRKSRC}/build.xml @${CP} ${WRKSRC}/make_linux.mak ${WRKSRC}/make_freebsd.mak post-patch: ${SED} -e 's|freebsd|dragonfly|g' ${WRKSRC}/make_freebsd.mak \ > ${WRKSRC}/make_dragonfly.mak do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_LIB} ${WRKSRC}/libswt-*.so ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/swt.jar ${STAGEDIR}${JAVAJARDIR}/ .include diff --git a/x11-toolkits/wlroots/Makefile b/x11-toolkits/wlroots/Makefile index 826f8d7b3da6..74eaa8aada3e 100644 --- a/x11-toolkits/wlroots/Makefile +++ b/x11-toolkits/wlroots/Makefile @@ -1,64 +1,64 @@ PORTNAME= wlroots DISTVERSION= 0.13.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-toolkits PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 7c0e2a271a4c.patch:-p1 # https://github.com/swaywm/wlroots/pull/2064 PATCHFILES+= e1b5323f56c3.patch:-p1 # https://github.com/swaywm/wlroots/pull/2064 PATCHFILES+= d0c1f0c0b637.patch:-p1 # https://github.com/swaywm/wlroots/pull/2908 MAINTAINER= jbeich@FreeBSD.org COMMENT= Modular Wayland compositor library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland>=1.18:graphics/wayland \ wayland-protocols>=1.17:graphics/wayland-protocols LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= libudev-devd>=0.4.1:devel/libudev-devd \ mesa-dri>0:graphics/mesa-dri USES= compiler:c11 gl meson pkgconfig xorg USE_GITHUB= yes USE_GL= egl gbm glesv2 USE_XORG= pixman USE_LDCONFIG= yes GH_ACCOUNT= swaywm MESON_ARGS= -Dexamples=false OPTIONS_DEFINE= LIBSEAT NVIDIA UUID X11 OPTIONS_DEFAULT=LIBSEAT UUID X11 OPTIONS_SUB= yes LIBSEAT_DESC= DRM sessions with/without root via libseat LIBSEAT_LIB_DEPENDS= libseat.so:sysutils/seatd LIBSEAT_MESON_ENABLED= libseat NVIDIA_DESC= EGLStreams support for DRM backend (experimental) NVIDIA_PATCH_SITES= https://github.com/danvd/${GH_PROJECT}-eglstreams/commit/:nvidia NVIDIA_PATCHFILES= eba4b66f92ca.patch:-p1:nvidia # https://github.com/swaywm/wlroots/pull/2769 .if make(makesum) .MAKEFLAGS: WITH+=NVIDIA .endif # uuid_create() is random on NetBSD and OpenBSD but not DragonFly and FreeBSD # See also https://github.com/netbsd/src/commit/8651e9a438af UUID_DESC= Exported surfaces to use random UUIDs via libuuid UUID_LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-icccm.so:x11/xcb-util-wm X11_BUILD_DEPENDS= xwayland-devel>0:x11-servers/xwayland-devel X11_RUN_DEPENDS= xwayland-devel>0:x11-servers/xwayland-devel X11_USE= XORG=xcb X11_MESON_ENABLED= x11-backend xwayland .include diff --git a/x11-toolkits/wxgtk28/Makefile b/x11-toolkits/wxgtk28/Makefile index 1a3897f6934b..f4d663cb8473 100644 --- a/x11-toolkits/wxgtk28/Makefile +++ b/x11-toolkits/wxgtk28/Makefile @@ -1,98 +1,98 @@ # Created by: fjoe@FreeBSD.org PORTNAME= wx PORTVERSION= 2.8.12 -PORTREVISION?= 9 +PORTREVISION?= 10 CATEGORIES= x11-toolkits MASTER_SITES= SF/wxwindows/${PORTVERSION} PKGNAMESUFFIX= 28-${WXGTK_FLAVOR} DISTNAME= wxGTK-${PORTVERSION} MAINTAINER?= fjoe@FreeBSD.org COMMENT?= The wxWidgets GUI toolkit with GTK+ bindings LIB_DEPENDS+= libpng.so:graphics/png\ libtiff.so:graphics/tiff\ libexpat.so:textproc/expat2 USES= compiler:c++11-lang gl gmake gnome iconv jpeg localbase \ pkgconfig tar:bzip2 xorg USE_CXXSTD= gnu++98 USE_XORG= x11 sm xxf86vm xinerama USE_GL= glu USE_GNOME= gtk20 pangox-compat GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libpng=sys\ --with-libjpeg=sys\ --with-libtiff=sys\ --with-zlib=sys\ --with-expat=sys\ --with-opengl\ --with-mspack\ --with-gtk\ --disable-mediactrl \ --disable-backtrace\ --enable-graphics_ctx CONFIGURE_ENV= X11BASE="${LOCALBASE}" PLIST= ${.CURDIR}/pkg-plist WXGTK_FLAVOR?= gtk2 OPTIONS_DEFINE= MSPACK OPTIONS_DEFAULT= MSPACK MSPACK_DESC= MS archives support .include .if ${PORT_OPTIONS:MMSPACK} CONFIGURE_ARGS+=--with-libmspack LIB_DEPENDS+= libmspack.so:archivers/libmspack .else CONFIGURE_ARGS+=--without-libmspack .endif .if ${WXGTK_FLAVOR} != "gtk2-common" RUN_DEPENDS= ${LOCALBASE}/include/wx-2.8/wx/wx.h:x11-toolkits/wxgtk28-common .endif .if ${WXGTK_FLAVOR:M*-common} != "" NO_BUILD= yes INSTALL_TARGET= install-common USES+= gettext-tools .else USE_LDCONFIG= yes .endif # *-common .if ${WXGTK_FLAVOR:M*-contrib*} != "" BUILD_WRKSRC= ${WRKSRC}/contrib INSTALL_WRKSRC= ${BUILD_WRKSRC} .if ${WXGTK_FLAVOR} != "gtk2-contrib-common" USE_WX= 2.8 RUN_DEPENDS= ${LOCALBASE}/include/wx-2.8/wx/stc/stc.h:x11-toolkits/wxgtk28-contrib-common pre-configure: @${FIND} ${BUILD_WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \ -e "s|@CXXFLAGS@|${CFLAGS} `${WX_CONFIG} --cxxflags`|" \ -e "s|@CFLAGS@|${CFLAGS} `${WX_CONFIG} --cflags`|" \ -e "s|@CPPFLAGS@||" .endif # !gtk2-contrib-common .endif # *-contrib* CONFIGURE_ARGS+=--enable-unicode .include # GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html .if ${COMPILER_TYPE} == gcc CONFIGURE_ARGS+= --disable-precomp-headers .endif post-patch: @${REINPLACE_CMD} -e 's|pkg_config_args --cflags|pkg_config_args pangox --cflags|g ; \ s|pkg_config_args --libs|pkg_config_args pangox --libs|g' \ -e 's|png_check_sig|png_sig_cmp|g' \ ${WRKSRC}/configure .include diff --git a/x11-toolkits/wxgtk30/Makefile b/x11-toolkits/wxgtk30/Makefile index 135b13e541e5..103cdae87825 100644 --- a/x11-toolkits/wxgtk30/Makefile +++ b/x11-toolkits/wxgtk30/Makefile @@ -1,87 +1,88 @@ PORTNAME= wx PORTVERSION= 3.0.5.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 30-gtk3 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= The wxWidgets GUI toolkit with GTK+ bindings LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/gpl.txt LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff USE_GITHUB= yes GH_ACCOUNT= wxWidgets GH_PROJECT= wxWidgets USES= compiler:c++11-lib gl gmake gnome iconv jpeg localbase \ pkgconfig xorg USE_XORG= x11 sm xxf86vm xinerama USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 gtk30 USE_LDCONFIG= yes USE_CXXSTD= c++11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-zlib=sys \ --with-expat=sys \ --with-opengl \ --with-gtk=3 \ --without-gnomevfs \ --disable-epollloop \ --disable-joystick \ --enable-backtrace \ --enable-ipv6 \ --enable-optimise \ --enable-unicode \ --enable-std_string \ --enable-graphics_ctx \ --enable-compat26 \ --enable-compat28 CONFIGURE_ENV= X11BASE="${LOCALBASE}" \ ac_cv_header_sys_inotify_h=no OPTIONS_DEFINE= GSTREAMER NOTIFY MSPACK NLS WEBKIT OPTIONS_DEFAULT=GSTREAMER MSPACK WEBKIT MSPACK_DESC= Microsoft archives support OPTIONS_SUB= yes NLS_USES= gettext GSTREAMER_CONFIGURE_ENABLE= mediactrl GSTREAMER_USE= GSTREAMER1=yes NOTIFY_CONFIGURE_WITH= libnotify NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify MSPACK_CONFIGURE_WITH= libmspack MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack WEBKIT_CONFIGURE_ENABLE= webview WEBKIT_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 .include # TLS is broken on armv6/7, PR 229396 .if ${ARCH} == armv6 || ${ARCH} == armv7 CONFIGURE_ARGS+=--disable-tls .endif # PR 196703, 197031 .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIGURE_ARGS+=--disable-precomp-headers .endif post-build-NLS-on: @${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale .include diff --git a/x11-toolkits/wxgtk31/Makefile b/x11-toolkits/wxgtk31/Makefile index 254f3ceb0c09..9bddc4af6a05 100644 --- a/x11-toolkits/wxgtk31/Makefile +++ b/x11-toolkits/wxgtk31/Makefile @@ -1,92 +1,93 @@ PORTNAME= wx DISTVERSIONPREFIX= v DISTVERSION= 3.1.5 +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 31-gtk3 MAINTAINER= yuri@FreeBSD.org COMMENT= GUI toolkit (wxWidgets) with GTK+ bindings LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/gpl.txt LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjbig.so:graphics/jbigkit \ libnotify.so:devel/libnotify \ libpng.so:graphics/png \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff \ libwayland-egl.so:graphics/wayland USES= compiler:c++11-lib gl gmake gnome iconv jpeg localbase \ pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= wxWidgets GH_PROJECT= wxWidgets GH_TUPLE= wxWidgets:Catch:ee4acb6:wxWidgets_Catch/3rdparty/catch GNU_CONFIGURE= yes USE_XORG= x11 sm xxf86vm xtst USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 gtk30 USE_LDCONFIG= yes USE_CXXSTD= c++11 CONFIGURE_ARGS= --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-zlib=sys \ --with-expat=sys \ --with-opengl \ --with-gtk=3 \ --without-gnomevfs \ --disable-epollloop \ --disable-joystick \ --enable-backtrace \ --enable-ipv6 \ --enable-optimise \ --enable-utf8 \ --enable-graphics_ctx \ --enable-compat28 \ --enable-compat30 CONFIGURE_ENV= X11BASE="${LOCALBASE}" \ ac_cv_header_sys_inotify_h=no OPTIONS_DEFINE= GSTREAMER MSPACK NLS WEBKIT OPTIONS_DEFAULT= GSTREAMER MSPACK WEBKIT MSPACK_DESC= Microsoft archives support OPTIONS_SUB= yes NLS_USES= gettext GSTREAMER_CONFIGURE_ENABLE= mediactrl GSTREAMER_USE= GSTREAMER1=bad MSPACK_CONFIGURE_WITH= libmspack MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack WEBKIT_CONFIGURE_ENABLE= webview WEBKIT_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 .include # TLS is broken on armv6/7, PR 229396 .if ${ARCH} == armv6 || ${ARCH} == armv7 CONFIGURE_ARGS+=--disable-tls .endif # PR 196703, 197031 .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIGURE_ARGS+=--disable-precomp-headers .endif post-build-NLS-on: @${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale post-install-NLS-on: # stray file: https://trac.wxwidgets.org/ticket/18147 @${RM} ${STAGEDIR}${PREFIX}/share/locale/it/LC_MESSAGES/wxmsw.mo .include diff --git a/x11-toolkits/xforms/Makefile b/x11-toolkits/xforms/Makefile index 2726aa198251..6e71061b7864 100644 --- a/x11-toolkits/xforms/Makefile +++ b/x11-toolkits/xforms/Makefile @@ -1,31 +1,31 @@ # Created by: gena PORTNAME= xforms DISTVERSION= 1.2.4 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= x11-toolkits graphics MASTER_SITES= SAVANNAH MAINTAINER= ports@FreeBSD.org COMMENT= Graphical user interface toolkit for X Window System LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libtiff.so:graphics/tiff USES= gl jpeg libtool xorg USE_XORG= xpm USE_GL= gl USE_LDCONFIG= yes GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip post-patch: ${REINPLACE_CMD} 's|#define fl_draw_box|#define fl_drw_box|' \ ${WRKSRC}/lib/include/Basic.h .include diff --git a/x11-wm/compiz-plugins-extra/Makefile b/x11-wm/compiz-plugins-extra/Makefile index 0c75814a112a..1a1502c27c3e 100644 --- a/x11-wm/compiz-plugins-extra/Makefile +++ b/x11-wm/compiz-plugins-extra/Makefile @@ -1,72 +1,72 @@ # Created by: Robert Noland PORTNAME= compiz-plugins-extra PORTVERSION= 0.8.8 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= x11-wm MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/ MAINTAINER= samy.mahmoudi@gmail.com COMMENT= Plugins for Compiz Composite Window Manager 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= gconf2 gdkpixbuf2 intltool libxslt USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto xrandr xrender USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-schemas GNU_CONFIGURE= yes INSTALL_TARGET= install-strip GCONF_SCHEMAS= compiz-3d.schemas \ compiz-addhelper.schemas \ compiz-animationaddon.schemas \ compiz-bench.schemas \ compiz-bicubic.schemas \ compiz-crashhandler.schemas \ compiz-cubeaddon.schemas \ compiz-extrawm.schemas \ compiz-fadedesktop.schemas \ compiz-firepaint.schemas \ compiz-gears.schemas \ compiz-grid.schemas \ compiz-group.schemas \ compiz-loginout.schemas \ compiz-maximumize.schemas \ compiz-mblur.schemas \ compiz-notification.schemas \ compiz-reflex.schemas \ compiz-scalefilter.schemas \ compiz-shelf.schemas \ compiz-showdesktop.schemas \ compiz-showmouse.schemas \ compiz-splash.schemas \ compiz-trailfocus.schemas \ compiz-wallpaper.schemas \ compiz-widget.schemas 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 aceb92269424..f8bf8bb34134 100644 --- a/x11-wm/compiz-plugins-main/Makefile +++ b/x11-wm/compiz-plugins-main/Makefile @@ -1,68 +1,68 @@ # Created by: Robert Noland PORTNAME= compiz-plugins-main PORTVERSION= 0.8.8 -PORTREVISION= 6 +PORTREVISION= 7 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 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= gconf2 intltool libxslt USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama xorgproto xrandr xrender USE_LDCONFIG= yes # Fix build with clang11 CFLAGS+= -fcommon GCONF_SCHEMAS= compiz-animation.schemas \ compiz-colorfilter.schemas \ compiz-expo.schemas \ compiz-ezoom.schemas \ compiz-imgjpeg.schemas \ compiz-kdecompat.schemas \ compiz-mag.schemas \ compiz-mousepoll.schemas \ compiz-neg.schemas \ compiz-opacify.schemas \ compiz-put.schemas \ compiz-resizeinfo.schemas \ compiz-ring.schemas \ compiz-staticswitcher.schemas \ compiz-session.schemas \ compiz-snap.schemas \ compiz-text.schemas \ compiz-thumbnail.schemas \ compiz-wall.schemas \ compiz-winrules.schemas \ compiz-workarounds.schemas \ compiz-scaleaddon.schemas \ compiz-titleinfo.schemas \ compiz-vpswitch.schemas \ compiz-shift.schemas CONFIGURE_ARGS= --enable-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 49220aea7380..e1316e68e98c 100644 --- a/x11-wm/compiz/Makefile +++ b/x11-wm/compiz/Makefile @@ -1,113 +1,113 @@ PORTNAME= compiz PORTVERSION= 0.8.8 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= x11-wm MASTER_SITES= https://BSDforge.com/projects/source/x11-wm/compiz/ MAINTAINER= portmaster@BSDforge.com COMMENT= Compiz Composite/Window Manager 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= glxinfo:graphics/mesa-demos \ ${RUN_DEPENDS_${ARCH}} 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 gconf2 intltool libxslt USE_LDCONFIG= yes USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama \ xorgproto xrandr xrender GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-kde4 \ --disable-kde \ --disable-gnome \ --disable-gnome-keybindings \ --disable-metacity INSTALL_TARGET= install-strip SUB_FILES= compiz-manager DESKTOP_ENTRIES= "Compiz Manager" \ "Wrapper script for starting compiz" \ "" \ "compiz-manager" \ "System;Core;" \ false GCONF_SCHEMAS= gwd.schemas \ compiz-annotate.schemas \ compiz-blur.schemas \ compiz-clone.schemas \ compiz-commands.schemas \ compiz-core.schemas \ compiz-cube.schemas \ compiz-dbus.schemas \ compiz-decoration.schemas \ compiz-fade.schemas \ compiz-fs.schemas \ compiz-gconf.schemas \ compiz-glib.schemas \ compiz-gnomecompat.schemas \ compiz-ini.schemas \ compiz-inotify.schemas \ compiz-kconfig.schemas \ compiz-minimize.schemas \ compiz-move.schemas \ compiz-obs.schemas \ compiz-place.schemas \ compiz-png.schemas \ compiz-regex.schemas \ compiz-resize.schemas \ compiz-rotate.schemas \ compiz-scale.schemas \ compiz-screenshot.schemas \ compiz-svg.schemas \ compiz-switcher.schemas \ compiz-video.schemas \ compiz-water.schemas \ compiz-wobbly.schemas \ compiz-zoom.schemas OPTIONS_DEFINE= DBUS FUSE GTK2 SVG OPTIONS_DEFAULT=DBUS GTK2 SVG OPTIONS_SUB= yes DBUS_CONFIGURE_ENABLE= dbus DBUS_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus DBUS_RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus FUSE_CONFIGURE_ENABLE= fuse FUSE_USES= fuse GTK2_CONFIGURE_ENABLE= gtk GTK2_USE= GNOME=glib20,libwnck SVG_CONFIGURE_ENABLE= librsvg SVG_USE= GNOME=librsvg2 .include .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/compton/Makefile b/x11-wm/compton/Makefile index 0cf2c18c85c4..6c1c88e67a42 100644 --- a/x11-wm/compton/Makefile +++ b/x11-wm/compton/Makefile @@ -1,69 +1,69 @@ PORTNAME= compton PORTVERSION= 20160907 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-wm MAINTAINER= femc7488@gmail.com COMMENT= Feature-rich compositing window manager for X11 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= xprop:x11/xprop \ xwininfo:x11/xwininfo CONFLICTS_INSTALL= picom # bin/compton USE_GITHUB= yes GH_ACCOUNT= chjj GH_TAGNAME= b7f43ee USES= gmake pkgconfig xorg USE_XORG= x11 xcomposite xdamage xext xfixes xrandr xrender MAKE_ARGS= COMPTON_VERSION=git-${PORTVERSION}-${GH_TAGNAME} \ XDGDIR=${LOCALBASE}/etc/xdg ALL_TARGET= ${PORTNAME} OPTIONS_DEFINE= CONFIG PCRE DRM OPENGL DBUS XINERAMA DOCS OPTIONS_DEFAULT= CONFIG PCRE DRM OPENGL DBUS XINERAMA CONFIG_DESC= Configuration file parsing support PCRE_DESC= Blacklist support (via libpcre) DRM_DESC= DRM VSync method support OPENGL_DESC= GLX backend, OpenGL VSync method, etc. DOCS_DESC= Build manpages (requires AsciiDoc/DocBook) CONFIG_LIB_DEPENDS= libconfig.so:devel/libconfig CONFIG_MAKE_ARGS_OFF= NO_LIBCONFIG=yes PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_MAKE_ARGS_OFF= NO_REGEX_PCRE=yes DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_MAKE_ARGS_OFF= NO_VSYNC_DRM=yes OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_MAKE_ARGS_OFF= NO_VSYNC_OPENGL=yes DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_MAKE_ARGS_OFF= NO_DBUS=yes XINERAMA_USE= XORG=xinerama XINERAMA_MAKE_ARGS_OFF= NO_XINERAMA=yes DOCS_BUILD_DEPENDS= a2x:textproc/asciidoc \ xsltproc:textproc/libxslt \ docbook-xml>0:textproc/docbook-xml \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl DOCS_MAKE_ARGS= DOCDIR=${DOCSDIR} MANDIR=${MANPREFIX}/man/man1 DOCS_ALL_TARGET= docs DOCS_PLIST_FILES= man/man1/compton.1.gz man/man1/compton-trans.1.gz DOCS_PORTDOCS= README.md cdbus-driver.sh post-patch: @${REINPLACE_CMD} -e '/config_system_dir/s|/etc|${LOCALBASE}&|' \ ${WRKSRC}/src/compton.c .include diff --git a/x11-wm/emerald/Makefile b/x11-wm/emerald/Makefile index 8ec3fe251c63..24469188618c 100644 --- a/x11-wm/emerald/Makefile +++ b/x11-wm/emerald/Makefile @@ -1,44 +1,44 @@ PORTNAME= emerald PORTVERSION= 0.8.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11-wm MASTER_SITES= https://BSDforge.com/projects/source/x11-wm/emerald/ MAINTAINER= portmaster@BSDforge.com COMMENT= Emerald Window Decorator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS:= ${BUILD_DEPENDS} INSTALLS_ICONS= yes GNU_CONFIGURE= yes USES= desktop-file-utils gl gmake gnome libtool pathfix \ pkgconfig shared-mime-info tar:bzip2 xorg USE_GL= gl USE_GNOME= cairo gtk20 intltool libwnck pango USE_XORG= x11 xrender USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS OPTIONS_DEFAULT= NLS NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime gettext-tools # XXX - might want to change that post-patch: @${REINPLACE_CMD} 's|icons/gnome|icons/hicolor|' ${WRKSRC}/misc/Makefile.in @${REINPLACE_CMD} -e 's|#define GDK_DISABLE_DEPRECATED||g' \ -e 's|#define GTK_DISABLE_DEPRECATED||g' ${WRKSRC}/include/emerald.h @${REINPLACE_CMD} '/^emerald_LDADD =/s/$$/ -lm/' ${WRKSRC}/src/Makefile.in .include diff --git a/x11-wm/epplets/Makefile b/x11-wm/epplets/Makefile index cad39ca13142..84754d6f980d 100644 --- a/x11-wm/epplets/Makefile +++ b/x11-wm/epplets/Makefile @@ -1,33 +1,33 @@ # Created by: Yukihiro Nakai PORTNAME= epplets PORTVERSION= 0.14 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= x11-wm MASTER_SITES= SF/enlightenment/${PORTNAME}/${PORTVERSION} MAINTAINER= enlightenment@FreeBSD.org COMMENT= Collection of Enlightenment dock applications BUILD_DEPENDS= e16:x11-wm/e16 LIB_DEPENDS= libcdaudio.so:audio/libcdaudio RUN_DEPENDS= e16:x11-wm/e16 \ import:graphics/ImageMagick6 USES= gl gmake libtool pkgconfig xorg USE_XORG= xext USE_GL= glut USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-auto-respawn \ --disable-esound post-patch: @${REINPLACE_CMD} -e 's|||g' \ ${WRKSRC}/epplets/Emix.c @${REINPLACE_CMD} -e 's|||g' \ ${WRKSRC}/epplets/mbox.c .include diff --git a/x11-wm/muffin/Makefile b/x11-wm/muffin/Makefile index d268646c849a..ad6b27ccc7ab 100644 --- a/x11-wm/muffin/Makefile +++ b/x11-wm/muffin/Makefile @@ -1,71 +1,72 @@ # Created by: Gustau Perez i Querol PORTNAME= muffin PORTVERSION= 4.8.0 +PORTREVISION= 1 CATEGORIES= x11-wm gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Compositing window manager forked from Mutter for use with Cinnamon LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= zenity>=3.0.0:x11/zenity \ gnome-autogen.sh:devel/gnome-common \ gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas \ gtkdocize:textproc/gtk-doc \ xkeyboard-config>0:x11/xkeyboard-config LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcinnamon-desktop.so:x11/cinnamon-desktop \ libdrm.so:graphics/libdrm \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjson-glib-1.0.so:devel/json-glib \ libstartup-notification-1.so:x11/startup-notification \ libwacom.so:x11/libwacom \ libxkbcommon.so:x11/libxkbcommon \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= zenity>=3.0.0:x11/zenity \ xkeyboard-config>0:x11/xkeyboard-config USES= autoreconf:build compiler:c11 gettext-tools gl gmake gnome \ libtool localbase pathfix pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_GNOME= cairo dconf gdkpixbuf2 gnomeprefix glib20 gtk30 intltool \ introspection USE_XORG= ice sm x11 xcb xcomposite xcursor xdamage xext xfixes xi xinerama \ xkbfile xrandr xrender xtst USE_GL= egl gbm gl USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-maintainer-flags=no INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.cinnamon.muffin.gschema.xml OPTIONS_DEFINE= WAYLAND OPTIONS_DEFAULT= WAYLAND OPTIONS_SUB= yes WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libinput.so:x11/libinput \ libudev.so:devel/libudev-devd \ libwayland-server.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland-egl-server post-patch: @${REINPLACE_CMD} 's/--warn-error//' ${WRKSRC}/src/Makefile.am pre-configure: @cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} autogen.sh .include diff --git a/x11-wm/mutter/Makefile b/x11-wm/mutter/Makefile index c723f719e374..395ea872a071 100644 --- a/x11-wm/mutter/Makefile +++ b/x11-wm/mutter/Makefile @@ -1,68 +1,69 @@ # Created by: Pawel Worach PORTNAME= mutter PORTVERSION= 3.36.6 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Window and compositing manager based on Clutter LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= zenity>=3.0.0:x11/zenity \ xkeyboard-config>=0:x11/xkeyboard-config \ gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas \ gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \ libfribidi.so:converters/fribidi \ libxkbcommon.so:x11/libxkbcommon \ libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libupower-glib.so:sysutils/upower \ libjson-glib-1.0.so:devel/json-glib \ libxkbfile.so:x11/libxkbfile \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libdrm.so:graphics/libdrm \ libpipewire-0.3.so:multimedia/pipewire \ libgraphene-1.0.so:graphics/graphene RUN_DEPENDS= zenity>=3.0.0:x11/zenity \ xkeyboard-config>=0:x11/xkeyboard-config \ gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas \ gnome-settings-daemon>0:sysutils/gnome-settings-daemon PORTSCOUT= limitw:1,even USES= compiler:c++0x gettext gl gnome localbase meson \ pkgconfig tar:xz xorg USE_GL= egl gbm USE_GNOME= cairo gdkpixbuf2 gnomedesktop3 introspection USE_XORG= ice sm x11 xcb xcomposite xcursor xdamage xext xfixes \ xi xinerama xrandr xrender xtst USE_LDCONFIG= yes CFLAGS+= -Wno-unknown-warning-option \ -Wno-format-nonliteral CPPFLAGS+= -fno-omit-frame-pointer MESON_ARGS= -Dlibwacom=false \ -Dwayland=false \ -Dudev=false \ -Dnative_backend=false \ -Dprofiler=false \ -Dtests=false \ -Dsm=true # Required by embedded cogl/clutter forks. MESON_ARGS+= -Dopengl_libname=libGL.so \ -Dgles2_libname=libGLESv2 # Disable remote_desktop for now because it requires memfd which only appears current MESON_ARGS+= -Dremote_desktop=false GLIB_SCHEMAS= org.gnome.mutter.gschema.xml \ org.gnome.mutter.wayland.gschema.xml .include diff --git a/x11-wm/phoc/Makefile b/x11-wm/phoc/Makefile index e86f1661e85a..ee7ded82187d 100644 --- a/x11-wm/phoc/Makefile +++ b/x11-wm/phoc/Makefile @@ -1,44 +1,45 @@ PORTNAME= phoc DISTVERSIONPREFIX= v DISTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= x11-wm PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= b37bf15194e6.patch:-p1 # https://source.puri.sm/Librem5/phoc/-/merge_requests/241 MAINTAINER= jbeich@FreeBSD.org COMMENT= Phone compositor LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto LIB_DEPENDS= libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= ${LOCALBASE}/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml:x11-wm/mutter USES= compiler:c11 gl gnome meson pkgconfig python:build shebangfix xorg USE_GITLAB= yes USE_GL= glesv2 USE_GNOME= gnomedesktop3 USE_XORG= pixman xcb GL_SITE= https://source.puri.sm GL_ACCOUNT= Librem5 GL_COMMIT= 8e51b02c7fb9b103d8e80fb77145dddfb4b5b3a2 SHEBANG_FILES= build-aux/post_install.py CFLAGS+= -Wno-error=format-nonliteral # clang PLIST_FILES= bin/${PORTNAME} GLIB_SCHEMAS= sm.puri.phoc.gschema.xml post-extract: # Avoid confusing Meson instead of forcing -Dembed-wlroots=disabled @${RMDIR} ${WRKSRC}/subprojects/wlroots .if defined(PATCHFILES) && ${PATCHFILES:Mb37bf15194e6*} # Pretend to be a regular file for vendor patch to apply as is @${ECHO_CMD} "Subproject commit 3d227f140e3c4af42d759477fc38e82a4c3dc4ef" \ >${WRKSRC}/subprojects/wlroots .endif .include diff --git a/x11-wm/picom/Makefile b/x11-wm/picom/Makefile index 2ac71a194037..a905cc90e1f1 100644 --- a/x11-wm/picom/Makefile +++ b/x11-wm/picom/Makefile @@ -1,71 +1,72 @@ PORTNAME= picom DISTVERSIONPREFIX= v DISTVERSION= 8.2 +PORTREVISION= 1 CATEGORIES= x11-wm PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 78223caea3f7.patch:-p1 # https://github.com/yshui/picom/pull/422 MAINTAINER= jbeich@FreeBSD.org COMMENT= Lightweight X11 compositor LICENSE= MIT MPL20 LICENSE_COMB= multi LICENSE_FILE_MIT= ${WRKSRC}/LICENSES/MIT BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash LIB_DEPENDS= libev.so:devel/libev \ libxcb-image.so:x11/xcb-util-image \ libxcb-render-util.so:x11/xcb-util-renderutil RUN_DEPENDS= xprop:x11/xprop \ xwininfo:x11/xwininfo CONFLICTS_INSTALL= compton # bin/compton USES= compiler:c11 meson localbase pkgconfig xorg USE_GITHUB= yes USE_XORG= x11 xcb xext pixman GH_ACCOUNT= yshui MESON_ARGS= -Dunittest=true TEST_TARGET= test OPTIONS_DEFINE= CONFIG DBUS DOCS DRM OPENGL PCRE OPTIONS_DEFAULT=CONFIG DBUS OPENGL PCRE CONFIG_DESC= Configuration file parsing support CONFIG_LIB_DEPENDS= libconfig.so:devel/libconfig CONFIG_MESON_TRUE= config_file PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_MESON_TRUE= regex DRM_DESC= DRM VSync fallback (deprecated) DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_MESON_TRUE= vsync_drm OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_MESON_TRUE= opengl DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_MESON_TRUE= dbus DOCS_BUILD_DEPENDS= a2x:textproc/asciidoc DOCS_MESON_TRUE= with_docs DOCS_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \ share/man/man1/${PORTNAME}-trans.1.gz post-patch: @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/src/config_libconfig.c # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e "/project_version/s/=.*/= '${DISTVERSIONFULL}'/" \ ${WRKSRC}/meson.build post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.sample.conf \ ${STAGEDIR}${PREFIX}/etc/xdg/${PORTNAME}.conf.sample .include diff --git a/x11-wm/plasma5-kwin/Makefile b/x11-wm/plasma5-kwin/Makefile index dc94b2c23f3e..23735f632991 100644 --- a/x11-wm/plasma5-kwin/Makefile +++ b/x11-wm/plasma5-kwin/Makefile @@ -1,52 +1,53 @@ PORTNAME= kwin DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11-wm kde kde-plasma MAINTAINER= kde@FreeBSD.org COMMENT= Plasma5 window manager LICENSE= GPLv2 LIB_DEPENDS= libXcursor.so:x11/libXcursor \ libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy \ libepoll-shim.so:devel/libepoll-shim \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libinput.so:x11/libinput \ libudev.so:devel/libudev-devd \ liblcms2.so:graphics/lcms2 \ libwayland-cursor.so:graphics/wayland \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxkbcommon.so:x11/libxkbcommon BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ xwayland-devel>0:x11-servers/xwayland-devel \ ${kde-kwayland-protocols_LIB}:${kde-kwayland-protocols_PORT} RUN_DEPENDS= xwayland-devel>0:x11-servers/xwayland-devel \ ${kde-kwayland-protocols_LIB}:${kde-kwayland-protocols_PORT} USES= cmake compiler:c++11-lib cpe gettext gl gnome kde:5 pkgconfig python:3.5+,run \ qt:5 shebangfix tar:xz xorg USE_GL= egl USE_GNOME= glib20 USE_KDE= activities activities attica auth breeze codecs \ completion config configwidgets coreaddons crash decoration \ globalaccel i18n iconthemes idletime init \ jobwidgets kcmutils kdeclarative kio kscreenlocker \ newstuff notifications package plasma-framework runner service sonnet \ textwidgets widgetsaddons windowsystem xmlgui \ kwayland-integration kwayland-server wayland \ doctools_build USE_LDCONFIG= yes USE_QT= concurrent core dbus declarative gui multimedia network script \ sensors testlib uiplugin uitools widgets x11extras xml \ buildtools_build qmake_build \ quickcontrols2_run virtualkeyboard_run USE_XORG= ice sm x11 xcb xext xi SHEBANG_FILES= kconf_update/*.py \ kconf_update/*.pl .include diff --git a/x11-wm/sway/Makefile b/x11-wm/sway/Makefile index 7fba5468b7c4..ec9d91455048 100644 --- a/x11-wm/sway/Makefile +++ b/x11-wm/sway/Makefile @@ -1,66 +1,67 @@ PORTNAME= sway DISTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= x11-wm PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= cd9d1038a822.patch:-p1 # https://github.com/swaywm/sway/pull/5090 PATCHFILES+= f98ca3ab7ca1.patch:-p1 # https://github.com/swaywm/sway/pull/5090 MAINTAINER= jbeich@FreeBSD.org COMMENT= i3-compatible Wayland compositor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.14:graphics/wayland-protocols \ wlroots>=0.13.0<0.14.0:x11-toolkits/wlroots LIB_DEPENDS= libjson-c.so:devel/json-c \ libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd \ libpcre.so:devel/pcre \ libwayland-egl.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= swaybg:x11/swaybg USES= compiler:c11 gl gnome meson pkgconfig xorg USE_GITHUB= yes USE_GL= glesv2 USE_GNOME= cairo pango USE_XORG= pixman GH_ACCOUNT= swaywm MESON_ARGS= -Dsd-bus-provider=basu OPTIONS_DEFINE= BASU MANPAGES PIXBUF SUID X11 OPTIONS_DEFAULT=BASU MANPAGES PIXBUF SUID X11 OPTIONS_SUB= yes BASU_DESC= Tray in swaybar via basu BASU_LIB_DEPENDS= libbasu.so:devel/basu BASU_MESON_ENABLED= tray MANPAGES_BUILD_DEPENDS= scdoc>=1.9.2:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= gdk-pixbuf SUID_DESC= setuid bit on "sway" binary (to claim DRM without seatd/console-kit-daemon) SUID_PLIST_SUB= MAYBE_SUID="@(,,4755) " SUID_PLIST_SUB_OFF= MAYBE_SUID="" X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland post-patch: # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e '/config\.in/{ N; s/@BASENAME@/&.sample/; }' \ ${WRKSRC}/meson.build # 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 .include diff --git a/x11-wm/wayfire/Makefile b/x11-wm/wayfire/Makefile index 0c7888768f0d..175f452d754d 100644 --- a/x11-wm/wayfire/Makefile +++ b/x11-wm/wayfire/Makefile @@ -1,58 +1,59 @@ PORTNAME= wayfire DISTVERSIONPREFIX= v DISTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= x11-wm MAINTAINER= jbeich@FreeBSD.org COMMENT= 3D Wayland compositor LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wf-config>=0.7.0<0.8.0:devel/wf-config \ ${LOCALBASE}/include/xf86drmMode.h:graphics/libdrm \ wayland-protocols>=1.12:graphics/wayland-protocols \ glm>=0.9.8:math/glm \ wlroots>=0.13.0<0.14.0:x11-toolkits/wlroots LIB_DEPENDS= libinotify.so:devel/libinotify \ libwf-config.so:devel/wf-config \ libpng.so:graphics/png \ libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c++17-lang gl gnome jpeg meson pkgconfig xorg USE_GITHUB= yes USE_GL= egl glesv2 USE_GNOME= cairo USE_XORG= pixman GH_ACCOUNT= WayfireWM GH_TUPLE= WayfireWM:wf-touch:8974eb0:wftouch/subprojects/wf-touch \ WayfireWM:wf-utils:f45641b:wfutils/subprojects/wf-utils OPTIONS_DEFINE= SUID X11 OPTIONS_DEFAULT=SUID X11 SUID_DESC= setuid bit on "${PORTNAME}" binary (to claim DRM without seatd/console-kit-daemon) SUID_PLIST_SUB= MAYBE_SUID="@(,,4755) " SUID_PLIST_SUB_OFF= MAYBE_SUID="" X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland post-patch: # 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 post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${PREFIX}/share/wayland-sessions ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/wayland-sessions .include diff --git a/x11-wm/wmanager/Makefile b/x11-wm/wmanager/Makefile index 175b94bf2683..aecda27936d4 100644 --- a/x11-wm/wmanager/Makefile +++ b/x11-wm/wmanager/Makefile @@ -1,45 +1,45 @@ # Created by: Will Andrews PORTNAME= wmanager PORTVERSION= 0.2.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= x11-wm MASTER_SITES= DEBIAN_POOL DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= X11 window manager selector LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfltk.so:x11-toolkits/fltk WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= gl gmake xorg USE_XORG= x11 xext USE_GL= gl OPTIONS_DEFINE= ADDONS DOCS EXAMPLES OPTIONS_DEFAULT=ADDONS OPTIONS_SUB= yes ADDONS_DESC= Install the helper scripts and manpages ADDONS_RUN_DEPENDS= wmanager-loop:x11-wm/wmanager-addons do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in FAQ HISTORY INSTALL NEWS README TODO ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/.wmanagerrc ${STAGEDIR}${EXAMPLESDIR}/wmanagerrc_sample ${INSTALL_DATA} ${WRKSRC}/.xinitrc ${STAGEDIR}${EXAMPLESDIR}/xinitrc_sample .include diff --git a/x11/3ddesktop/Makefile b/x11/3ddesktop/Makefile index 96456d56226d..014cb2fa2408 100644 --- a/x11/3ddesktop/Makefile +++ b/x11/3ddesktop/Makefile @@ -1,43 +1,43 @@ # Created by: Adam Weinberger PORTNAME= 3ddesktop PORTVERSION= 0.2.9 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= x11 MASTER_SITES= SF/desk3d/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= 3D Virtual Desktop Switcher LIB_DEPENDS= libImlib2.so:graphics/imlib2 USES= gl localbase xorg USE_XORG= xmu USE_GL= glut GNU_CONFIGURE= yes PORTDOCS= README README.windowmanagers PLIST_FILES= bin/3ddesk bin/3ddeskd etc/3ddesktop.conf \ %%DATADIR%%/digits.bmp \ man/man1/3ddesk.1.gz man/man1/3ddeskd.1.gz CPPFLAGS+= -DHAVE_DECL_GETOPT -pthread LDFLAGS+= -pthread OPTIONS_DEFINE= DOCS post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-O3||g ; \ s|@ACLOCAL@|${TRUE}|g ; \ s|@AUTOCONF@|${TRUE}|g ; \ s|@AUTOHEADER@|${TRUE}|g ; \ s|@AUTOMAKE@|${TRUE}|g' post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README README.windowmanagers ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/x11/aminal/Makefile b/x11/aminal/Makefile index acf8eae48434..ea0a17d6eff3 100644 --- a/x11/aminal/Makefile +++ b/x11/aminal/Makefile @@ -1,32 +1,32 @@ PORTNAME= aminal DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= yuri@FreeBSD.org COMMENT= Golang terminal emulator from scratch LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= gl go xorg USE_GITHUB= yes GH_ACCOUNT= liamg GH_TUPLE= BurntSushi:xgb:27f1227:xgb/vendor/github.com/BurntSushi/xgb \ gen2brain:shm:6c18ff7:shm/vendor/github.com/gen2brain/shm USE_GL= gl USE_XORG= x11 xcursor xi xinerama xrandr xxf86vm GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} PORTSCOUT= limit:^[0-9].* post-patch: # https://github.com/liamg/aminal/issues/208 @cd ${WRKSRC}/platform && \ ${CP} linuxLaunch.go freebsdLaunch.go && \ ${REINPLACE_CMD} 's|build linux|build freebsd|' freebsdLaunch.go .include diff --git a/x11/cinnamon-session/Makefile b/x11/cinnamon-session/Makefile index 54a93f4be55c..f623ba1bd710 100644 --- a/x11/cinnamon-session/Makefile +++ b/x11/cinnamon-session/Makefile @@ -1,44 +1,45 @@ # Created by: Gustau Perez i Querol PORTNAME= cinnamon-session PORTVERSION= 4.8.0 +PORTREVISION= 1 CATEGORIES= x11 gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Session component for the cinnamon desktop LICENSE= GPLv2 LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libxapp.so:x11/xapp \ libcanberra.so:audio/libcanberra RUN_DEPENDS= console-kit-daemon:sysutils/consolekit2 USES= gl gnome meson pkgconfig python:3.5+,build shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint SHEBANG_FILES= data/meson_install_schemas.py USE_GNOME= cairo gdkpixbuf2 gtk30 USE_XORG= ice sm x11 xau xcomposite xext xrender xtrans xtst USE_GL= gl INSTALLS_ICONS= yes GLIB_SCHEMAS= org.cinnamon.SessionManager.gschema.xml OPTIONS_DEFINE= DOCS GCONF IPV6 OPTIONS_DEFAULT= IPV6 DOCS_BUILD_DEPENDS= xmlto:textproc/xmlto DOCS_MESON_TRUE= docbook GCONF_USE= gnome=gconf2 GCONF_MESON_TRUE= gconf IPV6_MESON_TRUE= ipv6 .include diff --git a/x11/cinnamon/Makefile b/x11/cinnamon/Makefile index 242d60003c7c..d46c5f5c14b6 100644 --- a/x11/cinnamon/Makefile +++ b/x11/cinnamon/Makefile @@ -1,118 +1,119 @@ # Created by: Gustau Perez i Querol PORTNAME= cinnamon PORTVERSION= 4.8.6 +PORTREVISION= 1 CATEGORIES= x11 gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Fork of GNOME Shell with layout similar to GNOME 2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ca_root_nss>0:security/ca_root_nss LIB_DEPENDS= libcjs.so:lang/cjs \ libmuffin.so:x11-wm/muffin \ libcinnamon-menu-3.so:x11/cinnamon-menus \ libdbus-1.so:devel/dbus \ libpolkit-agent-1.so:sysutils/polkit \ libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libstartup-notification-1.so:x11/startup-notification \ libsoup-2.4.so:devel/libsoup RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ ca_root_nss>0:security/ca_root_nss \ gnome-themes-extra>3.0.0:x11-themes/gnome-themes-extra \ caribou>0:accessibility/caribou \ cinnamon-control-center:sysutils/cinnamon-control-center \ cinnamon-screensaver:x11/cinnamon-screensaver \ nemo:x11-fm/nemo \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-xapp>0:x11/py-python-xapp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-pam>0:security/py-python-pam@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tinycss>0:textproc/py-tinycss@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} \ timezonemap>0:misc/timezonemap \ gnome-backgrounds>0:x11-themes/gnome-backgrounds \ metacity:x11-wm/metacity \ tint2:x11/tint USES= compiler:c11 gettext gl gnome meson pkgconfig python:3.5+ shebangfix xorg USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool introspection libxml2 pygobject3 USE_XORG= x11 xfixes USE_GL= gl USE_GSTREAMER1= yes USE_GITHUB= yes GH_ACCOUNT= linuxmint SHEBANG_GLOB= *.py SHEBANG_FILES= files/* INSTALLS_ICONS= yes USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_CMD} MESON_ARGS= -Ddisable_networkmanager=true GLIB_SCHEMAS= org.cinnamon.gschema.xml OPTIONS_DEFINE= DOCS NLS OPTIONS_DEFAULT= DOCS NLS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= docs NLS_RUN_DEPENDS= cinnamon-translations>0:misc/cinnamon-translations post-patch: @${REINPLACE_CMD} -e '/prefix/s|/usr|${PREFIX}|g ;\ /datadir/s|/usr|${PREFIX}|g ;\ /libdir/s|/usr|${PREFIX}|g ;\ /libexecdir/s|/usr|${PREFIX}|g' \ ${WRKSRC}/files/usr/share/cinnamon/cinnamon-menu-editor/cme/config.py @${FIND} ${WRKSRC} -name \* -type f | ${XARGS} ${EGREP} -l "/usr/share/cinnamon/locale" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/share/cinnamon/locale|${PREFIX}/share/locale|g" @${FIND} ${WRKSRC} -name \* -type f | ${XARGS} ${EGREP} -l "/usr/share" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" @${FIND} ${WRKSRC} -name \* -type f | ${XARGS} ${EGREP} -l "/usr/lib" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/lib|${PREFIX}/lib|g" @${FIND} ${WRKSRC} -name \* -type f | ${XARGS} ${EGREP} -l "/usr/bin" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/bin|${PREFIX}/bin|g" @${REINPLACE_CMD} -e '/cs-bluetooth/d; /cs-network/d' \ ${WRKSRC}/files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py # Some python files use #! /usr/bin/python (note the space between the bang and the python interpreter @${FIND} ${WRKSRC} -name \* -type f | ${XARGS} ${EGREP} -l "#!.*\/usr\/bin\/python" | \ ${XARGS} ${REINPLACE_CMD} -e "s|#!.*python.*|#!/usr/bin/env python|g" # gtk-doc builds erroneous documentation files otherwise @${FIND} ${WRKSRC} -name '*.orig' -type f -delete @${FIND} ${WRKSRC} -name '*.bak' -type f -delete # Adhere to our hier(7) @${MKDIR} ${WRKSRC}/files${PREFIX} @${MV} ${WRKSRC}/files/etc ${WRKSRC}/files${PREFIX} . for i in bin share @${MV} ${WRKSRC}/files/usr/${i} ${WRKSRC}/files${PREFIX} . endfor post-install: # Ship the GNOME Backgrounds set @${MKDIR} ${STAGEDIR}${PREFIX}/share/cinnamon-background-properties @${LN} -s ${PREFIX}/share/gnome-background-properties/adwaita.xml \ ${STAGEDIR}${PREFIX}/share/cinnamon-background-properties/adwaita.xml @${LN} -s ${PREFIX}/share/gnome-background-properties/gnome-backgrounds.xml \ ${STAGEDIR}${PREFIX}/share/cinnamon-background-properties/gnome-backgrounds.xml .include diff --git a/x11/cool-retro-term/Makefile b/x11/cool-retro-term/Makefile index 53896d2a2fab..6a176b230d9d 100644 --- a/x11/cool-retro-term/Makefile +++ b/x11/cool-retro-term/Makefile @@ -1,37 +1,37 @@ # Created by: Alexey Dokuchaev PORTNAME= cool-retro-term PORTVERSION= 1.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= danfe@FreeBSD.org COMMENT= Terminal emulator which mimics old cathode displays LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= Swordfish90 GH_PROJECT= qmltermwidget:qtw GH_TAGNAME= 0.2.0:qtw GH_SUBDIR= ${GH_PROJECT} USES= compiler:c++11-lang gl gmake qmake qt:5 USE_GL= gl USE_QT= qmake_build buildtools_build core declarative gui \ network sql widgets graphicaleffects_run \ quickcontrols_run sql-sqlite3_run post-patch: @${REINPLACE_CMD} -e '/DEFINES +=/s,^macx:,,' \ ${WRKSRC}/qmltermwidget/qmltermwidget.pro @${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' \ ${WRKSRC}/app/app.pro ${WRKSRC}/cool-retro-term.pro @${REINPLACE_CMD} -e 's,\.\./icons,/icons,' \ ${WRKSRC}/app/main.cpp post-install: ${INSTALL_MAN} ${WRKSRC}/packaging/debian/cool-retro-term.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/x11/dsbautostart/Makefile b/x11/dsbautostart/Makefile index c0aa42b52f59..3a8faf631b8b 100644 --- a/x11/dsbautostart/Makefile +++ b/x11/dsbautostart/Makefile @@ -1,17 +1,18 @@ PORTNAME= dsbautostart PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://freeshell.de/~mk/download/ MAINTAINER= mk@nic-nac-project.org COMMENT= Manage commands to be executed at X session start LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang gl qmake qt:5 tar:tgz USE_GL= gl USE_QT= buildtools_build core gui linguisttools_build widgets .include diff --git a/x11/erun/Makefile b/x11/erun/Makefile index 3833c0d24767..762a80d20efd 100644 --- a/x11/erun/Makefile +++ b/x11/erun/Makefile @@ -1,31 +1,31 @@ # Created by: Kelly Yancey PORTNAME= E-Run PORTVERSION= 1.2 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= x11 MASTER_SITES= LOCAL/kbyanc MAINTAINER= enlightenment@FreeBSD.org COMMENT= Simple epplet for launching arbitrary programs LIB_DEPENDS= libepplet.so:x11-wm/epplets \ libImlib2.so:graphics/imlib2 PLIST_FILES= bin/E-Run.epplet WRKSRC= ${WRKDIR}/${PORTNAME} USES= gl USE_GL= gl CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lepplet -lImlib2 -lGL do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME}.epplet \ ${PORTNAME}.c ${LDFLAGS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.epplet ${STAGEDIR}${PREFIX}/bin .include diff --git a/x11/fireflies/Makefile b/x11/fireflies/Makefile index d252b4012dcc..122d0a9f793d 100644 --- a/x11/fireflies/Makefile +++ b/x11/fireflies/Makefile @@ -1,32 +1,32 @@ # Created by: UMENO Takashi PORTNAME= fireflies PORTVERSION= 2.07 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11 MASTER_SITES= http://somewhere.fscked.org/proj/fireflies/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Extension of xscreensaver LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgfx.so:graphics/libgfx GNU_CONFIGURE= yes USES= gl USE_GL= gl glu EXTRACT_AFTER_ARGS=--exclude '${DISTNAME}/libgfx*' CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/GL LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-bindir=${LOCALBASE}/bin/xscreensaver-hacks \ --with-confdir=${LOCALBASE}/share/xscreensaver/config PLIST_SUB= VERSION=${PORTVERSION} MAKE_ARGS= CONFIGURE_ENV=${CONFIGURE_ENV:Q} \ CONFIGURE_SCRIPT=${CONFIGURE_SCRIPT:Q} \ CONFIGURE_ARGS=${CONFIGURE_ARGS:Q} .include diff --git a/x11/glcapsviewer/Makefile b/x11/glcapsviewer/Makefile index bc3bbe3243fa..2eb88576b60a 100644 --- a/x11/glcapsviewer/Makefile +++ b/x11/glcapsviewer/Makefile @@ -1,48 +1,49 @@ # Created by: Alexey Dokuchaev PORTNAME= glcapsviewer DISTVERSION= g20190521 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= danfe@FreeBSD.org COMMENT= OpenGL hardware capability viewer LICENSE= LGPL3 LIB_DEPENDS= libglfw.so:graphics/glfw USE_GITHUB= yes GH_ACCOUNT= SaschaWillems GH_PROJECT= glCapsViewer GH_TAGNAME= 26e160c USES= cmake compiler:c++11-lang gl qt:5 xorg USE_GL= gl glew glu USE_QT= buildtools_build qmake_build core gui network widgets USE_XORG= ice sm x11 xext PLIST_FILES= bin/glcapsviewer ${DATADIR_REL}/capslist.xml \ ${DATADIR_REL}/enumList.xml post-patch: @${REINPLACE_CMD} -e '/target_link_libraries/s,glfw ,,' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__, ; /ifstream\ enumListxml/s,[^"]*ist\.xml",${DATADIR}/&,' \ ${WRKSRC}/glCapsViewer.cpp ${WRKSRC}/glCapsViewerCore.cpp # We install provided `capslist.xml' in the ${DATADIR}, hence disable # checking for ./capslist.xml and needlessly downloading it @${REINPLACE_CMD} -e 's,!capsXmlFile\.exists,false \&\& &,' \ ${WRKSRC}/main.cpp # Spell XML correctly (it is an abbreviation) @${REINPLACE_CMD} -e 's, xml, XML,' ${WRKSRC}/glCapsViewer.ui # Copyright information does not belong in the window title @${REINPLACE_CMD} -e 's, - [^"]*,,' ${WRKSRC}/glCapsViewerCore.h do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.xml ${STAGEDIR}${DATADIR} .include diff --git a/x11/gnome-session/Makefile b/x11/gnome-session/Makefile index 51a30ca3a515..56dca78f806a 100644 --- a/x11/gnome-session/Makefile +++ b/x11/gnome-session/Makefile @@ -1,38 +1,39 @@ # Created by: Joe Marcus Clarke PORTNAME= gnome-session PORTVERSION= 3.38.0 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Session component for the GNOME 3 desktop LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xmlto:textproc/xmlto LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libdbus-glib-1.so:devel/dbus-glib \ libepoxy.so:graphics/libepoxy RUN_DEPENDS= ${LOCALBASE}/sbin/console-kit-daemon:sysutils/consolekit2 \ dbus-daemon:devel/dbus PORTSCOUT= limitw:1,even USES= compiler:c11 gettext gl gnome localbase:ldflags meson \ pkgconfig python:3.6+,build tar:xz xorg USE_GNOME= gnomedesktop3 gtk30 USE_XORG= ice sm x11 xcomposite xtrans USE_GL= egl gl glesv2 INSTALLS_ICONS= yes MESON_ARGS= -Dsystemd=false \ -Dsystemd_session=disable \ -Dsystemd_journal=false \ -Dconsolekit=true BINARY_ALIAS= python3=${PYTHON_VERSION} GLIB_SCHEMAS= org.gnome.SessionManager.gschema.xml .include diff --git a/x11/gnome-shell/Makefile b/x11/gnome-shell/Makefile index 963a6261befb..ab3d18da7df8 100644 --- a/x11/gnome-shell/Makefile +++ b/x11/gnome-shell/Makefile @@ -1,85 +1,85 @@ # Created by: Pawel Worach PORTNAME= gnome-shell PORTVERSION= 3.36.6 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Next generation GNOME desktop shell LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl \ sassc:textproc/sassc \ gnome-control-center:sysutils/gnome-control-center \ a2x:textproc/asciidoc \ ${LOCALBASE}/share/bash-completion/bash_completion.sh:shells/bash-completion LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \ libdrm.so:graphics/libdrm \ libmutter-6.so:x11-wm/mutter \ libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libsoup-2.4.so:devel/libsoup \ libjson-glib-1.0.so:devel/json-glib \ libsecret-1.so:security/libsecret \ libpolkit-agent-1.so:sysutils/polkit \ libp11-kit.so:security/p11-kit \ libical.so:devel/libical \ libgcr-base-3.so:security/gcr \ libicuuc.so:devel/icu \ libpulse.so:audio/pulseaudio \ libcroco-0.6.so:textproc/libcroco \ libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libp11-kit.so:security/p11-kit \ libgjs.so:lang/gjs \ libgraphene-1.0.so:graphics/graphene \ libgnome-autoar-0.so:archivers/gnome-autoar RUN_DEPENDS= gnome-control-center:sysutils/gnome-control-center \ gkbd-keyboard-display:x11/libgnomekbd \ gdm:x11/gdm PORTSCOUT= limitw:1,even USES= compiler:c11 cpe gettext gl gnome libtool localbase meson \ pathfix perl5 pkgconfig python:3.4+ shebangfix tar:xz \ webplugin:native xorg USE_GNOME= cairo evolutiondataserver3 gdkpixbuf2 introspection \ libxslt:build libxml2 gnomedesktop3 USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr xtst USE_GL= egl gbm USE_GSTREAMER1= yes USE_PERL5= build USE_LDCONFIG= yes SHEBANG_FILES= src/gnome-shell-perf-tool.in \ src/gnome-shell-extension-tool.in BINARY_ALIAS= python3=${PYTHON_CMD} WEBPLUGIN_NAME= libgnome-shell-browser-plugin.so WEBPLUGIN_DIR= ${PREFIX}/lib/mozilla/plugins/ WEBPLUGIN_FILES=libgnome-shell-browser-plugin.so MESON_ARGS= -Dsystemd=false \ -Dnetworkmanager=false \ -Dpython=${PYTHON_CMD} CPE_VENDOR= gnome GLIB_SCHEMAS= org.gnome.shell.gschema.xml \ 00_org.gnome.shell.gschema.override .if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld # Work around "New rpath must not be longer than the old one." LDFLAGS+= -fuse-ld=lld .endif post-extract: ${CP} ${FILESDIR}/*.xml ${WRKSRC}/data/dbus-interfaces post-patch: ${REINPLACE_CMD} -e "s,python3,${PYTHON_VERSION},g" \ ${WRKSRC}/meson.build .include diff --git a/x11/kf5-kwayland/Makefile b/x11/kf5-kwayland/Makefile index 2aacacb13efa..81796dbcb633 100644 --- a/x11/kf5-kwayland/Makefile +++ b/x11/kf5-kwayland/Makefile @@ -1,23 +1,24 @@ PORTNAME= kwayland DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= KF5 Client and Server library wrapper for the Wayland libraries BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ wayland-protocols>=0:graphics/wayland-protocols \ plasma-wayland-protocols>=0:x11/plasma-wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual USES= cmake compiler:c++11-lib gettext gl kde:5 pkgconfig \ qt:5 tar:xz USE_GL= egl USE_KDE= ecm USE_QT= concurrent core gui testlib wayland \ buildtools_build qmake_build .include diff --git a/x11/kf5-plasma-framework/Makefile b/x11/kf5-plasma-framework/Makefile index 3fcb06b62f67..01eab0f3a32e 100644 --- a/x11/kf5-plasma-framework/Makefile +++ b/x11/kf5-plasma-framework/Makefile @@ -1,19 +1,20 @@ PORTNAME= plasma-framework DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= KF5 plugin based UI runtime used to write user interfaces USES= cmake compiler:c++11-lib gettext gl kde:5 pkgconfig qt:5 tar:xz xorg USE_GL= egl gl USE_KDE= activities archive auth codecs completion config \ configwidgets coreaddons dbusaddons doctools_build globalaccel \ guiaddons i18n iconthemes jobwidgets kirigami2 kio package \ notifications service wayland windowsystem xmlgui kdeclarative \ widgetsaddons USE_QT= buildtools_build concurrent core dbus declarative gui network qmake_build \ script sql svg widgets x11extras xml USE_XORG= ice sm x11 xcb xext xrandr .include diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile index e62a07896f7f..ca90342db67d 100644 --- a/x11/kitty/Makefile +++ b/x11/kitty/Makefile @@ -1,65 +1,66 @@ PORTNAME= kitty DISTVERSIONPREFIX= v DISTVERSION= 0.21.1 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= alexis.praga@free.fr COMMENT= Cross-platform, fast, featureful, GPU-based terminal emulator LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \ wayland-protocols>=0:graphics/wayland-protocols LIB_DEPENDS= libdbus-1.so:devel/dbus \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gettext-runtime gl gmake ncurses:port pkgconfig \ python:3.5+ shebangfix terminfo xorg USE_GITHUB= yes GH_ACCOUNT= kovidgoyal USE_GL= gl USE_XORG= x11 xcb xcursor xi xinerama xrandr SHEBANG_FILES= build-terminfo count-lines-of-code mypy-editor-integration \ update-on-ox update-on-ubuntu SHEBANG_GLOB= *.py TEST_ENV= PATH="${STAGEDIR}${PREFIX}/bin:${PATH}" TEST_TARGET= test .if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld # --build-id isn't supported by old GNU ld.bfd in base LDFLAGS+= -fuse-ld=lld .endif BINARY_ALIAS= python3=${PYTHON_CMD} python=${PYTHON_CMD} INSTALL_WRKSRC= ${WRKSRC}/linux-package _STRIP_TARGETS= lib/kitty/kitty/fast_data_types.so lib/kitty/kitty/glfw-x11.so \ lib/kitty/kittens/diff/diff_speedup.so \ lib/kitty/kittens/unicode_input/unicode_names.so \ lib/kitty/kitty/glfw-wayland.so \ lib/kitty/kittens/choose/subseq_matcher.so bin/kitty _EMPTY_DIRS= kittens/choose kittens/diff kittens/unicode_input kittens kitty do-build: (cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py linux-package --update-check-interval 0) ${FIND} ${INSTALL_WRKSRC} -name __pycache__ -type d -exec ${RM} -r -- {} + do-install: ${CP} -a ${INSTALL_WRKSRC}/ ${STAGEDIR}${PREFIX} ${STRIP_CMD} ${_STRIP_TARGETS:S|^|${STAGEDIR}${PREFIX}/|} ${INSTALL_DATA} ${WRKSRC}/terminfo/kitty.terminfo \ ${STAGEDIR}${PREFIX}/share/misc/ .include diff --git a/x11/lumina-core/Makefile b/x11/lumina-core/Makefile index 6b4d78b47da9..f26d2ae9fe9a 100644 --- a/x11/lumina-core/Makefile +++ b/x11/lumina-core/Makefile @@ -1,54 +1,55 @@ # Created by: Ken Moore PORTNAME= lumina-core DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Lumina Desktop Environment LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../../LICENSE RUN_DEPENDS= fluxbox>=0:x11-wm/fluxbox \ xscreensaver>=0:x11/xscreensaver \ xbrightness>=0:x11/xbrightness \ compton>=0:x11-wm/compton \ xrandr>=0:x11/xrandr \ numlockx>=0:x11/numlockx LIB_DEPENDS+= libxcb-ewmh.so:x11/xcb-util-wm \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-image.so:x11/xcb-util-image \ libxcb-util.so:x11/xcb-util \ libXcursor.so:x11/libXcursor USES= compiler:c++11-lang gl qmake qt:5 xorg USE_GL= gl USE_XORG= x11 xdamage xcb USE_LDCONFIG= yes USE_QT= buildtools_build concurrent core dbus gui imageformats \ multimedia network svg widgets x11extras USE_GITHUB= yes GH_ACCOUNT= lumina-desktop GH_PROJECT= lumina OPTIONS_DEFINE= MULTIMEDIA TRUEOS NLS OPTIONS_DEFAULT= MULTIMEDIA OPTIONS_SUB= yes MULTIMEDIA_DESC= Install multimedia support backend (gstreamer) TRUEOS_DESC= Use the TrueOS system interface settings. TRUEOS_QMAKE_ON= DEFAULT_SETTINGS=TrueOS MULTIMEDIA_RUN_DEPENDS= gstreamer1-plugins-core>=0:multimedia/gstreamer1-plugins-core NLS_USE= QT=linguist_build NLS_QMAKE_ON= CONFIG+=WITH_I18N WRKSRC_SUBDIR= src-qt5/core CONFLICTS_INSTALL= lumina-1.2.* .include diff --git a/x11/mate-screensaver/Makefile b/x11/mate-screensaver/Makefile index 978ca0af7090..6eff59dd7606 100644 --- a/x11/mate-screensaver/Makefile +++ b/x11/mate-screensaver/Makefile @@ -1,63 +1,64 @@ # Created by: Joe Marcus Clarke PORTNAME= mate-screensaver PORTVERSION= 1.24.2 +PORTREVISION= 1 CATEGORIES= x11 mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= MATE screen saver and locker LICENSE= GPLv2 LGPL20 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libnotify.so:devel/libnotify \ libstartup-notification-1.so:x11/startup-notification PORTSCOUT= limitw:1,even USES= gettext gl gmake gnome localbase mate pathfix pkgconfig tar:xz \ xorg USE_GL= gl USE_MATE= desktop libmatekbd menus session:run USE_XORG= ice sm x11 xext xscrnsaver xxf86vm USE_GNOME= cairo gdkpixbuf2 gtk30 intltool GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-console-kit=yes \ --with-systemd=no GLIB_SCHEMAS= org.mate.screensaver.gschema.xml SUB_FILES+= mate-screensaver.pam SCREENSAVER_DIR= share/applications/screensavers OPTIONS_DEFINE= PAM OPTIONS_DEFAULT=PAM OPTIONS_SUB= yes PAM_RUN_DEPENDS= pam_helper:security/pam_helper PAM_CONFIGURE_ON= --enable-authentication-scheme=helper \ --with-passwd-helper=${LOCALBASE}/bin/pam_helper PAM_CONFIGURE_OFF= --disable-pam .include post-patch: .if ${PORT_OPTIONS:MPAM} @${REINPLACE_CMD} -e 's|/etc/pam.d|${PREFIX}/etc/pam.d|g' \ ${WRKSRC}/src/gs-auth-pam.c .endif post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${SCREENSAVER_DIR} .if ${PORT_OPTIONS:MPAM} ${INSTALL_DATA} ${WRKDIR}/mate-screensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/mate-screensaver .endif .include diff --git a/x11/nvidia-driver-304/Makefile b/x11/nvidia-driver-304/Makefile index 7b2eb95657cd..2b7ba53b5242 100644 --- a/x11/nvidia-driver-304/Makefile +++ b/x11/nvidia-driver-304/Makefile @@ -1,10 +1,10 @@ # Created by: Alexey Dokuchaev DISTVERSION= 304.137 # Explicitly set PORTREVISION as it can be overridden by the master port -PORTREVISION= 8 +PORTREVISION= 9 MASTERDIR= ${.CURDIR}/../nvidia-driver PKGNAMESUFFIX= -304 .include "${MASTERDIR}/Makefile" diff --git a/x11/nvidia-driver-340/Makefile b/x11/nvidia-driver-340/Makefile index d950fb1f2a66..43cb78cba6f7 100644 --- a/x11/nvidia-driver-340/Makefile +++ b/x11/nvidia-driver-340/Makefile @@ -1,10 +1,10 @@ # Created by: Alexey Dokuchaev DISTVERSION= 340.108 # Explicitly set PORTREVISION as it can be overridden by the master port -PORTREVISION= 2 +PORTREVISION= 3 MASTERDIR= ${.CURDIR}/../nvidia-driver PKGNAMESUFFIX= -340 .include "${MASTERDIR}/Makefile" diff --git a/x11/nvidia-driver-390/Makefile b/x11/nvidia-driver-390/Makefile index 9dc942073ac3..f4c4e07af93b 100644 --- a/x11/nvidia-driver-390/Makefile +++ b/x11/nvidia-driver-390/Makefile @@ -1,10 +1,10 @@ # Created by: Alexey Dokuchaev DISTVERSION= 390.143 # Explicitly set PORTREVISION as it can be overridden by the master port -PORTREVISION= 0 +PORTREVISION= 1 MASTERDIR= ${.CURDIR}/../nvidia-driver PKGNAMESUFFIX= -390 .include "${MASTERDIR}/Makefile" diff --git a/x11/nvidia-secondary-driver/Makefile b/x11/nvidia-secondary-driver/Makefile index 707ebfb8b36d..acbcf0cbcf3a 100644 --- a/x11/nvidia-secondary-driver/Makefile +++ b/x11/nvidia-secondary-driver/Makefile @@ -1,20 +1,20 @@ # Created by: Theron Tarigo PORTNAME= nvidia-secondary-driver # Explicitly set PORTREVISION as it can be overridden by the master port -PORTREVISION= 0 +PORTREVISION= 1 MASTERDIR?= ${.CURDIR}/../nvidia-driver MAINTAINER= theron.tarigo@gmail.com COMMENT= NVidia graphics card binary drivers for hardware OpenGL rendering on secondary device CONFLICTS_INSTALL= nvidia-driver EXTENSIONSDIR= lib/xorg/modules-NVIDIA/extensions LIBGLDIR= lib/libGL-NVIDIA SUB_FILES= pkg-message .include "${MASTERDIR}/Makefile" diff --git a/x11/nvidia-settings/Makefile b/x11/nvidia-settings/Makefile index 7380136ed74d..75d3f456c38a 100644 --- a/x11/nvidia-settings/Makefile +++ b/x11/nvidia-settings/Makefile @@ -1,67 +1,68 @@ # Created by: Alexander Nedotsukov PORTNAME= nvidia-settings PORTVERSION= 460.73.01 +PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org COMMENT= Display Control Panel for X NVidia driver LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= Nvidia driver is only available on x86 BUILD_DEPENDS= ${LOCALBASE}/include/dbus-1.0/dbus/dbus.h:devel/dbus LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjansson.so:devel/jansson \ libvdpau.so:multimedia/libvdpau USES= gl gmake gnome pkgconfig gettext-runtime xorg USE_GNOME= gtk20 cairo gdkpixbuf2 USE_GL= gl USE_XORG= x11 xext xv xxf86vm USE_GITHUB= yes GH_ACCOUNT= NVIDIA PLIST_FILES= bin/nvidia-settings \ libexec/nvidia-settings \ man/man1/nvidia-settings.1.gz \ lib/libnvidia-gtk2.so.${PORTVERSION} \ share/applications/nvidia-settings.desktop \ share/pixmaps/nvidia-settings.png SUB_FILES= nvidia-settings LDFLAGS+= -pthread LLD_UNSAFE= yes MAKE_ENV= NV_USE_BUNDLED_LIBJANSSON=0 \ NV_VERBOSE= \ GTK3_AVAILABLE=0 \ INSTALL_DOC_ARGS="${INSTALL_MAN:Ninstall}" \ XNVCTRL_CFLAGS=-I${LOCALBASE}/include \ XNVCTRL_LDFLAGS=-L${LOCALBASE}/lib post-patch: .SILENT ${REINPLACE_CMD} \ -e '/^MANDIR/s|share/||' ${WRKSRC}/utils.mk ${REINPLACE_CMD} -E -e 's,__(PIXMAP|UTILS)_PATH__/,,' \ -e '/^Categories/ s,=.*,= Settings;HardwareSettings;,' \ ${WRKSRC}/doc/nvidia-settings.desktop ${REINPLACE_CMD} -e 's|/usr/share/nvidia/|${LOCALBASE}/share/doc/NVIDIA_GLX-1.0/|' \ ${WRKSRC}/src/gtk+-2.x/ctkappprofile.c post-install: .SILENT ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnvidia-gtk2.so.${PORTVERSION} ${INSTALL_DATA} ${WRKSRC}/doc/nvidia-settings.desktop \ ${STAGEDIR}/${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/doc/nvidia-settings.png \ ${STAGEDIR}/${PREFIX}/share/pixmaps ${MV} ${STAGEDIR}${PREFIX}/bin/nvidia-settings \ ${STAGEDIR}${PREFIX}/libexec/nvidia-settings ${INSTALL} ${WRKDIR}/nvidia-settings \ ${STAGEDIR}${PREFIX}/bin/nvidia-settings .include diff --git a/x11/pcdm/Makefile b/x11/pcdm/Makefile index ee0da0d8c5ce..cd260430be4d 100644 --- a/x11/pcdm/Makefile +++ b/x11/pcdm/Makefile @@ -1,32 +1,32 @@ PORTNAME= pcdm PORTVERSION= 201710031254 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 MAINTAINER= jt@ixsystems.com COMMENT= QT5 based display manager for FreeBSD LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/../LICENSE RUN_DEPENDS= xorg-minimal>=0:x11/xorg-minimal \ xhost:x11/xhost \ setxkbmap:x11/setxkbmap \ ${LOCALBASE}/bin/qsudo:sysutils/qsudo USES= compiler:c++11-lang gl qmake qt:5 xorg USE_QT= core gui network svg multimedia imageformats \ buildtools_build x11extras widgets concurrent linguisttools_build USE_GL= gl USE_XORG= x11 WRKSRC_SUBDIR= src-qt5 MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} CONFLICTS= pcbsd-utils-qt* USE_GITHUB= yes GH_ACCOUNT= trueos GH_TAGNAME= 690fdbdfc9fe482514161df1cd2bd994790c8a2d .include diff --git a/x11/plasma5-kwayland-server/Makefile b/x11/plasma5-kwayland-server/Makefile index acbcd1f8e1ff..3e25e14be21f 100644 --- a/x11/plasma5-kwayland-server/Makefile +++ b/x11/plasma5-kwayland-server/Makefile @@ -1,21 +1,22 @@ PORTNAME= kwayland-server DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde kde-plasma MAINTAINER= kde@FreeBSD.org COMMENT= Wayland Server Components built on KDE Frameworks LICENSE= LGPL21 LIB_DEPENDS= libwayland-server.so:graphics/wayland BUILD_DEPENDS= plasma-wayland-protocols>=0:x11/plasma-wayland-protocols \ wayland-protocols>=1.14:graphics/wayland-protocols RUN_DEPENDS= plasma-wayland-protocols>=0:x11/plasma-wayland-protocols USES= cmake compiler:c++11-lang gl kde:5 pkgconfig qt:5 tar:xz USE_GL= egl USE_KDE= ecm wayland USE_QT= concurrent core gui wayland \ buildtools_build qmake_build .include diff --git a/x11/py-qt5-opengl/Makefile b/x11/py-qt5-opengl/Makefile index a952c08f2cb5..d9a411230eb2 100644 --- a/x11/py-qt5-opengl/Makefile +++ b/x11/py-qt5-opengl/Makefile @@ -1,26 +1,27 @@ PORTNAME= opengl +PORTREVISION= 1 CATEGORIES= x11 devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtOpenGL module CONFIGURE_ARGS= --enable QtOpenGL PYQT_DIST= yes USES= gl python:3.5+ pyqt:5 qt:5 USE_GL= gl USE_PYQT= sip_build core_run gui_run widgets_run USE_PYTHON= concurrent flavors py3kplist USE_QT= core gui opengl widgets qmake_build OPTIONS_DEFINE= API DEBUG OPTIONS_DEFAULT=API OPTIONS_SUB= yes API_DESC= Install QtOpenGL API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR} API_CONFIGURE_OFF= --no-qsci-api API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace .include diff --git a/x11/radare-cutter/Makefile b/x11/radare-cutter/Makefile index 69138676cc91..20a159fa2647 100644 --- a/x11/radare-cutter/Makefile +++ b/x11/radare-cutter/Makefile @@ -1,37 +1,38 @@ PORTNAME= radare-cutter PORTVERSION= 0.1.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= x11 MAINTAINER= swills@FreeBSD.org COMMENT= GUI for radare2 reverse engineering framework LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../COPYING DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 LIB_DEPENDS= libcapstone.so:devel/capstone4 \ libr_bin.so:devel/radare2 USES= cmake gl pkgconfig python:3.4+ qmake:outsource qt:5 LDFLAGS+= -lexecinfo USE_GITHUB= yes GH_ACCOUNT= radareorg GH_PROJECT= r2cutter GH_TUPLE= radareorg:cutter-translations:8e1d24b:translations/translations USE_QT= core declarative gui linguist location network printsupport svg \ webchannel webengine widgets buildtools_build USE_GL= gl WRKSRC_SUBDIR= src CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} post-patch: @${REINPLACE_CMD} 's/python3/python-${PYTHON_VER}/' ${WRKSRC}/Cutter.pro .include diff --git a/x11/slop/Makefile b/x11/slop/Makefile index 48939018b17f..bc25f16469f1 100644 --- a/x11/slop/Makefile +++ b/x11/slop/Makefile @@ -1,30 +1,30 @@ PORTNAME= slop PORTVERSION= 7.5 DISTVERSIONPREFIX= v -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11 MAINTAINER= 0mp@FreeBSD.org COMMENT= Make a screen selection and print the selection coordinates to stdout LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/license.txt BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm LIB_DEPENDS= libicuuc.so:devel/icu USES= cmake compiler:c++11-lang gl xorg USE_GL= gl glu glew USE_LDCONFIG= yes USE_XORG= ice sm x11 xext xrender USE_GITHUB= yes GH_ACCOUNT= naelstrof PLIST_FILES= bin/slop \ include/slop.hpp \ lib/libslopy.so \ lib/libslopy.so.${PORTVERSION} \ man/man1/slop.1.gz .include diff --git a/x11/virglrenderer/Makefile b/x11/virglrenderer/Makefile index 14e19a2f57e2..d3f7ee47c625 100644 --- a/x11/virglrenderer/Makefile +++ b/x11/virglrenderer/Makefile @@ -1,26 +1,27 @@ PORTNAME= virglrenderer DISTVERSION= 0.8.2 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= tcberner@FreeBSD.org COMMENT= VirGL virtual OpenGL renderer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_riscv64= fails to build: ../src/gallium/include/pipe/p_config.h:171:2: Unknown Endianness BUILD_DEPENDS= cmake:devel/cmake LIB_DEPENDS= libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy USES= compiler:c++11-lang gl meson pkgconfig python:3.5+ USE_GITLAB= yes USE_GL= gbm GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= virgl GL_COMMIT= 7d204f3927be65fb3365dce01dbcd04d447a4985 BINARY_ALIAS= python3=${PYTHON_CMD} .include diff --git a/x11/virtualgl/Makefile b/x11/virtualgl/Makefile index 6acfcd9710b6..54f85a41abc7 100644 --- a/x11/virtualgl/Makefile +++ b/x11/virtualgl/Makefile @@ -1,61 +1,61 @@ # Created by: David Mackay PORTNAME= virtualgl PORTVERSION= 2.6.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= VirtualGL-${PORTVERSION} MAINTAINER= davidjx8p@gmail.com COMMENT= Redirects commands from an OpenGL app to another X server LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libturbojpeg.so:graphics/libjpeg-turbo \ libxcb-keysyms.so:x11/xcb-util-keysyms ONLY_FOR_ARCHS= amd64 armv7 i386 powerpc powerpc64 powerpc64le CMAKE_INSTALL_PREFIX= ${LOCALBASE}/VirtualGL DOCSDIR= ${LOCALBASE}/VirtualGL/doc USES= cmake compiler:c++11-lang gl xorg USE_GL= gl glu USE_XORG= x11 xcb xext xtst CMAKE_ARGS= -DTJPEG_INCLUDE_DIR=${LOCALBASE}/include \ -DTJPEG_LIBRARY=${LOCALBASE}/lib/libturbojpeg.so \ -DVGL_FAKEXCB=on -DVGL_SYSTEMFLTK=on \ -DCMAKE_INSTALL_DOCDIR=${DOCSDIR} USE_LDCONFIG= ${PREFIX}/VirtualGL/lib LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= OPENCL OPENSSL XVIDEO OPTIONS_DEFAULT= OPENCL OPTIONS_SUB= yes OPENCL_CMAKE_BOOL= VGL_FAKEOPENCL OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd OPENCL_DESC= Build OpenCL interposer library OPENSSL_CMAKE_BOOL= VGL_USESSL OPENSSL_USES= ssl XVIDEO_CMAKE_BOOL= VGL_USEXV XVIDEO_USE= XORG=xv .include .if ${ARCH} == "armv7" || ${ARCH} == "i386" || ${ARCH} == "powerpc" PLIST_SUB+= I386="" PLIST_SUB+= AMD64="@comment " .else PLIST_SUB+= I386="@comment " PLIST_SUB+= AMD64="" .endif post-patch: @${REINPLACE_CMD} -e '/^#define CHECKGL/s,m);, &,' \ ${WRKSRC}/server/VirtualDrawable.cpp .include diff --git a/x11/xdriinfo/Makefile b/x11/xdriinfo/Makefile index 295251b32c55..95afce41d4e1 100644 --- a/x11/xdriinfo/Makefile +++ b/x11/xdriinfo/Makefile @@ -1,14 +1,14 @@ PORTNAME= xdriinfo PORTVERSION= 1.0.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org COMMENT= Query configuration information of DRI drivers USES= gl xorg xorg-cat:app USE_GL= gl USE_XORG= x11 xorgproto PLIST_FILES= bin/xdriinfo man/man1/xdriinfo.1.gz .include diff --git a/x11/xfce4-dashboard/Makefile b/x11/xfce4-dashboard/Makefile index 4476fea84f53..72cee86472a5 100644 --- a/x11/xfce4-dashboard/Makefile +++ b/x11/xfce4-dashboard/Makefile @@ -1,45 +1,46 @@ # Created by: Olivier Duchateau PORTNAME= dashboard PORTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= x11 xfce MASTER_SITES= XFCE/apps PKGNAMEPREFIX= xfce4- DISTNAME= xfdashboard-${DISTVERSIONFULL} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= GNOME shell like dashboard for the Xfce desktop LICENSE= GPLv2 LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libcogl.so:graphics/cogl \ libclutter-1.0.so:graphics/clutter USES= compiler:c11 gettext-tools gl gmake gnome localbase libtool \ pathfix perl5 pkgconfig tar:bzip2 xfce xorg USE_GNOME= cairo glib20 gtk30 intltool libwnck3 USE_XFCE= garcon xfconf USE_XORG= x11 xcomposite xdamage xext xfixes xi xinerama xrandr USE_GL= egl gl USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime post-patch: # Decrease default value of desaturation factor (0.0 -> no desaturation) # With some graphics cards, quick launch icons are totally black with # default value ${FIND} ${WRKSRC}/data/themes -type f -name 'effects.xml' \ | ${XARGS} ${REINPLACE_CMD} -i "" 's|factor">1.0|factor">0.25|' .include diff --git a/x11/xfce4-screensaver/Makefile b/x11/xfce4-screensaver/Makefile index 34beadbc0c66..53a73827f235 100644 --- a/x11/xfce4-screensaver/Makefile +++ b/x11/xfce4-screensaver/Makefile @@ -1,65 +1,65 @@ PORTNAME= xfce4-screensaver PORTVERSION= 4.16.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Xfce 4 screen saver and locker LICENSE= GPLv2 LGPL20 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= xdt-csource:devel/xfce4-dev-tools LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libxklavier.so:x11/libxklavier USES= compiler:c11 gettext-tools gl gmake gnome pkgconfig python:3.5+ \ shebangfix tar:bzip2 xfce xorg USE_GL= gl USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool libwnck3 USE_XFCE= garcon libexo xfconf USE_XORG= ice sm x11 xext xrandr xscrnsaver xxf86vm SHEBANG_FILES= src/xfce4-screensaver-configure GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-console-kit=yes \ --with-systemd=no \ --enable-maintainer-mode SCREENSAVER_DIR= share/applications/screensavers OPTIONS_DEFINE= NLS PAM OPTIONS_DEFAULT=PAM OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext-runtime PAM_RUN_DEPENDS= pam_helper:security/pam_helper PAM_CONFIGURE_ON= --enable-authentication-scheme=helper \ --with-passwd-helper=${LOCALBASE}/bin/pam_helper PAM_CONFIGURE_OFF= --disable-pam .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug=yes .endif post-patch-PAM-on: @${REINPLACE_CMD} -e 's|/etc/pam.d|${PREFIX}/etc/pam.d|g' \ ${WRKSRC}/src/gs-auth-pam.c post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${SCREENSAVER_DIR} @${REINPLACE_CMD} 's/^\(Name[^=]*=\)\(.*\)/\1XFCE \2/' ${STAGEDIR}${PREFIX}/etc/xdg/autostart/xfce4-screensaver.desktop post-install-PAM-on: ${INSTALL_DATA} ${FILESDIR}/xfce4-screensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xfce4-screensaver.sample .include diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile index 9b1544c78b82..b207caada713 100644 --- a/x11/xscreensaver/Makefile +++ b/x11/xscreensaver/Makefile @@ -1,102 +1,103 @@ # Created by: dom@myrddin.demon.co.uk PORTNAME= xscreensaver PORTVERSION= 5.44 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://www.jwz.org/xscreensaver/ MAINTAINER= zeising@FreeBSD.org COMMENT= Save your screen while you entertain your cat LICENSE= MIT RUN_DEPENDS= p5-libwww>0:www/p5-libwww \ giftopnm:graphics/netpbm LIB_DEPENDS= libgle.so:graphics/gle \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 CONFLICTS= xscreensaver-gnome-[0-9]* xscreensaver-gnome-hacks-[0-9]* USES= autoreconf gettext gl gmake gnome jpeg localbase:ldflags perl5 \ pkgconfig xorg USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 gtk20 intltool libglade2 libxml2 USE_PERL5= run USE_XORG= ice sm x11 xext xi xinerama xmu xrandr xrender xpm xt xxf86vm USE_CSTD= gnu99 GNU_CONFIGURE= yes CONFIGURE_ENV+= PERL="${PERL}" CONFIGURE_ARGS= --with-gtk --with-gl --with-gle --with-pixbuf --with-xpm \ --with-jpeg=${LOCALBASE} --with-xshm-ext --with-xdbe-ext \ --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \ --with-configdir=${PREFIX}/share/xscreensaver/config/ \ --with-x-app-defaults=${PREFIX}/lib/X11/app-defaults/ \ --with-dpms-ext --with-xinerama-ext --with-xf86vmode-ext \ --with-xf86gamma-ext --with-randr-ext --without-kerberos \ --without-setuid-hacks --enable-locking MAKE_ARGS+= install_prefix=${STAGEDIR} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= PAM SETUID_HACKS FIREF NLS NSFW XAOS1 XDALI XEARTH \ XFT XMOUN XPLANET XSNOW OPTIONS_DEFAULT=PAM XFT OPTIONS_SUB= yes PAM_CONFIGURE_WITH= pam SETUID_HACKS_DESC= Install sonar hack suid so it can ping FIREF_DESC= Add extra port x11/fireflies FIREF_RUN_DEPENDS= ${LOCALBASE}/bin/xscreensaver-hacks/fireflies:x11/fireflies NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls NSFW_DESC= Include material that is Not Safe For Work XAOS1_DESC= Add extra port graphics/xaos XAOS1_RUN_DEPENDS= xaos:graphics/xaos XDALI_DESC= Add extra port x11-clocks/xdaliclock XDALI_RUN_DEPENDS= xdaliclock:x11-clocks/xdaliclock XFT_CONFIGURE_WITH= xft XFT_USE= XORG=xft XEARTH_DESC= Add extra port astro/xearth XEARTH_RUN_DEPENDS= xearth:astro/xearth XMOUN_DESC= Add extra port graphics/xmountains XMOUN_RUN_DEPENDS= xmountains:graphics/xmountains XPLANET_DESC= Add extra port astro/xplanet XPLANET_RUN_DEPENDS= xplanet:astro/xplanet XSNOW_DESC= Add extra port x11/xsnow XSNOW_RUN_DEPENDS= xsnow:x11/xsnow SUB_FILES= xscreensaver-blank.desktop xscreensaver-lock.desktop \ xscreensaver-start.desktop xscreensaver-stop.desktop post-patch: ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ -e 's|pkg_config --list-all|pkg_config --help|' \ ${WRKSRC}/configure.in ${REINPLACE_CMD} -e "s|/etc/pam.d|${PREFIX}/etc/pam.d|g" \ ${WRKSRC}/driver/passwd-pam.c \ ${WRKSRC}/driver/xscreensaver.man ${CP} ${FILESDIR}/xscreensaver.pam \ ${WRKSRC}/driver/xscreensaver.pam.in 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 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.pam .include