aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-06-17 05:03:22 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-06-17 05:03:22 +0000
commit80918769444d91069b21975c95d56fc526b983a7 (patch)
tree255c6822fe20b172ff0898a776c3f22ffb4c5a13 /sysutils
parentd7c08dff63a05da1ac624a2ea4c55083e336b26a (diff)
downloadports-80918769444d91069b21975c95d56fc526b983a7.tar.gz
ports-80918769444d91069b21975c95d56fc526b983a7.zip
Notes
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%%