# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # weechat-devel # weechat-devel/distinfo # weechat-devel/pkg-descr # weechat-devel/pkg-plist # weechat-devel/Makefile # weechat-devel/files # weechat-devel/files/patch-cmake-FindRuby_cmake # echo c - weechat-devel mkdir -p weechat-devel > /dev/null 2>&1 echo x - weechat-devel/distinfo sed 's/^X//' >weechat-devel/distinfo << '62a3cdf691f2783cc691eeb9bd903460' XMD5 (weechat-devel-2fc187743cf19ff45cde6f6106fc45952ee929f2.tar.gz) = 509671505c4d9b5e963e79ce6badd1f6 XSHA256 (weechat-devel-2fc187743cf19ff45cde6f6106fc45952ee929f2.tar.gz) = d6de18eb3b95eebb9fe6afb61ede73c9b908804a2ac741f4f2bb57778bd019b0 XSIZE (weechat-devel-2fc187743cf19ff45cde6f6106fc45952ee929f2.tar.gz) = 1305637 62a3cdf691f2783cc691eeb9bd903460 echo x - weechat-devel/pkg-descr sed 's/^X//' >weechat-devel/pkg-descr << '8f8f2735ca050775aa8ef5356daab164' XWeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC Xclient. Everything can be done with a keyboard, and it is customizable Xand extensible with scripts. For the moment, only ncurse GUI is Xsupported by this port. X XNote: this is not the official release version, this is a git snapshot, which Xmay in some cases be unstable. X XWWW: http://git.savannah.gnu.org/gitweb/?p=weechat.git 8f8f2735ca050775aa8ef5356daab164 echo x - weechat-devel/pkg-plist sed 's/^X//' >weechat-devel/pkg-plist << '574214165b25ce3b6b91d2b5257b86e7' Xbin/weechat-curses Xinclude/weechat/weechat-plugin.h Xlib/weechat/plugins/alias.so Xlib/weechat/plugins/fifo.so Xlib/weechat/plugins/irc.so Xlib/weechat/plugins/logger.so Xlib/weechat/plugins/xfer.so Xlibdata/pkgconfig/weechat.pc X%%ASPELL%%lib/weechat/plugins/aspell.so X%%CHARSET%%lib/weechat/plugins/charset.so X%%LUA%%lib/weechat/plugins/lua.so X%%PERL%%lib/weechat/plugins/perl.so X%%PYTHON%%lib/weechat/plugins/python.so X%%RUBY%%lib/weechat/plugins/ruby.so X%%TCL%%lib/weechat/plugins/tcl.so X%%DOCUMENTATION%%share/doc/weechat/weechat_faq.de.html X%%DOCUMENTATION%%share/doc/weechat/weechat_faq.en.html X%%DOCUMENTATION%%share/doc/weechat/weechat_faq.fr.html X%%DOCUMENTATION%%share/doc/weechat/weechat_faq.it.html X%%DOCUMENTATION%%share/doc/weechat/weechat_faq.pl.html X%%DOCUMENTATION%%share/doc/weechat/weechat_plugin_api.en.html X%%DOCUMENTATION%%share/doc/weechat/weechat_plugin_api.fr.html X%%DOCUMENTATION%%share/doc/weechat/weechat_quickstart.de.html X%%DOCUMENTATION%%share/doc/weechat/weechat_quickstart.en.html X%%DOCUMENTATION%%share/doc/weechat/weechat_quickstart.fr.html X%%DOCUMENTATION%%share/doc/weechat/weechat_quickstart.ja.html X%%DOCUMENTATION%%share/doc/weechat/weechat_quickstart.it.html X%%DOCUMENTATION%%share/doc/weechat/weechat_quickstart.pl.html X%%DOCUMENTATION%%share/doc/weechat/weechat_quickstart.ru.html X%%DOCUMENTATION%%share/doc/weechat/weechat_scripting.en.html X%%DOCUMENTATION%%share/doc/weechat/weechat_scripting.fr.html X%%DOCUMENTATION%%share/doc/weechat/weechat_tester.de.html X%%DOCUMENTATION%%share/doc/weechat/weechat_tester.en.html X%%DOCUMENTATION%%share/doc/weechat/weechat_tester.fr.html X%%DOCUMENTATION%%share/doc/weechat/weechat_tester.it.html X%%DOCUMENTATION%%share/doc/weechat/weechat_tester.pl.html X%%DOCUMENTATION%%share/doc/weechat/weechat_user.en.html X%%DOCUMENTATION%%share/doc/weechat/weechat_user.fr.html X%%DOCUMENTATION%%share/doc/weechat/weechat_user.it.html X%%NLS%%share/locale/cs/LC_MESSAGES/weechat.mo X%%NLS%%share/locale/de/LC_MESSAGES/weechat.mo X%%NLS%%share/locale/es/LC_MESSAGES/weechat.mo X%%NLS%%share/locale/fr/LC_MESSAGES/weechat.mo X%%NLS%%share/locale/hu/LC_MESSAGES/weechat.mo X%%NLS%%share/locale/it/LC_MESSAGES/weechat.mo X%%NLS%%share/locale/pl/LC_MESSAGES/weechat.mo X%%NLS%%share/locale/ru/LC_MESSAGES/weechat.mo X@dirrmtry lib/weechat/plugins X@dirrmtry lib/weechat X@dirrmtry share/doc/weechat X@dirrm include/weechat 574214165b25ce3b6b91d2b5257b86e7 echo x - weechat-devel/Makefile sed 's/^X//' >weechat-devel/Makefile << '85297a2238e5963f3c7caae6339eefc3' X# New ports collection makefile for: weechat-devel X# Date created: 2010-01-06 X# Whom: Jase Thew X# X# $FreeBSD$ X# X XPORTNAME= weechat XPORTVERSION= 20100222 XCATEGORIES= irc XMASTER_SITES= http://perturb.me.uk/distfiles/ \ X http://freebsd.unixfreunde.de/sources/ XPKGNAMESUFFIX= -devel XDISTNAME= weechat-devel-2fc187743cf19ff45cde6f6106fc45952ee929f2 X XMAINTAINER= freebsd@beardz.net XCOMMENT= A lightweight and user friendly ncurse based IRC client X XCONFLICTS= weechat-0.3* X XUSE_ICONV= yes XUSE_LDCONFIG= yes XUSE_CMAKE= yes XCMAKE_USE_PTHREAD= yes XCFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib XWANT_PERL= yes X XOPTIONS= RUBY "Ruby scripting support." Off \ X PYTHON "Python scripting support." Off \ X PERL "Perl scripting support." Off \ X TCL "TCL scripting support." Off \ X LUA "Lua scripting support." Off \ X CHARSET "Charset support." On \ X DEBUG "Debugging." On \ X ASPELL "Spell checking." Off \ X GNUTLS "GNU TLS." Off \ X NLS "NLS support." On \ X DOCUMENTATION "Build documentation." Off X XWRKSRC= ${WRKDIR}/${PORTNAME} X X.include X X.if defined(WITH_DEBUG) XCMAKE_BUILD_TYPE= Debug X.endif X X.if defined(WITHOUT_CHARSET) XCMAKE_ARGS+= -DDISABLE_CHARSET=yes XPLIST_SUB+= CHARSET="@comment " X.else XPLIST_SUB+= CHARSET="" X.endif X X.if defined(WITHOUT_NLS) XCMAKE_ARGS+= -DDISABLE_NLS=yes XPLIST_SUB+= NLS="@comment " X.else XUSE_GETTEXT= yes XPLIST_SUB+= NLS="" X.endif X X.if defined(WITH_ASPELL) XBUILD_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell XPLIST_SUB+= ASPELL="" X.else XCMAKE_ARGS+= -DDISABLE_ASPELL=yes XPLIST_SUB+= ASPELL="@comment " X.endif X X.if defined(WITH_PYTHON) XUSE_PYTHON= yes XPLIST_SUB+= PYTHON="" X.else XCMAKE_ARGS+= -DDISABLE_PYTHON=yes XPLIST_SUB+= PYTHON="@comment " X.endif X X.if defined(WITH_RUBY) X.include "${PORTSDIR}/Mk/bsd.ruby.mk" XUSE_RUBY= yes XPLIST_SUB+= RUBY="" X.else XCMAKE_ARGS+= -DDISABLE_RUBY=yes XPLIST_SUB+= RUBY="@comment " X.endif X X.if defined(WITH_GNUTLS) XLIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls X.else XCMAKE_ARGS+= -DDISABLE_GNUTLS=yes X.endif X X.if defined(WITH_PERL) XUSE_PERL5= yes XPLIST_SUB+= PERL="" X.else XCMAKE_ARGS+= -DDISABLE_PERL=yes XPLIST_SUB+= PERL="@comment " X.endif X X.if defined(WITH_TCL) XUSE_TCL= 83+ X.include "${PORTSDIR}/Mk/bsd.tcl.mk" XPLIST_SUB+= TCL="" X.else XCMAKE_ARGS+= -DDISABLE_TCL=yes XPLIST_SUB+= TCL="@comment " X.endif X X.if defined(WITH_LUA) XUSE_LUA= 5.0+ XPLIST_SUB+= LUA="" X.else XCMAKE_ARGS+= -DDISABLE_LUA=yes XPLIST_SUB+= LUA="@comment " X.endif X X.if defined(WITH_DOCUMENTATION) XBUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc XBUILD_DEPENDS+= source-highlight:${PORTSDIR}/textproc/source-highlight XPLIST_SUB+= DOCUMENTATION="" X.else XCMAKE_ARGS+= -DDISABLE_DOC=yes XPLIST_SUB+= DOCUMENTATION="@comment " X.endif X XMAN1= weechat-curses.1 X Xpost-patch: X @${REINPLACE_CMD} -e 's|$${LIBDIR}/../pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt X @${REINPLACE_CMD} -e 's|INSTALL|#INSTALL|' ${WRKSRC}/doc/CMakeLists.txt X Xpost-install: X ${INSTALL_MAN} ${WRKSRC}/doc/weechat-curses.1 ${MANPREFIX}/man/man1 X X.include 85297a2238e5963f3c7caae6339eefc3 echo c - weechat-devel/files mkdir -p weechat-devel/files > /dev/null 2>&1 echo x - weechat-devel/files/patch-cmake-FindRuby_cmake sed 's/^X//' >weechat-devel/files/patch-cmake-FindRuby_cmake << 'ef546d940dde248b4247f173ae9d6828' X--- cmake/FindRuby.cmake.orig 2010-01-05 21:12:22.000000000 +0000 X+++ cmake/FindRuby.cmake 2010-01-05 21:14:40.000000000 +0000 X@@ -35,7 +35,7 @@ X X IF(RUBY_EXECUTABLE) X EXECUTE_PROCESS( X- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubyhdrdir'] || Config::CONFIG['archdir']" X+ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['topdir']" X OUTPUT_VARIABLE RUBY_ARCH_DIR X ) X X@@ -45,12 +45,12 @@ X ) X X EXECUTE_PROCESS( X- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['libdir']" X+ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::TOPDIR + '/lib'" X OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH X ) X X EXECUTE_PROCESS( X- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubylibdir']" X+ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::TOPDIR + '/lib/ruby/' + Config::CONFIG['ruby_version']" X OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH X ) X ef546d940dde248b4247f173ae9d6828 exit