aboutsummaryrefslogtreecommitdiff
path: root/sysutils/kdirstat
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-06-17 15:27:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-06-17 15:27:18 +0000
commit6bcc3844543c6476bc9b8817fee9f9e83bed6f02 (patch)
tree79fc35fa49c81fe84fd7f84f9d439edc4bbd26be /sysutils/kdirstat
parentd9af30b7d062961e3db32d0272228ea0d60cbd7c (diff)
downloadports-6bcc3844543c6476bc9b8817fee9f9e83bed6f02.tar.gz
ports-6bcc3844543c6476bc9b8817fee9f9e83bed6f02.zip
Notes
Diffstat (limited to 'sysutils/kdirstat')
-rw-r--r--sysutils/kdirstat/Makefile36
-rw-r--r--sysutils/kdirstat/distinfo4
-rw-r--r--sysutils/kdirstat/pkg-descr15
-rw-r--r--sysutils/kdirstat/pkg-plist60
4 files changed, 50 insertions, 65 deletions
diff --git a/sysutils/kdirstat/Makefile b/sysutils/kdirstat/Makefile
index f9961b68dae9..25f773cada24 100644
--- a/sysutils/kdirstat/Makefile
+++ b/sysutils/kdirstat/Makefile
@@ -1,30 +1,34 @@
-# New ports collection makefile for: kdirstat
-# Date created: 25 Jun 2002
-# Whom: Stefan Jahn <stefan.jahn@nemesis-sektor.de>
-#
+# Created by: Stefan Jahn <stefan.jahn@nemesis-sektor.de>
# $FreeBSD$
-#
PORTNAME= kdirstat
-PORTVERSION= 2.4.4
-PORTREVISION= 7
+PORTVERSION= 2.7.4
CATEGORIES= sysutils kde
-MASTER_SITES= http://kdirstat.sourceforge.net/download/
+MASTER_SITES= https://bitbucket.org/jeromerobert/k4dirstat/get/
+DISTNAME= k4dirstat-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A small KDE utility that sums up disk usage for directory trees
+COMMENT= KDE utility that sums up disk usage for directory trees
-EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-configure
+LICENSE= GPLv2
-DEPRECATED= Depends on QT3; unmaintained
-EXPIRATION_DATE= 2013-07-01
+WRKSRC= ${WRKDIR}/jeromerobert-k4dirstat-33ed79e1054e
USE_BZIP2= yes
-USE_KDELIBS_VER=3
-USE_AUTOTOOLS= libtool
-USE_GMAKE= yes
+USES= cmake desktop-file-utils
+USE_KDE4= automoc4 kdelibs kdeprefix libkonq
+USE_QT4= moc_build qmake_build rcc_build uic_build
+INSTALLS_ICONS= yes
post-patch:
- @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e \
+ '/^Categories/s|=.*|=Qt;KDE;Utility;|' \
+ ${WRKSRC}/src/k4dirstat.desktop
+ @${REINPLACE_CMD} -e \
+ 's|<sys/errno.h>|<errno.h>|' \
+ ${WRKSRC}/src/kdirreadjob.cpp
+
+post-install:
+ @${LN} -sf k4dirstat ${PREFIX}/bin/kdirstat
.include <bsd.port.mk>
diff --git a/sysutils/kdirstat/distinfo b/sysutils/kdirstat/distinfo
index 2936520a2b49..4aef52099db2 100644
--- a/sysutils/kdirstat/distinfo
+++ b/sysutils/kdirstat/distinfo
@@ -1,2 +1,2 @@
-SHA256 (kdirstat-2.4.4.tar.bz2) = 4e8317efab702f0eacff1ea15baed578c9599be1613231a21404da1062c6aee7
-SIZE (kdirstat-2.4.4.tar.bz2) = 642973
+SHA256 (k4dirstat-2.7.4.tar.bz2) = 2a2ba43c49ef0087e96676f748feb6bb77172c45eb9ee0db38bb3570f2ad216f
+SIZE (k4dirstat-2.7.4.tar.bz2) = 225632
diff --git a/sysutils/kdirstat/pkg-descr b/sysutils/kdirstat/pkg-descr
index 811706df893f..c8e4c0487d32 100644
--- a/sysutils/kdirstat/pkg-descr
+++ b/sysutils/kdirstat/pkg-descr
@@ -1,10 +1,7 @@
-KDirStat (for KDE Directory Statistics) is a
-small utility program that sums up disk usage
-for directory trees. Its functionality is similar
-to the Unix du command, but it provides more
-helpful diagnostic information. KDirStat also
-features some built-in cleanup facilities and
-the ability to include your own cleanup commands
-or scripts.
+KDirStat (for KDE Directory Statistics) is a small utility program that
+sums up disk usage for directory trees. Its functionality is similar to
+the Unix du command, but it provides more helpful diagnostic
+information. KDirStat also features some built-in cleanup facilities and
+the ability to include your own cleanup commands or scripts.
-WWW: http://kdirstat.sourceforge.net
+WWW: http://bitbucket.org/jeromerobert/k4dirstat/
diff --git a/sysutils/kdirstat/pkg-plist b/sysutils/kdirstat/pkg-plist
index ab336eb3cc6d..0c7018009e7b 100644
--- a/sysutils/kdirstat/pkg-plist
+++ b/sysutils/kdirstat/pkg-plist
@@ -1,39 +1,23 @@
+bin/k4dirstat
bin/kdirstat
-share/applnk/Utilities/kdirstat.desktop
-share/apps/kconf_update/fix_move_to_trash_bin.pl
-share/apps/kconf_update/kdirstat.upd
-share/apps/kdirstat/icons/hicolor/16x16/actions/symlink.png
-share/apps/kdirstat/icons/hicolor/32x32/actions/symlink.png
-share/apps/kdirstat/icons/hicolor/48x48/actions/symlink.png
-share/apps/kdirstat/icons/locolor/16x16/actions/symlink.png
-share/apps/kdirstat/kdirstatui.rc
-share/doc/HTML/en/kdirstat/common
-share/doc/HTML/en/kdirstat/feedback-mail.png
-share/doc/HTML/en/kdirstat/index.cache.bz2
-share/doc/HTML/en/kdirstat/index.docbook
-share/doc/HTML/en/kdirstat/kdirstat-config-cleanups.png
-share/doc/HTML/en/kdirstat/kdirstat-config-tree-colors.png
-share/doc/HTML/en/kdirstat/kdirstat-main.png
-share/icons/hicolor/16x16/apps/kdirstat.png
-share/icons/hicolor/32x32/apps/kdirstat.png
-share/icons/locolor/16x16/apps/kdirstat.png
-share/icons/locolor/32x32/apps/kdirstat.png
-share/locale/de/LC_MESSAGES/kdirstat.mo
-share/locale/fr/LC_MESSAGES/kdirstat.mo
-share/locale/hu/LC_MESSAGES/kdirstat.mo
-share/locale/it/LC_MESSAGES/kdirstat.mo
-share/locale/ja/LC_MESSAGES/kdirstat.mo
-@dirrm share/doc/HTML/en/kdirstat
-@dirrm share/apps/kdirstat/icons/locolor/16x16/actions
-@dirrm share/apps/kdirstat/icons/locolor/16x16
-@dirrm share/apps/kdirstat/icons/locolor
-@dirrm share/apps/kdirstat/icons/hicolor/48x48/actions
-@dirrm share/apps/kdirstat/icons/hicolor/48x48
-@dirrm share/apps/kdirstat/icons/hicolor/32x32/actions
-@dirrm share/apps/kdirstat/icons/hicolor/32x32
-@dirrm share/apps/kdirstat/icons/hicolor/16x16/actions
-@dirrm share/apps/kdirstat/icons/hicolor/16x16
-@dirrm share/apps/kdirstat/icons/hicolor
-@dirrm share/apps/kdirstat/icons
-@dirrm share/apps/kdirstat
-@dirrmtry share/apps/kconf_update
+share/applications/kde4/k4dirstat.desktop
+share/apps/k4dirstat/k4dirstatui.rc
+share/config.kcfg/k4dirstat.kcfg
+share/doc/HTML/en/k4dirstat/common
+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
+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/de/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
+@dirrm share/doc/HTML/en/k4dirstat
+@dirrm share/apps/k4dirstat