diff options
author | jmz <jmz@FreeBSD.org> | 2006-12-04 19:38:15 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2006-12-04 19:38:15 +0800 |
commit | 1944b60453e1e1e8b71f4baff994b83611b08738 (patch) | |
tree | 8ff119b8cea46dfdf4b9b147877bba18903d8d1e /textproc/ispell | |
parent | 441f781d0c2722fc6498ba031079e09b5a4b5e5c (diff) | |
download | freebsd-ports-gnome-1944b60453e1e1e8b71f4baff994b83611b08738.tar.gz freebsd-ports-gnome-1944b60453e1e1e8b71f4baff994b83611b08738.tar.zst freebsd-ports-gnome-1944b60453e1e1e8b71f4baff994b83611b08738.zip |
Add support for Slovak dictionary.
PR: ports/105969
Submitted by: martinko <gamato@users.sourceforge.net>
Diffstat (limited to 'textproc/ispell')
-rw-r--r-- | textproc/ispell/Makefile | 18 | ||||
-rw-r--r-- | textproc/ispell/distinfo | 3 | ||||
-rw-r--r-- | textproc/ispell/pkg-descr | 1 | ||||
-rw-r--r-- | textproc/ispell/pkg-plist.sk | 2 |
4 files changed, 22 insertions, 2 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile index 4ce55419276e..b6b044f31630 100644 --- a/textproc/ispell/Makefile +++ b/textproc/ispell/Makefile @@ -7,7 +7,7 @@ PORTNAME?= ispell PORTVERSION?= 3.2.06 -PORTREVISION?= 15 +PORTREVISION?= 16 CATEGORIES+= textproc MASTER_SITES= http://fmg-www.cs.ucla.edu/geoff/tars/ \ http://distfiles.opendarwin.org/ @@ -37,7 +37,7 @@ MUNCHLIST= ${WRKSRC}/munchlist 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 @@ pre-everything:: @${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 @@ MASKBITS?= 64 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 @@ post-build: ${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 @@ -349,6 +360,9 @@ post-install: .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} .include <bsd.port.mk> diff --git a/textproc/ispell/distinfo b/textproc/ispell/distinfo index bed2ee900aaf..becaf11ae8fb 100644 --- a/textproc/ispell/distinfo +++ b/textproc/ispell/distinfo @@ -47,3 +47,6 @@ SIZE (ispell-pl-20021127.tar.gz) = 1019831 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 diff --git a/textproc/ispell/pkg-descr b/textproc/ispell/pkg-descr index 69e993840e79..2a23c61d7845 100644 --- a/textproc/ispell/pkg-descr +++ b/textproc/ispell/pkg-descr @@ -16,5 +16,6 @@ Included in this port are: - Norwegian - Swedish - Polish + - Slovak WWW: http://fmg-www.cs.ucla.edu/geoff/ispell.html diff --git a/textproc/ispell/pkg-plist.sk b/textproc/ispell/pkg-plist.sk new file mode 100644 index 000000000000..0fe4fba58a44 --- /dev/null +++ b/textproc/ispell/pkg-plist.sk @@ -0,0 +1,2 @@ +share/ispell/slovak.aff +share/ispell/slovak.hash |