mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
556296fe66
- Add startup script that the rc.d script invokes to wait for /dev/dvb nodes to appear, can be disabled by setting vdr_waitdvb="NO" in rc.conf(5). (This turned out to be necessary in some situations because devd starts webcamd only later in the boot process.) - One more fix for changing OSD language when using UTF-8. - Update multimedia/vdr-plugin-femon to 1.7.11 . - Update multimedia/vdr-plugin-ttxtsubs to 0.2.4 . - Bump PORTREVISION for all other plugins. - Update www/vdradmin-am to 3.6.9 .
54 lines
2.0 KiB
Makefile
54 lines
2.0 KiB
Makefile
# New ports collection makefile for: vdr-plugin-streamdev
|
|
# Date created: Wed Apr 14 18:11:42 CEST 2010
|
|
# Whom: Juergen Lock <nox@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vdr-plugin-streamdev
|
|
PORTVERSION= 0.5.1
|
|
PORTREVISION= 6
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://projects.vdr-developer.org/attachments/download/497/:release \
|
|
LOCAL:snapshot
|
|
MASTER_SITE_SUBDIR= nox/:snapshot
|
|
DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:release
|
|
|
|
MAINTAINER= nox@FreeBSD.org
|
|
COMMENT= Video Disk Recorder - stream device plugin
|
|
|
|
RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
PORTDOCS= COPYING README
|
|
HAVE_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION}
|
|
VDR_PLUGIN_MAKEFILES= ${WRKSRC}/client/Makefile \
|
|
${WRKSRC}/server/Makefile
|
|
|
|
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
|
|
|
post-patch: post-patch-plugin
|
|
@${LN} -s ../locale ${WRKSRC}
|
|
@${REINPLACE_CMD} '1s-^#!/bin/sh-#!${LOCALBASE}/bin/bash-' \
|
|
${WRKSRC}/${PLUGIN}-server/externremux.sh
|
|
|
|
post-install: post-install-pluginlocales
|
|
@${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/${PLUGIN}-server/externremux.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/externremux.sh.sample
|
|
@${INSTALL_DATA} ${WRKSRC}/${PLUGIN}-server/streamdevhosts.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/streamdevhosts.conf.sample
|
|
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/externremux.sh ]; then \
|
|
${INSTALL_SCRIPT} -o ${VDR_USER} -g ${VDR_GROUP} ${WRKSRC}/${PLUGIN}-server/externremux.sh ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server; \
|
|
fi
|
|
@if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server/streamdevhosts.conf ]; then \
|
|
${INSTALL_DATA} -o ${VDR_USER} -g ${VDR_GROUP} ${WRKSRC}/${PLUGIN}-server/streamdevhosts.conf ${PREFIX}/etc/vdr/plugins/${PLUGIN}-server; \
|
|
fi
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|