34 lines
841 B
Makefile
34 lines
841 B
Makefile
# $NetBSD: Makefile,v 1.6 2017/09/04 18:08:29 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= task-2.5.1
|
|
PKGNAME= ${DISTNAME:S/task/taskwarrior/}
|
|
PKGREVISION= 1
|
|
CATEGORIES= time
|
|
MASTER_SITES= http://www.taskwarrior.org/download/
|
|
|
|
MAINTAINER= esg@sdf.lonestar.org
|
|
HOMEPAGE= https://taskwarrior.org/
|
|
COMMENT= Open source, command-line, TODO list manager
|
|
LICENSE= mit
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
|
|
# C++11 required
|
|
GCC_REQD+= 4.8
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
|
|
|
CMAKE_ARGS+= -DTASK_MAN1DIR=${PREFIX}/${PKGMANDIR}/man1
|
|
CMAKE_ARGS+= -DTASK_MAN5DIR=${PREFIX}/${PKGMANDIR}/man5
|
|
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=release
|
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/libuuid/buildlink3.mk"
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
.include "../../mk/termcap.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|