aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vdr-plugin-osdpip/Makefile
blob: 6afdb4ab2d94e3686d21aa6a409e49d85988001b (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
# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$

PORTNAME=   vdr-plugin-osdpip
PORTVERSION=    0.1.2
PORTREVISION=   3
CATEGORIES= multimedia
MASTER_SITES=   http://projects.vdr-developer.org/attachments/download/961/
DISTNAME=   ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
DIST_SUBDIR=    vdr

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS+=   libavcodec.so:multimedia/ffmpeg

USES=       pkgconfig tar:tgz
HAVE_CONFIGURE= yes
PORTDOCS=   COPYING README HISTORY
WRKSRC=     ${WRKDIR}/${PLUGIN}-${DISTVERSION}

OPTIONS_DEFINE= DOCS

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

post-patch: post-patch-plugin

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

post-install: post-install-pluginlocales

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

.include <bsd.port.mk>