# Created by: Juergen Lock # $FreeBSD$ PORTNAME= vdr-plugin-vnsiserver PORTVERSION= 12.0 PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://people.freebsd.org/~decke/distfiles/ DISTNAME= xbmc-pvr-addons-${PORTVERSION}-20140104 MAINTAINER= nox@FreeBSD.org COMMENT= Video Disk Recorder - VNSI server plugin USE_GITHUB= yes GH_ACCOUNT= opdenkamp GH_PROJECT= xbmc-pvr-addons GH_COMMIT= 9021115 GH_TAGNAME= 9021115 USES= pkgconfig PATCH_STRIP= -p1 HAVE_CONFIGURE= yes PORTDOCS= COPYING README HISTORY WRKSRC= ${WRKDIR}/opdenkamp-xbmc-pvr-addons-${GH_COMMIT}/addons/pvr.vdr.vnsi/${PORTNAME} MAKE_ARGS+= LIBDIR=${WRKDIR}/lib \ LOCDIR=${WRKDIR}/locale \ VDRSRC=${LOCALBASE}/include/vdr \ INCLUDES=-I${LOCALBASE}/include .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}5 ${INSTALL_DATA} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf \ ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}5/allowed_hosts.conf.sample ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include