1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python26 1.0 |
---|
6 | |
---|
7 | name tortoisehg |
---|
8 | version 2.0.3 |
---|
9 | categories devel python |
---|
10 | platforms darwin |
---|
11 | license GPL-2 |
---|
12 | maintainers superquadratic.net:guido openmaintainer |
---|
13 | |
---|
14 | description A set of graphical tools for Mercurial |
---|
15 | |
---|
16 | long_description A set of graphical tools for the Mercurial distributed \ |
---|
17 | revision control system. |
---|
18 | |
---|
19 | homepage http://tortoisehg.bitbucket.org/ |
---|
20 | master_sites http://bitbucket.org/tortoisehg/targz/downloads/ |
---|
21 | checksums md5 9fa5cea72faa4113bbff9de319e38193 \ |
---|
22 | sha1 9275a8f9a58648047107023a5adfbf56f42afa22 \ |
---|
23 | rmd160 a69f7344b27bbc317f0169e9ba7f2b49d4271842 |
---|
24 | |
---|
25 | depends_run port:mercurial \ |
---|
26 | port:py26-pyqt4 \ |
---|
27 | port:py26-qscintilla \ |
---|
28 | port:py26-iniparse |
---|
29 | |
---|
30 | depends_build port:py26-sphinx |
---|
31 | |
---|
32 | patchfiles patch-setup.py.diff |
---|
33 | |
---|
34 | universal_variant no |
---|
35 | |
---|
36 | python.link_binaries_suffix |
---|
37 | |
---|
38 | pre-build { |
---|
39 | file copy ${filespath}/config.py ${worksrcpath}/tortoisehg/util/ |
---|
40 | reinplace "s|{prefix}|${prefix}|" ${worksrcpath}/tortoisehg/util/config.py |
---|
41 | reinplace "s|{python.prefix}|${python.prefix}|" ${worksrcpath}/tortoisehg/util/config.py |
---|
42 | } |
---|
43 | |
---|
44 | post-destroot { |
---|
45 | system "cd ${worksrcpath}/doc && make SPHINXBUILD=sphinx-build-2.6 html" |
---|
46 | file copy ${worksrcpath}/doc/build/html ${destroot}${prefix}/share/doc/${name}/html |
---|
47 | |
---|
48 | xinstall -m 644 -W ${worksrcpath} COPYING.txt ${destroot}${prefix}/share/doc/${name} |
---|
49 | } |
---|