aboutsummaryrefslogtreecommitdiff
path: root/graphics/sxiv
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2014-08-09 08:42:11 +0000
committerThomas Zander <riggs@FreeBSD.org>2014-08-09 08:42:11 +0000
commit8e4afe7bb467545f490a27c1b98fc2ad2dc8f580 (patch)
treef2bec830c7d22fe66deadc92f60cd2183e5149e4 /graphics/sxiv
parentd014ce18a822d7b0a5459b44fd8bf4a2344a376c (diff)
downloadports-8e4afe7bb467545f490a27c1b98fc2ad2dc8f580.tar.gz
ports-8e4afe7bb467545f490a27c1b98fc2ad2dc8f580.zip
- Update to upstream version 1.2
- Correct e-mail address in Makefile header - Handle missing stripping of installed binary PR: 192509 Submitted by: solene@bsd.zplay.eu (maintainer) Approved by: mentors (implicit)
Notes
Notes: svn path=/head/; revision=364408
Diffstat (limited to 'graphics/sxiv')
-rw-r--r--graphics/sxiv/Makefile10
-rw-r--r--graphics/sxiv/distinfo4
-rw-r--r--graphics/sxiv/files/patch-Makefile14
3 files changed, 16 insertions, 12 deletions
diff --git a/graphics/sxiv/Makefile b/graphics/sxiv/Makefile
index 3cfce446729a..8cb3b7321b87 100644
--- a/graphics/sxiv/Makefile
+++ b/graphics/sxiv/Makefile
@@ -1,8 +1,8 @@
-# Created by: Solène RAPENNE <charles@bsd.zplay.eu>
+# Created by: Solène RAPENNE <solene@bsd.zplay.eu>
# $FreeBSD$
PORTNAME= sxiv
-PORTVERSION= 1.1.1
+PORTVERSION= 1.2
CATEGORIES= graphics
MASTER_SITES= https://github.com/muennich/sxiv/archive/
DISTNAME= v${PORTVERSION}
@@ -20,8 +20,12 @@ USE_XORG= x11
PLIST_FILES= bin/sxiv \
man/man1/sxiv.1.gz \
- share/sxiv/exec/image-info
+ share/sxiv/exec/image-info \
+ share/sxiv/exec/key-handler
PLIST_DIRS= share/sxiv/exec \
share/sxiv
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sxiv
+
.include <bsd.port.mk>
diff --git a/graphics/sxiv/distinfo b/graphics/sxiv/distinfo
index b3418bae57de..6f9c327b45aa 100644
--- a/graphics/sxiv/distinfo
+++ b/graphics/sxiv/distinfo
@@ -1,2 +1,2 @@
-SHA256 (v1.1.1.tar.gz) = 30569b7cb1568a7f60d102f6eb21f25c93de42243a1c8ac3c1a521d58b08281f
-SIZE (v1.1.1.tar.gz) = 37251
+SHA256 (v1.2.tar.gz) = ac76b69e4889137f2ce531ec4dc5ce9c4916bc575a30d351ebc7b0a684ef8cf3
+SIZE (v1.2.tar.gz) = 47775
diff --git a/graphics/sxiv/files/patch-Makefile b/graphics/sxiv/files/patch-Makefile
index 54ebda17f6f6..f4d1646ee006 100644
--- a/graphics/sxiv/files/patch-Makefile
+++ b/graphics/sxiv/files/patch-Makefile
@@ -1,13 +1,13 @@
---- ./Makefile.orig 2013-06-02 07:04:40.000000000 -0300
-+++ ./Makefile 2014-01-17 00:55:01.000000000 -0200
+--- Makefile.orig 2014-08-08 12:09:29.000000000 +0200
++++ Makefile 2014-08-08 12:09:36.000000000 +0200
@@ -1,9 +1,8 @@
- VERSION = 1.1.1
+ VERSION = 1.2
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
+-CC = gcc
+ CFLAGS = -std=c99 -Wall -pedantic -O2
+ CPPFLAGS = -I$(PREFIX)/include -D_XOPEN_SOURCE=500 -DHAVE_GIFLIB
+ LDFLAGS = -L$(PREFIX)/lib