diff options
author | minskim <minskim@pkgsrc.org> | 2005-05-28 07:20:34 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-05-28 07:20:34 +0000 |
commit | a1cc2dab8dd692c8e6b9e291f27bb263e9753155 (patch) | |
tree | a03a0005b2a6edb35d7baa35e18bd6aa92bc2f5b | |
parent | d65ed0ee5d4795d7c54ac7c16c92c84ae231e331 (diff) | |
download | pkgsrc-a1cc2dab8dd692c8e6b9e291f27bb263e9753155.tar.gz |
Import dirsize from pkgsrc-wip. Packaged by Leonard Schmidt.
This tool simply outputs the aggregate size of all files in one or
more directories, defaulting to the current directory. It does not
recurse. The tool's primary purpose is for use with the shell prompt.
-rw-r--r-- | sysutils/dirsize/DESCR | 3 | ||||
-rw-r--r-- | sysutils/dirsize/Makefile | 15 | ||||
-rw-r--r-- | sysutils/dirsize/PLIST | 2 | ||||
-rw-r--r-- | sysutils/dirsize/distinfo | 6 | ||||
-rw-r--r-- | sysutils/dirsize/patches/patch-aa | 23 |
5 files changed, 49 insertions, 0 deletions
diff --git a/sysutils/dirsize/DESCR b/sysutils/dirsize/DESCR new file mode 100644 index 00000000000..33253acf5e8 --- /dev/null +++ b/sysutils/dirsize/DESCR @@ -0,0 +1,3 @@ +This tool simply outputs the aggregate size of all files in one or +more directories, defaulting to the current directory. It does not +recurse. The tool's primary purpose is for use with the shell prompt. diff --git a/sysutils/dirsize/Makefile b/sysutils/dirsize/Makefile new file mode 100644 index 00000000000..ff69895dff4 --- /dev/null +++ b/sysutils/dirsize/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/05/28 07:20:34 minskim Exp $ +# + +DISTNAME= dirsize-0.6 +CATEGORIES= sysutils +MASTER_SITES= http://plasmasturm.org/code/dirsize/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= lems@gmx.net +HOMEPAGE= http://plasmasturm.org/code/dirsize/ +COMMENT= Outputs aggregate size of all files in one or more directories + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/dirsize/PLIST b/sysutils/dirsize/PLIST new file mode 100644 index 00000000000..0d087010fd4 --- /dev/null +++ b/sysutils/dirsize/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/05/28 07:20:34 minskim Exp $ +bin/dirsize diff --git a/sysutils/dirsize/distinfo b/sysutils/dirsize/distinfo new file mode 100644 index 00000000000..b2d7030657f --- /dev/null +++ b/sysutils/dirsize/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/05/28 07:20:34 minskim Exp $ + +SHA1 (dirsize-0.6.tar.bz2) = effef7820147fecfe4c80fdb2b4a894a6e8b9a86 +RMD160 (dirsize-0.6.tar.bz2) = 0817c55a7afb816dcea67a1ff941cc27b79d2b01 +Size (dirsize-0.6.tar.bz2) = 2471 bytes +SHA1 (patch-aa) = 4672a1280f07680afdf75a76c82e6c90d3f18544 diff --git a/sysutils/dirsize/patches/patch-aa b/sysutils/dirsize/patches/patch-aa new file mode 100644 index 00000000000..aba41c93bd8 --- /dev/null +++ b/sysutils/dirsize/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/05/28 07:20:34 minskim Exp $ + +--- Makefile.orig 2005-04-09 17:48:01.000000000 -0500 ++++ Makefile +@@ -1,7 +1,7 @@ +-CFLAGS += -Wimplicit -Wall -pedantic-errors --std=gnu99 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 ++CFLAGS += -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 + + EXENAME = dirsize +-PREFIX = /usr ++#PREFIX = /usr + BINDIR = $(PREFIX)/bin + + all: $(EXENAME) +@@ -10,6 +10,5 @@ clean: + -rm -f $(EXENAME) + + install: all +- strip $(EXENAME) +- install -d $(DESTDIR)/$(BINDIR) +- install -c $(EXENAME) $(DESTDIR)/$(BINDIR) ++ ${BSD_INSTALL_PROGRAM_DIR} $(BINDIR) ++ ${BSD_INSTALL_PROGRAM} $(EXENAME) $(BINDIR) |