blob: aa4b6379721dde1086b49e8571f02830f5722f38 (
plain) (
blame)
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
|
# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$
PORTNAME= vdr-plugin-vnsiserver
PORTVERSION= 14.0.20150330
PORTREVISION= 3
CATEGORIES= multimedia
MAINTAINER= ports@FreeBSD.org
COMMENT= Video Disk Recorder - VNSI server plugin
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= FernetMenta
GH_TAGNAME= 36e2b61
USES= pkgconfig
PATCH_STRIP= -p1
MAKE_ARGS= LIBDIR=${WRKDIR}/lib \
LOCDIR=${PREFIX}/share/locale \
VDRSRC=${LOCALBASE}/include/vdr \
INCLUDES=-I${LOCALBASE}/include
PORTDOCS= README HISTORY
OPTIONS_DEFINE= DOCS
.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
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|