aboutsummaryrefslogtreecommitdiff
path: root/graphics/sxiv
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-01-17 16:11:11 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-01-17 16:11:11 +0000
commit685f404e7b6f9801ecd9112aa858ea5f97af377b (patch)
treed00efff56ede77f3c046949bfa11e8dc42f28cf2 /graphics/sxiv
parent32b81de69414e0e6d5baead9627e453bc18718de (diff)
downloadports-685f404e7b6f9801ecd9112aa858ea5f97af377b.tar.gz
ports-685f404e7b6f9801ecd9112aa858ea5f97af377b.zip
- Add new port graphics/sxiv
sxiv is a light image viewer which as a few features : - Basic image operations, e.g. zooming, panning, rotating - Customizable key and mouse button mappings (in config.h) - Thumbnail mode: grid of selectable previews of all images - Ability to cache thumbnails for fast re-loading - Basic support for multi-frame images - Load all frames from GIF files and play GIF animations - Display image information in status bar PR: ports/185672 Submitted by: Rapenne <charles@bsd.zplay.eu>
Notes
Notes: svn path=/head/; revision=340065
Diffstat (limited to 'graphics/sxiv')
-rw-r--r--graphics/sxiv/Makefile27
-rw-r--r--graphics/sxiv/distinfo2
-rw-r--r--graphics/sxiv/files/patch-Makefile13
-rw-r--r--graphics/sxiv/pkg-descr13
4 files changed, 55 insertions, 0 deletions
diff --git a/graphics/sxiv/Makefile b/graphics/sxiv/Makefile
new file mode 100644
index 000000000000..d7c72d20869d
--- /dev/null
+++ b/graphics/sxiv/Makefile
@@ -0,0 +1,27 @@
+# Created by: Charles RAPENNE <charles@bsd.zplay.eu>
+# $FreeBSD$
+
+PORTNAME= sxiv
+PORTVERSION= 1.1.1
+CATEGORIES= graphics
+MASTER_SITES= https://github.com/muennich/sxiv/archive/
+DISTNAME= v${PORTVERSION}
+
+MAINTAINER= charles@bsd.zplay.eu
+COMMENT= Lightweight image viewer
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/
+USES= pkgconfig
+USE_XORG= x11
+
+PLIST_FILES= bin/sxiv \
+ man/man1/sxiv.1.gz \
+ share/sxiv/exec/image-info
+PLIST_DIRS= share/sxiv/exec \
+ share/sxiv
+
+.include <bsd.port.mk>
diff --git a/graphics/sxiv/distinfo b/graphics/sxiv/distinfo
new file mode 100644
index 000000000000..b3418bae57de
--- /dev/null
+++ b/graphics/sxiv/distinfo
@@ -0,0 +1,2 @@
+SHA256 (v1.1.1.tar.gz) = 30569b7cb1568a7f60d102f6eb21f25c93de42243a1c8ac3c1a521d58b08281f
+SIZE (v1.1.1.tar.gz) = 37251
diff --git a/graphics/sxiv/files/patch-Makefile b/graphics/sxiv/files/patch-Makefile
new file mode 100644
index 000000000000..54ebda17f6f6
--- /dev/null
+++ b/graphics/sxiv/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- ./Makefile.orig 2013-06-02 07:04:40.000000000 -0300
++++ ./Makefile 2014-01-17 00:55:01.000000000 -0200
+@@ -1,9 +1,8 @@
+ VERSION = 1.1.1
+
+ PREFIX = /usr/local
+-MANPREFIX = $(PREFIX)/share/man
++MANPREFIX = $(PREFIX)/man
+
+-CC = gcc
+ CFLAGS = -std=c99 -Wall -pedantic -O2 -I$(PREFIX)/include -DHAVE_GIFLIB
+ LDFLAGS = -L$(PREFIX)/lib
+ LIBS = -lX11 -lImlib2 -lgif
diff --git a/graphics/sxiv/pkg-descr b/graphics/sxiv/pkg-descr
new file mode 100644
index 000000000000..648897224084
--- /dev/null
+++ b/graphics/sxiv/pkg-descr
@@ -0,0 +1,13 @@
+Simple X Image Viewer
+
+sxiv is a light image viewer which as a few features :
+
+- Basic image operations, e.g. zooming, panning, rotating
+- Customizable key and mouse button mappings (in config.h)
+- Thumbnail mode: grid of selectable previews of all images
+- Ability to cache thumbnails for fast re-loading
+- Basic support for multi-frame images
+- Load all frames from GIF files and play GIF animations
+- Display image information in status bar
+
+WWW: https://github.com/muennich/sxiv