1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/graphics/pgplot/scripts/configure

12 lines
289 B
Plaintext
Raw Normal View History

#!/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