From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 18 05:20:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 423C1106566B for ; Fri, 18 May 2012 05:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 11D8B8FC14 for ; Fri, 18 May 2012 05:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4I5K13Q040315 for ; Fri, 18 May 2012 05:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4I5K1s7040314; Fri, 18 May 2012 05:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 18 May 2012 05:20:01 GMT Resent-Message-Id: <201205180520.q4I5K1s7040314@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Helfman 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: clsung@FreeBSD.org Subject: ports/168092: [PATCH] deskutils/todo: update to 2.9 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2012 05:20:02 -0000 >Number: 168092 >Category: ports >Synopsis: [PATCH] deskutils/todo: update to 2.9 >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: Fri May 18 05:20:01 UTC 2012 >Closed-Date: >Last-Modified: >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 + 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 +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 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: >Unformatted: