diff options
author | jlam <jlam> | 2001-05-17 18:38:12 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-05-17 18:38:12 +0000 |
commit | 67f82b0e7cae253e1b111f0fe1c93ff1c86232dd (patch) | |
tree | 8205a8306afdacb4e85df08797a1196210a201cd /editors | |
parent | 0c7e3049539fec7c0ae087f73a2415fad05228eb (diff) | |
download | pkgsrc-67f82b0e7cae253e1b111f0fe1c93ff1c86232dd.tar.gz |
Mostly cosmetic changes. Also insert a delay after our informational
message prior to "building" the package so that the user can read it.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/wordperfect/Makefile | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/editors/wordperfect/Makefile b/editors/wordperfect/Makefile index 838ef1de4d3..d07ce49a2d3 100644 --- a/editors/wordperfect/Makefile +++ b/editors/wordperfect/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/02/28 10:40:23 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2001/05/17 18:38:12 jlam Exp $ DISTNAME= wordperfect-personal-8 CATEGORIES= editors @@ -34,14 +34,14 @@ post-extract: ${CHMOD} +x ${WRKDIR}/uname # Extract all the archives and set the defaults for the installation process. -# pre-build: - cd ${WRKDIR}; for file in *_*; do \ - ${GTAR} -xf $$file; \ + cd ${WRKDIR}; for file in *_*; do \ + ${GTAR} -xf $$file; \ done ${RM} -f ${WRKDIR}/shared/wpdata - ${SED} -e "s,@WRKDIR@,${WRKDIR},g" -e "s,@WPDIR@,${WPDIR},g" \ - < ${FILESDIR}/wpdata > ${WRKDIR}/shared/wpdata + ${SED} -e "s|@WRKDIR@|${WRKDIR}|g" \ + -e "s|@WPDIR@|${WPDIR}|g" \ + ${FILESDIR}/wpdata > ${WRKDIR}/shared/wpdata @${ECHO_MSG} "" @${ECHO_MSG} "-------------------------------------------------------" @${ECHO_MSG} " Now running the WordPerfect(R) installation script. " @@ -56,24 +56,28 @@ pre-build: @${ECHO_MSG} " package installation. " @${ECHO_MSG} "-------------------------------------------------------" @${ECHO_MSG} "" + @sleep 5 # Always accept the defaults during installation. -# do-build: - cd ${WRKDIR}; \ - DISPLAY=""; export DISPLAY; \ - PATH="${WRKDIR}:${PATH}"; export PATH; \ + cd ${WRKDIR}; \ + DISPLAY=""; export DISPLAY; \ + PATH="${WRKDIR}:${PATH}"; export PATH; \ yes o | ./Runme - ([ ! -d ${HOME}/.wprc ] || ${MV} ${HOME}/.wprc ${HOME}/.wprc.$$$$; \ - ${WRKDIR}/${WPDIR}/wpbin/xwp; \ - ${RM} -rf ${HOME}/.wprc; \ - [ ! -d ${HOME}/.wprc.$$$$ ] || ${MV} ${HOME}/.wprc.$$$$ ${HOME}/.wprc) + ( [ ! -d ${HOME}/.wprc ] || \ + ${MV} ${HOME}/.wprc ${HOME}/.wprc.$$$$; \ + ${WRKDIR}/${WPDIR}/wpbin/xwp; \ + ${RM} -rf ${HOME}/.wprc; \ + [ ! -d ${HOME}/.wprc.$$$$ ] || \ + ${MV} ${HOME}/.wprc.$$$$ ${HOME}/.wprc; \ + ) post-build: - ${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@WPDIR@,${WPDIR},g" \ - < ${FILESDIR}/xwp > ${WRKDIR}/xwp - ${SED} -e "s,@WPDIR@,${WPDIR},g" \ - < ${PKGDIR}/INSTALL > ${INSTALL_FILE} + ${SED} -e "s|@PREFIX@|${PREFIX}|g" \ + -e "s|@WPDIR@|${WPDIR}|g" \ + ${FILESDIR}/xwp > ${WRKDIR}/xwp + ${SED} -e "s|@WPDIR@|${WPDIR}|g" \ + ${PKGDIR}/INSTALL > ${INSTALL_FILE} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/xwp ${PREFIX}/bin/xwp |