diff options
author | leeym <leeym@FreeBSD.org> | 2003-08-29 03:31:36 +0000 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-08-29 03:31:36 +0000 |
commit | d7b5f5bd9eabe4b27a506cc68a95adf84b645250 (patch) | |
tree | c34860f9fc7e16d3f44734ab48c5c4653557cbd0 /ftp/ftplocate/Makefile | |
parent | 0fe52b3ef01baf50934c7e380b9a865cfde9773b (diff) | |
download | FreeBSD-ports-d7b5f5bd9eabe4b27a506cc68a95adf84b645250.zip FreeBSD-ports-d7b5f5bd9eabe4b27a506cc68a95adf84b645250.tar.gz |
Port update for ftplocate-2.02
PR: 56088
Submitted by: Chung-Kie Tung <tung@turtle.ee.ncku.edu.tw>
Diffstat (limited to 'ftp/ftplocate/Makefile')
-rw-r--r-- | ftp/ftplocate/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/ftp/ftplocate/Makefile b/ftp/ftplocate/Makefile index a44e9e3..8c719ee 100644 --- a/ftp/ftplocate/Makefile +++ b/ftp/ftplocate/Makefile @@ -6,21 +6,17 @@ # PORTNAME= ftplocate -PORTVERSION= 2.01 -PORTREVISION= 1 +PORTVERSION= 2.02 CATEGORIES= ftp www -MASTER_SITES= ftp://ftp.ee.ncku.edu.tw/pub/ftplocate/ +MASTER_SITES= http://turtle.ee.ncku.edu.tw/ftplocate/download/ MAINTAINER= tung@turtle.ee.ncku.edu.tw COMMENT= A ftp search engine supporting filename and description search -BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 RUN_DEPENDS= glimpse:${PORTSDIR}/textproc/glimpse \ unzip:${PORTSDIR}/archivers/unzip -USE_PERL5_BUILD=yes -USE_PERL5_RUN= yes -USE_REINPLACE= yes +USE_PERL5= yes NO_BUILD= yes PL_FILES= install.pl bin/dcollect.pl bin/dindex.pl bin/dsearch.pl \ @@ -29,13 +25,16 @@ PL_FILES= install.pl bin/dcollect.pl bin/dindex.pl bin/dsearch.pl \ bin/flserv.pl bin/flsummary.pl bin/fltop.pl \ bin/fltrain.pl bin/flcatsite.pl template/ftplocate -post-patch: +post-extract: .for f in ${PL_FILES} - @${REINPLACE_CMD} -e 's,/usr/local/bin/perl,${PERL},' ${WRKSRC}/${f} + @${PERL} -pi -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/${f} .endfor - @${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/install.pl + @${PERL} -pi -e 's,(/usr/local/www|/usr/local/apache/share),${PREFIX}/www,g' ${WRKSRC}/install.pl + @${PERL} -pi -e 's,/usr/local/bin/ftplocate,${PREFIX}/bin/ftplocate,g' ${WRKSRC}/install.pl + @${PERL} -pi -e 's,htdocs,data,g' ${WRKSRC}/install.pl do-install: + @${MKDIR} ${PREFIX}/www/data ${PREFIX}/www/cgi-bin cd ${WRKSRC}; ${PERL} install.pl -y -c -bsdport .include <bsd.port.mk> |