2013-04-17 10:24:26 +02:00
|
|
|
# Created by: gahr
|
2009-06-15 20:17:42 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= taskwarrior
|
2015-03-12 21:21:08 +01:00
|
|
|
PORTVERSION= 2.4.1
|
2009-06-15 20:17:42 +02:00
|
|
|
CATEGORIES= deskutils
|
|
|
|
MASTER_SITES= http://taskwarrior.org/download/
|
2013-04-17 10:24:26 +02:00
|
|
|
DISTNAME= task-${PORTVERSION}
|
2009-06-15 20:17:42 +02:00
|
|
|
|
2014-12-12 17:28:47 +01:00
|
|
|
MAINTAINER= skreuzer@FreeBSD.org
|
2014-01-16 10:07:09 +01:00
|
|
|
COMMENT= Feature-rich command-line todo list manager
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
|
2014-07-07 11:15:02 +02:00
|
|
|
OPTIONS_DEFINE=GNUTLS
|
|
|
|
OPTIONS_DEFAULT=GNUTLS
|
|
|
|
|
2015-03-16 21:25:42 +01:00
|
|
|
ONLY_FOR_ARCHS= amd64
|
|
|
|
|
2014-07-07 11:15:02 +02:00
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
|
|
|
|
GNUTLS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_GnuTLS=TRUE
|
2009-06-15 20:17:42 +02:00
|
|
|
|
2015-04-02 20:44:43 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 1000000
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang36:${PORTSDIR}/lang/clang36
|
|
|
|
CPP= ${LOCALBASE}/bin/clang-cpp36
|
|
|
|
CC= ${LOCALBASE}/bin/clang36
|
|
|
|
CXX= ${LOCALBASE}/bin/clang++36
|
|
|
|
.endif
|
|
|
|
|
2013-04-17 10:24:26 +02:00
|
|
|
WRKSRC= ${WRKDIR}/task-${PORTVERSION}
|
2011-05-27 08:58:23 +02:00
|
|
|
|
2014-01-08 11:11:55 +01:00
|
|
|
USES= cmake:outsource shebangfix
|
|
|
|
SHEBANG_FILES= scripts/*/*.pl \
|
|
|
|
scripts/*/*.rb \
|
|
|
|
scripts/*/*.py \
|
|
|
|
doc/rc/refresh
|
2011-03-09 10:05:40 +01:00
|
|
|
CMAKE_ARGS+= -DTASK_DOCDIR:STRING=${DATADIR:S/${PREFIX}\///} \
|
|
|
|
-DTASK_MAN1DIR:STRING=man/man1 \
|
|
|
|
-DTASK_MAN5DIR:STRING=man/man5
|
2009-06-15 20:17:42 +02:00
|
|
|
|
2011-03-09 10:05:40 +01:00
|
|
|
.include <bsd.port.mk>
|