aboutsummaryrefslogtreecommitdiff
path: root/audio/vban/Makefile
blob: 45b0e1ca75be30d4c0854c87d1b6d64c2d700475 (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>

PORTNAME=	vban
DISTVERSION=	g20201011
CATEGORIES=	audio

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Command-line VBAN (audio over UDP protocol) tools

LICENSE=	GPLv3+

USES=		autoreconf localbase
GNU_CONFIGURE=	yes
USE_GITHUB=	yes
GH_ACCOUNT=	quiniouben
GH_TAGNAME=	4f69e5a

PLIST_FILES=	bin/vban_emitter bin/vban_receptor bin/vban_sendtext
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS
OPTIONS_MULTI=	BACKEND
OPTIONS_MULTI_BACKEND=ALSA JACK PULSEAUDIO
OPTIONS_DEFAULT=	ALSA JACK

ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
ALSA_CONFIGURE_OFF=	--disable-alsa

JACK_LIB_DEPENDS=	libjack.so:audio/jack
JACK_CONFIGURE_OFF=	--disable-jack

PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_OFF=	--disable-pulseaudio

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>