Date: 17 Nov 2002 02:51:20 -0000 From: Miroslav Pendev <miro@cybershade.us> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/45357: PATCH: textproc/ispell - added bulgarian dictionary Message-ID: <20021117025120.24266.qmail@cpe0004761ac738-cm00109515bc65.cpe.net.cable.rogers.com>
next in thread | raw e-mail | index | archive | help
>Number: 45357 >Category: ports >Synopsis: PATCH: textproc/ispell - added bulgarian dictionary >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Nov 16 19:00:08 PST 2002 >Closed-Date: >Last-Modified: >Originator: Miroslav Pendev <miro@cybershade.us> >Release: FreeBSD 4.6-STABLE i386 >Organization: www.cybershade.us/freebsd/ispell >Environment: System: FreeBSD cybershade.us 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 30 11:44:01 EDT 2002 miro@cybershade.us:/usr/src/sys/compile/SHADOWNAT i386 >Description: Bulgarian dictionary for ispell. As fix is attached the diff file for ispell's port tree. >How-To-Repeat: There is nothing to repeat :-) >Fix: the diff for ispell port. --- ispell-pr.diff begins here --- diff -ruN ispell.orig/Makefile ispell/Makefile --- ispell.orig/Makefile Thu Jul 18 20:34:47 2002 +++ ispell/Makefile Thu Nov 14 20:45:40 2002 @@ -33,7 +33,7 @@ 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: *' @@ -42,6 +42,7 @@ @${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 *' @@ -145,6 +146,14 @@ EXTRA_DICT+= ${PLDISTFILE} EXTRACT_ONLY+= ${PLDISTFILE} .endif +.if defined(ISPELL_BG) +MASTER_SITES+= http://www.cybershade.us/freebsd/ispell/ \ + ${MASTER_SITE_LOCAL} +BGDISTFILE= ispell-bg-2.1.tar.gz +MASKBITS?= 64 +EXTRA_DICT+= ${BGDISTFILE} +EXTRACT_ONLY+= ${BGDISTFILE} +.endif DISTFILES+= ${EXTRA_DICT} .endif @@ -268,6 +277,10 @@ ${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} bg.dict bg.aff bg.hash +.endif pre-install: @if [ ! -d ${DATADIR} ]; then ${MKDIR} ${DATADIR}; fi @@ -322,6 +335,10 @@ .if defined(ISPELL_PL) @${CAT} ${MASTERDIR}/pkg-plist.pl >> ${TMPPLIST} .endif +.if defined(ISPELL_BG) + @${CAT} ${MASTERDIR}/pkg-plist.bg >> ${TMPPLIST} +.endif + @${ECHO_CMD} "@dirrm share/ispell" >> ${TMPPLIST} .include <bsd.port.mk> diff -ruN ispell.orig/distinfo ispell/distinfo --- ispell.orig/distinfo Sun Jun 23 19:34:02 2002 +++ ispell/distinfo Thu Nov 14 22:11:05 2002 @@ -14,3 +14,4 @@ MD5 (finnish.medium.aff.bz2) = d53611daaed94c8b17869a60e4ae61d9 MD5 (finnish.large.aff.bz2) = 9c7bfc8850e958a5d2aec579f5d8903c MD5 (ispell-pl-20011004.tar.gz) = b224a718fa28bdd888b4e813e0fb897e +MD5 (ispell-bg-2.1.tar.gz) = 0fc906d26b14da5d435917ee21842e1a diff -ruN ispell.orig/pkg-descr ispell/pkg-descr --- ispell.orig/pkg-descr Sun Jun 23 19:34:02 2002 +++ ispell/pkg-descr Thu Nov 14 21:08:47 2002 @@ -6,6 +6,7 @@ Included in this port are: - Afrikaans - British English + - Bulgarian - Danish - Dutch - Finnish diff -ruN ispell.orig/pkg-plist.bg ispell/pkg-plist.bg --- ispell.orig/pkg-plist.bg Wed Dec 31 19:00:00 1969 +++ ispell/pkg-plist.bg Thu Nov 14 21:04:14 2002 @@ -0,0 +1,2 @@ +share/ispell/bg.aff +share/ispell/bg.hash --- ispell-pr.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021117025120.24266.qmail>