Lines 2-10
Link Here
|
2 |
# $FreeBSD: head/multimedia/gtk-youtube-viewer/Makefile 385637 2015-05-07 16:32:43Z mat $ |
2 |
# $FreeBSD: head/multimedia/gtk-youtube-viewer/Makefile 385637 2015-05-07 16:32:43Z mat $ |
3 |
|
3 |
|
4 |
PORTNAME= gtk-youtube-viewer |
4 |
PORTNAME= gtk-youtube-viewer |
5 |
PORTVERSION= 3.1.1 |
5 |
PORTVERSION= 3.1.5 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= multimedia perl5 |
6 |
CATEGORIES= multimedia perl5 |
|
|
7 |
MASTER_SITES= GH \ |
8 |
CPAN/LWP:cpan |
9 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
10 |
${DISTNAME_CPAN_LWP_UA_CACHED}.tar.gz:cpan |
8 |
|
11 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= ports@FreeBSD.org |
10 |
COMMENT= GTK Search and play YouTube videos streaming in MPlayer |
13 |
COMMENT= GTK Search and play YouTube videos streaming in MPlayer |
Lines 13-36
Link Here
|
13 |
LICENSE_COMB= dual |
16 |
LICENSE_COMB= dual |
14 |
|
17 |
|
15 |
# According to Build.PL |
18 |
# According to Build.PL |
16 |
BUILD_DEPENDS= p5-MIME-Base64>0:${PORTSDIR}/converters/p5-MIME-Base64 \ |
19 |
BUILD_DEPENDS= p5-JSON>0:${PORTSDIR}/converters/p5-JSON \ |
|
|
20 |
p5-JSON-XS>0:${PORTSDIR}/converters/p5-JSON-XS \ |
21 |
p5-MIME-Base64>0:${PORTSDIR}/converters/p5-MIME-Base64 \ |
17 |
p5-Data-Dump>0:${PORTSDIR}/devel/p5-Data-Dump \ |
22 |
p5-Data-Dump>0:${PORTSDIR}/devel/p5-Data-Dump \ |
18 |
p5-File-Path>0:${PORTSDIR}/devel/p5-File-Path \ |
23 |
p5-File-Path>0:${PORTSDIR}/devel/p5-File-Path \ |
19 |
p5-File-Temp>0:${PORTSDIR}/devel/p5-File-Temp \ |
|
|
20 |
p5-Getopt-Long>0:${PORTSDIR}/devel/p5-Getopt-Long \ |
24 |
p5-Getopt-Long>0:${PORTSDIR}/devel/p5-Getopt-Long \ |
21 |
p5-PathTools>0:${PORTSDIR}/devel/p5-PathTools \ |
25 |
p5-PathTools>0:${PORTSDIR}/devel/p5-PathTools \ |
22 |
p5-ReadLine-Gnu>0:${PORTSDIR}/devel/p5-ReadLine-Gnu \ |
26 |
p5-ReadLine-Gnu>0:${PORTSDIR}/devel/p5-ReadLine-Gnu \ |
23 |
p5-Term-ANSIColor>0:${PORTSDIR}/devel/p5-Term-ANSIColor \ |
27 |
p5-Term-ANSIColor>0:${PORTSDIR}/devel/p5-Term-ANSIColor \ |
24 |
p5-Test-More-UTF8>0:${PORTSDIR}/devel/p5-Test-More-UTF8 \ |
28 |
p5-Term-ReadLine>0:${PORTSDIR}/devel/p5-Term-ReadLine \ |
25 |
p5-Thread-Queue>0:${PORTSDIR}/devel/p5-Thread-Queue \ |
29 |
p5-Thread-Queue>0:${PORTSDIR}/devel/p5-Thread-Queue \ |
26 |
p5-threads>0:${PORTSDIR}/devel/p5-threads \ |
30 |
p5-threads>0:${PORTSDIR}/devel/p5-threads \ |
27 |
p5-Scalar-List-Utils>0:${PORTSDIR}/lang/p5-Scalar-List-Utils \ |
31 |
p5-Scalar-List-Utils>0:${PORTSDIR}/lang/p5-Scalar-List-Utils \ |
28 |
p5-Socket>0:${PORTSDIR}/net/p5-Socket \ |
32 |
p5-Socket>0:${PORTSDIR}/net/p5-Socket \ |
29 |
p5-XML-Fast>0:${PORTSDIR}/net/p5-XML-Fast \ |
|
|
30 |
p5-Text-CharWidth>0:${PORTSDIR}/textproc/p5-Text-CharWidth \ |
33 |
p5-Text-CharWidth>0:${PORTSDIR}/textproc/p5-Text-CharWidth \ |
31 |
p5-Text-ParseWords>0:${PORTSDIR}/textproc/p5-Text-ParseWords \ |
34 |
p5-Text-ParseWords>0:${PORTSDIR}/textproc/p5-Text-ParseWords \ |
32 |
p5-Text-Tabs+Wrap>0:${PORTSDIR}/textproc/p5-Text-Tabs+Wrap \ |
35 |
p5-Text-Tabs+Wrap>0:${PORTSDIR}/textproc/p5-Text-Tabs+Wrap \ |
33 |
p5-LWP-Protocol-https>0:${PORTSDIR}/www/p5-LWP-Protocol-https \ |
36 |
p5-LWP-Protocol-https>0:${PORTSDIR}/www/p5-LWP-Protocol-https \ |
|
|
37 |
p5-Mozilla-CA>0:${PORTSDIR}/www/p5-Mozilla-CA \ |
34 |
p5-libwww>0:${PORTSDIR}/www/p5-libwww |
38 |
p5-libwww>0:${PORTSDIR}/www/p5-libwww |
35 |
RUN_DEPENDS:= ${BUILD_DEPENDS} \ |
39 |
RUN_DEPENDS:= ${BUILD_DEPENDS} \ |
36 |
mplayer:${PORTSDIR}/multimedia/mplayer |
40 |
mplayer:${PORTSDIR}/multimedia/mplayer |
Lines 39-66
Link Here
|
39 |
GH_ACCOUNT= trizen |
43 |
GH_ACCOUNT= trizen |
40 |
GH_PROJECT= youtube-viewer |
44 |
GH_PROJECT= youtube-viewer |
41 |
|
45 |
|
42 |
WRKSRC_SUBDIR= WWW-YoutubeViewer |
46 |
NO_ARCH= yes |
43 |
|
47 |
|
44 |
USES= perl5 shebangfix |
48 |
USES= perl5 shebangfix |
45 |
SHEBANG_FILES= bin/gtk-youtube-viewer bin/youtube-viewer |
49 |
SHEBANG_FILES= bin/gtk-youtube-viewer bin/youtube-viewer |
46 |
USE_PERL5= 5.16+ patch modbuild |
50 |
USE_PERL5= patch modbuild |
47 |
CONFIGURE_ARGS+=${DATADIR} |
51 |
CONFIGURE_ARGS+=${DATADIR} |
48 |
|
52 |
|
49 |
OPTIONS_DEFINE= GCAP GTK2 |
53 |
OPTIONS_DEFINE= GTK2 |
50 |
OPTIONS_DEFAULT= GCAP GTK2 |
54 |
OPTIONS_DEFAULT= GTK2 |
51 |
OPTIONS_SUB= yes |
55 |
OPTIONS_SUB= yes |
52 |
|
56 |
|
53 |
GCAP_DESC= YouTube closed captions support |
|
|
54 |
GCAP_RUN_DEPENDS= ${LOCALBASE}/bin/gcap:${PORTSDIR}/multimedia/gcap |
55 |
GTK2_BUILD_DEPENDS= p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \ |
57 |
GTK2_BUILD_DEPENDS= p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \ |
56 |
p5-Gtk2>0:${PORTSDIR}/x11-toolkits/p5-Gtk2 |
58 |
p5-Gtk2>0:${PORTSDIR}/x11-toolkits/p5-Gtk2 |
57 |
GTK2_RUN_DEPENDS= p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \ |
59 |
GTK2_RUN_DEPENDS= p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \ |
58 |
p5-Gtk2>0:${PORTSDIR}/x11-toolkits/p5-Gtk2 |
60 |
p5-Gtk2>0:${PORTSDIR}/x11-toolkits/p5-Gtk2 |
59 |
GTK2_CONFIGURE_ON= --gtk-youtube-viewer |
61 |
GTK2_CONFIGURE_ON= --gtk-youtube-viewer |
60 |
|
62 |
|
|
|
63 |
DISTNAME_CPAN_LWP_UA_CACHED= LWP-UserAgent-Cached-0.06 |
64 |
|
61 |
.include <bsd.port.options.mk> |
65 |
.include <bsd.port.options.mk> |
62 |
|
66 |
|
63 |
post-install: |
67 |
post-install: |
|
|
68 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/LWP/UserAgent |
69 |
(cd ${WRKDIR}/${DISTNAME_CPAN_LWP_UA_CACHED}/lib/LWP/UserAgent && \ |
70 |
${INSTALL_DATA} Cached.pm \ |
71 |
${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/LWP/UserAgent) |
64 |
.if ${PORT_OPTIONS:MGTK2} |
72 |
.if ${PORT_OPTIONS:MGTK2} |
65 |
${LN} -sf \ |
73 |
${LN} -sf \ |
66 |
${PREFIX}/${SITE_PERL_REL}/auto/share/dist/WWW-YoutubeViewer/gtk-youtube-viewer.desktop \ |
74 |
${PREFIX}/${SITE_PERL_REL}/auto/share/dist/WWW-YoutubeViewer/gtk-youtube-viewer.desktop \ |