git: 932fe4437b4c - main - mail/ripmime: update to 1.4.1.0

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Wed, 01 Feb 2023 19:26:31 UTC
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=932fe4437b4cb1724d40cfdd10d6a0089c6aad4b

commit 932fe4437b4cb1724d40cfdd10d6a0089c6aad4b
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-02-01 19:26:12 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-02-01 19:26:12 +0000

    mail/ripmime: update to 1.4.1.0
---
 mail/ripmime/Makefile | 17 ++++++++++-------
 mail/ripmime/distinfo |  5 +++--
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/mail/ripmime/Makefile b/mail/ripmime/Makefile
index 67e6d8e709ae..b2e950dc3d8f 100644
--- a/mail/ripmime/Makefile
+++ b/mail/ripmime/Makefile
@@ -1,20 +1,23 @@
 PORTNAME=	ripmime
-PORTVERSION=	1.4.0.10
+PORTVERSION=	1.4.1.0
 CATEGORIES=	mail
-MASTER_SITES=	http://www.pldaniels.com/ripmime/ \
-		GENTOO
 
 MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	Extracts attached files out of a MIME encoded email package
-WWW=		https://pldaniels.com/ripmime/
+WWW=		https://github.com/inflex/ripMIME
+
+LICENSE=	BSD4CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 MAKE_JOBS_UNSAFE=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	inflex
+WRKSRC=		${WRKDIR}/ripMIME-${PORTVERSION}
 PLIST_FILES=	bin/ripmime man/man1/ripmime.1.gz
 
-pre-build:
-	@${REINPLACE_CMD} -e 's!CC=!CC?=!; s!/usr/local!${PREFIX}!; \
-		s!^CFLAGS=!CFLAGS ?=!' \
+post-patch:
+	@${REINPLACE_CMD} -e 's!^CFLAGS=!CFLAGS ?=!' \
 		${WRKSRC}/Makefile ${WRKSRC}/ripOLE/Makefile \
 		${WRKSRC}/tnef/Makefile
 
diff --git a/mail/ripmime/distinfo b/mail/ripmime/distinfo
index 75b098b769ec..1a543584bb88 100644
--- a/mail/ripmime/distinfo
+++ b/mail/ripmime/distinfo
@@ -1,2 +1,3 @@
-SHA256 (ripmime-1.4.0.10.tar.gz) = bc7ce0c2ebb6007167718ecfb0c64a9d85a8789d5a6e730ed3f60109a7e1f3f7
-SIZE (ripmime-1.4.0.10.tar.gz) = 172155
+TIMESTAMP = 1675278867
+SHA256 (inflex-ripmime-1.4.1.0_GH0.tar.gz) = 6d551d6b65b4da6c6b8dfd05be8141026cc760ca1fb8a707b7bf96c199c9f52d
+SIZE (inflex-ripmime-1.4.1.0_GH0.tar.gz) = 174907