View | Details | Raw Unified | Return to bug 204881
Collapse All | Expand All

(-)irc/weechat/Makefile (-2 / +6 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	weechat
4
PORTNAME=	weechat
5
PORTVERSION=	1.3
5
PORTVERSION=	1.3
6
PORTREVISION=	1
6
CATEGORIES=	irc
7
CATEGORIES=	irc
7
MASTER_SITES=	http://weechat.org/files/src/
8
MASTER_SITES=	http://weechat.org/files/src/
8
9
Lines 22-30 Link Here
22
LIB_DEPENDS+=	libcurl.so:${PORTSDIR}/ftp/curl \
23
LIB_DEPENDS+=	libcurl.so:${PORTSDIR}/ftp/curl \
23
		libgcrypt.so:${PORTSDIR}/security/libgcrypt
24
		libgcrypt.so:${PORTSDIR}/security/libgcrypt
24
25
25
OPTIONS_DEFINE=	RUBY PYTHON PERL TCL LUA CHARSET BACKTRACE ASPELL \
26
OPTIONS_DEFINE=	RUBY PYTHON PERL TCL LUA JAVASCRIPT CHARSET BACKTRACE ASPELL \
26
		GNUTLS CA_BUNDLE NLS ICON MANPAGES DOCS
27
		GNUTLS CA_BUNDLE NLS ICON MANPAGES DOCS
27
OPTIONS_DEFAULT=RUBY PYTHON PERL TCL LUA CHARSET BACKTRACE ASPELL \
28
OPTIONS_DEFAULT=RUBY PYTHON PERL TCL LUA JAVASCRIPT CHARSET BACKTRACE ASPELL \
28
		GNUTLS CA_BUNDLE ICON MANPAGES
29
		GNUTLS CA_BUNDLE ICON MANPAGES
29
30
30
OPTIONS_SUB=	yes
31
OPTIONS_SUB=	yes
Lines 33-38 Link Here
33
CA_BUNDLE_DESC=	Include CA bundle for certificate verification
34
CA_BUNDLE_DESC=	Include CA bundle for certificate verification
34
CHARSET_DESC=	Charset conversion support
35
CHARSET_DESC=	Charset conversion support
35
ICON_DESC=	Desktop icon
36
ICON_DESC=	Desktop icon
37
JAVASCRIPT_DESC=Javascript support
36
PYTHON_DESC=	Python scripting language support
38
PYTHON_DESC=	Python scripting language support
37
RUBY_DESC=	Ruby scripting language support
39
RUBY_DESC=	Ruby scripting language support
38
40
Lines 48-53 Link Here
48
50
49
DOCS_CMAKE_ON=		-DENABLE_DOC=yes
51
DOCS_CMAKE_ON=		-DENABLE_DOC=yes
50
52
53
JAVASCRIPT_CMAKE_OFF=	-DENABLE_JAVASCRIPT=no
54
51
GNUTLS_CMAKE_OFF=	-DENABLE_GNUTLS=no
55
GNUTLS_CMAKE_OFF=	-DENABLE_GNUTLS=no
52
GNUTLS_USES=		pkgconfig
56
GNUTLS_USES=		pkgconfig
53
GNUTLS_LIB_DEPENDS=	libgnutls.so.28:${PORTSDIR}/security/gnutls
57
GNUTLS_LIB_DEPENDS=	libgnutls.so.28:${PORTSDIR}/security/gnutls
(-)irc/weechat/files/patch-src-plugins-javascript-weechat-js-api.cpp (+10 lines)
Line 0 Link Here
1
--- src/plugins/javascript/weechat-js-api.cpp.orig	2015-08-16 06:27:07 UTC
2
+++ src/plugins/javascript/weechat-js-api.cpp
3
@@ -25,6 +25,7 @@
4
 #include <cstdlib>
5
 #include <cstring>
6
 #include <string>
7
+#include <time.h>
8
 
9
 extern "C"
10
 {
(-)irc/weechat/pkg-plist (+1 lines)
Lines 20-25 Link Here
20
%%MANPAGES%%man/ru/man1/weechat.1.gz
20
%%MANPAGES%%man/ru/man1/weechat.1.gz
21
%%ASPELL%%lib/weechat/plugins/aspell.so
21
%%ASPELL%%lib/weechat/plugins/aspell.so
22
%%CHARSET%%lib/weechat/plugins/charset.so
22
%%CHARSET%%lib/weechat/plugins/charset.so
23
%%JAVASCRIPT%%lib/weechat/plugins/javascript.so
23
%%LUA%%lib/weechat/plugins/lua.so
24
%%LUA%%lib/weechat/plugins/lua.so
24
%%PERL%%lib/weechat/plugins/perl.so
25
%%PERL%%lib/weechat/plugins/perl.so
25
%%PYTHON%%lib/weechat/plugins/python.so
26
%%PYTHON%%lib/weechat/plugins/python.so

Return to bug 204881