aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2014-10-19 23:15:00 +0800
committermakc <makc@FreeBSD.org>2014-10-19 23:15:00 +0800
commit5301a7d0d9cb9250ed486682d31d31d5bb1add9f (patch)
tree289e5f68191501ae72a0ad41260fca98215cd8b2
parent2c63233f1b8aae9fa3847171c06b326fd372f408 (diff)
downloadfreebsd-ports-gnome-5301a7d0d9cb9250ed486682d31d31d5bb1add9f.tar.gz
freebsd-ports-gnome-5301a7d0d9cb9250ed486682d31d31d5bb1add9f.tar.zst
freebsd-ports-gnome-5301a7d0d9cb9250ed486682d31d31d5bb1add9f.zip
deskutils/kchmviewer-kde4:
- update to 7.1 - amend COMMENT - add dependence on archivers/libzip - switch to out-of-source build
-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