1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/www/vdr-plugin-live/Makefile
Juergen Lock f356c31cb6 - Fix bug uncovered by clang34.
- Bump PORTREVISION.

Submitted by:	beefy1 via pkg-fallout
2014-03-29 14:15:28 +00:00

51 lines
1.4 KiB
Makefile

# 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= nox@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
.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>