pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ispell-spanish Add user-destdir support; per ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/944937311785
branches:  trunk
changeset: 555561:944937311785
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Thu Mar 05 11:56:00 2009 +0000

description:
Add user-destdir support; per joerg@'s request.

diffstat:

 textproc/ispell-spanish/Makefile         |  12 +++++++++++-
 textproc/ispell-spanish/distinfo         |   3 +--
 textproc/ispell-spanish/patches/patch-aa |  23 -----------------------
 3 files changed, 12 insertions(+), 26 deletions(-)

diffs (66 lines):

diff -r 38fab3e06da6 -r 944937311785 textproc/ispell-spanish/Makefile
--- a/textproc/ispell-spanish/Makefile  Thu Mar 05 10:47:29 2009 +0000
+++ b/textproc/ispell-spanish/Makefile  Thu Mar 05 11:56:00 2009 +0000
@@ -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 @@
 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 -r 38fab3e06da6 -r 944937311785 textproc/ispell-spanish/distinfo
--- a/textproc/ispell-spanish/distinfo  Thu Mar 05 10:47:29 2009 +0000
+++ b/textproc/ispell-spanish/distinfo  Thu Mar 05 11:56:00 2009 +0000
@@ -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 -r 38fab3e06da6 -r 944937311785 textproc/ispell-spanish/patches/patch-aa
--- a/textproc/ispell-spanish/patches/patch-aa  Thu Mar 05 10:47:29 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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



Home | Main Index | Thread Index | Old Index