freebsd-ports/multimedia/vdr-plugin-streamdev/Makefile
Juergen Lock 06a1a754bf - Update multimedia/vdr and multimedia/vdr-plugins to 1.7.28 .
- Update xineliboutput XKeySym.Pause key in example remote.conf.
  ("space" instead of "Space")
- Add multimedia/vdr-plugin-extrecmenu 1.2.2 to vdr-plugins metaport.
- Update multimedia/vdr-plugin-skinenigmang to 0.1.2s20120606 git snapshot.
- Update www/vdr-plugin-live to 0.2.0s20120325 git snapshot.
- Bump PORTREVISION for all other plugins and add api fixes where necessary.
- Add HISTORY to PORTDOCS for most plugins. (those that have it)
- Remove shlib major versions from LIB_DEPENDS to pet portlint.
2012-06-19 18:42:12 +00:00

52 lines
1.9 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.2
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://projects.vdr-developer.org/attachments/download/953/:release \
LOCAL:snapshot
MASTER_SITE_SUBDIR= nox/:snapshot
DISTFILES= ${DISTNAME:S/plugin-//}${EXTRACT_SUFX}:release
EXTRACT_SUFX= .tgz
MAINTAINER= nox@FreeBSD.org
COMMENT= Video Disk Recorder - stream device plugin
RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
PORTDOCS= COPYING README HISTORY
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>