Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2024 20:25:33 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3e67d1cdcbb6 - main - deskutils/tasksh: Moved man to share/man
Message-ID:  <202401302025.40UKPXXo021543@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3e67d1cdcbb6ade85668d2d5b8e65278c380a339

commit 3e67d1cdcbb6ade85668d2d5b8e65278c380a339
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-30 15:24:26 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-30 20:25:07 +0000

    deskutils/tasksh: Moved man to share/man
---
 deskutils/tasksh/Makefile                   |  2 +-
 deskutils/tasksh/files/patch-CMakeLists.txt | 14 ++++++++++++++
 deskutils/tasksh/pkg-plist                  |  2 +-
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/deskutils/tasksh/Makefile b/deskutils/tasksh/Makefile
index 03ae23e2841a..8e1d6fe0b558 100644
--- a/deskutils/tasksh/Makefile
+++ b/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/
 
diff --git a/deskutils/tasksh/files/patch-CMakeLists.txt b/deskutils/tasksh/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..96c79999d84b
--- /dev/null
+++ b/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")
diff --git a/deskutils/tasksh/pkg-plist b/deskutils/tasksh/pkg-plist
index 7b8a57d8ec2c..e986b4b0a214 100644
--- a/deskutils/tasksh/pkg-plist
+++ b/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401302025.40UKPXXo021543>