summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2000-12-03 04:33:16 +0000
committermycroft <mycroft@pkgsrc.org>2000-12-03 04:33:16 +0000
commit83d37d3bffd0eb229dd1cd0c3be13937a6f37c11 (patch)
tree550ba8cf00f5f5dd81a6298dcd9ffe04ab3937c1 /editors
parente8838ef323002ce16941b4663ab0fb96c66d6238 (diff)
downloadpkgsrc-83d37d3bffd0eb229dd1cd0c3be13937a6f37c11.tar.gz
Depend on the ispell pkg.
Rather than using the ispell hash file included with AbiWord, delete it and make a symlink to the one from the ispell pkg. This makes the spelling checker work across platforms, including Alpha.
Diffstat (limited to 'editors')
-rw-r--r--editors/abiword/Makefile5
-rw-r--r--editors/abiword/pkg/PLIST6
2 files changed, 8 insertions, 3 deletions
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index dc0433e14c7..806f3408226 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2000/11/22 13:19:41 abs Exp $
+# $NetBSD: Makefile,v 1.14 2000/12/03 04:33:16 mycroft Exp $
#
# According to AbiSource's explanation of their trademark rights,
@@ -18,6 +18,7 @@ MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.abisource.com/
BUILD_DEPENDS+= ${LOCALBASE}/bin/unzip:../../archivers/unzip
+DEPENDS+= ispell-*:../../textproc/ispell
DEPENDS+= gtk+-1.2.*:../../x11/gtk
DEPENDS+= png>=1.0.6:../../graphics/png
@@ -45,5 +46,7 @@ MAKE_ENV+= ABI_BUILD_VERSION="${ABIWORD_VERS}" \
post-install:
${CHMOD} -R a+r ${PREFIX}/share/AbiSuite
+ rm ${PREFIX}/share/AbiSuite/dictionary/american.hash
+ ln -s ../../../lib/american.hash ${PREFIX}/share/AbiSuite/dictionary/american.hash
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/abiword/pkg/PLIST b/editors/abiword/pkg/PLIST
index 579ad68046f..6189b0dab00 100644
--- a/editors/abiword/pkg/PLIST
+++ b/editors/abiword/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2000/11/09 20:19:56 mycroft Exp $
+@comment $NetBSD: PLIST,v 1.7 2000/12/03 04:33:16 mycroft Exp $
bin/AbiWord
bin/abiword
libexec/AbiSuite/AbiWord
@@ -320,7 +320,9 @@ share/AbiSuite/AbiWord/strings/pt-PT.strings
share/AbiSuite/AbiWord/strings/sv-SE.strings
share/AbiSuite/AbiWord/system.profile
share/AbiSuite/COPYING
-share/AbiSuite/dictionary/american.hash
+@exec mkdir -p %D/share/AbiSuite/dictionary
+@exec ln -s ../../../lib/american.hash %D/share/AbiSuite/dictionary/american.hash
+@unexec rm %D/share/AbiSuite/dictionary/american.hash
share/AbiSuite/fonts/p052004l.afm
share/AbiSuite/fonts/p052004l.pfa
share/AbiSuite/fonts/p052023l.afm