From simon@olofsson.de  Sat Mar 29 22:46:48 2008
Return-Path: <simon@olofsson.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9E39E106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Mar 2008 22:46:48 +0000 (UTC)
	(envelope-from simon@olofsson.de)
Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54])
	by mx1.freebsd.org (Postfix) with ESMTP id 3278F8FC18
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Mar 2008 22:46:47 +0000 (UTC)
	(envelope-from simon@olofsson.de)
Received: from mail-in-12-z2.arcor-online.net (mail-in-12-z2.arcor-online.net [151.189.8.29])
	by mail-in-14.arcor-online.net (Postfix) with ESMTP id 414991879D4
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Mar 2008 23:46:46 +0100 (CET)
Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44])
	by mail-in-12-z2.arcor-online.net (Postfix) with ESMTP id 13892279441
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Mar 2008 23:46:46 +0100 (CET)
Received: from ports.olofsson.de (dslb-084-060-129-031.pools.arcor-ip.net [84.60.129.31])
	by mail-in-04.arcor-online.net (Postfix) with SMTP id 915871BF3D7
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Mar 2008 23:46:45 +0100 (CET)
Received: by ports.olofsson.de (sSMTP sendmail emulation); Sat, 29 Mar 2008 23:11:37 +0100
Message-Id: <20080329224645.915871BF3D7@mail-in-04.arcor-online.net>
Date: Sat, 29 Mar 2008 23:11:37 +0100
From: "Simon Olofsson" <simon@olofsson.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] java/mx4j: update to 3.0.2, take maintainership
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         122247
>Category:       ports
>Synopsis:       [PATCH] java/mx4j: update to 3.0.2, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 29 22:50:01 UTC 2008
>Closed-Date:    Sun Mar 30 00:49:25 UTC 2008
>Last-Modified:  Sun Mar 30 00:50:02 UTC 2008
>Originator:     Simon Olofsson
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ports.olofsson.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- Update to 3.0.2
- Take maintainership
- Use SF macro
- Install examples depending on NOPORTEXAMPLES

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mx4j-3.0.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/java/mx4j/Makefile /usr/home/simon/ports/java/mx4j/Makefile
--- /usr/ports/java/mx4j/Makefile	2007-06-06 09:45:31.000000000 +0200
+++ /usr/home/simon/ports/java/mx4j/Makefile	2008-03-29 23:09:23.000000000 +0100
@@ -6,13 +6,11 @@
 #
 
 PORTNAME=	mx4j
-PORTVERSION=	2.1.1
-PORTREVISION=	1
+PORTVERSION=	3.0.2
 CATEGORIES=	java devel
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	simon@olofsson.de
 COMMENT=	Open Source implementation of the Java Management Extensions (JMX)
 
 USE_JAVA=	yes
@@ -22,6 +20,10 @@
 PORTDOCS=	*
 .endif
 
+.if !defined(NOPORTEXAMPLES)
+PORTEXAMPLES=	*
+.endif
+
 JARFILES=	mx4j-examples.jar mx4j-impl.jar mx4j-jmx.jar \
 		mx4j-remote.jar mx4j-rimpl.jar mx4j-rjmx.jar \
 		mx4j-soap.war mx4j-tools.jar mx4j.jar
@@ -29,13 +31,10 @@
 PLIST_FILES=	${JARFILES:S,^,%%JAVAJARDIR%%/,}
 NO_BUILD=	yes
 
-post-extract:
-	@${FIND} -s -d ${WRKSRC}/examples -type d -exec ${RMDIR} {} \; >/dev/null 2>&1 || true
-
 do-install: do-install-jar do-install-javadoc
 
 do-install-jar:
-	@${ECHO_MSG} -n  ">> Installing .jar files..."
+	@${ECHO_MSG} -n ">> Installing .jar files in ${JAVAJARDIR} ..."
 	@for jarfile in ${JARFILES}; do					\
 		${INSTALL_DATA} ${WRKSRC}/lib/$$jarfile ${JAVAJARDIR} ;	\
 	done
@@ -43,20 +42,18 @@
 
 do-install-javadoc:
 .if !defined(NOPORTDOCS)
-	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
+	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR} ..."
 	@cd ${WRKSRC}/docs \
 	  && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
 	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
 	@${ECHO_MSG} " [DONE]"
-	@${ECHO_MSG} -n ">> Installing examples in ${EXAMPLESDIR}..."
+.endif
+.if !defined(NOPORTEXAMPLES)
+	@${ECHO_MSG} -n ">> Installing examples in ${EXAMPLESDIR} ..."
 	@cd ${WRKSRC}/examples \
 	  && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \
 	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
 	@${ECHO_MSG} " [DONE]"
-	@${FIND} -s ${WRKSRC}/examples -not -type d \
-	  | ${SED} -ne 's,^${WRKSRC}/examples,${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
-	@${FIND} -s -d ${WRKSRC}/examples -type d \
-	  | ${SED} -ne 's,^${WRKSRC}/examples,@dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
 .endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/java/mx4j/distinfo /usr/home/simon/ports/java/mx4j/distinfo
--- /usr/ports/java/mx4j/distinfo	2006-01-22 13:39:57.000000000 +0100
+++ /usr/home/simon/ports/java/mx4j/distinfo	2008-03-29 22:32:19.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (mx4j-2.1.1.tar.gz) = 0b5ce38677e3cd56bbd80e272ff7661b
-SHA256 (mx4j-2.1.1.tar.gz) = e52af33cc990b73fb8b9ff68a85f399ee4daf2752ab122357313a92a43e236bd
-SIZE (mx4j-2.1.1.tar.gz) = 4587837
+MD5 (mx4j-3.0.2.tar.gz) = 2fbf496495e15b338a33a2aaf443774f
+SHA256 (mx4j-3.0.2.tar.gz) = 282bd68e517aba3d0f5bbf76f90c3c09e446c529e7796467ab7de65398bb1115
+SIZE (mx4j-3.0.2.tar.gz) = 4555894
--- mx4j-3.0.2.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Mar 30 00:49:24 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/122247: commit references a PR
Date: Sun, 30 Mar 2008 00:48:49 +0000 (UTC)

 miwi        2008-03-30 00:48:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     java/mx4j            Makefile distinfo 
   Log:
   - Update to 3.0.2
   - Pass maintainership to submitter
   
   PR:             122247
   Submitted by:   Simon Olofsson <simon@olofsson.de>
   
   Revision  Changes    Path
   1.5       +12 -15    ports/java/mx4j/Makefile
   1.3       +3 -3      ports/java/mx4j/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:
