summaryrefslogtreecommitdiff
path: root/graphics/qiv
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2004-09-01 01:55:30 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2004-09-01 01:55:30 +0000
commitce977ff6199c7cd42327d8db102e0e3ff3969c81 (patch)
treeb1a1385efeda1d0b911313f25d6b977f690fbbc2 /graphics/qiv
parentTry to finish fighting to make cvs get the right patch files. (diff)
Update to 2.0 version.
PR: 70790 Submitted by: Andrey Slusar Add option for Xinerama support, and unmark BROKEN for Alpha.
Diffstat (limited to 'graphics/qiv')
-rw-r--r--graphics/qiv/Makefile13
-rw-r--r--graphics/qiv/distinfo4
2 files changed, 12 insertions, 5 deletions
diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile
index feec381aee3a..e2f84bfc3236 100644
--- a/graphics/qiv/Makefile
+++ b/graphics/qiv/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= qiv
-PORTVERSION= 1.9
+PORTVERSION= 2.0
CATEGORIES= graphics
MASTER_SITES= http://www.klografx.net/qiv/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -15,6 +15,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= trevor@FreeBSD.org
COMMENT= Small, fast GDK/Imlib image viewer
+OPTIONS= XINERAMA "use multiple monitors (XFree86 4 and X.org only)" off
USE_GETOPT_LONG=yes
USE_GMAKE= yes
USE_GNOME= imlib
@@ -26,8 +27,14 @@ PLIST_FILES= bin/qiv
.include <bsd.port.pre.mk>
-.if ${ARCH} == "alpha"
-BROKEN= "Does not compile on alpha"
+pre-configure:
+.if defined(WITH_XINERAMA)
+ @${ECHO_MSG} compiling with Xinerama support
+ @${MV} -v ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
+ @${SED} -e 's/\# GTD_XINERAMA/GTD_XINERAMA/' \
+ < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
+.else
+ @${ECHO_MSG} compiling without Xinerama support
.endif
do-configure:
diff --git a/graphics/qiv/distinfo b/graphics/qiv/distinfo
index da9e23bbac71..bed933301c1a 100644
--- a/graphics/qiv/distinfo
+++ b/graphics/qiv/distinfo
@@ -1,2 +1,2 @@
-MD5 (qiv-1.9-src.tgz) = b368e00543b2b1d9a87b37fd5ba60c57
-SIZE (qiv-1.9-src.tgz) = 75507
+MD5 (qiv-2.0-src.tgz) = 165d0c2f264718821f94732196b7f9e1
+SIZE (qiv-2.0-src.tgz) = 76561