From 8f8deae0fedcd895beaf4d8090b0cdfd7a86cdab Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Sun, 31 Jul 2005 09:28:18 +0000 Subject: - Install a simple config file. PR: ports/84368 Submitted by: Fumihiko Kimura --- mail/qpopper/Makefile | 2 ++ mail/qpopper/pkg-plist | 1 + 2 files changed, 3 insertions(+) (limited to 'mail/qpopper') diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile index 029c265e2c12..b02ef2557b66 100644 --- a/mail/qpopper/Makefile +++ b/mail/qpopper/Makefile @@ -192,6 +192,8 @@ install-conf-file: ${CHMOD} ${POP_MODE_CONF} ${POPUSERS_FILE}${SAMPLE_EXT} ; \ fi ; \ fi + @${INSTALL} -c -m 0640 \ + ${WRKSRC}/samples/qpopper.config ${PREFIX}/etc/qpopper.config${SAMPLE_EXT} @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ ${PKGINSTALL} ${PKGNAME} POST-INSTALL diff --git a/mail/qpopper/pkg-plist b/mail/qpopper/pkg-plist index 644471ecb20b..8edc790fec83 100644 --- a/mail/qpopper/pkg-plist +++ b/mail/qpopper/pkg-plist @@ -6,6 +6,7 @@ libexec/qpopper @exec mkdir -p %D/etc/qpopper && chown %%POP_USER%%:%%POP_GROUP%% %D/etc/qpopper && chmod %%POP_MODE_DIR%% %D/etc/qpopper @mode %%POP_MODE_CONF%% etc/qpopper/popusers.sample +etc/qpopper.config.sample %%PORTDOCS%%share/doc/qpopper/GUIDE.pdf %%PORTDOCS%%@dirrm share/doc/qpopper @unexec rmdir %D/etc/qpopper 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/etc/qpopper`` to remove any configuration files and logs left." | fmt -- cgit v1.2.3