1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Install a simple config file.

PR:		ports/84368
Submitted by:	Fumihiko Kimura <jfkimura@yahoo.co.jp>
This commit is contained in:
Sergey Matveychuk 2005-07-31 09:28:18 +00:00
parent bd0d3ddbaa
commit 8f8deae0fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140527
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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