summaryrefslogtreecommitdiffstats
path: root/www/seamonkey
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-10-24 10:40:34 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-10-24 10:40:34 +0800
commit9c791b5207b58f286eac298941e174dc7882f615 (patch)
tree1c2431c24ed20cc999a8af89eeb005a966e5e41d /www/seamonkey
parent4eb813655f49271dbe022832e4cb523ed4e8b221 (diff)
downloadmarcuscom-ports-9c791b5207b58f286eac298941e174dc7882f615.tar.gz
marcuscom-ports-9c791b5207b58f286eac298941e174dc7882f615.tar.zst
marcuscom-ports-9c791b5207b58f286eac298941e174dc7882f615.zip
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> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3012 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/seamonkey')
-rw-r--r--www/seamonkey/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 7fca28ab4..05824e295 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -275,6 +275,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
@@ -311,9 +314,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