diff options
author | dhn <dhn@FreeBSD.org> | 2010-08-19 00:56:10 +0800 |
---|---|---|
committer | dhn <dhn@FreeBSD.org> | 2010-08-19 00:56:10 +0800 |
commit | ee97fe96dfea095c496c489f3fc00eb7dea58d65 (patch) | |
tree | f25cb1cdc77efe201bd2e3200963009cb34aa91b | |
parent | 74f97d9ab3460bd2be48fa282905b66f875e268a (diff) | |
download | freebsd-ports-gnome-ee97fe96dfea095c496c489f3fc00eb7dea58d65.tar.gz freebsd-ports-gnome-ee97fe96dfea095c496c489f3fc00eb7dea58d65.tar.zst freebsd-ports-gnome-ee97fe96dfea095c496c489f3fc00eb7dea58d65.zip |
Youtube Viewer
This script plays a clip from YouTube with MPlayer, supports 720p and 1080p.
WWW: http://trizen.go.ro/
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/youtube-viewer/Makefile | 40 | ||||
-rw-r--r-- | multimedia/youtube-viewer/distinfo | 3 | ||||
-rw-r--r-- | multimedia/youtube-viewer/pkg-descr | 5 |
4 files changed, 49 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index e2e631af9f79..617a2ba65ccc 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -348,5 +348,6 @@ SUBDIR += xvid4conf SUBDIR += y4mscaler SUBDIR += yamdi + SUBDIR += youtube-viewer .include <bsd.port.subdir.mk> diff --git a/multimedia/youtube-viewer/Makefile b/multimedia/youtube-viewer/Makefile new file mode 100644 index 000000000000..c0f1051010a5 --- /dev/null +++ b/multimedia/youtube-viewer/Makefile @@ -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> diff --git a/multimedia/youtube-viewer/distinfo b/multimedia/youtube-viewer/distinfo new file mode 100644 index 000000000000..07bba87e6e4f --- /dev/null +++ b/multimedia/youtube-viewer/distinfo @@ -0,0 +1,3 @@ +MD5 (youtube-viewer) = c88804b49d72688fac3443bdfef34290 +SHA256 (youtube-viewer) = 6abcdabd8f2cfc38d6c56853bf888faab6d2a78163dbe3ade283b4460ccc9781 +SIZE (youtube-viewer) = 14809 diff --git a/multimedia/youtube-viewer/pkg-descr b/multimedia/youtube-viewer/pkg-descr new file mode 100644 index 000000000000..d765532fa1c1 --- /dev/null +++ b/multimedia/youtube-viewer/pkg-descr @@ -0,0 +1,5 @@ +Youtube Viewer + +This script plays a clip from YouTube with MPlayer, supports 720p and 1080p. + +WWW: http://trizen.go.ro/ |