Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC
client. Everything can be done with a keyboard, and it is customizable
and extensible with scripts.
+33
View File
@@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.41 2013/06/09 21:19:02 tonio Exp $
DISTNAME= weechat-0.4.1
CATEGORIES= chat
MASTER_SITES= http://www.weechat.org/files/src/
MAINTAINER= tonio@NetBSD.org
HOMEPAGE= http://www.weechat.org/
COMMENT= Lightweight and user friendly curses based IRC client
LICENSE= gnu-gpl-v3
EXTRACT_SUFX= .tar.bz2
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt pkg-config
USE_LIBTOOL= yes
USE_CMAKE= yes
LIBS.SunOS+= -lnsl
CMAKE_ARGS+= -DENABLE_ASPELL:BOOL=OFF
CMAKE_ARGS+= -DENABLE_GUILE:BOOL=OFF
CMAKE_ARGS+= -DENABLE_TCL:BOOL=OFF
CMAKE_ARGS+= -DMANDIR:STRING=${PKGMANDIR}
.include "options.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+30
View File
@@ -0,0 +1,30 @@
@comment $NetBSD: PLIST,v 1.17 2013/06/09 21:19:02 tonio Exp $
bin/weechat-curses
include/weechat/weechat-plugin.h
lib/pkgconfig/weechat.pc
${PLIST.lua}lib/weechat/plugins/lua.so
${PLIST.perl}lib/weechat/plugins/perl.so
${PLIST.python}lib/weechat/plugins/python.so
${PLIST.ruby}lib/weechat/plugins/ruby.so
${PLIST.charset}lib/weechat/plugins/charset.so
lib/weechat/plugins/alias.so
lib/weechat/plugins/charset.so
lib/weechat/plugins/fifo.so
lib/weechat/plugins/irc.so
lib/weechat/plugins/logger.so
lib/weechat/plugins/relay.so
lib/weechat/plugins/rmodifier.so
lib/weechat/plugins/script.so
lib/weechat/plugins/xfer.so
man/man1/weechat-curses.1
share/icons/hicolor/32x32/apps/weechat.png
share/locale/cs/LC_MESSAGES/weechat.mo
share/locale/de/LC_MESSAGES/weechat.mo
share/locale/es/LC_MESSAGES/weechat.mo
share/locale/fr/LC_MESSAGES/weechat.mo
share/locale/hu/LC_MESSAGES/weechat.mo
share/locale/it/LC_MESSAGES/weechat.mo
share/locale/ja/LC_MESSAGES/weechat.mo
share/locale/pl/LC_MESSAGES/weechat.mo
share/locale/pt_BR/LC_MESSAGES/weechat.mo
share/locale/ru/LC_MESSAGES/weechat.mo
+8
View File
@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.25 2013/06/09 21:19:02 tonio Exp $
SHA1 (weechat-0.4.1.tar.bz2) = a5185d6b8a2b330713ea354f06601a205270e3a2
RMD160 (weechat-0.4.1.tar.bz2) = 07cf6554b0238a2dd41da94483d62573789fe97b
Size (weechat-0.4.1.tar.bz2) = 1772500 bytes
SHA1 (patch-ab) = d0fac0994602dfa0afde9fe14487f44f8cce25d6
SHA1 (patch-src_gui_curses_CMakeLists_txt) = 7233fd400c38e0ae65c1664f38a3534734141630
SHA1 (patch-src_gui_curses_gui-curses-term_c) = db7a4223e728d9f30491eada9d1c41881ea2e066
+66
View File
@@ -0,0 +1,66 @@
# $NetBSD: options.mk,v 1.10 2013/06/09 21:19:02 tonio Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.weechat
PKG_SUPPORTED_OPTIONS= charset gnutls python lua wide-curses perl ruby
PKG_SUGGESTED_OPTIONS= charset gnutls
.include "../../mk/bsd.options.mk"
PLIST_VARS+= charset lua plugin python perl ruby
.if !empty(PKG_OPTIONS:Mcharset)
CMAKE_ARGS+= -DENABLE_CHARSET:BOOL=ON
PLIST.charset= yes
.else
CMAKE_ARGS+= -DENABLE_CHARSET:BOOL=OFF
.endif
.if !empty(PKG_OPTIONS:Mgnutls)
.include "../../security/gnutls/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mwide-curses)
.include "../../devel/ncursesw/buildlink3.mk"
.else
.include "../../devel/ncurses/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mpython)
.include "../../lang/python/extension.mk"
CMAKE_ARGS+= -DENABLE_PYTHON:BOOL=ON
PLIST.python= yes
.else
CMAKE_ARGS+= -DENABLE_PYTHON:BOOL=OFF
.endif
.if !empty(PKG_OPTIONS:Mlua)
.include "../../lang/lua/buildlink3.mk"
CMAKE_ARGS+= -DENABLE_LUA:BOOL=ON
PLIST.lua= yes
.else
CMAKE_ARGS+= -DENABLE_LUA:BOOL=OFF
.endif
.if !empty(PKG_OPTIONS:Mperl)
.include "../../lang/perl5/buildlink3.mk"
CMAKE_ARGS+= -DENABLE_PERL:BOOL=ON
USE_TOOLS+= perl
PLIST.perl= yes
.else
CMAKE_ARGS+= -DENABLE_PERL:BOOL=OFF
.endif
.if !empty(PKG_OPTIONS:Mruby)
.include "../../lang/ruby/buildlink3.mk"
CMAKE_ARGS+= -DENABLE_RUBY:BOOL=ON
USE_TOOLS+= ruby
PLIST.ruby= yes
.else
CMAKE_ARGS+= -DENABLE_RUBY:BOOL=OFF
.endif
.if !empty(PKG_OPTIONS:Mpython) || \
!empty(PKG_OPTIONS:Mlua) || \
!empty(PKG_OPTIONS:Mcharset)
PLIST.plugin= yes
.endif
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.7 2012/05/28 22:55:05 tonio Exp $
--- src/gui/curses/gui-curses.h.orig 2012-01-08 09:13:53.000000000 +0000
+++ src/gui/curses/gui-curses.h
@@ -23,6 +23,8 @@
#include <time.h>
#ifdef HAVE_NCURSESW_CURSES_H
+#include <ncursesw/curses.h>
+#elif HAVE_NCURSESW_NCURSES_H
#include <ncursesw/ncurses.h>
#elif HAVE_NCURSES_H
#include <ncurses.h>
@@ -0,0 +1,19 @@
$NetBSD: patch-src_gui_curses_CMakeLists_txt,v 1.1 2013/06/09 21:19:02 tonio Exp $
Test for ncursesw
--- src/gui/curses/CMakeLists.txt.orig 2013-06-09 20:57:43.000000000 +0000
+++ src/gui/curses/CMakeLists.txt
@@ -34,9 +34,11 @@ SET(EXECUTABLE weechat-curses)
FIND_PACKAGE(Ncurses)
IF(NCURSES_FOUND)
+ CHECK_INCLUDE_FILES(ncursesw/term.h HAVE_NCURSES_TERM_H)
+ CHECK_INCLUDE_FILES(ncursesw/curses.h HAVE_NCURSESW_CURSES_H)
CHECK_INCLUDE_FILES(ncursesw/ncurses.h NCURSESW_HEADERS)
IF(NCURSESW_HEADERS)
- ADD_DEFINITIONS(-DHAVE_NCURSESW_CURSES_H)
+ ADD_DEFINITIONS(-DHAVE_NCURSESW_NCURSES_H)
ELSE(NCURSESW_HEADERS)
CHECK_INCLUDE_FILES(ncurses.h NCURSES_HEADERS)
IF(NCURSES_HEADERS)
@@ -0,0 +1,26 @@
$NetBSD: patch-src_gui_curses_gui-curses-term_c,v 1.2 2013/05/11 18:31:11 riastradh Exp $
Include <ncurses/term.h>, not <ncursesw/term.h>.
Check for HAVE_NCURSES_TERM_H, not for HAVE_NCURSES_CURSES_H.
Workaround for build failure on early NetBSD 6.99.* and prerelease 6.0
(PR 46492)
--- src/gui/curses/gui-curses-term.c.orig 2012-03-10 07:56:43.000000000 +0000
+++ src/gui/curses/gui-curses-term.c
@@ -25,9 +25,13 @@
#include "config.h"
#endif
-#ifdef HAVE_NCURSESW_CURSES_H
-#include <ncursesw/term.h>
+#ifdef HAVE_NCURSES_TERM_H
+#include <ncurses/term.h>
#else
+#ifdef __NetBSD__
+/* workaround for build failure on early 6.99.* and prerelease 6.0 */
+#include <sys/cdefs.h>
+#endif
#include <term.h>
#endif