freebsd-ports/graphics/p5-PGPLOT/scripts/configure
Jean-Marc Zucconi cdc019b46b - Update to 2.19
- Patch Makefile.PL to see includes and libs
- Update Makefile and pkg-plist to respect NOPORTDOCS
- Update scripts/configure to respect PREFIX

PR:		ports/99012
Submitted by:	Aaron Dalton <aaron@freebsd.org>
2006-06-26 11:21:39 +00:00

14 lines
314 B
Bash

#!/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
rm old_$f
done
$PERL Makefile.PL.new PREFIX=$PREFIX