blob: 4a70132cfc1a92665567d12716576e0eb259ea4a (
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: Bernhard Froehlich <decke@FreeBSD.org>
# $FreeBSD$
PORTNAME= xbmc-pvr-addons
PORTVERSION= 12.0
CATEGORIES= multimedia
MASTER_SITES= http://people.freebsd.org/~decke/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-Frodo
MAINTAINER= decke@FreeBSD.org
COMMENT= XBMC PVR addons for various backends
BUILD_DEPENDS+= xbmc:${PORTSDIR}/multimedia/xbmc
RUN_DEPENDS+= xbmc:${PORTSDIR}/multimedia/xbmc
USES= pkgconfig
USE_GL= gl
USE_AUTOTOOLS= libtoolize aclocal libtool automake autoconf
MAKE_JOBS_SAFE= yes
AUTOMAKE_ARGS= --add-missing
GNU_CONFIGURE= yes
REINPLACE_ARGS= -i ''
CFLAGS+= "-I${LOCALBASE}/include"
LDFLAGS+= "-L${LOCALBASE}/lib"
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
# addons for FreeBSD look for linux platform
@${REINPLACE_CMD} 's|@OS@|freebsd linux|' \
${WRKSRC}/addons/*/addon/addon.xml.in
@${REINPLACE_CMD} 's|-ldl||' \
${WRKSRC}/addons/pvr.hts/Makefile.am
@${RM} ${WRKSRC}/addons/*/addon/addon.xml.in.orig
.include <bsd.port.post.mk>
|