diff options
author | vanilla <vanilla@FreeBSD.org> | 2003-04-27 09:34:29 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2003-04-27 09:34:29 +0800 |
commit | 08dee3f9da216887a8044e6517acaa8d8ee8c179 (patch) | |
tree | 95925e9633e981013aea1a91dc40ef1e82da6ed3 /mail/bincimap/Makefile | |
parent | 0413dc806effa70424aec6519484952072f18978 (diff) | |
download | freebsd-ports-gnome-08dee3f9da216887a8044e6517acaa8d8ee8c179.tar.gz freebsd-ports-gnome-08dee3f9da216887a8044e6517acaa8d8ee8c179.tar.zst freebsd-ports-gnome-08dee3f9da216887a8044e6517acaa8d8ee8c179.zip |
Add bincimap 1.1.5, light-weight IMAP server for Maildir.
PR: 50719
Submitted by: Sergei Kolobov <sergei@kolobov.com>
Diffstat (limited to 'mail/bincimap/Makefile')
-rw-r--r-- | mail/bincimap/Makefile | 60 |
1 files changed, 60 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> |