diff options
author | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2001-01-10 18:50:04 +0000 |
---|---|---|
committer | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2001-01-10 18:50:04 +0000 |
commit | adebb44765a70e1dace28df0671dfa5589f4cc6c (patch) | |
tree | 25a81f3824ad7960fd55356fb8aa1a62a70cefef | |
parent | 0d65e2560a325a4c9b62336f1561ac0714da616d (diff) | |
download | ports-adebb44765a70e1dace28df0671dfa5589f4cc6c.tar.gz ports-adebb44765a70e1dace28df0671dfa5589f4cc6c.zip |
Notes
-rw-r--r-- | textproc/ispell/Makefile | 24 | ||||
-rw-r--r-- | textproc/ispell/files/ZA.patch | 11 | ||||
-rw-r--r-- | textproc/ispell/pkg-plist.za | 2 |
3 files changed, 25 insertions, 12 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile index 07bc787abcd7..7c20071fc925 100644 --- a/textproc/ispell/Makefile +++ b/textproc/ispell/Makefile @@ -31,12 +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) && !defined(ISPELL_SA)) +.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_ZA)) pre-everything: @${ECHO_MSG} '*********************************************************' @${ECHO_MSG} '* You can add further dictionaries: *' @${ECHO_MSG} '* Use make-flag: *' - @${ECHO_MSG} '* - Afrikaans ISPELL_SA=yes *' + @${ECHO_MSG} '* - Afrikaans ISPELL_ZA=yes *' @${ECHO_MSG} '* - British ISPELL_BRITISH=yes *' @${ECHO_MSG} '* (replaces the American dictionary) *' @${ECHO_MSG} '* - Dutch ISPELL_NL=yes *' @@ -102,13 +102,13 @@ MASTER_SITE_SUBDIR= asmodai EXTRA_DICT+= ${DKDISTFILE} EXTRACT_ONLY+= ${DKDISTFILE} .endif -.if defined(ISPELL_SA) -SADISTFILE= ispell-sa-1.0.0.tar.gz +.if defined(ISPELL_ZA) +ZADISTFILE= 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} +EXTRA_DICT+= ${ZADISTFILE} +EXTRACT_ONLY+= ${ZADISTFILE} .endif @@ -151,8 +151,8 @@ 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 +.if defined(ISPELL_ZA) + @cd ${WRKDIR} && ${PATCH} < ${FILESDIR}/ZA.patch 2>/dev/null .endif @@ -204,8 +204,8 @@ post-build: @cd ${WRKDIR}/${DKDISTFILE:S=.tar.gz==} && \ ${MAKE} ${MAKEFLAGS} BUILDHASH=${BUILDHASH} all .endif -.if defined(ISPELL_SA) - @cd ${WRKDIR}/${SADISTFILE:S=.tar.gz==} && \ +.if defined(ISPELL_ZA) + @cd ${WRKDIR}/${ZADISTFILE:S=.tar.gz==} && \ ${MAKE} ${MAKEFLAGS} BUILDHASH=${BUILDHASH} all .endif @@ -238,8 +238,8 @@ post-install: .if defined(ISPELL_DK) @${CAT} ${MASTERDIR}/pkg-plist.dk >> ${TMPPLIST} .endif -.if defined(ISPELL_SA) - @${CAT} ${MASTERDIR}/pkg-plist.sa >> ${TMPPLIST} +.if defined(ISPELL_ZA) + @${CAT} ${MASTERDIR}/pkg-plist.za >> ${TMPPLIST} .endif .if defined(ISPELL_BRITISH) @${CAT} ${MASTERDIR}/pkg-plist.british >> ${TMPPLIST} diff --git a/textproc/ispell/files/ZA.patch b/textproc/ispell/files/ZA.patch new file mode 100644 index 000000000000..9443efc08a3f --- /dev/null +++ b/textproc/ispell/files/ZA.patch @@ -0,0 +1,11 @@ +--- ispell-sa-1.0.0/Makefile.orig Wed Jan 10 12:52:01 2001 ++++ ispell-sa-1.0.0/Makefile Wed Jan 10 12:52:16 2001 +@@ -7,7 +7,7 @@ + install -o root -g root -m 0644 afrikaans.aff $(installdir) + + afrikaans.hash: afrikaans.aff woordelys +- buildhash woordelys afrikaans.aff afrikaans.hash ++ ${BUILDHASH} woordelys afrikaans.aff afrikaans.hash + + clean: + rm -f woordelys.stat afrikaans.hash woordelys.cnt *~ diff --git a/textproc/ispell/pkg-plist.za b/textproc/ispell/pkg-plist.za new file mode 100644 index 000000000000..f9788453919b --- /dev/null +++ b/textproc/ispell/pkg-plist.za @@ -0,0 +1,2 @@ +share/ispell/afrikaans.aff +share/ispell/afrikaans.hash |