aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2023-01-25 17:26:45 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2023-01-25 17:26:45 +0000
commit455187b1323a74758a56578b37760fd554a9144a (patch)
treea7ad9a07ea2bb18e10416a766b5586c8cf98741c
parent8971f32419c6bedd15ae9e979485e420ac0c551b (diff)
downloadports-455187b1323a74758a56578b37760fd554a9144a.tar.gz
ports-455187b1323a74758a56578b37760fd554a9144a.zip
deskutils/xchm: update to 1.33
-rw-r--r--MOVED1
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/xchm/Makefile28
-rw-r--r--deskutils/xchm/distinfo3
-rw-r--r--deskutils/xchm/pkg-descr6
-rw-r--r--deskutils/xchm/pkg-plist32
6 files changed, 70 insertions, 1 deletions
diff --git a/MOVED b/MOVED
index 06656ca60461..7ed9fc2a7bbf 100644
--- a/MOVED
+++ b/MOVED
@@ -17724,7 +17724,6 @@ databases/firebird25-server||2022-12-31|Has expired: Upstream Support ends on 20
multimedia/libkate||2022-12-31|Has expired: Obsolete format that never got any traction and no development in over 10 years
net/opennx||2022-12-31|Has expired: Abandoned project and use deprecated wxgtk28
cad/basicdsp||2022-12-31|Has expired: Abandoned project and use deprecated wxgtk28
-deskutils/xchm||2022-12-31|Has expired: Abandoned project and use deprecated wxgtk28
math/graphthing||2022-12-31|Has expired: Abandoned project and use deprecated wxgtk28
math/pynac||2022-12-31|Project merged with SageMath
x11-toolkits/wxgtk28-contrib-common||2022-12-31|Has expired: Upstream support ended
diff --git a/deskutils/Makefile b/deskutils/Makefile
index f112a03a8742..6e55b2dc5cd0 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -273,6 +273,7 @@
SUBDIR += xannotate
SUBDIR += xcalendar
SUBDIR += xcbautolock
+ SUBDIR += xchm
SUBDIR += xdg-desktop-portal
SUBDIR += xfce4-generic-slider
SUBDIR += xfce4-notes-plugin
diff --git a/deskutils/xchm/Makefile b/deskutils/xchm/Makefile
new file mode 100644
index 000000000000..723b9a68badc
--- /dev/null
+++ b/deskutils/xchm/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= xchm
+PORTVERSION= 1.33
+CATEGORIES= deskutils
+
+MAINTAINER= dinoex@FreeBSD.org
+COMMENT= Windows HTML Help (.chm) viewer for UNIX
+WWW= https://github.com/rzvncj/xCHM
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libchm.so:misc/chmlib
+
+USES= compiler:c++11-lang desktop-file-utils localbase autoreconf
+USE_GITHUB= yes
+GH_ACCOUNT= rzvncj
+GH_PROJECT= xCHM
+USE_WX= 3.0+
+WX_CONF_ARGS= absolute
+GNU_CONFIGURE= yes
+LDFLAGS+= -lpthread
+
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+
+.include <bsd.port.mk>
diff --git a/deskutils/xchm/distinfo b/deskutils/xchm/distinfo
new file mode 100644
index 000000000000..5a046978817e
--- /dev/null
+++ b/deskutils/xchm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1674661141
+SHA256 (rzvncj-xCHM-1.33_GH0.tar.gz) = 8537563bc790dc2f9b27e0355d8a7e538c01347dcfd8bd392ac78ad3eeb69701
+SIZE (rzvncj-xCHM-1.33_GH0.tar.gz) = 646174
diff --git a/deskutils/xchm/pkg-descr b/deskutils/xchm/pkg-descr
new file mode 100644
index 000000000000..c734b7d886b5
--- /dev/null
+++ b/deskutils/xchm/pkg-descr
@@ -0,0 +1,6 @@
+xCHM is a .chm viewer for UNIX. CHM is commonly used for a rich-text help
+files on Windows platform, and for publishing eBooks.
+
+xCHM can show the contents tree if one is available, print the displayed page,
+change fonts faces and size, work with bookmarks, do the usual history stunts
+(forward, back, home), and seach for text in the whole book.
diff --git a/deskutils/xchm/pkg-plist b/deskutils/xchm/pkg-plist
new file mode 100644
index 000000000000..8b04ad873ab7
--- /dev/null
+++ b/deskutils/xchm/pkg-plist
@@ -0,0 +1,32 @@
+bin/xchm
+man/man1/xchm.1.gz
+share/applications/xchm.desktop
+share/icons/hicolor/128x128/apps/xchm.png
+share/icons/hicolor/128x128/apps/xchmdoc.png
+share/icons/hicolor/16x16/apps/xchm.png
+share/icons/hicolor/16x16/apps/xchmdoc.png
+share/icons/hicolor/32x32/apps/xchm.png
+share/icons/hicolor/32x32/apps/xchmdoc.png
+share/icons/hicolor/48x48/apps/xchm.png
+share/icons/hicolor/48x48/apps/xchmdoc.png
+share/metainfo/xchm.appdata.xml
+%%NLS%%share/locale/be/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/de/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/el/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/es/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/it/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/pt_PT/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/xchm.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/xchm.mo