Ticket #40799: myrepos-Portfile

File myrepos-Portfile, 1.9 KB (added by gjasny@…, 11 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 99232 2012-10-30 00:10:29Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        joeyh myrepos 1.20130826
8
9categories          devel
10platforms           darwin
11maintainers         googlemail.com:gjasny openmaintainer
12license             GPL-2+
13
14description         Multiple repository management tool
15
16long_description    The mr(1) command can checkout, update, or perform other actions on a set of \
17                    repositories as if they were one combined respository. It supports any combination \
18                    of git, svn, mercurial, bzr, darcs, cvs, vcsh, fossil, and veracity repositories, \
19                    and support for other version control systems can easily be added. \
20                    (There are extensions adding support for unison and git-svn, among others.)
21
22homepage            http://myrepos.branchable.com/
23
24checksums           rmd160  0d6d3d7a5e4ec0e3ca3dad8b86357c4372a9df5f \
25                    sha256  ebfb45760de2e22fa2c6d5d5ad1f4583529c81793f5388667327acbffe39cf63
26
27supported_archs     noarch
28use_configure       no
29build.target        build
30
31depends_lib         port:perl5.12
32
33depends_run         port:p5.12-html-parser \
34                    port:p5.12-libwww-perl \
35                    port:p5.12-getopt-long
36
37post-patch {
38    reinplace -locale C "s|^#!.*perl|#!${prefix}/bin/perl5.12|" ${worksrcpath}/mr ${worksrcpath}/webcheckout
39}
40
41destroot {
42    xinstall -W ${worksrcpath} -m 755 mr webcheckout ${destroot}${prefix}/bin
43    xinstall -d -m 755 ${destroot}${prefix}/share/${name}
44    eval xinstall -W ${worksrcpath} -m 644 [glob lib/*] ${destroot}${prefix}/share/${name}
45    xinstall -W ${worksrcpath} -m 644 mr.1 webcheckout.1 ${destroot}${prefix}/share/man/man1/
46}