aboutsummaryrefslogtreecommitdiff
path: root/textproc/ispell
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2003-11-14 16:42:56 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2003-11-14 16:42:56 +0000
commit542dfa414ca958d7b74fcaa1be73de3a304f7dd0 (patch)
treee4721594b3a660408d625839f6a9def5d33b635b /textproc/ispell
parent7ab4a1fe58139bc586065444a529c554479c2574 (diff)
downloadports-542dfa414ca958d7b74fcaa1be73de3a304f7dd0.tar.gz
ports-542dfa414ca958d7b74fcaa1be73de3a304f7dd0.zip
Notes
Diffstat (limited to 'textproc/ispell')
-rw-r--r--textproc/ispell/Makefile11
-rw-r--r--textproc/ispell/distinfo2
2 files changed, 9 insertions, 4 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile
index ced15c3c8f58..7bc0edb6d0ca 100644
--- a/textproc/ispell/Makefile
+++ b/textproc/ispell/Makefile
@@ -142,12 +142,14 @@ FIAFFIXFILE= finnish.medium.aff.bz2
EXTRA_DICT+= ${FIDICTFILE} ${FIAFFIXFILE}
.endif
.if defined(ISPELL_PL)
-MASTER_SITES+= ftp://sunsite.icm.edu.pl/pub/unix/polish-ispell/ \
+MASTER_SITE_SUBDIR= ispell-pl
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
${MASTER_SITE_LOCAL}
-PLDISTFILE= ispell-pl-20011004.tar.gz
+PLDISTFILE= ispell-pl-20021127.tar.gz
MASKBITS?= 64
EXTRA_DICT+= ${PLDISTFILE}
EXTRACT_ONLY+= ${PLDISTFILE}
+BUILDHASH= ${WRKDIR}/${PLDISTFILE:S=.tar.gz==}/zbuduj.slownik.sh
.endif
DISTFILES+= ${EXTRA_DICT}
@@ -206,6 +208,9 @@ post-patch:
.if defined(ISPELL_AF)
@cd ${WRKDIR} && ${PATCH} < ${FILESDIR}/AF.patch 2>/dev/null
.endif
+.if defined(ISPELL_PL)
+ @${REINPLACE_CMD} -e 's/bash/sh/' ${BUILDHASH}
+.endif
post-configure:
@${ECHO_CMD} "#define CFLAGS \"${CFLAGS}\"" >> ${WRKSRC}/local.h
@@ -268,7 +273,7 @@ post-build:
finnish.hash && ${MV} ${FIAFFIXFILE:S/.bz2//} finnish.aff
.endif
.if defined(ISPELL_PL)
- @cd ${WRKDIR}/${PLDISTFILE:S=ispell-pl-==:S=.tar.gz==} && \
+ @cd ${WRKDIR}/${PLDISTFILE:S=.tar.gz==} && \
${CAT} A B C imiona-A imiona-B fachowe/* > polish.dic && \
${BUILDHASH} polish.dic polish.aff polish.hash
.endif
diff --git a/textproc/ispell/distinfo b/textproc/ispell/distinfo
index 6c495d698f48..d0903e608c04 100644
--- a/textproc/ispell/distinfo
+++ b/textproc/ispell/distinfo
@@ -13,4 +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
+MD5 (ispell-pl-20021127.tar.gz) = 91418bdae4b7a4eb6a8cc69be8e5787d