aboutsummaryrefslogtreecommitdiff
path: root/mail/bincimap
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2003-04-27 01:34:29 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2003-04-27 01:34:29 +0000
commit3d7385cf877c6fbb1404a9a66a6b056cd6bfabf7 (patch)
treea88ae3aaf4110fff3b040ca45f8dcded12f57520 /mail/bincimap
parent75daff8880b37f4efc2a686e28aeb4b63f7ef244 (diff)
downloadports-3d7385cf877c6fbb1404a9a66a6b056cd6bfabf7.tar.gz
ports-3d7385cf877c6fbb1404a9a66a6b056cd6bfabf7.zip
Notes
Diffstat (limited to 'mail/bincimap')
-rw-r--r--mail/bincimap/Makefile60
-rw-r--r--mail/bincimap/distinfo1
-rw-r--r--mail/bincimap/pkg-descr8
-rw-r--r--mail/bincimap/pkg-plist26
4 files changed, 95 insertions, 0 deletions
diff --git a/mail/bincimap/Makefile b/mail/bincimap/Makefile
new file mode 100644
index 000000000000..bd53fbf56cd1
--- /dev/null
+++ b/mail/bincimap/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: bincimap
+# Date created: 27 Mar 2003
+# Whom: Sergei Kolobov <sergei@kolobov.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bincimap
+PORTVERSION= 1.1.5
+CATEGORIES= mail
+MASTER_SITES= http://www.bincimap.org/dl/tarballs/
+
+MAINTAINER= sergei@kolobov.com
+COMMENT= Light-weight IMAP server for Maildir
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GETOPT_LONG= yes
+
+CONFDIR?= ${PREFIX}/etc/${PORTNAME}
+PLIST_SUB+= CONFDIR="${CONFDIR:S,^${PREFIX}/,,}"
+
+CONFIGURE_ARGS+= --sysconfdir=${CONFDIR}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+.if defined(WITHOUT_OPENSSL)
+CONFIGURE_ARGS+= --without-ssl
+.else
+CONFIGURE_ARGS+= --with-ssl
+USE_OPENSSL= yes
+.endif
+
+MAN1= bincimap-up.1 bincimapd.1
+MAN5= bincimap.conf.5
+DOCS= AUTHORS ChangeLog README doc/bincimap*
+
+post-install:
+ @${MKDIR} ${CONFDIR}
+ ${INSTALL_DATA} ${WRKSRC}/conf/bincimap.conf \
+ ${CONFDIR}/bincimap.conf.sample
+ @${MKDIR} ${EXAMPLESDIR}
+.for dir in xinetd supervise/imap/log supervise/imaps/log
+ @${MKDIR} ${EXAMPLESDIR}/${dir}
+.endfor
+ @cd ${WRKSRC}/conf && \
+ ${INSTALL_DATA} xinetd-bincimap ${EXAMPLESDIR}/xinetd/imap && \
+ ${INSTALL_DATA} xinetd-bincimaps ${EXAMPLESDIR}/xinetd/imaps
+ @cd ${WRKSRC}/service && \
+ ${INSTALL_DATA} run ${EXAMPLESDIR}/supervise/imap && \
+ ${INSTALL_DATA} log/run ${EXAMPLESDIR}/supervise/imap/log && \
+ ${INSTALL_DATA} run-ssl ${EXAMPLESDIR}/supervise/imaps/run && \
+ ${INSTALL_DATA} log/run ${EXAMPLESDIR}/supervise/imaps/log
+ cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1
+ cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/mail/bincimap/distinfo b/mail/bincimap/distinfo
new file mode 100644
index 000000000000..353459c53b1b
--- /dev/null
+++ b/mail/bincimap/distinfo
@@ -0,0 +1 @@
+MD5 (bincimap-1.1.5.tar.bz2) = 0e38137c96b0143390df9992a7ded054
diff --git a/mail/bincimap/pkg-descr b/mail/bincimap/pkg-descr
new file mode 100644
index 000000000000..78dfa5fa8ae2
--- /dev/null
+++ b/mail/bincimap/pkg-descr
@@ -0,0 +1,8 @@
+Binc IMAP is a GPL licensed IMAP4rev1 server for Maildir, written in C++.
+It strives to be stable, fast, flexible, and RFC compliant.
+
+For those familiar with qmail-pop3d, this IMAP server will be the natural
+choice. It is invoked similarily and uses checkpassword to authenticate.
+
+Author: Andreas Aardal Hanssen <bincimap@andreas.hanssen.name>
+WWW: http://www.bincimap.org/
diff --git a/mail/bincimap/pkg-plist b/mail/bincimap/pkg-plist
new file mode 100644
index 000000000000..e32efa24dac4
--- /dev/null
+++ b/mail/bincimap/pkg-plist
@@ -0,0 +1,26 @@
+bin/bincimapd
+bin/bincimap-up
+%%CONFDIR%%/bincimap.conf.sample
+@unexec rmdir %D/%%CONFDIR%% 2>/dev/null || true
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/bincimap-faq.html
+%%PORTDOCS%%%%DOCSDIR%%/bincimap-goals.html
+%%PORTDOCS%%%%DOCSDIR%%/bincimap-imapdir.html
+%%PORTDOCS%%%%DOCSDIR%%/bincimap-tech.html
+%%PORTDOCS%%%%DOCSDIR%%/bincimap.css
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/xinetd/imap
+%%EXAMPLESDIR%%/xinetd/imaps
+@dirrm %%EXAMPLESDIR%%/xinetd
+%%EXAMPLESDIR%%/supervise/imap/run
+%%EXAMPLESDIR%%/supervise/imap/log/run
+@dirrm %%EXAMPLESDIR%%/supervise/imap/log
+@dirrm %%EXAMPLESDIR%%/supervise/imap
+%%EXAMPLESDIR%%/supervise/imaps/run
+%%EXAMPLESDIR%%/supervise/imaps/log/run
+@dirrm %%EXAMPLESDIR%%/supervise/imaps/log
+@dirrm %%EXAMPLESDIR%%/supervise/imaps
+@dirrm %%EXAMPLESDIR%%/supervise
+@dirrm %%EXAMPLESDIR%%