1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/deskutils/todo/Makefile
Sunpoet Po-Chuan Hsieh dc76de019f - Convert to new options helper
- Use USES=shebangfix
- Support STAGEDIR
- Simplify Makefile

Approved by:	portmgr (blanket)
2014-03-14 15:51:39 +00:00

37 lines
920 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= todo
PORTVERSION= 2.9
CATEGORIES= deskutils
MASTER_SITES= http://cloud.github.com/downloads/ginatrapani/todo.txt-cli/
DISTNAME= todo.txt_cli-${PORTVERSION}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Todo.txt Manager
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
CONFLICTS= devtodo-[0-9]*
OPTIONS_DEFINE= BASH
BASH_DESC= Install programmable completions for Bash
NO_BUILD= yes
USES= shebangfix
PLIST_FILES= bin/todo etc/todo.cfg
SHEBANG_FILES= todo.sh todo_completion
BASH_PLIST_FILES= etc/bash_completion.d/todo
BAHS_PLIST_DIRSTRY= etc/bash_completion.d
do-install:
@${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
.include <bsd.port.mk>