summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-02-17 14:43:05 +0000
committerabs <abs@pkgsrc.org>2009-02-17 14:43:05 +0000
commit8fe801b054d6e3640c2e458441041c4d24c4dbc7 (patch)
tree8f944e5932c88c1a4d7345df604bb1c837963eb8
parentf2f2af60fe7a87fae8a09c208c56e21421246493 (diff)
downloadpkgsrc-8fe801b054d6e3640c2e458441041c4d24c4dbc7.tar.gz
+PKG_DESTDIR_SUPPORT=user-destdir
-rw-r--r--textproc/ispell-british/Makefile11
-rw-r--r--textproc/ispell-catalan/Makefile7
-rw-r--r--textproc/ispell-german/Makefile7
-rw-r--r--textproc/ispell-polski/Makefile7
-rw-r--r--textproc/ispell-romanian/Makefile11
5 files changed, 24 insertions, 19 deletions
diff --git a/textproc/ispell-british/Makefile b/textproc/ispell-british/Makefile
index 491506d62da..be75428db86 100644
--- a/textproc/ispell-british/Makefile
+++ b/textproc/ispell-british/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/03/04 21:30:47 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2009/02/17 14:43:05 abs Exp $
#
DISTNAME= ispell-3.3.02
@@ -18,6 +18,9 @@ DICT_LANG= british
MAKE_FLAGS+= TMPDIR=${WRKDIR:Q}
+INSTALLATION_DIRS= lib
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
WORDS= /usr/dict/words
@@ -25,8 +28,6 @@ WORDS= /usr/dict/words
WORDS= /usr/share/dict/words
.endif
-INSTALLATION_DIRS= lib
-
do-configure:
cd ${WRKSRC}; \
${SED} -e 's|/usr/local|${PREFIX}|g' <local.h.bsd >local.h; \
@@ -36,8 +37,8 @@ do-configure:
${ECHO} '#define WORDS "${WORDS}"' >> local.h
do-install:
- ${CP} ${WRKSRC}/languages/${DICT_LANG}/${DICT_LANG}xlg.hash ${PREFIX}/lib
- cd ${PREFIX}/lib; \
+ ${CP} ${WRKSRC}/languages/${DICT_LANG}/${DICT_LANG}xlg.hash ${DESTDIR}${PREFIX}/lib
+ cd ${DESTDIR}${PREFIX}/lib; \
${RM} -f ${DICT_LANG}.hash; \
${LN} ${DICT_LANG}xlg.hash ${DICT_LANG}.hash
diff --git a/textproc/ispell-catalan/Makefile b/textproc/ispell-catalan/Makefile
index 0cc3aa8e7cb..2d336ccce0f 100644
--- a/textproc/ispell-catalan/Makefile
+++ b/textproc/ispell-catalan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/02/05 23:11:03 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2009/02/17 14:43:05 abs Exp $
#
DISTNAME= ispell-sc-ca
@@ -17,6 +17,7 @@ DEPENDS+= ispell-base>=3.1.20:../../textproc/ispell-base
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= lib
+PKG_DESTDIR_SUPPORT= user-destdir
post-extract:
( cd ${WRKSRC} \
@@ -29,7 +30,7 @@ do-build:
catala.hash )
do-install:
- ${INSTALL_DATA} ${WRKSRC}/catala.aff ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/catala.hash ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/catala.aff ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/catala.hash ${DESTDIR}${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ispell-german/Makefile b/textproc/ispell-german/Makefile
index 1bba1d7c71d..7b612a48a05 100644
--- a/textproc/ispell-german/Makefile
+++ b/textproc/ispell-german/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/11/10 18:15:05 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2009/02/17 14:43:05 abs Exp $
#
DISTNAME= igerman98-20081106
@@ -19,9 +19,10 @@ REPLACE_PERL= bin/dic2iso.pl bin/grepl bin/sq.pl bin/myspellfixprefix.pl \
bin/clear_affix.pl bin/unsq.pl bin/uniqflag.pl
INSTALLATION_DIRS= lib
+PKG_DESTDIR_SUPPORT= user-destdir
do-install:
- ${INSTALL_DATA} ${WRKSRC}/ispell/*.aff ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/ispell/*.hash ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/ispell/*.aff ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/ispell/*.hash ${DESTDIR}${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ispell-polski/Makefile b/textproc/ispell-polski/Makefile
index a4361391b15..1c37a1b64ee 100644
--- a/textproc/ispell-polski/Makefile
+++ b/textproc/ispell-polski/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2005/06/17 03:50:36 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2009/02/17 14:43:05 abs Exp $
#
DISTNAME= ispell-pl-20021127
@@ -13,12 +13,13 @@ COMMENT= Polish dictionary for interactive spelling checker
DEPENDS+= ispell-base>=3.1.20:../../textproc/ispell-base
INSTALLATION_DIRS= lib
+PKG_DESTDIR_SUPPORT= user-destdir
do-build:
cd ${WRKSRC} && ${SH} ./zbuduj.slownik.sh
do-install:
- ${INSTALL_DATA} ${WRKSRC}/polish.aff ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/polish.hash ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/polish.aff ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/polish.hash ${DESTDIR}${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ispell-romanian/Makefile b/textproc/ispell-romanian/Makefile
index 76d564e1963..dfec0e2a3d5 100644
--- a/textproc/ispell-romanian/Makefile
+++ b/textproc/ispell-romanian/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/06/17 03:50:36 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2009/02/17 14:43:05 abs Exp $
#
DISTNAME= rom-spell
@@ -15,11 +15,12 @@ DEPENDS+= ispell-base>=3.1.20:../../textproc/ispell-base
DIST_SUBDIR= ${PKGNAME_NOREV}
INSTALLATION_DIRS= lib
+PKG_DESTDIR_SUPPORT= user-destdir
do-install:
- ${INSTALL_DATA} ${WRKSRC}/rom.aff ${PREFIX}/lib/romanian.aff
- ${INSTALL_DATA} ${WRKSRC}/rom.hash ${PREFIX}/lib/romanian.hash
- ${INSTALL_DATA} ${WRKSRC}/rom.signs.aff ${PREFIX}/lib/romanian-signs.aff
- ${INSTALL_DATA} ${WRKSRC}/rom.signs.hash ${PREFIX}/lib/romanian-signs.hash
+ ${INSTALL_DATA} ${WRKSRC}/rom.aff ${DESTDIR}${PREFIX}/lib/romanian.aff
+ ${INSTALL_DATA} ${WRKSRC}/rom.hash ${DESTDIR}${PREFIX}/lib/romanian.hash
+ ${INSTALL_DATA} ${WRKSRC}/rom.signs.aff ${DESTDIR}${PREFIX}/lib/romanian-signs.aff
+ ${INSTALL_DATA} ${WRKSRC}/rom.signs.hash ${DESTDIR}${PREFIX}/lib/romanian-signs.hash
.include "../../mk/bsd.pkg.mk"