pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc +PKG_DESTDIR_SUPPORT=user-destdir
details: https://anonhg.NetBSD.org/pkgsrc/rev/2c0add2f1441
branches: trunk
changeset: 554638:2c0add2f1441
user: abs <abs%pkgsrc.org@localhost>
date: Tue Feb 17 14:43:05 2009 +0000
description:
+PKG_DESTDIR_SUPPORT=user-destdir
diffstat:
textproc/ispell-british/Makefile | 11 ++++++-----
textproc/ispell-catalan/Makefile | 7 ++++---
textproc/ispell-german/Makefile | 7 ++++---
textproc/ispell-polski/Makefile | 7 ++++---
textproc/ispell-romanian/Makefile | 11 ++++++-----
5 files changed, 24 insertions(+), 19 deletions(-)
diffs (139 lines):
diff -r 2456d7546d27 -r 2c0add2f1441 textproc/ispell-british/Makefile
--- a/textproc/ispell-british/Makefile Tue Feb 17 13:17:10 2009 +0000
+++ b/textproc/ispell-british/Makefile Tue Feb 17 14:43:05 2009 +0000
@@ -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 @@
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/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 @@
${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 -r 2456d7546d27 -r 2c0add2f1441 textproc/ispell-catalan/Makefile
--- a/textproc/ispell-catalan/Makefile Tue Feb 17 13:17:10 2009 +0000
+++ b/textproc/ispell-catalan/Makefile Tue Feb 17 14:43:05 2009 +0000
@@ -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 @@
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= lib
+PKG_DESTDIR_SUPPORT= user-destdir
post-extract:
( cd ${WRKSRC} \
@@ -29,7 +30,7 @@
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 -r 2456d7546d27 -r 2c0add2f1441 textproc/ispell-german/Makefile
--- a/textproc/ispell-german/Makefile Tue Feb 17 13:17:10 2009 +0000
+++ b/textproc/ispell-german/Makefile Tue Feb 17 14:43:05 2009 +0000
@@ -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 @@
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 -r 2456d7546d27 -r 2c0add2f1441 textproc/ispell-polski/Makefile
--- a/textproc/ispell-polski/Makefile Tue Feb 17 13:17:10 2009 +0000
+++ b/textproc/ispell-polski/Makefile Tue Feb 17 14:43:05 2009 +0000
@@ -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 @@
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 -r 2456d7546d27 -r 2c0add2f1441 textproc/ispell-romanian/Makefile
--- a/textproc/ispell-romanian/Makefile Tue Feb 17 13:17:10 2009 +0000
+++ b/textproc/ispell-romanian/Makefile Tue Feb 17 14:43:05 2009 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index