Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / clive / Makefile
blob4f9674f396ae1b281ae73d9ec56c1d3b6201f0be
1 # $NetBSD: Makefile,v 1.44 2012/10/03 21:56:52 wiz Exp $
4 DISTNAME= clive-2.3.3
5 PKGREVISION= 1
6 CATEGORIES= net multimedia www
7 MASTER_SITES= http://clive.googlecode.com/files/
9 MAINTAINER= wiz@NetBSD.org
10 HOMEPAGE= http://clive.sourceforge.net/
11 COMMENT= Command line video extraction tool for user-uploaded video hosts
12 LICENSE= gnu-gpl-v3
14 DEPENDS+= quvi>=0.4.0:../../net/quvi
15 DEPENDS+= libquvi-scripts>=0.4.0:../../net/libquvi-scripts
16 DEPENDS+= curl-[0-9]*:../../www/curl
17 DEPENDS+= p5-JSON-XS>=2.3:../../converters/p5-JSON-XS
18 DEPENDS+= p5-Getopt-ArgvFile>=1.11:../../devel/p5-Getopt-ArgvFile
19 DEPENDS+= p5-version>=0.77:../../devel/p5-version
21 PERL5_PACKLIST= auto/clive/.packlist
22 INSTALLATION_DIRS= share/examples/clive
24 CONF_FILES= ${PREFIX}/share/examples/clive/cliverc ${PKG_SYSCONFDIR}/cliverc
26 SUBST_CLASSES+= config
27 SUBST_SED.config+= -e "s,/usr/local/share/clive/cliverc,${PKG_SYSCONFDIR}/cliverc,"
28 SUBST_FILES.config+= bin/clive
29 SUBST_STAGE.config= pre-build
30 SUBST_MESSAGE.config= Fixing path to global config file.
32 post-build:
33 sed "s,/usr/,${PREFIX}/," ${WRKSRC}/examples/cliverc > ${WRKSRC}/cliverc
35 post-install:
36 ${INSTALL_DATA} ${WRKSRC}/cliverc ${DESTDIR}${PREFIX}/share/examples/clive
38 .include "../../lang/perl5/module.mk"
39 .include "../../mk/bsd.pkg.mk"