diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2002-06-23 23:34:02 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2002-06-23 23:34:02 +0000 |
commit | 317084cc66b3d5578acc54d45dfd11fc8dc60a8b (patch) | |
tree | e4093e6e8e6fc28121abe2f819f76dfdedc7eb88 /textproc | |
parent | 8792c051cdbdaa696f674fb9d82a6cf10950898a (diff) | |
download | ports-317084cc66b3d5578acc54d45dfd11fc8dc60a8b.tar.gz ports-317084cc66b3d5578acc54d45dfd11fc8dc60a8b.zip |
Notes
Diffstat (limited to 'textproc')
-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 |