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
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 4
|
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
|
|
|
|
2014-09-03 05:27:41 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}game>0:${PORTSDIR}/devel/py-game \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
USES= python:run shebangfix
|
|
|
|
SHEBANG_FILES= imgv.py
|
|
|
|
python_OLD_CMD= /usr/bin/env python
|
|
|
|
python_CMD= ${PYTHON_CMD}
|
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>
|