openbsd-ports/multimedia/get_iplayer/Makefile
sthen 72aaa0ea7d add a few patches from get_iplayer git repo
- hh:mm:ss format for --start/stop
- add --no-artwork option
- fix live streaming broken by live rewind
2012-08-08 23:17:28 +00:00

51 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.61 2012/08/08 23:17:28 sthen Exp $
COMMENT = download/stream programmes from BBC iPlayer
DISTNAME = get_iplayer-2.82
REVISION = 0
CATEGORIES = multimedia
# http://git.infradead.org/get_iplayer.git
HOMEPAGE = http://www.infradead.org/get_iplayer/
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
MASTER_SITES = ftp://ftp.infradead.org/pub/get_iplayer/
RUN_DEPENDS = audio/id3lib \
audio/p5-MP3-Tag \
multimedia/atomicparsley \
net/rtmpdump>=2.4 \
textproc/p5-XML-Simple \
www/p5-HTML-Parser \
www/p5-libwww>=5.826
BUILD_DEPENDS = ${RUN_DEPENDS}
NO_REGRESS = Yes
PKG_ARCH = *
pre-configure:
${SUBST_CMD} ${WRKSRC}/get_iplayer
${SUBST_CMD} -c ${FILESDIR}/options.sample ${WRKSRC}/options.sample
do-build:
-cd ${WRKSRC}; env -i HOME=${WRKSRC} ./get_iplayer --manpage get_iplayer.1
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/get_iplayer/plugins
${INSTALL_DATA} ${WRKSRC}/options.sample ${PREFIX}/share/get_iplayer
${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/plugins/* \
${PREFIX}/share/get_iplayer/plugins
${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${PREFIX}/man/man1
.include <bsd.port.mk>