source: trunk/dports/devel/mercurial/Portfile @ 17520

Last change on this file since 17520 was 17520, checked in by mww, 12 years ago

Bug: #8271
Submitted by: deric@…
Reviewed by: mww@

new port devel/mercurial

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1# $Id: Portfile,v 1.1 2006/04/16 09:58:30 mww Exp $
2
3PortSystem          1.0
4PortGroup           python24 1.0
5name                mercurial
6version             0.8.1
7categories          devel python
8maintainers         deric@caveo.se
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 ffa37810cf9c48608f5172a622bef2f5 \
27                    sha1 7d71b6d0f73ec8b90d774b5251e69023e1ca7857 \
28                    rmd160 0dca740eb32297813489162f9564ba349747be35
29
30post-destroot {
31    # install html docs
32    xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgmerge.1.html hgrc.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 \
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}
Note: See TracBrowser for help on using the repository browser.