From 249a2629dd0f8ebca43e7f3fb6e1fd6e07a3ab19 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 11 Sep 2015 19:20:07 +0000 Subject: - Switch to @sample Approved by: portmgr blanket --- mail/mailmgr/Makefile | 8 ++------ 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 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 -- cgit v1.2.3