summaryrefslogtreecommitdiff
path: root/textproc/grep/Makefile
blob: 31f81c6c025a2f1b3367ec1ecb0de800a8761231 (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
38
# $NetBSD: Makefile,v 1.12 2003/08/09 11:27:48 seb Exp $
#

DISTNAME=	grep-2.5.1
PKGREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_GNU:=grep/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	bouyer@NetBSD.org
HOMEPAGE=	http://www.gnu.org/software/grep/grep.html
COMMENT=	GNU grep

USE_BUILDLINK2=		YES
USE_PKGLOCALEDIR=	YES
BUILD_USES_MSGFMT=	YES
GNU_CONFIGURE=		YES

CONFIGURE_ARGS+=	--disable-perl-regexp

USE_MAKEINFO=		YES
TEXINFO_REQD=		4.0
INFO_FILES=		grep.info

.include "../../mk/bsd.prefs.mk"

.if defined(GNU_PROGRAM_PREFIX)
CONFIGURE_ARGS+=	--program-prefix=${GNU_PROGRAM_PREFIX}
.endif
PLIST_SUBST+=		GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
BUILD_DEFS+=		GNU_PROGRAM_PREFIX

.if ${OPSYS} == "SunOS"
CONFIGURE_SCRIPT=	${SH} ./configure
.endif

.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"