2011-01-09 12:31:58 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.53 2011/01/09 17:31:58 sthen Exp $
|
2009-04-17 17:27:09 -04:00
|
|
|
|
2010-05-27 19:33:45 -04:00
|
|
|
COMMENT = download/stream programmes from BBC iPlayer
|
2009-04-17 17:27:09 -04:00
|
|
|
|
2011-01-09 12:31:58 -05:00
|
|
|
DISTNAME = get_iplayer-2.79
|
2009-04-17 17:27:09 -04:00
|
|
|
CATEGORIES = multimedia
|
|
|
|
|
2010-05-27 19:33:45 -04:00
|
|
|
# http://git.infradead.org/get_iplayer.git
|
|
|
|
HOMEPAGE = http://www.infradead.org/get_iplayer/
|
2009-04-17 17:27:09 -04:00
|
|
|
|
|
|
|
# GPLv3+
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2009-09-21 18:30:58 -04:00
|
|
|
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
|
|
|
|
2010-05-26 16:13:06 -04:00
|
|
|
MASTER_SITES = ftp://ftp.infradead.org/pub/get_iplayer/
|
2009-04-17 17:27:09 -04:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
RUN_DEPENDS = audio/id3lib \
|
|
|
|
multimedia/atomicparsley \
|
|
|
|
net/rtmpdump>=2.1 \
|
|
|
|
textproc/p5-XML-Simple \
|
|
|
|
www/p5-HTML-Parser \
|
|
|
|
www/p5-libwww>=5.826
|
2009-04-17 17:27:09 -04:00
|
|
|
|
2010-05-28 11:46:02 -04:00
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
|
2010-10-18 21:07:41 -04:00
|
|
|
USE_GROFF = Yes
|
2009-04-17 17:27:09 -04:00
|
|
|
NO_REGRESS = Yes
|
2009-08-30 08:58:14 -04:00
|
|
|
PKG_ARCH = *
|
2009-04-17 17:27:09 -04:00
|
|
|
|
2009-05-13 05:31:44 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/get_iplayer
|
2009-06-15 05:01:22 -04:00
|
|
|
${SUBST_CMD} -c ${FILESDIR}/options.sample ${WRKSRC}/options.sample
|
2009-05-13 05:31:44 -04:00
|
|
|
|
2010-05-27 19:33:45 -04:00
|
|
|
do-build:
|
2010-08-25 21:44:26 -04:00
|
|
|
-cd ${WRKSRC}; env -i HOME=${WRKSRC} ./get_iplayer --manpage get_iplayer.1
|
2010-05-27 19:33:45 -04:00
|
|
|
|
2009-04-17 17:27:09 -04:00
|
|
|
do-install:
|
2009-05-13 05:31:44 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/get_iplayer/plugins
|
2009-06-15 05:01:22 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/options.sample ${PREFIX}/share/get_iplayer
|
2009-04-17 17:27:09 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${PREFIX}/bin
|
2009-05-13 05:31:44 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/plugins/* \
|
|
|
|
${PREFIX}/share/get_iplayer/plugins
|
2010-05-27 19:33:45 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${PREFIX}/man/man1
|
2009-04-17 17:27:09 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|