blob: ca90b367fa17e51629ffbef373d8c27c3a07b373 (
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
40
41
42
|
# $NetBSD: Makefile,v 1.6 2015/06/03 22:52:24 prlw1 Exp $
DISTNAME= get_iplayer-2.94
CATEGORIES= net multimedia
MASTER_SITES= ftp://ftp.infradead.org/pub/get_iplayer/
MAINTAINER= shattered@NetBSD.org
HOMEPAGE= http://www.infradead.org/get_iplayer/html/get_iplayer.html
COMMENT= Search, index, record or stream BBC iPlayer broadcasts
LICENSE= gnu-gpl-v3
DEPENDS+= p5-HTML-Parser>=3.0:../../www/p5-HTML-Parser
DEPENDS+= p5-HTTP-Cookies>=6.0:../../www/p5-HTTP-Cookies
DEPENDS+= p5-HTTP-Date>=6.0:../../www/p5-HTTP-Date
DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple
DEPENDS+= p5-libwww>=6.0:../../www/p5-libwww
DEPENDS+= rtmpdump>=1.8:../../net/rtmpdump
DEPENDS+= flvstreamer>=1.8:../../multimedia/flvstreamer
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
USE_LANGUAGES= # none
NO_BUILD= yes
REPLACE_PERL= get_iplayer
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_MESSAGE.prefix= Fixup config and plugin paths
SUBST_FILES.prefix= get_iplayer
SUBST_SED.prefix= -e s:@PREFIX@:${PREFIX}:
PKG_SYSCONFSUBDIR= get_iplayer
EGDIR= ${PREFIX}/share/examples/get_iplayer
CONF_FILES= ${EGDIR}/options ${PKG_SYSCONFDIR}/options
INSTALLATION_DIRS+= ${EGDIR}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${DESTDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_DATA} ${FILESDIR}/options.default ${DESTDIR}${EGDIR}/options
.include "../../mk/bsd.pkg.mk"
|