23c47508cf
- Update PORTVERSION and distinfo checksum (2.5.1) - Add TEST_DEPENDS - Remove patches (upstream) - Update pkg-plist https://github.com/taskwarrior/task/blob/2.5.1/ChangeLog Reviewed by: skreuzer (maintainer) Approved by: skreuzer (maintainer) Differential Revision: D8380
36 lines
761 B
Makefile
36 lines
761 B
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= taskwarrior
|
|
PORTVERSION= 2.5.1
|
|
CATEGORIES= deskutils
|
|
DISTNAME= task-${PORTVERSION}
|
|
|
|
MAINTAINER= skreuzer@FreeBSD.org
|
|
COMMENT= Feature-rich command-line todo list manager
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
TEST_DEPENDS= faketime:devel/libfaketime
|
|
|
|
USES= compiler:c++11-lib cmake python:test shebangfix
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= taskwarrior
|
|
GH_PROJECT= task
|
|
|
|
CMAKE_ARGS+= -DTASK_DOCDIR:STRING=${DATADIR:S/${PREFIX}\///} \
|
|
-DTASK_MAN1DIR:STRING=man/man1 \
|
|
-DTASK_MAN5DIR:STRING=man/man5
|
|
|
|
SHEBANG_FILES= scripts/*/*.pl \
|
|
doc/rc/refresh \
|
|
|
|
do-test:
|
|
@cd ${WRKSRC}/test && \
|
|
${PYTHON_CMD} run_all --verbose && \
|
|
${PYTHON_CMD} problems
|
|
|
|
.include <bsd.port.mk>
|