- use https for HOMEPAGE and MASTER_SITES

- take maintainership
- reformat DESCR
- don't install unneeded files
- drop RDEP on python
This commit is contained in:
jasper 2018-06-03 11:20:18 +00:00
parent 14d5baa8e3
commit bf76677b34
4 changed files with 30 additions and 18 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.29 2017/11/16 23:20:39 naddy Exp $
# $OpenBSD: Makefile,v 1.30 2018/06/03 11:20:18 jasper Exp $
COMMENT = command line todo list manager
@ -6,9 +6,11 @@ VERSION = 2.5.1
DISTNAME = task-${VERSION}
PKGNAME = taskwarrior-${VERSION}
CATEGORIES = productivity
REVISION = 1
REVISION = 2
HOMEPAGE = http://www.taskwarrior.org/
HOMEPAGE = https://tawww.skwarrior.org/
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
MASTER_SITES = ${HOMEPAGE}download/
@ -21,6 +23,7 @@ MODULES = devel/cmake \
lang/lua \
lang/python
MODLUA_SA = Yes
MODPY_RUNDEP = No
WANTLIB += c gnutls m pthread ${COMPILER_LIBCXX}
@ -30,7 +33,8 @@ CONFIGURE_STYLE = cmake
CONFIGURE_ARGS += -DTASK_DOCDIR=share/taskwarrior \
-DTASK_MAN1DIR=man/man1 \
-DTASK_MAN5DIR=man/man5
-DTASK_MAN5DIR=man/man5 \
-Ddoc_FILES="README.md"
CONFIGURE_ENV += CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@ -38,11 +42,11 @@ CONFIGURE_ENV += CFLAGS="-I${LOCALBASE}/include" \
NO_TEST = Yes
pre-configure:
@sed -i 's,share/doc/task/,share/taskwarrior/,g' \
sed -i 's,share/doc/task/,share/taskwarrior/,g' \
${WRKSRC}/doc/man/task-color.5.in \
${WRKSRC}/doc/man/taskrc.5.in \
${WRKSRC}/src/Config.cpp
@sed -i 's,share/doc/task-VERSION/,share/taskwarrior/,g' \
sed -i 's,share/doc/task-VERSION/,share/taskwarrior/,g' \
${WRKSRC}/scripts/vim/README
post-install:

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-CMakeLists_txt,v 1.5 2018/06/03 11:20:18 jasper Exp $
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -193,7 +193,7 @@ if (EXISTS performance)
add_subdirectory (performance EXCLUDE_FROM_ALL)
endif (EXISTS performance)
-set (doc_FILES NEWS ChangeLog README.md INSTALL AUTHORS COPYING LICENSE)
+set (doc_FILES NEWS README.md)
foreach (doc_FILE ${doc_FILES})
install (FILES ${doc_FILE} DESTINATION ${TASK_DOCDIR})
endforeach (doc_FILE)

View File

@ -1,4 +1,4 @@
Taskwarrior is a command line todo list manager. It maintains a
list of tasks that you want to do, allowing you to add/remove, and
otherwise manipulate them. Task has a rich list of subcommands
that allow you to do various things with it.
Taskwarrior is a command line todo list manager. It maintains a list of
tasks that you want to do, allowing you to add/remove, and otherwise
manipulate them. Task has a rich list of subcommands that allow you to
do various things with it.

View File

@ -1,17 +1,11 @@
@comment $OpenBSD: PLIST,v 1.9 2016/03/02 17:19:51 kspillner Exp $
@comment $OpenBSD: PLIST,v 1.10 2018/06/03 11:20:18 jasper Exp $
@bin bin/task
@man man/man1/task.1
@man man/man5/task-color.5
@man man/man5/task-sync.5
@man man/man5/taskrc.5
share/taskwarrior/
share/taskwarrior/AUTHORS
@comment share/taskwarrior/README
@comment share/taskwarrior/COPYING
@comment share/taskwarrior/ChangeLog
@comment share/taskwarrior/INSTALL
@comment share/taskwarrior/LICENSE
@comment share/taskwarrior/NEWS
share/taskwarrior/NEWS
share/taskwarrior/README.md
share/taskwarrior/rc/
share/taskwarrior/rc/dark-16.theme