b686dd9180
pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.55 2020/01/18 23:33:13 rillig Exp $
|
|
|
|
DISTNAME= clive-2.3.3
|
|
PKGREVISION= 8
|
|
CATEGORIES= net multimedia www
|
|
MASTER_SITES= http://clive.googlecode.com/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://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+= {perl>=5.10.1,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"
|