summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/utilities/kchmviewer
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/applications/utilities/kchmviewer')
-rw-r--r--freebsd/applications/utilities/kchmviewer/Makefile35
-rw-r--r--freebsd/applications/utilities/kchmviewer/distinfo3
-rw-r--r--freebsd/applications/utilities/kchmviewer/pkg-descr20
-rw-r--r--freebsd/applications/utilities/kchmviewer/pkg-plist22
4 files changed, 80 insertions, 0 deletions
diff --git a/freebsd/applications/utilities/kchmviewer/Makefile b/freebsd/applications/utilities/kchmviewer/Makefile
new file mode 100644
index 000000000..add2edbb7
--- /dev/null
+++ b/freebsd/applications/utilities/kchmviewer/Makefile
@@ -0,0 +1,35 @@
+# -*-mode: makefile-*-
+# Created by: [email protected]
+# $FreeBSD$
+#
+
+.include <../../../trinity.port.mk>
+
+PORTNAME= kchmviewer-trinity
+COMMENT= CHM viewer for Trinity
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= k/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11
+DIST_SUBDIR= TDE/applications/utilities
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/core/tdelibs
+
+LIB_DEPENDS+= libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
+ libchm.so:${PORTSDIR}/misc/chmlib
+
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>
diff --git a/freebsd/applications/utilities/kchmviewer/distinfo b/freebsd/applications/utilities/kchmviewer/distinfo
new file mode 100644
index 000000000..53c297a5c
--- /dev/null
+++ b/freebsd/applications/utilities/kchmviewer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1635293195
+SHA256 (TDE/applications/utilities/kchmviewer-trinity_14.0.11.orig.tar.xz) = b505a6aa5500ed3e9c921bfed6ca0c69b815a2e90e6722b11206aef22aeb6f3d
+SIZE (TDE/applications/utilities/kchmviewer-trinity_14.0.11.orig.tar.xz) = 237752
diff --git a/freebsd/applications/utilities/kchmviewer/pkg-descr b/freebsd/applications/utilities/kchmviewer/pkg-descr
new file mode 100644
index 000000000..49a6c624c
--- /dev/null
+++ b/freebsd/applications/utilities/kchmviewer/pkg-descr
@@ -0,0 +1,20 @@
+CHM viewer for Trinity
+
+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, and does not depend on TDE, KDE or GNOME. However, it may be compiled
+with full Trinity support, including Trinity widgets and KIO/TDEHTML..
+
+The main advantage of KchmViewer is non-English language support. Unlike
+others, KchmViewer in most cases correctly detects help file encoding,
+correctly shows tables of context of Russian, Korean, Chinese and Japanese
+help files, and correctly searches in non-English help files (search for
+MBCS languages - ja/ko/ch is still in progress).
+
+Completely safe and harmless. Does not support JavaScript in any way,
+optionally warns you before opening an external web page, or switching to
+another help file. Shows an appropriate image for every TOC entry..
+
+KchmViewer Has complete chm index support, including multiple index entries,
+cross-links and parent/child entries in index as well as Persistent bookmarks
+support. Correctly detects and shows encoding of any valid chm file.
diff --git a/freebsd/applications/utilities/kchmviewer/pkg-plist b/freebsd/applications/utilities/kchmviewer/pkg-plist
new file mode 100644
index 000000000..5d8575c72
--- /dev/null
+++ b/freebsd/applications/utilities/kchmviewer/pkg-plist
@@ -0,0 +1,22 @@
+bin/kchmviewer
+lib/trinity/tdeio_msits.la
+lib/trinity/tdeio_msits.so
+share/applications/tde/kchmviewer.desktop
+share/doc/tde/HTML/en/kchmviewer/common
+share/doc/tde/HTML/en/kchmviewer/index.cache.bz2
+share/doc/tde/HTML/en/kchmviewer/index.docbook
+share/doc/tde/HTML/en/tdeioslave/msits/common
+share/doc/tde/HTML/en/tdeioslave/msits/index.cache.bz2
+share/doc/tde/HTML/en/tdeioslave/msits/index.docbook
+share/icons/crystalsvg/128x128/apps/kchmviewer.png
+share/icons/crystalsvg/48x48/apps/kchmviewer.png
+share/icons/crystalsvg/64x64/apps/kchmviewer.png
+share/locale/cs/LC_MESSAGES/kchmviewer.mo
+share/locale/fr/LC_MESSAGES/kchmviewer.mo
+share/locale/hu/LC_MESSAGES/kchmviewer.mo
+share/locale/nl/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
+share/man/man1/kchmviewer.1.gz
+share/services/msits.protocol