Lines 20-29
ALL_TARGET= youtube-dl
Link Here
|
20 |
MAKE_ARGS= PYTHON=${PYTHON_CMD} |
20 |
MAKE_ARGS= PYTHON=${PYTHON_CMD} |
21 |
USES= python:run |
21 |
USES= python:run |
22 |
|
22 |
|
23 |
OPTIONS_DEFINE= BASH RTMPDUMP FFMPEG |
23 |
OPTIONS_DEFINE= BASH FISH RTMPDUMP FFMPEG ZSH |
24 |
OPTIONS_DEFAULT=RTMPDUMP |
24 |
OPTIONS_DEFAULT=RTMPDUMP |
25 |
|
25 |
|
26 |
BASH_DESC= Install programmable completions for Bash |
26 |
FISH_DESC= Install programmable completions for Fish |
27 |
RTMPDUMP_DESC= Use RTMPDUMP to download rtmp video streams |
27 |
RTMPDUMP_DESC= Use RTMPDUMP to download rtmp video streams |
28 |
|
28 |
|
29 |
PLIST_FILES= bin/youtube-dl \ |
29 |
PLIST_FILES= bin/youtube-dl \ |
Lines 32-37
PLIST_FILES= bin/youtube-dl \
Link Here
|
32 |
WRKSRC= ${WRKDIR}/youtube-dl |
32 |
WRKSRC= ${WRKDIR}/youtube-dl |
33 |
|
33 |
|
34 |
BASH_PLIST_FILES= etc/bash_completion.d/youtube-dl.sh |
34 |
BASH_PLIST_FILES= etc/bash_completion.d/youtube-dl.sh |
|
|
35 |
FISH_PLIST_FILES= share/fish/completions/youtube-dl.fish |
36 |
ZSH_PLIST_FILES= share/zsh/site-functions/_youtube-dl |
35 |
FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg |
37 |
FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg |
36 |
RTMPDUMP_RUN_DEPENDS= ${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump |
38 |
RTMPDUMP_RUN_DEPENDS= ${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump |
37 |
|
39 |
|
Lines 49-53
do-install:
Link Here
|
49 |
${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \ |
51 |
${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \ |
50 |
${STAGEDIR}${PREFIX}/etc/bash_completion.d/youtube-dl.sh |
52 |
${STAGEDIR}${PREFIX}/etc/bash_completion.d/youtube-dl.sh |
51 |
.endif |
53 |
.endif |
|
|
54 |
.if ${PORT_OPTIONS:MFISH} |
55 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions |
56 |
${INSTALL_DATA} ${WRKSRC}/youtube-dl.fish \ |
57 |
${STAGEDIR}${PREFIX}/share/fish/completions/ |
58 |
.endif |
59 |
.if ${PORT_OPTIONS:MZSH} |
60 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions |
61 |
${INSTALL_DATA} ${WRKSRC}/youtube-dl.zsh \ |
62 |
${STAGEDIR}${PREFIX}/share/zsh/site-functions/_youtube-dl |
63 |
.endif |
52 |
|
64 |
|
53 |
.include <bsd.port.mk> |
65 |
.include <bsd.port.mk> |