aboutsummaryrefslogtreecommitdiff
path: root/multimedia/tsduck/Makefile
blob: 0af3e017f98ad0f73daeefc93275117ca4955356 (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
50
51
52
53
PORTNAME=	tsduck
DISTVERSIONPREFIX=	v
DISTVERSION=	3.43
DISTVERSIONSUFFIX=	-4549
PORTREVISION=	2
CATEGORIES=	multimedia

MAINTAINER=	thierry@lelegard.fr
COMMENT=	Reference framework for MPEG transport streams
WWW=		https://tsduck.io

LICENSE=	BSD2CLAUSE

BROKEN_FreeBSD_13=	requires OpenSSL 3.0

BUILD_DEPENDS=	bash:shells/bash \
		bootstrap-openjdk11>0:java/bootstrap-openjdk11 \
		coreutils>0:sysutils/coreutils \
		dos2unix:converters/unix2dos \
		gnugrep>0:textproc/gnugrep \
		gsed:textproc/gsed \
		rubygem-asciidoctor-pdf>0:textproc/rubygem-asciidoctor-pdf \
		rubygem-asciidoctor>0:textproc/rubygem-asciidoctor \
		rubygem-rouge>0:textproc/rubygem-rouge \
		str>0:devel/str

LIB_DEPENDS=	libcurl.so:ftp/curl \
		libpcsclite.so:devel/pcsc-lite \
		librist.so:multimedia/librist \
		libsrt.so:www/srt

USES=		dos2unix gmake libedit python shebangfix ssl
USE_GITHUB=	yes
GH_ACCOUNT=	tsduck

MAKE_ENV=	CXXFLAGS_EXTRA="-isystem ${LOCALBASE}/include" \
		GPROF= \
		LDFLAGS_EXTRA="-L${LOCALBASE}/lib" \
		SYSROOT=${STAGEDIR}
ALL_TARGET=	default
TEST_TARGET=	test
BINARY_ALIAS=	python=${PYTHON_CMD}

OPTIONS_DEFINE=	DOCS
OPTIONS_SUB=	yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
ALL_TARGET+=	docs-html
.endif

.include <bsd.port.mk>