pkgsrc-wip/dovecot/Makefile
Geert Hendrickx c3a6a24536 Update to Dovecot 1.1rc1.
Finally the first v1.1 release candidate. Please test so we can have a
fully stable v1.1.0 release. v1.1.betas are already running in a few
large installations, so I don't expect there to be many bugs left.

There are no release critical bugs left and no known crash bugs. There
are a few issues I'd like to fix before v1.1.0, but I don't expect to
have more than 3-5 release candidates this time (certainly much less
than 31 anyway..)

Changes since beta16:

 - ioloop defaults now to best one availablable instead of poll
 - IMAP SEARCH correctness fixes
 - Fixed proxy_maybe handling with caching and with mysql
 - IMAP: ENVELOPE's subject field now always has TABs changed to spaces
 - Some crashfixes
2008-02-21 23:39:51 +00:00

65 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.39 2008/02/21 23:39:51 ghen Exp $
DISTNAME= dovecot-1.1.rc1
PKGNAME= ${DISTNAME:S/.rc/rc/}
CATEGORIES= mail
MASTER_SITES= http://www.dovecot.org/releases/1.1/rc/
MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://www.dovecot.org/
COMMENT= Secure IMAP and POP3 server
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
USE_TOOLS+= rpcgen
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --with-ssldir=${SSLDIR:Q}
CONFIGURE_ARGS+= --enable-header-install
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
RCD_SCRIPTS= dovecot
DOVECOT_USER?= dovecot
DOVECOT_GROUP?= dovecot
PKG_GROUPS= ${DOVECOT_GROUP}
PKG_USERS= ${DOVECOT_USER}:${DOVECOT_GROUP}
PKG_GROUPS_VARS+= DOVECOT_GROUP
PKG_USERS_VARS+= DOVECOT_USER
PKG_GECOS.${DOVECOT_USER}= Dovecot IMAP/POP3 user
EGDIR= ${PREFIX}/share/examples/dovecot
CONF_FILES= ${EGDIR}/dovecot-example.conf ${PKG_SYSCONFDIR}/dovecot.conf
INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot \
share/examples/dovecot
SUBST_CLASSES+= paths
SUBST_FILES.paths= dovecot-example.conf
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_STAGE.paths= pre-configure
BUILD_DEFS+= VARBASE
post-build:
${SED} "s|/etc/ssl/|${SSLDIR}/|" ${WRKSRC}/dovecot-example.conf \
> ${WRKDIR}/dovecot-example.conf
${SED} "s|/etc/ssl|${SSLDIR}|" ${WRKSRC}/doc/mkcert.sh \
> ${WRKDIR}/mkcert.sh
post-install:
${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${DESTDIR}${EGDIR}
${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/src/lib/liblib.a ${DESTDIR}${PREFIX}/lib/dovecot
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"