58c02a7bc4
- Replace (DE)INSTALL with @sample, @new(group|user) - Bump PKGNAME ok naddy@ brad@
38 lines
979 B
Makefile
38 lines
979 B
Makefile
# $OpenBSD: Makefile,v 1.12 2004/11/24 21:10:53 alek Exp $
|
|
|
|
COMMENT= "compact IMAP/POP3 server"
|
|
|
|
DISTNAME= dovecot-0.99.10.8
|
|
PKGNAME= ${DISTNAME}p0
|
|
CATEGORIES= mail
|
|
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
|
|
|
|
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>
|