Initial import of fromcvs-0.0.0.20070314:

Conversion tool for CVS repositories.
Currently supports Git and Mercurial as targets.
This commit is contained in:
wiz 2007-04-21 10:38:06 +00:00
parent 0350a70586
commit e88270d2de
5 changed files with 70 additions and 0 deletions

2
devel/fromcvs/DESCR Normal file
View file

@ -0,0 +1,2 @@
Conversion tool for CVS repositories.
Currently supports Git and Mercurial as targets.

7
devel/fromcvs/MESSAGE Normal file
View file

@ -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.
===========================================================================

40
devel/fromcvs/Makefile Normal file
View file

@ -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"

16
devel/fromcvs/PLIST Normal file
View file

@ -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

5
devel/fromcvs/distinfo Normal file
View file

@ -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