pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/dirsize Import dirsize from pkgsrc-wip. Pack...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/627ed8d01f22
branches:  trunk
changeset: 494703:627ed8d01f22
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat May 28 07:20:34 2005 +0000

description:
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.

diffstat:

 sysutils/dirsize/DESCR            |   3 +++
 sysutils/dirsize/Makefile         |  15 +++++++++++++++
 sysutils/dirsize/PLIST            |   2 ++
 sysutils/dirsize/distinfo         |   6 ++++++
 sysutils/dirsize/patches/patch-aa |  23 +++++++++++++++++++++++
 5 files changed, 49 insertions(+), 0 deletions(-)

diffs (69 lines):

diff -r c54d3a790202 -r 627ed8d01f22 sysutils/dirsize/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dirsize/DESCR    Sat May 28 07:20:34 2005 +0000
@@ -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 -r c54d3a790202 -r 627ed8d01f22 sysutils/dirsize/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dirsize/Makefile Sat May 28 07:20:34 2005 +0000
@@ -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@localhost
+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 -r c54d3a790202 -r 627ed8d01f22 sysutils/dirsize/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dirsize/PLIST    Sat May 28 07:20:34 2005 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/05/28 07:20:34 minskim Exp $
+bin/dirsize
diff -r c54d3a790202 -r 627ed8d01f22 sysutils/dirsize/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dirsize/distinfo Sat May 28 07:20:34 2005 +0000
@@ -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 -r c54d3a790202 -r 627ed8d01f22 sysutils/dirsize/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dirsize/patches/patch-aa Sat May 28 07:20:34 2005 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index