Simplify configuration installation in rc.d

This commit is contained in:
Andrey A. Chernov 2001-08-25 14:48:12 +00:00
parent 0ebb7c5682
commit 51c70519e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46889
2 changed files with 0 additions and 7 deletions

View file

@ -74,9 +74,6 @@ do-install:
${SED} 's#!!PREFIX!!#${PREFIX}#' < ${FILESDIR}/drweb-smf.sh >${WRKSRC}/drweb-smf.sh
# drwebsmf.sh instead drweb-smf.sh to start after drwebd.sh
${INSTALL_DATA} ${WRKSRC}/drweb-smf.sh ${PREFIX}/etc/rc.d/drwebsmf.sh-dist
if [ ! -f ${PREFIX}/etc/rc.d/drwebsmf.sh ] ; then \
${INSTALL_DATA} ${WRKSRC}/drweb-smf.sh ${PREFIX}/etc/rc.d/drwebsmf.sh; \
fi
post-install:
@echo
@ -84,7 +81,5 @@ post-install:
@echo
@echo "Read documentation about additional sendmail tuning needed"
@echo "in ${DOC_DIR}."
@echo "Inspect options used as example in ${PREFIX}/etc/rc.d/drwebsmf.sh"
@echo "and set bit x to really activate that script."
.include <bsd.port.post.mk>

View file

@ -1,7 +1,5 @@
drweb/drwebdc
@unexec if [ -f %D/etc/rc.d/drwebsmf.sh ] && cmp -s %D/etc/rc.d/drwebsmf.sh %D/etc/rc.d/drwebsmf.sh-dist; then rm -f %D/etc/rc.d/drwebsmf.sh; fi
etc/rc.d/drwebsmf.sh-dist
@exec if [ ! -f %D/etc/rc.d/drwebsmf.sh ] ; then cp -p %D/%F %B/drwebsmf.sh; fi
sbin/drweb-smf
share/doc/drweb-sendmail/readme.sendmail
share/doc/drweb-sendmail/readme.sendmail.rus