aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/cclive/Makefile
blob: 7530582d0a868c059c6af29e1be2a64f7b7c6f0d (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
43
44
45
46
47
48
# Ports collection makefile for:    cclive
# Date created:     1 February 2009
# Whom:         Toni Gundogdu <legatvs@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   cclive
PORTVERSION=    0.4.4
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=    PERL "With Perl interpreter" off \
        SIGWINCH "With resizable progressbar" on

MAN1=       cclive.1

PLIST_FILES=    bin/cclive

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GCC=    4.2+
MAKE_JOBS_SAFE= yes
USE_GNOME=  pkgconfig

.include <bsd.port.pre.mk>

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

.if defined(WITH_SIGWINCH)
CONFIGURE_ARGS+=--enable-sigwinch
.else
CONFIGURE_ARGS+=--disable-sigwinch
.endif

.include <bsd.port.post.mk>