aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/todo/Makefile
blob: 10b52d23089ba271557ca420a3f13b5ee8ec9cec (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
# ex:ts=8
# Ports collection makefile for:    todo
# Date created:         Jul 13, 2006
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   todo
PORTVERSION=    1.7.3
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

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 ${TARGETDIR}/bin/todo
    @${INSTALL_DATA} ${WRKSRC}/.todo ${TARGETDIR}/etc/dot.todo

.include <bsd.port.mk>