aboutsummaryrefslogtreecommitdiff
path: root/net/dimes
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-02-12 21:39:45 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-02-12 21:39:45 +0000
commit3231a32c380dce75c8895b911420171bad1a3f58 (patch)
tree66591bb8fdb81ebdfc54ea177f6ac0d3568710a9 /net/dimes
parent0f231d371d82cb11739cb4bc3504e31db82ff5c9 (diff)
downloadports-3231a32c380dce75c8895b911420171bad1a3f58.tar.gz
ports-3231a32c380dce75c8895b911420171bad1a3f58.zip
Notes
Diffstat (limited to 'net/dimes')
-rw-r--r--net/dimes/Makefile12
-rw-r--r--net/dimes/distinfo6
-rw-r--r--net/dimes/files/patch-agent_sh11
-rw-r--r--net/dimes/files/patch-configure_sh (renamed from net/dimes/files/patch-configure)6
-rw-r--r--net/dimes/pkg-plist1
5 files changed, 23 insertions, 13 deletions
diff --git a/net/dimes/Makefile b/net/dimes/Makefile
index 2115ab444142..a64bce75d2b4 100644
--- a/net/dimes/Makefile
+++ b/net/dimes/Makefile
@@ -1,24 +1,26 @@
# New ports collection makefile for: DIMES
# Date created: 18 April 2006
# Whom: stast
-#
# $FreeBSD$
#
+#
PORTNAME= DIMES
-DISTVERSION= 0-4-2
+PORTVERSION= 0.4.3b
CATEGORIES= net java
-MASTER_SITES= http://netdimes.org/downloads/
+MASTER_SITES= http://netdimes.org/downloads/ \
+ http://www.stasyan.com/devel/distfiles/
+DISTNAME= ${PORTNAME}-0-4-3b
MAINTAINER= stast@bsdportal.ru
COMMENT= Distributed research project for measurement topology of the Internet
NO_PACKAGE= There is the string in properties.xml which system-depends
-NO_BUILD= .jar files are ready for use.
WRKSRC= ${WRKDIR}/DIMES
USE_JAVA= YES
+JAVA_BUILD= YES
JAVA_VERSION= 1.4+
#java-linux required
JAVA_OS= linux
@@ -30,7 +32,7 @@ post-patch:
cd ${WRKSRC}; echo "JAVA_HOME=${JAVA_HOME}" >> ${WRKSRC}/colors.sh;
do-install:
- cd ${WRKSRC}; ${SH} ./fix_permissions.sh; ./configure ${JAVASHAREDIR}
+ cd ${WRKSRC}; ${SH} ./fix_permissions.sh; ./configure.sh ${JAVASHAREDIR}
@${MKDIR} ${DATADIR}
@${MKDIR} ${DATADIR}/Classes
@${MKDIR} ${DATADIR}/Classes/Base
diff --git a/net/dimes/distinfo b/net/dimes/distinfo
index 0cbdd6d96e21..451effe6fccd 100644
--- a/net/dimes/distinfo
+++ b/net/dimes/distinfo
@@ -1,3 +1,3 @@
-MD5 (DIMES-0-4-2.tar.gz) = 3396594e9e5f949c830beff62a2d07f4
-SHA256 (DIMES-0-4-2.tar.gz) = 18fd156ef36d34ee55b4e42251b2f05d247679cbbeb92a7b0232cf0a9c8a79b4
-SIZE (DIMES-0-4-2.tar.gz) = 6404942
+MD5 (DIMES-0-4-3b.tar.gz) = 8c903e054ff506fd0ab88ade28b91e7f
+SHA256 (DIMES-0-4-3b.tar.gz) = ba15d9f16cab51deb6a9f33c44b512ec8aeca76c988bc5e9471e73294c372755
+SIZE (DIMES-0-4-3b.tar.gz) = 4970732
diff --git a/net/dimes/files/patch-agent_sh b/net/dimes/files/patch-agent_sh
new file mode 100644
index 000000000000..cd1f4cc27ab7
--- /dev/null
+++ b/net/dimes/files/patch-agent_sh
@@ -0,0 +1,11 @@
+--- agent.sh.orig Thu Feb 7 12:45:01 2008
++++ agent.sh Thu Feb 7 12:45:09 2008
+@@ -24,7 +24,7 @@
+
+ # verify java version (1.4* or 1.5*)
+ echo -n "Checking Java version......"
+-ret=`${JAVA} -version 2>&1 | grep --regexp="1\.[4|5]"`
++ret=`${JAVA} -version 2>&1 | grep --regexp="1\.[4|5|6]"`
+ verify $? "Wrong java version. Should be 1.4.*"
+
+ # verify display settings :
diff --git a/net/dimes/files/patch-configure b/net/dimes/files/patch-configure_sh
index 144991846151..f11660ad7585 100644
--- a/net/dimes/files/patch-configure
+++ b/net/dimes/files/patch-configure_sh
@@ -1,7 +1,5 @@
-$FreeBSD$
-
-*** configure.orig Thu Nov 17 16:23:48 2005
---- configure Wed Apr 19 23:00:24 2006
+*** configure.sh.orig Thu Nov 17 16:23:48 2005
+--- configure.sh Wed Apr 19 23:00:24 2006
***************
*** 1,40 ****
#!/bin/sh
diff --git a/net/dimes/pkg-plist b/net/dimes/pkg-plist
index 242577417fb7..a2aefdfcd300 100644
--- a/net/dimes/pkg-plist
+++ b/net/dimes/pkg-plist
@@ -1,4 +1,3 @@
-@comment $FreeBSD$
%%DATADIR%%/Classes/AgentLauncher$1.class
%%DATADIR%%/Classes/AgentLauncher$2.class
%%DATADIR%%/Classes/AgentLauncher.class