mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
15 lines
288 B
Plaintext
15 lines
288 B
Plaintext
|
#!/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
|
||
|
|