pkgsrc/net/get_iplayer/Makefile
nia 93c7ff74f1 get_iplayer: Update to 3.22
Changes:

- Fixed schedule page parsing used for cache updates. This was broken by BBC changes and manifested as a series of “WARNING: Got 0 programmes...” messages during cache updates. Your cache will not update without this fix. If you find that some programmes are still missing from your cache, use `--cache-rebuild` to perform a full rebuild.
- get_iplayer now recognises previously-unknown programme versions (e.g., "legal") when the "default" pseudo-version is specified in the value of the `--versionlist` option.
- The `--pid-recursive-type` option is now applied when only downloading auxiliary resources (e.g., `--subtitles-only`).
- Fixed programme title extraction with `--pid-recursive` to prevent unwanted extra text being appended to title in episode listing (e.g., for Proms programmes).
2019-09-04 16:39:13 +00:00

34 lines
1,009 B
Makefile

# $NetBSD: Makefile,v 1.15 2019/09/04 16:39:13 nia Exp $
DISTNAME= get_iplayer-3.22
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"