summaryrefslogtreecommitdiff
path: root/mail/dovecot/Makefile
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2006-08-09 11:26:36 +0000
committerabs <abs@pkgsrc.org>2006-08-09 11:26:36 +0000
commit3db0f75ab8ea234bfd06e41366ed4e4c3e7cf6cc (patch)
treec15a2018cf881a54ef75c3e0e97a5dbfdf3d4d48 /mail/dovecot/Makefile
parent516a84e88795e6027757d02c7cced832785102b4 (diff)
downloadpkgsrc-3db0f75ab8ea234bfd06e41366ed4e4c3e7cf6cc.tar.gz
Update dovecot to 1.0rc6nb1
- Use (the newly defined) SSLDIR so we use .../certs & .../private rather than .../certs/certs and .../certs/private - Update ssl_cert_file & ssl_key_file in example dovecot.conf to match SSLDIR - Update mkcert.sh to also match SSLDIR
Diffstat (limited to 'mail/dovecot/Makefile')
-rw-r--r--mail/dovecot/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index 0bcb0437d41..84ac8282dc3 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.63 2006/08/07 06:44:51 ghen Exp $
+# $NetBSD: Makefile,v 1.64 2006/08/09 11:26:36 abs Exp $
DISTNAME= dovecot-1.0.rc6
+PKGREVISION= 1
PKGNAME= ${DISTNAME:S/.rc/rc/}
CATEGORIES= mail
MASTER_SITES= http://www.dovecot.org/releases/
@@ -17,7 +18,7 @@ USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
-CONFIGURE_ARGS+= --with-ssldir=${SSLCERTS:Q}
+CONFIGURE_ARGS+= --with-ssldir=${SSLDIR:Q}
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
@@ -42,12 +43,18 @@ SUBST_FILES.paths= dovecot-example.conf
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_STAGE.paths= pre-configure
+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_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/dovecot-example.conf \
+ ${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf \
${EGDIR}/dovecot.conf.default
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${EGDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${EGDIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${EGDIR}
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"