4eccc8e3da
Use COPYTREE_SHARE to copy more markdown documentation files. Changelogs: https://github.com/alexpasmantier/television/releases/tag/0.15.9 https://github.com/alexpasmantier/television/releases/tag/0.15.8 https://github.com/alexpasmantier/television/releases/tag/0.15.7 https://github.com/alexpasmantier/television/releases/tag/0.15.6 https://github.com/alexpasmantier/television/releases/tag/0.15.5 https://github.com/alexpasmantier/television/releases/tag/0.15.4 https://github.com/alexpasmantier/television/releases/tag/0.15.3 https://github.com/alexpasmantier/television/releases/tag/0.15.2 https://github.com/alexpasmantier/television/releases/tag/0.15.1
34 lines
859 B
Makefile
34 lines
859 B
Makefile
PORTNAME= television
|
|
DISTVERSION= 0.15.9
|
|
CATEGORIES= textproc
|
|
|
|
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
|
|
|
|
RUN_DEPENDS= bash:shells/bash \
|
|
bat:textproc/bat \
|
|
fd:sysutils/fd \
|
|
git:devel/git
|
|
|
|
USES= cargo
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= alexpasmantier
|
|
|
|
post-install:
|
|
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
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/.config/config.toml ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/docs && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-name *\.md"
|
|
|
|
.include <bsd.port.mk>
|