openbsd-ports/mail/dovecot/Makefile

39 lines
1002 B
Makefile
Raw Normal View History

2005-01-02 07:56:04 -05:00
# $OpenBSD: Makefile,v 1.13 2005/01/02 12:56:04 alek Exp $
COMMENT= "compact IMAP/POP3 server"
2004-07-30 13:40:27 -04:00
DISTNAME= dovecot-0.99.10.8
PKGNAME= ${DISTNAME}p0
CATEGORIES= mail
2004-07-21 10:19:19 -04:00
MASTER_SITES= ${HOMEPAGE}releases/
HOMEPAGE= http://dovecot.org/
MAINTAINER= Brad Smith <brad@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2005-01-02 07:56:04 -05:00
WANTLIB= c crypto ssl
2004-08-10 05:14:47 -04:00
MODULES= converters/libiconv
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.59
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>