summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorschmonz <schmonz>2011-06-14 21:58:11 +0000
committerschmonz <schmonz>2011-06-14 21:58:11 +0000
commit2fba64d5716b310a2ab56a9b8cfa8bc32bd4bf0c (patch)
tree942f8d4da8a5b5db67b54845daa68d01ef532526 /devel
parent638c02c4382b0946b7f7c5825caa22bd244fc5e4 (diff)
downloadpkgsrc-2fba64d5716b310a2ab56a9b8cfa8bc32bd4bf0c.tar.gz
Initial import of mr(1). From DESCR:
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 subversion, git, cvs, mercurial, bzr, darcs, cvs, and fossil repositories, and support for other revision control systems can easily be added. (There are extensions adding support for unison and git-svn.) It is extremely configurable via simple shell scripting. Some examples of things it can do include: * Update a repository no more frequently than once every twelve hours. * Run an arbitrary command before committing to a repository. * When updating a git repository, pull from two different upstreams and merge the two together. * Run several repository updates in parallel, greatly speeding up the update process. * Remember actions that failed due to a laptop being offline, so they can be retried when it comes back online.
Diffstat (limited to 'devel')
-rw-r--r--devel/mr/DESCR18
-rw-r--r--devel/mr/Makefile42
-rw-r--r--devel/mr/PLIST9
-rw-r--r--devel/mr/distinfo5
4 files changed, 74 insertions, 0 deletions
diff --git a/devel/mr/DESCR b/devel/mr/DESCR
new file mode 100644
index 00000000000..4f6f435e374
--- /dev/null
+++ b/devel/mr/DESCR
@@ -0,0 +1,18 @@
+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 subversion, git, cvs, mercurial,
+bzr, darcs, cvs, and fossil repositories, and support for other
+revision control systems can easily be added. (There are extensions
+adding support for unison and git-svn.)
+
+It is extremely configurable via simple shell scripting. Some
+examples of things it can do include:
+
+* Update a repository no more frequently than once every twelve hours.
+* Run an arbitrary command before committing to a repository.
+* When updating a git repository, pull from two different upstreams
+ and merge the two together.
+* Run several repository updates in parallel, greatly speeding up
+ the update process.
+* Remember actions that failed due to a laptop being offline, so
+ they can be retried when it comes back online.
diff --git a/devel/mr/Makefile b/devel/mr/Makefile
new file mode 100644
index 00000000000..1ccf557a290
--- /dev/null
+++ b/devel/mr/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/06/14 21:58:11 schmonz Exp $
+#
+
+DISTNAME= mr_1.03
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/m/mr/}
+
+MAINTAINER= schmonz@NetBSD.org
+HOMEPAGE= http://kitenet.net/~joey/code/mr/
+COMMENT= Treat multiple repositories as one combined repository
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
+
+NO_BUILD= yes
+
+WRKSRC= ${WRKDIR}/${PKGBASE}
+USE_LANGUAGES= # none
+
+USE_TOOLS+= perl:run
+
+REPLACE_PERL+= mr webcheckout
+
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+SHAREDIR= ${PREFIX}/share/${PKGBASE}
+INSTALLATION_DIRS= bin ${EGDIR} ${SHAREDIR}
+
+do-install:
+ set -e; cd ${WRKSRC}; \
+ ${INSTALL_DATA} mrconfig ${DESTDIR}${EGDIR}; \
+ ${INSTALL_DATA} mrconfig.complex ${DESTDIR}${EGDIR}; \
+ for i in lib/*; do \
+ ${INSTALL_DATA} $${i} ${DESTDIR}${SHAREDIR}; \
+ done; \
+ ${INSTALL_SCRIPT} mr ${DESTDIR}${PREFIX}/bin; \
+ ${INSTALL_SCRIPT} webcheckout ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/mr/PLIST b/devel/mr/PLIST
new file mode 100644
index 00000000000..16cec07bef3
--- /dev/null
+++ b/devel/mr/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/06/14 21:58:11 schmonz Exp $
+bin/mr
+bin/webcheckout
+share/examples/mr/mrconfig
+share/examples/mr/mrconfig.complex
+share/mr/git-fake-bare
+share/mr/git-subtree
+share/mr/git-svn
+share/mr/unison
diff --git a/devel/mr/distinfo b/devel/mr/distinfo
new file mode 100644
index 00000000000..60c2d95f3a3
--- /dev/null
+++ b/devel/mr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/06/14 21:58:11 schmonz Exp $
+
+SHA1 (mr_1.03.tar.gz) = e723d51071d50f9732b01adb0ad2f5364f640979
+RMD160 (mr_1.03.tar.gz) = 09e6b50b9ca2853fe5b420c7387f03c94da210b9
+Size (mr_1.03.tar.gz) = 35783 bytes