diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile index 1400e4cc70f4..b936033cfcf3 100644 --- a/audio/ocp/Makefile +++ b/audio/ocp/Makefile @@ -1,100 +1,100 @@ # Created by: Emanuel Haupt PORTNAME= ocp PORTVERSION= 0.2.90 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= https://github.com/mywave82/opencubicplayer/releases/download/v${PORTVERSION}/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Legendary Open Cubic Player LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le BUILD_DEPENDS= xa65:devel/xa65 LIB_DEPENDS= libid3tag.so:audio/libid3tag \ libmad.so:audio/libmad \ libogg.so:audio/libogg \ libsidplay.so:audio/libsidplay \ libvorbis.so:audio/libvorbis USES= compiler:c11 dos2unix gmake gnome iconv localbase:ldflags \ makeinfo ncurses pkgconfig tar:bz2 INSTALLS_ICONS= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${PREFIX}/lib \ --with-dir-suffix="" \ --without-sdl CONFIGURE_ENV= SHARED_FLAGS="${LDFLAGS} -shared" \ XA=${PREFIX}/bin/xa65 MAKE_JOBS_UNSAFE= yes LDFLAGS_i386= -Wl,-z,notext INFO= ocp OPTIONS_DEFINE= ADPLUG ALSA DOCS FLAC MIDI OSS SDL X11 OPTIONS_DEFAULT= ADPLUG ALSA FLAC MIDI OSS SDL X11 OPTIONS_SUB= yes ADPLUG_DESC= adplug support MIDI_DESC= timidity support ADPLUG_LIB_DEPENDS= libadplug.so:audio/libadplug \ libbinio.so:devel/libbinio ADPLUG_CONFIGURE_WITH= adplug ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_WITH= flac MIDI_RUN_DEPENDS= eawpats>0:audio/eawpats OSS_CONFIGURE_WITH= oss SDL_IMPLIES= X11 SDL_BUILD_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf SDL_LIB_DEPENDS= libfreetype.so:print/freetype2 \ - libpng16.so:graphics/png + libpng.so:graphics/png SDL_RUN_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf SDL_USES= desktop-file-utils jpeg sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_WITH= sdl2 \ unifontdir=${LOCALBASE}/share/fonts/gnu-unifont-ttf SDL_PLIST_SUB= DESKTOP='' SDL_PLIST_SUB_OFF= DESKTOP='@comment ' X11_BUILD_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf X11_LIB_DEPENDS= libfreetype.so:print/freetype2 \ - libpng16.so:graphics/png + libpng.so:graphics/png X11_RUN_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf X11_USES= desktop-file-utils jpeg xorg X11_USE= XORG=x11,xext,xpm,xxf86dga,xxf86vm X11_CONFIGURE_WITH= unifontdir=${LOCALBASE}/share/fonts/gnu-unifont-ttf x11 X11_PLIST_SUB= DESKTOP='' \ XORG='' X11_PLIST_SUB_OFF= DESKTOP='@comment ' \ XORG='@comment ' TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg post-patch-SDL-off: @${REINPLACE_CMD} -E '/(LIBJPEG|LIBPNG_LIBS)/d' ${WRKSRC}/Rules.make.in post-patch-X11-off: @${REINPLACE_CMD} -E '/(LIBJPEG|LIBPNG_LIBS)/d' ${WRKSRC}/Rules.make.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ocp @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/autoload/*.so .include diff --git a/comms/flamp/Makefile b/comms/flamp/Makefile index d78527de539f..c3cf97ee041b 100644 --- a/comms/flamp/Makefile +++ b/comms/flamp/Makefile @@ -1,26 +1,26 @@ PORTNAME= flamp DISTVERSION= 2.2.05 CATEGORIES= comms hamradio MASTER_SITES= SF/fldigi/flamp/ MAINTAINER= yuri@FreeBSD.org COMMENT= Program for the Amateur Multicast Protocol LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig \ - libpng16.so:graphics/png + libpng.so:graphics/png RUN_DEPENDS= fldigi:comms/fldigi USES= compiler:c++11-lang gmake jpeg pkgconfig xorg USE_XORG= x11 xcursor xext xfixes xft xinerama xrender GNU_CONFIGURE= yes PLIST_FILES= bin/flamp \ share/applications/flamp.desktop \ share/pixmaps/flamp.xpm .include diff --git a/comms/flmsg/Makefile b/comms/flmsg/Makefile index 5b482a3d6513..624620ee7bc3 100644 --- a/comms/flmsg/Makefile +++ b/comms/flmsg/Makefile @@ -1,26 +1,26 @@ PORTNAME= flmsg DISTVERSION= 4.0.17 CATEGORIES= comms hamradio MASTER_SITES= http://www.w1hkj.com/files/${PORTNAME}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Forms management editor for Amateur Radio standard message formats LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig \ - libpng16.so:graphics/png + libpng.so:graphics/png RUN_DEPENDS= fldigi:comms/fldigi USES= gmake jpeg pkgconfig xorg USE_XORG= x11 xcursor xext xfixes xft xinerama xrender GNU_CONFIGURE= yes PLIST_FILES= bin/flmsg \ share/applications/flmsg.desktop \ share/pixmaps/flmsg.xpm .include diff --git a/deskutils/coolreader/Makefile b/deskutils/coolreader/Makefile index 42cad3678449..5848306609f0 100644 --- a/deskutils/coolreader/Makefile +++ b/deskutils/coolreader/Makefile @@ -1,35 +1,35 @@ PORTNAME= coolreader DISTVERSIONPREFIX= cr DISTVERSION= 3.2.55 CATEGORIES= deskutils MAINTAINER= mistresssilvara@hotmail.com COMMENT= E-book reader LICENSE= GPLv2 LGPL21+ BSD2CLAUSE LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ - libpng16.so:graphics/png \ + libpng.so:graphics/png \ libfribidi.so:converters/fribidi \ libunibreak.so:textproc/libunibreak \ libfontconfig.so:x11-fonts/fontconfig USES= qt:5 cmake:noninja pkgconfig desktop-file-utils jpeg USE_GITHUB= yes GH_ACCOUNT= buggins USE_QT= core buildtools_build gui qmake_build widgets linguisttools_build CMAKE_ARGS= -D GUI=QT5 -D MAX_IMAGE_SCALE_MUL=2 \ -D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1400000 CXXFLAGS+= -D CR_EMULATE_GETTEXT=1 \ -I${WRKSRC}/thirdparty_unman/nanosvg/src OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes .include diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile index ac0aabe9bdce..44f9017ed102 100644 --- a/editors/vscode/Makefile +++ b/editors/vscode/Makefile @@ -1,260 +1,260 @@ PORTNAME= vscode DISTVERSION= 1.55.2 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}.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} 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/electron11 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 \ - libpng16.so:graphics/png \ + 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 \ 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= 3c4e3df9e89829dce27b7b5c24508306b151f30d 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= 12.18.3 NODE_VER_MAJOR= ${NODE_VER:C/\..*$//} # See ${WRKSRC}/build/package.json for ESBUILD_VER ESBUILD_VER= 0.8.30 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/electron11 .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 ${MV} ${WRKDIR}/package/bin/esbuild \ ${WRKDIR}/.cache/esbuild/bin/esbuild-freebsd-64@${ESBUILD_VER} 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/games/crispy-doom/Makefile b/games/crispy-doom/Makefile index eac454fdd2ef..b702536ba538 100644 --- a/games/crispy-doom/Makefile +++ b/games/crispy-doom/Makefile @@ -1,33 +1,33 @@ PORTNAME= crispy-doom PORTVERSION= 5.10.1 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= games MAINTAINER= danilo@FreeBSD.org COMMENT= Enhanced-resolution Doom source port based on Chocolate Doom LICENSE= GPLv2 LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \ - libpng16.so:graphics/png + libpng.so:graphics/png CONFLICTS_INSTALL= chocolate-doom USES= autoreconf pkgconfig python:build sdl shebangfix USE_CSTD= c99 USE_SDL= mixer2 net2 sdl2 GNU_CONFIGURE= yes SHEBANG_FILES= man/docgen man/simplecpp OPTIONS_DEFINE= DOCS USE_GITHUB= yes GH_ACCOUNT= fabiangreffrath post-patch: ${REINPLACE_CMD} "s|python3|${PYTHON_VERSION}|" ${WRKSRC}/configure.ac post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/crispy-* .include diff --git a/games/prboom/Makefile b/games/prboom/Makefile index 2a56462c402a..a687771f75e0 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 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 \ - libpng16.so:graphics/png + 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/residualvm/Makefile b/games/residualvm/Makefile index 908fbaf195ab..e2970b9cfc14 100644 --- a/games/residualvm/Makefile +++ b/games/residualvm/Makefile @@ -1,47 +1,47 @@ # Created by: Alexander Yerenkow PORTNAME= residualvm PORTVERSION= 0.3.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 \ - libpng16.so:graphics/png \ + 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/tuxmath/Makefile b/games/tuxmath/Makefile index 7e7fb11c66e6..495e4e1277c6 100644 --- a/games/tuxmath/Makefile +++ b/games/tuxmath/Makefile @@ -1,79 +1,79 @@ # Created by: Alejandro Pulver PORTNAME= tuxmath PORTVERSION= 2.0.3 PORTREVISION= 8 PORTEPOCH= 1 CATEGORIES= games education MASTER_SITES= DEBIAN_POOL \ DEBIAN/pool/main/t/t4kcommon:t4k_common DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX} \ ${T4K_DISTFILE}:t4k_common MAINTAINER= ports@FreeBSD.org COMMENT= Educational arcade game starring Tux LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/COPYING_GPL3 -LIB_DEPENDS= libpng16.so:graphics/png +LIB_DEPENDS= libpng.so:graphics/png USES= gmake gnome iconv localbase perl5 pkgconfig sdl USE_GNOME= libxml2 USE_SDL= image mixer net pango sdl GNU_CONFIGURE= yes CONFIGURE_ENV= T4K_COMMON_CFLAGS="-I${T4K_WRKSRC}/src" \ T4K_COMMON_LIBS="${T4K_WRKSRC}/src/.libs/libt4k_common.a" \ ac_cv_lib_m_csin=yes CPPFLAGS+= $$(pkg-config --cflags SDL_Pango libpng) \ -DHAVE_ALPHASORT -DHAVE_SCANDIR -DHAVE_FSYNC -DICONV_CONST="" LDFLAGS+= $$(pkg-config --libs SDL_Pango libpng) ${ICONV_LIB} WRKSRC= ${WRKDIR}/${PORTNAME}_w_fonts-${PORTVERSION} T4K_NAME= t4k_common T4K_VERSION= 0.1.1 T4K_DISTFILE= ${T4K_NAME:S/_//}_${T4K_VERSION}.orig${EXTRACT_SUFX} T4K_WRKSRC= ${WRKDIR}/${T4K_NAME}-${T4K_VERSION} OPTIONS_DEFINE= NLS SVG DOCS OPTIONS_DEFAULT= SVG OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_LDFLAGS= -lintl SVG_USE= GNOME=librsvg2 SVG_CONFIGURE_WITH= rsvg post-extract: @${LN} -sf ${T4K_WRKSRC} ${WRKDIR}/${T4K_NAME} post-patch: @${REINPLACE_CMD} -e \ '/doc[[:space:]]/d' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|-Wall -g |-Wall | ; \ s|-DDEBUG ||' ${WRKSRC}/src/Makefile.in pre-configure: @(cd ${T4K_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./configure \ --disable-shared ${CONFIGURE_ARGS} CC="${CC}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}") pre-build: @(cd ${T4K_WRKSRC} && ${DO_MAKE_BUILD} ${ALL_TARGET}) post-install: ${LN} -s status ${STAGEDIR}${DATADIR}/images/menu post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in OFL README README_DATA_LICENSES TODO changelog ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/graphics/art/Makefile b/graphics/art/Makefile index 17cb8f6b467f..5760930862a2 100644 --- a/graphics/art/Makefile +++ b/graphics/art/Makefile @@ -1,50 +1,50 @@ PORTNAME= art DISTVERSION= 1.8.4 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/agriggio/art/downloads/ PKGNAMESUFFIX= -raw-image-editor DISTNAME= ${PORTNAME:tu}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Raw image processing program LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_i386= ld: error: undefined symbol: __atomic_load EXTRACT_DEPENDS= gtar:archivers/gtar # bsdtar(1) complains about hard links to itself BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfftw3f.so:math/fftw3-float \ liblensfun.so:graphics/lensfun \ liblcms2.so:graphics/lcms2 \ - libpng16.so:graphics/png \ + libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang desktop-file-utils gnome jpeg pkgconfig tar:xz xorg USE_GNOME= atk atkmm cairo cairomm glibmm gtkmm30 librsvg2 USE_XORG= x11 EXTRACT_CMD= gtar INSTALLS_ICONS= yes .include # breaks with llvm-8 .if ${CHOSEN_COMPILER_TYPE} == clang LLVM_VERSION= 10 BUILD_DEPENDS+= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} CC= clang${LLVM_VERSION} CXX= clang++${LLVM_VERSION} CPP= clang-cpp${LLVM_VERSION} .endif post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/ART .include diff --git a/graphics/jp2a/Makefile b/graphics/jp2a/Makefile index e1055b217dca..0dce78ca3904 100644 --- a/graphics/jp2a/Makefile +++ b/graphics/jp2a/Makefile @@ -1,40 +1,40 @@ # Created by: Andrew Pantyukhin PORTNAME= jp2a DISTVERSION= 1.1.0 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/Talinx/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Converts JPG images to ASCII LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ - libpng16.so:graphics/png + libpng.so:graphics/png USES= jpeg localbase ncurses pkgconfig tar:bz2 USE_CSTD= c99 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-doxygen-doc CONFIGURE_ENV+= bashcompdir=${STAGEDIR}${PREFIX}/etc/bash_completion.d MAKE_ENV+= bashcompdir=${STAGEDIR}${PREFIX}/etc/bash_completion.d LDFLAGS+= -lm PLIST_FILES= bin/jp2a \ etc/bash_completion.d/jp2a \ man/man1/jp2a.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/jp2a ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/jp2a.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/completion/bash/jp2a \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d .include diff --git a/graphics/mscgen/Makefile b/graphics/mscgen/Makefile index 7f6a9015be96..5f453b8c9e72 100644 --- a/graphics/mscgen/Makefile +++ b/graphics/mscgen/Makefile @@ -1,37 +1,37 @@ # Created by: Romain Tartiere PORTNAME= mscgen PORTVERSION= 0.20 PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= http://www.mcternan.me.uk/mscgen/software/ \ http://romain.blogreen.org/distfiles/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= romain@FreeBSD.org COMMENT= Message Sequence Chart Renderer LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= jpeg GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= FREETYPE PNG OPTIONS_DEFAULT= FREETYPE PNG FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libgd.so:graphics/gd \ - libpng16.so:graphics/png + libpng.so:graphics/png .include diff --git a/graphics/mypaint/Makefile b/graphics/mypaint/Makefile index 0249934449b8..3b2ac05423e1 100644 --- a/graphics/mypaint/Makefile +++ b/graphics/mypaint/Makefile @@ -1,57 +1,57 @@ # Created by: Andrew Pantyukhin PORTNAME= mypaint DISTVERSIONPREFIX=v DISTVERSION= 2.0.0 PORTREVISION= 2 CATEGORIES= graphics PATCH_SITES= https://github.com/garynthompson/${PORTNAME}/commit/ # GTK input grab fix PATCHFILES= 94c623b788462fadb3e292b918edc4e90adf4faa.patch:-p1 MAINTAINER= greg@unrelenting.technology COMMENT= Fast painting/scribbling program LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= swig:devel/swig \ mypaint-brushes2>0:graphics/mypaint-brushes2 \ ${PYNUMPY} LIB_DEPENDS= libjson-c.so:devel/json-c \ liblcms2.so:graphics/lcms2 \ - libpng16.so:graphics/png \ + libpng.so:graphics/png \ libmypaint.so:graphics/libmypaint RUN_DEPENDS= mypaint-brushes2>0:graphics/mypaint-brushes2 \ ${PYNUMPY} USES= compiler:c++11-lib desktop-file-utils gettext gnome localbase \ pkgconfig python:3.6+ tar:xz USE_GITHUB= yes GH_ACCOUNT= mypaint USE_GNOME= gtk30 pygobject3 cairo librsvg2:run USE_PYTHON= distutils py3kplist noflavors PYDISTUTILS_BUILD_TARGET= build build_ext CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -std=c99 USE_LDCONFIG= yes INSTALLS_ICONS= yes OPTIONS_DEFINE= OPENMP OPTIONS_DEFAULT_amd64= OPENMP OPENMP_USES= compiler:openmp post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mypaint/lib/_mypaintlib*.so .include .if !${PORT_OPTIONS:MOPENMP} PYDISTUTILS_BUILDARGS+= --disable-openmp .endif .include diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index a2b19d061238..1e650a01f32b 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -1,95 +1,95 @@ PORTNAME= opencv DISTVERSION= 4.5.1 PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= tcberner@FreeBSD.org COMMENT= Open Source Computer Vision library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers \ opencl>=0:devel/opencl RUN_DEPENDS= opencl>=0:devel/opencl LIB_DEPENDS= \ libOpenEXR.so:graphics/openexr \ libavcodec.so:multimedia/ffmpeg \ libfreetype.so:print/freetype2 \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libgphoto2.so:graphics/libgphoto2 \ libharfbuzz.so:print/harfbuzz \ libhdf5.so:science/hdf5 \ libopenblas.so:math/openblas \ - libpng16.so:graphics/png \ + libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp # libtbb.so:devel/tbb USES= cmake compiler:c++14-lang eigen:3 jpeg localbase:ldflags pkgconfig python:3.6+,build USE_GITHUB= yes GH_PROJECT= opencv_contrib:contrib \ ade:ade \ opencv_3rdparty:extra_mod_3rdparty_boost_descr \ opencv_3rdparty:extra_mod_3rdparty_vgg_descr GH_TAGNAME= v0.1.1f:ade \ 34e4206aef44d50e6bbcd0ab06354b52e7466d26:extra_mod_3rdparty_boost_descr \ fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d:extra_mod_3rdparty_vgg_descr CMAKE_ON= \ WITH_EIGEN \ WITH_GDAL \ WITH_GDCM \ WITH_GPHOTO2 \ WITH_JASPER \ WITH_JPEG \ WITH_OPENCL \ WITH_OPENEXR \ WITH_OPENGL \ WITH_PNG \ WITH_TIFF \ WITH_VULKAN \ WITH_WEBP \ OPENCV_GENERATE_PKGCONFIG \ OPENCV_ENABLE_NONFREE # Disabled during tbb migration: not oneTBB-compatible # WITH_TBB CMAKE_OFF= OPENCV_GENERATE_SETUPVARS \ BUILD_opencv_python2 \ BUILD_TESTS CMAKE_ARGS= -DOPENCV_EXTRA_MODULES_PATH="${WRKSRC}/contrib/modules" \ -DOPENCV_PYTHON3_INSTALL_PATH=${PYTHON_SITELIBDIR} \ -DVULKAN_INCLUDE_DIRS=${LOCALBASE}/include DATADIR= ${PREFIX}/share/${PORTNAME}4 OPTIONS_DEFINE= HARDENING PYTHON JAVA LTO OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes HARDENING_CMAKE_BOOL= ENABLE_BUILD_HARDENING HARDENING_DESC= Enable hardening of the resulting binaries JAVA_CMAKE_BOOL= BUILD_JAVA JAVA_BUILD_DEPENDS= ant:devel/apache-ant JAVA_MAKE_ENV= JAVACMD=${JAVA} JAVA_USE= JAVA=yes JAVA_VARS= JAVA_BUILD=yes PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_USES= python:3.6+ PYTHON_CMAKE_BOOL= BUILD_opencv_python3 LTO_CMAKE_BOOL= ENABLE_THIN_LTO post-extract: ${MV} ${WRKSRC_contrib} ${WRKSRC}/contrib ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ade ${MV} ${WRKSRC_ade} ${BUILD_WRKSRC}/3rdparty/ade ${MKDIR} ${WRKSRC}/contrib/modules/xfeatures2d/src ${MV} ${WRKSRC_extra_mod_3rdparty_boost_descr}/* ${WRKSRC}/contrib/modules/xfeatures2d/src ${MV} ${WRKSRC_extra_mod_3rdparty_vgg_descr}/* ${WRKSRC}/contrib/modules/xfeatures2d/src .include diff --git a/graphics/timg/Makefile b/graphics/timg/Makefile index a65db2478ea7..bbfc335a3af7 100644 --- a/graphics/timg/Makefile +++ b/graphics/timg/Makefile @@ -1,30 +1,30 @@ PORTNAME= timg PORTVERSION= 1.4.0 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= uzsolt@uzsolt.hu COMMENT= Terminal Image and Video Viewer LICENSE= GPLv2 BUILD_DEPENDS= pkgconf>0:devel/pkgconf \ ffmpeg>0:multimedia/ffmpeg LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libexif.so:graphics/libexif \ libGraphicsMagick.so:graphics/GraphicsMagick \ - libpng16.so:graphics/png \ + libpng.so:graphics/png \ libturbojpeg.so:graphics/libjpeg-turbo USES= cmake compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= hzeller # timg requires libavutil, contained in multimedia/ffmpeg # isn't splitted libavcodec, libavutil, etc. CMAKE_ON+= WITH_VIDEO_DECODING WITH_VIDEO_DEVICE CMAKE_OFF+= TIMG_VERSION_FROM_GIT WITH_OPENSLIDE_SUPPORT PLIST_FILES= bin/timg man/man1/timg.1.gz .include diff --git a/math/oleo/Makefile b/math/oleo/Makefile index 252fda067224..c8d8dd6c5fc0 100644 --- a/math/oleo/Makefile +++ b/math/oleo/Makefile @@ -1,62 +1,62 @@ # Created by: mr PORTNAME= oleo PORTVERSION= 1.99.16 PORTREVISION= 13 CATEGORIES= math MASTER_SITES= GNU MAINTAINER= ports@FreeBSD.org COMMENT= GNU spreadsheet for X11 and terminals LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgsl.so:math/gsl USES= bison:alias localbase ncurses perl5 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-xlt --without-sciplot # With -O2 configure hangs at "checking for working mktime..." CONFIGURE_ENV= CFLAGS="${CFLAGS:C/-O2//} -fwrapv" MAKE_ARGS+= DESTDIR="${STAGEDIR}" BINARY_ALIAS= makeinfo=false # disable detecting local makeinfo INFO= oleo OPTIONS_DEFINE= CUPS MOTIF NLS OPTIONS_SUB= yes CUPS_LIB_DEPENDS= libcups.so:print/cups MOTIF_LIB_DEPENDS= libplot.so:graphics/plotutils \ libXbae.so:x11-toolkits/xbae \ libXmHTML.so:x11-toolkits/xmhtml \ - libpng16.so:graphics/png \ + libpng.so:graphics/png \ libXft.so:x11-fonts/libXft \ libfontconfig.so:x11-fonts/fontconfig MOTIF_USES= jpeg motif xorg MOTIF_USE= XORG=ice,sm,x11,xext,xpm,xt MOTIF_CONFIGURE_WITH= motif x MOTIF_LIBS= -lXft -lfontconfig NLS_USES= gettext NLS_LIBS= -lintl NLS_CONFIGURE_ENABLE= nls NLS_USES_OFF= gettext-tools pre-configure: @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|malloc\.h|stdlib.h|g' .for pof in en fr nl @${REINPLACE_CMD} -e "s|CHARSET|ISO-8859-1|;s|ENCODING|8bit|" \ ${WRKSRC}/po/${pof}.po .endfor @${REINPLACE_CMD} -e "s|am: install-docDATA|am:|" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|install-info-am install-htmlDATA|install-info-am|" \ ${WRKSRC}/doc/Makefile.in ${REINPLACE_CMD} -e "s|gslblas|gslcblas|" ${WRKSRC}/configure .include diff --git a/misc/nn-insight/Makefile b/misc/nn-insight/Makefile index 76b4a804f6f1..630057e0618a 100644 --- a/misc/nn-insight/Makefile +++ b/misc/nn-insight/Makefile @@ -1,28 +1,28 @@ PORTNAME= nn-insight DISTVERSION= 1.0.5 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Neural network visualization software LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= avir>0:graphics/avir \ flatbuffers>0:devel/flatbuffers \ half>0:math/half \ nlohmann-json>0:devel/nlohmann-json \ png++>0:graphics/png++ LIB_DEPENDS= libcgraph.so:graphics/graphviz \ - libpng16.so:graphics/png \ + libpng.so:graphics/png \ libtcmalloc.so:devel/google-perftools USES= compiler:c++17-lang cmake pkgconfig qt:5 USE_GITHUB= yes GH_ACCOUNT= yurivict USE_QT= core gui svg widgets buildtools_build qmake_build PLIST_FILES= bin/nn-insight \ libexec/nn-insight/tf-lite-plugin.so .include diff --git a/misc/vxl/Makefile b/misc/vxl/Makefile index 2ffeba05acf8..3a3b6a319998 100644 --- a/misc/vxl/Makefile +++ b/misc/vxl/Makefile @@ -1,43 +1,43 @@ PORTNAME= vxl DISTVERSIONPREFIX= v DISTVERSION= 2.0.2-629 DISTVERSIONSUFFIX= -g9f915deec4 CATEGORIES= misc science MAINTAINER= yuri@FreeBSD.org COMMENT= C++ libraries for computer vision and image understanding -LIB_DEPENDS= libpng16.so:graphics/png \ +LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang jpeg USE_GITHUB= yes USE_LDCONFIG= yes CONFLICTS_BUILD= openjpeg15 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTING do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include .if ${ARCH} == "amd64" PLIST_SUB+= X86="" CMAKE_ON+= VIL_CONFIG_ENABLE_SSE2_ROUNDING # the automatic SSE2 test fails on i386: Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation Failed .elif ${ARCH} == "i386" CFLAGS+= -msse2 # sse2 is not enabled on i386 by default as it is enabled on amd64, see https://github.com/vxl/vxl/issues/795 CXXFLAGS+= -msse2 PLIST_SUB+= X86="" CMAKE_ON+= VIL_CONFIG_ENABLE_SSE2_ROUNDING # the automatic SSE2 test fails on i386: Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation Failed .else PLIST_SUB+= X86="@comment " CMAKE_OFF+= VIL_CONFIG_ENABLE_SSE2_ROUNDING .endif .include diff --git a/multimedia/opentoonz/Makefile b/multimedia/opentoonz/Makefile index 362e14cc2dc0..aa844b8553db 100644 --- a/multimedia/opentoonz/Makefile +++ b/multimedia/opentoonz/Makefile @@ -1,33 +1,33 @@ PORTNAME= opentoonz DISTVERSIONPREFIX= v DISTVERSION= 1.5.0 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 \ - libpng16.so:graphics/png \ + 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/print/ft2demos/Makefile b/print/ft2demos/Makefile index 71046169a06c..a4b572e85178 100644 --- a/print/ft2demos/Makefile +++ b/print/ft2demos/Makefile @@ -1,36 +1,36 @@ # Created by: KANOU Hiroki PORTNAME= ft2demos PORTVERSION= 2.10.4 CATEGORIES= print MASTER_SITES= SAVANNAH/freetype/ \ SF/freetype/freetype-demos/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Demo programs for FreeType2 LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual BUILD_DEPENDS= ${NONEXISTENT}:print/freetype2:build LIB_DEPENDS= libfreetype.so:print/freetype2 \ - libpng16.so:graphics/png + libpng.so:graphics/png USES= gmake tar:xz xorg USE_XORG= x11 MAKE_ARGS= EXES="${FT_PROGRAMS}" X11_PATH="${LOCALBASE}" PLIST_FILES= ${FT_PROGRAMS:S,^,bin/,} FT_PROGRAMS= ftbench ftchkwd ftdiff ftdump ftgamma ftgrid ftlint ftmemchk \ ftmulti ftpatchk ftstring fttimer ftvalid ftview post-extract: ${LN} -sf `${MAKE} -C ${.CURDIR}/../../print/freetype2 -V WRKSRC` ${WRKDIR}/freetype2 do-install: @(cd ${WRKSRC}/bin/.libs && \ ${INSTALL_PROGRAM} ${FT_PROGRAMS} ${STAGEDIR}${PREFIX}/bin) .include diff --git a/print/limereport/Makefile b/print/limereport/Makefile index 23bb2c49307e..098f1d5d6ed5 100644 --- a/print/limereport/Makefile +++ b/print/limereport/Makefile @@ -1,42 +1,42 @@ # Created by: Golyashov Sergey PORTNAME= limereport PORTVERSION= 1.5.35 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+= libpng16.so:graphics/png +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 e1d2b3639e0e..7bbb7bfa53ac 100644 --- a/print/miktex/Makefile +++ b/print/miktex/Makefile @@ -1,82 +1,82 @@ PORTNAME= miktex DISTVERSION= 21.2 PORTREVISION= 1 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 \ - libpng16.so:graphics/png \ + 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/scribus-devel/Makefile b/print/scribus-devel/Makefile index 6e318eac9443..610211859a6e 100644 --- a/print/scribus-devel/Makefile +++ b/print/scribus-devel/Makefile @@ -1,66 +1,66 @@ # Created by: Piotr Kubaj PORTNAME= scribus PORTVERSION= 1.5.6.1 PORTREVISION= 4 CATEGORIES= print editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}/ \ http://www.scribus.net/downloads/${PORTVERSION}/ PKGNAMESUFFIX= -devel MAINTAINER= pkubaj@FreeBSD.org COMMENT= Comprehensive desktop publishing program (development version) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libboost_thread.so:devel/boost-libs \ libhunspell-1.7.so:textproc/hunspell \ libcairo.so:graphics/cairo \ librevenge-0.0.so:textproc/librevenge \ libcups.so:print/cups \ libwpg-0.3.so:graphics/libwpg03 \ libcdr-0.1.so:graphics/libcdr01 \ libfreehand-0.1.so:graphics/libfreehand \ libpagemaker-0.0.so:print/libpagemaker \ libmspub-0.1.so:print/libmspub01 \ libvisio-0.1.so:textproc/libvisio01 \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libpoppler.so:graphics/poppler \ libharfbuzz-icu.so:print/harfbuzz-icu \ libfontconfig.so:x11-fonts/fontconfig \ libpodofo.so:graphics/podofo \ libharfbuzz.so:print/harfbuzz \ - libpng16.so:graphics/png \ + libpng.so:graphics/png \ libicuuc.so:devel/icu \ libqxp-0.0.so:textproc/libqxp \ libzmf-0.0.so:graphics/libzmf USES= cmake compiler:gcc-c++11-lib desktop-file-utils dos2unix gnome \ jpeg pkgconfig python:3.6+ qt:5 shared-mime-info ssl tar:xz USE_QT= buildtools_build core declarative gui linguisttools_build \ network opengl printsupport qmake_build widgets xml DOS2UNIX_REGEX= .*\.(cpp|h|txt) USE_GNOME= libxml2 INSTALLS_ICONS= yes USE_LDCONFIG= yes CMAKE_ARGS+= -DWANT_HUNSPELL=YES -DCMAKE_COLOR_MAKEFILE:BOOL=ON OPTIONS_DEFINE= DOCS post-install: ${LN} -sf ../share/icons/1_5_1/scribus.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ ${MKDIR} ${STAGEDIR}${PREFIX}/man/de/man1 \ ${STAGEDIR}${PREFIX}/man/pl/man1 ${MV} ${STAGEDIR}${PREFIX}/share/man/de/man1/scribus.1 \ ${STAGEDIR}${PREFIX}/man/de/man1/ ${MV} ${STAGEDIR}${PREFIX}/share/man/man1/scribus.1 \ ${STAGEDIR}${PREFIX}/man/man1/ ${MV} ${STAGEDIR}${PREFIX}/share/man/pl/man1/scribus.1 \ ${STAGEDIR}${PREFIX}/man/pl/man1/ .include diff --git a/science/elmerfem/Makefile b/science/elmerfem/Makefile index f05b502b7737..7323b88c8baa 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 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 \ - libpng16.so:graphics/png \ + 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/x11-toolkits/pangolin/Makefile b/x11-toolkits/pangolin/Makefile index 6fe850a85f7a..6b6cfe96f044 100644 --- a/x11-toolkits/pangolin/Makefile +++ b/x11-toolkits/pangolin/Makefile @@ -1,28 +1,28 @@ PORTNAME= pangolin DISTVERSIONPREFIX= v DISTVERSION= 0.6 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 \ - libpng16.so:graphics/png \ + 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/jgmenu/Makefile b/x11/jgmenu/Makefile index cae0901f9d7d..f9ffba4c07a3 100644 --- a/x11/jgmenu/Makefile +++ b/x11/jgmenu/Makefile @@ -1,60 +1,60 @@ PORTNAME= jgmenu DISTVERSIONPREFIX= v DISTVERSION= 4.3.0 CATEGORIES= x11 MAINTAINER= lcook@FreeBSD.org COMMENT= Simple X11 menu LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libpng16.so:graphics/png +LIB_DEPENDS= libpng.so:graphics/png USES= compiler:c11 gmake gnome pkgconfig python:3.4+ shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= johanmalm USE_GNOME= cairo gdkpixbuf2 glib20 librsvg2 libxml2 pango INSTALLS_ICONS= yes USE_XORG= x11 xrandr SHEBANG_FILES= contrib/gtktheme/*.py contrib/pmenu/*.py src/*.py HAS_CONFIGURE= yes CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec \ --prefix=${PREFIX} PORTDOCS= ${_DOCS:T} OPTIONS_DEFINE= DOCS LX PMENU OPTIONS_DEFAULT= LX PMENU OPTIONS_SUB= yes LX_DESC= Generate menu data for freedesktop defined application menus PMENU_DESC= Generate menu data based on desktop and directory files LX_LIB_DEPENDS+= libmenu-cache.so:x11/menu-cache LX_CONFIGURE_ON= --with-lx PMENU_CONFIGURE_ON= --with-pmenu _LIBEXEC= greeneye apps socket i18n obtheme config ob _DOCS= AUTHORS.md CONTRIBUTING.md INSTALL.md NEWS.md README.md TODO.md \ docs/coding_style docs/default.csv docs/notes_on_icons \ docs/relnotes/${DISTVERSION}.txt .include .if ${PORT_OPTIONS:MLX} _LIBEXEC+= lx .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .for f in ${_LIBEXEC} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/${PORTNAME}-${f} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${_DOCS} ${STAGEDIR}${DOCSDIR} .include