diff options
author | Max Khon <fjoe@FreeBSD.org> | 2003-06-06 13:46:20 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2003-06-06 13:46:20 +0000 |
commit | 388d2d768f0e611b8dfe120db0b255088166963c (patch) | |
tree | 1bebc864d450f555054e321a6fd0c0b61f15c3cf /mail/libnewmail | |
parent | Author has rerolled source tarball (Makefile.in is the only file that was (diff) |
New port: mail/libnewmail
libnewmail is a generic mail checking library.
It supports a simple API, an extensible plugin architecture
and asynchronous queries among other features.
Applications linking to libnewmail may enumerate configured mailboxes,
query mail box information and status and request a mail spool
auto-detection for users without any libnewmail specific configuration.
PR: 52691
Submitted by: Kirill Ponomarew
Notes
Notes:
svn path=/head/; revision=82369
Diffstat (limited to 'mail/libnewmail')
-rw-r--r-- | mail/libnewmail/Makefile | 44 | ||||
-rw-r--r-- | mail/libnewmail/distinfo | 1 | ||||
-rw-r--r-- | mail/libnewmail/files/patch-doc::Makefile.in | 23 | ||||
-rw-r--r-- | mail/libnewmail/pkg-descr | 10 | ||||
-rw-r--r-- | mail/libnewmail/pkg-plist | 82 |
5 files changed, 160 insertions, 0 deletions
diff --git a/mail/libnewmail/Makefile b/mail/libnewmail/Makefile new file mode 100644 index 000000000000..e84423add407 --- /dev/null +++ b/mail/libnewmail/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: libnewmail +# Date created: 05.06.2003 +# Whom: Kirill Ponomarew <ponomarew@oberon.net> +# +# $FreeBSD$ +# + +PORTNAME= libnewmail +PORTVERSION= 0.2 +CATEGORIES= mail +MASTER_SITES= http://www.stud.uni-hamburg.de/~lennart/projects/libnewmail/ + +MAINTAINER= ponomarew@oberon.net +COMMENT= Generic mail checking library + +LIB_DEPENDS= gnutls.8:${PORTSDIR}/security/gnutls \ + oop.4:${PORTSDIR}/devel/liboop + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +INSTALLS_SHLIB= yes +USE_REINPLACE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +DOC_FILES= README \ + README.html \ + doxygen.conf + +post-patch: + @${REINPLACE_CMD} -e \ + 's|#include <wait.h>|#include <sys/wait.h>|g' \ + ${WRKSRC}/src/imap.c + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for doc in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR} +.endfor + @${CP} -R ${WRKSRC}/doc/reference ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/mail/libnewmail/distinfo b/mail/libnewmail/distinfo new file mode 100644 index 000000000000..eb88f159511c --- /dev/null +++ b/mail/libnewmail/distinfo @@ -0,0 +1 @@ +MD5 (libnewmail-0.2.tar.gz) = 2f8cca3a78c357d8220d29f00669eb1f diff --git a/mail/libnewmail/files/patch-doc::Makefile.in b/mail/libnewmail/files/patch-doc::Makefile.in new file mode 100644 index 000000000000..4d43a8764f26 --- /dev/null +++ b/mail/libnewmail/files/patch-doc::Makefile.in @@ -0,0 +1,23 @@ +--- doc/Makefile.in.orig Thu Jun 5 10:26:59 2003 ++++ doc/Makefile.in Thu Jun 5 10:27:34 2003 +@@ -282,20 +282,8 @@ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-info-am + +- +-reference: doxygen.conf +- doxygen doxygen.conf +- touch reference +- +-doxygen: +- touch doxygen.conf +- $(MAKE) reference +- + maintainer-clean: + rm -rf reference +- +-README: README.html +- lynx --dump $^ > $@ + + .PHONY: doxygen + # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/mail/libnewmail/pkg-descr b/mail/libnewmail/pkg-descr new file mode 100644 index 000000000000..ef7f7aacb3fb --- /dev/null +++ b/mail/libnewmail/pkg-descr @@ -0,0 +1,10 @@ +libnewmail is a generic mail checking library for Unix/Linux +and other operating systems. It supports a simple API, an +extensible plugin architecture and asynchronous queries among +other features. Applications linking to libnewmail may enumerate +configured mailboxes, query mail box information and status and +request a mail spool auto-detection for users without any +libnewmail specific configuration. The library offers a clean +API to implement your own mail checking plugins. + +WWW: http://www.stud.uni-hamburg.de/~lennart/projects/libnewmail diff --git a/mail/libnewmail/pkg-plist b/mail/libnewmail/pkg-plist new file mode 100644 index 000000000000..b3e44a355260 --- /dev/null +++ b/mail/libnewmail/pkg-plist @@ -0,0 +1,82 @@ +bin/nmail +bin/nmail-async +include/libnewmail/config.h +include/libnewmail/module.h +include/libnewmail/newmail.h +include/libnewmail/util.h +lib/libnewmail.a +lib/libnewmail.la +lib/libnewmail.so +lib/libnewmail.so.0 +lib/libnewmail/libimap.a +lib/libnewmail/libimap.la +lib/libnewmail/libimap.so +lib/libnewmail/libimap.so.0 +lib/libnewmail/libmaildir.a +lib/libnewmail/libmaildir.la +lib/libnewmail/libmaildir.so +lib/libnewmail/libmaildir.so.0 +lib/libnewmail/libpop3.a +lib/libnewmail/libpop3.la +lib/libnewmail/libpop3.so +lib/libnewmail/libpop3.so.0 +lib/libnewmail/libunix.a +lib/libnewmail/libunix.la +lib/libnewmail/libunix.so +lib/libnewmail/libunix.so.0 +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.html +%%PORTDOCS%%%%DOCSDIR%%/doxygen.conf +%%PORTDOCS%%%%DOCSDIR%%/reference/html/annotated.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/config_8h-source.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/config_8h.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/doxygen.css +%%PORTDOCS%%%%DOCSDIR%%/reference/html/doxygen.png +%%PORTDOCS%%%%DOCSDIR%%/reference/html/files.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/functions.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/globals.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/index.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/module_8h-source.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/module_8h.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/newmail_8h-source.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/newmail_8h.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/structconfig__t.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/structnm__info.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/structnm__spool.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/structnm__status.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/util_8h-source.html +%%PORTDOCS%%%%DOCSDIR%%/reference/html/util_8h.html +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/Makefile +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/annotated.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/config_8h.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/doxygen.sty +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/files.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/index.log +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/index.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/module_8h.aux +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/module_8h.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/newmail_8h.aux +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/newmail_8h.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.aux +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.dvi +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.idx +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.ilg +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.ind +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.log +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.toc +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structconfig__t.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__info.aux +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__info.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__spool.aux +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__spool.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__status.aux +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__status.tex +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/util_8h.aux +%%PORTDOCS%%%%DOCSDIR%%/reference/latex/util_8h.tex +@dirrm include/libnewmail +@dirrm lib/libnewmail +%%PORTDOCS%%@dirrm %%DOCSDIR%%/reference/html +%%PORTDOCS%%@dirrm %%DOCSDIR%%/reference/latex +%%PORTDOCS%%@dirrm %%DOCSDIR%%/reference +%%PORTDOCS%%@dirrm %%DOCSDIR%% |