942aad2e6a
"INFO_FILES should be set to YES or yes." "Packages that install info files should set INFO_FILES." Makefile and PLIST warning, respectively.
35 lines
942 B
Makefile
35 lines
942 B
Makefile
# $NetBSD: Makefile,v 1.13 2013/04/06 20:27:29 rodent Exp $
|
|
|
|
DISTNAME= grep-2.4.2
|
|
PKGNAME= ja-grep-2.4.2
|
|
PKGREVISION= 1
|
|
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
|
|
|
|
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= yes
|
|
|
|
INSTALLATION_DIRS= share/doc/ja-grep
|
|
|
|
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
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|