summaryrefslogtreecommitdiff
path: root/chat/weechat/options.mk
diff options
context:
space:
mode:
authortonio <tonio>2009-07-18 06:04:33 +0000
committertonio <tonio>2009-07-18 06:04:33 +0000
commita9f1e398356cb8fd50fb09b62d71a9890e0fa05e (patch)
tree5650d48b5b5e9f111513b1c607151ff6dabaacdc /chat/weechat/options.mk
parent58613d6d2c5422835ed1998174d8f616afbd1ad1 (diff)
downloadpkgsrc-a9f1e398356cb8fd50fb09b62d71a9890e0fa05e.tar.gz
Update chat/weechat to 0.2.6.3
Add perl and ruby options, fix PR pkg/38946 Changelog: * 2009-06-13 WeeChat 0.2.6.3 released. This version fixes gnutls detection. * 2009-04-18 WeeChat 0.2.6.2 released. This version fixes a bug with charset decoding (like iso2022jp).
Diffstat (limited to 'chat/weechat/options.mk')
-rw-r--r--chat/weechat/options.mk24
1 files changed, 21 insertions, 3 deletions
diff --git a/chat/weechat/options.mk b/chat/weechat/options.mk
index 44bd03d0c3f..ea0b18df5d1 100644
--- a/chat/weechat/options.mk
+++ b/chat/weechat/options.mk
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.6 2009/07/03 14:23:00 drochner Exp $
+# $NetBSD: options.mk,v 1.7 2009/07/18 06:04:33 tonio Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.weechat
-PKG_SUPPORTED_OPTIONS= charset gnutls python lua wide-curses
+PKG_SUPPORTED_OPTIONS= charset gnutls python lua wide-curses perl ruby
PKG_SUGGESTED_OPTIONS= charset
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= charset lua plugin python
+PLIST_VARS+= charset lua plugin python perl ruby
.if !empty(PKG_OPTIONS:Mcharset)
CONFIGURE_ARGS+= --enable-charset
@@ -42,6 +42,24 @@ PLIST.lua= yes
CONFIGURE_ARGS+= --disable-lua
.endif
+.if !empty(PKG_OPTIONS:Mperl)
+.include "../../lang/perl5/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-perl
+USE_TOOLS+= perl
+PLIST.perl= yes
+.else
+CONFIGURE_ARGS+= --disable-perl
+.endif
+
+.if !empty(PKG_OPTIONS:Mruby)
+.include "../../lang/ruby/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-ruby
+USE_TOOLS+= ruby
+PLIST.ruby= yes
+.else
+CONFIGURE_ARGS+= --disable-ruby
+.endif
+
.if !empty(PKG_OPTIONS:Mpython) || \
!empty(PKG_OPTIONS:Mlua) || \
!empty(PKG_OPTIONS:Mcharset)