aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/grep/Makefile
blob: 706908b16a61e6e06d16eee9951544caaf03a612 (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
38
39
40
# 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.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=  autoconf:213 aclocal:15
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}

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

.include <bsd.port.mk>