From dd95a4edff204dab9ddcd73edca6b838a13c33c5 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 16 Jul 2009 14:53:13 +0000 Subject: Do not create /usr/pkg/share when in destdir mode. --- textproc/ja-grep/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'textproc/ja-grep') diff --git a/textproc/ja-grep/Makefile b/textproc/ja-grep/Makefile index 7f2716e0f37..4e076280771 100644 --- a/textproc/ja-grep/Makefile +++ b/textproc/ja-grep/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2009/07/07 21:45:56 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2009/07/16 14:53:13 joerg Exp $ DISTNAME= grep-2.4.2 PKGNAME= ja-grep-2.4.2 @@ -26,7 +26,8 @@ INFO_FILES= # PLIST INSTALLATION_DIRS= share/doc/ja-grep -INSTALL_MAKE_FLAGS+= gnulocaledir=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale +INSTALL_MAKE_FLAGS+= gnulocaledir=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale \ + datadir=${DESTDIR}${PREFIX}/share post-install: ${INSTALL_DATA} ${WRKSRC}/README.MB ${DESTDIR}${PREFIX}/share/doc/ja-grep -- cgit v1.2.3