aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/grep/Makefile
blob: 2882068e7b4bbfb112cda6315120d3ee495c7c33 (plain) (blame)
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
# New ports collection makefile for:    grep+mb
# Date created:     2 April 1995
# Whom:         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.dyn.to/~wills/program/
PATCHFILES= grep-2.4.2-mlb2.patch.gz
PATCH_DIST_STRIP=   -p1

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

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --program-prefix=j --disable-nls

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

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

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

.include <bsd.port.mk>