c4f0cf5eb7
OK bcallah@
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.10 2013/04/14 18:12:36 abieber Exp $
|
|
|
|
COMMENT = command line todo list manager
|
|
|
|
VERSION = 2.2.0
|
|
DISTNAME = task-${VERSION}
|
|
PKGNAME = taskwarrior-${VERSION}
|
|
CATEGORIES = productivity
|
|
|
|
HOMEPAGE = http://www.taskwarrior.org/
|
|
|
|
MAINTAINER= Aaron Bieber <abieber@openbsd.org>
|
|
|
|
MASTER_SITES = ${HOMEPAGE}/download/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = devel/cmake \
|
|
lang/lua
|
|
MODLUA_SA = Yes
|
|
|
|
WANTLIB = c e2fs-uuid m stdc++
|
|
|
|
LIB_DEPENDS = sysutils/e2fsprogs
|
|
|
|
CONFIGURE_STYLE = cmake
|
|
|
|
CONFIGURE_ARGS += -DTASK_DOCDIR=share/taskwarrior \
|
|
-DTASK_MAN1DIR=man/man1 \
|
|
-DTASK_MAN5DIR=man/man5
|
|
|
|
CONFIGURE_ENV += CFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
NO_TEST = Yes
|
|
|
|
pre-configure:
|
|
@perl -pi -e 's|share/doc/task/|share/taskwarrior/|g' \
|
|
${WRKSRC}/doc/man/task-color.5.in \
|
|
${WRKSRC}/doc/man/task-tutorial.5.in \
|
|
${WRKSRC}/doc/man/taskrc.5.in \
|
|
${WRKSRC}/src/Config.cpp
|
|
@perl -pi -e 's|share/doc/task-VERSION/|share/taskwarrior/|g' \
|
|
${WRKSRC}/scripts/vim/README
|
|
|
|
.include <bsd.port.mk>
|