2003-07-13 15:50:19 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2003/07/13 13:53:32 wiz Exp $
|
2002-12-25 20:50:34 +01:00
|
|
|
#
|
2002-10-14 18:43:14 +02:00
|
|
|
|
2003-02-13 08:33:34 +01:00
|
|
|
DISTNAME= grep-2.5.1
|
2003-07-13 15:50:19 +02:00
|
|
|
PKGREVISION= 1
|
2002-10-14 18:43:14 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
|
2002-12-25 20:54:58 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-10-14 18:43:14 +02:00
|
|
|
|
|
|
|
MAINTAINER= bouyer@netbsd.org
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/grep/grep.html
|
|
|
|
COMMENT= GNU grep
|
|
|
|
|
|
|
|
USE_BUILDLINK2= YES
|
2003-01-09 18:23:10 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2002-10-14 18:43:14 +02:00
|
|
|
BUILD_USES_MSGFMT= YES
|
|
|
|
TEXINFO_REQD= 4.0
|
|
|
|
|
2002-12-25 20:50:34 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2002-10-14 18:43:14 +02:00
|
|
|
|
2002-12-06 16:29:20 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2002-12-25 20:50:34 +01:00
|
|
|
.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
|
|
|
|
|
2003-06-24 07:29:06 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
2002-12-06 16:29:20 +01:00
|
|
|
CONFIGURE_SCRIPT= ${SH} ./configure
|
|
|
|
.endif
|
|
|
|
|
2002-10-14 18:43:14 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink2.mk"
|
|
|
|
.include "../../mk/texinfo.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|