git: 4361583271bd - main - devel/osc: update 1.3.1 → 1.4.0

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Thu, 05 Oct 2023 13:20:41 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4361583271bd50050208a1203d2952426180eff1

commit 4361583271bd50050208a1203d2952426180eff1
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2023-10-04 16:29:26 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2023-10-05 13:20:28 +0000

    devel/osc: update 1.3.1 → 1.4.0
    
    - Install completions
---
 devel/osc/Makefile  | 8 +++++++-
 devel/osc/distinfo  | 6 +++---
 devel/osc/pkg-plist | 2 ++
 3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/devel/osc/Makefile b/devel/osc/Makefile
index b2c9480450b7..596605803cde 100644
--- a/devel/osc/Makefile
+++ b/devel/osc/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	osc
-PORTVERSION=	1.3.1
+PORTVERSION=	1.4.0
 CATEGORIES=	devel
 
 MAINTAINER=	amdmi3@FreeBSD.org
@@ -26,6 +26,12 @@ PYTEST_BROKEN_TESTS=	testPrdiffDiffstat
 
 OPTIONS_DEFINE=	DOCS
 
+post-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+	${INSTALL_DATA} ${WRKSRC}/contrib/osc.zsh ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_osc
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d
+	${INSTALL_DATA} ${WRKSRC}/contrib/osc.fish ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/osc.fish
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS README.md NEWS ${STAGEDIR}${DOCSDIR}
diff --git a/devel/osc/distinfo b/devel/osc/distinfo
index b292d9d74944..4cf407a0a7ed 100644
--- a/devel/osc/distinfo
+++ b/devel/osc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1693330937
-SHA256 (openSUSE-osc-1.3.1_GH0.tar.gz) = 6fb9fee8dfd86276632d6a7a25169f34bec1bc251c79161b5f096a9ebde51cd8
-SIZE (openSUSE-osc-1.3.1_GH0.tar.gz) = 343890
+TIMESTAMP = 1696436557
+SHA256 (openSUSE-osc-1.4.0_GH0.tar.gz) = bc083473d5677ba75e2b9adf867c32fc17bb11adc38d863cf9c7a2d8c1d01287
+SIZE (openSUSE-osc-1.4.0_GH0.tar.gz) = 354269
diff --git a/devel/osc/pkg-plist b/devel/osc/pkg-plist
new file mode 100644
index 000000000000..80030b2619ee
--- /dev/null
+++ b/devel/osc/pkg-plist
@@ -0,0 +1,2 @@
+share/fish/vendor_completions.d/osc.fish
+share/zsh/site-functions/_osc