Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= gtk-youtube-viewer |
4 |
PORTNAME= gtk-youtube-viewer |
5 |
PORTVERSION= 3.0.7 |
5 |
PORTVERSION= 3.0.7 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= multimedia perl5 |
7 |
CATEGORIES= multimedia perl5 |
8 |
|
8 |
|
9 |
MAINTAINER= nemysis@gmx.ch |
9 |
MAINTAINER= nemysis@gmx.ch |
Lines 46-55
Link Here
|
46 |
|
46 |
|
47 |
PORTDOCS= Changes README |
47 |
PORTDOCS= Changes README |
48 |
|
48 |
|
|
|
49 |
SUB_FILES= pkg-message \ |
50 |
yv_5.16_to_5.10.pl |
51 |
|
49 |
OPTIONS_DEFINE= GCAP |
52 |
OPTIONS_DEFINE= GCAP |
50 |
|
53 |
|
51 |
OPTIONS_MULTI= USER_INTERFACE |
54 |
OPTIONS_MULTI= UI |
52 |
OPTIONS_MULTI_USER_INTERFACE= CLI GTK2 |
55 |
OPTIONS_MULTI_UI= CLI GTK2 |
53 |
|
56 |
|
54 |
OPTIONS_DEFAULT= GTK2 GCAP |
57 |
OPTIONS_DEFAULT= GTK2 GCAP |
55 |
|
58 |
|
Lines 78-94
Link Here
|
78 |
RUN_DEPENDS+= ${LOCALBASE}/bin/gcap:${PORTSDIR}/multimedia/gcap |
81 |
RUN_DEPENDS+= ${LOCALBASE}/bin/gcap:${PORTSDIR}/multimedia/gcap |
79 |
.endif |
82 |
.endif |
80 |
|
83 |
|
81 |
post-extract: |
|
|
82 |
.if ! exists(${LOCALBASE}/bin/per5.16.2) |
83 |
@${ECHO_CMD} |
84 |
@${ECHO_MSG} "GTK Youtube Viewer 3.07 requires lang/perl5.16 to use CLI version" |
85 |
@${ECHO_MSG} |
86 |
@${ECHO_MSG} "Please read /usr/ports/UPDATING" |
87 |
@${ECHO_MSG} |
88 |
@${ECHO_MSG} "Hit ^c now if you don't wish to do this." |
89 |
@${ECHO_MSG} |
90 |
.endif |
91 |
|
92 |
post-patch: |
84 |
post-patch: |
93 |
@${REINPLACE_CMD} -n '1,/create_build_script()/p' \ |
85 |
@${REINPLACE_CMD} -n '1,/create_build_script()/p' \ |
94 |
${WRKSRC}/Build.PL |
86 |
${WRKSRC}/Build.PL |
Lines 120-125
Link Here
|
120 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
112 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
121 |
.endif |
113 |
.endif |
122 |
|
114 |
|
|
|
115 |
.if ${PORT_OPTIONS:MCLI} |
116 |
@(cd ${WRKDIR} && ${PERL} ./yv_5.16_to_5.10.pl ${WRKSRC}/bin/youtube-viewer > youtube-viewer-perl-v5.10+) |
117 |
${INSTALL_SCRIPT} ${WRKDIR}/youtube-viewer-perl-v5.10+ ${PREFIX}/bin |
118 |
@${ECHO_CMD} |
119 |
@${CAT} ${PKGMESSAGE} |
120 |
@${ECHO_CMD} |
121 |
.endif |
122 |
|
123 |
regression-test: build |
123 |
regression-test: build |
124 |
cd ${WRKSRC} && ${PERL} ./Build test |
124 |
cd ${WRKSRC} && ${PERL} ./Build test |
125 |
|
125 |
|