summaryrefslogtreecommitdiff
path: root/textproc/ispell-spanish
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2009-03-05 11:56:00 +0000
committerjmmv <jmmv@pkgsrc.org>2009-03-05 11:56:00 +0000
commitfadd9ef3fa069d2ca9404597237554d661b0cc78 (patch)
treef762dc734949207fbc8570019318168e55d9308a /textproc/ispell-spanish
parent96f07e71d6e964c5e80906ac8527fab38f723891 (diff)
downloadpkgsrc-fadd9ef3fa069d2ca9404597237554d661b0cc78.tar.gz
Add user-destdir support; per joerg@'s request.
Diffstat (limited to 'textproc/ispell-spanish')
-rw-r--r--textproc/ispell-spanish/Makefile12
-rw-r--r--textproc/ispell-spanish/distinfo3
-rw-r--r--textproc/ispell-spanish/patches/patch-aa23
3 files changed, 12 insertions, 26 deletions
diff --git a/textproc/ispell-spanish/Makefile b/textproc/ispell-spanish/Makefile
index 5de6a2497fe..764c56cbec8 100644
--- a/textproc/ispell-spanish/Makefile
+++ b/textproc/ispell-spanish/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/10/04 22:01:00 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2009/03/05 11:56:00 jmmv Exp $
#
DISTNAME= espa~nol-1.7
@@ -10,8 +10,18 @@ MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://es.tldp.org/htmls/coes.html
COMMENT= Spanish dictionary for interactive spelling checker
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= ispell-base>=3.1.20:../../textproc/ispell-base
MAKE_FLAGS+= TMPDIR=${WRKDIR:Q}
+INSTALLATION_DIRS= lib
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/espa~nol.aff \
+ ${DESTDIR}${PREFIX}/lib/castellano.aff
+ ${INSTALL_DATA} ${WRKSRC}/espa~nol.hash \
+ ${DESTDIR}${PREFIX}/lib/castellano.hash
+
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ispell-spanish/distinfo b/textproc/ispell-spanish/distinfo
index d383e8d0a83..614634740e7 100644
--- a/textproc/ispell-spanish/distinfo
+++ b/textproc/ispell-spanish/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 14:48:43 agc Exp $
+$NetBSD: distinfo,v 1.4 2009/03/05 11:56:00 jmmv Exp $
SHA1 (espa~nol-1.7.tar.gz) = de8a2f2dbab0d3658aecd7ef109e91773da23dd7
RMD160 (espa~nol-1.7.tar.gz) = be9692aa6c97f0ecefc1143bffd8edc5ac22f019
Size (espa~nol-1.7.tar.gz) = 424599 bytes
-SHA1 (patch-aa) = b22c5d15f67753fc929d300ec5b59b479ad40852
diff --git a/textproc/ispell-spanish/patches/patch-aa b/textproc/ispell-spanish/patches/patch-aa
deleted file mode 100644
index c13d1b2c4ab..00000000000
--- a/textproc/ispell-spanish/patches/patch-aa
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/09/12 21:47:46 jmmv Exp $
-
---- Makefile.orig Fri Apr 9 12:32:26 1999
-+++ Makefile Fri Jul 19 23:36:04 2002
-@@ -63,6 +63,7 @@
- # numerous languages.
- #
- LANGUAGE = espa~nol
-+INST_LANGUAGE = castellano
- DICTIONARY = $(LANGUAGE).words $(LANGUAGE).comp
- HASHFILE = $(LANGUAGE).hash
-
-@@ -86,7 +87,9 @@
- $(BUILDHASH) -s $(LANGUAGE).words+ $(AFFIXES) $(HASHFILE)
-
- install:
-- ./posti $(LANGUAGE)
-+ cp $(LANGUAGE).aff $(INST_LANGUAGE).aff
-+ cp $(LANGUAGE).hash $(INST_LANGUAGE).hash
-+ echo y | ./posti $(INST_LANGUAGE)
-
- $(LANGUAGE)-alt.aff: $(LANGUAGE)-alt.7bit $(FIX8BIT)
- $(FIX8BIT) -8 < $(LANGUAGE)-alt.7bit > $(LANGUAGE)-alt.aff