aboutsummaryrefslogtreecommitdiffstats
path: root/devel/javolution
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2009-11-05 15:27:38 +0800
committerale <ale@FreeBSD.org>2009-11-05 15:27:38 +0800
commitb77805e3dbe5e0b0c51f5f4a4f16dfe9e2697808 (patch)
tree820d291cc1ecbcda1dce78e4330f25457566d6a8 /devel/javolution
parent80e25e04c243afdb08af8e9e0b3654822bd71b9d (diff)
downloadfreebsd-ports-gnome-b77805e3dbe5e0b0c51f5f4a4f16dfe9e2697808.tar.gz
freebsd-ports-gnome-b77805e3dbe5e0b0c51f5f4a4f16dfe9e2697808.tar.zst
freebsd-ports-gnome-b77805e3dbe5e0b0c51f5f4a4f16dfe9e2697808.zip
Update to 5.4.0 release.
Diffstat (limited to 'devel/javolution')
-rw-r--r--devel/javolution/Makefile19
-rw-r--r--devel/javolution/distinfo6
2 files changed, 17 insertions, 8 deletions
diff --git a/devel/javolution/Makefile b/devel/javolution/Makefile
index a7da6ec2e963..8bf800a9ec77 100644
--- a/devel/javolution/Makefile
+++ b/devel/javolution/Makefile
@@ -6,24 +6,33 @@
#
PORTNAME= javolution
-PORTVERSION= 5.3.0
+PORTVERSION= 5.4.0
CATEGORIES= devel java
MASTER_SITES= http://javolution.org/target/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
+DISTNAME= ${PORTNAME}-${PORTVERSION}-project
MAINTAINER= ale@FreeBSD.org
COMMENT= A Java solution for real time and embedded systems
USE_ZIP= yes
USE_JAVA= yes
-JAVA_VERSION= 1.5+
-NO_BUILD= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+JAVA_VERSION= 1.4+
+JDKMVERSION= ${JAVA_PORT_VERSION:C/^([0-9]\.[0-9])(.*)$/\1/}
+USE_ANT= yes
+ALL_TARGET= ${JDKMVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= *
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
+post-patch:
+.if !defined(NOPORTDOCS)
+ @${REINPLACE_CMD} "s|doc, jar, _zip|doc, jar|" ${WRKSRC}/build.xml
+.else
+ @${REINPLACE_CMD} "s|doc, jar, _zip|jar|" ${WRKSRC}/build.xml
+.endif
+
do-install:
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
diff --git a/devel/javolution/distinfo b/devel/javolution/distinfo
index dbb898bca3ae..6f4c4b046abc 100644
--- a/devel/javolution/distinfo
+++ b/devel/javolution/distinfo
@@ -1,3 +1,3 @@
-MD5 (javolution-5.3.0-bin.zip) = 9a809ad03c78a894d1fdce09ccb804df
-SHA256 (javolution-5.3.0-bin.zip) = 65c68537bead53d721170944389d15a1e1865180e5c6f4dda3213a53714e8ccc
-SIZE (javolution-5.3.0-bin.zip) = 1230572
+MD5 (javolution-5.4.0-project.zip) = bbad7959b602776fcee42cfb2f311782
+SHA256 (javolution-5.4.0-project.zip) = 5298c2833de6378355f6859888d4b2c79813f632b71230a70a1ae1e811ec915f
+SIZE (javolution-5.4.0-project.zip) = 580536