summaryrefslogtreecommitdiff
path: root/www/firefox/INSTALL
blob: ffabf7c94122981beac15545b75481020761964e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: INSTALL,v 1.2 2007/02/04 00:15:49 dmcmahill 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}:${PKG_PREFIX}/lib" HOME="./tmpdir-${PKGNAME}" \
		${MOZILLA_FIVE_HOME}/${MOZILLA_BIN} -register
	${RM} -fr "./tmpdir-${PKGNAME}"
	;;
esac