2004-05-09 20:06:47 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2004/05/10 00:06:47 brad Exp $
|
2003-07-14 19:44:28 -04:00
|
|
|
|
|
|
|
COMMENT= "compact IMAP/POP3 server"
|
2004-05-09 20:06:47 -04:00
|
|
|
DISTNAME= dovecot-0.99.10.4
|
2003-07-14 19:44:28 -04:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
HOMEPAGE= http://dovecot.procontrol.fi/
|
|
|
|
|
|
|
|
MAINTAINER= Jolan Luff <jolan@openbsd.org>
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= iconv
|
|
|
|
|
2004-05-09 20:06:47 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.58
|
2003-07-14 19:44:28 -04:00
|
|
|
CONFIGURE_ARGS+=--without-pam --without-shadow --without-vpopmail \
|
|
|
|
--localstatedir=/var --with-ssldir=/etc/ssl --with-ssl=openssl
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@perl -pi -e 's|_PREFIX_|${PREFIX}|g' ${WRKSRC}/dovecot-example.conf
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dovecot
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf \
|
|
|
|
${WRKSRC}/dovecot-example.conf ${PREFIX}/share/examples/dovecot
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh \
|
|
|
|
${PREFIX}/sbin/dovecot-mkcert.sh
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|