pkgsrc/www/mozilla/INSTALL
jlam 3b7c9b7a13 For the native firefox and mozilla packages, move the module/extension
registration out of the installation step and into the INSTALL script.
Also, remove the registration commands from the PLIST as well.  Putting
them into the INSTALL script allows for the same commands to be run
in the same way, so that there are fewer differences between installing
from source and installing from a binary package.  Also, this makes
these packages pass CHECK_FILES=yes.  Bump the PKGREVISION of firefox,
firefox-gtk1, mozilla, and mozilla-gtk2.

Also, include bsd.pkg.mk from the package Makefiles, not from within
Makefile.common.  This is a style issue and allows for appending to
variables originally defined in Makefile.common from the package
Makefile.
2005-09-17 02:35:19 +00:00

17 lines
491 B
Text

# $NetBSD: INSTALL,v 1.1 2005/09/17 02:35:19 jlam Exp $
MOZILLA="@MOZILLA@"
MOZILLA_BIN="@MOZILLA_BIN@"
MOZILLA_FIVE_HOME="${PKG_PREFIX}/lib/${MOZILLA}"
export MOZILLA_FIVE_HOME
case ${STAGE} in
POST-INSTALL)
${MKDIR} -p "./tmpdir-${PKGNAME}"
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
${MOZILLA_FIVE_HOME}/regxpcom
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
${MOZILLA_FIVE_HOME}/regchrome
${RM} -fr "./tmpdir-${PKGNAME}"
;;
esac