Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2023 11:22:21 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 61f83846779f - main - mail/mfmod_pcre: new port had been added (+)
Message-ID:  <202308091122.379BMLRd021850@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

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

commit 61f83846779f393ac96ea6cbdde8f973995f7f00
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-08-09 11:21:50 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-08-09 11:21:50 +0000

    mail/mfmod_pcre: new port had been added (+)
    
    Loadable module for mailfromd which adds Perl-compatible
    regular expressions to the mail filtering language (MFL).
    
    Requested by:   maintainer
---
 mail/Makefile             |  1 +
 mail/mfmod_pcre/Makefile  | 31 +++++++++++++++++++++++++++++++
 mail/mfmod_pcre/distinfo  |  3 +++
 mail/mfmod_pcre/pkg-descr |  2 ++
 4 files changed, 37 insertions(+)

diff --git a/mail/Makefile b/mail/Makefile
index b8a86885fd3e..4abacbef5e1a 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -227,6 +227,7 @@
     SUBDIR += mew
     SUBDIR += mew-devel
     SUBDIR += mfmod_ldap
+    SUBDIR += mfmod_pcre
     SUBDIR += milter-bogom
     SUBDIR += milter-callback
     SUBDIR += milter-greylist
diff --git a/mail/mfmod_pcre/Makefile b/mail/mfmod_pcre/Makefile
new file mode 100644
index 000000000000..8ff65d31589a
--- /dev/null
+++ b/mail/mfmod_pcre/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	mfmod_pcre
+PORTVERSION=	1.1.1
+CATEGORIES=	mail
+MASTER_SITES=	http://download.gnu.org.ua/pub/release/${PORTNAME}/ \
+		http://download.gnu.org.ua/pub/alpha/${PORTNAME}/
+
+MAINTAINER=	zeus@gnu.org.ua
+COMMENT=	PCRE support loadable module for mailfromd
+WWW=		https://puszcza.gnu.org.ua/projects/mfmod_pcre/
+
+LICENSE=	GPLv3+
+
+BUILD_DEPENDS=	${LOCALBASE}/include/mailfromd/mfmod.h:mail/mailfromd
+LIB_DEPENDS=	libmailutils.so:mail/mailutils libpcre2-8.so:devel/pcre2
+
+USES=		libtool localbase
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
+
+INFO=		${PORTNAME}
+PLIST_FILES=	lib/mailfromd/mfmod_pcre.so share/mailfromd/pcre.mfl
+PORTDOCS=	NEWS README
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/mail/mfmod_pcre/distinfo b/mail/mfmod_pcre/distinfo
new file mode 100644
index 000000000000..82a6fd054153
--- /dev/null
+++ b/mail/mfmod_pcre/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1687980003
+SHA256 (mfmod_pcre-1.1.1.tar.gz) = fc4bfeffc891c128fd33f33a4f19f89ddaaebb56e0ce030336f148a57366fd5a
+SIZE (mfmod_pcre-1.1.1.tar.gz) = 510963
diff --git a/mail/mfmod_pcre/pkg-descr b/mail/mfmod_pcre/pkg-descr
new file mode 100644
index 000000000000..e64f4d60424c
--- /dev/null
+++ b/mail/mfmod_pcre/pkg-descr
@@ -0,0 +1,2 @@
+This package is a loadable module for mailfromd which adds Perl-
+compatible regular expressions to the mail filtering language (MFL).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308091122.379BMLRd021850>