1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- make Lua support optional

Suggested by:	David Magda <dmagda@ee.ryerson.ca>
This commit is contained in:
Pietro Cerutti 2011-05-27 06:58:23 +00:00
parent 96e73c20b7
commit 4e51cec0f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274721

View File

@ -14,9 +14,16 @@ 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}\///} \