mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-08 23:06:56 +00:00
14 lines
244 B
Plaintext
14 lines
244 B
Plaintext
|
#! /bin/sh
|
||
|
|
||
|
perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/setup.sh
|
||
|
|
||
|
if [ -x /usr/bin/perl5 ]; then
|
||
|
PERL5=/usr/bin/perl
|
||
|
elif [ -x $PREFIX/bin/perl ]; then
|
||
|
PERL5=$PREFIX/bin/perl
|
||
|
fi
|
||
|
|
||
|
perl -pi -e "s=!!PERL5!!=$PERL5=" ${WRKSRC}/setup.sh
|
||
|
|
||
|
exit 0
|