summaryrefslogtreecommitdiffstats
path: root/mail/qpopper
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-07-31 09:28:18 +0000
committersem <sem@FreeBSD.org>2005-07-31 09:28:18 +0000
commit7a1aad54af5d98e24126b758cc93a85e514d0a23 (patch)
treebc6da58e65d1d67d0b106def4d7621e82a02ec1b /mail/qpopper
parent1b47dcedb930c6252538907f29c6f7368b1bc849 (diff)
downloadFreeBSD-ports-7a1aad54af5d98e24126b758cc93a85e514d0a23.zip
FreeBSD-ports-7a1aad54af5d98e24126b758cc93a85e514d0a23.tar.gz
- Install a simple config file.
PR: ports/84368 Submitted by: Fumihiko Kimura <jfkimura@yahoo.co.jp>
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/Makefile2
-rw-r--r--mail/qpopper/pkg-plist1
2 files changed, 3 insertions, 0 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 029c265..b02ef25 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 644471e..8edc790 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
OpenPOWER on IntegriCloud