aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/taskwarrior/Makefile
blob: ac17dcb274d043a174f54f5c396f79cc8807d5ae (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
36
37
# New ports collection Makefile for:    taskwarrior
# Date created:             12 June 2009
# Whom:                 gahr
#
# $FreeBSD$
#

PORTNAME=   taskwarrior
PORTVERSION=    1.8.0
CATEGORIES= deskutils
MASTER_SITES=   http://taskwarrior.org/download/
DISTNAME=   task-${PORTVERSION}

MAINTAINER= gahr@FreeBSD.org
COMMENT=    A framework for supercharged task and contact management

WRKSRC=     ${WRKDIR}/${DISTNAME}

GNU_CONFIGURE=  yes

MAN1=   task.1
MAN5=   taskrc.5 task-tutorial.5

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
EXTRA_PATCHES=  ${PATCHDIR}/extra-32bit
.endif

post-patch:
    ${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|; s|%%DATADIR%%|${DATADIR}|' \
        ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
    ${REINPLACE_CMD} -e '341,348d' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.post.mk>