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

PORTNAME=   vdr-plugin-softdevice
PORTVERSION=    0.5.0p20100414
PORTREVISION=   15
CATEGORIES= multimedia
MASTER_SITES=   LOCAL
MASTER_SITE_SUBDIR= nox/
DISTNAME=   ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}

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

LIB_DEPENDS+=   avcodec:${PORTSDIR}/multimedia/ffmpeg

USES=       pkgconfig
USE_BZIP2=  yes
USE_XORG+=  xv x11 xinerama
PATCH_STRIP=    -p1
HAVE_CONFIGURE= yes
PORTDOCS=   COPYING README HISTORY
MAKE_JOBS_SAFE= yes
WRKSRC=     ${WRKDIR}/${PLUGIN}
CONFIGURE_ARGS+=    --disable-vidix --disable-fb --disable-dfb --disable-cle266 --disable-alsa #--disable-yaepg

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

post-patch: post-patch-plugin
    ${REINPLACE_CMD} 's|/usr/X11R6|${LOCALBASE}|' ${WRKSRC}/Makefile ${WRKSRC}/configure

do-configure:
    (cd ${WRKSRC} && ./configure ${CONFIGURE_ARGS})

post-install: post-install-pluginlocales
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif

.include <bsd.port.mk>