aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/jdiskreport
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2003-12-09 09:54:11 +0800
committerlinimon <linimon@FreeBSD.org>2003-12-09 09:54:11 +0800
commit94479fe6d87e7fc1d3a7861b93454cb947e3e2ec (patch)
treeab532ff7639a18084ff1ffce02e59b857cd6429c /sysutils/jdiskreport
parentfcbb245b8f492b1e9a687addc6486288d805aed0 (diff)
downloadfreebsd-ports-gnome-94479fe6d87e7fc1d3a7861b93454cb947e3e2ec.tar.gz
freebsd-ports-gnome-94479fe6d87e7fc1d3a7861b93454cb947e3e2ec.tar.zst
freebsd-ports-gnome-94479fe6d87e7fc1d3a7861b93454cb947e3e2ec.zip
Update to 1.1.2. Changes:
o Fixed popup menu position in multi-screen environments o Improved support for multi-screen environments o Formats numbers and dates using the user's locale o Distribution export tables use a fixed size unit o Fixed broken mnemonics in view menu PR: ports/59836 Submitted by: Jonathan Belson <jon@witchspace.com> (maintainer)
Diffstat (limited to 'sysutils/jdiskreport')
-rw-r--r--sysutils/jdiskreport/Makefile6
-rw-r--r--sysutils/jdiskreport/distinfo2
-rw-r--r--sysutils/jdiskreport/files/jdiskreport.sh3
-rw-r--r--sysutils/jdiskreport/pkg-plist2
4 files changed, 8 insertions, 5 deletions
diff --git a/sysutils/jdiskreport/Makefile b/sysutils/jdiskreport/Makefile
index b0d6a2a1b0bc..6c3eaafdfcd5 100644
--- a/sysutils/jdiskreport/Makefile
+++ b/sysutils/jdiskreport/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jdiskreport
-PORTVERSION= 1.1
+PORTVERSION= 1.1.2
CATEGORIES= sysutils java
MASTER_SITES= http://www.jGoodies.com/download/${PORTNAME}/
DISTNAME= ${PORTNAME}-${PORTVERSION:S,.,_,g}
@@ -20,18 +20,20 @@ USE_ZIP= YES
USE_JAVA= 1.3
PLIST_SUB= JDISKDIR=${JDISKDIR:S,${PREFIX}/,,g}
+PLIST_SUB+= PORTVERSION=${PORTVERSION}
JAVAVM?= ${LOCALBASE}/bin/javavm
JDISKDIR?= ${PREFIX}/lib/jdiskreport
do-build:
@cd ${WRKDIR}
@${SED} -e 's,%%JDISKDIR%%,${JDISKDIR},g' \
+ -e 's,%%PORTVERSION%%,${PORTVERSION},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}
+ @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/jdiskreport-${PORTVERSION}.jar ${JDISKDIR}
.include <bsd.port.mk>
diff --git a/sysutils/jdiskreport/distinfo b/sysutils/jdiskreport/distinfo
index 5d21b226c598..bc2ac3c0c1b9 100644
--- a/sysutils/jdiskreport/distinfo
+++ b/sysutils/jdiskreport/distinfo
@@ -1 +1 @@
-MD5 (jdiskreport-1_1.zip) = f92e8e5f5a0d541d7e661db9ace01b71
+MD5 (jdiskreport-1_1_2.zip) = cee52995e677bdbc9b5232d2f5c1ba25
diff --git a/sysutils/jdiskreport/files/jdiskreport.sh b/sysutils/jdiskreport/files/jdiskreport.sh
index c44c60ada839..b3811c81903c 100644
--- a/sysutils/jdiskreport/files/jdiskreport.sh
+++ b/sysutils/jdiskreport/files/jdiskreport.sh
@@ -2,5 +2,6 @@
# $FreeBSD$
JDISKDIR="%%JDISKDIR%%"
JAVAVM="%%JAVAVM%%"
+PORTVERSION="%%PORTVERSION%%"
-$JAVAVM -jar "$JDISKDIR/jdiskreport.jar"
+$JAVAVM -jar "$JDISKDIR/jdiskreport-$PORTVERSION.jar"
diff --git a/sysutils/jdiskreport/pkg-plist b/sysutils/jdiskreport/pkg-plist
index 4ad49d3c4c92..1ef2ad02749b 100644
--- a/sysutils/jdiskreport/pkg-plist
+++ b/sysutils/jdiskreport/pkg-plist
@@ -1,3 +1,3 @@
bin/jdiskreport
-%%JDISKDIR%%/jdiskreport.jar
+%%JDISKDIR%%/jdiskreport-%%PORTVERSION%%.jar
@dirrm %%JDISKDIR%%