aboutsummaryrefslogtreecommitdiff
path: root/graphics/qcomicbook
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-08-28 12:54:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-08-28 12:54:26 +0000
commitc8cb7d653a46838c285d241f11115980a3d9ea6c (patch)
tree611ad6bd559513ba2eab7e52fd2e400322a5d22f /graphics/qcomicbook
parent3f34f8fa9868b2be32edfe999bc98bc850ff4be1 (diff)
downloadports-c8cb7d653a46838c285d241f11115980a3d9ea6c.tar.gz
ports-c8cb7d653a46838c285d241f11115980a3d9ea6c.zip
Notes
Diffstat (limited to 'graphics/qcomicbook')
-rw-r--r--graphics/qcomicbook/Makefile11
-rw-r--r--graphics/qcomicbook/distinfo6
-rw-r--r--graphics/qcomicbook/files/patch-src__imgarchiver.cpp10
-rw-r--r--graphics/qcomicbook/files/patch-src__imgdirsink.cpp10
4 files changed, 26 insertions, 11 deletions
diff --git a/graphics/qcomicbook/Makefile b/graphics/qcomicbook/Makefile
index 637c52786050..dc072dac3f5b 100644
--- a/graphics/qcomicbook/Makefile
+++ b/graphics/qcomicbook/Makefile
@@ -6,13 +6,14 @@
#
PORTNAME= qcomicbook
-PORTVERSION= 0.2.8
+PORTVERSION= 0.3.2
CATEGORIES= graphics
MASTER_SITES= http://linux.bydg.org/~yogin/
MAINTAINER= ports@FreeBSD.org
COMMENT= QT-based comic book archive viewer
+LIB_DEPENDS= Imlib2.3:${PORTSDIR}/graphics/imlib2
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \
unrar:${PORTSDIR}/archivers/unrar
@@ -30,10 +31,4 @@ MAN1= qcomicbook.1
QTCPPFLAGS+= ${PTHREAD_CFLAGS}
QTCFGLIBS+= ${PTHREAD_LIBS}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not compile on FreeBSD 4.x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/qcomicbook/distinfo b/graphics/qcomicbook/distinfo
index 4c0a806c1fcf..5e058f421626 100644
--- a/graphics/qcomicbook/distinfo
+++ b/graphics/qcomicbook/distinfo
@@ -1,3 +1,3 @@
-MD5 (qcomicbook-0.2.8.tar.gz) = 8ea6eb8d395dea29305a6a52ad9b78e3
-SHA256 (qcomicbook-0.2.8.tar.gz) = d09500c308801f13dc2bb8e6ba1f50071883acd3b2d9854ed0f192d44e449b91
-SIZE (qcomicbook-0.2.8.tar.gz) = 388902
+MD5 (qcomicbook-0.3.2.tar.gz) = ab191878d0694c77c4e5dd1d22f3d14c
+SHA256 (qcomicbook-0.3.2.tar.gz) = f6ed187c821b576054c743bc33fa938fec31cc8f56063287d81350245b33adec
+SIZE (qcomicbook-0.3.2.tar.gz) = 394110
diff --git a/graphics/qcomicbook/files/patch-src__imgarchiver.cpp b/graphics/qcomicbook/files/patch-src__imgarchiver.cpp
new file mode 100644
index 000000000000..2489c99de2c0
--- /dev/null
+++ b/graphics/qcomicbook/files/patch-src__imgarchiver.cpp
@@ -0,0 +1,10 @@
+--- src/imgarchiver.cpp.orig Tue Aug 15 20:51:05 2006
++++ src/imgarchiver.cpp Sun Aug 27 20:12:00 2006
+@@ -13,6 +13,7 @@
+ #include "imgarchiver.h"
+ #include <qprocess.h>
+ #include <qapplication.h>
++#include <unistd.h>
+
+ using namespace QComicBook;
+
diff --git a/graphics/qcomicbook/files/patch-src__imgdirsink.cpp b/graphics/qcomicbook/files/patch-src__imgdirsink.cpp
new file mode 100644
index 000000000000..2451d434bca5
--- /dev/null
+++ b/graphics/qcomicbook/files/patch-src__imgdirsink.cpp
@@ -0,0 +1,10 @@
+--- src/imgdirsink.cpp.orig Thu Aug 24 03:07:06 2006
++++ src/imgdirsink.cpp Sun Aug 27 20:14:19 2006
+@@ -404,6 +404,6 @@
+ for (int i=0; imgext[i]; i++)
+ if (path.endsWith(imgext[i], false))
+ return imgext[i];
+- return false;
++ return QString::null;
+ }
+