git: 9ab3c5a86406 - main - deskutils/timewarrior: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jan 2024 20:25:35 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ab3c5a86406e431505077e2e05466076d0ceb04 commit 9ab3c5a86406e431505077e2e05466076d0ceb04 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-30 15:29:14 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-30 20:25:08 +0000 deskutils/timewarrior: Moved man to share/man --- deskutils/timewarrior/Makefile | 3 +- deskutils/timewarrior/files/patch-CMakeLists.txt | 24 ++++++++ deskutils/timewarrior/pkg-plist | 76 ++++++++++++------------ 3 files changed, 64 insertions(+), 39 deletions(-) diff --git a/deskutils/timewarrior/Makefile b/deskutils/timewarrior/Makefile index 99f6bdabc727..70e79f5d6925 100644 --- a/deskutils/timewarrior/Makefile +++ b/deskutils/timewarrior/Makefile @@ -1,5 +1,6 @@ PORTNAME= timewarrior PORTVERSION= 1.7.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= deskutils @@ -20,6 +21,6 @@ GH_TUPLE= GothenburgBitFactory:libshared:47c3262:libshared/src/libshared CMAKE_ARGS+= -DTIMEW_DOCDIR=${DOCSDIR} post-install: - @${RM} -r ${STAGEDIR}${PREFIX}/man/man1/CMakeFiles ${STAGEDIR}${PREFIX}/man/man7/CMakeFiles + @${RM} -r ${STAGEDIR}${PREFIX}/share/man/man1/CMakeFiles ${STAGEDIR}${PREFIX}/share/man/man7/CMakeFiles .include <bsd.port.mk> diff --git a/deskutils/timewarrior/files/patch-CMakeLists.txt b/deskutils/timewarrior/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..a14ff8800909 --- /dev/null +++ b/deskutils/timewarrior/files/patch-CMakeLists.txt @@ -0,0 +1,24 @@ +--- CMakeLists.txt.orig 2024-01-30 15:29:52 UTC ++++ CMakeLists.txt +@@ -31,17 +31,10 @@ string (TIMESTAMP PACKAGE_DATE "%Y-%m-%d") + set (PACKAGE_STRING "${PACKAGE} ${VERSION}") + string (TIMESTAMP PACKAGE_DATE "%Y-%m-%d") + +-if (FREEBSD OR DRAGONFLY) +- set (TIMEW_MANDIR man CACHE STRING "Installation directory for man pages") +- set (TIMEW_MAN1DIR ${TIMEW_MANDIR}/man1 CACHE STRING "Installation directory for man pages, section 1") +- set (TIMEW_MAN5DIR ${TIMEW_MANDIR}/man5 CACHE STRING "Installation directory for man pages, section 5") +- set (TIMEW_MAN7DIR ${TIMEW_MANDIR}/man7 CACHE STRING "Installation directory for man pages, section 7") +-else (FREEBSD OR DRAGONFLY) +- set (TIMEW_MANDIR share/man CACHE STRING "Installation directory for man pages") +- set (TIMEW_MAN1DIR ${TIMEW_MANDIR}/man1 CACHE STRING "Installation directory for man pages, section 1") +- set (TIMEW_MAN5DIR ${TIMEW_MANDIR}/man5 CACHE STRING "Installation directory for man pages, section 5") +- set (TIMEW_MAN7DIR ${TIMEW_MANDIR}/man7 CACHE STRING "Installation directory for man pages, section 7") +-endif (FREEBSD OR DRAGONFLY) ++set (TIMEW_MANDIR share/man CACHE STRING "Installation directory for man pages") ++set (TIMEW_MAN1DIR ${TIMEW_MANDIR}/man1 CACHE STRING "Installation directory for man pages, section 1") ++set (TIMEW_MAN5DIR ${TIMEW_MANDIR}/man5 CACHE STRING "Installation directory for man pages, section 5") ++set (TIMEW_MAN7DIR ${TIMEW_MANDIR}/man7 CACHE STRING "Installation directory for man pages, section 7") + set (TIMEW_DOCDIR share/doc/timew CACHE STRING "Installation directory for doc files") + set (TIMEW_BINDIR bin CACHE STRING "Installation directory for Timewarrior executable") + diff --git a/deskutils/timewarrior/pkg-plist b/deskutils/timewarrior/pkg-plist index fc30f750cbac..0ce729d93df7 100644 --- a/deskutils/timewarrior/pkg-plist +++ b/deskutils/timewarrior/pkg-plist @@ -1,42 +1,42 @@ bin/timew -man/man1/timew-annotate.1.gz -man/man1/timew-cancel.1.gz -man/man1/timew-chart.1.gz -man/man1/timew-config.1.gz -man/man1/timew-continue.1.gz -man/man1/timew-delete.1.gz -man/man1/timew-diagnostics.1.gz -man/man1/timew-export.1.gz -man/man1/timew-extensions.1.gz -man/man1/timew-fill.1.gz -man/man1/timew-gaps.1.gz -man/man1/timew-get.1.gz -man/man1/timew-help.1.gz -man/man1/timew-join.1.gz -man/man1/timew-lengthen.1.gz -man/man1/timew-modify.1.gz -man/man1/timew-move.1.gz -man/man1/timew-report.1.gz -man/man1/timew-resize.1.gz -man/man1/timew-retag.1.gz -man/man1/timew-shorten.1.gz -man/man1/timew-show.1.gz -man/man1/timew-split.1.gz -man/man1/timew-start.1.gz -man/man1/timew-stop.1.gz -man/man1/timew-summary.1.gz -man/man1/timew-tag.1.gz -man/man1/timew-tags.1.gz -man/man1/timew-track.1.gz -man/man1/timew-undo.1.gz -man/man1/timew-untag.1.gz -man/man1/timew.1.gz -man/man7/timew-config.7.gz -man/man7/timew-dates.7.gz -man/man7/timew-dom.7.gz -man/man7/timew-durations.7.gz -man/man7/timew-hints.7.gz -man/man7/timew-ranges.7.gz +share/man/man1/timew-annotate.1.gz +share/man/man1/timew-cancel.1.gz +share/man/man1/timew-chart.1.gz +share/man/man1/timew-config.1.gz +share/man/man1/timew-continue.1.gz +share/man/man1/timew-delete.1.gz +share/man/man1/timew-diagnostics.1.gz +share/man/man1/timew-export.1.gz +share/man/man1/timew-extensions.1.gz +share/man/man1/timew-fill.1.gz +share/man/man1/timew-gaps.1.gz +share/man/man1/timew-get.1.gz +share/man/man1/timew-help.1.gz +share/man/man1/timew-join.1.gz +share/man/man1/timew-lengthen.1.gz +share/man/man1/timew-modify.1.gz +share/man/man1/timew-move.1.gz +share/man/man1/timew-report.1.gz +share/man/man1/timew-resize.1.gz +share/man/man1/timew-retag.1.gz +share/man/man1/timew-shorten.1.gz +share/man/man1/timew-show.1.gz +share/man/man1/timew-split.1.gz +share/man/man1/timew-start.1.gz +share/man/man1/timew-stop.1.gz +share/man/man1/timew-summary.1.gz +share/man/man1/timew-tag.1.gz +share/man/man1/timew-tags.1.gz +share/man/man1/timew-track.1.gz +share/man/man1/timew-undo.1.gz +share/man/man1/timew-untag.1.gz +share/man/man1/timew.1.gz +share/man/man7/timew-config.7.gz +share/man/man7/timew-dates.7.gz +share/man/man7/timew-dom.7.gz +share/man/man7/timew-durations.7.gz +share/man/man7/timew-hints.7.gz +share/man/man7/timew-ranges.7.gz %%DOCSDIR%%/AUTHORS %%DOCSDIR%%/ChangeLog %%DOCSDIR%%/INSTALL