Ticket #12178: Portfile

File Portfile, 2.1 KB (added by pb-macports@…, 17 years ago)
Line 
1# $Id: Portfile 21128 2007-01-05 06:14:46Z deric@macports.org $
2
3PortSystem          1.0
4PortGroup           python24 1.0
5name                mercurial
6version             0.9.4
7categories          devel python
8maintainers         deric@macports.org
9description         A fast, lightweight, distributed SCM system written in \
10                    Python.
11long_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                   
24homepage            http://www.selenic.com/mercurial/
25master_sites        ${homepage}release/
26checksums           md5 2e5ac6ddf434534938d4fc27dc9797c9 \
27                    sha1 8dbebd76ab59611177b8385bbb97c9a40fe71683 \
28                    rmd160 bd70a49a98f53cd8bd553ca555fc25fd953ff538
29
30post-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}