# $Id: Portfile 117605 2014-03-05 10:09:05Z ciserlohn@macports.org $

PortSystem 1.0
name            grep
version         2.18
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  ceab2b128640718e73616863e9c506c9666517d6 \
                sha256  e6436e5077fa1497feccc8feaabd3f507b172369bf120fbc9e4874bba81be720

# 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
