freebsd-ports/deskutils/taskwarrior/Makefile
Pietro Cerutti 4e51cec0f7 - make Lua support optional
Suggested by:	David Magda <dmagda@ee.ryerson.ca>
2011-05-27 06:58:23 +00:00

37 lines
777 B
Makefile

# New ports collection Makefile for: taskwarrior
# Date created: 12 June 2009
# Whom: gahr
#
# $FreeBSD$
#
PORTNAME= taskwarrior
PORTVERSION= 1.9.4
CATEGORIES= deskutils
MASTER_SITES= http://taskwarrior.org/download/
DISTNAME= task-${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= A framework for supercharged task and contact management
OPTIONS= LUA "Enable LUA extensions" off
WRKSRC= ${WRKDIR}/${DISTNAME}
.include <bsd.port.options.mk>
.if defined(WITH_LUA)
USE_LUA= 5.1
.endif
USE_CMAKE= yes
CMAKE_OUTSOURCE=yes
CMAKE_ARGS+= -DTASK_DOCDIR:STRING=${DATADIR:S/${PREFIX}\///} \
-DTASK_MAN1DIR:STRING=man/man1 \
-DTASK_MAN5DIR:STRING=man/man5
MAN1= task.1
MAN5= taskrc.5 task-faq.5 task-color.5 task-sync.5 task-tutorial.5
.include <bsd.port.mk>