summaryrefslogtreecommitdiff
path: root/mail/dovecot2/Makefile
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2010-11-09 15:51:48 +0000
committerghen <ghen@pkgsrc.org>2010-11-09 15:51:48 +0000
commit4e48ce9861c3dff9b492e585e98cd53b6ce77f74 (patch)
treea1ee6ba97bd41d168ca53133c0e67cb62e4736e5 /mail/dovecot2/Makefile
parent7bc5b1c246b1e4e93aebd54e63176403e126ac94 (diff)
downloadpkgsrc-4e48ce9861c3dff9b492e585e98cd53b6ce77f74.tar.gz
Argh, missed the fact that adam imported the sieve plugin as a separate
dovecot2-pigonhole package. Back out the changes related to this.
Diffstat (limited to 'mail/dovecot2/Makefile')
-rw-r--r--mail/dovecot2/Makefile32
1 files changed, 5 insertions, 27 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile
index 8bf9c596bbd..c32c9f6ca08 100644
--- a/mail/dovecot2/Makefile
+++ b/mail/dovecot2/Makefile
@@ -1,12 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2010/11/09 15:35:47 ghen Exp $
+# $NetBSD: Makefile,v 1.4 2010/11/09 15:51:48 ghen Exp $
-DOVECOT_VERSION= 2.0
-DOVECOT_SUBVERSION= .7
-SIEVE_VERSION= 0.2.1
-DISTNAME= dovecot-${DOVECOT_VERSION}${DOVECOT_SUBVERSION}
+DISTNAME= dovecot-2.0.7
CATEGORIES= mail
-MASTER_SITES= http://www.dovecot.org/releases/${DOVECOT_VERSION}/
-DOVECOT_SIEVE_SITES= http://www.rename-it.nl/dovecot/${DOVECOT_VERSION}/
+MASTER_SITES= http://www.dovecot.org/releases/2.0/
MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://www.dovecot.org/
@@ -46,15 +42,6 @@ SUBST_FILES.ssldir= doc/example-config/conf.d/10-ssl.conf
SUBST_STAGE.ssldir= pre-configure
SUBST_SED.ssldir= -e 's,/etc/ssl,${SSLDIR},'
-SUBST_CLASSES+= egdir
-SUBST_MESSAGE.egdir= Fixing EGDIR
-# sieve adds another file here (in options.mk)
-SUBST_FILES.egdir= doc/example-config/Makefile.in
-SUBST_FILES.egdir+= doc/example-config/conf.d/Makefile.in
-SUBST_FILES.egdir+= src/config/Makefile.in
-SUBST_STAGE.egdir= pre-configure
-SUBST_SED.egdir= -e 's,^exampledir = .*/example-config,exampledir = ${PREFIX}/share/examples/dovecot,'
-
EGDIR= ${PREFIX}/share/examples/dovecot
CNFS_cmd= ${SED} -ne "s,^share/examples/dovecot/,,p" PLIST
@@ -71,21 +58,12 @@ OWN_DIRS+= ${PKG_SYSCONFDIR}/dovecot/conf.d
BUILD_DEFS+= VARBASE
-.include "options.mk"
-
-post-build:
-.if !empty(PKG_OPTIONS:Mdovecot-sieve)
-# We need dovecot built in order to be able to configure sieve.
- cd ${WRKSRC.sieve} \
- && env ${CONFIGURE_ENV} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} ${CONFIGURE_ARGS.sieve}
- cd ${WRKSRC.sieve} \
- && env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} -f ${MAKE_FILE} ${BUILD_TARGET}
-.endif
-
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${DESTDIR}${EGDIR}
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${DESTDIR}${EGDIR}
+.include "options.mk"
+
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"