[93056] trunk/dports/irc/weechat/Portfile

and.damore at macports.org and.damore at macports.org
Mon May 14 07:26:22 PDT 2012


Revision: 93056
          https://trac.macports.org/changeset/93056
Author:   and.damore at macports.org
Date:     2012-05-14 07:26:21 -0700 (Mon, 14 May 2012)
Log Message:
-----------
port weechat: avoid duplicate plugin loading, copy docs according to mphier, close ticket 33456, maintainer timeout

Modified Paths:
--------------
    trunk/dports/irc/weechat/Portfile

Modified: trunk/dports/irc/weechat/Portfile
===================================================================
--- trunk/dports/irc/weechat/Portfile	2012-05-14 14:25:36 UTC (rev 93055)
+++ trunk/dports/irc/weechat/Portfile	2012-05-14 14:26:21 UTC (rev 93056)
@@ -5,6 +5,7 @@
 
 name        weechat
 version     0.3.7
+revision    1
 categories  irc
 maintainers otherware.org:nefar openmaintainer
 license     GPL-3
@@ -76,3 +77,16 @@
     configure.args-append --enable-gnutls
     depends_lib-append    port:gnutls
 }
+
+post-destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath} COPYING README AUTHORS NEWS ABOUT-NLS Changelog \
+        ${destroot}${prefix}/share/doc/${name}
+    eval xinstall -m 644 -W ${worksrcpath} [glob doc/en/weechat*.txt] \
+        ${destroot}${prefix}/share/doc/${name}
+
+    xinstall -m 755 ${worksrcpath}/doc/weechat-curses.1 ${destroot}${prefix}/share/man/man1
+
+    eval delete [glob -type l ${destroot}${prefix}/lib/weechat/plugins/*.so]
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120514/0d1a7a07/attachment.html>


More information about the macports-changes mailing list