git: f98f325fb4b1 - main - mail/fdm: update to 2.2

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 12 Jan 2023 05:56:36 UTC
The branch main has been updated by dinoex:

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

commit f98f325fb4b1e8a8869a422125a05387ad53585c
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-01-12 05:56:15 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-01-12 05:56:15 +0000

    mail/fdm: update to 2.2
---
 mail/fdm/Makefile | 16 ++++++++--------
 mail/fdm/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/mail/fdm/Makefile b/mail/fdm/Makefile
index 8b3cc72d4569..f92baaf33d92 100644
--- a/mail/fdm/Makefile
+++ b/mail/fdm/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fdm
-PORTVERSION=	2.1
+PORTVERSION=	2.2
 CATEGORIES=	mail
 
 MAINTAINER=	dinoex@FreeBSD.org
@@ -10,7 +10,7 @@ LICENSE=	ISCL
 
 LIB_DEPENDS=	libtdb.so:databases/tdb
 
-USES=		autoreconf:build ssl
+USES=		autoreconf ssl
 USE_GITHUB=	yes
 GH_ACCOUNT=	nicm
 
@@ -24,16 +24,16 @@ PORTEXAMPLES=	*
 OPTIONS_DEFINE=	DOCS EXAMPLES PCRE
 OPTIONS_DEFAULT=PCRE
 
-PCRE_CFLAGS=	-DPCRE
-PCRE_LIBS=	-lpcre
-PCRE_LIB_DEPENDS=libpcre.so:devel/pcre
+PCRE_LIBS=	-lpcre2-8
+PCRE_LIB_DEPENDS=libpcre2-8.so:devel/pcre2
+PCRE_CONFIGURE_ENABLE=	pcre2
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[15] ${WRKSRC}/MANUAL
-	@${ECHO_CMD} 'lex.c: parse.h' >> ${WRKSRC}/Makefile.am
+	${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[15] ${WRKSRC}/MANUAL
+	${ECHO_CMD} 'lex.c: parse.h' >> ${WRKSRC}/Makefile.am
 
 pre-configure:
-	@cd ${WRKSRC} && sh autogen.sh
+	cd ${WRKSRC} && autoupdate
 
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/mail/fdm/distinfo b/mail/fdm/distinfo
index 25493f241af1..287b535996e0 100644
--- a/mail/fdm/distinfo
+++ b/mail/fdm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655135652
-SHA256 (nicm-fdm-2.1_GH0.tar.gz) = 8da2fc2ea5fe31afd67b1a79bb9a1eee14a06879333ff9aaba294cea2be73f54
-SIZE (nicm-fdm-2.1_GH0.tar.gz) = 184711
+TIMESTAMP = 1673418876
+SHA256 (nicm-fdm-2.2_GH0.tar.gz) = 75d72794a0a7600c6c007b2f074f75f2852feb688325a7d24fb5dbab68e344ab
+SIZE (nicm-fdm-2.2_GH0.tar.gz) = 184913