diff options
author | Jase Thew <jase@FreeBSD.org> | 2012-08-15 15:19:33 +0000 |
---|---|---|
committer | Jase Thew <jase@FreeBSD.org> | 2012-08-15 15:19:33 +0000 |
commit | 8270937d87b25a02032b7fb9bb93485638b30553 (patch) | |
tree | 8a3b8c9ac7c42365021d1d11259cf4f725bb7e9d /irc/weechat | |
parent | 0b80f7727cbb0be6d66ed5b40781d27a6858932e (diff) | |
download | ports-8270937d87b25a02032b7fb9bb93485638b30553.tar.gz ports-8270937d87b25a02032b7fb9bb93485638b30553.zip |
Notes
Diffstat (limited to 'irc/weechat')
-rw-r--r-- | irc/weechat/Makefile | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile index a8938d0609ac..87b169167367 100644 --- a/irc/weechat/Makefile +++ b/irc/weechat/Makefile @@ -7,7 +7,7 @@ PORTNAME= weechat PORTVERSION= 0.3.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc MASTER_SITES= http://weechat.org/files/src/ @@ -21,15 +21,13 @@ CONFLICTS= weechat-devel-0.* USE_ICONV= yes USE_LDCONFIG= yes USE_NCURSES= yes -WITH_NCURSES_PORT= yes USE_CMAKE= yes -CMAKE_ARGS+= -DNCURSES_INCLUDE_PATH=${LOCALBASE}/include/ncurses CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib WANT_PERL= yes LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl -OPTIONS_DEFINE= RUBY PYTHON PERL TCL LUA GUILE CHARSET BACKTRACE ASPELL GNUTLS NLS DOCUMENTATION SASL +OPTIONS_DEFINE= RUBY PYTHON PERL TCL LUA GUILE CHARSET BACKTRACE ASPELL GNUTLS NLS DOCUMENTATION SASL COLOR256 OPTIONS_DEFAULT=CHARSET BACKTRACE_DESC= Provide crash backtraces @@ -41,6 +39,8 @@ PERL_DESC= Perl scripting support PYTHON_DESC= Python scripting support RUBY_DESC= Ruby scripting support TCL_DESC= Tcl scripting support +SASL_DESC= SASL with DH-Blowfish support +COLOR256_DESC= Use ncurses port for 256 color support .include <bsd.port.options.mk> @@ -150,10 +150,15 @@ LIB_DEPENDS+= execinfo:${PORTSDIR}/devel/libexecinfo LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt PLIST_SUB+= SASL="" .else -CMAKE_ARGS+= -DENABLE_SASL=no +CMAKE_ARGS+= -DENABLE_GCRYPT=no PLIST_SUB+= SASL="@comment " .endif +.if ${PORT_OPTIONS:MCOLOR256} +WITH_NCURSES_PORT= yes +CMAKE_ARGS+= -DNCURSES_INCLUDE_PATH=${LOCALBASE}/include/ncurses +.endif + MAN1= weechat-curses.1 post-patch: @@ -166,6 +171,17 @@ post-patch: @${REINPLACE_CMD} -e '/IF.*FreeBSD/,/ENDIF.*FreeBSD/d' ${WRKSRC}/src/core/CMakeLists.txt .endif +pre-configure: +.if ${PORT_OPTIONS:MCOLOR256} + @${ECHO_MSG} "" + @${ECHO_MSG} "==> You have selected the ncurses 256 color option. Please ensure that" + @${ECHO_MSG} "==> the devel/ncurses port is built with the EXTCOLORS option enabled." + @${ECHO_MSG} "==>" + @${ECHO_MSG} "==> Press CTRL-C now if you would like to re-configure." + @${ECHO_MSG} "" + @sleep 5 +.endif + post-install: ${INSTALL_MAN} ${WRKSRC}/doc/weechat-curses.1 ${MAN1PREFIX}/man/man1 |