2013-09-20 18:21:37 +02:00
|
|
|
# Created by: ijliao
|
2006-07-19 03:57:42 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= todo
|
2012-06-01 23:24:42 +02:00
|
|
|
PORTVERSION= 2.9
|
2006-07-19 03:57:42 +02:00
|
|
|
CATEGORIES= deskutils
|
2009-06-16 04:01:36 +02:00
|
|
|
MASTER_SITES= http://cloud.github.com/downloads/ginatrapani/todo.txt-cli/
|
|
|
|
DISTNAME= todo.txt_cli-${PORTVERSION}
|
2006-07-19 03:57:42 +02:00
|
|
|
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
2009-06-16 04:01:36 +02:00
|
|
|
COMMENT= Todo.txt Manager
|
2006-07-19 03:57:42 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
|
2012-06-04 14:06:57 +02:00
|
|
|
CONFLICTS= devtodo-[0-9]*
|
|
|
|
|
2012-06-01 23:24:42 +02:00
|
|
|
OPTIONS_DEFINE= BASH
|
|
|
|
BASH_DESC= Install programmable completions for Bash
|
|
|
|
|
2006-07-19 03:57:42 +02:00
|
|
|
NO_BUILD= yes
|
2014-03-14 16:51:39 +01:00
|
|
|
USES= shebangfix
|
2006-07-19 03:57:42 +02:00
|
|
|
|
2009-06-16 04:01:36 +02:00
|
|
|
PLIST_FILES= bin/todo etc/todo.cfg
|
2006-07-19 03:57:42 +02:00
|
|
|
|
2014-03-14 16:51:39 +01:00
|
|
|
SHEBANG_FILES= todo.sh todo_completion
|
2012-06-01 23:24:42 +02:00
|
|
|
|
2014-03-14 16:51:39 +01:00
|
|
|
BASH_PLIST_FILES= etc/bash_completion.d/todo
|
|
|
|
BAHS_PLIST_DIRSTRY= etc/bash_completion.d
|
2006-07-19 03:57:42 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-03-14 16:51:39 +01:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/todo.sh ${STAGEDIR}${PREFIX}/bin/todo
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/todo.cfg ${STAGEDIR}${PREFIX}/etc/todo.cfg
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/todo_completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d/todo
|
2012-06-01 23:24:42 +02:00
|
|
|
|
2006-07-19 03:57:42 +02:00
|
|
|
.include <bsd.port.mk>
|