diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-19 02:31:12 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-19 02:31:12 +0000 |
commit | 27f7553ed87d1f10acf62a7b5c0b076f7be17b51 (patch) | |
tree | 2cf8602f4224b6d5820a0046ab8a58caa731328b /mail/dovecot | |
parent | fff8c46fb9f71c553dee07d1113613e6af15304c (diff) | |
download | pkgsrc-27f7553ed87d1f10acf62a7b5c0b076f7be17b51.tar.gz |
Use SUBST framework.
Diffstat (limited to 'mail/dovecot')
-rw-r--r-- | mail/dovecot/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index b29f82a2a55..13d7df554f1 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.41 2006/01/10 12:39:04 ghen Exp $ +# $NetBSD: Makefile,v 1.42 2006/01/19 02:31:12 joerg Exp $ DISTNAME= dovecot-0.99.14 PKGREVISION= 2 @@ -35,12 +35,10 @@ CONF_FILES= ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot \ share/examples/dovecot -post-configure: - @cd ${WRKSRC}; \ - for i in dovecot-example.conf; do \ - ${SED} ${FILES_SUBST_SED} $$i > $$i.new; \ - ${MV} -f $$i.new $$i; \ - done +SUBST_CLASSES+= paths +SUBST_FILES.paths= dovecot-example.conf +SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' +SUBST_STAGE.paths= post-patch post-install: ${INSTALL_DATA_DIR} ${EGDIR} |