diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2004-06-07 21:59:01 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2004-06-07 21:59:01 +0000 |
commit | 0a0e09f347ac84b0ec3ff7b4dd956a4e88012a8f (patch) | |
tree | c60990d3208b6abf56bdbd29917807dfb4c0b86a /textproc/ispell | |
parent | Update to 0.3.9 release. (diff) |
Add bulgarian dictionary.
PR: ports/45357
Submitted by: Miroslav Pendev <miro@cybershade.us>
Notes
Notes:
svn path=/head/; revision=111037
Diffstat (limited to 'textproc/ispell')
-rw-r--r-- | textproc/ispell/Makefile | 21 | ||||
-rw-r--r-- | textproc/ispell/distinfo | 1 | ||||
-rw-r--r-- | textproc/ispell/pkg-descr | 1 |
3 files changed, 20 insertions, 3 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile index a3af7f57616e..f8e51c8848dd 100644 --- a/textproc/ispell/Makefile +++ b/textproc/ispell/Makefile @@ -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 diff --git a/textproc/ispell/distinfo b/textproc/ispell/distinfo index d0903e608c04..8cb283d4e1a3 100644 --- a/textproc/ispell/distinfo +++ b/textproc/ispell/distinfo @@ -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 diff --git a/textproc/ispell/pkg-descr b/textproc/ispell/pkg-descr index 6613ffcc00ef..69e993840e79 100644 --- a/textproc/ispell/pkg-descr +++ b/textproc/ispell/pkg-descr @@ -6,6 +6,7 @@ other than English. Included in this port are: - Afrikaans - British English + - Bulgarian - Danish - Dutch - Finnish |