summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2012-03-21 23:21:20 +0000
committermarkd <markd@pkgsrc.org>2012-03-21 23:21:20 +0000
commit037d69b70da0761d29924e4e16913349c24c3b5b (patch)
tree7c7ae8f1356ea6568b43f14d8a9e172392a39267 /sysutils
parent64e9f9f3192b0ee3a7c374ef988232c91260b823 (diff)
downloadpkgsrc-037d69b70da0761d29924e4e16913349c24c3b5b.tar.gz
Import k4dirstat 2.7.3
K4DirStat (KDE 4 Directory Statistics) is a small utility program that sums up disk usage for directory trees, very much like the Unix 'du' command. It displays the disk space used up by a directory tree, both numerically and graphically. It is network transparent (i.e., you can use it to sum up FTP servers), and comes with predefined and user configurable cleanup actions. You can directly open a directory branch in Konqueror or the shell of your choice, compress it to a .tar.bz2 archive, or define your own cleanup actions.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/k4dirstat/DESCR8
-rw-r--r--sysutils/k4dirstat/Makefile26
-rw-r--r--sysutils/k4dirstat/PLIST20
-rw-r--r--sysutils/k4dirstat/distinfo7
-rw-r--r--sysutils/k4dirstat/patches/patch-aa13
-rw-r--r--sysutils/k4dirstat/patches/patch-src_k4dirstat.desktop9
6 files changed, 83 insertions, 0 deletions
diff --git a/sysutils/k4dirstat/DESCR b/sysutils/k4dirstat/DESCR
new file mode 100644
index 00000000000..980ad0e188a
--- /dev/null
+++ b/sysutils/k4dirstat/DESCR
@@ -0,0 +1,8 @@
+K4DirStat (KDE 4 Directory Statistics) is a small utility program that
+sums up disk usage for directory trees, very much like the Unix 'du'
+command. It displays the disk space used up by a directory tree, both
+numerically and graphically. It is network transparent (i.e., you can use
+it to sum up FTP servers), and comes with predefined and user configurable
+cleanup actions. You can directly open a directory branch in Konqueror or
+the shell of your choice, compress it to a .tar.bz2 archive, or define
+your own cleanup actions.
diff --git a/sysutils/k4dirstat/Makefile b/sysutils/k4dirstat/Makefile
new file mode 100644
index 00000000000..e54c08b6838
--- /dev/null
+++ b/sysutils/k4dirstat/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/03/21 23:21:20 markd Exp $
+
+DISTNAME= k4dirstat-2.7.3
+CATEGORIES= sysutils
+MASTER_SITES= http://bitbucket.org/jeromerobert/k4dirstat/get/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= markd@NetBSD.org
+HOMEPAGE= http://bitbucket.org/jeromerobert/k4dirstat
+COMMENT= Graphical disk usage utility
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILD_DEPENDS+= automoc4>=0.9.87:../../devel/automoc4
+
+USE_TOOLS+= perl msgfmt
+USE_LANGUAGES= c c++
+
+WRKSRC= ${WRKDIR}/jeromerobert-k4dirstat-7764f6508187
+
+.include "../../meta-pkgs/kde4/kde4.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../x11/kde-baseapps4/buildlink3.mk"
+.include "../../x11/kdelibs4/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/k4dirstat/PLIST b/sysutils/k4dirstat/PLIST
new file mode 100644
index 00000000000..b90b8b1143e
--- /dev/null
+++ b/sysutils/k4dirstat/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/21 23:21:20 markd Exp $
+bin/k4dirstat
+share/applications/kde4/k4dirstat.desktop
+share/doc/kde/HTML/en/k4dirstat/common
+share/doc/kde/HTML/en/k4dirstat/feedback-mail.png
+share/doc/kde/HTML/en/k4dirstat/index.cache.bz2
+share/doc/kde/HTML/en/k4dirstat/index.docbook
+share/doc/kde/HTML/en/k4dirstat/kdirstat-config-cleanups.png
+share/doc/kde/HTML/en/k4dirstat/kdirstat-config-tree-colors.png
+share/doc/kde/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/kde/apps/k4dirstat/k4dirstatui.rc
+share/kde/config.kcfg/k4dirstat.kcfg
+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
diff --git a/sysutils/k4dirstat/distinfo b/sysutils/k4dirstat/distinfo
new file mode 100644
index 00000000000..01cbed959a7
--- /dev/null
+++ b/sysutils/k4dirstat/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/03/21 23:21:20 markd Exp $
+
+SHA1 (k4dirstat-2.7.3.tar.bz2) = 55d2129a69710ff43fcf35f976aac4d24dd3ca15
+RMD160 (k4dirstat-2.7.3.tar.bz2) = 6cca23350e4c624cd3f274f658c34fe7916042a7
+Size (k4dirstat-2.7.3.tar.bz2) = 224451 bytes
+SHA1 (patch-aa) = 421bc97bcf09881145f52f096f640ae0de796555
+SHA1 (patch-src_k4dirstat.desktop) = 77938db387235ed07c20c4ba1a24906b6f16be29
diff --git a/sysutils/k4dirstat/patches/patch-aa b/sysutils/k4dirstat/patches/patch-aa
new file mode 100644
index 00000000000..1ef1d9065af
--- /dev/null
+++ b/sysutils/k4dirstat/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2012/03/21 23:21:20 markd Exp $
+
+--- src/kdirreadjob.cpp.orig 2010-05-31 10:55:01.000000000 +0000
++++ src/kdirreadjob.cpp
+@@ -18,7 +18,7 @@
+ #include <unistd.h>
+
+ #include <stdio.h>
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <klocale.h>
+ #include <kapplication.h>
+ #include <kio/job.h>
diff --git a/sysutils/k4dirstat/patches/patch-src_k4dirstat.desktop b/sysutils/k4dirstat/patches/patch-src_k4dirstat.desktop
new file mode 100644
index 00000000000..134fad9c1c8
--- /dev/null
+++ b/sysutils/k4dirstat/patches/patch-src_k4dirstat.desktop
@@ -0,0 +1,9 @@
+$NetBSD: patch-src_k4dirstat.desktop,v 1.1.1.1 2012/03/21 23:21:20 markd Exp $
+
+--- src/k4dirstat.desktop.orig 2011-02-21 08:37:05.000000000 +0000
++++ src/k4dirstat.desktop
+@@ -12,3 +12,4 @@ Comment[de]=Verzeichnisstatistik und Pla
+ Comment[hu]=Könyvtárstatisztikák és szabad hely
+ Terminal=false
+ MimeType=inode/directory;
++Categories=Qt;KDE;Utility;