summaryrefslogtreecommitdiffstats
path: root/java/junit/Makefile
diff options
context:
space:
mode:
authorokazaki <okazaki@FreeBSD.org>2001-06-26 16:52:11 +0000
committerokazaki <okazaki@FreeBSD.org>2001-06-26 16:52:11 +0000
commit026821ddaccf3e72707c1695eac9b1c406b61c86 (patch)
tree82fc0a70397bc7f0957566c2d6f4982e00da735c /java/junit/Makefile
parent23b568d4267feb5cfde4dbde58f17644c9982c51 (diff)
downloadFreeBSD-ports-026821ddaccf3e72707c1695eac9b1c406b61c86.zip
FreeBSD-ports-026821ddaccf3e72707c1695eac9b1c406b61c86.tar.gz
Update to 3.7. Change maintainer's address.
Diffstat (limited to 'java/junit/Makefile')
-rw-r--r--java/junit/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/java/junit/Makefile b/java/junit/Makefile
index 643d51b..2fe30ee 100644
--- a/java/junit/Makefile
+++ b/java/junit/Makefile
@@ -6,12 +6,13 @@
#
PORTNAME= junit
-PORTVERSION= 3.2
+PORTVERSION= 3.7
CATEGORIES= java devel
-MASTER_SITES= http://www.xprogramming.com/ftp/TestingFramework/JUnit/
-DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}${PORTVERSION}
-MAINTAINER= okazaki@be.to
+MAINTAINER= okazaki@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper
@@ -26,19 +27,20 @@ FIND?= /usr/bin/find
USE_ZIP= yes
NO_BUILD= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
JUNIT_SUBDIR= ${PORTNAME}-${PORTVERSION}
JUNIT_DESTDIR= ${PREFIX}/share/java/${JUNIT_SUBDIR}
PLIST_SUB= JUNIT_SUBDIR=${JUNIT_SUBDIR}
-DATADIRS= doc javadoc junit vaj
+.if !defined(NOPORTDOCS)
+DATADIRS= doc javadoc junit
+.endif
do-install:
${MKDIR} ${PREFIX}/share/java/classes ${JUNIT_DESTDIR}
cd ${INSTALL_WRKSRC}; \
${INSTALL_DATA} junit.jar ${PREFIX}/share/java/classes; \
${INSTALL_DATA} README.html ${JUNIT_DESTDIR}; \
- ${INSTALL_DATA} src.zip ${JUNIT_DESTDIR}
+ ${INSTALL_DATA} src.jar ${JUNIT_DESTDIR}
.if defined(DATADIRS)
.for DIR in ${DATADIRS}
cd ${INSTALL_WRKSRC}; \
OpenPOWER on IntegriCloud