mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Port update for ftplocate-2.02
PR: 56088 Submitted by: Chung-Kie Tung <tung@turtle.ee.ncku.edu.tw>
This commit is contained in:
parent
6dd57a255c
commit
591f3672b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87949
@ -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>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ftplocate-2.01.tar.gz) = 83dfcbff4df5e2813ccd1f68bb7cbd53
|
||||
MD5 (ftplocate-2.02.tar.gz) = 73ebb8d67bdc823ac5281150912143f4
|
||||
|
@ -1,18 +0,0 @@
|
||||
--- install.pl.orig Thu Aug 23 21:12:47 2001
|
||||
+++ install.pl Thu Aug 23 21:17:01 2001
|
||||
@@ -251,6 +251,7 @@
|
||||
|
||||
$defhtmldir="/usr/local/apache/share/htdocs";
|
||||
foreach (
|
||||
+ "/usr/local/www/data",
|
||||
"/usr/local/apache/share/htdocs",
|
||||
"/usr/local/apache/htdocs",
|
||||
"/opt/apache/share/htdocs",
|
||||
@@ -261,6 +262,7 @@
|
||||
|
||||
$defcgidir="/usr/local/apache/share/cgi-bin";
|
||||
foreach (
|
||||
+ "/usr/local/www/cgi-bin",
|
||||
"/usr/local/apache/share/cgi-bin",
|
||||
"/usr/local/apache/cgi-bin",
|
||||
"/opt/apache/share/cgi-bin",
|
@ -9,7 +9,7 @@ knowing the filename. Files with same description will be grouped together.
|
||||
|
||||
See the following URL for more information.
|
||||
|
||||
WWW: http://ftp.ee.ncku.edu.tw/ftplocate/
|
||||
WWW: http://turtle.ee.ncku.edu.tw/ftplocate/
|
||||
|
||||
Chung-Kie Tung
|
||||
tung@turtle.ee.ncku.edu.tw
|
||||
|
@ -1,34 +1,38 @@
|
||||
bin/ftplocate
|
||||
www/cgi-bin/ftplocate/dcollect.pl
|
||||
www/cgi-bin/ftplocate/lang.english
|
||||
www/cgi-bin/ftplocate/fltrain.pl
|
||||
www/cgi-bin/ftplocate/fltop.pl
|
||||
www/cgi-bin/ftplocate/flsummary.pl
|
||||
www/cgi-bin/ftplocate/flserv.pl
|
||||
www/cgi-bin/ftplocate/flsearch.pl
|
||||
www/cgi-bin/ftplocate/flmodule.pl
|
||||
www/cgi-bin/ftplocate/flmap.pl
|
||||
www/cgi-bin/ftplocate/flindex.pl
|
||||
www/cgi-bin/ftplocate/flhistory.pl
|
||||
www/cgi-bin/ftplocate/flfilter.pl
|
||||
www/cgi-bin/ftplocate/flcollect.pl
|
||||
www/cgi-bin/ftplocate/flcatsite.pl
|
||||
www/cgi-bin/ftplocate/dsearch.pl
|
||||
www/cgi-bin/ftplocate/dindex.pl
|
||||
www/cgi-bin/ftplocate/lang.zhtw
|
||||
www/cgi-bin/ftplocate/config
|
||||
www/cgi-bin/ftplocate/config.site
|
||||
www/cgi-bin/ftplocate/dcollect.pl
|
||||
www/cgi-bin/ftplocate/dindex.pl
|
||||
www/cgi-bin/ftplocate/dsearch.pl
|
||||
www/cgi-bin/ftplocate/flcatsite.pl
|
||||
www/cgi-bin/ftplocate/flcollect.pl
|
||||
www/cgi-bin/ftplocate/flfilter.pl
|
||||
www/cgi-bin/ftplocate/flhistory.pl
|
||||
www/cgi-bin/ftplocate/flindex.pl
|
||||
www/cgi-bin/ftplocate/flmap.pl
|
||||
www/cgi-bin/ftplocate/flmodule.pl
|
||||
www/cgi-bin/ftplocate/flsearch.pl
|
||||
www/cgi-bin/ftplocate/flserv.pl
|
||||
www/cgi-bin/ftplocate/flsummary.pl
|
||||
www/cgi-bin/ftplocate/fltop.pl
|
||||
www/cgi-bin/ftplocate/fltrain.pl
|
||||
www/cgi-bin/ftplocate/ftp.pl
|
||||
www/cgi-bin/ftplocate/indexer.sh
|
||||
www/cgi-bin/ftplocate/lang.english
|
||||
www/cgi-bin/ftplocate/lang.zhtw
|
||||
www/cgi-bin/ftplocate/lchat.pl
|
||||
www/cgi-bin/ftplocate/log.map
|
||||
www/cgi-bin/ftplocate/log.system
|
||||
www/cgi-bin/ftplocate/log.user
|
||||
www/data/ftplocate/readme.zhtw.html
|
||||
www/data/ftplocate/readme.english.html
|
||||
www/data/ftplocate/index.html
|
||||
www/data/ftplocate/faq.txt
|
||||
www/data/ftplocate/help.english.html
|
||||
www/data/ftplocate/help.zhtw.html
|
||||
@exec install -d -o nobody -g nobody -m 755 %D/www/cgi-bin/ftplocate/cache
|
||||
www/data/ftplocate/index.html
|
||||
www/data/ftplocate/readme.english.html
|
||||
www/data/ftplocate/readme.zhtw.html
|
||||
@exec install -d -o www -g www -m 755 %D/www/cgi-bin/ftplocate/cache
|
||||
@exec install -d %D/www/cgi-bin/ftplocate/filelist %D/www/cgi-bin/ftplocate/desc
|
||||
@exec chown www.www %D/www/cgi-bin/ftplocate/log.user
|
||||
@dirrm www/data/ftplocate
|
||||
@dirrm www/cgi-bin/ftplocate/filelist
|
||||
@dirrm www/cgi-bin/ftplocate/desc
|
||||
|
Loading…
Reference in New Issue
Block a user