aboutsummaryrefslogtreecommitdiff
path: root/devel/javolution
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2009-11-05 07:27:38 +0000
committerAlex Dupre <ale@FreeBSD.org>2009-11-05 07:27:38 +0000
commit2705c1f43ff64def112119e0194ee408eb2d5f1f (patch)
tree981d7efab0795bd0e0aa46d5de5a0391f96966a4 /devel/javolution
parent73775fbb99a948a3ffea01e034b465a1a289848c (diff)
downloadports-2705c1f43ff64def112119e0194ee408eb2d5f1f.tar.gz
ports-2705c1f43ff64def112119e0194ee408eb2d5f1f.zip
Notes
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