Date: Fri, 02 Mar 2007 20:05:44 +0100 From: "Radim Kolar SF.NET" <hsn@sendmail.cz> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jmz@FreeBSD.org, hsn-sf@sd.iol.cz Subject: ports/109764: [PATCH] textproc/ispell: added support for czech dictionary Message-ID: <E1HND4a-000ARf-Ks@sanatana.dharma> Resent-Message-ID: <200703021910.l22JAGmC057051@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109764 >Category: ports >Synopsis: [PATCH] textproc/ispell: added support for czech dictionary >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 02 19:10:15 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Radim Kolar SF.NET >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD sanatana.dharma 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Sun Jan 14 11:36:17 CET 2007 >Description: Added support for czech dictionary removed minor portlint warnings Added file(s): - pkg-plist.cs Port maintainer (jmz@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- ispell-3.2.06_17.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/ispell/Makefile /home/hsn/hacked/ispell/Makefile --- /usr/ports/textproc/ispell/Makefile Mon Dec 4 12:38:15 2006 +++ /home/hsn/hacked/ispell/Makefile Fri Mar 2 19:55:42 2007 @@ -7,7 +7,7 @@ PORTNAME?= ispell PORTVERSION?= 3.2.06 -PORTREVISION?= 16 +PORTREVISION?= 17 CATEGORIES+= textproc MASTER_SITES= http://fmg-www.cs.ucla.edu/geoff/tars/ \ http://distfiles.opendarwin.org/ @@ -16,7 +16,8 @@ MAINTAINER?= jmz@FreeBSD.org COMMENT= An interactive spelling checker for multiple languages -ISPELL_FILES= ispell-3.2.06.tar.gz + +ISPELL_FILES= ispell-3.2.06.tar.gz MAN1= ispell.1 MAN4= ispell.4 english.4 @@ -37,7 +38,7 @@ DATADIR= ${PREFIX}/share/ispell ISPELL= ${WRKSRC}/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) && !defined(ISPELL_BG) && !defined(ISPELL_SK)) +.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) && !defined(ISPELL_SK) && !defined(ISPELL_CS)) pre-everything:: @${ECHO_MSG} '*********************************************************' @${ECHO_MSG} '* You can add further dictionaries: *' @@ -48,6 +49,7 @@ @${ECHO_MSG} '* ISPELL_INCLAMERICAN=yes to have both) *' @${ECHO_MSG} '* - Brazilian Portuguese ISPELL_BR=yes *' @${ECHO_MSG} '* - Bulgarian ISPELL_BG=yes *' + @${ECHO_MSG} '* - Czech ISPELL_CS=yes *' @${ECHO_MSG} '* - Dutch ISPELL_NL=yes *' @${ECHO_MSG} '* - Danish ISPELL_DA=yes *' @${ECHO_MSG} '* - Finnish ISPELL_FI=yes *' @@ -66,7 +68,7 @@ .if defined(ISPELL_BRITISH) SCRIPTS_ENV+= ISPELL_BRITISH=${ISPELL_BRITISH} .if defined(ISPELL_INCLAMERICAN) -SCRIPTS_ENV+= ISPELL_INCLAMERICAN=${ISPELL_INCLAMERICAN} +SCRIPTS_ENV+= ISPELL_INCLAMERICAN=${ISPELL_INCLAMERICAN} .endif .endif .if defined(ISPELL_IT) @@ -163,6 +165,12 @@ EXTRA_DICT+= ${SKDISTFILE}:sk EXTRACT_ONLY+= ${SKDISTFILE} .endif +.if defined(ISPELL_CS) +CSDISTFILE= ispell-czech-20040229.tar.gz +MASTER_SITES+= ftp://ftp.vslib.cz/pub/unix/ispell/:cs +EXTRA_DICT+= ${CSDISTFILE}:cs +EXTRACT_ONLY+= ${CSDISTFILE} +.endif .endif DISTFILES+= ${EXTRA_DICT} @@ -301,6 +309,11 @@ @cd ${WRKDIR}/${SKDISTFILE:S=.tar.gz==} && \ ${BUILDHASH} slovak.words slovak.aff slovak.hash .endif +.if defined(ISPELL_CS) + @cd ${WRKDIR}/ispell-czech && \ + ${MAKE} czech.a-z && \ + ${BUILDHASH} czech.a-z czech.aff czech.hash +.endif pre-su-install: @if [ ! -d ${DATADIR} ]; then ${MKDIR} ${DATADIR}; fi @@ -362,6 +375,9 @@ .endif .if defined(ISPELL_SK) @${CAT} ${MASTERDIR}/pkg-plist.sk >> ${TMPPLIST} +.endif +.if defined(ISPELL_CS) + @${CAT} ${MASTERDIR}/pkg-plist.cs >> ${TMPPLIST} .endif @${ECHO_CMD} "@dirrm share/ispell" >> ${TMPPLIST} diff -ruN --exclude=CVS /usr/ports/textproc/ispell/distinfo /home/hsn/hacked/ispell/distinfo --- /usr/ports/textproc/ispell/distinfo Mon Dec 4 12:38:15 2006 +++ /home/hsn/hacked/ispell/distinfo Fri Mar 2 19:33:58 2007 @@ -50,3 +50,6 @@ SHA256 (ispell-sk-0.3.2.tar.gz) = 5b8a3e57e2a783c2e09984823e78ef758ff2954b7c165cea3ba4680e4dca657b MD5 (ispell-sk-0.3.2.tar.gz) = 39a7587f1334b0d707101e28e0c29070 SIZE (ispell-sk-0.3.2.tar.gz) = 618244 +MD5 (ispell-czech-20040229.tar.gz) = 60d5cc92808eb09f764d900c680a9bff +SHA256 (ispell-czech-20040229.tar.gz) = 7a8afeba08d9d888a7aea4b0e97eae3fa4b8ba3322e3c627f9420e14c51e8ffa +SIZE (ispell-czech-20040229.tar.gz) = 1000601 diff -ruN --exclude=CVS /usr/ports/textproc/ispell/pkg-plist.cs /home/hsn/hacked/ispell/pkg-plist.cs --- /usr/ports/textproc/ispell/pkg-plist.cs Thu Jan 1 01:00:00 1970 +++ /home/hsn/hacked/ispell/pkg-plist.cs Fri Mar 2 19:32:17 2007 @@ -0,0 +1,2 @@ +share/ispell/czech.aff +share/ispell/czech.hash --- ispell-3.2.06_17.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1HND4a-000ARf-Ks>