blob: e11c685a8f595824f00d1399e75679f4a4913473 (
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
|
# $NetBSD: Makefile,v 1.14 2019/07/19 08:32:42 nia Exp $
DISTNAME= get_iplayer-3.21
CATEGORIES= net multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=get-iplayer/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= shattered@NetBSD.org
HOMEPAGE= https://github.com/get-iplayer/${GITHUB_PROJECT}
COMMENT= Search, index, record or stream BBC iPlayer broadcasts
LICENSE= gnu-gpl-v3
DEPENDS+= p5-XML-LibXML-[0-9]*:../../textproc/p5-XML-LibXML
DEPENDS+= p5-libwww>=6.0:../../www/p5-libwww
DEPENDS+= p5-Mojolicious>=6.0:../../www/p5-Mojolicious
USE_LANGUAGES= # none
NO_BUILD= yes
REPLACE_PERL= get_iplayer
PKG_SYSCONFSUBDIR= get_iplayer
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= get_iplayer
SUBST_SED.paths= -e "s:/etc/get_iplayer:${PKG_SYSCONFDIR}:g"
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${DESTDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../mk/bsd.pkg.mk"
|