1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add bulgarian dictionary.

PR:		ports/45357
Submitted by:	Miroslav Pendev <miro@cybershade.us>
This commit is contained in:
Jean-Marc Zucconi 2004-06-07 21:59:01 +00:00
parent 5e6b0ce3ff
commit 0a0e09f347
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111037
3 changed files with 20 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PORTNAME?= ispell
PORTVERSION?= 3.2.06
PORTREVISION?= 9
PORTREVISION?= 10
CATEGORIES+= textproc
MASTER_SITES= http://fmg-www.cs.ucla.edu/geoff/tars/
DISTNAME= ispell-3.2.06 # needed for slave ports / options
@ -37,7 +37,7 @@ UNSQ?= ${WRKDIR}/${DENEUDISTFILE:S=.tar.bz2$==}/bin/unsq.pl
MUNCHLIST= ${WRKSRC}/munchlist
DATADIR= ${PREFIX}/share/ispell
.if (!defined(ISPELL_IT) && !defined(ISPELL_FR) && !defined(ISPELL_SE) && !defined(ISPELL_BR) && !defined(ISPELL_DENEU) && !defined(ISPELL_DEALT) && !defined(ISPELL_BRITISH) && !defined(ISPELL_NO) && !defined(ISPELL_NL) && !defined(ISPELL_DA) && !defined(ISPELL_AF) && !defined(ISPELL_FI) && !defined(ISPELL_PL))
.if (!defined(ISPELL_IT) && !defined(ISPELL_FR) && !defined(ISPELL_SE) && !defined(ISPELL_BR) && !defined(ISPELL_DENEU) && !defined(ISPELL_DEALT) && !defined(ISPELL_BRITISH) && !defined(ISPELL_NO) && !defined(ISPELL_NL) && !defined(ISPELL_DA) && !defined(ISPELL_AF) && !defined(ISPELL_FI) && !defined(ISPELL_PL)) && !defined(ISPELL_BG)
pre-everything::
@${ECHO_MSG} '*********************************************************'
@${ECHO_MSG} '* You can add further dictionaries: *'
@ -46,6 +46,7 @@ pre-everything::
@${ECHO_MSG} '* - British ISPELL_BRITISH=yes *'
@${ECHO_MSG} '* (replaces the American dictionary) *'
@${ECHO_MSG} '* - Brazilian Portuguese ISPELL_BR=yes *'
@${ECHO_MSG} '* - Bulgarian ISPELL_BG=yes *'
@${ECHO_MSG} '* - Dutch ISPELL_NL=yes *'
@${ECHO_MSG} '* - Danish ISPELL_DA=yes *'
@${ECHO_MSG} '* - Finnish ISPELL_FI=yes *'
@ -149,9 +150,17 @@ EXTRA_DICT+= ${PLDISTFILE}
EXTRACT_ONLY+= ${PLDISTFILE}
BUILDHASH= ${WRKDIR}/${PLDISTFILE:S=.tar.gz==}/zbuduj.slownik.sh
.endif
.if defined(ISPELL_BG)
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE} ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= bgoffice
BGDISTFILE= ispell-bg-2.1.tar.gz
MASKBITS?= 64
EXTRA_DICT+= ${BGDISTFILE}
EXTRACT_ONLY+= ${BGDISTFILE}
.endif
.endif
DISTFILES+= ${EXTRA_DICT}
.endif
post-extract:
.if defined(ISPELL_IT)
@ -275,6 +284,12 @@ post-build:
${CAT} A B C imiona-A imiona-B fachowe/* > polish.dic && \
${BUILDHASH} polish.dic polish.aff polish.hash
.endif
.if defined(ISPELL_BG)
@cd ${WRKDIR}/${BGDISTFILE:S=.tar.gz==} && \
${BUILDHASH} data/bulgarian.dict data/bulgarian.aff data/bulgarian.hash && \
${CP} data/bulgarian.aff bulgarian.aff && \
${CP} data/bulgarian.hash bulgarian.hash
.endif
pre-install:
@if [ ! -d ${DATADIR} ]; then ${MKDIR} ${DATADIR}; fi

View File

@ -14,3 +14,4 @@ MD5 (finnish.small.aff.bz2) = 19fec07598e23ad747bc999ea53b9538
MD5 (finnish.medium.aff.bz2) = d53611daaed94c8b17869a60e4ae61d9
MD5 (finnish.large.aff.bz2) = 9c7bfc8850e958a5d2aec579f5d8903c
MD5 (ispell-pl-20021127.tar.gz) = 91418bdae4b7a4eb6a8cc69be8e5787d
MD5 (ispell-bg-2.1.tar.gz) = 226ea86d1f10b0bffc816fa149548c4f

View File

@ -6,6 +6,7 @@ other than English.
Included in this port are:
- Afrikaans
- British English
- Bulgarian
- Danish
- Dutch
- Finnish