summaryrefslogtreecommitdiff
path: root/textproc/ja-grep
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-16 14:53:13 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-16 14:53:13 +0000
commitdd95a4edff204dab9ddcd73edca6b838a13c33c5 (patch)
tree081b8887396c2abb803c9678dfc08786f9b2eb78 /textproc/ja-grep
parent10fda5dc7ed2545b442c06acb53391cd7a5ffe01 (diff)
downloadpkgsrc-dd95a4edff204dab9ddcd73edca6b838a13c33c5.tar.gz
Do not create /usr/pkg/share when in destdir mode.
Diffstat (limited to 'textproc/ja-grep')
-rw-r--r--textproc/ja-grep/Makefile5
1 files changed, 3 insertions, 2 deletions
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