deskutils/tasksh: Moved man to share/man

This commit is contained in:
Muhammad Moinur Rahman 2024-01-30 16:24:26 +01:00
parent 314d999ae0
commit 3e67d1cdcb
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91
3 changed files with 16 additions and 2 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= tasksh PORTNAME= tasksh
PORTVERSION= 1.2.0 PORTVERSION= 1.2.0
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= deskutils CATEGORIES= deskutils
MASTER_SITES= http://taskwarrior.org/download/ MASTER_SITES= http://taskwarrior.org/download/

View file

@ -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")

View file

@ -1,5 +1,5 @@
bin/tasksh bin/tasksh
man/man1/tasksh.1.gz share/man/man1/tasksh.1.gz
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/ChangeLog