openbsd-ports/sysutils/ggrep/Makefile
naddy 45fd5745e0 Import GNU grep 2.5.1.
The GNU versions of commonly used grep utilities.
2003-07-06 17:16:32 +00:00

33 lines
760 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2003/07/06 17:16:32 naddy Exp $
COMMENT= GNU versions of grep pattern matching utilities
DISTNAME= grep-2.5.1
PKGNAME= g${DISTNAME}
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
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
MODULES= gettext
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
MAKEINFO="makeinfo --no-split"
post-build:
@perl -i -pe 's/\bgrep\b/ggrep/g' ${WRKBUILD}/src/[ef]grep
.include <bsd.port.mk>