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.
This commit is contained in:
wiz 2013-08-23 11:31:29 +00:00
parent e44b11dab0
commit 941e4e2a8a
5 changed files with 43 additions and 0 deletions

3
sysutils/ncdu/DESCR Normal file
View file

@ -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.

15
sysutils/ncdu/Makefile Normal file
View file

@ -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"

3
sysutils/ncdu/PLIST Normal file
View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2013/08/23 11:31:29 wiz Exp $
bin/ncdu
man/man1/ncdu.1

6
sysutils/ncdu/distinfo Normal file
View file

@ -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

View file

@ -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;