# -*- 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 PortSystem 1.0 PortGroup perl5 1.0 name myrepos version 1.20180726 revision 2 categories devel platforms any maintainers googlemail.com:gjasny openmaintainer license GPL-2+ description Multiple repository management tool long_description The mr(1) command can checkout, update, or perform other actions on a set of \ repositories as if they were one combined respository. It supports any combination \ of git, svn, mercurial, bzr, darcs, cvs, vcsh, fossil, and veracity repositories, \ and support for other version control systems can easily be added. \ (There are extensions adding support for unison and git-svn, among others.) homepage http://myrepos.branchable.com/ fetch.type git git.url git://myrepos.branchable.com/ git.branch ${version} supported_archs noarch use_configure no build.target build perl5.major 5.34 depends_run port:p${perl5.major}-html-parser \ port:p${perl5.major}-libwww-perl \ port:p${perl5.major}-getopt-long post-patch { reinplace -locale C "s|^#!.*perl|#!${perl5.bin}|" ${worksrcpath}/mr ${worksrcpath}/webcheckout } destroot { xinstall -W ${worksrcpath} -m 755 mr webcheckout ${destroot}${prefix}/bin xinstall -d -m 755 ${destroot}${prefix}/share/${name} xinstall -W ${worksrcpath} -m 644 {*}[glob lib/*] ${destroot}${prefix}/share/${name} xinstall -W ${worksrcpath} -m 644 mr.1 webcheckout.1 ${destroot}${prefix}/share/man/man1/ } livecheck.type regex livecheck.url "${homepage}" livecheck.regex {>version +([-0-9._a-zA-Z]+)<}