cdc019b46b
- 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>
14 lines
314 B
Bash
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
|