PORTNAME= ncpamixer DISTVERSION= 1.3.3.5 PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Ncurses PulseAudio mixer WWW= https://github.com/fulhax/ncpamixer 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 .if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079 USES+= ncurses .else USES+= ncurses:port CFLAGS+= -I${LOCALBASE}/include/ncurses .endif .include