blob: fd24d5bc023700e8d1aa6be02e2c368187db41a3 (
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
|
PORTNAME= minisatip
PORTVERSION= 1.2.18
DISTVERSIONPREFIX= v
CATEGORIES= multimedia
MAINTAINER= decke@FreeBSD.org
COMMENT= Multi-threaded SATIP server that supports DVB cards
WWW= https://github.com/catalinii/minisatip
LICENSE= GPLv2+
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
LIB_DEPENDS= libdvbcsa.so:multimedia/libdvbcsa
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= catalinii
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
ALL_TARGET= minisatip
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} 's|/usr/share/minisatip|${DATADIR}|' \
${WRKSRC}/src/minisatip.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/minisatip ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DATADIR})
.include <bsd.port.post.mk>
|