summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-30 16:24:26 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-30 21:25:07 +0100
commit3e67d1cdcbb6ade85668d2d5b8e65278c380a339 (patch)
tree63b0106161e2d28caf98044f0dea7df6fe397394 /deskutils
parent314d999ae01af8e57765fb9b7bbff0c08407b158 (diff)
downloadfreebsd-ports-3e67d1cdcbb6ade85668d2d5b8e65278c380a339.zip
deskutils/tasksh: Moved man to share/man
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/tasksh/Makefile2
-rw-r--r--deskutils/tasksh/files/patch-CMakeLists.txt14
-rw-r--r--deskutils/tasksh/pkg-plist2
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