diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-01 22:13:54 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-01 22:13:54 +0000 |
commit | 5b5dc0d525e8b70a7894bcdf0c1f49b869fe885d (patch) | |
tree | eed06fb1ac4f5090ae32dcc191d3ba01c0dcd092 /devel/cvs2p4 | |
parent | 41d213b5912599e672a616e79299b4ded137c9d6 (diff) | |
download | ports-5b5dc0d525e8b70a7894bcdf0c1f49b869fe885d.tar.gz ports-5b5dc0d525e8b70a7894bcdf0c1f49b869fe885d.zip |
Add cvs2p4, a CVS to Perforce Converter.
Notes
Notes:
svn path=/head/; revision=47300
Diffstat (limited to 'devel/cvs2p4')
-rw-r--r-- | devel/cvs2p4/Makefile | 34 | ||||
-rw-r--r-- | devel/cvs2p4/distinfo | 1 | ||||
-rw-r--r-- | devel/cvs2p4/files/patch-config | 29 | ||||
-rw-r--r-- | devel/cvs2p4/pkg-comment | 1 | ||||
-rw-r--r-- | devel/cvs2p4/pkg-descr | 9 | ||||
-rw-r--r-- | devel/cvs2p4/pkg-message | 6 | ||||
-rw-r--r-- | devel/cvs2p4/pkg-plist | 25 |
7 files changed, 105 insertions, 0 deletions
diff --git a/devel/cvs2p4/Makefile b/devel/cvs2p4/Makefile new file mode 100644 index 000000000000..0bb5dd6d796b --- /dev/null +++ b/devel/cvs2p4/Makefile @@ -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> diff --git a/devel/cvs2p4/distinfo b/devel/cvs2p4/distinfo new file mode 100644 index 000000000000..2057f8358f0e --- /dev/null +++ b/devel/cvs2p4/distinfo @@ -0,0 +1 @@ +MD5 (cvs2p4-1.2.16.tar) = dedf639067713e30ced0edd978197692 diff --git a/devel/cvs2p4/files/patch-config b/devel/cvs2p4/files/patch-config new file mode 100644 index 000000000000..ef042b94d85b --- /dev/null +++ b/devel/cvs2p4/files/patch-config @@ -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 diff --git a/devel/cvs2p4/pkg-comment b/devel/cvs2p4/pkg-comment new file mode 100644 index 000000000000..7c18d19053e9 --- /dev/null +++ b/devel/cvs2p4/pkg-comment @@ -0,0 +1 @@ +CVS to Perforce Converter diff --git a/devel/cvs2p4/pkg-descr b/devel/cvs2p4/pkg-descr new file mode 100644 index 000000000000..f0fcfaa11c23 --- /dev/null +++ b/devel/cvs2p4/pkg-descr @@ -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> diff --git a/devel/cvs2p4/pkg-message b/devel/cvs2p4/pkg-message new file mode 100644 index 000000000000..b837d4ad3655 --- /dev/null +++ b/devel/cvs2p4/pkg-message @@ -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) +************************************************************************ diff --git a/devel/cvs2p4/pkg-plist b/devel/cvs2p4/pkg-plist new file mode 100644 index 000000000000..3fd7f2999aa7 --- /dev/null +++ b/devel/cvs2p4/pkg-plist @@ -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 |