Unbreak for DENEU. Note that a gmake version > 3.80 is required.
PR: ports/122336 Submitted by: dinoex
This commit is contained in:
parent
f10a57a812
commit
615f00e7b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210748
2 changed files with 27 additions and 12 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME?= ispell
|
||||
PORTVERSION?= 3.2.06
|
||||
PORTREVISION?= 20
|
||||
PORTREVISION?= 21
|
||||
CATEGORIES+= textproc
|
||||
MASTER_SITES= http://fmg-www.cs.ucla.edu/geoff/tars/ \
|
||||
http://distfiles.opendarwin.org/
|
||||
|
@ -95,10 +95,10 @@ EXTRA_DICT+= ${BRDISTFILE}:br
|
|||
EXTRACT_ONLY+= ${BRDISTFILE}
|
||||
.endif
|
||||
.if defined(ISPELL_DENEU)
|
||||
BROKEN= igerman98-20071211/Makefile must be patched
|
||||
DENEUDISTFILE= igerman98-20071211.tar.bz2
|
||||
MASTER_SITES+= http://www.j3e.de/ispell/igerman98/dict/:denu
|
||||
EXTRA_DICT+= ${DENEUDISTFILE}:denu
|
||||
USE_GMAKE= yes
|
||||
.endif
|
||||
.if defined(ISPELL_DEALT)
|
||||
DEALTDISTFILE= hk-deutsch.tar.gz
|
||||
|
@ -215,6 +215,8 @@ post-patch:
|
|||
.endif
|
||||
.if defined(ISPELL_DENEU)
|
||||
@cd ${WRKDIR}/${DENEUDISTFILE:S=.tar.bz2$==} && ${PATCH} < ${FILESDIR}/DENEU.patch 2>/dev/null
|
||||
@cd ${WRKDIR}/${DENEUDISTFILE:S=.tar.bz2$==} && ${MV} Makefile GNUmakefile
|
||||
@${CP} ${FILESDIR}/DENEU.makefile ${WRKDIR}/${DENEUDISTFILE:S=.tar.bz2$==}/Makefile
|
||||
.endif
|
||||
.if defined(ISPELL_SE)
|
||||
@cd ${WRKDIR} && ${PATCH} < ${FILESDIR}/SE.patch 2>/dev/null
|
||||
|
|
|
@ -1,18 +1,31 @@
|
|||
--- Makefile.orig Sun Sep 3 02:57:42 2000
|
||||
+++ Makefile Sat Jan 13 14:14:55 2001
|
||||
@@ -46,13 +46,13 @@
|
||||
|
||||
|
||||
MAKE = make
|
||||
--- Makefile.orig 2007-12-11 15:52:44.000000000 +0100
|
||||
+++ Makefile 2008-04-01 15:44:16.000000000 +0200
|
||||
@@ -62,16 +62,16 @@
|
||||
#ZIP_OPTS = -j -r -9 -X
|
||||
ZIP = 7z
|
||||
ZIP_OPTS = a -tzip -mx=9
|
||||
-BUILDHASH = buildhash
|
||||
+BUILDHASH ?= buildhash
|
||||
ISPELL = ispell
|
||||
+BUILDHASH = ../ispell-3.2.06/buildhash
|
||||
|
||||
-ISPELL = ispell
|
||||
+ISPELL = ../ispell-3.2.06/ispell
|
||||
HUNSPELL_BIN = hunspell
|
||||
# Hunspell starting with 1.1.9 (?) uses automatic charset transcoding,
|
||||
# we need to make sure we use latin1:
|
||||
HUNSPELL = $(HUNSPELL_BIN) `$(HUNSPELL_BIN) -h 2>&1 | grep -q "hunspell \\-i" && echo "-i latin1"`
|
||||
|
||||
SQ = sq
|
||||
-UNSQ = unsq
|
||||
+UNSQ ?= unsq
|
||||
+UNSQ = ../ispell-3.2.06/unsq
|
||||
# if for some reason you don't have Ispell's unsq use my Perl sq/unsq
|
||||
# and put it into a directory known by your PATH variable!
|
||||
#UNSQ = unsq.pl
|
||||
@@ -113,7 +113,7 @@
|
||||
$$(BUILDHASH) all.words.$(1).tmp ./ispell/$(1).aff $$@
|
||||
|
||||
ASPELL = aspell
|
||||
all.words.$(1).tmp: all.words.$(1).raw ispell/$(1).aff
|
||||
- munchlist -l ./ispell/$(1).aff all.words.$(1).raw > $$@
|
||||
+ ../ispell-3.2.06/munchlist -l ./ispell/$(1).aff all.words.$(1).raw > $$@
|
||||
|
||||
all.words.$(1).raw: $$(WORDS_$(1)) $$(WORDS_de_all) dicts/abkuerzpunkt.txt
|
||||
sed "s/qq//g;s/\.//;s/\-.*//" dicts/abkuerzpunkt.txt $$(WORDS_$(1)) $$(WORDS_de_all) \
|
||||
|
|
Loading…
Reference in a new issue