Changeset 73642 for trunk/dports/irc


Ignore:
Timestamp:
Nov 20, 2010, 3:01:24 PM (9 years ago)
Author:
snc@…
Message:

supybot:

  • switch to python26
  • include license
  • add documentation as default variant
  • fix livecheck
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/irc/supybot/Portfile

    r55428 r73642  
    33
    44PortSystem          1.0
    5 PortGroup           python25 1.0
     5PortGroup           python26 1.0
    66
    77name                        supybot
    88version                     0.83.4.1
     9revision            1
    910categories                  irc python
    10 #license             BSD
     11license             BSD
    1112maintainers                 snc openmaintainer
    1213description                 IRC bot framework in Python
     
    2021distname                    Supybot-${version}
    2122checksums           md5     96ce90559c7d6fde5e3c93174c509408 \
    22                     sha1    e9a0443557c82f983c6144d238a28d2ca83dc2d3 \
    23                     rmd160  19fe768a0d814e902467f7e5aee31c04a3ab0024
     23                    sha1    e9a0443557c82f983c6144d238a28d2ca83dc2d3
    2424
    25 livecheck.regex     "<title>supybot Supybot-(\\d+\\.\\d+\\.\\d+(\\.\\d+)?) released.*</title>"
     25if {![variant_isset doc]} {
     26    default_variants +doc
     27}
     28
     29variant doc description {Install documentation} {
     30}
     31
     32patch {
     33    if {[variant_isset doc]} {
     34        reinplace s|docs\/|${prefix}/share/${name}/docs/|g ${worksrcpath}/scripts/supybot
     35    }
     36}
     37
     38post-destroot {
     39    if {[variant_isset doc]} {
     40        xinstall -d ${destroot}${prefix}/share/${name}
     41        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/${name}/
     42    }
     43}
     44
     45livecheck.regex     Supybot-(\\d+(\\.\\d+)+)
Note: See TracChangeset for help on using the changeset viewer.