summaryrefslogtreecommitdiff
path: root/devel/mr/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2011-06-14 21:58:11 +0000
committerschmonz <schmonz@pkgsrc.org>2011-06-14 21:58:11 +0000
commit8e564e44c2bb17c92a4ee540b7e85bb50bde205e (patch)
tree942f8d4da8a5b5db67b54845daa68d01ef532526 /devel/mr/Makefile
parent50fc2c1fa88cc15d43b2f7c115c4e95de3919e6f (diff)
downloadpkgsrc-8e564e44c2bb17c92a4ee540b7e85bb50bde205e.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/mr/Makefile')
-rw-r--r--devel/mr/Makefile42
1 files changed, 42 insertions, 0 deletions
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"