aboutsummaryrefslogblamecommitdiff
path: root/graphics/p5-PGPLOT/scripts/configure
blob: dead08ab2a0d56d26ca0e8a10b4f2f30118ab015 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
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