Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2003 13:19:14 +0100 (CET)
From:      Krzysztof Stryjek <wtp@bsdguru.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59249: update polish dictionary in ispell
Message-ID:  <20031113121914.40F4126166@kryptos.mud.pl>
Resent-Message-ID: <200311131220.hADCKKup060589@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59249
>Category:       ports
>Synopsis:       update polish dictionary in ispell
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 13 04:20:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Krzysztof Stryjek
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
private
>Environment:
System: FreeBSD kryptos.mud.pl 4.8-STABLE FreeBSD 4.8-STABLE #1: Tue Jul 29 23:21:08 CEST 2003 toor@kryptos.mud.pl:/usr/src/sys/compile/POOH i386

>Description:
	There is new published version of Polish ispell dictionary. Since
last update there are many changes, e.g. MASTER_SITE

>How-To-Repeat:
	cd /usr/ports/textproc/ispell && make ISPELL_PL=yes all install clean
>Fix:

There is a patch for Makefile of ispell port:
--------------------- cut here --------------------------------

--- /usr/ports/textproc/ispell/Makefile	Fri Mar  7 07:11:40 2003
+++ Makefile.ispell	Thu Nov 13 12:41:30 2003
@@ -142,12 +142,14 @@
 EXTRA_DICT+=	${FIDICTFILE} ${FIAFFIXFILE}
 .endif
 .if defined(ISPELL_PL)
-MASTER_SITES+=	ftp://sunsite.icm.edu.pl/pub/unix/polish-ispell/ \
+MASTER_SITE_SUBDIR=	ispell-pl
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		${MASTER_SITE_LOCAL}
-PLDISTFILE=	ispell-pl-20011004.tar.gz
+PLDISTFILE=	ispell-pl-20021127.tar.gz
 MASKBITS?=	64
 EXTRA_DICT+=	${PLDISTFILE}
 EXTRACT_ONLY+=	${PLDISTFILE}
+BUILDHASH=	${WRKDIR}/${PLDISTFILE:S=.tar.gz==}/zbuduj.slownik.sh
 .endif
 
 DISTFILES+=	${EXTRA_DICT}
@@ -206,6 +208,9 @@
 .if defined(ISPELL_AF)
 	@cd ${WRKDIR} && ${PATCH} < ${FILESDIR}/AF.patch 2>/dev/null
 .endif
+.if defined(ISPELL_PL)
+	@${REINPLACE_CMD} -e 's/bash/sh/' ${BUILDHASH}
+.endif
 
 post-configure:
 	@${ECHO_CMD} "#define CFLAGS \"${CFLAGS}\"" >> ${WRKSRC}/local.h
@@ -268,7 +273,7 @@
 		finnish.hash && ${MV} ${FIAFFIXFILE:S/.bz2//} finnish.aff
 .endif
 .if defined(ISPELL_PL)
-	@cd ${WRKDIR}/${PLDISTFILE:S=ispell-pl-==:S=.tar.gz==} && \
+	@cd ${WRKDIR}/${PLDISTFILE:S=.tar.gz==} && \
 		${CAT} A B C imiona-A imiona-B fachowe/* > polish.dic && \
 		${BUILDHASH} polish.dic polish.aff polish.hash
 .endif
--------------------- cut here --------------------------------

I hope this update will be made soon :-))))
--
wtp (at) bsdguru (dot) org
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031113121914.40F4126166>