summaryrefslogtreecommitdiff
path: root/www/seamonkey/INSTALL
blob: 54b44defc31148df820c4f455de7073e0a835740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: INSTALL,v 1.3 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}/regxpcom
	if ${TEST} -x ${MOZILLA_FIVE_HOME}/regchrome; then
		LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" \
			HOME="./tmpdir-${PKGNAME}" \
			${MOZILLA_FIVE_HOME}/regchrome
	fi
	${RM} -fr "./tmpdir-${PKGNAME}"
	;;
esac