sysutils/k4dirstat: Update to 3.4.3

- Add DOCS and NLS options
 - Remove desktop-file-utils since .desktop MimeType entry was removed by
   upstream
 - Clean up variables
 - Take maintainership

ChangeLog: https://github.com/jeromerobert/k4dirstat/releases/tag/3.4.3
This commit is contained in:
Nuno Teixeira 2023-06-21 09:45:03 +01:00
parent 4dd0155e8e
commit 7ea61a316d
4 changed files with 41 additions and 29 deletions

View file

@ -1,26 +1,27 @@
PORTNAME= k4dirstat
PORTVERSION= 3.4.2
PORTREVISION= 1
DISTVERSION= 3.4.3
CATEGORIES= sysutils kde
MAINTAINER= ports@FreeBSD.org
MAINTAINER= eduardo@FreeBSD.org
COMMENT= KDE utility that sums up disk usage for directory trees
WWW= https://github.com/jeromerobert/k4dirstat
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake compiler:c++11-lang cpe desktop-file-utils gettext-tools \
kde:5 qt:5 tar:bzip2
USE_GITHUB= yes
GH_ACCOUNT= jeromerobert
USES= cmake compiler:c++11-lang cpe kde:5 qt:5
CPE_VENDOR= kdirstat_project
CPE_PRODUCT= kdirstat
USE_GITHUB= yes
GH_ACCOUNT= jeromerobert
USE_KDE= auth codecs completion config configwidgets coreaddons doctools \
i18n iconthemes jobwidgets kio service widgetsaddons xmlgui
USE_QT= buildtools:build core gui dbus network qmake:build widgets xml
USE_QT= core dbus gui network widgets xml buildtools:build qmake:build
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext-tools
post-patch:
@${REINPLACE_CMD} -e \
@ -29,5 +30,8 @@ post-patch:
@${REINPLACE_CMD} -e \
's|<sys/errno.h>|<errno.h>|' \
${WRKSRC}/src/kdirreadjob.cpp
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|' \
${WRKSRC}/doc/en/CMakeLists.txt
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1671304972
SHA256 (jeromerobert-k4dirstat-3.4.2_GH0.tar.gz) = c925aa058928ca755984ec708955be936ee5c38d594ba0a21000469539e00424
SIZE (jeromerobert-k4dirstat-3.4.2_GH0.tar.gz) = 411899
TIMESTAMP = 1687244383
SHA256 (jeromerobert-k4dirstat-3.4.3_GH0.tar.gz) = f595ef6d1b316d44cdf5a536b94ea68664345cfe0bbce324030da27ed172a338
SIZE (jeromerobert-k4dirstat-3.4.3_GH0.tar.gz) = 412329

View file

@ -0,0 +1,8 @@
--- doc/en/CMakeLists.txt.orig 2023-06-21 07:55:31 UTC
+++ doc/en/CMakeLists.txt
@@ -1,4 +1,4 @@
########### install files ###############
#
-kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR k4dirstat)
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION %%PREFIX%%/share/doc SUBDIR k4dirstat)

View file

@ -2,23 +2,23 @@ bin/k4dirstat
man/man1/k4dirstat.1.gz
share/applications/k4dirstat.desktop
share/config.kcfg/k4dirstat.kcfg
share/doc/HTML/en/k4dirstat/feedback-mail.png
share/doc/HTML/en/k4dirstat/index.cache.bz2
share/doc/HTML/en/k4dirstat/index.docbook
share/doc/HTML/en/k4dirstat/kdirstat-config-cleanups.png
share/doc/HTML/en/k4dirstat/kdirstat-config-tree-colors.png
share/doc/HTML/en/k4dirstat/kdirstat-main.png
%%PORTDOCS%%%%DOCSDIR%%/feedback-mail.png
%%PORTDOCS%%%%DOCSDIR%%/index.cache.bz2
%%PORTDOCS%%%%DOCSDIR%%/index.docbook
%%PORTDOCS%%%%DOCSDIR%%/kdirstat-config-cleanups.png
%%PORTDOCS%%%%DOCSDIR%%/kdirstat-config-tree-colors.png
%%PORTDOCS%%%%DOCSDIR%%/kdirstat-main.png
share/icons/hicolor/16x16/apps/k4dirstat.png
share/icons/hicolor/32x32/apps/k4dirstat.png
share/icons/hicolor/48x48/apps/k4dirstat.png
share/icons/hicolor/scalable/apps/k4dirstat.svgz
share/locale/ca/LC_MESSAGES/k4dirstat.mo
share/locale/de/LC_MESSAGES/k4dirstat.mo
share/locale/es_AR/LC_MESSAGES/k4dirstat.mo
share/locale/fr/LC_MESSAGES/k4dirstat.mo
share/locale/hu/LC_MESSAGES/k4dirstat.mo
share/locale/it/LC_MESSAGES/k4dirstat.mo
share/locale/ja/LC_MESSAGES/k4dirstat.mo
share/locale/lt/LC_MESSAGES/k4dirstat.mo
share/locale/lv/LC_MESSAGES/k4dirstat.mo
share/locale/nl/LC_MESSAGES/k4dirstat.mo
%%NLS%%share/locale/ca/LC_MESSAGES/k4dirstat.mo
%%NLS%%share/locale/de/LC_MESSAGES/k4dirstat.mo
%%NLS%%share/locale/es_AR/LC_MESSAGES/k4dirstat.mo
%%NLS%%share/locale/fr/LC_MESSAGES/k4dirstat.mo
%%NLS%%share/locale/hu/LC_MESSAGES/k4dirstat.mo
%%NLS%%share/locale/it/LC_MESSAGES/k4dirstat.mo
%%NLS%%share/locale/ja/LC_MESSAGES/k4dirstat.mo
%%NLS%%share/locale/lt/LC_MESSAGES/k4dirstat.mo
%%NLS%%share/locale/lv/LC_MESSAGES/k4dirstat.mo
%%NLS%%share/locale/nl/LC_MESSAGES/k4dirstat.mo