diff options
Diffstat (limited to 'freebsd/applications/kchmviewer')
-rw-r--r-- | freebsd/applications/kchmviewer/Makefile | 35 | ||||
-rw-r--r-- | freebsd/applications/kchmviewer/distinfo | 3 | ||||
-rw-r--r-- | freebsd/applications/kchmviewer/pkg-descr | 20 | ||||
-rw-r--r-- | freebsd/applications/kchmviewer/pkg-plist | 23 |
4 files changed, 81 insertions, 0 deletions
diff --git a/freebsd/applications/kchmviewer/Makefile b/freebsd/applications/kchmviewer/Makefile new file mode 100644 index 000000000..d50d1508e --- /dev/null +++ b/freebsd/applications/kchmviewer/Makefile @@ -0,0 +1,35 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $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 + + +BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/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/kchmviewer/distinfo b/freebsd/applications/kchmviewer/distinfo new file mode 100644 index 000000000..cb695af91 --- /dev/null +++ b/freebsd/applications/kchmviewer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1577045212 +SHA256 (TDE/applications/kchmviewer-trinity_14.0.7.orig.tar.xz) = 2b3cafb86f84ced1d5e20085983b8129c3ea6292dab9a5551cf75eee28bf6035 +SIZE (TDE/applications/kchmviewer-trinity_14.0.7.orig.tar.xz) = 508312 diff --git a/freebsd/applications/kchmviewer/pkg-descr b/freebsd/applications/kchmviewer/pkg-descr new file mode 100644 index 000000000..49a6c624c --- /dev/null +++ b/freebsd/applications/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/kchmviewer/pkg-plist b/freebsd/applications/kchmviewer/pkg-plist new file mode 100644 index 000000000..6f22e409e --- /dev/null +++ b/freebsd/applications/kchmviewer/pkg-plist @@ -0,0 +1,23 @@ +bin/kchmviewer +lib/libchmfile.a +lib/trinity/tdeio_msits.la +lib/trinity/tdeio_msits.so +share/applnk/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 +share/services/msits.protocol |