diff options
author | asmodai <asmodai@FreeBSD.org> | 2001-01-10 00:08:32 +0800 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2001-01-10 00:08:32 +0800 |
commit | 3e47b4c5b38c41f147719e719fe4c3e21acf368b (patch) | |
tree | 77bc695e519c41312ad5597dcc7a2be53999e78f /textproc | |
parent | d1fc032d4ac0a01d491321df43656a24b3920133 (diff) | |
download | freebsd-ports-gnome-3e47b4c5b38c41f147719e719fe4c3e21acf368b.tar.gz freebsd-ports-gnome-3e47b4c5b38c41f147719e719fe4c3e21acf368b.tar.zst freebsd-ports-gnome-3e47b4c5b38c41f147719e719fe4c3e21acf368b.zip |
Add Dutch ispell support under the ISPELL_NL variable option.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ispell/Makefile | 22 | ||||
-rw-r--r-- | textproc/ispell/distinfo | 1 | ||||
-rw-r--r-- | textproc/ispell/files/NL.patch | 11 | ||||
-rw-r--r-- | textproc/ispell/pkg-descr | 1 | ||||
-rw-r--r-- | textproc/ispell/pkg-plist.nl | 2 |
5 files changed, 36 insertions, 1 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile index 258a33f64523..0a6424aa458d 100644 --- a/textproc/ispell/Makefile +++ b/textproc/ispell/Makefile @@ -31,13 +31,14 @@ 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)) +.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)) pre-everything: @${ECHO_MSG} '*********************************************************' @${ECHO_MSG} '* You can add further dictionaries: *' @${ECHO_MSG} '* Use make-flag: *' @${ECHO_MSG} '* - British ISPELL_BRITISH=yes *' @${ECHO_MSG} '* (replaces the American dictionary) *' + @${ECHO_MSG} '* - Dutch ISPELL_NL=yes *' @${ECHO_MSG} '* - French ISPELL_FR=yes *' @${ECHO_MSG} '* - Brasilian ISPELL_BR=yes *' @${ECHO_MSG} '* - German (old spelling) ISPELL_DEALT=yes *' @@ -83,6 +84,14 @@ MASTER_SITES+= http://www.uio.no/~runekl/ EXTRA_DICT+= ${NODISTFILE} MASKBITS?= 64 .endif +.if defined(ISPELL_NL) +NLDISTFILE= ispell-nl-1.0.0.tar.gz +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= asmodai +EXTRA_DICT+= ${NLDISTFILE} +EXTRACT_ONLY+= ${NLDISTFILE} +.endif + DISTFILES+= ${EXTRA_DICT} .endif @@ -117,6 +126,10 @@ post-patch: .if defined(ISPELL_NO) @cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/NO.patch 2>/dev/null .endif +.if defined(ISPELL_NL) + @cd ${WRKDIR} && ${PATCH} < ${FILESDIR}/NL.patch 2>/dev/null +.endif + post-configure: @${ECHO} "#define CFLAGS \"${CFLAGS}\"" >> ${WRKSRC}/local.h @@ -158,6 +171,10 @@ post-build: ${CAT} norsk.base > norsk.sml && \ ${BUILDHASH} norsk.sml norsk.aff norsk.hash .endif +.if defined(ISPELL_NL) + @cd ${WRKDIR}/${NLDISTFILE:S=.tar.gz==} && \ + ${MAKE} ${MAKEFLAGS} BUILDHASH=${BUILDHASH} all +.endif pre-install: @if [ ! -d ${DATADIR} ]; then ${MKDIR} ${DATADIR}; fi @@ -182,6 +199,9 @@ post-install: .if defined(ISPELL_NO) @${CAT} ${MASTERDIR}/pkg-plist.no >> ${TMPPLIST} .endif +.if defined(ISPELL_NL) + @${CAT} ${MASTERDIR}/pkg-plist.nl >> ${TMPPLIST} +.endif .if defined(ISPELL_BRITISH) @${CAT} ${MASTERDIR}/pkg-plist.british >> ${TMPPLIST} .else diff --git a/textproc/ispell/distinfo b/textproc/ispell/distinfo index fa71e71ff2dc..6abe6d82d910 100644 --- a/textproc/ispell/distinfo +++ b/textproc/ispell/distinfo @@ -6,3 +6,4 @@ MD5 (hk-deutsch.tar.gz) = 0fb468159f7f0ba5b8a02c1fe111ac2d MD5 (ispell-html-mode.patch) = 1b44441a3748e55b3d509fcff21af4b7 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 diff --git a/textproc/ispell/files/NL.patch b/textproc/ispell/files/NL.patch new file mode 100644 index 000000000000..9b8c904bf0d1 --- /dev/null +++ b/textproc/ispell/files/NL.patch @@ -0,0 +1,11 @@ +--- ispell-nl-1.0.0/Makefile.orig Tue Jan 9 16:50:24 2001 ++++ ispell-nl-1.0.0/Makefile Tue Jan 9 16:50:41 2001 +@@ -9,7 +9,7 @@ + install -o root -g root -m 0644 nederlands.aff $(installdir) + + nederlands.hash: nederlands.aff words-nl.ispell +- buildhash words-nl.ispell nederlands.aff nederlands.hash ++ ${BUILDHASH} words-nl.ispell nederlands.aff nederlands.hash + + clean: + rm -f words-nl.ispell.stat nederlands.hash words-nl.ispell.cnt *~ diff --git a/textproc/ispell/pkg-descr b/textproc/ispell/pkg-descr index 50256be77ba5..965039080507 100644 --- a/textproc/ispell/pkg-descr +++ b/textproc/ispell/pkg-descr @@ -5,6 +5,7 @@ is faster and much easier to use. Ispell can also handle languages other than English. Included in this port are: - British English + - Dutch - French - Brasilian - German (old and new spelling) diff --git a/textproc/ispell/pkg-plist.nl b/textproc/ispell/pkg-plist.nl new file mode 100644 index 000000000000..96cf66c1519c --- /dev/null +++ b/textproc/ispell/pkg-plist.nl @@ -0,0 +1,2 @@ +share/ispell/nederlands.aff +share/ispell/nederlands.hash |