freebsd-ports/multimedia/vdr-plugin-vnsiserver/Makefile

42 lines
1.1 KiB
Makefile

# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$
PORTNAME= vdr-plugin-vnsiserver
PORTVERSION= 14.0.20150330
CATEGORIES= multimedia
MAINTAINER= nox@FreeBSD.org
COMMENT= Video Disk Recorder - VNSI server plugin
USE_GITHUB= yes
GH_ACCOUNT= FernetMenta
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= 36e2b61
USES= pkgconfig
PATCH_STRIP= -p1
HAVE_CONFIGURE= yes
PORTDOCS= COPYING README HISTORY
MAKE_ARGS+= LIBDIR=${WRKDIR}/lib \
LOCDIR=${PREFIX}/share/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
${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/de_DE/LC_MESSAGES \
${STAGEDIR}${PREFIX}/share/locale/lt_LT/LC_MESSAGES
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}
${INSTALL_DATA} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf \
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>