summaryrefslogtreecommitdiff
path: root/textproc/ispell
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-02-04 21:51:32 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-02-04 21:51:32 +0000
commitf75e4f37124621694088d53351c9407889fdcf65 (patch)
tree60089e0d4340feede0b179341983004ffd7fef9b /textproc/ispell
parentUse tabs only to indent assignments (whitespace only). (diff)
Install English (American or British) *.dict file too for ports which use it
like udmsearch, mnoGoSearch (and ASPSeek not yet in ports). Approved by: jmz
Notes
Notes: svn path=/head/; revision=37955
Diffstat (limited to 'textproc/ispell')
-rw-r--r--textproc/ispell/Makefile7
-rw-r--r--textproc/ispell/pkg-plist1
2 files changed, 8 insertions, 0 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile
index db720650dc2f..cc3ee81e023e 100644
--- a/textproc/ispell/Makefile
+++ b/textproc/ispell/Makefile
@@ -215,6 +215,13 @@ pre-install:
@if [ ! -d ${DATADIR} ]; then ${MKDIR} ${DATADIR}; fi
post-install:
+.if defined(ISPELL_BRITISH)
+ ${INSTALL_DATA} ${WRKSRC}/languages/british/english.xlg \
+ ${DATADIR}/english.dict
+.else
+ ${INSTALL_DATA} ${WRKSRC}/languages/american/english.med+ \
+ ${DATADIR}/english.dict
+.endif
@-${INSTALL_DATA} ${WRKDIR}/*/*.aff ${WRKDIR}/*/*.hash ${DATADIR}
.if defined(ISPELL_FR)
@${CAT} ${MASTERDIR}/pkg-plist.fr >> ${TMPPLIST}
diff --git a/textproc/ispell/pkg-plist b/textproc/ispell/pkg-plist
index d23b9da19468..8da4479dd146 100644
--- a/textproc/ispell/pkg-plist
+++ b/textproc/ispell/pkg-plist
@@ -8,4 +8,5 @@ bin/sq
bin/tryaffix
bin/unsq
share/ispell/english.aff
+share/ispell/english.dict
share/ispell/english.hash