blob: 454107a51d2b126bbbcd8f9a207449c77a7163cd (
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
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.46 2013/05/31 12:41:32 wiz Exp $
#
DISTNAME= clive-2.3.3
PKGREVISION= 2
CATEGORIES= net multimedia www
MASTER_SITES= http://clive.googlecode.com/files/
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://clive.sourceforge.net/
COMMENT= Command line video extraction tool for user-uploaded video hosts
LICENSE= gnu-gpl-v3
DEPENDS+= quvi>=0.4.0:../../net/quvi
DEPENDS+= libquvi-scripts>=0.4.0:../../net/libquvi-scripts
DEPENDS+= curl-[0-9]*:../../www/curl
DEPENDS+= p5-JSON-XS>=2.3:../../converters/p5-JSON-XS
DEPENDS+= p5-Getopt-ArgvFile>=1.11:../../devel/p5-Getopt-ArgvFile
DEPENDS+= p5-version>=0.77:../../devel/p5-version
PERL5_PACKLIST= auto/clive/.packlist
INSTALLATION_DIRS= share/examples/clive
CONF_FILES= ${PREFIX}/share/examples/clive/cliverc ${PKG_SYSCONFDIR}/cliverc
SUBST_CLASSES+= config
SUBST_SED.config+= -e "s,/usr/local/share/clive/cliverc,${PKG_SYSCONFDIR}/cliverc,"
SUBST_FILES.config+= bin/clive
SUBST_STAGE.config= pre-build
SUBST_MESSAGE.config= Fixing path to global config file.
post-build:
sed "s,/usr/,${PREFIX}/," ${WRKSRC}/examples/cliverc > ${WRKSRC}/cliverc
post-install:
${INSTALL_DATA} ${WRKSRC}/cliverc ${DESTDIR}${PREFIX}/share/examples/clive
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
|