Bug 59249 - update polish dictionary in ispell
Summary: update polish dictionary in ispell
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: jmz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-13 12:20 UTC by Krzysztof Stryjek
Modified: 2003-11-14 16:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Stryjek 2003-11-13 12:20:18 UTC
	There is new published version of Polish ispell dictionary. Since
last update there are many changes, e.g. MASTER_SITE

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



I hope this update will be made soon :-))))
--
wtp (at) bsdguru (dot) org--5F4Sycj7L9aZgmcEyYUByJ1HZLChx9GPZ4vJxRrUCWxVH9HW
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- /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 --------------------------------
How-To-Repeat: 	cd /usr/ports/textproc/ispell && make ISPELL_PL=yes all install clean
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2003-11-14 15:33:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jmz

Over to maintainer.
Comment 2 jmz freebsd_committer freebsd_triage 2003-11-14 16:43:12 UTC
State Changed
From-To: open->closed

Committed. (Please: next time don't forget to provide a patch for distinfo)