mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
audio/ncpamixer: use base ncurses where possible
PR: 250836 Approved by: yuri (maintainer, previous version)
This commit is contained in:
parent
7cb0e3eb08
commit
564888c997
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561887
1 changed files with 11 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= ncpamixer
|
||||
DISTVERSION= 1.3.3.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -12,15 +13,22 @@ LICENSE_FILE= ${WRKSRC}/../LICENSE
|
|||
|
||||
LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
||||
|
||||
USES= cmake compiler:c++17-lang ncurses:port
|
||||
USES= cmake compiler:c++17-lang
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= fulhax
|
||||
|
||||
WRKSRC_SUBDIR= src
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include/ncurses # USES=ncurses:port fails to add this
|
||||
|
||||
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>
|
||||
|
|
Loading…
Add table
Reference in a new issue