aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-02-05 05:51:32 +0800
committerache <ache@FreeBSD.org>2001-02-05 05:51:32 +0800
commita04a61021899b596cdbd71878b4185b86b4a294d (patch)
treef2046f88cb1617251e201fba35164277b833e7c9 /textproc
parent26d7ed42852f12dede8d80e220da42248870cef4 (diff)
downloadfreebsd-ports-gnome-a04a61021899b596cdbd71878b4185b86b4a294d.tar.gz
freebsd-ports-gnome-a04a61021899b596cdbd71878b4185b86b4a294d.tar.zst
freebsd-ports-gnome-a04a61021899b596cdbd71878b4185b86b4a294d.zip
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
Diffstat (limited to 'textproc')
-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