44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.131 2020/07/11 22:54:36 sthen Exp $
|
|
|
|
COMMENT= download/stream programmes from BBC iPlayer
|
|
|
|
GH_ACCOUNT= get-iplayer
|
|
GH_PROJECT= get_iplayer
|
|
GH_TAGNAME= v3.26
|
|
REVISION= 0
|
|
|
|
CATEGORIES= multimedia
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
|
|
|
|
COMMON_DEPENDS= textproc/p5-XML-LibXML \
|
|
www/p5-HTML-Parser>=3.71 \
|
|
www/p5-LWP-Protocol-https \
|
|
www/p5-Mojo \
|
|
www/p5-libwww>=6.0
|
|
BUILD_DEPENDS= ${COMMON_DEPENDS}
|
|
RUN_DEPENDS= graphics/ffmpeg \
|
|
multimedia/atomicparsley \
|
|
${COMMON_DEPENDS}
|
|
|
|
NO_TEST= Yes
|
|
PKG_ARCH= *
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/get_iplayer
|
|
|
|
do-build:
|
|
@cd ${WRKSRC}; env -i HOME=${WRKSRC} ./get_iplayer --manpage get_iplayer.1
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/get_iplayer/plugins
|
|
${SUBST_DATA} -m 644 \
|
|
${FILESDIR}/options.sample ${PREFIX}/share/get_iplayer/options.sample
|
|
${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|