summaryrefslogtreecommitdiff
path: root/textproc/television/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/television/Makefile')
-rw-r--r--textproc/television/Makefile24
1 files changed, 16 insertions, 8 deletions
diff --git a/textproc/television/Makefile b/textproc/television/Makefile
index 55366dcd938e..e67c7639208b 100644
--- a/textproc/television/Makefile
+++ b/textproc/television/Makefile
@@ -1,26 +1,34 @@
PORTNAME= television
-DISTVERSION= 0.11.9
-PORTREVISION= 1
+DISTVERSION= 0.13.3
CATEGORIES= textproc
-MAINTAINER= nxjoseph@protonmail.com
+MAINTAINER= uzsolt@FreeBSD.org
COMMENT= Fast and extensible general purpose fuzzy finder TUI
WWW= https://github.com/alexpasmantier/television
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libonig.so:devel/oniguruma
+RUN_DEPENDS= bash:shells/bash \
+ bat:textproc/bat \
+ fd:sysutils/fd \
+ git:devel/git
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= alexpasmantier
-PLIST_FILES= bin/television \
- bin/tv
+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 television)
+ cd ${STAGEDIR}${PREFIX}/bin && \
+ ${LN} tv ${PORTNAME}
+ ${INSTALL_MAN} ${WRKSRC}/man/tv.1 \
+ ${STAGEDIR}${PREFIX}/share/man/man1/tv.1
+ cd ${STAGEDIR}${PREFIX}/share/man/man1 && \
+ ${LN} tv.1 television.1
.include <bsd.port.mk>