summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-01-10 12:07:55 +0000
committerasmodai <asmodai@FreeBSD.org>2001-01-10 12:07:55 +0000
commitbc38ed70b7e77f3536583c028f5b4bc76bf87d6c (patch)
tree6b5d069d5421d99245ae1f71d8fc2817c65995fd /textproc
parent48e7b71d691892ce2bcfe846dd5d9e02e0826d68 (diff)
downloadFreeBSD-ports-bc38ed70b7e77f3536583c028f5b4bc76bf87d6c.zip
FreeBSD-ports-bc38ed70b7e77f3536583c028f5b4bc76bf87d6c.tar.gz
Add Afrikaans ispell support under the ISPELL_SA variable.
Diffstat (limited to 'textproc')
-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 52b492b..07bc787 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 1a42d0e..f993923 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 d3eec1f..08989b9 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
OpenPOWER on IntegriCloud