Ticket #33456: port-weechat.diff

File port-weechat.diff, 923 bytes (added by anddam (Andrea D'Amore), 13 years ago)

installing manual page too

  • Portfile

     
    55
    66name        weechat
    77version     0.3.7
     8revision    1
    89categories  irc
    910maintainers otherware.org:nefar openmaintainer
    1011license     GPL-3
     
    7677    configure.args-append --enable-gnutls
    7778    depends_lib-append    port:gnutls
    7879}
     80
     81post-destroot {
     82    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     83    xinstall -m 644 -W ${worksrcpath} COPYING README AUTHORS NEWS ABOUT-NLS Changelog \
     84        ${destroot}${prefix}/share/doc/${name}
     85    eval xinstall -m 644 -W ${worksrcpath} [glob doc/en/weechat*.txt] \
     86        ${destroot}${prefix}/share/doc/${name}
     87
     88    xinstall -m 755 ${worksrcpath}/doc/weechat-curses.1 ${destroot}${prefix}/share/man/man1
     89
     90    eval delete [glob -type l ${destroot}${prefix}/lib/weechat/plugins/*.so]
     91}
     92