Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2017 11:54:28 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r446259 - in head/www: . fgallery
Message-ID:  <201707201154.v6KBsSZ0003809@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Jul 20 11:54:28 2017
New Revision: 446259
URL: https://svnweb.freebsd.org/changeset/ports/446259

Log:
  Add fgallery 1.8.2, modern, static javascript photo gallery generator.

Added:
  head/www/fgallery/
  head/www/fgallery/Makefile   (contents, props changed)
  head/www/fgallery/distinfo   (contents, props changed)
  head/www/fgallery/pkg-descr   (contents, props changed)
  head/www/fgallery/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Thu Jul 20 11:53:59 2017	(r446258)
+++ head/www/Makefile	Thu Jul 20 11:54:28 2017	(r446259)
@@ -157,6 +157,7 @@
     SUBDIR += fcgiwrap
     SUBDIR += feedjack
     SUBDIR += ffproxy
+    SUBDIR += fgallery
     SUBDIR += fira-webfont
     SUBDIR += firefox
     SUBDIR += firefox-esr

Added: head/www/fgallery/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/fgallery/Makefile	Thu Jul 20 11:54:28 2017	(r446259)
@@ -0,0 +1,50 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	fgallery
+PORTVERSION=	1.8.2
+CATEGORIES=	www graphics
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	Modern, static javascript photo gallery generator
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING.txt
+
+RUN_DEPENDS=	exiftool:graphics/p5-Image-ExifTool \
+		exiftran:graphics/exiftran \
+		p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS \
+		convert:graphics/ImageMagick
+LIB_DEPENDS=	liblcms2.so:graphics/lcms2
+
+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
+
+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=	7z:archivers/p7zip
+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
+
+do-install:
+.for d in album view
+	(cd ${WRKSRC} && \
+	${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
+.endfor
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR}
+	${LN} -s ${DATADIR}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/www/fgallery/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/fgallery/distinfo	Thu Jul 20 11:54:28 2017	(r446259)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1500536838
+SHA256 (wavexx-fgallery-1.8.2-45a8629_GH0.tar.gz) = 657da1c0350489254bcf7fdb27af112722cce85fc1b2fdae4ab5cdf75fd802c9
+SIZE (wavexx-fgallery-1.8.2-45a8629_GH0.tar.gz) = 140796

Added: head/www/fgallery/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/fgallery/pkg-descr	Thu Jul 20 11:54:28 2017	(r446259)
@@ -0,0 +1,18 @@
+fgallery is a static photo gallery generator with no frills that has a stylish,
+minimalist look. fgallery shows your photos, and nothing else.
+
+There is no server-side processing, only static generation. The resulting
+gallery can be uploaded anywhere without additional requirements and works with
+any modern browser.
+
+Key features:
+
+ * Automatically orients pictures without quality loss
+ * Adapts to the current screen size and proportions, switching from
+   horizontal/vertical layout and scaling thumbnails automatically
+ * Supports face detection for improved thumbnail centering
+ * Loads fast
+ * Includes original (raw) pictures in a zip file for downloading
+ * Panoramas can be seen full-size by default
+
+WWW: http://www.thregr.org/~wavexx/software/fgallery/

Added: head/www/fgallery/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/fgallery/pkg-plist	Thu Jul 20 11:54:28 2017	(r446259)
@@ -0,0 +1,27 @@
+bin/fgallery
+man/man1/fgallery.1.gz
+%%DATADIR%%/album/index.css
+%%DATADIR%%/album/index.html
+%%DATADIR%%/album/index.js
+%%DATADIR%%/fgallery
+%%DATADIR%%/view/back.png
+%%DATADIR%%/view/cap-always.png
+%%DATADIR%%/view/cap-never.png
+%%DATADIR%%/view/cap-normal.png
+%%DATADIR%%/view/cut-left.png
+%%DATADIR%%/view/cut-mov.png
+%%DATADIR%%/view/cut-right.png
+%%DATADIR%%/view/cut-top.png
+%%DATADIR%%/view/download.png
+%%DATADIR%%/view/eye.png
+%%DATADIR%%/view/index.css
+%%DATADIR%%/view/index.html
+%%DATADIR%%/view/index.js
+%%DATADIR%%/view/left.png
+%%DATADIR%%/view/mootools-core-1.4.js
+%%DATADIR%%/view/mootools-idle.js
+%%DATADIR%%/view/mootools-mooswipe.js
+%%DATADIR%%/view/mootools-more-1.4.js
+%%DATADIR%%/view/noise.png
+%%DATADIR%%/view/right.png
+%%DATADIR%%/view/throbber.gif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707201154.v6KBsSZ0003809>