aboutsummaryrefslogtreecommitdiffstats
path: root/irc/weechat
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 23:34:17 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 23:34:17 +0800
commit8125658176eb2b6a00216bc61058e31e8d19d160 (patch)
tree5b19e4fae39149280653cc670bc170d039477f8e /irc/weechat
parent4ca6469bebf737a13fe9257550d791b2fdc61200 (diff)
downloadfreebsd-ports-gnome-8125658176eb2b6a00216bc61058e31e8d19d160.tar.gz
freebsd-ports-gnome-8125658176eb2b6a00216bc61058e31e8d19d160.tar.zst
freebsd-ports-gnome-8125658176eb2b6a00216bc61058e31e8d19d160.zip
Convert USE_NCURSES by USES=ncurses
Convert USE_READLINE by USES=readline
Diffstat (limited to 'irc/weechat')
-rw-r--r--irc/weechat/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile
index f826f289ca19..db3a73f40290 100644
--- a/irc/weechat/Makefile
+++ b/irc/weechat/Makefile
@@ -15,7 +15,6 @@ LICENSE= GPLv3
CONFLICTS= weechat-devel-0.*
USE_LDCONFIG= yes
-USE_NCURSES= yes
USES= cmake iconv
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
WANT_PERL= yes
@@ -139,10 +138,12 @@ PLIST_SUB+= DOCUMENTATION="@comment "
LIB_DEPENDS+= execinfo:${PORTSDIR}/devel/libexecinfo
.endif
-.if ${PORT_OPTIONS:MCOLOR256}
-WITH_NCURSES_PORT= yes
+.if ${PORT_OPTIONS:MCOLOR256}
+USES+= ncurses:port
CMAKE_ARGS+= -DNCURSES_INCLUDE_PATH=${LOCALBASE}/include/ncurses
-.endif
+.else
+USES+= ncurses
+.endif
MAN1= weechat-curses.1