aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-08-06 06:21:37 +0800
committeredwin <edwin@FreeBSD.org>2006-08-06 06:21:37 +0800
commitc4cac0ef6583009e80aa273e93016d70f91b8eb0 (patch)
treef921eb720c8a89ccbe78bb8c613ae87020368211
parent7bb40aca74731a3b08da78fe4ba53dbade691c51 (diff)
downloadfreebsd-ports-gnome-c4cac0ef6583009e80aa273e93016d70f91b8eb0.tar.gz
freebsd-ports-gnome-c4cac0ef6583009e80aa273e93016d70f91b8eb0.tar.zst
freebsd-ports-gnome-c4cac0ef6583009e80aa273e93016d70f91b8eb0.zip
New port: mail/libsieve A library to interpret Sieve scripts, and
to execute them over a given set of messages A library for parsing, sorting and filtering your mail. libSieve provides a library to interpret Sieve scripts, and to execute those scripts over a given set of messages. The return codes from the libSieve functions let your program know how to handle the message, and then it's up to you to make it so. libSieve makes no attempt to have knowledge of how SMTP, IMAP, or anything else work; just how to parse and deal with a buffer full of emails. PR: ports/101346 Submitted by: Mark Starovoytov <mark_sf@kikg.ifmo.ru>
-rw-r--r--mail/Makefile1
-rw-r--r--mail/libsieve/Makefile26
-rw-r--r--mail/libsieve/distinfo3
-rw-r--r--mail/libsieve/pkg-descr8
-rw-r--r--mail/libsieve/pkg-plist6
5 files changed, 44 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 31bedba5c100..40389a1b00e7 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -161,6 +161,7 @@
SUBDIR += libnewmail
SUBDIR += libpst
SUBDIR += librfc822
+ SUBDIR += libsieve
SUBDIR += libspf
SUBDIR += libspf-alt
SUBDIR += libspf2
diff --git a/mail/libsieve/Makefile b/mail/libsieve/Makefile
new file mode 100644
index 000000000000..8e2afff928cc
--- /dev/null
+++ b/mail/libsieve/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: libsieve
+# Date created: 4 August 2006
+# Whom: Mark Starovoytov <mark_sf@kikg.ifmo.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libsieve
+PORTVERSION= 2.1.13
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= libsieve
+
+MAINTAINER= mark_sf@kikg.ifmo.ru
+COMMENT= A library for parsing, sorting and filtering mail
+
+GNU_CONFIGURE= yes
+CONFIGURE_WRKSRC=${WRKSRC}/src
+CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS+=--prefix=${PREFIX}
+USE_GMAKE= yes
+BUILD_WRKSRC= ${WRKSRC}/src
+INSTALL_WRKSRC= ${WRKSRC}/src
+USE_LDCONFIG= yes
+
+.include <bsd.port.mk>
diff --git a/mail/libsieve/distinfo b/mail/libsieve/distinfo
new file mode 100644
index 000000000000..06da73693cd6
--- /dev/null
+++ b/mail/libsieve/distinfo
@@ -0,0 +1,3 @@
+MD5 (libsieve-2.1.13.tar.gz) = 684fc3e9f52ce23c1fe31de8b05594f9
+SHA256 (libsieve-2.1.13.tar.gz) = 911776db256f8b6a3150629974232d7820613eeb65d88b6b5aca394586eae749
+SIZE (libsieve-2.1.13.tar.gz) = 793919
diff --git a/mail/libsieve/pkg-descr b/mail/libsieve/pkg-descr
new file mode 100644
index 000000000000..bc5a169a0abf
--- /dev/null
+++ b/mail/libsieve/pkg-descr
@@ -0,0 +1,8 @@
+libSieve provides a library to interpret Sieve scripts, and to execute those
+scripts over a given set of messages. The return codes from the libSieve
+functions let your program know how to handle the message, and then it's up to
+you to make it so. libSieve makes no attempt to have knowledge of how SMTP,
+IMAP, or anything else work; just how to parse and deal with a buffer full of
+emails. The rest is up to you!
+
+WWW: http://libsieve.sourceforge.net/
diff --git a/mail/libsieve/pkg-plist b/mail/libsieve/pkg-plist
new file mode 100644
index 000000000000..954e47e766a8
--- /dev/null
+++ b/mail/libsieve/pkg-plist
@@ -0,0 +1,6 @@
+include/sieve2.h
+include/sieve2_error.h
+lib/libsieve.a
+lib/libsieve.la
+lib/libsieve.so
+lib/libsieve.so.1