aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vdr-plugin-reelchannelscan/Makefile
blob: f29e8d26a3c86105d79ce5c11a54b76a8221f2b3 (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
38
39
40
41
42
# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$

PORTNAME=   vdr-plugin-reelchannelscan
PORTVERSION=    0.6.1b1.7.15
PORTREVISION=   11
CATEGORIES= multimedia
MASTER_SITES=   LOCAL/nox \
        http://ppa.launchpad.net/yavdr/stable-vdr/ubuntu/pool/main/v/vdr-plugin-reelchannelscan/
DISTFILES=  ${PORTNAME}_${DISTVERSIONPREFIX}${DISTVERSION:S/b/+beta/}${DISTVERSIONSUFFIX}.orig${EXTRACT_SUFX} \
        ${PORTNAME}_${DISTVERSIONPREFIX}${DISTVERSION:S/b/+beta/}${DISTVERSIONSUFFIX}-27yavdr1.debian${EXTRACT_SUFX}

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

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

PATCH_STRIP=    -p1
WRKSRC=     ${WRKDIR}/${PORTNAME}-${DISTVERSION:S/b1.7.15//}

PORTDOCS=   README HISTORY

OPTIONS_DEFINE= DOCS NLS

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

post-patch: post-patch-plugin

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

post-install: post-install-pluginlocales
    @${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/transponders
    ${INSTALL_DATA} ${WRKDIR}/debian/transponders/*.tpl \
        ${STAGEDIR}${PREFIX}/etc/vdr/plugins/transponders

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>