source: trunk/dports/devel/bzr-gtk/Portfile

Last change on this file was 142815, checked in by jmr@…, 2 years ago

various ports: remove redundant clearing of python.link_binaries_suffix, the portgroup now handles this

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 142815 2015-11-24 03:22:35Z ryandesign@macports.org $
2
3PortSystem    1.0
4PortGroup     python 1.0
5
6name          bzr-gtk
7version       0.100.0
8revision      3
9set branch    [join [lrange [split ${version} .] 0 1] .]
10categories    devel python
11platforms     darwin
12supported_archs noarch
13license       GPL-2+
14maintainers   raimue
15
16description   Various GTK+ frontends for bzr
17long_description  A bzr plugin that contains various GTK+ frontends to \
18    different bzr commands.
19
20homepage      http://bazaar-vcs.org/bzr-gtk
21master_sites  https://launchpad.net/bzr-gtk/gtk2/${version}/+download/
22
23checksums     md5     a7c2f27072bcacdcf8983ca6a2426dbd \
24              sha1    6f1a55a4011b6e8084783fdc3b07233c3f4fb77a \
25              rmd160  783d099d9be700193c1523a8c6d54826ada49187
26
27python.default_version  27
28
29depends_lib-append  port:bzr \
30                    port:py${python.version}-pygtk
31
32post-destroot {
33    fs-traverse f "${destroot}${python.prefix}/share" {
34        set pfile [string range $f [string length ${destroot}${python.prefix}] end]
35        if {[file isdirectory $f]} {
36            xinstall -d -m 0755 ${destroot}${prefix}${pfile}
37        } else {
38            ln -s ${python.prefix}${pfile} ${destroot}${prefix}${pfile}
39        }
40    }
41}
42
43livecheck.type  regex
44livecheck.url   ${homepage}
45livecheck.regex {bzr-gtk-(\d+(?:\.\d+)*).tar.gz}
Note: See TracBrowser for help on using the repository browser.