source: trunk/dports/devel/myrepos/Portfile

Last change on this file was 154079, checked in by mojca@…, 11 months ago

myrepos: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
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 154079 2016-10-20 01:33:55Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           perl5 1.0
7
8github.setup        joeyh myrepos 1.20160123
9revision            1
10
11categories          devel
12platforms           darwin
13maintainers         googlemail.com:gjasny openmaintainer
14license             GPL-2+
15
16description         Multiple repository management tool
17
18long_description    The mr(1) command can checkout, update, or perform other actions on a set of \
19                    repositories as if they were one combined respository. It supports any combination \
20                    of git, svn, mercurial, bzr, darcs, cvs, vcsh, fossil, and veracity repositories, \
21                    and support for other version control systems can easily be added. \
22                    (There are extensions adding support for unison and git-svn, among others.)
23
24homepage            http://myrepos.branchable.com/
25
26checksums           rmd160  384627c616559acedfc9ea8bdd458c45b176c05a \
27                    sha256  fafabe64ccbd80b2ad942404c60b0f05dbad56de930e09185321408bf11d7e26
28
29supported_archs     noarch
30use_configure       no
31build.target        build
32
33perl5.branches      5.24
34depends_lib         port:perl${perl5.major}
35
36depends_run         port:p${perl5.major}-html-parser \
37                    port:p${perl5.major}-libwww-perl \
38                    port:p${perl5.major}-getopt-long
39
40post-patch {
41    reinplace -locale C "s|^#!.*perl|#!${perl5.bin}|" ${worksrcpath}/mr ${worksrcpath}/webcheckout
42}
43
44destroot {
45    xinstall -W ${worksrcpath} -m 755 mr webcheckout ${destroot}${prefix}/bin
46    xinstall -d -m 755 ${destroot}${prefix}/share/${name}
47    eval xinstall -W ${worksrcpath} -m 644 [glob lib/*] ${destroot}${prefix}/share/${name}
48    xinstall -W ${worksrcpath} -m 644 mr.1 webcheckout.1 ${destroot}${prefix}/share/man/man1/
49}
Note: See TracBrowser for help on using the repository browser.