From 6443ee515aa4a62f75e10a7c38f83a8defed3a47 Mon Sep 17 00:00:00 2001 From: sthen Date: Mon, 15 Jun 2009 09:01:22 +0000 Subject: [PATCH] install a sample configuration file demonstrating some useful options. bump PKGNAME. --- multimedia/get_iplayer/Makefile | 5 ++++- multimedia/get_iplayer/files/options.sample | 15 +++++++++++++++ multimedia/get_iplayer/pkg/PLIST | 5 ++++- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 multimedia/get_iplayer/files/options.sample diff --git a/multimedia/get_iplayer/Makefile b/multimedia/get_iplayer/Makefile index f7f784cc5c5..e2b731acce7 100644 --- a/multimedia/get_iplayer/Makefile +++ b/multimedia/get_iplayer/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.11 2009/06/14 11:47:45 sthen Exp $ +# $OpenBSD: Makefile,v 1.12 2009/06/15 09:01:22 sthen Exp $ COMMENT = download BBC iPlayer and ITV programmes DISTNAME = get_iplayer-1.99 +PKGNAME = ${DISTNAME}p0 CATEGORIES = multimedia @@ -27,9 +28,11 @@ NO_REGRESS = Yes pre-configure: ${SUBST_CMD} ${WRKSRC}/get_iplayer + ${SUBST_CMD} -c ${FILESDIR}/options.sample ${WRKSRC}/options.sample 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 diff --git a/multimedia/get_iplayer/files/options.sample b/multimedia/get_iplayer/files/options.sample new file mode 100644 index 00000000000..98d7c01fdb3 --- /dev/null +++ b/multimedia/get_iplayer/files/options.sample @@ -0,0 +1,15 @@ +# $OpenBSD: options.sample,v 1.1 2009/06/15 09:01:22 sthen Exp $ + +# don't ask about removing old files +#nopurge 1 + +# save subtitles too +#subtitles 1 + +# default to this directory +#output /share/iplayer + +# select default video modes; ffplay from ffmpeg-20080620p8 can handle +# the flash formats but some other software, including mplayer-1.0rc2p24 +# and the ffmpeg converter from ffmpeg-20080620 cannot. +#vmode flashhd,flashvhigh,flashhigh diff --git a/multimedia/get_iplayer/pkg/PLIST b/multimedia/get_iplayer/pkg/PLIST index 21c1b32eac1..ea417b3a397 100644 --- a/multimedia/get_iplayer/pkg/PLIST +++ b/multimedia/get_iplayer/pkg/PLIST @@ -1,7 +1,10 @@ -@comment $OpenBSD: PLIST,v 1.2 2009/05/13 09:31:44 sthen Exp $ +@comment $OpenBSD: PLIST,v 1.3 2009/06/15 09:01:22 sthen Exp $ bin/get_iplayer @man man/man1/get_iplayer.1 share/get_iplayer/ +share/get_iplayer/options.sample +@sample ${SYSCONFDIR}/get_iplayer/ +@sample ${SYSCONFDIR}/get_iplayer/options share/get_iplayer/plugins/ share/get_iplayer/plugins/itv.plugin share/get_iplayer/plugins/podcast.plugin