summaryrefslogtreecommitdiff
path: root/editors/abiword/INSTALL
blob: ea3ead78eb28ef8ec509dff495512459a535446f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /bin/sh
#
# $NetBSD: INSTALL,v 1.1 2001/10/31 21:22:30 zuntum Exp $

PKGNAME=$1
STAGE=$2

MKDIR="@MKDIR@"
LN="@LN@"
RM="@RM@"

ABIDIR=${PKG_PREFIX}/share/AbiSuite

case ${STAGE} in
PRE-INSTALL)
	;;

POST-INSTALL)
	${MKDIR} ${ABIDIR}/dictionary
	${RM} -f ${ABIDIR}/dictionary/american.hash
	${LN} -sf ../../../lib/american.hash ${ABIDIR}/dictionary/american.hash
	;;

*)
	echo "Unexpected argument: ${STAGE}"
	exit 1
	;;
esac
exit 0