Print pkg-message note and ask for confirmation before anything else

This commit is contained in:
Andrey A. Chernov 2001-08-24 19:40:59 +00:00
parent 4ecea026d6
commit 1412d889d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46817

View File

@ -16,6 +16,8 @@ MAINTAINER= anton@urc.ac.ru
RUN_DEPENDS= ${LOCALBASE}/drweb/drwebd:${PORTSDIR}/security/drweb RUN_DEPENDS= ${LOCALBASE}/drweb/drwebd:${PORTSDIR}/security/drweb
IS_INTERACTIVE= yes # require sendmail rebuilding
WRKSRC= ${WRKDIR}/${DISTNAME}/clients/drwebdc WRKSRC= ${WRKDIR}/${DISTNAME}/clients/drwebdc
MAKEFILE= Makefile.unix MAKEFILE= Makefile.unix
@ -47,6 +49,9 @@ post-extract:
cd ${WRKDIR}/${DISTNAME} && ${TAR} -xvzf ${WRKDIR}/${DISTNAME}/${DISTNAME}.tar.gz clients/drwebdc clients/sendmail cd ${WRKDIR}/${DISTNAME} && ${TAR} -xvzf ${WRKDIR}/${DISTNAME}/${DISTNAME}.tar.gz clients/drwebdc clients/sendmail
pre-build: pre-build:
@${CAT} pkg-message
@echo
@read -p "Press Enter to continue or ^C to abort: " x
${MKDIR} ${WRKSRC}/libmilter ${MKDIR} ${WRKSRC}/libmilter
${CP} ${FILESDIR}/Makefile ${WRKSRC}/libmilter ${CP} ${FILESDIR}/Makefile ${WRKSRC}/libmilter
.if ${SENDMAIL_VERSION} == "8.11.1" .if ${SENDMAIL_VERSION} == "8.11.1"