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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name mr |
---|
7 | version 1.13 |
---|
8 | categories devel |
---|
9 | platforms darwin |
---|
10 | maintainers googlemail.com:gjasny openmaintainer |
---|
11 | description Multiple repository management tool |
---|
12 | |
---|
13 | long_description The mr(1) command can checkout, update, or perform other actions on a set of \ |
---|
14 | repositories as if they were one combined respository. It supports any combination \ |
---|
15 | of git, svn, mercurial, bzr, darcs, cvs, vcsh, fossil, and veracity repositories, \ |
---|
16 | and support for other version control systems can easily be added. \ |
---|
17 | (There are extensions adding support for unison and git-svn, among others.) |
---|
18 | |
---|
19 | license GPL-2+ |
---|
20 | |
---|
21 | homepage http://joeyh.name/code/mr/ |
---|
22 | |
---|
23 | master_sites debian:m/${name} |
---|
24 | distname ${name}_${version} |
---|
25 | worksrcdir ${name} |
---|
26 | |
---|
27 | checksums rmd160 3d64e271ea0a0ac6dee07c5fb32cc5a8a6e64aa3 \ |
---|
28 | sha256 9f7e93568113497c59f4fdb132f77cba06ca2d1705c1dec506632fded0ec78e0 |
---|
29 | |
---|
30 | supported_archs noarch |
---|
31 | use_configure no |
---|
32 | build.target build |
---|
33 | |
---|
34 | depends_lib port:perl5 |
---|
35 | depends_run port:p5-html-parser port:p5-libwww-perl port:p5-getopt-long |
---|
36 | |
---|
37 | post-patch { |
---|
38 | reinplace -locale C "s|^#!.*perl|#!${prefix}/bin/perl|" "${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/mr |
---|
44 | eval xinstall -W ${worksrcpath} -m 644 [glob lib/*] ${destroot}${prefix}/share/mr |
---|
45 | xinstall -W ${worksrcpath} -m 644 mr.1 webcheckout.1 ${destroot}${prefix}/share/man/man1/ |
---|
46 | } |
---|