Changeset 88890


Ignore:
Timestamp:
Jan 14, 2012, 7:38:57 PM (6 years ago)
Author:
phw@…
Message:

py-irclib: generalized and updated port;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-irclib/Portfile

    r30249 r88890  
     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
    12# $Id$
    23
    34PortSystem 1.0
    4 PortGroup python24 1.0
     5PortGroup python 1.0
    56
    67name                    py-irclib
    7 version                 0.4.6
     8version                 0.4.8
     9python.versions 24 25 26 27
    810categories              python irc
    911platforms               darwin freebsd
    10 maintainers             nomaintainer
     12maintainers             phw openmaintainer
    1113description             python module that encapsulates the IRC protocol
    1214long_description        This library is intended to encapsulate the IRC \
     
    1921master_sites    sourceforge:python-irclib
    2022distname                python-irclib-${version}
    21 checksums               sha1 25d53d92c34d2a4ce39da70ea5ef33a7adce690d
     23checksums       sha1    813a9182045e8cf6c4d1a76b707fb64c2fcf22c4
    2224
    23 post-destroot   {
    24         xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README \
    25                 ${destroot}${prefix}/share/doc/${name}
    26         xinstall -m 644 -W ${worksrcpath} dccreceive dccsend irccat irccat2 \
    27                 servermap testbot.py \
    28                 ${destroot}${prefix}/share/doc/${name}/examples
     25if {${name} != ${subport}} {
     26    post-destroot       {
     27        xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README \
     28                ${destroot}${prefix}/share/doc/${subport}
     29        xinstall -m 644 -W ${worksrcpath} dccreceive dccsend irccat irccat2 \
     30                servermap testbot.py \
     31                ${destroot}${prefix}/share/doc/${subport}/examples
     32    }
     33
    2934}
Note: See TracChangeset for help on using the changeset viewer.