aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/xdiskusage
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2000-10-04 13:15:34 +0800
committertrevor <trevor@FreeBSD.org>2000-10-04 13:15:34 +0800
commit5eb13430b3e52dc7a4dfd5daee0b1b701f080548 (patch)
treea756ac6193ff98041254a96d3cc1c722894dcc87 /x11-fm/xdiskusage
parentc90e1163f1d0a22eec768fed48a08562e279559b (diff)
downloadfreebsd-ports-graphics-5eb13430b3e52dc7a4dfd5daee0b1b701f080548.tar.gz
freebsd-ports-graphics-5eb13430b3e52dc7a4dfd5daee0b1b701f080548.tar.zst
freebsd-ports-graphics-5eb13430b3e52dc7a4dfd5daee0b1b701f080548.zip
Add x11-fm/xdiskusage, a graphical front-end to du.
PR: 21505 Approved by: will
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 00000000000..c1ace826a7f
--- /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 00000000000..5ea062a43e2
--- /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 00000000000..e91eb277be2
--- /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 00000000000..3175cd5a9bf
--- /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 00000000000..b2d2369f8a3
--- /dev/null
+++ b/x11-fm/xdiskusage/pkg-plist
@@ -0,0 +1,3 @@
+bin/xdiskusage
+share/doc/xdiskusage/README
+@dirrm share/doc/xdiskusage