summaryrefslogtreecommitdiff
path: root/mail/postfix-current
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-11 14:09:51 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-11 14:09:51 +0000
commitac7e1bd96c919f39cd0c0192580df54df8d93945 (patch)
tree24b1c9c2baef286bd6ea6362bdc8b5a819920ec1 /mail/postfix-current
parentRetire the local copy of exim_monitor/EDITME from the port, since it (diff)
Install rmail script for those who don't use sendmail or compile it
Delete %D/etc/postfix quietly since most deinstalls are just upgrades to the next snapshot. PR: 27038 Reviewed by: roam
Notes
Notes: svn path=/head/; revision=43847
Diffstat (limited to 'mail/postfix-current')
-rw-r--r--mail/postfix-current/Makefile4
-rw-r--r--mail/postfix-current/pkg-plist3
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 1a8c66608e99..c7145298fc85 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -7,6 +7,7 @@
PORTNAME= postfix
PORTVERSION= 20010525
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/%SUBDIR%/ \
@@ -102,6 +103,9 @@ do-install:
@${INSTALL_SCRIPT} \
${WRKSRC}/conf/postfix-script-sgid \
${PREFIX}/etc/postfix/postfix-script
+ @${INSTALL_SCRIPT} \
+ ${WRKSRC}/auxiliary/rmail/rmail \
+ ${PREFIX}/bin/rmail
.for file in ${BIN1}
@${INSTALL_PROGRAM} \
diff --git a/mail/postfix-current/pkg-plist b/mail/postfix-current/pkg-plist
index 24a2b7c7d5b9..5b297656b077 100644
--- a/mail/postfix-current/pkg-plist
+++ b/mail/postfix-current/pkg-plist
@@ -1,5 +1,6 @@
@unexec if cmp -s %D/etc/postfix/main.cf %D/etc/postfix/sample-main.cf; then rm -f %D/etc/postfix/main.cf; fi
@unexec if cmp -s %D/etc/postfix/master.cf %D/etc/postfix/sample-master.cf; then rm -f %D/etc/postfix/master.cf; fi
+bin/rmail
etc/postfix/LICENSE
etc/postfix/postfix-script
etc/postfix/sample-access
@@ -125,4 +126,4 @@ sbin/sendmail
%%SUB_DOCS%%share/doc/postfix/virtual.8.html
%%SUB_DOCS%%@dirrm share/doc/postfix
@dirrm libexec/postfix
-@dirrm etc/postfix
+@unexec rmdir %D/etc/postfix 2>/dev/null || true