Ticket #7851: Portfile

File Portfile, 1.4 KB (added by opendarwin.nospam@…, 19 years ago)

portfile

Line 
1PortSystem 1.0
2PortGroup python24 1.0
3
4name                                    mercurial
5version                                 0.8
6categories                              devel python
7platforms                               darwin
8maintainers                             opendarwin.nospam@vercruesse.de
9description                             A fast, lightweight, distributed Source Control Management system
10long_description                Mercurial is a fast, lightweight Source Control \
11                                                Management system designed for efficient handling \
12                                                of very large distributed projects. A distributed \
13                                                SCM tool is designed to support a model in which \
14                                                each Repository is loosely coupled to many others. \
15                                                Each Repository contains a complete set of metadata \
16                                                describing one or more projects. These repositories \
17                                                may be located almost anywhere. Individual developers \
18                                                only need access to their own repositories, not to a \
19                                                central one, in order to commit changes.
20
21homepage                                http://www.selenic.com/mercurial
22master_sites                    ${homepage}/release/
23checksums                               md5 4d418e96dd232d804799fca3458ba2b6
24
25post-destroot {
26        # install html docs
27        xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgmerge.1.html hgrc.5.html \
28                ${destroot}/${prefix}/share/doc/${name}
29        # install man pages
30        xinstall -m 444 -W ${worksrcpath}/doc hg.1 hgmerge.1 ${destroot}/${prefix}/share/man/man1
31        xinstall -m 444 -W ${worksrcpath}/doc hgrc.5 ${destroot}/${prefix}/share/man/man5
32        # install contrib stuff
33        xinstall -d -m 755 ${destroot}${prefix}/share/${name}
34        file copy ${worksrcpath}/contrib ${destroot}${prefix}/share/${name}/contrib
35}