import ports/net/weechat, from Simon Kuhnle based on a port

from Jona Joachim, ok landry@.

WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
environment for many operating systems. Everything can be done with a
keyboard. It is customizable and extensible with scripts.
This commit is contained in:
sthen 2012-06-26 15:06:42 +00:00
parent e2f5473ee7
commit 7aa17af00c
13 changed files with 147 additions and 0 deletions

82
net/weechat/Makefile Normal file
View File

@ -0,0 +1,82 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/06/26 15:06:42 sthen Exp $
COMMENT-main= fast, light and extensible chat client
COMMENT-lua= Lua bindings for weechat
COMMENT-python= Python bindings for weechat
COMMENT-ruby= Ruby bindings for weechat
COMMENT-tcl= Tcl bindings for weechat
V= 0.3.8
DISTNAME= weechat-${V}
PKGNAME-main= weechat-${V}
PKGNAME-lua= weechat-lua-${V}
PKGNAME-python= weechat-python-${V}
PKGNAME-ruby= weechat-ruby-${V}
PKGNAME-tcl= weechat-tcl-${V}
CATEGORIES= net
HOMEPAGE= http://www.weechat.org/
SHARED_ONLY= Yes
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/files/src/
MULTI_PACKAGES= -main -lua -python -ruby -tcl
WANTLIB-main= c m ncursesw perl pthread util gcrypt gnutls gpg-error iconv intl
WANTLIB-lua= ${MODLUA_WANTLIB}
WANTLIB-python= ${MODPY_WANTLIB}
WANTLIB-ruby= ${MODRUBY_WANTLIB}
WANTLIB-tcl= ${MODTCL_WANTLIB}
MODULES= devel/cmake \
devel/gettext \
lang/lua \
lang/python \
lang/ruby \
lang/tcl
MODLUA_RUNDEP= No
MODPY_RUNDEP= No
MODRUBY_RUNDEP= No
LIB_DEPENDS= security/libgcrypt \
security/gnutls \
security/libgpg-error
LIB_DEPENDS-lua= ${MODLUA_LIB_DEPENDS}
RUN_DEPENDS-lua= ${MODLUA_RUN_DEPENDS}
LIB_DEPENDS-python= ${MODPY_LIB_DEPENDS}
RUN_DEPENDS-python= ${MODPY_RUN_DEPENDS}
LIB_DEPENDS-ruby= ${MODRUBY_LIB_DEPENDS}
RUN_DEPENDS-ruby= ${MODRUBY_RUN_DEPENDS}
LIB_DEPENDS-tcl= ${MODTCL_LIB_DEPENDS}
RUN_DEPENDS-tcl= ${MODTCL_RUN_DEPENDS}
CONFIGURE_ARGS+=-DENABLE_ASPELL=no \
-DENABLE_GUILE=no \
-DENABLE_RUBY=yes \
-DENABLE_LUA=yes \
-DENABLE_TCL=yes \
-DENABLE_PYTHON=yes \
-DHAVE_BACKTRACE=no
post-install:
$(INSTALL_DATA_DIR) ${PREFIX}/share/doc/weechat
$(INSTALL_DATA) $(WRKSRC)/doc/en/*.en.txt ${PREFIX}/share/doc/weechat/
NO_REGRESS= Yes
.include <bsd.port.mk>

5
net/weechat/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (weechat-0.3.8.tar.gz) = 8XRoCfgeVUZiiD68di8ruA==
RMD160 (weechat-0.3.8.tar.gz) = s5/JdC24ZkqGxx5vg78eGPotXOQ=
SHA1 (weechat-0.3.8.tar.gz) = ctYMHhc5Dx+1x9JyAWl+kAI2nLk=
SHA256 (weechat-0.3.8.tar.gz) = QpPrnSnxG47owwEEnVflNay+pne8HcQasS/hu4rw8Q4=
SIZE (weechat-0.3.8.tar.gz) = 3517366

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-doc_CMakeLists_txt,v 1.1.1.1 2012/06/26 15:06:42 sthen Exp $
--- doc/CMakeLists.txt.orig Tue Jun 26 12:44:21 2012
+++ doc/CMakeLists.txt Tue Jun 26 12:45:09 2012
@@ -35,4 +35,4 @@ IF(ENABLE_DOC)
ENDIF(ENABLE_DOC)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${SHAREDIR}/man/man1)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1)

View File

@ -0,0 +1 @@
Lua bindings for weechat.

View File

@ -0,0 +1,3 @@
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
environment for many operating systems. Everything can be done with a
keyboard. It is customizable and extensible with scripts.

View File

@ -0,0 +1 @@
Python bindings for weechat.

View File

@ -0,0 +1 @@
Ruby bindings for weechat.

View File

@ -0,0 +1 @@
Tcl bindings for weechat.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-lua,v 1.1.1.1 2012/06/26 15:06:42 sthen Exp $
lib/weechat/plugins/lua.so

View File

@ -0,0 +1,36 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2012/06/26 15:06:42 sthen Exp $
@bin bin/weechat-curses
include/weechat/
include/weechat/weechat-plugin.h
lib/pkgconfig/weechat.pc
lib/weechat/
lib/weechat/plugins/
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/perl.so
lib/weechat/plugins/relay.so
lib/weechat/plugins/rmodifier.so
lib/weechat/plugins/xfer.so
@man man/man1/weechat-curses.1
share/doc/weechat/
share/doc/weechat/weechat_dev.en.txt
share/doc/weechat/weechat_faq.en.txt
share/doc/weechat/weechat_plugin_api.en.txt
share/doc/weechat/weechat_quickstart.en.txt
share/doc/weechat/weechat_relay_protocol.en.txt
share/doc/weechat/weechat_scripting.en.txt
share/doc/weechat/weechat_tester.en.txt
share/doc/weechat/weechat_user.en.txt
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

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-python,v 1.1.1.1 2012/06/26 15:06:42 sthen Exp $
lib/weechat/plugins/python.so

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-ruby,v 1.1.1.1 2012/06/26 15:06:42 sthen Exp $
lib/weechat/plugins/ruby.so

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST-tcl,v 1.1.1.1 2012/06/26 15:06:42 sthen Exp $
lib/weechat/plugins/tcl.so