blob: a18acc55fd676dc3ff00d63432c5406424f843c1 (
plain)
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
|
# New ports collection makefile for: youtube-viewer
# Date created: 2010-08-17
# Whom: Dennis Herrmann <dhn@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= youtube
PORTVERSION= 2.5.5
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE:S|youtube|trizen|g} \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= dhn
PKGNAMESUFFIX= -viewer
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
MAINTAINER= dhn@FreeBSD.org
COMMENT= Search and play YouTube videos streaming in MPlayer
RUN_DEPENDS= p5-XML-Fast>=0:${PORTSDIR}/net/p5-XML-Fast \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
p5-Term-ANSIColor>=0:${PORTSDIR}/devel/p5-Term-ANSIColor \
mplayer:${PORTSDIR}/multimedia/mplayer
USE_PERL5_RUN= yes
NO_BUILD= yes
PLIST_FILES= bin/youtube-viewer
post-patch:
@${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|g" ${WRKDIR}/youtube-viewer
do-install:
@${CHMOD} +x ${WRKDIR}/youtube-viewer
@${INSTALL_SCRIPT} ${WRKDIR}/youtube-viewer ${PREFIX}/bin/
.include <bsd.port.mk>
|