blob: b02a2a378626e8fc782125aed8046445afe1d4d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
PORTNAME= ytfzf
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.0
PORTREVISION= 2
CATEGORIES= multimedia
MAINTAINER= ports@FreeBSD.org
COMMENT= Find and watch YouTube videos from the terminal
WWW= https://github.com/pystardust/ytfzf
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= curl:ftp/curl \
fzf>=0:textproc/fzf \
jq:textproc/jq \
mpv:multimedia/mpv \
notify-send:devel/libnotify \
shuf:sysutils/shuf \
ueberzug:graphics/py-ueberzug@${PY_FLAVOR} \
yt-dlp:www/yt-dlp
USES= python
USE_GITHUB= yes
GH_ACCOUNT= pystardust
PYTHON_NO_DEPENDS= yes
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= USAGE.md conf.sh
PORTEXAMPLES= conf.sh
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/USAGE.md ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/docs/conf.sh ${STAGEDIR}${EXAMPLESDIR}
${RLN} ${STAGEDIR}${EXAMPLESDIR}/conf.sh ${STAGEDIR}${DOCSDIR}/conf.sh
.include <bsd.port.mk>
|