summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwiz <wiz>2013-08-23 11:31:29 +0000
committerwiz <wiz>2013-08-23 11:31:29 +0000
commitc694233d4a096b0e40a805693808b9b40157726e (patch)
tree509149d010847326455071201315f1fb024ca787 /sysutils
parentea1ff867a9448c922f5ce4f32974f2abba31730a (diff)
downloadpkgsrc-c694233d4a096b0e40a805693808b9b40157726e.tar.gz
Import ncdu-1.10 as sysutils/ncdu, packaged for wip by slitvinov.
ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du', and provides a fast way to see what directories are using your disk space.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ncdu/DESCR3
-rw-r--r--sysutils/ncdu/Makefile15
-rw-r--r--sysutils/ncdu/PLIST3
-rw-r--r--sysutils/ncdu/distinfo6
-rw-r--r--sysutils/ncdu/patches/patch-arg16
5 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/ncdu/DESCR b/sysutils/ncdu/DESCR
new file mode 100644
index 00000000000..25e8227bc36
--- /dev/null
+++ b/sysutils/ncdu/DESCR
@@ -0,0 +1,3 @@
+ncdu (NCurses Disk Usage) is a curses-based version of the well-known
+'du', and provides a fast way to see what directories are using
+your disk space.
diff --git a/sysutils/ncdu/Makefile b/sysutils/ncdu/Makefile
new file mode 100644
index 00000000000..a90b6c1339d
--- /dev/null
+++ b/sysutils/ncdu/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2013/08/23 11:31:29 wiz Exp $
+
+DISTNAME= ncdu-1.10
+CATEGORIES= filesystems
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ncdu/}
+
+COMMENT= Disk usage visualization tool
+MAINTAINER= slitvinov@gmail.com
+HOMEPAGE= http://dev.yorhel.nl/ncdu
+LICENSE= modified-bsd
+
+GNU_CONFIGURE= yes
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/ncdu/PLIST b/sysutils/ncdu/PLIST
new file mode 100644
index 00000000000..45b1e2322af
--- /dev/null
+++ b/sysutils/ncdu/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2013/08/23 11:31:29 wiz Exp $
+bin/ncdu
+man/man1/ncdu.1
diff --git a/sysutils/ncdu/distinfo b/sysutils/ncdu/distinfo
new file mode 100644
index 00000000000..6d9ed441612
--- /dev/null
+++ b/sysutils/ncdu/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/08/23 11:31:29 wiz Exp $
+
+SHA1 (ncdu-1.10.tar.gz) = cf3b5fbb5b69cbae5425bfff2660ac3d8224a605
+RMD160 (ncdu-1.10.tar.gz) = 2d3e4f112ed5ce3e42b13d279c240a050bca86f9
+Size (ncdu-1.10.tar.gz) = 131810 bytes
+SHA1 (patch-arg) = 270d69841b302b8c380cf6780d70ab906d25aa54
diff --git a/sysutils/ncdu/patches/patch-arg b/sysutils/ncdu/patches/patch-arg
new file mode 100644
index 00000000000..4156dd31318
--- /dev/null
+++ b/sysutils/ncdu/patches/patch-arg
@@ -0,0 +1,16 @@
+$NetBSD: patch-arg,v 1.1 2013/08/23 11:31:29 wiz Exp $
+
+Fix
+src/util.c: In function 'ncprint':
+src/util.c:172:3: error: 'va_list' undeclared (first use in this function)
+
+--- src/util.c.orig 2013-01-18 09:12:16.000000000 +0000
++++ src/util.c
+@@ -28,6 +28,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <ncurses.h>
++#include <stdarg.h>
+ #include <locale.h>
+
+ int winrows, wincols;