aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/cclive/Makefile
blob: 9c436e2c3391806d9a9c4be66caf7ded110a58b4 (plain) (blame)
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
38
39
40
41
42
# Ports collection makefile for:    cclive
# Date created:     1 February 2009
# Whom:         Toni Gundogdu <legatvs@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   cclive
PORTVERSION=    0.3.0
CATEGORIES= multimedia net
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= legatvs@gmail.com
COMMENT=    Lightweight command line video extraction utility

LIB_DEPENDS=    curl.5:${PORTSDIR}/ftp/curl

OPTIONS=    TITLE    "Enable video title parsing (req. Perl)" off \
        SIGWINCH "Enable SIGWINCH handling; resize progressbar" on

MAN1=       cclive.1

PLIST_FILES=    bin/cclive

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
MAKE_JOBS_SAFE= yes
USE_GNOME=  pkgconfig

.include <bsd.port.pre.mk>

.if defined(WITH_TITLE)
CONFIGURE_ARGS+=--with-perl
USE_PERL5=  5.8.2+
RUN_DEPENDS+=   p5-HTML-Parser>=3.59:${PORTSDIR}/www/p5-HTML-Parser
.endif

.if defined(WITH_SIGWINCH)
CONFIGURE_ARGS+=    --with-sigwinch
.endif

.include <bsd.port.post.mk>