blob: 7f2716e0f37244e1de6c656b61156eb5afdf0eab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.9 2009/07/07 21:45:56 joerg Exp $
DISTNAME= grep-2.4.2
PKGNAME= ja-grep-2.4.2
CATEGORIES= japanese textproc
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
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
HOMEPAGE= http://www.gnu.org/software/grep/grep.html
COMMENT= GNU grep + multi-byte extension
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
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} ${WRKSRC}/README.MB ${DESTDIR}${PREFIX}/share/doc/ja-grep
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|