diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-11 19:20:07 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-11 19:20:07 +0000 |
commit | 249a2629dd0f8ebca43e7f3fb6e1fd6e07a3ab19 (patch) | |
tree | 71fc9317781b65d4e1b3ca16e32f0faa9666944a | |
parent | 0ee96ae1e268f36b569774d188e1aa1a135561d7 (diff) | |
download | ports-249a2629dd0f8ebca43e7f3fb6e1fd6e07a3ab19.tar.gz ports-249a2629dd0f8ebca43e7f3fb6e1fd6e07a3ab19.zip |
Notes
-rw-r--r-- | mail/mailmgr/Makefile | 8 | ||||
-rw-r--r-- | mail/mailmgr/pkg-plist | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/mail/mailmgr/Makefile b/mail/mailmgr/Makefile index 2d38d12771ee..7fbc37c6b5b3 100644 --- a/mail/mailmgr/Makefile +++ b/mail/mailmgr/Makefile @@ -14,12 +14,8 @@ GNU_CONFIGURE= yes SUB_FILES= pkg-message do-install: - ${INSTALL_DATA} ${WRKSRC}/mailmgr.conf \ - ${STAGEDIR}${PREFIX}/etc/mailmgr.conf.default -.if !exists(${STAGEDIR}${PREFIX}/etc/mailmgr.conf) - ${INSTALL_DATA} ${WRKSRC}/mailmgr.conf \ - ${STAGEDIR}${PREFIX}/etc/mailmgr.conf -.endif ${INSTALL_PROGRAM} ${WRKSRC}/mailmgr ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/mailmgr.conf \ + ${STAGEDIR}${PREFIX}/etc/mailmgr.conf.sample .include <bsd.port.mk> diff --git a/mail/mailmgr/pkg-plist b/mail/mailmgr/pkg-plist index f83b44df02c1..0e660a2d4dfe 100644 --- a/mail/mailmgr/pkg-plist +++ b/mail/mailmgr/pkg-plist @@ -1,4 +1,2 @@ -@unexec if cmp -s %D/etc/mailmgr.conf %D/etc/mailmgr.conf.default; then rm -f %D/etc/mailmgr.conf; fi -etc/mailmgr.conf.default -@exec if [ ! -f %D/etc/mailmgr.conf ] ; then cp -p %D/%F %B/mailmgr.conf; fi bin/mailmgr +@sample etc/mailmgr.conf.sample |