aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deskutils/kchmviewer-kde4/Makefile14
-rw-r--r--deskutils/kchmviewer-kde4/distinfo4
2 files changed, 11 insertions, 7 deletions
diff --git a/deskutils/kchmviewer-kde4/Makefile b/deskutils/kchmviewer-kde4/Makefile
index 58f0849fd378..1940f311eb06 100644
--- a/deskutils/kchmviewer-kde4/Makefile
+++ b/deskutils/kchmviewer-kde4/Makefile
@@ -2,20 +2,24 @@
# $FreeBSD$
PORTNAME= kchmviewer
-PORTVERSION= 6.0
-PORTREVISION= 5
+PORTVERSION= 7.1
CATEGORIES= deskutils kde
MASTER_SITES= SF
MAINTAINER= makc@FreeBSD.org
-COMMENT= Qt/KDE viewer for CHM files
+COMMENT= KDE viewer for CHM files
-LIB_DEPENDS= libchm.so:${PORTSDIR}/misc/chmlib
+LIB_DEPENDS= libchm.so:${PORTSDIR}/misc/chmlib \
+ libzip.so:${PORTSDIR}/archivers/libzip
-USES= cmake
+USES= cmake:outsource
USE_KDE4= kdeprefix kdelibs automoc4
USE_QT4= webkit qmake_build moc_build rcc_build uic_build
+post-patch:
+ ${REINPLACE_CMD} 's,/usr/bin/kate,${KDE4_PREFIX}/bin/kate,' \
+ ${WRKSRC}/src/config.cpp
+
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/packages/kchmviewer.png ${STAGEDIR}${PREFIX}/share/pixmaps
diff --git a/deskutils/kchmviewer-kde4/distinfo b/deskutils/kchmviewer-kde4/distinfo
index 977b48b8098c..1a8ceb57f091 100644
--- a/deskutils/kchmviewer-kde4/distinfo
+++ b/deskutils/kchmviewer-kde4/distinfo
@@ -1,2 +1,2 @@
-SHA256 (kchmviewer-6.0.tar.gz) = 81c856434a86977039c36cb10f2427cc8cb1ea29a778f24fff2285d49c717979
-SIZE (kchmviewer-6.0.tar.gz) = 310642
+SHA256 (kchmviewer-7.1.tar.gz) = a410d0a343d8a871cc860e2983079981806eb70cbf0c970fa1bcf5689821144f
+SIZE (kchmviewer-7.1.tar.gz) = 340934