pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/postfix-current Use SUBST framework for mailer.co...
details: https://anonhg.NetBSD.org/pkgsrc/rev/83060c9b6db5
branches: trunk
changeset: 506023:83060c9b6db5
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jan 10 20:21:32 2006 +0000
description:
Use SUBST framework for mailer.conf as well.
diffstat:
mail/postfix-current/Makefile | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 2edfa7a30e2c -r 83060c9b6db5 mail/postfix-current/Makefile
--- a/mail/postfix-current/Makefile Tue Jan 10 20:16:43 2006 +0000
+++ b/mail/postfix-current/Makefile Tue Jan 10 20:21:32 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2006/01/10 06:39:00 martti Exp $
+# $NetBSD: Makefile,v 1.56 2006/01/10 20:21:32 joerg Exp $
DISTNAME= postfix-2.3-20060103
#PKGREVISION= 1
@@ -109,14 +109,20 @@
MAKE_ENV+= DEBUG= # empty
+SUBST_CLASSES+= paths
+SUBST_FILES.paths= ${WRKDIR}/mailer.conf
+SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
+SUBST_STAGE.paths= post-patch
+
+post-extract:
+ ${CP} ${FILESDIR}/mailer.conf ${WRKDIR}/mailer.conf
+
do-configure:
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${MAKE} -f Makefile.init makefiles \
'CCARGS=${CCARGS}' 'AUXLIBS=${AUXLIBS}'
post-build:
- @${SED} ${FILES_SUBST_SED} ${FILESDIR}/mailer.conf \
- > ${WRKDIR}/mailer.conf
.if !empty(PKG_OPTIONS:Msasl)
${ECHO} "pwcheck_method: ${PWCHECK_METHOD}" > ${WRKDIR}/smtpd.conf
.endif
Home |
Main Index |
Thread Index |
Old Index