aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2008-05-06 03:49:20 +0800
committerhq <hq@FreeBSD.org>2008-05-06 03:49:20 +0800
commit9fe85464fd50afe18fa3156007adc36af0d197fc (patch)
treeef60fc83a20cf67bc280ac81da74964f1a078ec6 /java
parent2597f64ef488c4057c2201e81930d3f0d484738d (diff)
downloadfreebsd-ports-gnome-9fe85464fd50afe18fa3156007adc36af0d197fc.tar.gz
freebsd-ports-gnome-9fe85464fd50afe18fa3156007adc36af0d197fc.tar.zst
freebsd-ports-gnome-9fe85464fd50afe18fa3156007adc36af0d197fc.zip
- Update to version 4.4 [1]
- Remove Java 1.1 related logic PR: 122520 [1] Submitted by: Wen heping <wenheping@gmail.com> [1]
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