Date: Tue, 28 Nov 2006 19:29:06 GMT From: martinko<gamato@users.sourceforge.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/105969: Update port: textproc/ispell -- Slovak dictionary support added Message-ID: <200611281929.kASJT6OW058206@www.freebsd.org> Resent-Message-ID: <200611281930.kASJURBA095628@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 105969 >Category: ports >Synopsis: Update port: textproc/ispell -- Slovak dictionary support added >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: Tue Nov 28 19:30:27 GMT 2006 >Closed-Date: >Last-Modified: >Originator: martinko >Release: FreeBSD 6.2-PRERELEASE >Organization: >Environment: FreeBSD mb-aw1n-bsd 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sat Sep 23 10:05:07 CEST 2006 root@mb-aw1n-bsd:/usr/obj/usr/src/sys/MB-AW1N i386 >Description: Hello, I am sending you my patches to provide support for Slovak dictionary for textproc/ispell. After this I am submitting PR for new slave port textproc/sk-ispell. Thank you, Martin PS: I followed chapters 3.4 and 3.5 of the Porter's Handbook and everything seemed to be OK, but please double-check to make sure I haven't left out anything. Also, note that I haven't touched port version/revision as I wasn't sure about them. >How-To-Repeat: >Fix: Patches attached. Patch attached with submission follows: --- distinfo.orig Wed Feb 1 02:33:20 2006 +++ distinfo Tue Nov 28 17:10:49 2006 @@ -47,3 +47,6 @@ MD5 (ispell-bg-2.1.tar.gz) = 226ea86d1f10b0bffc816fa149548c4f SHA256 (ispell-bg-2.1.tar.gz) = 3f9916c2a4ac2a8429a951715d03d91bacf20cbcbd78bfd945243e1001e32d32 SIZE (ispell-bg-2.1.tar.gz) = 233729 +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 --- Makefile.orig Tue May 23 17:48:25 2006 +++ Makefile Tue Nov 28 18:31:57 2006 @@ -37,7 +37,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) +.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)) pre-everything:: @${ECHO_MSG} '*********************************************************' @${ECHO_MSG} '* You can add further dictionaries: *' @@ -57,6 +57,7 @@ @${ECHO_MSG} '* - German (new spelling) ISPELL_DENEU=yes *' @${ECHO_MSG} '* - Italian ISPELL_IT=yes *' @${ECHO_MSG} '* - Polish ISPELL_PL=yes *' + @${ECHO_MSG} '* - Slovak ISPELL_SK=yes *' @${ECHO_MSG} '* - Swedish ISPELL_SE=yes *' @${ECHO_MSG} '* - Norwegian ISPELL_NO=yes *' @${ECHO_MSG} '* Example: "make ISPELL_FR=yes ISPELL_SE=yes install" *' @@ -156,6 +157,12 @@ EXTRA_DICT+= ${BGDISTFILE}:bg EXTRACT_ONLY+= ${BGDISTFILE} .endif +.if defined(ISPELL_SK) +SKDISTFILE= ispell-sk-0.3.2.tar.gz +MASTER_SITES+= http://sk-spell.sk.cx/files/:sk +EXTRA_DICT+= ${SKDISTFILE}:sk +EXTRACT_ONLY+= ${SKDISTFILE} +.endif .endif DISTFILES+= ${EXTRA_DICT} @@ -290,6 +297,10 @@ ${CP} data/bulgarian.aff bulgarian.aff && \ ${CP} data/bulgarian.hash bulgarian.hash .endif +.if defined(ISPELL_SK) + @cd ${WRKDIR}/${SKDISTFILE:S=.tar.gz==} && \ + ${BUILDHASH} slovak.words slovak.aff slovak.hash +.endif pre-su-install: @if [ ! -d ${DATADIR} ]; then ${MKDIR} ${DATADIR}; fi @@ -348,6 +359,9 @@ .endif .if defined(ISPELL_PL) @${CAT} ${MASTERDIR}/pkg-plist.pl >> ${TMPPLIST} +.endif +.if defined(ISPELL_SK) + @${CAT} ${MASTERDIR}/pkg-plist.sk >> ${TMPPLIST} .endif @${ECHO_CMD} "@dirrm share/ispell" >> ${TMPPLIST} --- pkg-descr.orig Mon Jun 7 23:59:01 2004 +++ pkg-descr Tue Nov 28 17:19:47 2006 @@ -16,5 +16,6 @@ - Norwegian - Swedish - Polish + - Slovak WWW: http://fmg-www.cs.ucla.edu/geoff/ispell.html --- pkg-plist.sk~ Tue Nov 28 19:44:01 2006 +++ pkg-plist.sk Tue Nov 28 17:22:32 2006 @@ -0,0 +1,2 @@ +share/ispell/slovak.aff +share/ispell/slovak.hash >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611281929.kASJT6OW058206>