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

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

PATCH_SITES=    http://projects.vdr-developer.org/attachments/download/893/
PATCHFILES= osdpip-vdr-1.7.26.diff

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

LIB_DEPENDS+=   libavcodec.so:${PORTSDIR}/multimedia/ffmpeg

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

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

post-patch: post-patch-plugin

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

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

.include <bsd.port.mk>