aboutsummaryrefslogtreecommitdiff
path: root/textproc/ispell
diff options
context:
space:
mode:
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