svn commit: r347092 - head/java/junit
Danilo Egea Gondolfo
danilo at FreeBSD.org
Wed Mar 5 02:24:31 UTC 2014
Author: danilo
Date: Wed Mar 5 02:24:30 2014
New Revision: 347092
URL: http://svnweb.freebsd.org/changeset/ports/347092
QAT: https://qat.redports.org/buildarchive/r347092/
Log:
- Update from 4.10 to 4.11
- Add stage support
- Improve COMMENT
- Change MASTER_SITES to GH
- Take maintainership
Modified:
head/java/junit/Makefile
head/java/junit/distinfo
Modified: head/java/junit/Makefile
==============================================================================
--- head/java/junit/Makefile Wed Mar 5 01:23:16 2014 (r347091)
+++ head/java/junit/Makefile Wed Mar 5 02:24:30 2014 (r347092)
@@ -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 at FreeBSD.org
-COMMENT= A regression testing utility for use with the Java(TM) Language
+MAINTAINER= danilo at 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>
Modified: head/java/junit/distinfo
==============================================================================
--- head/java/junit/distinfo Wed Mar 5 01:23:16 2014 (r347091)
+++ head/java/junit/distinfo Wed Mar 5 02:24:30 2014 (r347092)
@@ -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
More information about the svn-ports-all
mailing list