summaryrefslogtreecommitdiffstats
path: root/japanese/grep/Makefile
blob: ca2b7b05b00a9eb435a18af9d609e493a3b9dbb1 (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
36
37
# Created by: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
# $FreeBSD$

PORTNAME=	grep
PORTVERSION=	2.4.2
CATEGORIES=	japanese textproc
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	${PORTNAME}

PATCH_SITES=	http://www.hinadori.atnifty.com/~wills/program/
PATCHFILES=	grep-2.4.2-mlb2.patch.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GNU grep + multi-byte extension

USE_AUTOTOOLS=	autoconf213 aclocal14
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--program-prefix=j --disable-nls

INFO=		grep

MAN1=		jgrep.1
MLINKS=		jgrep.1 jegrep.1 \
		jgrep.1 jfgrep.1

DOCSDIR=	${PREFIX}/share/doc/${PKGBASE}

NO_STAGE=	yes
post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.MB ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.mlb ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud