summaryrefslogtreecommitdiff
path: root/multimedia/mjpg-streamer/Makefile
blob: 879495421e1f91904b5b03b07208214f9b60fee1 (plain)
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
PORTNAME=	mjpg-streamer
PORTVERSION=	g2021081601
PORTEPOCH=	1
CATEGORIES=	multimedia net

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	HTTP video streaming daemon
WWW=		https://github.com/jacksonliam/mjpg-streamer

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${LOCALBASE}/include/linux/videodev.h:multimedia/v4l_compat

USES=		cmake jpeg localbase

USE_GITHUB=	yes
GH_ACCOUNT=	jacksonliam
GH_TAGNAME=	310b29f4a94c46652b20c4b7b6e5cf24e532af39

WRKSRC_SUBDIR=	mjpg-streamer-experimental

USE_RC_SUBR=	mjpg_streamer
SUB_FILES+=	pkg-message

PORTSCOUT=	skipv:1.0.0

post-build:
	cd ${WRKSRC}/plugins/input_testpicture && \
		${SETENV} ${MAKE_ENV} make

post-install:
	${INSTALL_LIB} ${WRKSRC}/plugins/input_testpicture/input_testpicture.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}

.include <bsd.port.mk>