aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--converters/Makefile1
-rw-r--r--converters/cvs2svn/Makefile29
-rw-r--r--converters/cvs2svn/distinfo2
-rw-r--r--converters/cvs2svn/files/setup.py8
-rw-r--r--converters/cvs2svn/pkg-descr5
-rw-r--r--converters/cvs2svn/pkg-plist24
6 files changed, 69 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 555408dc455e..c4e0d0d1694c 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -10,6 +10,7 @@
SUBDIR += chmview
SUBDIR += cmios9
SUBDIR += cn2jp
+ SUBDIR += cvs2svn
SUBDIR += dosunix
SUBDIR += dumpasn1
SUBDIR += enca
diff --git a/converters/cvs2svn/Makefile b/converters/cvs2svn/Makefile
new file mode 100644
index 000000000000..83eeaeeebd6f
--- /dev/null
+++ b/converters/cvs2svn/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: cvs2svn
+# Date created: 1 May 2004
+# Whom: Hye-Shik Chang
+#
+# $FreeBSD$
+
+PORTNAME= cvs2svn
+PORTVERSION= 0.0.938
+CATEGORIES= converters devel
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= perky
+
+MAINTAINER= perky@FreeBSD.org
+COMMENT= CVS to Subversion Repository Converter
+
+RUN_DEPENDS= svn:${PORTSDIR}/devel/subversion
+
+USE_PYTHON= 2.3+
+USE_PYDISTUTILS= yes
+USE_BZIP2= yes
+
+post-patch:
+.for script in cvs2svn profile-cvs2svn verify-cvs2svn \
+ dump-db show-db
+ @${LN} ${WRKSRC}/${script}.py ${WRKSRC}/${script}
+.endfor
+ @${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC}/
+
+.include <bsd.port.mk>
diff --git a/converters/cvs2svn/distinfo b/converters/cvs2svn/distinfo
new file mode 100644
index 000000000000..8eb62b2d353a
--- /dev/null
+++ b/converters/cvs2svn/distinfo
@@ -0,0 +1,2 @@
+MD5 (cvs2svn-0.0.938.tar.bz2) = 8d3823722933390e9535700aaa1b0c34
+SIZE (cvs2svn-0.0.938.tar.bz2) = 126349
diff --git a/converters/cvs2svn/files/setup.py b/converters/cvs2svn/files/setup.py
new file mode 100644
index 000000000000..9e9f0992843f
--- /dev/null
+++ b/converters/cvs2svn/files/setup.py
@@ -0,0 +1,8 @@
+__version__ = '$FreeBSD$'
+from distutils.core import setup
+setup( name = 'cvs2svn',
+ version = '0.0.938',
+ packages = ['rcsparse'],
+ scripts = ['cvs2svn', 'profile-cvs2svn',
+ 'verify-cvs2svn', 'dump-db', 'show-db'],
+)
diff --git a/converters/cvs2svn/pkg-descr b/converters/cvs2svn/pkg-descr
new file mode 100644
index 000000000000..c5a0a363b9aa
--- /dev/null
+++ b/converters/cvs2svn/pkg-descr
@@ -0,0 +1,5 @@
+cvs2svn is a Python script that converts a CVS repository to a
+Subversion repository. It is designed for one-time conversions, not
+for repeated synchronizations between CVS and Subversion.
+
+WWW: http://cvs2svn.tigris.org/
diff --git a/converters/cvs2svn/pkg-plist b/converters/cvs2svn/pkg-plist
new file mode 100644
index 000000000000..5bbabff316b4
--- /dev/null
+++ b/converters/cvs2svn/pkg-plist
@@ -0,0 +1,24 @@
+bin/cvs2svn
+bin/dump-db
+bin/profile-cvs2svn
+bin/show-db
+bin/verify-cvs2svn
+%%PYTHON_SITELIBDIR%%/rcsparse/__init__.py
+%%PYTHON_SITELIBDIR%%/rcsparse/__init__.pyc
+%%PYTHON_SITELIBDIR%%/rcsparse/__init__.pyo
+%%PYTHON_SITELIBDIR%%/rcsparse/common.py
+%%PYTHON_SITELIBDIR%%/rcsparse/common.pyc
+%%PYTHON_SITELIBDIR%%/rcsparse/common.pyo
+%%PYTHON_SITELIBDIR%%/rcsparse/compat.py
+%%PYTHON_SITELIBDIR%%/rcsparse/compat.pyc
+%%PYTHON_SITELIBDIR%%/rcsparse/compat.pyo
+%%PYTHON_SITELIBDIR%%/rcsparse/debug.py
+%%PYTHON_SITELIBDIR%%/rcsparse/debug.pyc
+%%PYTHON_SITELIBDIR%%/rcsparse/debug.pyo
+%%PYTHON_SITELIBDIR%%/rcsparse/default.py
+%%PYTHON_SITELIBDIR%%/rcsparse/default.pyc
+%%PYTHON_SITELIBDIR%%/rcsparse/default.pyo
+%%PYTHON_SITELIBDIR%%/rcsparse/texttools.py
+%%PYTHON_SITELIBDIR%%/rcsparse/texttools.pyc
+%%PYTHON_SITELIBDIR%%/rcsparse/texttools.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/rcsparse