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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup joeyh myrepos 1.20130826 |
---|
8 | |
---|
9 | categories devel |
---|
10 | platforms darwin |
---|
11 | maintainers googlemail.com:gjasny openmaintainer |
---|
12 | license GPL-2+ |
---|
13 | |
---|
14 | description Multiple repository management tool |
---|
15 | |
---|
16 | long_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 | |
---|
22 | homepage http://myrepos.branchable.com/ |
---|
23 | |
---|
24 | checksums rmd160 0d6d3d7a5e4ec0e3ca3dad8b86357c4372a9df5f \ |
---|
25 | sha256 ebfb45760de2e22fa2c6d5d5ad1f4583529c81793f5388667327acbffe39cf63 |
---|
26 | |
---|
27 | supported_archs noarch |
---|
28 | use_configure no |
---|
29 | build.target build |
---|
30 | |
---|
31 | depends_lib port:perl5.12 |
---|
32 | |
---|
33 | depends_run port:p5.12-html-parser \ |
---|
34 | port:p5.12-libwww-perl \ |
---|
35 | port:p5.12-getopt-long |
---|
36 | |
---|
37 | post-patch { |
---|
38 | reinplace -locale C "s|^#!.*perl|#!${prefix}/bin/perl5.12|" ${worksrcpath}/mr ${worksrcpath}/webcheckout |
---|
39 | } |
---|
40 | |
---|
41 | destroot { |
---|
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 | } |
---|