summaryrefslogtreecommitdiff
path: root/net/clive/Makefile
blob: 9c5323cd22c6bd2e7df22d620f42db0aee6a9dba (plain)
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
# $NetBSD: Makefile,v 1.14 2008/10/16 21:45:39 wiz Exp $
#

DISTNAME=	clive-1.0.2
CATEGORIES=	net multimedia www
MASTER_SITES=	http://download.gna.org/clive/1.0.x/ \
		${MASTER_SITE_SOURCEFORGE:=clive/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	wiz@NetBSD.org
HOMEPAGE=	http://clive.sourceforge.net/
COMMENT=	Command line video extraction tool for user-uploaded video hosts

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=	${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2
DEPENDS+=	${PYPKGPREFIX}-newt>=0.51:../../devel/py-newt
DEPENDS+=	${PYPKGPREFIX}-m2crypto-[0-9]*:../../security/py-m2crypto
DEPENDS+=	${PYPKGPREFIX}-feedparser>=4.1:../../textproc/py-feedparser
DEPENDS+=	urlgrabber>=3.1.0:../../www/urlgrabber

GNU_CONFIGURE=	yes
USE_LANGUAGES=	c # configure script
PY_PATCHPLIST=			yes

REPLACE_INTERPRETER+=	env_python
REPLACE.env_python.old=	/usr/bin/env python
REPLACE.env_python.new= ${PYTHONBIN}
REPLACE_FILES.env_python=	src/scripts/clive

.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"