aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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