Skip to content

Commit

Permalink
deskutils/tasksh: Moved man to share/man
Browse files Browse the repository at this point in the history
  • Loading branch information
5u623l20 committed Jan 30, 2024
1 parent 314d999 commit 3e67d1c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deskutils/tasksh/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tasksh
PORTVERSION= 1.2.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= deskutils
MASTER_SITES= http://taskwarrior.org/download/

Expand Down
14 changes: 14 additions & 0 deletions deskutils/tasksh/files/patch-CMakeLists.txt
@@ -0,0 +1,14 @@
--- CMakeLists.txt.orig 2024-01-30 15:20:09 UTC
+++ CMakeLists.txt
@@ -31,11 +31,7 @@ set (PACKAGE_STRING "${PACKAGE} ${VERSION}")
set (PACKAGE_VERSION "${VERSION}")
set (PACKAGE_STRING "${PACKAGE} ${VERSION}")

-if (FREEBSD)
-SET (TASKSH_MAN1DIR man/man1 CACHE STRING "Installation directory for man pages, section 1")
-else (FREEBSD)
SET (TASKSH_MAN1DIR share/man/man1 CACHE STRING "Installation directory for man pages, section 1")
-endif (FREEBSD)
SET (TASKSH_DOCDIR share/doc/tasksh CACHE STRING "Installation directory for doc files")
SET (TASKSH_RCDIR "${TASKSH_DOCDIR}/rc" CACHE STRING "Installation directory for configuration files")
SET (TASKSH_BINDIR bin CACHE STRING "Installation directory for the binary")
2 changes: 1 addition & 1 deletion deskutils/tasksh/pkg-plist
@@ -1,5 +1,5 @@
bin/tasksh
man/man1/tasksh.1.gz
share/man/man1/tasksh.1.gz
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
Expand Down

0 comments on commit 3e67d1c

Please sign in to comment.