summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-17 18:38:12 +0000
committerjlam <jlam@pkgsrc.org>2001-05-17 18:38:12 +0000
commit818175b42a4795794bf902643c507d25c6ff8e73 (patch)
tree8205a8306afdacb4e85df08797a1196210a201cd /editors
parentc332bc2929b36b499ef50b7b62d899e2fa3781cf (diff)
downloadpkgsrc-818175b42a4795794bf902643c507d25c6ff8e73.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/Makefile40
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