diff options
Diffstat (limited to 'textproc')
-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" |