| @@ -1,40 +1,41 @@ | | | @@ -1,40 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.41 2011/10/22 18:07:19 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.42 2011/11/12 17:24:42 wiz Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= clive-2.3.1.1 | | 4 | DISTNAME= clive-2.3.1.1 |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 3 |
6 | CATEGORIES= net multimedia www | | 6 | CATEGORIES= net multimedia www |
7 | MASTER_SITES= http://clive.googlecode.com/files/ | | 7 | MASTER_SITES= http://clive.googlecode.com/files/ |
8 | | | 8 | |
9 | MAINTAINER= wiz@NetBSD.org | | 9 | MAINTAINER= wiz@NetBSD.org |
10 | HOMEPAGE= http://clive.sourceforge.net/ | | 10 | HOMEPAGE= http://clive.sourceforge.net/ |
11 | COMMENT= Command line video extraction tool for user-uploaded video hosts | | 11 | COMMENT= Command line video extraction tool for user-uploaded video hosts |
12 | LICENSE= gnu-gpl-v3 | | 12 | LICENSE= gnu-gpl-v3 |
13 | | | 13 | |
14 | DEPENDS+= quvi>=0.2.17:../../net/quvi | | 14 | DEPENDS+= quvi>=0.4.0:../../net/quvi |
| | | 15 | DEPENDS+= libquvi-scripts>=0.4.0:../../net/libquvi-scripts |
15 | DEPENDS+= curl-[0-9]*:../../www/curl | | 16 | DEPENDS+= curl-[0-9]*:../../www/curl |
16 | DEPENDS+= p5-JSON-XS>=2.3:../../converters/p5-JSON-XS | | 17 | DEPENDS+= p5-JSON-XS>=2.3:../../converters/p5-JSON-XS |
17 | DEPENDS+= p5-Getopt-ArgvFile>=1.11:../../devel/p5-Getopt-ArgvFile | | 18 | DEPENDS+= p5-Getopt-ArgvFile>=1.11:../../devel/p5-Getopt-ArgvFile |
18 | DEPENDS+= p5-version>=0.77:../../devel/p5-version | | 19 | DEPENDS+= p5-version>=0.77:../../devel/p5-version |
19 | | | 20 | |
20 | PKG_DESTDIR_SUPPORT= user-destdir | | 21 | PKG_DESTDIR_SUPPORT= user-destdir |
21 | | | 22 | |
22 | PERL5_PACKLIST= auto/clive/.packlist | | 23 | PERL5_PACKLIST= auto/clive/.packlist |
23 | INSTALLATION_DIRS= share/examples/clive | | 24 | INSTALLATION_DIRS= share/examples/clive |
24 | | | 25 | |
25 | CONF_FILES= ${PREFIX}/share/examples/clive/cliverc ${PKG_SYSCONFDIR}/cliverc | | 26 | CONF_FILES= ${PREFIX}/share/examples/clive/cliverc ${PKG_SYSCONFDIR}/cliverc |
26 | | | 27 | |
27 | SUBST_CLASSES+= config | | 28 | SUBST_CLASSES+= config |
28 | SUBST_SED.config+= -e "s,/usr/local/share/clive/cliverc,${PKG_SYSCONFDIR}/cliverc," | | 29 | SUBST_SED.config+= -e "s,/usr/local/share/clive/cliverc,${PKG_SYSCONFDIR}/cliverc," |
29 | SUBST_FILES.config+= bin/clive | | 30 | SUBST_FILES.config+= bin/clive |
30 | SUBST_STAGE.config= pre-build | | 31 | SUBST_STAGE.config= pre-build |
31 | SUBST_MESSAGE.config= Fixing path to global config file. | | 32 | SUBST_MESSAGE.config= Fixing path to global config file. |
32 | | | 33 | |
33 | post-build: | | 34 | post-build: |
34 | sed "s,/usr/,${PREFIX}/," ${WRKSRC}/examples/cliverc > ${WRKSRC}/cliverc | | 35 | sed "s,/usr/,${PREFIX}/," ${WRKSRC}/examples/cliverc > ${WRKSRC}/cliverc |
35 | | | 36 | |
36 | post-install: | | 37 | post-install: |
37 | ${INSTALL_DATA} ${WRKSRC}/cliverc ${DESTDIR}${PREFIX}/share/examples/clive | | 38 | ${INSTALL_DATA} ${WRKSRC}/cliverc ${DESTDIR}${PREFIX}/share/examples/clive |
38 | | | 39 | |
39 | .include "../../lang/perl5/module.mk" | | 40 | .include "../../lang/perl5/module.mk" |
40 | .include "../../mk/bsd.pkg.mk" | | 41 | .include "../../mk/bsd.pkg.mk" |