diff options
author | danilo <danilo@FreeBSD.org> | 2014-03-05 10:24:30 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2014-03-05 10:24:30 +0800 |
commit | f082b622cc41064fc6f176a3e8281353ff15023e (patch) | |
tree | 0bd6b7e16126b5032cc25f43bc4c9a76a74ef0dc /java/junit | |
parent | 727ba84b84def6c54299851b5111ecd64a5de044 (diff) | |
download | freebsd-ports-gnome-f082b622cc41064fc6f176a3e8281353ff15023e.tar.gz freebsd-ports-gnome-f082b622cc41064fc6f176a3e8281353ff15023e.tar.zst freebsd-ports-gnome-f082b622cc41064fc6f176a3e8281353ff15023e.zip |
- Update from 4.10 to 4.11
- Add stage support
- Improve COMMENT
- Change MASTER_SITES to GH
- Take maintainership
Diffstat (limited to 'java/junit')
-rw-r--r-- | java/junit/Makefile | 46 | ||||
-rw-r--r-- | java/junit/distinfo | 4 |
2 files changed, 26 insertions, 24 deletions
diff --git a/java/junit/Makefile b/java/junit/Makefile index d38dec86c254..a4370fb0f357 100644 --- a/java/junit/Makefile +++ b/java/junit/Makefile @@ -2,41 +2,43 @@ # $FreeBSD$ PORTNAME= junit -PORTVERSION= 4.10 +PORTVERSION= 4.11 CATEGORIES= java devel -MASTER_SITES= http://cloud.github.com/downloads/KentBeck/junit/ +MASTER_SITES= GH DISTNAME= ${PORTNAME}${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= A regression testing utility for use with the Java(TM) Language +MAINTAINER= danilo@FreeBSD.org +COMMENT= Regression testing utility for use with the Java(TM) Language -USE_ZIP= yes +USE_GITHUB= yes +GH_ACCOUNT= junit-team +GH_PROJECT= ${PORTNAME} +GH_TAGNAME= r${PORTVERSION} + +USES= perl5 USE_JAVA= yes -NO_BUILD= yes +USE_ANT= yes + +WRKSRC= ${WRKDIR}/junit-team-junit-c62e2df -.if !defined(NOPORTDOCS) PORTDOCS= README.html cpl-v10.html doc javadoc -.endif -.if !defined(NOPORTEXAMPLES) PORTEXAMPLES= * -.endif DATADIR= ${JAVASHAREDIR}/${PORTNAME} PLIST_FILES= %%JAVAJARDIR%%/junit.jar %%DATADIR%%/src.jar PLIST_DIRS= %%DATADIR%% -NO_STAGE= yes do-install: - ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit-${PORTVERSION}.jar ${JAVAJARDIR}/junit.jar - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit-${PORTVERSION}-src.jar ${DATADIR}/src.jar -.if !defined(NOPORTEXAMPLES) - cd ${INSTALL_WRKSRC}/junit/samples \ - && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/ -.endif -.if !defined(NOPORTDOCS) + ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT.jar \ + ${STAGEDIR}${JAVAJARDIR}/junit.jar + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT-src.jar \ + ${STAGEDIR}${DATADIR}/src.jar + cd ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit/samples \ + && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ cd ${INSTALL_WRKSRC} \ - && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \ - && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \; -.endif + && ${FIND} ${PORTDOCS:Njavadoc} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \ + && ${FIND} ${PORTDOCS:Njavadoc} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \; + cd ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT \ + && ${FIND} javadoc -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \ .include <bsd.port.mk> diff --git a/java/junit/distinfo b/java/junit/distinfo index b591f565c12e..86bd354f531f 100644 --- a/java/junit/distinfo +++ b/java/junit/distinfo @@ -1,2 +1,2 @@ -SHA256 (junit4.10.zip) = 49d1e176f518730c0d34a361932d9bd79d1bebd555126d95337ad7ad6fc9c6b6 -SIZE (junit4.10.zip) = 1781594 +SHA256 (junit4.11.tar.gz) = a9266060d72c43411c93d1bfae952134ad91f4115bf5769e9a0d17b3d51bd097 +SIZE (junit4.11.tar.gz) = 1974279 |