diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-10-24 02:38:40 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-10-24 02:38:40 +0000 |
commit | 667c8927db21fd5ce76c2c13c7b9f7fc275b3eb3 (patch) | |
tree | c204bc9eb96dad203b2298c86310e05bcfe353bc /www/mozilla | |
parent | * Add a pkg-deinstall script to remove left-over dynamically generated (diff) |
Move REINPLACE_CMD up from do-install to pre-install so no .bak files are left
behind after pkg_delete.
PR: 73054
Submitted by: Michael Johnson <ahze@ahze.net>
Notes
Notes:
svn path=/head/; revision=120055
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index 770de69f7c11..3787c6dd1b67 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -274,6 +274,9 @@ pre-install: ${TOUCH} -f ${PLIST} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \ Makefile ${MAKE_ARGS} install + ${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \ + ${PREFIX}/lib/${MOZILLA}/mozilla \ + ${PREFIX}/lib/${MOZILLA}/mozilla-config if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \ ${ECHO_CMD} bin/mozilla >> ${PLIST} ; \ fi @@ -310,9 +313,6 @@ do-install: ${CHMOD} 755 ${PREFIX}/lib/${MOZILLA} ${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla ${PREFIX}/lib/${MOZILLA} ${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla-config ${PREFIX}/lib/${MOZILLA} - ${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \ - ${PREFIX}/lib/${MOZILLA}/mozilla \ - ${PREFIX}/lib/${MOZILLA}/mozilla-config cd ${FAKEDIR}/lib/${MOZILLA} && ${FIND} . | \ ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${MOZILLA} ${INSTALL_SCRIPT} ${WRKSRC}/${MOZILLA} ${PREFIX}/bin |