# $Id: Portfile 98760 2012-10-15 09:46:49Z ryandesign@macports.org $

PortSystem 1.0
name            grep
version         2.14
platforms       darwin
categories	sysutils
license         GPL-3+
installs_libs   no
maintainers	nomaintainer
description     GNU grep, the \"fastest grep in the west\" (we hope).
long_description \
    Grep searches one or more input files for lines containing a match  \
    to a specified pattern. By default, grep prints the matching lines.
homepage        http://www.gnu.org/software/grep/grep.html
platforms       darwin
master_sites    gnu
use_xz          yes

checksums       rmd160  4157376c36ebb7b5da83687f241745ca6df9058b \
                sha256  e70e801d4fbb16e761654a58ae48bf5020621c95c8e35bd864742577685872e1

# Ensure system version of grep is used instead of a possibly broken MacPorts version.
configure.env   PATH=/usr/bin:$env(PATH)

depends_lib     port:pcre port:gettext

test.run        yes
test.target     check
