diff options
Diffstat (limited to 'graphics/p5-PGPLOT/scripts/configure')
| -rw-r--r-- | graphics/p5-PGPLOT/scripts/configure | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/p5-PGPLOT/scripts/configure b/graphics/p5-PGPLOT/scripts/configure new file mode 100644 index 000000000000..dead08ab2a0d --- /dev/null +++ b/graphics/p5-PGPLOT/scripts/configure @@ -0,0 +1,14 @@ +#!/bin/sh + +cd $WRKSRC || exit 1 + +sed -e s:/usr/local/pgplot:$PREFIX/lib: \ + -e s:/home/aaossm/kgb/soft/pgplot/bld:$PREFIX/include: <Makefile.PL \ + >Makefile.PL.new +for f in test*.p*; do + mv $f old_$f + sed -e s:/usr/local/bin/perl:$PERL: < old_$f >$f +done + +$PERL Makefile.PL.new + |
