From jhelfman@experts-exchange.com  Fri May 18 05:14:17 2012
Return-Path: <jhelfman@experts-exchange.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 71CDF106564A;
	Fri, 18 May 2012 05:14:17 +0000 (UTC)
	(envelope-from jhelfman@experts-exchange.com)
Received: from mail.dw.redsrci.com (mail.pub.dw.redsrci.com [72.29.183.251])
	by mx1.freebsd.org (Postfix) with ESMTP id 510118FC15;
	Fri, 18 May 2012 05:14:17 +0000 (UTC)
Received: from mail.dw.redsrci.com (localhost [127.0.0.1])
	by mail.dw.redsrci.com (Postfix) with ESMTP id 8286B7148C7;
	Thu, 17 May 2012 22:14:11 -0700 (PDT)
Received: from mail.dw.redsrci.com ([127.0.0.1])
	by mail.dw.redsrci.com (mail.dw.redsrci.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ucaOQGfvr6Dg; Thu, 17 May 2012 22:14:11 -0700 (PDT)
Received: from experts-exchange.com (unknown [192.168.103.120])
	by mail.dw.redsrci.com (Postfix) with SMTP id 5E44071489C;
	Thu, 17 May 2012 22:14:11 -0700 (PDT)
Received: (nullmailer pid 41783 invoked by uid 1001);
	Fri, 18 May 2012 05:12:56 -0000
Message-Id: <1337317976.556964.41782.nullmailer@experts-exchange.com>
Date: Thu, 17 May 2012 22:12:56 -0700
From: Jason Helfman <jgh@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: clsung@FreeBSD.org
Subject: [PATCH] deskutils/todo: update to 2.9
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         168092
>Category:       ports
>Synopsis:       [PATCH] deskutils/todo: update to 2.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jgh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 18 05:20:01 UTC 2012
>Closed-Date:    Fri Jun 01 21:25:21 UTC 2012
>Last-Modified:  Fri Jun  1 21:30:09 UTC 2012
>Originator:     Jason Helfman
>Release:        FreeBSD 8.3-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD dormouse.experts-exchange.com 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:23:18 UTC
>Description:
- Update to 2.9
- (option, off by default) bash completions (new in 2.9)

Here are the buildlogs:
http://redports.org/buildarchive/20120518005757-4612/

Port maintainer (clsung@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_5 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- todo-2.9.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/deskutils/todo/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	20 Aug 2010 08:55:10 -0000	1.9
+++ Makefile	18 May 2012 05:08:50 -0000
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	todo
-PORTVERSION=	2.7
+PORTVERSION=	2.9
 CATEGORIES=	deskutils
 MASTER_SITES=	http://cloud.github.com/downloads/ginatrapani/todo.txt-cli/
 DISTNAME=	todo.txt_cli-${PORTVERSION}
@@ -17,15 +17,33 @@
 
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
+OPTIONS=	BASH "Install programmable completions for Bash" off
+
+.include <bsd.port.pre.mk>
+
 NO_BUILD=	yes
 
 PLIST_FILES=	bin/todo etc/todo.cfg
 
+.if defined(WITH_BASH)
+PLIST_FILES+=	etc/bash_completion.d/todo
+PLIST_DIRSTRY+=	etc/bash_completion.d
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash," ${WRKSRC}/todo.sh
+.if defined(WITH_BASH)
+	@${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash," ${WRKSRC}/todo_completion
+.endif
 
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/todo.sh ${PREFIX}/bin/todo
 	@${INSTALL_DATA} ${WRKSRC}/todo.cfg ${PREFIX}/etc/todo.cfg
 
-.include <bsd.port.mk>
+post-install:
+.if defined(WITH_BASH)
+	${MKDIR} ${PREFIX}/etc/bash_completion.d
+	${INSTALL_DATA} ${WRKSRC}/todo_completion ${PREFIX}/etc/bash_completion.d/todo
+.endif
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/deskutils/todo/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo	20 Mar 2011 12:48:43 -0000	1.7
+++ distinfo	18 May 2012 05:08:50 -0000
@@ -1,2 +1,2 @@
-SHA256 (todo.txt_cli-2.7.tar.gz) = a40475d072d68b79cbf04bfe0ba0a289b3bdc2da1210c5913f1364088e9d3cd1
-SIZE (todo.txt_cli-2.7.tar.gz) = 9590
+SHA256 (todo.txt_cli-2.9.tar.gz) = 861262f97206056ea3c680e9a9c444ed05b765bb79834d5ad31f51e4520e6731
+SIZE (todo.txt_cli-2.9.tar.gz) = 13359
--- todo-2.9.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri May 18 05:20:13 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168092 
Responsible-Changed-From-To: clsung->jgh 
Responsible-Changed-By: jgh 
Responsible-Changed-When: Fri Jun 1 06:05:57 UTC 2012 
Responsible-Changed-Why:  
maintainer timeout, I'll take this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168092 
State-Changed-From-To: open->closed 
State-Changed-By: jgh 
State-Changed-When: Fri Jun 1 21:25:20 UTC 2012 
State-Changed-Why:  
slightly modified from pr, used new options framework in favor of legacy 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/168092: commit references a PR
Date: Fri,  1 Jun 2012 21:24:56 +0000 (UTC)

 jgh         2012-06-01 21:24:42 UTC
 
   FreeBSD ports repository
 
   Modified files:
     deskutils/todo       Makefile distinfo 
   Log:
   - update to 2.9
   - add new option to install bash completions
   
   PR:     ports/168092
   Submitted by:   jgh
   Approved by:    maintainer timeout ( 15 days )
   
   Revision  Changes    Path
   1.10      +20 -1     ports/deskutils/todo/Makefile
   1.8       +2 -2      ports/deskutils/todo/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:
