summaryrefslogtreecommitdiff
path: root/x11-fm/xdiskusage
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2000-10-04 05:15:34 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2000-10-04 05:15:34 +0000
commit88b522839002b270987e86005386b6757926bb0a (patch)
tree18828317775285092d9f0b897f9e0663913ba906 /x11-fm/xdiskusage
parentUpdate to version 1.6. (diff)
Add x11-fm/xdiskusage, a graphical front-end to du.
PR: 21505 Approved by: will
Notes
Notes: svn path=/head/; revision=33400
Diffstat (limited to 'x11-fm/xdiskusage')
-rw-r--r--x11-fm/xdiskusage/Makefile37
-rw-r--r--x11-fm/xdiskusage/distinfo1
-rw-r--r--x11-fm/xdiskusage/pkg-comment1
-rw-r--r--x11-fm/xdiskusage/pkg-descr10
-rw-r--r--x11-fm/xdiskusage/pkg-plist3
5 files changed, 52 insertions, 0 deletions
diff --git a/x11-fm/xdiskusage/Makefile b/x11-fm/xdiskusage/Makefile
new file mode 100644
index 000000000000..c1ace826a7f0
--- /dev/null
+++ b/x11-fm/xdiskusage/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: xdiskusage
+# Date created: 2000-09-23
+# Whom: Trevor Johnson <trevor@jpj.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xdiskusage
+PORTVERSION= 1.41
+CATEGORIES= x11-fm
+MASTER_SITES= http://xdiskusage.sourceforge.net/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= trevor@FreeBSD.org
+
+LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
+
+USE_GMAKE= yes
+USE_MESA= yes
+USE_X_PREFIX= yes
+
+do-build:
+.for i in panels xdiskusage
+ ${CXX} ${CXXFLAGS} -I${X11BASE}/include -c ${WRKSRC}/${i}.C \
+ -o ${WRKSRC}/${i}.o
+.endfor
+ ${CXX} ${CXXFLAGS} -L${X11BASE}/lib -o ${WRKSRC}/xdiskusage \
+ ${WRKSRC}/panels.o ${WRKSRC}/xdiskusage.o -lfltk -lm -lMesaGL
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xdiskusage ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/xdiskusage
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xdiskusage
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-fm/xdiskusage/distinfo b/x11-fm/xdiskusage/distinfo
new file mode 100644
index 000000000000..5ea062a43e2f
--- /dev/null
+++ b/x11-fm/xdiskusage/distinfo
@@ -0,0 +1 @@
+MD5 (xdiskusage-1.41.tgz) = dca6c32cf3d67cd480b7157df3ddc109
diff --git a/x11-fm/xdiskusage/pkg-comment b/x11-fm/xdiskusage/pkg-comment
new file mode 100644
index 000000000000..e91eb277be27
--- /dev/null
+++ b/x11-fm/xdiskusage/pkg-comment
@@ -0,0 +1 @@
+Show where disk space is taken up
diff --git a/x11-fm/xdiskusage/pkg-descr b/x11-fm/xdiskusage/pkg-descr
new file mode 100644
index 000000000000..3175cd5a9bf3
--- /dev/null
+++ b/x11-fm/xdiskusage/pkg-descr
@@ -0,0 +1,10 @@
+This utility runs "du" to scan directories of your choosing, then displays a
+graph which emphasizes the subdirectories where the largest files are kept, and
+optionally lists the files themselves. You can descend into the directory
+tree, or back out, by clicking on the graph. If you save the output of "du" in
+a file, xdiskusage can analyze that too. PostScript output is available.
+
+WWW: http://xdiskusage.sourceforge.net/
+
+Trevor Johnson
+trevor@freebsd.org
diff --git a/x11-fm/xdiskusage/pkg-plist b/x11-fm/xdiskusage/pkg-plist
new file mode 100644
index 000000000000..b2d2369f8a31
--- /dev/null
+++ b/x11-fm/xdiskusage/pkg-plist
@@ -0,0 +1,3 @@
+bin/xdiskusage
+share/doc/xdiskusage/README
+@dirrm share/doc/xdiskusage