diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2001-06-11 22:09:51 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2001-06-11 22:09:51 +0800 |
commit | 59220158d89ec32234ada53bd5e5523f8d88d65a (patch) | |
tree | b7eec18898836a73ea512a5d730fe83be976d0c6 | |
parent | b9ff474def05be87ad484e61ae591ed0517c568f (diff) | |
download | freebsd-ports-gnome-59220158d89ec32234ada53bd5e5523f8d88d65a.tar.gz freebsd-ports-gnome-59220158d89ec32234ada53bd5e5523f8d88d65a.tar.zst freebsd-ports-gnome-59220158d89ec32234ada53bd5e5523f8d88d65a.zip |
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
-rw-r--r-- | mail/postfix-current/Makefile | 4 | ||||
-rw-r--r-- | mail/postfix-current/pkg-plist | 3 |
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 |