2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Simon Olofsson <simon@olofsson.de>
|
Features include a GUI that doesn't get in the way of viewing your images, a
file browser, slideshows, zooming, rotating, on-the-fly Exif viewing,
histograms, fullscreen support, wallpaper setting, the ability to view 4 images
on the screen at once, adjustable thumbnail sizes, playlists, view and download
images from Web sites, movie playing, file searching/filtering, multiple
directory loading, transitional effects, image hiding and more.
Author: Ryan Kulla <rkulla@gmail.com>
WWW: http://imgv.sourceforge.net/
PR: ports/108755
Submitted by: Simon Olofsson <simon at olofsson.de>
Approved by: alexbl (mentor, implicit)
2007-02-05 22:23:55 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= imgv
|
2011-11-16 18:49:28 +01:00
|
|
|
PORTVERSION= 3.1.6
|
2014-09-03 05:27:41 +02:00
|
|
|
DISTVERSIONSUFFIX= -src
|
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
2018-12-12 02:35:33 +01:00
|
|
|
PORTREVISION= 7
|
Features include a GUI that doesn't get in the way of viewing your images, a
file browser, slideshows, zooming, rotating, on-the-fly Exif viewing,
histograms, fullscreen support, wallpaper setting, the ability to view 4 images
on the screen at once, adjustable thumbnail sizes, playlists, view and download
images from Web sites, movie playing, file searching/filtering, multiple
directory loading, transitional effects, image hiding and more.
Author: Ryan Kulla <rkulla@gmail.com>
WWW: http://imgv.sourceforge.net/
PR: ports/108755
Submitted by: Simon Olofsson <simon at olofsson.de>
Approved by: alexbl (mentor, implicit)
2007-02-05 22:23:55 +01:00
|
|
|
CATEGORIES= graphics python
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
|
Features include a GUI that doesn't get in the way of viewing your images, a
file browser, slideshows, zooming, rotating, on-the-fly Exif viewing,
histograms, fullscreen support, wallpaper setting, the ability to view 4 images
on the screen at once, adjustable thumbnail sizes, playlists, view and download
images from Web sites, movie playing, file searching/filtering, multiple
directory loading, transitional effects, image hiding and more.
Author: Ryan Kulla <rkulla@gmail.com>
WWW: http://imgv.sourceforge.net/
PR: ports/108755
Submitted by: Simon Olofsson <simon at olofsson.de>
Approved by: alexbl (mentor, implicit)
2007-02-05 22:23:55 +01:00
|
|
|
|
2014-05-11 00:06:22 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= Unique and feature rich Image Viewer
|
Features include a GUI that doesn't get in the way of viewing your images, a
file browser, slideshows, zooming, rotating, on-the-fly Exif viewing,
histograms, fullscreen support, wallpaper setting, the ability to view 4 images
on the screen at once, adjustable thumbnail sizes, playlists, view and download
images from Web sites, movie playing, file searching/filtering, multiple
directory loading, transitional effects, image hiding and more.
Author: Ryan Kulla <rkulla@gmail.com>
WWW: http://imgv.sourceforge.net/
PR: ports/108755
Submitted by: Simon Olofsson <simon at olofsson.de>
Approved by: alexbl (mentor, implicit)
2007-02-05 22:23:55 +01:00
|
|
|
|
2014-09-03 05:27:41 +02:00
|
|
|
LICENSE= GPLv2
|
Features include a GUI that doesn't get in the way of viewing your images, a
file browser, slideshows, zooming, rotating, on-the-fly Exif viewing,
histograms, fullscreen support, wallpaper setting, the ability to view 4 images
on the screen at once, adjustable thumbnail sizes, playlists, view and download
images from Web sites, movie playing, file searching/filtering, multiple
directory loading, transitional effects, image hiding and more.
Author: Ryan Kulla <rkulla@gmail.com>
WWW: http://imgv.sourceforge.net/
PR: ports/108755
Submitted by: Simon Olofsson <simon at olofsson.de>
Approved by: alexbl (mentor, implicit)
2007-02-05 22:23:55 +01:00
|
|
|
|
2017-12-12 13:40:15 +01:00
|
|
|
RUN_DEPENDS= ${PYGAME} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
|
2014-09-03 05:27:41 +02:00
|
|
|
|
|
|
|
NO_ARCH= yes
|
Features include a GUI that doesn't get in the way of viewing your images, a
file browser, slideshows, zooming, rotating, on-the-fly Exif viewing,
histograms, fullscreen support, wallpaper setting, the ability to view 4 images
on the screen at once, adjustable thumbnail sizes, playlists, view and download
images from Web sites, movie playing, file searching/filtering, multiple
directory loading, transitional effects, image hiding and more.
Author: Ryan Kulla <rkulla@gmail.com>
WWW: http://imgv.sourceforge.net/
PR: ports/108755
Submitted by: Simon Olofsson <simon at olofsson.de>
Approved by: alexbl (mentor, implicit)
2007-02-05 22:23:55 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2014-09-03 05:27:41 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2017-12-12 13:40:15 +01:00
|
|
|
USES= python:2.7 shebangfix
|
2014-09-03 05:27:41 +02:00
|
|
|
SHEBANG_FILES= imgv.py
|
Features include a GUI that doesn't get in the way of viewing your images, a
file browser, slideshows, zooming, rotating, on-the-fly Exif viewing,
histograms, fullscreen support, wallpaper setting, the ability to view 4 images
on the screen at once, adjustable thumbnail sizes, playlists, view and download
images from Web sites, movie playing, file searching/filtering, multiple
directory loading, transitional effects, image hiding and more.
Author: Ryan Kulla <rkulla@gmail.com>
WWW: http://imgv.sourceforge.net/
PR: ports/108755
Submitted by: Simon Olofsson <simon at olofsson.de>
Approved by: alexbl (mentor, implicit)
2007-02-05 22:23:55 +01:00
|
|
|
|
|
|
|
post-patch:
|
2014-09-03 05:27:41 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/gl.py
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@${ECHO_CMD} -n > ${WRKSRC}/__init__.py
|
Features include a GUI that doesn't get in the way of viewing your images, a
file browser, slideshows, zooming, rotating, on-the-fly Exif viewing,
histograms, fullscreen support, wallpaper setting, the ability to view 4 images
on the screen at once, adjustable thumbnail sizes, playlists, view and download
images from Web sites, movie playing, file searching/filtering, multiple
directory loading, transitional effects, image hiding and more.
Author: Ryan Kulla <rkulla@gmail.com>
WWW: http://imgv.sourceforge.net/
PR: ports/108755
Submitted by: Simon Olofsson <simon at olofsson.de>
Approved by: alexbl (mentor, implicit)
2007-02-05 22:23:55 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-09-03 05:27:41 +02:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_SCRIPT} imgv.py \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/imgv)
|
|
|
|
@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/imgv
|
|
|
|
(cd ${WRKSRC} && ${FIND} . -maxdepth 1 -type f \
|
|
|
|
-name "*.py" -a ! -name "setup.py" -a ! -name "imgv.py" | \
|
|
|
|
${XARGS} -J % ${INSTALL_DATA} % \
|
|
|
|
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/imgv)
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/data
|
|
|
|
(cd ${WRKSRC}/data && ${INSTALL_DATA} * \
|
|
|
|
${STAGEDIR}${DATADIR}/data)
|
|
|
|
@(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \
|
|
|
|
-d ${PYTHONPREFIX_SITELIBDIR} \
|
|
|
|
-f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
|
|
|
|
@(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O -m compileall \
|
|
|
|
-d ${PYTHONPREFIX_SITELIBDIR} \
|
|
|
|
-f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|