Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jun 2003 11:32:43 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52961: New port: mail/libnewmail
Message-ID:  <E19Nr6x-000Lhb-00@voodoo.oberon.net>
Resent-Message-ID: <200306050940.h559eFv7012473@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         52961
>Category:       ports
>Synopsis:       New port: mail/libnewmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 05 02:40:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
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.

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mail/libnewmail
#	mail/libnewmail/Makefile
#	mail/libnewmail/distinfo
#	mail/libnewmail/pkg-descr
#	mail/libnewmail/files
#	mail/libnewmail/files/patch-doc::Makefile.in
#	mail/libnewmail/pkg-plist
#
echo c - mail/libnewmail
mkdir -p mail/libnewmail > /dev/null 2>&1
echo x - mail/libnewmail/Makefile
sed 's/^X//' >mail/libnewmail/Makefile << 'END-of-mail/libnewmail/Makefile'
X# New ports collection makefile for:  		libnewmail
X# Date created:        				05.06.2003
X# Whom:               				Kirill Ponomarew <ponomarew@oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libnewmail
XPORTVERSION=	0.2
XCATEGORIES=	mail
XMASTER_SITES=	http://www.stud.uni-hamburg.de/~lennart/projects/libnewmail/
X
XMAINTAINER=	ponomarew@oberon.net
XCOMMENT=	Generic mail checking library
X
XLIB_DEPENDS=	gnutls.8:${PORTSDIR}/security/gnutls \
X		oop.4:${PORTSDIR}/devel/liboop
X
XGNU_CONFIGURE=	yes
XUSE_LIBTOOL=	yes
XINSTALLS_SHLIB=	yes
XUSE_REINPLACE=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LIBS="-L${LOCALBASE}/lib"
X
XDOC_FILES=	README \
X		README.html \
X		doxygen.conf
X
Xpost-patch:
X	@${REINPLACE_CMD} -e \
X	's|#include <wait.h>|#include <sys/wait.h>|g' \
X		${WRKSRC}/src/imap.c
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for doc in ${DOC_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
X.endfor
X	@${CP} -R ${WRKSRC}/doc/reference ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mail/libnewmail/Makefile
echo x - mail/libnewmail/distinfo
sed 's/^X//' >mail/libnewmail/distinfo << 'END-of-mail/libnewmail/distinfo'
XMD5 (libnewmail-0.2.tar.gz) = 2f8cca3a78c357d8220d29f00669eb1f
END-of-mail/libnewmail/distinfo
echo x - mail/libnewmail/pkg-descr
sed 's/^X//' >mail/libnewmail/pkg-descr << 'END-of-mail/libnewmail/pkg-descr'
Xlibnewmail is a generic mail checking library for Unix/Linux
Xand other operating systems. It supports a simple API, an
Xextensible plugin architecture and asynchronous queries among
Xother features. Applications linking to libnewmail may enumerate
Xconfigured mailboxes, query mail box information and status and
Xrequest a mail spool auto-detection for users without any
Xlibnewmail specific configuration. The library offers a clean
XAPI to implement your own mail checking plugins.
X
XWWW: http://www.stud.uni-hamburg.de/~lennart/projects/libnewmail
END-of-mail/libnewmail/pkg-descr
echo c - mail/libnewmail/files
mkdir -p mail/libnewmail/files > /dev/null 2>&1
echo x - mail/libnewmail/files/patch-doc::Makefile.in
sed 's/^X//' >mail/libnewmail/files/patch-doc::Makefile.in << 'END-of-mail/libnewmail/files/patch-doc::Makefile.in'
X--- doc/Makefile.in.orig	Thu Jun  5 10:26:59 2003
X+++ doc/Makefile.in	Thu Jun  5 10:27:34 2003
X@@ -282,20 +282,8 @@
X 	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
X 	uninstall-info-am
X 
X-
X-reference: doxygen.conf
X-	doxygen doxygen.conf
X-	touch reference
X-
X-doxygen:
X-	touch doxygen.conf
X-	$(MAKE) reference
X-
X maintainer-clean:
X 	rm -rf reference
X-
X-README: README.html
X-	lynx --dump $^ > $@
X 
X .PHONY: doxygen
X # Tell versions [3.59,3.63) of GNU make to not export all variables.
END-of-mail/libnewmail/files/patch-doc::Makefile.in
echo x - mail/libnewmail/pkg-plist
sed 's/^X//' >mail/libnewmail/pkg-plist << 'END-of-mail/libnewmail/pkg-plist'
Xbin/nmail
Xbin/nmail-async
Xinclude/libnewmail/config.h
Xinclude/libnewmail/module.h
Xinclude/libnewmail/newmail.h
Xinclude/libnewmail/util.h
Xlib/libnewmail.a
Xlib/libnewmail.la
Xlib/libnewmail.so
Xlib/libnewmail.so.0
Xlib/libnewmail/libimap.a
Xlib/libnewmail/libimap.la
Xlib/libnewmail/libimap.so
Xlib/libnewmail/libimap.so.0
Xlib/libnewmail/libmaildir.a
Xlib/libnewmail/libmaildir.la
Xlib/libnewmail/libmaildir.so
Xlib/libnewmail/libmaildir.so.0
Xlib/libnewmail/libpop3.a
Xlib/libnewmail/libpop3.la
Xlib/libnewmail/libpop3.so
Xlib/libnewmail/libpop3.so.0
Xlib/libnewmail/libunix.a
Xlib/libnewmail/libunix.la
Xlib/libnewmail/libunix.so
Xlib/libnewmail/libunix.so.0
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/README.html
X%%PORTDOCS%%%%DOCSDIR%%/doxygen.conf
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/annotated.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/config_8h-source.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/config_8h.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/doxygen.css
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/doxygen.png
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/files.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/functions.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/globals.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/index.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/module_8h-source.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/module_8h.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/newmail_8h-source.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/newmail_8h.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/structconfig__t.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/structnm__info.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/structnm__spool.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/structnm__status.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/util_8h-source.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/html/util_8h.html
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/Makefile
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/annotated.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/config_8h.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/doxygen.sty
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/files.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/index.log
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/index.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/module_8h.aux
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/module_8h.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/newmail_8h.aux
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/newmail_8h.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.aux
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.dvi
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.idx
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.ilg
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.ind
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.log
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/refman.toc
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structconfig__t.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__info.aux
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__info.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__spool.aux
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__spool.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__status.aux
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/structnm__status.tex
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/util_8h.aux
X%%PORTDOCS%%%%DOCSDIR%%/reference/latex/util_8h.tex
X@dirrm include/libnewmail
X@dirrm lib/libnewmail
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/reference/html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/reference/latex
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/reference
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-mail/libnewmail/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19Nr6x-000Lhb-00>