mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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)
This commit is contained in:
parent
02eb8677b8
commit
16fc163575
1 changed files with 15 additions and 12 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
PORTNAME= fgallery
|
PORTNAME= fgallery
|
||||||
PORTVERSION= 1.8.2
|
PORTVERSION= 1.8.2
|
||||||
PORTREVISION= 4
|
PORTREVISION= 5
|
||||||
CATEGORIES= www graphics
|
CATEGORIES= www graphics
|
||||||
|
|
||||||
MAINTAINER= ehaupt@FreeBSD.org
|
MAINTAINER= ehaupt@FreeBSD.org
|
||||||
|
@ -11,19 +11,19 @@ COMMENT= Modern, static javascript photo gallery generator
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
||||||
|
|
||||||
|
LIB_DEPENDS= liblcms2.so:graphics/lcms2
|
||||||
RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool \
|
RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool \
|
||||||
exiftran:graphics/exiftran \
|
exiftran:graphics/exiftran \
|
||||||
p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS
|
p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS
|
||||||
LIB_DEPENDS= liblcms2.so:graphics/lcms2
|
|
||||||
|
|
||||||
USES= magick:6,run
|
USES= magick:6,run
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
NO_BUILD= yes
|
|
||||||
NO_ARCH= yes
|
|
||||||
|
|
||||||
GH_ACCOUNT= wavexx
|
GH_ACCOUNT= wavexx
|
||||||
GH_TAGNAME= 45a8629
|
GH_TAGNAME= 45a8629
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
NO_BUILD= yes
|
||||||
|
|
||||||
OPTIONS_DEFINE= 7ZIP FACEDETECT JPEGOPTIM PNGCRUSH
|
OPTIONS_DEFINE= 7ZIP FACEDETECT JPEGOPTIM PNGCRUSH
|
||||||
OPTIONS_DEFAULT= 7ZIP FACEDETECT JPEGOPTIM PNGCRUSH
|
OPTIONS_DEFAULT= 7ZIP FACEDETECT JPEGOPTIM PNGCRUSH
|
||||||
|
|
||||||
|
@ -32,12 +32,15 @@ FACEDETECT_DESC=Face detection for improved thumbnail centering
|
||||||
JPEGOPTIM_DESC= Use jpegoptim for JPEG size optimization
|
JPEGOPTIM_DESC= Use jpegoptim for JPEG size optimization
|
||||||
PNGCRUSH_DESC= Use pngcrush for PNG size optimization
|
PNGCRUSH_DESC= Use pngcrush for PNG size optimization
|
||||||
|
|
||||||
7ZIP_RUN_DEPENDS= 7z:archivers/p7zip
|
7ZIP_RUN_DEPENDS= 7zz:archivers/7-zip
|
||||||
7ZIP_RUN_DEPENDS_OFF= zip:archivers/zip
|
7ZIP_RUN_DEPENDS_OFF= zip:archivers/zip
|
||||||
FACEDETECT_RUN_DEPENDS= facedetect:graphics/facedetect
|
FACEDETECT_RUN_DEPENDS= facedetect:graphics/facedetect
|
||||||
JPEGOPTIM_RUN_DEPENDS= jpegoptim:graphics/jpegoptim
|
JPEGOPTIM_RUN_DEPENDS= jpegoptim:graphics/jpegoptim
|
||||||
PNGCRUSH_RUN_DEPENDS= pngcrush:graphics/pngcrush
|
PNGCRUSH_RUN_DEPENDS= pngcrush:graphics/pngcrush
|
||||||
|
|
||||||
|
post-patch-7ZIP-on:
|
||||||
|
@${REINPLACE_CMD} -e 's|7za|7zz|g' ${WRKSRC}/${PORTNAME}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
.for d in album view
|
.for d in album view
|
||||||
(cd ${WRKSRC} && \
|
(cd ${WRKSRC} && \
|
||||||
|
|
Loading…
Add table
Reference in a new issue