summaryrefslogtreecommitdiff
path: root/audio/ncpamixer/Makefile
blob: 248a5f227b2893b0911235af73cbada46ce2bf8b (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
PORTNAME=	ncpamixer
DISTVERSION=	1.3.3.1
PORTREVISION=	1
CATEGORIES=	audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Ncurses PulseAudio mixer

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/../LICENSE

LIB_DEPENDS=	libpulse.so:audio/pulseaudio

USES=		cmake compiler:c++17-lang

USE_GITHUB=	yes
GH_ACCOUNT=	fulhax

WRKSRC_SUBDIR=	src

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.options.mk>

.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
USES+=          ncurses
.else
USES+=          ncurses:port
CFLAGS+=	-I${LOCALBASE}/include/ncurses
.endif

.include <bsd.port.mk>