Index: devel/myrepos/Makefile =================================================================== --- /dev/null +++ devel/myrepos/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= myrepos +PORTVERSION= 1.20130710 +CATEGORIES= devel + +MAINTINER= jonathan@FreeBSD.org +COMMENT= A tool to manage all your version control repos + +LICENSE= GPLv2 + +USE_GITHUB= yes +GH_ACCOUNT= joeyh + +USES= perl5 +USE_PERL5= run + +PLIST_FILES= bin/mr +PORTDOCS= README index.mdwn + +do-build: + # There is no build step: the repository includes a standalone Perl file + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/mr ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} README doc/*.mdwn ${STAGEDIR}${DOCSDIR}) + +.include Index: devel/myrepos/distinfo =================================================================== --- /dev/null +++ devel/myrepos/distinfo @@ -0,0 +1,2 @@ +SHA256 (joeyh-myrepos-1.20130710_GH0.tar.gz) = 3f5747f7fcaebc2d2291f28765e0f9f76ff889da1d3ad8e519be3d798eb726d9 +SIZE (joeyh-myrepos-1.20130710_GH0.tar.gz) = 42451 Index: devel/myrepos/files/patch-mr =================================================================== --- /dev/null +++ devel/myrepos/files/patch-mr @@ -0,0 +1,8 @@ +--- mr.orig 2015-09-24 17:31:07 UTC ++++ mr +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!/usr/bin/env perl + + =head1 NAME + Index: devel/myrepos/pkg-descr =================================================================== --- /dev/null +++ devel/myrepos/pkg-descr @@ -0,0 +1,31 @@ +You have a lot of version control repositories. Sometimes you want to +update them all at once. Or push out all your local changes. You use +special command lines in some repositories to implement specific workflows. +Myrepos provides a `mr` command, which is a tool to manage all your version +control repositories. + +It supports git, svn, mercurial, bzr, darcs, cvs, fossil and veracity. + +Author: Joey Hess +Homepage: http://myrepos.branchable.com/ + +The mr command is intended to be very self-contained, since it might be +useful to check it into ~/bin when keeping your home in version control. It +has no dependencies aside from basic perl. (The included webcheckout +command has more dependencies, specifically the LWP::Simple and +HTML::Parser CPAN modules, and optionally the URI module.) + +To install mr, just copy mr into your PATH somewhere. + +To get started using mr, perhaps you already have some checked out +repositories. Go into each one and run "mr register". Now mr has +a list of them in ~/.mrconfig, which you can edit later to tune its +operation. + +Suppose you've cd'd to ~/src, and it has many repositories under it. +To update them all, run "mr update". To commit any pending changes in +each, run "mr commit". To check the status of each, you could run +"mr status". + +For further details, and lots of configuration options, see the mr(1) man +page or the website, http://myrepos.branchable.com/