aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-06-17 13:03:22 +0800
committerdaichi <daichi@FreeBSD.org>2003-06-17 13:03:22 +0800
commitd1ff039b40431c3df4684ed14701711d6605b740 (patch)
tree661a0dfe49f29774e5d8ab5b627c5b04c66f7f61 /sysutils
parent02fdacba9ae322e527d554ece8c4ea70bf4ba07e (diff)
downloadfreebsd-ports-gnome-d1ff039b40431c3df4684ed14701711d6605b740.tar.gz
freebsd-ports-gnome-d1ff039b40431c3df4684ed14701711d6605b740.tar.zst
freebsd-ports-gnome-d1ff039b40431c3df4684ed14701711d6605b740.zip
New port added, thanks!
JDiskReport is Java program to graphically display disk usage statistics. For more information: http://www.jgoodies.com/freeware/jdiskreport/ PR: 52701 Submitted by: Jonathan Belson <jon@witchspace.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/jdiskreport/Makefile37
-rw-r--r--sysutils/jdiskreport/distinfo1
-rw-r--r--sysutils/jdiskreport/files/jdiskreport.sh6
-rw-r--r--sysutils/jdiskreport/pkg-descr5
-rw-r--r--sysutils/jdiskreport/pkg-plist3
6 files changed, 53 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index c5cbce71329f..47851ea3cf76 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -129,6 +129,7 @@
SUBDIR += ipsc
SUBDIR += jailer
SUBDIR += jailutils
+ SUBDIR += jdiskreport
SUBDIR += kcpuload
SUBDIR += kdeadmin3
SUBDIR += kdirstat
diff --git a/sysutils/jdiskreport/Makefile b/sysutils/jdiskreport/Makefile
new file mode 100644
index 000000000000..b0d6a2a1b0bc
--- /dev/null
+++ b/sysutils/jdiskreport/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: jdiskreport
+# Date created: 26th May 2003
+# Whom: jon@witchspace.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= jdiskreport
+PORTVERSION= 1.1
+CATEGORIES= sysutils java
+MASTER_SITES= http://www.jGoodies.com/download/${PORTNAME}/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S,.,_,g}
+
+MAINTAINER= jon@witchspace.com
+COMMENT= Java program to graphically display disk usage statistics
+
+RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper
+
+USE_ZIP= YES
+USE_JAVA= 1.3
+
+PLIST_SUB= JDISKDIR=${JDISKDIR:S,${PREFIX}/,,g}
+JAVAVM?= ${LOCALBASE}/bin/javavm
+JDISKDIR?= ${PREFIX}/lib/jdiskreport
+
+do-build:
+ @cd ${WRKDIR}
+ @${SED} -e 's,%%JDISKDIR%%,${JDISKDIR},g' \
+ -e 's,%%JAVAVM%%,${JAVAVM},g' ${FILESDIR}/jdiskreport.sh \
+ > ${WRKDIR}/jdiskreport
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKDIR}/jdiskreport ${PREFIX}/bin
+ -@${MKDIR} ${JDISKDIR}
+ @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/jdiskreport.jar ${JDISKDIR}
+
+.include <bsd.port.mk>
diff --git a/sysutils/jdiskreport/distinfo b/sysutils/jdiskreport/distinfo
new file mode 100644
index 000000000000..5d21b226c598
--- /dev/null
+++ b/sysutils/jdiskreport/distinfo
@@ -0,0 +1 @@
+MD5 (jdiskreport-1_1.zip) = f92e8e5f5a0d541d7e661db9ace01b71
diff --git a/sysutils/jdiskreport/files/jdiskreport.sh b/sysutils/jdiskreport/files/jdiskreport.sh
new file mode 100644
index 000000000000..c44c60ada839
--- /dev/null
+++ b/sysutils/jdiskreport/files/jdiskreport.sh
@@ -0,0 +1,6 @@
+#! /bin/sh
+# $FreeBSD$
+JDISKDIR="%%JDISKDIR%%"
+JAVAVM="%%JAVAVM%%"
+
+$JAVAVM -jar "$JDISKDIR/jdiskreport.jar"
diff --git a/sysutils/jdiskreport/pkg-descr b/sysutils/jdiskreport/pkg-descr
new file mode 100644
index 000000000000..45031d4de9b9
--- /dev/null
+++ b/sysutils/jdiskreport/pkg-descr
@@ -0,0 +1,5 @@
+JDiskReport enables you to understand how much space the files
+and directories consume on your disk drives, and it helps you
+find obsolete files and folders.
+
+WWW: http://www.jgoodies.com/freeware/jdiskreport/
diff --git a/sysutils/jdiskreport/pkg-plist b/sysutils/jdiskreport/pkg-plist
new file mode 100644
index 000000000000..4ad49d3c4c92
--- /dev/null
+++ b/sysutils/jdiskreport/pkg-plist
@@ -0,0 +1,3 @@
+bin/jdiskreport
+%%JDISKDIR%%/jdiskreport.jar
+@dirrm %%JDISKDIR%%