aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/todo/Makefile
blob: 5b48907c77604d0a769c596e36c88b3f6e1bfd32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ex:ts=8
# Ports collection makefile for:    todo
# Date created:         Jul 13, 2006
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   todo
PORTVERSION=    1.6
CATEGORIES= deskutils
MASTER_SITES=   http://todotxt.com/library/todo.sh/
DISTNAME=   todo.sh

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Todo.txt Managers

RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash

BROKEN=     checksum mismatch

USE_ZIP=    yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

PLIST_FILES=    bin/todo etc/dot.todo

post-patch:
    @${REINPLACE_CMD} -e "s,/bin/sh,${LOCALBASE}/bin/bash," ${WRKSRC}/todo.sh

do-install:
    @${INSTALL_SCRIPT} ${WRKSRC}/todo.sh ${PREFIX}/bin/todo
    @${INSTALL_DATA} ${WRKSRC}/.todo ${PREFIX}/etc/dot.todo

.include <bsd.port.mk>