From sunpoet@sunpoet.net  Thu Oct  6 17:44:34 2011
Return-Path: <sunpoet@sunpoet.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 62593106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Oct 2011 17:44:34 +0000 (UTC)
	(envelope-from sunpoet@sunpoet.net)
Received: from sunpoet.net (sunpoet.net [220.133.12.240])
	by mx1.freebsd.org (Postfix) with ESMTP id ECFAA8FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 Oct 2011 17:44:33 +0000 (UTC)
Received: by sunpoet.net (Postfix, from userid 1000)
	id 64CB05166; Fri,  7 Oct 2011 01:44:13 +0800 (CST)
Message-Id: <20111006174413.64CB05166@sunpoet.net>
Date: Fri,  7 Oct 2011 01:44:13 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: andrew@scoop.co.nz
Subject: [PATCH] databases/p5-Mysql-Diff: update to 0.42
X-Send-Pr-Version: 3.113
X-GNATS-Notify: andrew@scoop.co.nz

>Number:         161342
>Category:       ports
>Synopsis:       [PATCH] databases/p5-Mysql-Diff: update to 0.42
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sunpoet
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 06 17:50:07 UTC 2011
>Closed-Date:    Wed Nov 30 17:49:21 UTC 2011
>Last-Modified:  Wed Nov 30 17:49:21 UTC 2011
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Sep 28 22:36:13 CST 2011
>Description:
- Update to 0.42
- Pet portlint

To maintainer:

I propose to rename this port as databases/p5-MySQL-Diff to match its name as
well as our naming tradition of Perl modules.
Do you agree with that?

Port maintainer (andrew@scoop.co.nz) is cc'd.

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

--- p5-MySQL-Diff-0.42.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/p5-Mysql-Diff/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile	17 Apr 2008 14:24:33 -0000	1.2
+++ Makefile	6 Oct 2011 17:40:39 -0000
@@ -5,8 +5,8 @@
 # $FreeBSD: ports/databases/p5-Mysql-Diff/Makefile,v 1.2 2008/04/17 14:24:33 araujo Exp $
 #
 
-PORTNAME=       MySQL-Diff
-PORTVERSION=	0.33
+PORTNAME=	MySQL-Diff
+PORTVERSION=	0.42
 CATEGORIES=	databases perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,13 +14,23 @@
 MAINTAINER=	andrew@scoop.co.nz
 COMMENT=	Perl module for comparing the table structure of two MySQL databases
 
-BUILD_DEPENDS=	${SITE_PERL}/Class/MakeMethods/Template.pm:${PORTSDIR}/devel/p5-Class-MakeMethods \
-		${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
-RUN_DEPENDS=	${BUILD_DEPENDS}
+BUILD_DEPENDS=	p5-Class-MakeMethods>=0:${PORTSDIR}/devel/p5-Class-MakeMethods \
+		p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
+		p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
 
+MAN1=		mysqldiff.1
+MAN3=		MySQL::Diff.3 \
+		MySQL::Diff::Database.3 \
+		MySQL::Diff::Table.3 \
+		MySQL::Diff::Utils.3
+
+post-patch:
+	@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/bin/mysqldiff
+
 post-install:
-	$(INSTALL_SCRIPT) $(WRKSRC)/mysqldiff $(PREFIX)/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqldiff ${PREFIX}/bin/
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/databases/p5-Mysql-Diff/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo	20 Mar 2011 12:47:37 -0000	1.4
+++ distinfo	6 Oct 2011 17:40:39 -0000
@@ -1,2 +1,2 @@
-SHA256 (MySQL-Diff-0.33.tar.gz) = d0eb30ee54147f9d408c22947dcb7195c5b8db07eb0ed7275de3f0df0f3d6021
-SIZE (MySQL-Diff-0.33.tar.gz) = 12071
+SHA256 (MySQL-Diff-0.42.tar.gz) = bde928ed0183f68f7a6d2d311bcf473a851ec91236af6ff674ea53db00d8a60f
+SIZE (MySQL-Diff-0.42.tar.gz) = 21840
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/databases/p5-Mysql-Diff/pkg-plist,v
retrieving revision 1.2
diff -u -u -r1.2 pkg-plist
--- pkg-plist	22 Jan 2006 01:29:07 -0000	1.2
+++ pkg-plist	6 Oct 2011 17:40:39 -0000
@@ -1,9 +1,10 @@
-%%SITE_PERL%%/MySQL/Table.pm
-%%SITE_PERL%%/MySQL/Diff.pm
-%%SITE_PERL%%/MySQL/Utils.pm
-%%SITE_PERL%%/MySQL/Database.pm
 bin/mysqldiff
+%%SITE_PERL%%/MySQL/Diff.pm
+%%SITE_PERL%%/MySQL/Diff/Database.pm
+%%SITE_PERL%%/MySQL/Diff/Table.pm
+%%SITE_PERL%%/MySQL/Diff/Utils.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL/Diff/.packlist
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL/Diff
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL
+@dirrm %%SITE_PERL%%/MySQL/Diff
 @dirrmtry %%SITE_PERL%%/MySQL
--- p5-MySQL-Diff-0.42.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->perl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Oct 6 17:51:00 UTC 2011 
Responsible-Changed-Why:  
perl@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161342 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Oct 6 17:51:09 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: andrew@scoop.co.nz
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/161342: [PATCH] databases/p5-Mysql-Diff: update to 0.42
Date: Thu, 6 Oct 2011 17:51:06 UT

 Maintainer of databases/p5-Mysql-Diff,
 
 Please note that PR ports/161342 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/161342
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: perl->sunpoet 
Responsible-Changed-By: sunpoet 
Responsible-Changed-When: Fri Oct 7 10:38:19 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/161342: commit references a PR
Date: Sat,  5 Nov 2011 17:04:41 +0000 (UTC)

 sunpoet     2011-11-05 17:04:32 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/p5-Mysql-Diff Makefile distinfo pkg-descr pkg-plist 
   Log:
   - Update to 0.42
   - Pet portlint
   - Add CPAN as primary WWW
   
   Changes:        http://search.cpan.org/dist/MySQL-Diff/Changes
   PR:             ports/161342
   Submitted by:   sunpoet (myself)
   Approved by:    maintainer (timeout, 4 weeks)
   
   Revision  Changes    Path
   1.3       +16 -6     ports/databases/p5-Mysql-Diff/Makefile
   1.5       +2 -2      ports/databases/p5-Mysql-Diff/distinfo
   1.2       +1 -0      ports/databases/p5-Mysql-Diff/pkg-descr
   1.3       +5 -4      ports/databases/p5-Mysql-Diff/pkg-plist
 _______________________________________________
 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"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: sunpoet 
State-Changed-When: Wed Nov 30 17:49:19 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161342 
>Unformatted:
