summaryrefslogtreecommitdiff
path: root/misc/kchmviewer
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-09-16 17:08:39 +0000
committerwiz <wiz@pkgsrc.org>2007-09-16 17:08:39 +0000
commit769e3078b83d3960197a1967d84ea40bb296540a (patch)
tree42dc9399d3b5e42058e2c17fc397ebc309a45650 /misc/kchmviewer
parenta25454bc8154120e91942bb210ade0c673e7dac2 (diff)
downloadpkgsrc-769e3078b83d3960197a1967d84ea40bb296540a.tar.gz
Initial import of kchmviewer-3.1, originally packaged for pkgsrc-wip by
Ian Zagorskih, updated to latest version by me. KchmViewer is a CHM (MS HTML help file format) viewer, written in C++. Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget library with optional KDE libraries. It does not require KDE, but may be compiled with full KDE support, including KDE widgets and KIO/KHTML. The main advantage of KchmViewer is extra support for non-English languages. Unlike other viewers, KchmViewer in most cases is able to detect help file encoding, correctly shows tables of context of Russian, Korean, Chinese and Japanese help files, and does correct search in non-English help files (search for MBCS languages - ja/ko/ch is still in progress).
Diffstat (limited to 'misc/kchmviewer')
-rw-r--r--misc/kchmviewer/DESCR12
-rw-r--r--misc/kchmviewer/Makefile24
-rw-r--r--misc/kchmviewer/PLIST16
-rw-r--r--misc/kchmviewer/distinfo5
4 files changed, 57 insertions, 0 deletions
diff --git a/misc/kchmviewer/DESCR b/misc/kchmviewer/DESCR
new file mode 100644
index 00000000000..22da83348b4
--- /dev/null
+++ b/misc/kchmviewer/DESCR
@@ -0,0 +1,12 @@
+KchmViewer is a CHM (MS HTML help file format) viewer, written in
+C++. Unlike most existing CHM viewers for Unix, it uses Trolltech
+Qt widget library with optional KDE libraries. It does not require
+KDE, but may be compiled with full KDE support, including KDE
+widgets and KIO/KHTML.
+
+The main advantage of KchmViewer is extra support for non-English
+languages. Unlike other viewers, KchmViewer in most cases is able
+to detect help file encoding, correctly shows tables of context of
+Russian, Korean, Chinese and Japanese help files, and does correct
+search in non-English help files (search for MBCS languages -
+ja/ko/ch is still in progress).
diff --git a/misc/kchmviewer/Makefile b/misc/kchmviewer/Makefile
new file mode 100644
index 00000000000..a21c728b550
--- /dev/null
+++ b/misc/kchmviewer/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/09/16 17:08:39 wiz Exp $
+#
+
+DISTNAME= kchmviewer-3.1
+CATEGORIES= misc x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kchmviewer/}
+
+MAINTAINER= ianzag@mail.ru
+HOMEPAGE= http://www.kchmviewer.net/
+COMMENT= KchmViewer is a CHM (MS HTML help file format) viewer
+
+USE_TOOLS+= gmake
+USE_PKGLOCALEDIR= YES
+USE_LANGUAGES= c c++
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --with-kde
+
+.include "../../devel/chmlib/buildlink3.mk"
+.include "../../x11/qt3-libs/buildlink3.mk"
+.include "../../x11/qt3-tools/buildlink3.mk"
+.include "../../x11/kdelibs3/buildlink3.mk"
+.include "../../meta-pkgs/kde3/kde3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/kchmviewer/PLIST b/misc/kchmviewer/PLIST
new file mode 100644
index 00000000000..b9c8c8e54a1
--- /dev/null
+++ b/misc/kchmviewer/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/16 17:08:39 wiz Exp $
+bin/kchmviewer
+lib/kde3/kio_msits.la
+lib/libchmfile.a
+lib/libkdeextra.a
+share/icons/crystalsvg/128x128/apps/kchmviewer.png
+share/icons/crystalsvg/48x48/apps/kchmviewer.png
+share/icons/crystalsvg/64x64/apps/kchmviewer.png
+share/kde/applnk/kchmviewer.desktop
+share/kde/services/msits.protocol
+share/locale/cs/LC_MESSAGES/kchmviewer.mo
+share/locale/du/LC_MESSAGES/kchmviewer.mo
+share/locale/fr/LC_MESSAGES/kchmviewer.mo
+share/locale/ru/LC_MESSAGES/kchmviewer.mo
+share/locale/tr/LC_MESSAGES/kchmviewer.mo
+share/locale/zh_CN/LC_MESSAGES/kchmviewer.mo
diff --git a/misc/kchmviewer/distinfo b/misc/kchmviewer/distinfo
new file mode 100644
index 00000000000..951aef653e8
--- /dev/null
+++ b/misc/kchmviewer/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/09/16 17:08:39 wiz Exp $
+
+SHA1 (kchmviewer-3.1.tar.gz) = aa685216fc0ccec486d43db9531698ab1fb21152
+RMD160 (kchmviewer-3.1.tar.gz) = d55070b77bf516acaa56d35f58b52d070e2ee957
+Size (kchmviewer-3.1.tar.gz) = 944014 bytes