ports/122471: [patch] port devel/cvs2svn

olli hauer ohauer at gmx.de
Sat Apr 5 16:10:03 UTC 2008

>Number:         122471
>Category:       ports
>Synopsis:       [patch] port devel/cvs2svn
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 05 16:10:02 UTC 2008
>Originator:     olli hauer
make support for git optional.

if you want to convert cvs to svn ther is no need for git, only if you like to convert from cvs to git.


--- Makefile.orig       2008-03-17 00:05:51.000000000 +0100
+++ Makefile    2008-04-05 18:04:07.000000000 +0200
@@ -17,10 +17,26 @@
 MAINTAINER=    joe at joeholden.co.uk
 COMMENT=       CVS to Subversion Repository Converter

+OPTIONS=       SUBVERSION "Build with subversion support" on \
+               GIT "Build with git support" off
+.include <bsd.port.pre.mk>
 BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gdbm.so:${PORTSDIR}/databases/py-gdbm
-RUN_DEPENDS=   ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion \
-               ${LOCALBASE}/bin/git:${PORTSDIR}/devel/git \
-               ${BUILD_DEPENDS}
+.if defined(WITHOUT_SUBVERSION) && defined(WITHOUT_GIT)
+BROKEN=        choose at least subversion, git or both
+.if defined(WITH_SUBVERSION)
+RUN_DEPENDS+=  ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion
+.if defined(WITH_GIT)
+RUN_DEPENDS+=  ${LOCALBASE}/bin/git:${PORTSDIR}/devel/git


@@ -45,4 +61,4 @@
        ${INSTALL_MAN} ${WRKSRC}/cvs2svn.1 ${PREFIX}/man/man1/

-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the freebsd-ports-bugs mailing list