Skip to content

Commit

Permalink
grep: add new variant to install as ggrep
Browse files Browse the repository at this point in the history
  • Loading branch information
ylluminarious authored and Schamschula committed Jun 20, 2018
1 parent f626335 commit 35915ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sysutils/grep/Portfile
Expand Up @@ -27,8 +27,12 @@ configure.env PATH=/usr/bin:$env(PATH)
depends_lib port:pcre port:gettext

pre-test {
reinplace "s|base64 -d|base64 --decode|g" ${worksrcpath}/tests/pcre-jitstack
reinplace "s|base64 -d|base64 --decode|g" ${worksrcpath}/tests/pcre-jitstack
}

test.run yes
test.target check

variant g_prefix description {Install the program as ggrep} {
configure.args-append --program-prefix=g
}

0 comments on commit 35915ff

Please sign in to comment.