1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Make sure we use the correct path to perl(1).

PR:		16202
This commit is contained in:
Steve Price 2000-01-29 21:23:44 +00:00
parent 32edd5a5f8
commit 722c55c877
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25259
2 changed files with 13 additions and 4 deletions

View File

@ -17,6 +17,14 @@ RUN_DEPENDS+= glimpse:${PORTSDIR}/textproc/glimpse
USE_PERL5= yes
NO_BUILD= yes
PL_FILES= dcollect.pl dindex.pl dsearch.pl flcollect.pl flfilter.pl \
flhistory.pl flindex.pl flsearch.pl flserv.pl fltrain.pl
post-extract:
.for f in ${PL_FILES}
@${PERL} -pi -e 's,/usr/local/bin/perl,${PERL},' ${WRKSRC}/${f}
.endfor
do-install:
${INSTALL} -d ${PREFIX}/www/cgi-bin/ftplocate \
${PREFIX}/www/cgi-bin/ftplocate/index \
@ -30,14 +38,14 @@ do-install:
${INSTALL} -c -m 644 \
fl.config fl.share \
${PREFIX}/www/cgi-bin/ftplocate ;\
${INSTALL_SCRIPT} \
dcollect.pl dindex.pl flcollect.pl flindex.pl indexer.sh \
flfilter.pl flsearch.pl dsearch.pl flserv.pl flhistory.pl \
${PREFIX}/www/cgi-bin/ftplocate ;\
${INSTALL_SCRIPT} indexer.sh ${PREFIX}/www/cgi-bin/ftplocate; \
${INSTALL_DATA} \
flhelp.html flhelp.zhtw.html \
${PREFIX}/www/data ;\
${INSTALL_SCRIPT} ftplocate ${PREFIX}/bin/
.for f in ${PL_FILES}
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/www/cgi-bin/ftplocate
.endfor
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -14,6 +14,7 @@ www/cgi-bin/ftplocate/flhistory.pl
www/cgi-bin/ftplocate/flindex.pl
www/cgi-bin/ftplocate/flsearch.pl
www/cgi-bin/ftplocate/flserv.pl
www/cgi-bin/ftplocate/fltrain.pl
www/cgi-bin/ftplocate/indexer.sh
www/data/flhelp.html
www/data/flhelp.zhtw.html