source: trunk/dports/sysutils/grep/Portfile @ 23101

Last change on this file since 23101 was 23101, checked in by pipping@…, 12 years ago
  • support for +universal will not be part of 1.4
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 23101 2007-03-25 02:08:22Z pipping@macports.org $
2
3PortSystem 1.0
4name            grep
5version         2.5.1
6platforms           darwin
7categories          sysutils
8maintainers         waqar@macports.org
9description     GNU grep, the \"fastest grep in the west\" (we hope).
10long_description \
11    Grep searches one or more input files for lines containing a match  \
12    to a specified pattern. By default, grep prints the matching lines.
13homepage        http://www.gnu.org/software/grep/grep.html
14platforms       darwin
15master_sites    gnu
16checksums       md5 85df024edc9f9689035f6b3de28c7731
17configure.args  --infodir=${prefix}/share/info \
18                --mandir=${prefix}/share/man
19configure.env   CPPFLAGS="-I${prefix}/include" \
20                LDFLAGS="-L${prefix}/lib"
21if {[llength [info commands configure.universal_ldflags-append]] > 0} {
22    configure.universal_ldflags-append -L${prefix}/lib
23} else {
24    variant universal {
25        return -code error "You need to be running MacPorts 1.5.0 or higher to \
26          use this variant (universal)."
27    }
28}
29depends_lib     port:gettext port:libiconv
30
31test.run        yes
32test.target     check
Note: See TracBrowser for help on using the repository browser.