aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ftp/ftplocate/Makefile42
-rw-r--r--ftp/ftplocate/distinfo1
-rw-r--r--ftp/ftplocate/pkg-comment1
-rw-r--r--ftp/ftplocate/pkg-descr15
-rw-r--r--ftp/ftplocate/pkg-plist25
5 files changed, 84 insertions, 0 deletions
diff --git a/ftp/ftplocate/Makefile b/ftp/ftplocate/Makefile
new file mode 100644
index 000000000000..16a12fd64b87
--- /dev/null
+++ b/ftp/ftplocate/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: Ftplocate
+# Version required: 1.50
+# Date created: 7 December 1999
+# Whom: tung@turtle.ee.ncku.edu.tw
+#
+# $FreeBSD$
+#
+
+DISTNAME= ftplocate-1.50
+CATEGORIES= ftp www
+MASTER_SITES= ftp://ftp.ee.ncku.edu.tw/pub/
+
+MAINTAINER= tung@turtle.ee.ncku.edu.tw
+
+RUN_DEPENDS+= glimpse:${PORTSDIR}/textproc/glimpse
+
+USE_PERL5= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL} -d ${PREFIX}/www/cgi-bin/ftplocate \
+ ${PREFIX}/www/cgi-bin/ftplocate/index \
+ ${PREFIX}/www/cgi-bin/ftplocate/desc
+ ${INSTALL} -o nobody -g nobody -m 755 -d ${PREFIX}/www/cgi-bin/ftplocate/cache
+ cd ${WRKSRC}; \
+ ${INSTALL_DATA} \
+ README README.zhtw fl.english fl.zhtw \
+ ${PREFIX}/www/cgi-bin/ftplocate ;\
+ ${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_DATA} \
+ flhelp.html flhelp.zhtw.html \
+ ${PREFIX}/www/data ;\
+ ${INSTALL_SCRIPT} ftplocate ${PREFIX}/bin/
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/ftp/ftplocate/distinfo b/ftp/ftplocate/distinfo
new file mode 100644
index 000000000000..5026c7635572
--- /dev/null
+++ b/ftp/ftplocate/distinfo
@@ -0,0 +1 @@
+MD5 (ftplocate-1.50.tar.gz) = b80b9f0eb062891cf2730e3a20d4bfe1
diff --git a/ftp/ftplocate/pkg-comment b/ftp/ftplocate/pkg-comment
new file mode 100644
index 000000000000..17231c316e7a
--- /dev/null
+++ b/ftp/ftplocate/pkg-comment
@@ -0,0 +1 @@
+An ftp search engine supporting filename and description search
diff --git a/ftp/ftplocate/pkg-descr b/ftp/ftplocate/pkg-descr
new file mode 100644
index 000000000000..ce95c554f87c
--- /dev/null
+++ b/ftp/ftplocate/pkg-descr
@@ -0,0 +1,15 @@
+FtpLocate is a fast FTP search engine written with Perl. It supports
+indexing on multiple FTP servers and generates summaries for them.
+
+FtpLocate provides the user two methods for searching: filename search and
+description search. Filename search groups the results by FTP servers,
+displaying the server nearest to the client first. With description search,
+a user can find the files he wants without knowing the filename. Files with
+same description will be grouped together.
+
+See the following URL for more information.
+
+WWW: http://turtle.ee.ncku.edu.tw/ftplocate.html
+
+Chung-Kie Tung
+tung@turtle.ee.ncku.edu.tw
diff --git a/ftp/ftplocate/pkg-plist b/ftp/ftplocate/pkg-plist
new file mode 100644
index 000000000000..3e3b86c9e763
--- /dev/null
+++ b/ftp/ftplocate/pkg-plist
@@ -0,0 +1,25 @@
+bin/ftplocate
+www/cgi-bin/ftplocate/README
+www/cgi-bin/ftplocate/README.zhtw
+www/cgi-bin/ftplocate/dcollect.pl
+www/cgi-bin/ftplocate/dindex.pl
+www/cgi-bin/ftplocate/dsearch.pl
+www/cgi-bin/ftplocate/fl.config
+www/cgi-bin/ftplocate/fl.english
+www/cgi-bin/ftplocate/fl.share
+www/cgi-bin/ftplocate/fl.zhtw
+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/flsearch.pl
+www/cgi-bin/ftplocate/flserv.pl
+www/cgi-bin/ftplocate/indexer.sh
+www/data/flhelp.html
+www/data/flhelp.zhtw.html
+@exec install -d -o nobody -g nobody -m 755 %D/www/cgi-bin/ftplocate/cache
+@exec install -d %D/www/cgi-bin/ftplocate/index %D/www/cgi-bin/ftplocate/desc
+@dirrm www/cgi-bin/ftplocate/index
+@dirrm www/cgi-bin/ftplocate/desc
+@dirrm www/cgi-bin/ftplocate/cache
+@dirrm www/cgi-bin/ftplocate