deskutils/timewarrior: Moved man to share/man
This commit is contained in:
parent
3e67d1cdcb
commit
9ab3c5a864
3 changed files with 64 additions and 39 deletions
|
@ -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>
|
||||
|
|
24
deskutils/timewarrior/files/patch-CMakeLists.txt
Normal file
24
deskutils/timewarrior/files/patch-CMakeLists.txt
Normal file
|
@ -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")
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue