summaryrefslogtreecommitdiff
path: root/textproc/ispell
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2001-01-10 12:07:55 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2001-01-10 12:07:55 +0000
commit81da31146d228d37e4e6465c1590b77e0e5eb130 (patch)
tree12acb3dd243fc02a1b5b1049afa490f94ea01faa /textproc/ispell
parentUpdate to 1.0.1. (diff)
Add Afrikaans ispell support under the ISPELL_SA variable.
Notes
Notes: svn path=/head/; revision=37060
Diffstat (limited to 'textproc/ispell')
-rw-r--r--textproc/ispell/Makefile21
-rw-r--r--textproc/ispell/distinfo1
-rw-r--r--textproc/ispell/pkg-descr1
3 files changed, 22 insertions, 1 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile
index 52b492b2385a..07bc787abcd7 100644
--- a/textproc/ispell/Makefile
+++ b/textproc/ispell/Makefile
@@ -31,11 +31,12 @@ ALL_TARGET=
BUILDHASH= ${WRKSRC}/buildhash
DATADIR= ${PREFIX}/share/ispell
-.if (!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_DK))
+.if (!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_DK) && !defined(ISPELL_SA))
pre-everything:
@${ECHO_MSG} '*********************************************************'
@${ECHO_MSG} '* You can add further dictionaries: *'
@${ECHO_MSG} '* Use make-flag: *'
+ @${ECHO_MSG} '* - Afrikaans ISPELL_SA=yes *'
@${ECHO_MSG} '* - British ISPELL_BRITISH=yes *'
@${ECHO_MSG} '* (replaces the American dictionary) *'
@${ECHO_MSG} '* - Dutch ISPELL_NL=yes *'
@@ -101,6 +102,14 @@ MASTER_SITE_SUBDIR= asmodai
EXTRA_DICT+= ${DKDISTFILE}
EXTRACT_ONLY+= ${DKDISTFILE}
.endif
+.if defined(ISPELL_SA)
+SADISTFILE= ispell-sa-1.0.0.tar.gz
+MASTER_SITES+= ${MASTER_SITE_LOCAL} \
+ http://www.ninth-circle.org/~asmodai/
+MASTER_SITE_SUBDIR= asmodai
+EXTRA_DICT+= ${SADISTFILE}
+EXTRACT_ONLY+= ${SADISTFILE}
+.endif
DISTFILES+= ${EXTRA_DICT}
@@ -142,6 +151,9 @@ post-patch:
.if defined(ISPELL_DK)
@cd ${WRKDIR} && ${PATCH} < ${FILESDIR}/DK.patch 2>/dev/null
.endif
+.if defined(ISPELL_SA)
+ @cd ${WRKDIR} && ${PATCH} < ${FILESDIR}/SA.patch 2>/dev/null
+.endif
post-configure:
@@ -192,6 +204,10 @@ post-build:
@cd ${WRKDIR}/${DKDISTFILE:S=.tar.gz==} && \
${MAKE} ${MAKEFLAGS} BUILDHASH=${BUILDHASH} all
.endif
+.if defined(ISPELL_SA)
+ @cd ${WRKDIR}/${SADISTFILE:S=.tar.gz==} && \
+ ${MAKE} ${MAKEFLAGS} BUILDHASH=${BUILDHASH} all
+.endif
pre-install:
@if [ ! -d ${DATADIR} ]; then ${MKDIR} ${DATADIR}; fi
@@ -222,6 +238,9 @@ post-install:
.if defined(ISPELL_DK)
@${CAT} ${MASTERDIR}/pkg-plist.dk >> ${TMPPLIST}
.endif
+.if defined(ISPELL_SA)
+ @${CAT} ${MASTERDIR}/pkg-plist.sa >> ${TMPPLIST}
+.endif
.if defined(ISPELL_BRITISH)
@${CAT} ${MASTERDIR}/pkg-plist.british >> ${TMPPLIST}
.else
diff --git a/textproc/ispell/distinfo b/textproc/ispell/distinfo
index 1a42d0eab3d7..f993923762c1 100644
--- a/textproc/ispell/distinfo
+++ b/textproc/ispell/distinfo
@@ -8,3 +8,4 @@ MD5 (br.ispell-2.4.tar.gz) = 241d9e2fefb92ea74f13c1e07d0b4e7b
MD5 (ispell-norsk-1.1a.tar.gz) = d096dce5003b4e221e96fbf34f523c4c
MD5 (ispell-nl-1.0.0.tar.gz) = d9f8c68f28053e71792053e34201a28b
MD5 (ispell-da-1.4.7.tar.gz) = 767ee1ce66b1213c45b086b59bf44312
+MD5 (ispell-sa-1.0.0.tar.gz) = b70889894d1427e5b78c0a6ecc4f8235
diff --git a/textproc/ispell/pkg-descr b/textproc/ispell/pkg-descr
index d3eec1f230ce..08989b9a6663 100644
--- a/textproc/ispell/pkg-descr
+++ b/textproc/ispell/pkg-descr
@@ -4,6 +4,7 @@ corrections when it can figure them out. Compared to UNIX spell, it
is faster and much easier to use. Ispell can also handle languages
other than English.
Included in this port are:
+ - Afrikaans
- British English
- Danish
- Dutch