blob: 5158a8565bcd3c43fa1f53ae3362e6a931555ef9 (
plain)
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
43
44
45
46
47
48
49
50
51
52
|
# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$
PORTNAME= vdr-plugin-live
PORTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= www multimedia
MASTER_SITES= http://live.vdr-developer.org/downloads/:release \
LOCAL/nox/:snapshot
DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:release
MAINTAINER= ports@FreeBSD.org
COMMENT= Video Disk Recorder - live web plugin
LIB_DEPENDS+= libtntnet.so:${PORTSDIR}/www/tntnet \
libpcre.so:${PORTSDIR}/devel/pcre
PATCH_STRIP= -p1
PORTDOCS= COPYING README HISTORY
WRKSRC= ${WRKDIR}/${PLUGIN}-${PORTVERSION}
VDR_PLUGIN_MAKEFILES= ${WRKSRC}/httpd/Makefile ${WRKSRC}/pages/Makefile
MAKE_ARGS+= INCLUDES="-I$(LOCALBASE)/include -I${WRKSRC}"
MAKE_ARGS+= PREFIX="${PREFIX}"
USES= compiler:features
OPTIONS_DEFINE= DOCS
.include "${.CURDIR}/../../multimedia/vdr/Makefile.plugins"
.include <bsd.port.pre.mk>
.if ${COMPILER_FEATURES:Mlibc++}
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libcxx
EXTRA_PATCH_STRIP= -p1
.endif
post-patch: post-patch-plugin
${CP} ${FILESDIR}/gen_version_suffix.h ${WRKSRC}
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
post-install: post-install-pluginlocales
(cd ${WRKSRC}/${PLUGIN} && ${COPYTREE_SHARE} \* \
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN} )
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.post.mk>
|