diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 21:45:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 21:45:56 +0000 |
commit | 027d9505da6643fa9403436f43621e2bb503448c (patch) | |
tree | 84911ddb3087c84317018619214dec9b7d040bcd | |
parent | 08c94131077d859618ad7601f57ad8589352f998 (diff) | |
download | pkgsrc-027d9505da6643fa9403436f43621e2bb503448c.tar.gz |
user-destdir support
-rw-r--r-- | textproc/ja-grep/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/textproc/ja-grep/Makefile b/textproc/ja-grep/Makefile index 9ce20155219..7f2716e0f37 100644 --- a/textproc/ja-grep/Makefile +++ b/textproc/ja-grep/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/02/22 19:27:14 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2009/07/07 21:45:56 joerg Exp $ DISTNAME= grep-2.4.2 PKGNAME= ja-grep-2.4.2 @@ -9,6 +9,8 @@ PATCH_SITES= http://www.hinadori.atnifty.com/~wills/program/ PATCHFILES= grep-2.4.2-mlb2.patch.gz PATCH_DIST_STRIP= -p1 +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS+= grep-[0-9]* MAINTAINER= tech-pkg-ja@jp.NetBSD.org @@ -22,9 +24,12 @@ CONFIGURE_ARGS+= --program-transform-name='s,^,j,' TEST_TARGET= check INFO_FILES= # PLIST +INSTALLATION_DIRS= share/doc/ja-grep + +INSTALL_MAKE_FLAGS+= gnulocaledir=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ja-grep - ${INSTALL_DATA} ${WRKSRC}/README.MB ${PREFIX}/share/doc/ja-grep + ${INSTALL_DATA} ${WRKSRC}/README.MB ${DESTDIR}${PREFIX}/share/doc/ja-grep .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |