Ticket #37735: weechat-0.4.0-works.diff
File weechat-0.4.0-works.diff, 6.2 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
files/patch-src_plugins_Makefile.diff
1 --- src/plugins/Makefile. in.orig 2012-12-16 00:47:36.000000000 +01002 +++ src/plugins/Makefile. in 2012-12-16 00:48:49.000000000 +01003 @@ - 831,8 +831,8 @@1 --- src/plugins/Makefile.am.orig 2013-01-20 02:21:06.000000000 -0600 2 +++ src/plugins/Makefile.am 2013-01-21 23:40:25.000000000 -0600 3 @@ -117,8 +117,8 @@ 4 4 # install plugin header 5 5 6 6 install-data-hook: 7 7 - $(INSTALL) -d $(includedir)/$(PACKAGE) 8 8 - $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(includedir)/$(PACKAGE) 9 + $(INSTALL) -d $(DESTDIR) /$(includedir)/$(PACKAGE)10 + $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(DESTDIR) /$(includedir)/$(PACKAGE)9 + $(INSTALL) -d $(DESTDIR)$(includedir)/$(PACKAGE) 10 + $(INSTALL_DATA) $(abs_top_srcdir)/src/plugins/weechat-plugin.h $(DESTDIR)$(includedir)/$(PACKAGE) 11 11 12 12 # uninstall plugin header 13 13 -
files/patch-src_plugins_script_script_repo.diff
1 --- src/plugins/script/script-repo.h.orig 2012-12-16 00:15:16.000000000 +01002 +++ src/plugins/script/script-repo.h 2012-12-16 00:15:36.000000000 +01003 @@ -57,7 +57,7 @@4 extern struct t_script_repo *scripts_repo;5 extern struct t_script_repo *last_script_repo;6 extern int script_repo_count, script_repo_count_displayed;7 -struct t_hashtable *script_repo_max_length_field;8 +extern struct t_hashtable *script_repo_max_length_field;9 extern char *script_repo_filter;10 11 extern int script_repo_script_valid (struct t_script_repo *script); -
Portfile
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 2 # $Id$ 3 3 4 PortSystem 1.0 4 PortSystem 1.0 5 PortGroup cmake 1.0 5 6 6 7 name weechat 7 version 0. 3.98 version 0.4.0 8 9 categories irc 9 10 maintainers otherware.org:nefar openmaintainer 10 11 license GPL-3 … … 24 25 platforms darwin 25 26 master_sites ${homepage}files/src 26 27 27 checksums rmd160 eb159b3ff8b074aaeb6002a2247b2d909cbf1937\28 sha256 9e121aba26b6bb5cef94db22d7d77b2d8f189c910bf07ffc542a08baab79deb028 checksums rmd160 70a3b67762227c8408b8ca880ea1af15fcc7fe81 \ 29 sha256 1df12201d8b0ac25f62ddbfb675e8f3d978e52bc5b644d55ccf4c755956fa60d 29 30 30 depends_build port:pkgconfig 31 depends_lib port:gettext port:libiconv port:ncurses port:libgcrypt 31 depends_lib-append port:gettext \ 32 port:libgcrypt \ 33 port:libiconv \ 34 port:ncurses 32 35 33 patchfiles \ 34 patch-src_plugins_Makefile.diff \ 35 patch-src_plugins_script_script_repo.diff 36 patchfiles patch-src_plugins_Makefile.diff 36 37 37 configure.args --without-debug --disable-gnutls --disable-lua \ 38 --disable-perl --disable-python --disable-ruby --disable-aspell --disable-guile 38 configure.args-append -DENABLE_GNUTLS=OFF \ 39 -DENABLE_LUA=OFF \ 40 -DENABLE_GUILE=OFF \ 41 -DENABLE_PERL=OFF \ 42 -DENABLE_PYTHON=OFF \ 43 -DENABLE_RUBY=OFF \ 44 -DENABLE_ASPELL=OFF 39 45 40 46 use_bzip2 yes 41 47 42 48 variant aspell description {Support for aspell} { 43 configure.args-delete - -disable-aspell44 configure.args-append - -enable-aspell49 configure.args-delete -DENABLE_ASPELL=OFF 50 configure.args-append -DENABLE_ASPELL=ON 45 51 depends_lib-append port:aspell 46 52 } 47 53 48 54 variant lua description {Bindings for lua plugins} { 49 configure.args-delete - -disable-lua50 configure.args-append - -enable-lua55 configure.args-delete -DENABLE_LUA=OFF 56 configure.args-append -DENABLE_LUA=ON 51 57 depends_lib-append port:lua 52 58 } 53 59 54 60 variant scheme description {Bindings for Scheme (guile) plugins} { 55 configure.args-delete - -disable-guile56 configure.args-append - -enable-guile61 configure.args-delete -DENABLE_GUILE=OFF 62 configure.args-append -DENABLE_GUILE=ON 57 63 depends_lib-append port:guile 58 64 } 59 65 60 66 variant perl description {Bindings for perl plugins} { 61 configure.args-delete - -disable-perl62 configure.args-append - -enable-perl67 configure.args-delete -DENABLE_PERL=OFF 68 configure.args-append -DENABLE_PERL=ON 63 69 depends_lib-append path:bin/perl:perl5 64 70 } 65 71 66 72 variant python description {Bindings for python plugins} { 67 configure.args-delete - -disable-python68 configure.args-append - -enable-python73 configure.args-delete -DENABLE_PYTHON=OFF 74 configure.args-append -DENABLE_PYTHON=ON 69 75 depends_lib-append path:bin/python:python26 70 76 } 71 77 72 78 variant ruby description {Bindings for ruby plugins} { 73 configure.args-delete - -disable-ruby74 configure.args-append - -enable-ruby79 configure.args-delete -DENABLE_RUBY=OFF 80 configure.args-append -DENABLE_RUBY=ON 75 81 depends_lib-append port:ruby 76 82 } 77 83 78 84 variant tls description {Support for secure connecting} { 79 configure.args-delete - -disable-gnutls80 configure.args-append - -enable-gnutls85 configure.args-delete -DENABLE_GNUTLS=OFF 86 configure.args-append -DENABLE_GNUTLS=ON 81 87 depends_lib-append port:gnutls 82 88 } 83 89 84 90 post-destroot { 85 91 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 86 xinstall -m 644 -W ${worksrcpath} COPYING README AUTHORS NEWS ABOUT-NLS ChangeLog\92 xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ 87 93 ${destroot}${prefix}/share/doc/${name} 88 94 eval xinstall -m 644 -W ${worksrcpath} [glob doc/en/weechat*.txt] \ 89 95 ${destroot}${prefix}/share/doc/${name} 90 91 xinstall -m 755 ${worksrcpath}/doc/weechat-curses.1 ${destroot}${prefix}/share/man/man192 93 eval delete [glob -type l ${destroot}${prefix}/lib/weechat/plugins/*.so]94 96 } 95 97 96 98 post-install {