aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xbmc-addon-xvdr/Makefile
blob: ef90b961988142f14ee726ef5dc5f296eb120037 (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
# New ports collection makefile for:    xbmc-addon-xvdr
# Date created:         Sat Oct  8 16:27:14 CEST 2011
# Whom:             Juergen Lock <nox@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   xbmc-addon-xvdr
PORTVERSION=    0.9.5
PORTREVISION=   1
CATEGORIES= multimedia
MASTER_SITES=   LOCAL/nox
DISTNAME=   pipelka-${PORTNAME}-xvdr-${PORTVERSION}-0-g${GITHASH}

MAINTAINER= nox@FreeBSD.org
COMMENT=    XBMC xvdr pvr addon

BUILD_DEPENDS+= xbmc:${PORTSDIR}/multimedia/xbmc-pvr
RUN_DEPENDS+=   xbmc:${PORTSDIR}/multimedia/xbmc-pvr

GITHASH=    9d3d6ea
WRKSRC=     ${WRKDIR}/pipelka-${PORTNAME}-${GITHASH}
PATCH_STRIP=    -p1
USE_AUTOTOOLS=  libtoolize aclocal libtool automake autoconf
MAKE_JOBS_SAFE= yes
ACLOCAL_ARGS=   -I.
AUTOMAKE_ARGS=  --add-missing
GNU_CONFIGURE_PREFIX=   ${PREFIX}/share/xbmc
CONFLICTS=  xbmc-[0-9]*

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 900033
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
MAKE_ENV+=  COMPILER_PATH=${LOCALBASE}/bin
.endif

post-patch:
    (cd ${WRKSRC} && ${TOUCH} ./NEWS ./AUTHORS ./ChangeLog)

.include <bsd.port.post.mk>