1 | # $Id: Portfile 30130 2007-10-20 21:32:02Z deric@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python24 1.0 |
---|
5 | name mercurial |
---|
6 | version 0.9.5 |
---|
7 | categories devel python |
---|
8 | maintainers deric@macports.org |
---|
9 | description A fast, lightweight, distributed SCM system written in \ |
---|
10 | Python. |
---|
11 | long_description Mercurial is a fast, lightweight Source Control Management \ |
---|
12 | system designed for efficient handling of very large \ |
---|
13 | distributed projects. A distributed SCM tool is designed \ |
---|
14 | to support a model in which each Repository is loosely \ |
---|
15 | coupled to many others. Each Repository contains a \ |
---|
16 | complete set of metadata describing one or more projects. \ |
---|
17 | These repositories may be located almost anywhere. \ |
---|
18 | Individual developers only need access to their own \ |
---|
19 | repositories, not to a central one, in order to commit \ |
---|
20 | changes. Changes can be share via the builtin webserver, \ |
---|
21 | CGI, SSH or a stream of patch emails. Mercurial supports \ |
---|
22 | Apples' FileMerge for merges.\ |
---|
23 | |
---|
24 | homepage http://www.selenic.com/mercurial/ |
---|
25 | master_sites ${homepage}release/ |
---|
26 | checksums md5 a9dd54bcb87ca332315ce83293816e37 \ |
---|
27 | sha1 889a83f4cdcead93323d7cf4276751cc20396455 \ |
---|
28 | rmd160 ea38d3142a4b1087e2777de3b70df8b4672cd237 |
---|
29 | |
---|
30 | post-destroot { |
---|
31 | # install html docs |
---|
32 | xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgmerge.1.html hgrc.5.html hgignore.5.html \ |
---|
33 | ${destroot}/${prefix}/share/doc/${name} |
---|
34 | |
---|
35 | # install man pages |
---|
36 | xinstall -m 444 -W ${worksrcpath}/doc hg.1 hgmerge.1 \ |
---|
37 | ${destroot}/${prefix}/share/man/man1 |
---|
38 | xinstall -m 444 -W ${worksrcpath}/doc hgrc.5 hgignore.5 \ |
---|
39 | ${destroot}/${prefix}/share/man/man5 |
---|
40 | |
---|
41 | # install contrib stuff |
---|
42 | xinstall -d -m 755 ${destroot}${prefix}/share/${name} |
---|
43 | file copy ${worksrcpath}/contrib ${destroot}${prefix}/share/${name}/contrib |
---|
44 | } |
---|