FreeBSD Bugzilla – Attachment 166194 Details for
Bug 202685
[textproc/en-hunspell] upgrade port to version 2015.08.24
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update the port, add more options and pkg-help
en-hunspell.diff (text/plain), 7.78 KB, created by
Mikhail Teterin
on 2016-01-27 17:58:22 UTC
(
hide
)
Description:
Update the port, add more options and pkg-help
Filename:
MIME Type:
Creator:
Mikhail Teterin
Created:
2016-01-27 17:58:22 UTC
Size:
7.78 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 407364) >+++ Makefile (working copy) >@@ -1,25 +1,19 @@ > # $FreeBSD$ > > PORTNAME= hunspell >-PORTVERSION= 7.1 >-PORTREVISION= 1 >+PORTVERSION= 2016.01.19 > CATEGORIES= textproc >-MASTER_SITES= SF/wordlist/Hunspell%20en_US/${PORTVERSION}-0/ \ >- SF/wordlist/Hunspell%20en_CA/${PORTVERSION}-0/:CA \ >- LOCAL/sunpoet/${PORTNAME}/:GB >+MASTER_SITES= SF/wordlist/speller/${PORTVERSION}/ > PKGNAMEPREFIX= en- >-DISTFILES= hunspell-en_US-${PORTVERSION}-0${EXTRACT_SUFX} \ >- hunspell-en_CA-${PORTVERSION}-0${EXTRACT_SUFX}:CA \ >- en_GB-1.20.zip:GB >+DISTFILES= hunspell-en_US${US_VARIANT}-${PORTVERSION}${EXTRACT_SUFX} \ >+ hunspell-en_CA${CA_VARIANT}-${PORTVERSION}${EXTRACT_SUFX} \ >+ hunspell-en_GB${GB_VARIANT}-${PORTVERSION}${EXTRACT_SUFX} > DIST_SUBDIR= ${PORTNAME} > > MAINTAINER= office@FreeBSD.org > COMMENT= English hunspell dictionaries > >-# en_CA and en_US are licensed under BSD >-# en_GB is licensed under LGPL3 >-LICENSE= BSD3CLAUSE LGPL3 >-LICENSE_COMB= multi >+LICENSE= BSD3CLAUSE > > USES= zip > NO_ARCH= yes >@@ -26,13 +20,50 @@ > NO_BUILD= yes > NO_WRKSUBDIR= yes > >-PLIST_FILES= %%DATADIR%%/en_CA.aff \ >- %%DATADIR%%/en_CA.dic \ >+OPTIONS_DEFAULT= GB_ISE US_STANDARD CA_STANDARD >+OPTIONS_RADIO= American British Canadian >+OPTIONS_RADIO_Canadian= CA_STANDARD CA_LARGE >+OPTIONS_RADIO_American= US_STANDARD US_LARGE >+OPTIONS_RADIO_British= GB_IZE GB_ISE GB_LARGE >+GB_IZE_DESC= en_GB dictionary with -ize spelling >+GB_ISE_DESC= en_GB dictionary with -ise spelling >+CA_STANDARD_DESC= Canadian dictionary considered standard by maintainers >+US_STANDARD_DESC= American dictionary considered standard by maintainers >+GB_LARGE_DESC= Dictionary with more words and multiple variants per word >+CA_LARGE_DESC= ${GB_LARGE_DESC} >+US_LARGE_DESC= ${GB_LARGE_DESC} >+ >+PLIST_FILES= %%DATADIR%%/en_CA${CA_VARIANT}.aff \ >+ %%DATADIR%%/en_CA${CA_VARIANT}.dic \ >+ %%DATADIR%%/README_en_CA${CA_VARIANT}.txt \ >+ %%DATADIR%%/en_GB${GB_VARIANT}.dic \ >+ %%DATADIR%%/en_GB${GB_VARIANT}.aff \ >+ %%DATADIR%%/README_en_GB${GB_VARIANT}.txt \ >+ %%DATADIR%%/en_US${US_VARIANT}.aff \ >+ %%DATADIR%%/en_US${US_VARIANT}.dic \ >+ %%DATADIR%%/README_en_US${US_VARIANT}.txt \ > %%DATADIR%%/en_GB.dic \ > %%DATADIR%%/en_GB.aff \ >- %%DATADIR%%/en_US.aff \ >- %%DATADIR%%/en_US.dic > >+COPY= -lh # Use hardlinks rather than copies under stage/ >+ >+.include <bsd.port.options.mk> >+ >+.for c in CA GB US >+. for v in STANDARD ISE IZE LARGE >+. if ${PORT_OPTIONS:M${c}_${v}} >+${c}_VARIANT= ${v:S/STANDARD//:tl:C/^.+$/-&/} >+. endif >+. endfor >+.endfor >+ >+.if ${PORT_OPTIONS:MUS_LARGE} >+PLIST_FILES+= %%DATADIR%%/en_US.aff %%DATADIR%%/en_US.dic >+.endif >+.if ${PORT_OPTIONS:MCA_LARGE} >+PLIST_FILES+= %%DATADIR%%/en_CA.aff %%DATADIR%%/en_CA.dic >+.endif >+ > GBALIASES= en_AG en_AU en_BS en_BW en_BZ en_DK en_GH en_HK en_IE en_IN \ > en_JM en_NA en_NG en_NZ en_SG en_TT en_ZA en_ZW > USALIASES= en_PH >@@ -44,6 +75,17 @@ > do-install: > ${MKDIR} ${STAGEDIR}${DATADIR}/ > ${INSTALL_DATA} ${WRKSRC}/*.aff ${WRKSRC}/*.dic ${STAGEDIR}${DATADIR}/ >+ ${INSTALL_DATA} ${WRKSRC}/README_*.txt ${STAGEDIR}${DATADIR}/ >+ ${LN} -s en_GB${GB_VARIANT}.aff ${STAGEDIR}${DATADIR}/en_GB.aff >+ ${LN} -s en_GB${GB_VARIANT}.dic ${STAGEDIR}${DATADIR}/en_GB.dic >+.if ${PORT_OPTIONS:MUS_LARGE} >+ ${LN} -s en_US-large.aff ${STAGEDIR}${DATADIR}/en_US.aff >+ ${LN} -s en_US-large.dic ${STAGEDIR}${DATADIR}/en_US.dic >+.endif >+.if ${PORT_OPTIONS:MCA_LARGE} >+ ${LN} -s en_CA-large.aff ${STAGEDIR}${DATADIR}/en_CA.aff >+ ${LN} -s en_CA-large.dic ${STAGEDIR}${DATADIR}/en_CA.dic >+.endif > .for ALIAS in ${GBALIASES} > ${LN} -s en_GB.aff ${STAGEDIR}${DATADIR}/${ALIAS}.aff > ${LN} -s en_GB.dic ${STAGEDIR}${DATADIR}/${ALIAS}.dic >Index: distinfo >=================================================================== >--- distinfo (revision 407364) >+++ distinfo (working copy) >@@ -1,6 +1,14 @@ >-SHA256 (hunspell/hunspell-en_US-7.1-0.zip) = e1f341803f0aedb1a0d00ca1db988506fd6fe216758367e4bed66e2f2d22a198 >-SIZE (hunspell/hunspell-en_US-7.1-0.zip) = 192842 >-SHA256 (hunspell/hunspell-en_CA-7.1-0.zip) = 9229ffb96f6cdfd72dd03db4477c7416e9b90166498be2a5f487cc42e23f3223 >-SIZE (hunspell/hunspell-en_CA-7.1-0.zip) = 193289 >-SHA256 (hunspell/en_GB-1.20.zip) = 5869d8bd80eb2eb328ebe36b356348de4ae2acb1db6df39d1717d33f89f63728 >-SIZE (hunspell/en_GB-1.20.zip) = 250182 >+SHA256 (hunspell/hunspell-en_CA-2016.01.19.zip) = 00aea3cc360f6922b7b3978095cb963ca9c9fb76e7c0aa401da86f3a57e48920 >+SHA256 (hunspell/hunspell-en_CA-large-2016.01.19.zip) = 04fd5dcfdca048e18640a1d420077473ab105431fc14ebe307bda452732abf6c >+SHA256 (hunspell/hunspell-en_GB-ise-2016.01.19.zip) = d17486b550fa22e2da31f647daceec84ab6354289b99d5088e12f63d88a9a027 >+SHA256 (hunspell/hunspell-en_GB-ize-2016.01.19.zip) = 52804f35c1dc44adabaf86fc0316181c2bed28c857880fa624aea248a23d677f >+SHA256 (hunspell/hunspell-en_GB-large-2016.01.19.zip) = edcca9b78ae8923e6209db523355b4a91ac6d9daad94df12413498b4e5069719 >+SHA256 (hunspell/hunspell-en_US-2016.01.19.zip) = fe0c48084bfd534f244ecd12836ae5e0b27fc10dab28879fdafece892267a674 >+SHA256 (hunspell/hunspell-en_US-large-2016.01.19.zip) = 1c8a7a5a993313620a7d96e74e5c45f4df7ab9ad0141764ffeea66db9bfc089f >+SIZE (hunspell/hunspell-en_CA-2016.01.19.zip) = 76872 >+SIZE (hunspell/hunspell-en_CA-large-2016.01.19.zip) = 312039 >+SIZE (hunspell/hunspell-en_GB-ise-2016.01.19.zip) = 196436 >+SIZE (hunspell/hunspell-en_GB-ize-2016.01.19.zip) = 196388 >+SIZE (hunspell/hunspell-en_GB-large-2016.01.19.zip) = 314577 >+SIZE (hunspell/hunspell-en_US-2016.01.19.zip) = 195799 >+SIZE (hunspell/hunspell-en_US-large-2016.01.19.zip) = 310556 >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 407364) >+++ pkg-descr (working copy) >@@ -1,4 +1,5 @@ >-English hunspell dictionaries >+This port installs English dictionaries for US, British, and Canadian >+variants of the language. Although us of the "standard" ones is >+encouraged, multiple spelling options are available for all three. > >-WWW: http://wordlist.sourceforge.net/ >-WWW: http://en-gb.pyxidium.co.uk/dictionary/ >+WWW: http://wordlist.aspell.net/ >Index: pkg-help >=================================================================== >--- pkg-help (nonexistent) >+++ pkg-help (working copy) >@@ -0,0 +1,31 @@ >+README file for English Hunspell dictionaries derived from SCOWL. >+ >+The following dictionaries are available: >+ >+ en_US (American) >+ en_CA (Canadian) >+ en_GB-ise (British with "ise" spelling) >+ en_GB-ize (British with "ize" spelling) >+ >+ en_US-large >+ en_CA-large >+ en_GB-large (with both "ise" and "ize" spelling) >+ >+The normal (non-large) dictionaries correspond to SCOWL size 60 and, >+to encourage consistent spelling, generally only include one spelling >+variant for a word. The large dictionaries correspond to SCOWL size >+70 and may include multiple spelling for a word when both variants are >+considered almost equal. The larger dictionaries however (1) have not >+been as carefully checked for errors as the normal dictionaries and >+thus may contain misspelled or invalid words; and (2) contain >+uncommon, yet valid, words that might cause problems as they are >+likely to be misspellings of more common words (for example, "ort" and >+"calender"). >+ >+To get an idea of the difference in size, here are 25 random words >+only found in the large dictionary for American English: >+ >+ Bermejo Freyr's Guenevere Hatshepsut Nottinghamshire arrestment >+ crassitudes crural dogwatches errorless fetial flaxseeds godroon >+ incretion jalape~no's kelpie kishkes neuroglias pietisms pullulation >+ stemwinder stenoses syce thalassic zees > >Property changes on: pkg-help >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mi
:
maintainer-approval?
(
office
)
Actions:
View
|
Diff
Attachments on
bug 202685
:
160389
|
160390
|
160510
| 166194