summaryrefslogtreecommitdiff
path: root/devel/gettext-m4
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 17:45:33 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 17:45:33 +0000
commite655762fb793a09bcd629a5ee8889dfe5b1550a0 (patch)
tree620d08cc8bf79f9bacb7746632192670c7d6350d /devel/gettext-m4
parent2d370b7fe4d16560d65355fc39f74d9ef5e1f0c9 (diff)
downloadpkgsrc-e655762fb793a09bcd629a5ee8889dfe5b1550a0.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/gettext-m4')
-rw-r--r--devel/gettext-m4/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/gettext-m4/Makefile b/devel/gettext-m4/Makefile
index 0b58ce181a4..e523c6d1680 100644
--- a/devel/gettext-m4/Makefile
+++ b/devel/gettext-m4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/07/26 06:53:02 adam Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 17:45:35 jlam Exp $
DISTNAME= gettext-0.14.6
PKGNAME= gettext-m4-0.14.6
@@ -13,6 +13,7 @@ COMMENT= Autoconf/automake m4 files for GNU NLS library
CONFLICTS= gettext<=0.10.35nb1
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
NO_CONFIGURE= yes
@@ -20,7 +21,9 @@ NO_CONFIGURE= yes
INSTALLATION_DIRS+= share/aclocal
do-install:
- ${INSTALL_DATA} ${WRKSRC:Q}/gettext-runtime/m4/*.m4 ${PREFIX}/share/aclocal
- ${INSTALL_DATA} ${WRKSRC:Q}/autoconf-lib-link/m4/*.m4 ${PREFIX}/share/aclocal
+ ${INSTALL_DATA} ${WRKSRC:Q}/gettext-runtime/m4/*.m4 \
+ ${DESTDIR}${PREFIX}/share/aclocal
+ ${INSTALL_DATA} ${WRKSRC:Q}/autoconf-lib-link/m4/*.m4 \
+ ${DESTDIR}${PREFIX}/share/aclocal
.include "../../mk/bsd.pkg.mk"