2013-09-20 22:57:48 +02:00
|
|
|
# Created by: Juergen Lock <nox@FreeBSD.org>
|
2011-03-26 20:21:08 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= vdr-plugin-upnp
|
|
|
|
PORTVERSION= 0.0.2a2
|
2013-05-17 23:53:51 +02:00
|
|
|
PORTREVISION= 21
|
2011-03-26 20:21:08 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= http://projects.vdr-developer.org/attachments/download/177/
|
|
|
|
DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION:S/a/-alpha/}${DISTVERSIONSUFFIX}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= nox@FreeBSD.org
|
|
|
|
COMMENT= Video Disk Recorder - UPnP/DLNA plugin (alpha!)
|
|
|
|
|
2012-06-19 20:42:12 +02:00
|
|
|
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg \
|
2011-03-26 20:21:08 +01:00
|
|
|
boost_system:${PORTSDIR}/devel/boost-libs \
|
2012-06-19 20:42:12 +02:00
|
|
|
upnp:${PORTSDIR}/devel/upnp \
|
|
|
|
sqlite3:${PORTSDIR}/databases/sqlite3
|
2011-03-26 20:21:08 +01:00
|
|
|
|
|
|
|
DIST_SUBDIR= vdr
|
|
|
|
PATCH_STRIP= -p1
|
|
|
|
HAVE_CONFIGURE= yes
|
2012-06-19 20:42:12 +02:00
|
|
|
PORTDOCS= COPYING README HISTORY
|
2011-03-26 20:21:08 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION:S/a2//}
|
|
|
|
|
2013-09-20 22:57:48 +02:00
|
|
|
NO_STAGE= yes
|
2011-03-26 20:21:08 +01:00
|
|
|
.include "${.CURDIR}/../vdr/Makefile.plugins"
|
|
|
|
|
|
|
|
post-patch: post-patch-plugin
|
|
|
|
|
|
|
|
post-install: post-install-pluginlocales
|
|
|
|
@${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/icons
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/http/icons/* ${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/icons
|
|
|
|
@${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/xml
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/http/xml/* ${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/xml
|
|
|
|
@${INSTALL} -o ${VDR_USER} -g ${VDR_GROUP} -d /var/cache/vdr/${PLUGIN}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|