Date: Tue, 4 Jan 2022 16:46:31 GMT From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 16fc163575c8 - main - www/fgallery: Switch from p7zip to 7-zip Message-ID: <202201041646.204GkVFe017537@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=16fc163575c88db3cebd7aa0ec49b3a2c33e9ce5 commit 16fc163575c88db3cebd7aa0ec49b3a2c33e9ce5 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2022-01-04 16:43:50 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2022-01-04 16:46:03 +0000 www/fgallery: Switch from p7zip to 7-zip Switch from outdated archivers/p7zip tp archivers/7-zip which is encouraged by the maintainer (see PR). While here, pacify portclippy/portfmt. PR: 260866 (based on) --- www/fgallery/Makefile | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/www/fgallery/Makefile b/www/fgallery/Makefile index eed6ffa04aea..3fcc6b11d683 100644 --- a/www/fgallery/Makefile +++ b/www/fgallery/Makefile @@ -2,7 +2,7 @@ PORTNAME= fgallery PORTVERSION= 1.8.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www graphics MAINTAINER= ehaupt@FreeBSD.org @@ -11,33 +11,36 @@ COMMENT= Modern, static javascript photo gallery generator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.txt +LIB_DEPENDS= liblcms2.so:graphics/lcms2 RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool \ exiftran:graphics/exiftran \ p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS -LIB_DEPENDS= liblcms2.so:graphics/lcms2 USES= magick:6,run USE_GITHUB= yes -NO_BUILD= yes -NO_ARCH= yes - GH_ACCOUNT= wavexx GH_TAGNAME= 45a8629 -OPTIONS_DEFINE= 7ZIP FACEDETECT JPEGOPTIM PNGCRUSH -OPTIONS_DEFAULT=7ZIP FACEDETECT JPEGOPTIM PNGCRUSH +NO_ARCH= yes +NO_BUILD= yes -7ZIP_DESC= Use 7-Zip for better zip compression -FACEDETECT_DESC=Face detection for improved thumbnail centering -JPEGOPTIM_DESC= Use jpegoptim for JPEG size optimization -PNGCRUSH_DESC= Use pngcrush for PNG size optimization +OPTIONS_DEFINE= 7ZIP FACEDETECT JPEGOPTIM PNGCRUSH +OPTIONS_DEFAULT= 7ZIP FACEDETECT JPEGOPTIM PNGCRUSH -7ZIP_RUN_DEPENDS= 7z:archivers/p7zip +7ZIP_DESC= Use 7-Zip for better zip compression +FACEDETECT_DESC= Face detection for improved thumbnail centering +JPEGOPTIM_DESC= Use jpegoptim for JPEG size optimization +PNGCRUSH_DESC= Use pngcrush for PNG size optimization + +7ZIP_RUN_DEPENDS= 7zz:archivers/7-zip 7ZIP_RUN_DEPENDS_OFF= zip:archivers/zip FACEDETECT_RUN_DEPENDS= facedetect:graphics/facedetect JPEGOPTIM_RUN_DEPENDS= jpegoptim:graphics/jpegoptim PNGCRUSH_RUN_DEPENDS= pngcrush:graphics/pngcrush +post-patch-7ZIP-on: + @${REINPLACE_CMD} -e 's|7za|7zz|g' ${WRKSRC}/${PORTNAME} + do-install: .for d in album view (cd ${WRKSRC} && \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201041646.204GkVFe017537>