diff options
Diffstat (limited to 'mail/postfix/Makefile')
-rw-r--r-- | mail/postfix/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 50547fb632e..3dd1b4f240c 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.55 2002/03/13 08:10:09 martti Exp $ +# $NetBSD: Makefile,v 1.56 2002/03/16 18:06:39 martti Exp $ DISTNAME= postfix-1.1.5 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= ftp://postfix.cloud9.net/official/ @@ -62,6 +63,15 @@ pre-configure: ${SED} -e 's:__PREFIX:'${PREFIX}':g' \ < ${WRKSRC}/postfix-install.dist \ > ${WRKSRC}/postfix-install + ${CP} ${WRKSRC}/conf/sample-misc.cf ${WRKSRC}/conf/sample-misc.cf.dist + ${SED} -e 's:__PREFIX:'${PREFIX}':g' \ + < ${WRKSRC}/conf/sample-misc.cf.dist \ + > ${WRKSRC}/conf/sample-misc.cf + ${CP} ${WRKSRC}/src/global/mail_params.h \ + ${WRKSRC}/src/global/mail_params.h.dist + ${SED} -e 's:__PREFIX:'${PREFIX}':g' \ + < ${WRKSRC}/src/global/mail_params.h.dist \ + > ${WRKSRC}/src/global/mail_params.h do-configure: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} makefiles) @@ -86,6 +96,10 @@ pre-install: ${INSTALL_DATA} ${WRKSRC}/conf/postfix-files /etc/postfix ${TEST} -f /etc/postfix/postfix-script || \ ${INSTALL_DATA} ${WRKSRC}/conf/postfix-script /etc/postfix + ${TEST} -f /etc/postfix/main.cf || \ + ${INSTALL_DATA} ${WRKSRC}/conf/main.cf /etc/postfix + ${TEST} -f /etc/postfix/master.cf || \ + ${INSTALL_DATA} ${WRKSRC}/conf/master.cf /etc/postfix do-install: (cd ${WRKSRC} && ${SH} postfix-install -non-interactive) |