mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
ECHO -> ECHO_MSG, ECHO_CMD
This commit is contained in:
parent
3be48cdfef
commit
5e689f791a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89504
@ -123,12 +123,12 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
|
||||
pre-everything::
|
||||
.if !defined(WITH_BDB_VER)
|
||||
@if ${LDCONFIG} -r | ${GREP} -qwE -e "-ldb(41|4)"; then \
|
||||
${ECHO} ""; \
|
||||
${ECHO} "It seems you have installed newer db than db3. If"; \
|
||||
${ECHO} "you are using newer db for cyrus-sasl2, you should"; \
|
||||
${ECHO} "specify same version by WITH_BDB_VER. For"; \
|
||||
${ECHO} "exapmle, WITH_BDB_VER=4 for db4."; \
|
||||
${ECHO} ""; \
|
||||
${ECHO_MSG} ""; \
|
||||
${ECHO_MSG} "It seems you have installed newer db than db3. If"; \
|
||||
${ECHO_MSG} "you are using newer db for cyrus-sasl2, you should"; \
|
||||
${ECHO_MSG} "specify same version by WITH_BDB_VER. For"; \
|
||||
${ECHO_MSG} "exapmle, WITH_BDB_VER=4 for db4."; \
|
||||
${ECHO_MSG} ""; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
@ -155,28 +155,28 @@ post-install:
|
||||
.for file in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file}.html \
|
||||
${PREFIX}/share/doc/cyrus-imapd2
|
||||
@${ECHO} share/doc/cyrus-imapd2/${file}.html >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd2/${file}.html >>${TMPPLIST}
|
||||
.endfor
|
||||
.for file in ${MAN1} ${MAN3} ${MAN5} ${MAN8}
|
||||
ofile=`echo ${file} | ${SED} s/cyrquota/quota/`; \
|
||||
if [ -f ${WRKSRC}/doc/man/$${ofile}.html ]; then \
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/man/$${ofile}.html \
|
||||
${PREFIX}/share/doc/cyrus-imapd2/man/$${ofile}.html; \
|
||||
${ECHO} share/doc/cyrus-imapd2/man/$${ofile}.html \
|
||||
${ECHO_CMD} share/doc/cyrus-imapd2/man/$${ofile}.html \
|
||||
>>${TMPPLIST}; \
|
||||
fi
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/cyrusv2.mc \
|
||||
${PREFIX}/share/doc/cyrus-imapd2
|
||||
@${ECHO} share/doc/cyrus-imapd2/cyrusv2.mc >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd2/cyrusv2.mc >>${TMPPLIST}
|
||||
.for file in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/text/${file} \
|
||||
${PREFIX}/share/doc/cyrus-imapd2/text
|
||||
@${ECHO} share/doc/cyrus-imapd2/text/${file} >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd2/text/${file} >>${TMPPLIST}
|
||||
.endfor
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd2/text" >>${TMPPLIST}
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd2/man" >>${TMPPLIST}
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd2" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd2/text" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd2/man" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd2" >>${TMPPLIST}
|
||||
.endif
|
||||
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
${FILESDIR}/imapd.sh > ${PREFIX}/etc/rc.d/imapd.sh
|
||||
|
@ -145,12 +145,12 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
|
||||
pre-everything::
|
||||
.if !defined(WITH_BDB_VER)
|
||||
@if ${LDCONFIG} -r | ${GREP} -qwE -e "-ldb(41|4)"; then \
|
||||
${ECHO} ""; \
|
||||
${ECHO} "It seems you have installed newer db than db3. If"; \
|
||||
${ECHO} "you are using newer db for cyrus-sasl2, you should"; \
|
||||
${ECHO} "specify same version by WITH_BDB_VER. For"; \
|
||||
${ECHO} "exapmle, WITH_BDB_VER=4 for db4."; \
|
||||
${ECHO} ""; \
|
||||
${ECHO_MSG} ""; \
|
||||
${ECHO_MSG} "It seems you have installed newer db than db3. If"; \
|
||||
${ECHO_MSG} "you are using newer db for cyrus-sasl2, you should"; \
|
||||
${ECHO_MSG} "specify same version by WITH_BDB_VER. For"; \
|
||||
${ECHO_MSG} "exapmle, WITH_BDB_VER=4 for db4."; \
|
||||
${ECHO_MSG} ""; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
@ -179,28 +179,28 @@ post-install:
|
||||
${MKDIR} ${DOCSDIR}/text
|
||||
.for file in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${DOCSDIR}
|
||||
@${ECHO} share/doc/cyrus-imapd22/${file}.html >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd22/${file}.html >>${TMPPLIST}
|
||||
.endfor
|
||||
.for file in ${MAN1} ${MAN3} ${MAN5} ${MAN8}
|
||||
ofile=`echo ${file} | ${SED} s/cyrquota/quota/`; \
|
||||
if [ -f ${WRKSRC}/doc/man/$${ofile}.html ]; then \
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/man/$${ofile}.html \
|
||||
${DOCSDIR}/man/$${ofile}.html; \
|
||||
${ECHO} share/doc/cyrus-imapd22/man/$${ofile}.html \
|
||||
${ECHO_CMD} share/doc/cyrus-imapd22/man/$${ofile}.html \
|
||||
>>${TMPPLIST}; \
|
||||
fi
|
||||
.endfor
|
||||
.for file in cyrusv2.mc murder.png netnews.png
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
||||
@${ECHO} share/doc/cyrus-imapd22/${file} >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd22/${file} >>${TMPPLIST}
|
||||
.endfor
|
||||
.for file in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/text/${file} ${DOCSDIR}/text
|
||||
@${ECHO} share/doc/cyrus-imapd22/text/${file} >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd22/text/${file} >>${TMPPLIST}
|
||||
.endfor
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd22/text" >>${TMPPLIST}
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd22/man" >>${TMPPLIST}
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd22" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22/text" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22/man" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22" >>${TMPPLIST}
|
||||
.endif
|
||||
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
${FILESDIR}/imapd.sh > ${PREFIX}/etc/rc.d/imapd.sh
|
||||
|
@ -145,12 +145,12 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
|
||||
pre-everything::
|
||||
.if !defined(WITH_BDB_VER)
|
||||
@if ${LDCONFIG} -r | ${GREP} -qwE -e "-ldb(41|4)"; then \
|
||||
${ECHO} ""; \
|
||||
${ECHO} "It seems you have installed newer db than db3. If"; \
|
||||
${ECHO} "you are using newer db for cyrus-sasl2, you should"; \
|
||||
${ECHO} "specify same version by WITH_BDB_VER. For"; \
|
||||
${ECHO} "exapmle, WITH_BDB_VER=4 for db4."; \
|
||||
${ECHO} ""; \
|
||||
${ECHO_MSG} ""; \
|
||||
${ECHO_MSG} "It seems you have installed newer db than db3. If"; \
|
||||
${ECHO_MSG} "you are using newer db for cyrus-sasl2, you should"; \
|
||||
${ECHO_MSG} "specify same version by WITH_BDB_VER. For"; \
|
||||
${ECHO_MSG} "exapmle, WITH_BDB_VER=4 for db4."; \
|
||||
${ECHO_MSG} ""; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
@ -179,28 +179,28 @@ post-install:
|
||||
${MKDIR} ${DOCSDIR}/text
|
||||
.for file in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${DOCSDIR}
|
||||
@${ECHO} share/doc/cyrus-imapd22/${file}.html >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd22/${file}.html >>${TMPPLIST}
|
||||
.endfor
|
||||
.for file in ${MAN1} ${MAN3} ${MAN5} ${MAN8}
|
||||
ofile=`echo ${file} | ${SED} s/cyrquota/quota/`; \
|
||||
if [ -f ${WRKSRC}/doc/man/$${ofile}.html ]; then \
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/man/$${ofile}.html \
|
||||
${DOCSDIR}/man/$${ofile}.html; \
|
||||
${ECHO} share/doc/cyrus-imapd22/man/$${ofile}.html \
|
||||
${ECHO_CMD} share/doc/cyrus-imapd22/man/$${ofile}.html \
|
||||
>>${TMPPLIST}; \
|
||||
fi
|
||||
.endfor
|
||||
.for file in cyrusv2.mc murder.png netnews.png
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
||||
@${ECHO} share/doc/cyrus-imapd22/${file} >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd22/${file} >>${TMPPLIST}
|
||||
.endfor
|
||||
.for file in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/text/${file} ${DOCSDIR}/text
|
||||
@${ECHO} share/doc/cyrus-imapd22/text/${file} >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd22/text/${file} >>${TMPPLIST}
|
||||
.endfor
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd22/text" >>${TMPPLIST}
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd22/man" >>${TMPPLIST}
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd22" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22/text" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22/man" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22" >>${TMPPLIST}
|
||||
.endif
|
||||
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
${FILESDIR}/imapd.sh > ${PREFIX}/etc/rc.d/imapd.sh
|
||||
|
@ -145,12 +145,12 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
|
||||
pre-everything::
|
||||
.if !defined(WITH_BDB_VER)
|
||||
@if ${LDCONFIG} -r | ${GREP} -qwE -e "-ldb(41|4)"; then \
|
||||
${ECHO} ""; \
|
||||
${ECHO} "It seems you have installed newer db than db3. If"; \
|
||||
${ECHO} "you are using newer db for cyrus-sasl2, you should"; \
|
||||
${ECHO} "specify same version by WITH_BDB_VER. For"; \
|
||||
${ECHO} "exapmle, WITH_BDB_VER=4 for db4."; \
|
||||
${ECHO} ""; \
|
||||
${ECHO_MSG} ""; \
|
||||
${ECHO_MSG} "It seems you have installed newer db than db3. If"; \
|
||||
${ECHO_MSG} "you are using newer db for cyrus-sasl2, you should"; \
|
||||
${ECHO_MSG} "specify same version by WITH_BDB_VER. For"; \
|
||||
${ECHO_MSG} "exapmle, WITH_BDB_VER=4 for db4."; \
|
||||
${ECHO_MSG} ""; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
@ -179,28 +179,28 @@ post-install:
|
||||
${MKDIR} ${DOCSDIR}/text
|
||||
.for file in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${DOCSDIR}
|
||||
@${ECHO} share/doc/cyrus-imapd22/${file}.html >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd22/${file}.html >>${TMPPLIST}
|
||||
.endfor
|
||||
.for file in ${MAN1} ${MAN3} ${MAN5} ${MAN8}
|
||||
ofile=`echo ${file} | ${SED} s/cyrquota/quota/`; \
|
||||
if [ -f ${WRKSRC}/doc/man/$${ofile}.html ]; then \
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/man/$${ofile}.html \
|
||||
${DOCSDIR}/man/$${ofile}.html; \
|
||||
${ECHO} share/doc/cyrus-imapd22/man/$${ofile}.html \
|
||||
${ECHO_CMD} share/doc/cyrus-imapd22/man/$${ofile}.html \
|
||||
>>${TMPPLIST}; \
|
||||
fi
|
||||
.endfor
|
||||
.for file in cyrusv2.mc murder.png netnews.png
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
||||
@${ECHO} share/doc/cyrus-imapd22/${file} >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd22/${file} >>${TMPPLIST}
|
||||
.endfor
|
||||
.for file in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/text/${file} ${DOCSDIR}/text
|
||||
@${ECHO} share/doc/cyrus-imapd22/text/${file} >>${TMPPLIST}
|
||||
@${ECHO_CMD} share/doc/cyrus-imapd22/text/${file} >>${TMPPLIST}
|
||||
.endfor
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd22/text" >>${TMPPLIST}
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd22/man" >>${TMPPLIST}
|
||||
@${ECHO} "@dirrm share/doc/cyrus-imapd22" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22/text" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22/man" >>${TMPPLIST}
|
||||
@${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22" >>${TMPPLIST}
|
||||
.endif
|
||||
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
${FILESDIR}/imapd.sh > ${PREFIX}/etc/rc.d/imapd.sh
|
||||
|
Loading…
Reference in New Issue
Block a user