git: 97ed6b894310 - main - textproc/television: Install documentation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Sep 2025 10:34:27 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=97ed6b894310e0ce773fc80d5f055985415943ef
commit 97ed6b894310e0ce773fc80d5f055985415943ef
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-09-18 04:22:02 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-09-18 10:34:21 +0000
textproc/television: Install documentation
Install some documentation and copy a sample configuration file to examples.
Use pkg-plist instead of PLIST_FILES.
---
textproc/television/Makefile | 10 ++++------
textproc/television/pkg-plist | 19 +++++++++++++++++++
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/textproc/television/Makefile b/textproc/television/Makefile
index 62db60ec5f63..852ca0c8a3c2 100644
--- a/textproc/television/Makefile
+++ b/textproc/television/Makefile
@@ -1,6 +1,6 @@
PORTNAME= television
DISTVERSION= 0.13.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MAINTAINER= uzsolt@FreeBSD.org
@@ -19,11 +19,6 @@ USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= alexpasmantier
-PLIST_FILES= bin/${PORTNAME} \
- bin/tv \
- share/man/man1/${PORTNAME}.1.gz \
- share/man/man1/tv.1.gz
-
post-install:
cd ${STAGEDIR}${PREFIX}/bin && \
${LN} tv ${PORTNAME}
@@ -31,5 +26,8 @@ post-install:
${STAGEDIR}${PREFIX}/share/man/man1/tv.1
cd ${STAGEDIR}${PREFIX}/share/man/man1 && \
${LN} tv.1 television.1
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/.config/config.toml ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/01-Users/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/textproc/television/pkg-plist b/textproc/television/pkg-plist
new file mode 100644
index 000000000000..0c82f42607e6
--- /dev/null
+++ b/textproc/television/pkg-plist
@@ -0,0 +1,19 @@
+bin/television
+bin/tv
+share/man/man1/television.1.gz
+share/man/man1/tv.1.gz
+%%EXAMPLESDIR%%/config.toml
+%%DOCSDIR%%/01-installation.md
+%%DOCSDIR%%/02-quickstart.md
+%%DOCSDIR%%/03-configuration.md
+%%DOCSDIR%%/04-keybindings.md
+%%DOCSDIR%%/05-shell-integration.md
+%%DOCSDIR%%/06-search-patterns.md
+%%DOCSDIR%%/07-channels.md
+%%DOCSDIR%%/08-themes.md
+%%DOCSDIR%%/09-cli.md
+%%DOCSDIR%%/10-community-channels-unix.md
+%%DOCSDIR%%/10-community-channels-windows.md
+%%DOCSDIR%%/11-terminal_emulators.md
+%%DOCSDIR%%/12-showcase.md
+%%DOCSDIR%%/13-contributing-channels.md