summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-01-30 12:29:06 +0000
committerobache <obache@pkgsrc.org>2013-01-30 12:29:06 +0000
commitd1a0b9aaf149bb92d4c268c6506dcff23220c5b4 (patch)
tree31c89aa92cf1c205a286d07079e20acb3996f632 /sysutils
parent12ad1ee6a96577db5b478f9ae3995a70f9514209 (diff)
downloadpkgsrc-d1a0b9aaf149bb92d4c268c6506dcff23220c5b4.tar.gz
Import di-4.34 as sysutils/di.
based on PR 47495 by Brad Lanam, some small fixes by me. di is a disk information utility, displaying everything (and more) that your df command does. It features the ability to display your disk usage in whatever format you prefer. It also checks the user and group quotas, so that the user sees the space available for their use, not the system wide disk space.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/di/DESCR5
-rw-r--r--sysutils/di/Makefile24
-rw-r--r--sysutils/di/PLIST7
-rw-r--r--sysutils/di/distinfo5
4 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/di/DESCR b/sysutils/di/DESCR
new file mode 100644
index 00000000000..50cbef52764
--- /dev/null
+++ b/sysutils/di/DESCR
@@ -0,0 +1,5 @@
+di is a disk information utility, displaying everything (and more)
+that your df command does. It features the ability to display your
+disk usage in whatever format you prefer. It also checks the user
+and group quotas, so that the user sees the space available for
+their use, not the system wide disk space.
diff --git a/sysutils/di/Makefile b/sysutils/di/Makefile
new file mode 100644
index 00000000000..6e54a778de0
--- /dev/null
+++ b/sysutils/di/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2013/01/30 12:29:06 obache Exp $
+#
+
+DISTNAME= di-4.34
+CATEGORIES= sysutils
+MASTER_SITES= http://gentoo.com/di/
+
+MAINTAINER= brad.lanam.di@gmail.com
+HOMEPAGE= http://gentoo.com/di/
+COMMENT= Alternative df command
+LICENSE= zlib
+
+USE_LANGUAGES= c
+USE_TOOLS+= msgfmt
+USE_PKGLOCALEDIR= yes
+
+MAKE_ENV+= prefix=${PREFIX} \
+ LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale \
+ INSTALL_DIR=${DESTDIR}${PREFIX} \
+ INST_LOCALEDIR=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale \
+ DI_MANINSTDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/di/PLIST b/sysutils/di/PLIST
new file mode 100644
index 00000000000..7651d6196d0
--- /dev/null
+++ b/sysutils/di/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2013/01/30 12:29:06 obache Exp $
+bin/di
+bin/mi
+man/man1/di.1
+share/locale/de/LC_MESSAGES/di.mo
+share/locale/en/LC_MESSAGES/di.mo
+share/locale/es/LC_MESSAGES/di.mo
diff --git a/sysutils/di/distinfo b/sysutils/di/distinfo
new file mode 100644
index 00000000000..6ca1235e53d
--- /dev/null
+++ b/sysutils/di/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/01/30 12:29:06 obache Exp $
+
+SHA1 (di-4.34.tar.gz) = 5be548368bb795303f11cff340f3bbc659f892cd
+RMD160 (di-4.34.tar.gz) = 538e943a9c699659e4ae150b82314fdbc6f0834d
+Size (di-4.34.tar.gz) = 213367 bytes