git: 9462a2300eb5 - main - devel/freebsd-git-devtools: Documentation changes

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Fri, 21 Apr 2023 19:40:17 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9462a2300eb5ac7bfba4532259ebb6cd0e501238

commit 9462a2300eb5ac7bfba4532259ebb6cd0e501238
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2023-04-21 19:35:42 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2023-04-21 19:39:41 +0000

    devel/freebsd-git-devtools: Documentation changes
    
    - add DOCS options to install HOWTO
    - pull in a few documentation fixes
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/freebsd-git-devtools/Makefile  | 14 +++++++++-----
 devel/freebsd-git-devtools/distinfo  |  4 +++-
 devel/freebsd-git-devtools/pkg-plist |  4 ++++
 3 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/devel/freebsd-git-devtools/Makefile b/devel/freebsd-git-devtools/Makefile
index 8a2f619d84fd..cd756c27990a 100644
--- a/devel/freebsd-git-devtools/Makefile
+++ b/devel/freebsd-git-devtools/Makefile
@@ -1,10 +1,11 @@
 PORTNAME=	freebsd-git-devtools
-PORTVERSION=	20221107
+PORTVERSION=	20230223
 CATEGORIES=	devel
 MASTER_SITES=	https://cgit.freebsd.org/src/plain/tools/tools/git/
 DISTFILES=	git-arc.sh?id=${_REV} \
 		git-arc.1?id=${_REV} \
-		mfc-candidates.sh?id=${_REV}
+		mfc-candidates.sh?id=${_REV} \
+		HOWTO?id=${_REV}
 DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	jrm@FreeBSD.org
@@ -23,9 +24,8 @@ NO_ARCH=	yes
 NO_BUILD=	yes
 
 NO_WRKSUBDIR=	yes
-PLIST_FILES=	bin/git-arc \
-		bin/mfc-candidates \
-		man/man1/git-arc.1.gz
+
+OPTIONS_DEFINE=	DOCS
 
 _REV=		613aaf59afa307fc77c8eed01962a59423b1c5f3
 
@@ -39,4 +39,8 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/mfc-candidates.sh ${STAGEDIR}${PREFIX}/bin/mfc-candidates
 	${INSTALL_MAN} ${WRKSRC}/git-arc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
 
+do-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/HOWTO ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>
diff --git a/devel/freebsd-git-devtools/distinfo b/devel/freebsd-git-devtools/distinfo
index 367ef22937de..683ca457d670 100644
--- a/devel/freebsd-git-devtools/distinfo
+++ b/devel/freebsd-git-devtools/distinfo
@@ -1,7 +1,9 @@
-TIMESTAMP = 1672003673
+TIMESTAMP = 1682104010
 SHA256 (freebsd-git-devtools/git-arc.sh?id=613aaf59afa307fc77c8eed01962a59423b1c5f3) = 4e7dc13e1f87ab09e8e584e57cae6ddf3a74cd4e82237357eb07403d2f27c5d7
 SIZE (freebsd-git-devtools/git-arc.sh?id=613aaf59afa307fc77c8eed01962a59423b1c5f3) = 17046
 SHA256 (freebsd-git-devtools/git-arc.1?id=613aaf59afa307fc77c8eed01962a59423b1c5f3) = 25c4e178cd509d76308c821f04b6da72a920d73c7093590200d7de91ae4677fd
 SIZE (freebsd-git-devtools/git-arc.1?id=613aaf59afa307fc77c8eed01962a59423b1c5f3) = 6953
 SHA256 (freebsd-git-devtools/mfc-candidates.sh?id=613aaf59afa307fc77c8eed01962a59423b1c5f3) = f719ddbd34ce99dc82e4e172cc10c80b6106d8bc8f4c4e3aaf0b5ce7e649c5f3
 SIZE (freebsd-git-devtools/mfc-candidates.sh?id=613aaf59afa307fc77c8eed01962a59423b1c5f3) = 4479
+SHA256 (freebsd-git-devtools/HOWTO?id=613aaf59afa307fc77c8eed01962a59423b1c5f3) = 391993d917e8ed856a524069f2b46b09b7fcb5d2703e8049cb7bf073524db78f
+SIZE (freebsd-git-devtools/HOWTO?id=613aaf59afa307fc77c8eed01962a59423b1c5f3) = 5802
diff --git a/devel/freebsd-git-devtools/pkg-plist b/devel/freebsd-git-devtools/pkg-plist
new file mode 100644
index 000000000000..46d6afc21e40
--- /dev/null
+++ b/devel/freebsd-git-devtools/pkg-plist
@@ -0,0 +1,4 @@
+bin/git-arc
+bin/mfc-candidates
+man/man1/git-arc.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/HOWTO