mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Youtube Viewer
This script plays a clip from YouTube with MPlayer, supports 720p and 1080p. WWW: http://trizen.go.ro/
This commit is contained in:
parent
82bef74764
commit
670b3dea91
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259514
@ -348,5 +348,6 @@
|
||||
SUBDIR += xvid4conf
|
||||
SUBDIR += y4mscaler
|
||||
SUBDIR += yamdi
|
||||
SUBDIR += youtube-viewer
|
||||
|
||||
.include <bsd.port.subdir.mk>
|
||||
|
40
multimedia/youtube-viewer/Makefile
Normal file
40
multimedia/youtube-viewer/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: youtube-viewer
|
||||
# Date created: 2010-08-17
|
||||
# Whom: Dennis Herrmann <dhn@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= youtube
|
||||
PORTVERSION= 2.1.8
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://trizen.go.ro/files/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= dhn
|
||||
PKGNAMESUFFIX= -viewer
|
||||
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}
|
||||
EXTRACT_SUFX= #none
|
||||
|
||||
MAINTAINER= dhn@FreeBSD.org
|
||||
COMMENT= Search and play YouTube videos streaming in MPlayer
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
|
||||
${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor \
|
||||
mplayer:${PORTSDIR}/multimedia/mplayer
|
||||
|
||||
USE_PERL5_RUN= yes
|
||||
NO_BUILD= yes
|
||||
PLIST_FILES= bin/${DISTNAME}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" ${WRKSRC}/${DISTNAME}
|
||||
|
||||
do-extract:
|
||||
@${MKDIR} ${WRKSRC}
|
||||
@${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/
|
||||
@${CHMOD} +x ${PREFIX}/bin/${DISTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
3
multimedia/youtube-viewer/distinfo
Normal file
3
multimedia/youtube-viewer/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (youtube-viewer) = c88804b49d72688fac3443bdfef34290
|
||||
SHA256 (youtube-viewer) = 6abcdabd8f2cfc38d6c56853bf888faab6d2a78163dbe3ade283b4460ccc9781
|
||||
SIZE (youtube-viewer) = 14809
|
5
multimedia/youtube-viewer/pkg-descr
Normal file
5
multimedia/youtube-viewer/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Youtube Viewer
|
||||
|
||||
This script plays a clip from YouTube with MPlayer, supports 720p and 1080p.
|
||||
|
||||
WWW: http://trizen.go.ro/
|
Loading…
Reference in New Issue
Block a user