aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2008-05-05 19:49:20 +0000
committerHerve Quiroz <hq@FreeBSD.org>2008-05-05 19:49:20 +0000
commita2a90129c13020914be2ce130fced025e4a85395 (patch)
tree9e6d1d573324ee2ef29e1114ff796680bce4e22b /java
parentf871c80fd4a778983785d2e8c83ad7ece1be7c42 (diff)
downloadports-a2a90129c13020914be2ce130fced025e4a85395.tar.gz
ports-a2a90129c13020914be2ce130fced025e4a85395.zip
- Update to version 4.4 [1]
- Remove Java 1.1 related logic PR: 122520 [1] Submitted by: Wen heping <wenheping@gmail.com> [1]
Notes
Notes: svn path=/head/; revision=212683
Diffstat (limited to 'java')
-rw-r--r--java/junit/Makefile15
-rw-r--r--java/junit/distinfo6
2 files changed, 8 insertions, 13 deletions
diff --git a/java/junit/Makefile b/java/junit/Makefile
index 085ba089dba9..d8a42beb91eb 100644
--- a/java/junit/Makefile
+++ b/java/junit/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= junit
-PORTVERSION= 3.8.2
-PORTREVISION= 1
+PORTVERSION= 4.4
CATEGORIES= java devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
+#MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= hq@FreeBSD.org
@@ -22,10 +21,6 @@ NO_BUILD= yes
.include <bsd.port.pre.mk>
-.if ${JAVA_PORT_VERSION} == "1.1"
-RUN_DEPENDS+= ${JAVALIBDIR}/jfc-1.1.1/swing.jar:${PORTSDIR}/java/jfc
-.endif
-
.if !defined(NOPORTDOCS)
PORTDOCS= README.html cpl-v10.html doc javadoc
.endif
@@ -34,9 +29,9 @@ PLIST_FILES= %%JAVAJARDIR%%/junit.jar %%DATADIR%%/src.jar
PLIST_DIRS= %%DATADIR%%
do-install:
- ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit.jar ${JAVAJARDIR}/
+ ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit-${PORTVERSION}.jar ${JAVAJARDIR}/junit.jar
${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${INSTALL_WRKSRC}/src.jar ${DATADIR}/
+ ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit-${PORTVERSION}-src.jar ${DATADIR}/src.jar
cd ${INSTALL_WRKSRC}/junit/samples \
&& ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \;
diff --git a/java/junit/distinfo b/java/junit/distinfo
index 0dd06e26855a..3ac7cb97ba8d 100644
--- a/java/junit/distinfo
+++ b/java/junit/distinfo
@@ -1,3 +1,3 @@
-MD5 (junit3.8.2.zip) = 9b8963ba2147a64bd5f1574b6fd289cb
-SHA256 (junit3.8.2.zip) = aae23d20e6f4dc45b4bf0b10fedcbd209c100342a0cafce1aa07d2da6da1f24a
-SIZE (junit3.8.2.zip) = 461426
+MD5 (junit4.4.zip) = 4755aa0af58a834bedce1f0119dc9514
+SHA256 (junit4.4.zip) = 9bbe7c16b122acd9d918d86ddab8b77836ffb03f9ceb2f0379be653fdc738b6d
+SIZE (junit4.4.zip) = 813114