diff options
Diffstat (limited to 'freebsd/applications/utilities/kchmviewer')
4 files changed, 83 insertions, 0 deletions
diff --git a/freebsd/applications/utilities/kchmviewer/Makefile b/freebsd/applications/utilities/kchmviewer/Makefile new file mode 100644 index 000000000..6e93af88c --- /dev/null +++ b/freebsd/applications/utilities/kchmviewer/Makefile @@ -0,0 +1,38 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $FreeBSD$ +# +# TDE port map: applications/utilities/kchmviewer + +PORTSDIR?=/usr/ports +.include <${PORTSDIR}/Mk/bsd.trinity.mk> + +PORTNAME= kchmviewer-trinity +COMMENT= CHM viewer for Trinity +TDE_PREVERSION= +MASTER_SITE_SUBDIR= k/${PORTNAME} +PORTREVISION= 0 +CATEGORIES= deskutils x11 +DIST_SUBDIR= TDE/applications/utilities + + +BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:x11/tdelibs-trinity \ + ${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \ + +LIB_DEPENDS+= libtqt.so:x11-toolkits/libtqtinterface \ + libchm.so: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..7dc352120 --- /dev/null +++ b/freebsd/applications/utilities/kchmviewer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1682063846 +SHA256 (TDE/applications/utilities/kchmviewer-trinity_14.1.0.orig.tar.xz) = 8f8a78a327e2695faaa3d595e34dd71b298367717402e8a7f45924372d0725cb +SIZE (TDE/applications/utilities/kchmviewer-trinity_14.1.0.orig.tar.xz) = 237440 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 |