git: 238da63a7fc7 - main - textproc/splitpatch: Update to 1.2

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sat, 05 Oct 2024 09:41:44 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=238da63a7fc728cda3385ac5b26938b534bbdd3d

commit 238da63a7fc728cda3385ac5b26938b534bbdd3d
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-10-05 09:41:37 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-10-05 09:41:37 +0000

    textproc/splitpatch: Update to 1.2
---
 textproc/splitpatch/Makefile                   | 12 +-----------
 textproc/splitpatch/distinfo                   |  6 +++---
 textproc/splitpatch/files/patch-Makefile       | 11 +++++++++++
 textproc/splitpatch/files/patch-man_pod2man.mk | 11 -----------
 4 files changed, 15 insertions(+), 25 deletions(-)

diff --git a/textproc/splitpatch/Makefile b/textproc/splitpatch/Makefile
index eb8c20f16b97..2b495b84bcf8 100644
--- a/textproc/splitpatch/Makefile
+++ b/textproc/splitpatch/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	splitpatch
-PORTVERSION=	1.1
-PORTREVISION=	1
 DISTVERSIONPREFIX=	release/
+DISTVERSION=	1.2
 CATEGORIES=	textproc
 
 MAINTAINER=	ehaupt@FreeBSD.org
@@ -15,18 +14,9 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	jaalto
 USE_PERL5=	build
 
-MAKE_JOBS_UNSAFE=	yes
-
 NO_ARCH=	yes
 
 PLIST_FILES=	bin/splitpatch \
 		share/man/man1/splitpatch.1.gz
 
-do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/share/man/man1
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.rb \
-		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 \
-		${STAGEDIR}${PREFIX}/share/man/man1
-
 .include <bsd.port.mk>
diff --git a/textproc/splitpatch/distinfo b/textproc/splitpatch/distinfo
index dcac48b7bd26..12ebf760a88b 100644
--- a/textproc/splitpatch/distinfo
+++ b/textproc/splitpatch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1589178880
-SHA256 (jaalto-splitpatch-release-1.1_GH0.tar.gz) = 221f693cf6e8cba91f7e3150b9c2394a170a678992907697c43a40db61332f0c
-SIZE (jaalto-splitpatch-release-1.1_GH0.tar.gz) = 11675
+TIMESTAMP = 1728120678
+SHA256 (jaalto-splitpatch-release-1.2_GH0.tar.gz) = b7a00add0a650c72da0ee1f68873260cc3255940a7b4d5920f1ade25e5511b09
+SIZE (jaalto-splitpatch-release-1.2_GH0.tar.gz) = 11705
diff --git a/textproc/splitpatch/files/patch-Makefile b/textproc/splitpatch/files/patch-Makefile
new file mode 100644
index 000000000000..6655398ff7ec
--- /dev/null
+++ b/textproc/splitpatch/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig	2024-10-04 11:55:32 UTC
++++ Makefile
+@@ -31,7 +31,7 @@ DESTDIR		=
+ VERSION		=
+ 
+ DESTDIR		=
+-prefix		= /usr
++prefix		?= $(PREFIX)
+ exec_prefix	= $(prefix)
+ man_prefix	= $(prefix)/share
+ mandir		= $(man_prefix)/man
diff --git a/textproc/splitpatch/files/patch-man_pod2man.mk b/textproc/splitpatch/files/patch-man_pod2man.mk
deleted file mode 100644
index 564243173888..000000000000
--- a/textproc/splitpatch/files/patch-man_pod2man.mk
+++ /dev/null
@@ -1,11 +0,0 @@
---- man/pod2man.mk.orig	2020-05-09 06:49:29 UTC
-+++ man/pod2man.mk
-@@ -41,7 +41,7 @@ DATE_FMT = %Y-%m-%d
- ifdef SOURCE_DATE_EPOCH
- PODCENTER	?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u "+$(DATE_FMT)")
- else
--PODCENTER	?= $(date "$(DATE_FMT)")
-+PODCENTER	?= $(shell date "+$(DATE_FMT)")
- endif
- 
- # Directories