Add cvs2p4, a CVS to Perforce Converter.

This commit is contained in:
Akinori MUSHA 2001-09-01 22:13:54 +00:00
parent 41d213b591
commit 5b5dc0d525
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47300
8 changed files with 106 additions and 0 deletions

View file

@ -86,6 +86,7 @@
SUBDIR += cutils
SUBDIR += cvs2cl
SUBDIR += cvs2html
SUBDIR += cvs2p4
SUBDIR += cvsgraph
SUBDIR += cvsmapfs
SUBDIR += cvspadm

34
devel/cvs2p4/Makefile Normal file
View file

@ -0,0 +1,34 @@
# New ports collection makefile for: cvs2p4
# Date created: 2 September 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= cvs2p4
PORTVERSION= 1.2.16
CATEGORIES+= devel
MASTER_SITES= ftp://ftp.perforce.com/perforce/utils/cvs2p4/
EXTRACT_SUFX= .tar
MAINTAINER= knu@FreeBSD.org
NO_BUILD= yes
PERFORCE_PORT?= 1666
post-patch:
${PERL} -pi \
-e 's,!!PREFIX!!,${PREFIX},g;' \
-e 's,!!PERFORCE_PORT!!,${PERFORCE_PORT},g;' \
${WRKSRC}/test/config
find ${WRKSRC} -name '*.orig' -delete
do-install:
${MKDIR} ${PREFIX}/${PORTNAME}
${CP} -R ${WRKSRC}/* ${PREFIX}/${PORTNAME}/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

1
devel/cvs2p4/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (cvs2p4-1.2.16.tar) = dedf639067713e30ced0edd978197692

View file

@ -0,0 +1,29 @@
--- test/config.orig Tue Aug 28 07:48:21 2001
+++ test/config Sun Sep 2 07:07:23 2001
@@ -6,7 +6,7 @@
# p4 command location (If other than "/usr/local/bin/p4")
#
-$P4 = "/usr/local/bin/p4";
+$P4 = "!!PREFIX!!/bin/p4";
# path to the RCS "co" command
#
@@ -14,7 +14,7 @@
# Perforce server we're using.
#
-$P4PORT = "localhost:1678";
+$P4PORT = "localhost:!!PERFORCE_PORT!!";
# Perforce client name for the conversion client.
# I can't imagine why you'd want to change this, but maybe you can!
@@ -71,7 +71,7 @@
# Name of the "head" codeline
#
-$TRUNKLINE = "shemp";
+$TRUNKLINE = "head";
# Conventional branch tag name suffix to remove when importing to
# Perforce. (This is a netapp specific thing; our branch tags are

1
devel/cvs2p4/pkg-comment Normal file
View file

@ -0,0 +1 @@
CVS to Perforce Converter

9
devel/cvs2p4/pkg-descr Normal file
View file

@ -0,0 +1,9 @@
cvs2p4 -- CVS to Perforce Converter
This CVS to Perforce converter extracts metadata from a CVS repository
and generates a Perforce depot using Perforce client commands. The
converter handles Attic/ and .cvsignore, and has flexible support for
branching.
WWW: http://www.perforce.com/perforce/loadsupp.html
Author: Richard Geiger <rmg@perforce.com>

6
devel/cvs2p4/pkg-message Normal file
View file

@ -0,0 +1,6 @@
************************************************************************
Go to /usr/local/cvs2p4, and follow the instructions described in the
README file.
(Replace /usr/local above with ${PREFIX} as appropriate)
************************************************************************

25
devel/cvs2p4/pkg-plist Normal file
View file

@ -0,0 +1,25 @@
cvs2p4/Artistic
cvs2p4/MANIFEST
cvs2p4/NEWS
cvs2p4/README
cvs2p4/bin/dochanges
cvs2p4/bin/genchanges
cvs2p4/bin/genmetadata
cvs2p4/bin/revmap
cvs2p4/lib/util.pl
cvs2p4/test/changes.good
cvs2p4/test/config
cvs2p4/test/dollar$file,v
cvs2p4/test/file,v
cvs2p4/test/lines.good
cvs2p4/test/metadata.good
cvs2p4/test/norm
cvs2p4/test/p4_changes_-l.good
cvs2p4/test/p4_describe.good
cvs2p4/test/p4_describe.good-r97.3
cvs2p4/test/runtest
cvs2p4/test/space file,v
@dirrm cvs2p4/test
@dirrm cvs2p4/lib
@dirrm cvs2p4/bin
@dirrm cvs2p4