openbsd-ports/sysutils/ggrep/Makefile

36 lines
806 B
Makefile
Raw Normal View History

2006-08-03 19:55:10 -04:00
# $OpenBSD: Makefile,v 1.7 2006/08/03 23:55:11 espie Exp $
COMMENT= GNU versions of grep pattern matching utilities
DISTNAME= grep-2.5.1
2005-05-11 15:08:23 -04:00
PKGNAME= g${DISTNAME}p1
CATEGORIES= sysutils
HOMEPAGE= http://www.gnu.org/software/grep/grep.html
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-20 05:35:34 -05:00
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
2004-08-10 04:46:49 -04:00
MODULES= devel/gettext
2006-08-03 19:55:10 -04:00
LIB_DEPENDS= pcre::devel/pcre
SEPARATE_BUILD= simple
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2005-05-11 15:08:23 -04:00
CONFIGURE_ENV+= ac_cv_func_mbrtowc=no
post-build:
@perl -i -pe 's/\bgrep\b/ggrep/g' ${WRKBUILD}/src/[ef]grep
.include <bsd.port.mk>