aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/clive1/Makefile
blob: 2828fba45e3598eea3ffc93d56e6b175276616e1 (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
49
50
51
52
# New ports collection makefile for:    clive
# Date created:     2007-02-11
# Whom:         Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   clive
PORTVERSION=    0.2.0
#PORTREVISION=  0
#PORTEPOCH= 0
CATEGORIES= multimedia
MASTER_SITES=   http://download.gna.org/${PORTNAME}/${PORTVERSION:R}/src/ \
        http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Video extraction utility for YouTube and Google Video

# deskutils/ljclive (same executable/manpage/distfile name)
CONFLICTS=  clive-[0-9]*

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

MAN1=   ${PORTNAME}.1
MANCOMPRESSED=  yes

OPTIONS=    FFMPEG  "Install ffmpeg for re-encoding" off \
        MPLAYER "Install mplayer as video player" off \
        VLC "Install vlc as video player" off
OPTIONSFILE=    ${PORT_DBDIR}/py-${PORTNAME}/options

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.pre.mk>

.if defined(WITH_FFMPEG)
RUN_DEPENDS+=   ffmpeg:${PORTSDIR}/multimedia/ffmpeg
.endif

.if defined(WITH_MPLAYER)
RUN_DEPENDS+=   mplayer:${PORTSDIR}/multimedia/mplayer
.endif

.if defined(WITH_VLC)
RUN_DEPENDS+=   vlc:${PORTSDIR}/multimedia/vlc
.endif

.include <bsd.port.post.mk>