summaryrefslogtreecommitdiff
path: root/mail/postfix-current/Makefile
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-02-11 17:46:31 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-02-11 17:46:31 +0000
commit6780341a68ec3d708f8e75af5f53a9c972725f67 (patch)
tree6ed96a063f2ac421e1d9d1f4bf0f662d58cec04d /mail/postfix-current/Makefile
parentDepend on correct port. Therefore, bump PORTREVISION (diff)
Fix installation of config files as to not overwrite current ones
PR: 34618 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=54565
Diffstat (limited to 'mail/postfix-current/Makefile')
-rw-r--r--mail/postfix-current/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index fb7c5e7a3bc1..0e7d713c2755 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -7,7 +7,7 @@
PORTNAME= postfix
PORTVERSION= 20020115
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/%SUBDIR%/ \
@@ -34,6 +34,9 @@ MAN8= bounce.8 cleanup.8 defer.8 error.8 flush.8 lmtp.8 local.8 \
NO_LATEST_LINK= yes
+CONF1= main.cf master.cf access aliases canonical pcre_table regexp_table \
+ relocated transport virtual
+
.if !defined(DEBUG)
MAKEFILEFLAGS+= DEBUG=
.endif
@@ -80,11 +83,10 @@ do-install:
sample_directory=${PREFIX}/etc/postfix \
readme_directory=${READMEDIR}
- @${INSTALL_DATA} ${WRKSRC}/conf/main.cf \
- ${PREFIX}/etc/postfix/sample-main.cf
-
- @${INSTALL_DATA} ${WRKSRC}/conf/master.cf \
- ${PREFIX}/etc/postfix/sample-master.cf
+.for file in ${CONF1}
+ ${INSTALL_DATA} ${WRKSRC}/conf/${file} \
+ ${PREFIX}/etc/postfix/sample-${file}
+.endfor
@${INSTALL_SCRIPT} \
${WRKSRC}/auxiliary/rmail/rmail \