ports/152664: [PATCH] java/junit: update to 4.8.2
Greg Lewis
glewis at FreeBSD.org
Mon Nov 29 08:50:08 UTC 2010
>Number: 152664
>Category: ports
>Synopsis: [PATCH] java/junit: update to 4.8.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 29 08:50:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Greg Lewis
>Release: FreeBSD 8.1-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD misty.eyesbeyond.com 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Mon Nov 15 22:55:42 PST 2010
>Description:
- Update to 4.8.2
- Remove unnecessary include of bsd.port.pre.mk
. Respect NOPORTEXAMPLES
. Install examples with COPYTREE_SHARE
Port maintainer (hq at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- junit-4.8.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /var/fcvs/ports/java/junit/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile 28 Mar 2010 10:01:01 -0000 1.17
+++ Makefile 29 Nov 2010 07:57:06 -0000
@@ -6,9 +6,9 @@
#
PORTNAME= junit
-PORTVERSION= 4.8.1
+PORTVERSION= 4.8.2
CATEGORIES= java devel
-MASTER_SITES= SF
+MASTER_SITES= http://cloud.github.com/downloads/KentBeck/junit/
#MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -19,11 +19,12 @@
USE_JAVA= yes
NO_BUILD= yes
-.include <bsd.port.pre.mk>
-
.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%%
@@ -32,20 +33,14 @@
${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 \
- && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; \
- && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \;
+ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/
+.endif
.if !defined(NOPORTDOCS)
cd ${INSTALL_WRKSRC} \
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
.endif
-post-install:
- @cd ${INSTALL_WRKSRC}/junit/samples \
- && ${FIND} -s . -type f \
- | ${SED} 's,^\.,${EXAMPLESDIR:S,^${PREFIX}/,,},' >>${TMPPLIST} \
- && ${FIND} -s -d . -type d \
- | ${SED} 's,^\., at dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,},' >>${TMPPLIST}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /var/fcvs/ports/java/junit/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo 28 Mar 2010 10:01:01 -0000 1.10
+++ distinfo 29 Nov 2010 07:56:11 -0000
@@ -1,3 +1,2 @@
-MD5 (junit4.8.1.zip) = 86aae1041d5f36ab9b2fd7f53fb531c6
-SHA256 (junit4.8.1.zip) = 9f7fd084244ab0dfffb94537ea43ab0b7a59b732508dd3e476fdc16d05eba671
-SIZE (junit4.8.1.zip) = 1590118
+SHA256 (junit4.8.2.zip) = c677cc9a08683848299f0e67fe313415de5cbaae5bfd7dee11f7d53bd8ae5107
+SIZE (junit4.8.2.zip) = 1594318
--- junit-4.8.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list