diff options
author | jmz <jmz@FreeBSD.org> | 2002-06-24 07:34:02 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2002-06-24 07:34:02 +0800 |
commit | daaa99bf3334672357f7bdc4463fab9fc0aecd57 (patch) | |
tree | a3c01bb7df01f0c321b9b8e492b3a354b7c4fb3e /textproc/ispell | |
parent | 592e8ffb49665fda3c69da281d12664ee3586a52 (diff) | |
download | freebsd-ports-gnome-daaa99bf3334672357f7bdc4463fab9fc0aecd57.tar.gz freebsd-ports-gnome-daaa99bf3334672357f7bdc4463fab9fc0aecd57.tar.zst freebsd-ports-gnome-daaa99bf3334672357f7bdc4463fab9fc0aecd57.zip |
Add support for Polish language.
PR: ports/39699
Submitted by: Piotr Rusiecki <piotr@innet.com.pl>
Diffstat (limited to 'textproc/ispell')
-rw-r--r-- | textproc/ispell/Makefile | 19 | ||||
-rw-r--r-- | textproc/ispell/distinfo | 1 | ||||
-rw-r--r-- | textproc/ispell/pkg-descr | 1 | ||||
-rw-r--r-- | textproc/ispell/pkg-plist.pl | 2 |
4 files changed, 22 insertions, 1 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile index dbb7a86a9db8..96dbb8c4392f 100644 --- a/textproc/ispell/Makefile +++ b/textproc/ispell/Makefile @@ -31,7 +31,7 @@ UNSQ?= ${WRKDIR}/${DENEUDISTFILE:S=.tar.bz2$==}/bin/unsq.pl MUNCHLIST= ${WRKSRC}/munchlist DATADIR= ${PREFIX}/share/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)) +.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)) pre-everything:: @${ECHO_MSG} '*********************************************************' @${ECHO_MSG} '* You can add further dictionaries: *' @@ -48,6 +48,7 @@ pre-everything:: @${ECHO_MSG} '* - German (old spelling) ISPELL_DEALT=yes *' @${ECHO_MSG} '* - German (new spelling) ISPELL_DENEU=yes *' @${ECHO_MSG} '* - Italian ISPELL_IT=yes *' + @${ECHO_MSG} '* - Polish ISPELL_PL=yes *' @${ECHO_MSG} '* - Swedish ISPELL_SE=yes *' @${ECHO_MSG} '* - Norwegian ISPELL_NO=yes *' @${ECHO_MSG} '* Example: "make ISPELL_FR=yes ISPELL_SE=yes install" *' @@ -134,6 +135,14 @@ FIAFFIXFILE= finnish.medium.aff.bz2 .endif EXTRA_DICT+= ${FIDICTFILE} ${FIAFFIXFILE} .endif +.if defined(ISPELL_PL) +MASTER_SITES+= ftp://sunsite.icm.edu.pl/pub/unix/polish-ispell/ \ + ${MASTER_SITE_LOCAL} +PLDISTFILE= ispell-pl-20011004.tar.gz +MASKBITS?= 64 +EXTRA_DICT+= ${PLDISTFILE} +EXTRACT_ONLY+= ${PLDISTFILE} +.endif DISTFILES+= ${EXTRA_DICT} .endif @@ -252,6 +261,11 @@ post-build: ${BUILDHASH} ${FIDICTFILE:S/.bz2//} ${FIAFFIXFILE:S/.bz2//} \ finnish.hash && ${MV} ${FIAFFIXFILE:S/.bz2//} finnish.aff .endif +.if defined(ISPELL_PL) + @cd ${WRKDIR}/${PLDISTFILE:S=ispell-pl-==:S=.tar.gz==} && \ + ${CAT} A B C imiona-A imiona-B fachowe/* > polish.dic && \ + ${BUILDHASH} polish.dic polish.aff polish.hash +.endif pre-install: @if [ ! -d ${DATADIR} ]; then ${MKDIR} ${DATADIR}; fi @@ -303,6 +317,9 @@ post-install: .if defined(ISPELL_FI) @${CAT} ${MASTERDIR}/pkg-plist.fi >> ${TMPPLIST} .endif +.if defined(ISPELL_PL) + @${CAT} ${MASTERDIR}/pkg-plist.pl >> ${TMPPLIST} +.endif @${ECHO_CMD} "@dirrm share/ispell" >> ${TMPPLIST} .include <bsd.port.mk> diff --git a/textproc/ispell/distinfo b/textproc/ispell/distinfo index 816018a5c90e..6c495d698f48 100644 --- a/textproc/ispell/distinfo +++ b/textproc/ispell/distinfo @@ -13,3 +13,4 @@ MD5 (finnish.dict.bz2) = 977a5eebe21881dca6be6cf38a244457 MD5 (finnish.small.aff.bz2) = 19fec07598e23ad747bc999ea53b9538 MD5 (finnish.medium.aff.bz2) = d53611daaed94c8b17869a60e4ae61d9 MD5 (finnish.large.aff.bz2) = 9c7bfc8850e958a5d2aec579f5d8903c +MD5 (ispell-pl-20011004.tar.gz) = b224a718fa28bdd888b4e813e0fb897e diff --git a/textproc/ispell/pkg-descr b/textproc/ispell/pkg-descr index b966b95716f2..6613ffcc00ef 100644 --- a/textproc/ispell/pkg-descr +++ b/textproc/ispell/pkg-descr @@ -14,5 +14,6 @@ Included in this port are: - German (old and new spelling) - Norwegian - Swedish + - Polish WWW: http://fmg-www.cs.ucla.edu/geoff/ispell.html diff --git a/textproc/ispell/pkg-plist.pl b/textproc/ispell/pkg-plist.pl new file mode 100644 index 000000000000..013482ff5d78 --- /dev/null +++ b/textproc/ispell/pkg-plist.pl @@ -0,0 +1,2 @@ +share/ispell/polish.aff +share/ispell/polish.hash |