install a sample configuration file demonstrating some useful options.

bump PKGNAME.
This commit is contained in:
sthen 2009-06-15 09:01:22 +00:00
parent d45e825029
commit 6443ee515a
3 changed files with 23 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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