mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
16 lines
331 B
Bash
16 lines
331 B
Bash
#! /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
|
|
|
|
sed -e "s=!!PREFIX!!=$PREFIX=" < ${FILESDIR}/usermin.sh.sample > ${WRKDIR}/usermin.sh
|
|
|
|
exit 0
|