aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vdr-plugin-epgsearch/Makefile
blob: 98594bcb86d3131f2908453981800ba9c4012dd8 (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-epgsearch
PORTVERSION=    1.0.1s20120322
PORTREVISION=   4
CATEGORIES= multimedia
MASTER_SITES=   http://winni.vdr-developer.org/epgsearch/downloads/beta/:beta \
        LOCAL/nox/:snapshot
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX}:snapshot

MAINTAINER= ports@FreeBSD.org
COMMENT=    Video Disk Recorder - EPG search plugin

LIB_DEPENDS+=   libpcre.so:devel/pcre \
        libtre.so:textproc/libtre

USES=       pkgconfig tar:bzip2
PATCH_STRIP=    -p1
PORTDOCS=   COPYING README HISTORY
WRKSRC=     ${WRKDIR}/vdr-plugin-${PLUGIN}
MAKE_ARGS+= INCLUDES="-I$(LOCALBASE)/include -I$(LOCALBASE)/include/vdr -I${WRKSRC}"

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

post-patch: post-patch-plugin
    @${REINPLACE_CMD} -e 's/^#\(HAVE_PCREPOSIX=\)/\1/;' \
        -e 's/^#\(HAVE_LIBTRE=\)/\1/;' \
        ${WRKSRC}/Makefile

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>