1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/graphics/pgplot/scripts/configure

12 lines
289 B
Bash

#!/bin/sh
cd $WRKSRC/src || exit 1
mv grgfil.f grgfil.f.orig
sed -e s:/usr/local/pgplot/:$PREFIX/share/pgplot/: < grgfil.f.orig >grgfil.f
cp $FILESDIR/Makefile* $FILESDIR/drivers.list $FILESDIR/grexec.f $FILESDIR/xf77 $WRKSRC
chmod u+x $WRKSRC/xf77
cp $WRKSRC/src/*.inc $WRKSRC
exit 0