aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vdr-plugin-xvdr/Makefile
blob: 9bbe4b9afe2ec07e33b729dd209a214876df60b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$

PORTNAME=   vdr-plugin-xvdr
PORTVERSION=    0.9.5
PORTREVISION=   5
CATEGORIES= multimedia
MASTER_SITES=   LOCAL/nox/
DISTNAME=   pipelka-${PORTNAME}-xvdr-${PORTVERSION}-0-g${GITHASH}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Video Disk Recorder - XVDR server plugin

LICENSE=    GPLv2 # or later
LICENSE_FILE=   ${WRKSRC}/COPYING

GITHASH=    e4cab47
PATCH_STRIP=    -p1
HAVE_CONFIGURE= yes
PORTDOCS=   COPYING README HISTORY
WRKSRC=     ${WRKDIR}/pipelka-${PORTNAME}-${GITHASH}

.include    "${.CURDIR}/../vdr/Makefile.plugins"

post-patch: post-patch-plugin

pre-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr

post-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}
    ${INSTALL_DATA} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf \
        ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>