View | Details | Raw Unified | Return to bug 128362
Collapse All | Expand All

(-)clive/Makefile (-23 / +20 lines)
Lines 6-14 Link Here
6
#
6
#
7
7
8
PORTNAME=	clive
8
PORTNAME=	clive
9
PORTVERSION=	1.0.0
9
PORTVERSION=	1.0.2
10
#PORTREVISION=	0
11
#PORTEPOCH=	0
12
CATEGORIES=	multimedia
10
CATEGORIES=	multimedia
13
MASTER_SITES=	http://download.gna.org/clive/1.0.x/ \
11
MASTER_SITES=	http://download.gna.org/clive/1.0.x/ \
14
		SF
12
		SF
Lines 16-24 Link Here
16
DIST_SUBDIR=	${PORTNAME}
14
DIST_SUBDIR=	${PORTNAME}
17
15
18
MAINTAINER=	nivit@FreeBSD.org
16
MAINTAINER=	nivit@FreeBSD.org
19
COMMENT=	Video extraction utility for YouTube and Google Video
17
COMMENT=	Video extraction utility for YouTube, GoogleVideo, and others
20
18
21
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:${PORTSDIR}/www/py-urlgrabber
19
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/urlgrabber/grabber.py:${PORTSDIR}/www/py-urlgrabber
22
20
23
# deskutils/ljclive (same executable/manpage/distfile name)
21
# deskutils/ljclive (same executable/manpage/distfile name)
24
CONFLICTS=	clive-[0-9]*
22
CONFLICTS=	clive-[0-9]*
Lines 34-76 Link Here
34
CONFIGURE_ARGS=	--with-doc=no
32
CONFIGURE_ARGS=	--with-doc=no
35
.endif
33
.endif
36
34
37
OPTIONS=	FFMPEG	"Install ffmpeg for re-encoding" off \
35
OPTIONS=	FEEDPARSER	"Enable feed parsing" off \
38
		MPLAYER	"Install mplayer as video player" off \
36
		FFMPEG		"Install ffmpeg for re-encoding" off \
39
		NEWT	"Install devel/newt (support for a simple GUI)" off \
37
		NEWT		"Install devel/newt (support for a simple GUI)" off \
40
		PYCRYPTO	"Install pycrypto to encrypt login password" off \
38
		PYCRYPTO	"Install pycrypto to encrypt login password" off \
41
		SQLITE3 "Install sqlite3 for caching visited URLs" off \
39
		SQLITE3 	"Install sqlite3 for caching visited URLs" off \
42
		VLC	"Install vlc as video player" off \
40
		XCLIP		"Install xclip (read URLs from clipboard)" off
43
		XCLIP	"Install xclip (read URLs from clipboard)" off
44
OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
41
OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
45
42
46
.include <bsd.port.pre.mk>
43
.include <bsd.port.pre.mk>
47
44
48
.if defined(WITH_FFMPEG)
45
.if defined(WITH_FEEDPARSER)
49
RUN_DEPENDS+=	ffmpeg:${PORTSDIR}/multimedia/ffmpeg
46
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/feedparser.py:${PORTSDIR}/textproc/py-feedparser
50
.endif
47
.endif
51
48
52
.if defined(WITH_MPLAYER)
49
.if defined(WITH_FFMPEG)
53
RUN_DEPENDS+=	mplayer:${PORTSDIR}/multimedia/mplayer
50
RUN_DEPENDS+=	${LOCALBASE}/bin/ffmpeg:${PORTSDIR}/multimedia/ffmpeg
54
.endif
51
.endif
55
52
56
.if defined(WITH_NEWT)
53
.if defined(WITH_NEWT)
57
RUN_DEPENDS+=	newt${PYTHON_PKGNAMESUFFIX}>=0.51.0_4:${PORTSDIR}/devel/newt
54
RUN_DEPENDS+=	${LOCALBASE}/lib/libnewt.a:${PORTSDIR}/devel/newt
58
.endif
55
.endif
59
56
60
.if defined(WITH_PYCRYPTO)
57
.if defined(WITH_PYCRYPTO)
61
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pycrypto>=2.0.1_1:${PORTSDIR}/security/py-pycrypto
58
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/Crypto/Cipher/AES.so:${PORTSDIR}/security/py-pycrypto
62
.endif
59
.endif
63
60
64
.if defined(WITH_SQLITE3)
61
.if defined(WITH_SQLITE3)
65
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sqlite3>=2.5.2_1:${PORTSDIR}/databases/py-sqlite3
62
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
66
.endif
67
68
.if defined(WITH_VLC)
69
RUN_DEPENDS+=	vlc:${PORTSDIR}/multimedia/vlc
70
.endif
63
.endif
71
64
72
.if defined(WITH_XCLIP)
65
.if defined(WITH_XCLIP)
73
RUN_DEPENDS+=	xclip:${PORTSDIR}/x11/xclip
66
RUN_DEPENDS+=	${LOCALBASE}/bin/xclip:${PORTSDIR}/x11/xclip
74
.endif
67
.endif
75
68
69
post-patch:
70
	${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|g' \
71
	${WRKSRC}/src/scripts/clive ${WRKSRC}/src/scripts/clive-passwd
72
76
.include <bsd.port.post.mk>
73
.include <bsd.port.post.mk>
(-)clive/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (clive/clive-1.0.0.tar.bz2) = 7658c00f514f9d3e22de0a246e0879f9
1
MD5 (clive/clive-1.0.2.tar.bz2) = ff617c65ba447bf2f3ef050d02a93dd3
2
SHA256 (clive/clive-1.0.0.tar.bz2) = 6e27955ebea26a0fbce5564c583e3d429ae0df2e794c1ee30f502bc7361c23c6
2
SHA256 (clive/clive-1.0.2.tar.bz2) = 9dedf4d509c83c21988af6ba1fa5b2b889d3c8f0920036dfc91a7b8f0b2ca699
3
SIZE (clive/clive-1.0.0.tar.bz2) = 104575
3
SIZE (clive/clive-1.0.2.tar.bz2) = 106102
(-)clive/pkg-descr (-1 / +1 lines)
Lines 19-22 Link Here
19
    - Supports UNIX pipes
19
    - Supports UNIX pipes
20
    - URL batch support
20
    - URL batch support
21
21
22
WWW:	http://home.gna.org/clive/
22
WWW:	http://clive.sourceforge.net/
(-)clive/pkg-plist (+3 lines)
Lines 51-56 Link Here
51
%%PYTHON_SITELIBDIR%%/clive/scan.py
51
%%PYTHON_SITELIBDIR%%/clive/scan.py
52
%%PYTHON_SITELIBDIR%%/clive/scan.pyc
52
%%PYTHON_SITELIBDIR%%/clive/scan.pyc
53
%%PYTHON_SITELIBDIR%%/clive/scan.pyo
53
%%PYTHON_SITELIBDIR%%/clive/scan.pyo
54
%%PYTHON_SITELIBDIR%%/clive/singleton.py
55
%%PYTHON_SITELIBDIR%%/clive/singleton.pyc
56
%%PYTHON_SITELIBDIR%%/clive/singleton.pyo
54
%%PYTHON_SITELIBDIR%%/clive/unicode.py
57
%%PYTHON_SITELIBDIR%%/clive/unicode.py
55
%%PYTHON_SITELIBDIR%%/clive/unicode.pyc
58
%%PYTHON_SITELIBDIR%%/clive/unicode.pyc
56
%%PYTHON_SITELIBDIR%%/clive/unicode.pyo
59
%%PYTHON_SITELIBDIR%%/clive/unicode.pyo

Return to bug 128362