diff options
-rw-r--r-- | devel/fromcvs/DESCR | 2 | ||||
-rw-r--r-- | devel/fromcvs/MESSAGE | 7 | ||||
-rw-r--r-- | devel/fromcvs/Makefile | 40 | ||||
-rw-r--r-- | devel/fromcvs/PLIST | 16 | ||||
-rw-r--r-- | devel/fromcvs/distinfo | 5 |
5 files changed, 70 insertions, 0 deletions
diff --git a/devel/fromcvs/DESCR b/devel/fromcvs/DESCR new file mode 100644 index 00000000000..2594d796a4a --- /dev/null +++ b/devel/fromcvs/DESCR @@ -0,0 +1,2 @@ +Conversion tool for CVS repositories. +Currently supports Git and Mercurial as targets. diff --git a/devel/fromcvs/MESSAGE b/devel/fromcvs/MESSAGE new file mode 100644 index 00000000000..781586303a5 --- /dev/null +++ b/devel/fromcvs/MESSAGE @@ -0,0 +1,7 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2007/04/21 10:38:06 wiz Exp $ + +You'll need git-1.5 or newer (from devel/scmgit) for togit, +or mercurial (from devel/mercurial) for tohg. + +=========================================================================== diff --git a/devel/fromcvs/Makefile b/devel/fromcvs/Makefile new file mode 100644 index 00000000000..1afc87fd2d9 --- /dev/null +++ b/devel/fromcvs/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/04/21 10:38:06 wiz Exp $ + +DISTNAME= fromcvs-0.0.0_20070314 +PKGNAME= ${DISTNAME:S/_/./} +CATEGORIES= devel scm +MASTER_SITES= # +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://ww2.fs.ei.tum.de/~corecode/hg/fromcvs/ +COMMENT= CVS repository conversion tool + +DEPENDS+= ${RUBY_PKGPREFIX}-rbtree>=0.2.0:../../devel/ruby-rbtree +DEPENDS+= ${RUBY_PKGPREFIX}-rcsparse>=0.0.0.20070210:../../devel/ruby-rcsparse +DEPENDS+= ${RUBY_PKGPREFIX}-sqlite3>=1.2.1:../../databases/ruby-sqlite3 + +LICENSE= corecode-license + +WRKSRC= ${WRKDIR}/fromcvs-e8d986fb9ba7 + +do-build: + ${ECHO} "#!/bin/sh" > ${WRKSRC}/togit + ${ECHO} "${RUBY} -I${PREFIX}/share/ruby-fromcvs ${PREFIX}/share/ruby-fromcvs/togit.rb \"$$""@\"" >> ${WRKSRC}/togit + ${ECHO} "#!/bin/sh" > ${WRKSRC}/tohg + ${ECHO} "${RUBY} -I${PREFIX}/share/ruby-fromcvs ${PREFIX}/share/ruby-fromcvs/tohg.rb \"$$""@\"" >> ${WRKSRC}/tohg + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ruby-fromcvs + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby-fromcvs + ${INSTALL_DATA_DIR} ${PREFIX}/share/ruby-fromcvs + ${INSTALL_DATA_DIR} ${PREFIX}/share/ruby-fromcvs/commitset + ${INSTALL_DATA} ${WRKSRC}/commitset/* \ + ${PREFIX}/share/ruby-fromcvs/commitset + ${INSTALL_DATA} ${WRKSRC}/*.rb ${PREFIX}/share/ruby-fromcvs + ${INSTALL_DATA} ${WRKSRC}/*.py ${PREFIX}/share/ruby-fromcvs + ${INSTALL_SCRIPT} ${WRKSRC}/togit ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/tohg ${PREFIX}/bin + +.include "../../lang/ruby/modules.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/fromcvs/PLIST b/devel/fromcvs/PLIST new file mode 100644 index 00000000000..042fab0113c --- /dev/null +++ b/devel/fromcvs/PLIST @@ -0,0 +1,16 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/21 10:38:06 wiz Exp $ +bin/togit +bin/tohg +share/ruby-fromcvs/commitset/commitset +share/ruby-fromcvs/commitset/commitset.cgi +share/ruby-fromcvs/commitset/commitset.rb +share/ruby-fromcvs/fromcvs.rb +share/ruby-fromcvs/tagexpander.rb +share/ruby-fromcvs/todb.rb +share/ruby-fromcvs/togit.rb +share/ruby-fromcvs/tohg.py +share/ruby-fromcvs/tohg.rb +share/doc/ruby-fromcvs/README +@dirrm share/ruby-fromcvs/commitset +@dirrm share/ruby-fromcvs +@dirrm share/doc/ruby-fromcvs diff --git a/devel/fromcvs/distinfo b/devel/fromcvs/distinfo new file mode 100644 index 00000000000..b3d6675b580 --- /dev/null +++ b/devel/fromcvs/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/04/21 10:38:06 wiz Exp $ + +SHA1 (fromcvs-0.0.0_20070314.tar.bz2) = 05f5b289b15e4d10fc1f48e843ab0b8d0c400205 +RMD160 (fromcvs-0.0.0_20070314.tar.bz2) = 19e79dfd7b34eae69f6f105bd5007c57b9050223 +Size (fromcvs-0.0.0_20070314.tar.bz2) = 16698 bytes |