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: ports/168092: [PATCH] deskutils/todo: update to 2.9 Message-ID: <1337317976.556964.41782.nullmailer@experts-exchange.com> Resent-Message-ID: <201205180520.q4I5K1s7040314@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1337317976.556964.41782.nullmailer>