git: 64d5a3b23aca - main - devel/git: Disable SVN and create flavor
Renato Botelho
garga at FreeBSD.org
Tue Apr 6 15:30:20 UTC 2021
The branch main has been updated by garga:
URL: https://cgit.FreeBSD.org/ports/commit/?id=64d5a3b23aca5e0da4ffb9430131f6fad3341106
commit 64d5a3b23aca5e0da4ffb9430131f6fad3341106
Author: Renato Botelho <garga at FreeBSD.org>
AuthorDate: 2021-04-06 15:27:07 +0000
Commit: Renato Botelho <garga at FreeBSD.org>
CommitDate: 2021-04-06 15:29:59 +0000
devel/git: Disable SVN and create flavor
Ports tree moved to git. Disable SVN option by default on main port to
reduce dependencies and create a new flavor "svn" that looks exactly how
main port was before this change
PR: 254719
Reported by: grembo
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
devel/git/Makefile | 19 +++++++++++++------
devel/git/pkg-descr-svn | 6 ++++++
2 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/devel/git/Makefile b/devel/git/Makefile
index 5e53008a463f..3082a5968361 100644
--- a/devel/git/Makefile
+++ b/devel/git/Makefile
@@ -2,6 +2,7 @@
PORTNAME= git
DISTVERSION= 2.31.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= KERNEL_ORG/software/scm/git
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
@@ -16,15 +17,18 @@ COMMENT= Distributed source code management tool ${COMMENT_${FLAVOR}}
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-FLAVORS= default gui lite tiny
-default_CONFLICTS_INSTALL= git-gui git-lite git-tiny
-gui_CONFLICTS_INSTALL= git git-lite git-tiny
+FLAVORS= default gui lite svn tiny
+default_CONFLICTS_INSTALL= git-gui git-lite git-svn git-tiny
+gui_CONFLICTS_INSTALL= git git-lite git-svn git-tiny
gui_DESCR= ${.CURDIR}/pkg-descr-gui
gui_PKGNAMESUFFIX= -gui
-lite_CONFLICTS_INSTALL= git git-gui git-tiny
+lite_CONFLICTS_INSTALL= git git-gui git-svn git-tiny
lite_DESCR= ${.CURDIR}/pkg-descr-lite
lite_PKGNAMESUFFIX= -lite
-tiny_CONFLICTS_INSTALL= git git-gui git-lite
+svn_CONFLICTS_INSTALL= git git-gui git-lite git-tiny
+svn_DESCR= ${.CURDIR}/pkg-descr-svn
+svn_PKGNAMESUFFIX= -svn
+tiny_CONFLICTS_INSTALL= git git-gui git-svn git-lite
tiny_DESCR= ${.CURDIR}/pkg-descr-tiny
tiny_PKGNAMESUFFIX= -tiny
@@ -32,6 +36,7 @@ USES= autoreconf gmake iconv shebangfix ssl tar:xz
COMMENT_gui= (GUI enabled flavor)
COMMENT_lite= (lite flavor)
+COMMENT_svn= (SVN enabled flavor)
COMMENT_tiny= (tiny flavor)
USERS= git_daemon
@@ -66,11 +71,13 @@ CONFIGURE_ARGS= --enable-pthreads=-pthread ac_cv_header_libcharset_h=no
OPTIONS_DEFINE= CONTRIB CURL CVS GITWEB GUI HTMLDOCS ICONV NLS P4 PCRE2 PERL \
SEND_EMAIL SUBTREE SVN
OPTIONS_DEFAULT=CONTRIB CURL CVS GITWEB ICONV P4 PCRE2 PERL SEND_EMAIL \
- SUBTREE SVN
+ SUBTREE
.if ${FLAVOR:U} == gui
OPTIONS_SLAVE+= GUI
.elif ${FLAVOR:U} == lite
OPTIONS_EXCLUDE= GUI SVN GITWEB CONTRIB P4 CVS PERL
+.elif ${FLAVOR:U} == svn
+OPTIONS_SLAVE+= SVN
.elif ${FLAVOR:U} == tiny
OPTIONS_EXCLUDE:= ${OPTIONS_DEFINE:NCURL}
OPTIONS_SLAVE= CURL
diff --git a/devel/git/pkg-descr-svn b/devel/git/pkg-descr-svn
new file mode 100644
index 000000000000..394265d7a83c
--- /dev/null
+++ b/devel/git/pkg-descr-svn
@@ -0,0 +1,6 @@
+Git is a free and open source distributed version control system designed to
+handle everything from small to very large projects with speed and efficiency.
+
+This version provides a package with SVN option enabled.
+
+WWW: https://git-scm.com/
More information about the dev-commits-ports-main
mailing list