From glewis@misty.eyesbeyond.com  Mon Nov 29 08:43:05 2010
Return-Path: <glewis@misty.eyesbeyond.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1F8ED1065672;
	Mon, 29 Nov 2010 08:43:05 +0000 (UTC)
	(envelope-from glewis@misty.eyesbeyond.com)
Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16])
	by mx1.freebsd.org (Postfix) with ESMTP id BEC208FC15;
	Mon, 29 Nov 2010 08:43:04 +0000 (UTC)
Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1])
	by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id oAT83aJ2064604;
	Mon, 29 Nov 2010 00:03:36 -0800 (PST)
	(envelope-from glewis@misty.eyesbeyond.com)
Received: (from glewis@localhost)
	by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id oAT83aIg064603;
	Mon, 29 Nov 2010 00:03:36 -0800 (PST)
	(envelope-from glewis)
Message-Id: <201011290803.oAT83aIg064603@misty.eyesbeyond.com>
Date: Mon, 29 Nov 2010 00:03:36 -0800 (PST)
From: Greg Lewis <glewis@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: hq@freebsd.org
Subject: [PATCH] java/junit: update to 4.8.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         152664
>Category:       ports
>Synopsis:       [PATCH] java/junit: update to 4.8.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hq
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 29 08:50:07 UTC 2010
>Closed-Date:    Mon Nov 29 21:30:05 UTC 2010
>Last-Modified:  Mon Nov 29 21:30:15 UTC 2010
>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@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,^\.,@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:
Responsible-Changed-From-To: freebsd-ports-bugs->hq 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Nov 29 08:50:15 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152664 
State-Changed-From-To: open->closed 
State-Changed-By: hq 
State-Changed-When: Mon Nov 29 21:28:10 UTC 2010 
State-Changed-Why:  
Patch commited. Thanks Greg. 
While I was there I also removed some commented out MASTER_SITE_SUBDIR line. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=152664 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/152664: commit references a PR
Date: Mon, 29 Nov 2010 21:28:01 +0000 (UTC)

 hq          2010-11-29 21:27:55 UTC
 
   FreeBSD ports repository
 
   Modified files:
     java/junit           Makefile distinfo 
   Log:
   - Update to 4.8.2
   - Remove unnecessary include of bsd.port.pre.mk
   - Respect NOPORTEXAMPLES
   - Install examples with COPYTREE_SHARE
   
   PR:             152664
   Submitted by:   glewis
   
   Revision  Changes    Path
   1.18      +9 -15     ports/java/junit/Makefile
   1.11      +2 -3      ports/java/junit/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
