source: trunk/dports/irc/supybot/Portfile

Last change on this file was 126322, checked in by jmr@…, 3 years ago

supybot: use unified python portgroup, mark noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
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# $Id: Portfile 126322 2014-10-07 23:10:11Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                supybot
8version             0.83.4.1
9revision            2
10categories          irc python
11license             BSD
12maintainers         snc openmaintainer
13description         IRC bot framework in Python
14long_description    ${description}
15homepage            http://supybot.com/
16
17platforms           darwin
18supported_archs     noarch
19
20use_bzip2           yes
21master_sites        sourceforge
22distname            Supybot-${version}
23
24checksums           rmd160  19fe768a0d814e902467f7e5aee31c04a3ab0024 \
25                    sha256  c4fccaccb53226a5bede1eaa5ea941a8aa53196ce5278a697daf37bd554372fb
26
27python.default_version  27
28
29if {![variant_isset doc]} {
30    default_variants +doc
31}
32
33variant doc description {Install documentation} {
34}
35
36patch {
37    if {[variant_isset doc]} {
38        reinplace s|docs\/|${prefix}/share/${name}/docs/|g ${worksrcpath}/scripts/supybot
39    }
40}
41
42post-destroot {
43    if {[variant_isset doc]} {
44        xinstall -d ${destroot}${prefix}/share/${name}
45        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/${name}/
46    }
47}
48
49livecheck.regex     Supybot-(\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.