summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2001-04-28 13:53:35 +0000
committerJosef Karthauser <joe@FreeBSD.org>2001-04-28 13:53:35 +0000
commit4ea841ffc95593ee6a54e3ac31f432b53e9a49f4 (patch)
tree66bd662fda9a9d07c7e327c921e8503623771073
parentFix a bug that prevented updates to be installed. (diff)
SEQUIN is intended to extract the keywords used and the name of
the search engine given the a line from a logfile that contains a referal URL from a Search Engine which GETs its data. Unlike traditional applications for doing this, it does not rely on a preset list of search engines and thus currently works with almost every search engine URL the author could get his hands on. PR: ports/26844
Notes
Notes: svn path=/head/; revision=41998
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-URI-Sequin/Makefile32
-rw-r--r--www/p5-URI-Sequin/distinfo1
-rw-r--r--www/p5-URI-Sequin/pkg-comment1
-rw-r--r--www/p5-URI-Sequin/pkg-descr10
-rw-r--r--www/p5-URI-Sequin/pkg-plist10
6 files changed, 55 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 8d760c4ac847..c67884388f7b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -211,6 +211,7 @@
SUBDIR += p5-HTTPD-Tools
SUBDIR += p5-ParallelUA
SUBDIR += p5-Template-Toolkit
+ SUBDIR += p5-URI-Sequin
SUBDIR += p5-WWW-Babelfish
SUBDIR += p5-WWW-Robot
SUBDIR += p5-WWW-Search
diff --git a/www/p5-URI-Sequin/Makefile b/www/p5-URI-Sequin/Makefile
new file mode 100644
index 000000000000..5f513376ca12
--- /dev/null
+++ b/www/p5-URI-Sequin/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: www/p5-URI-Sequin
+# Date created: 25 April 2001
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Sequin
+PORTVERSION= 1.0
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= URI
+PKGNAMEPREFIX= p5-URI-
+
+MAINTAINER= tobez@tobez.org
+
+PERL_CONFIGURE= yes
+
+MAN3= URI::Sequin.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+pre-patch:
+ @${PERL} -pi -e \
+ 's|\);$$|PM=>{q!Sequin.pm!=>q!\$$(INST_LIBDIR)/Sequin.pm!});|' \
+ ${WRKSRC}/Makefile.PL
+
+post-install:
+ @${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/URI/Sequin/examples
+ @${INSTALL_DATA} ${WRKSRC}/Example.pl ${WRKSRC}/referer_log?.txt \
+ ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/URI/Sequin/examples
+
+.include <bsd.port.mk>
diff --git a/www/p5-URI-Sequin/distinfo b/www/p5-URI-Sequin/distinfo
new file mode 100644
index 000000000000..051f810820ed
--- /dev/null
+++ b/www/p5-URI-Sequin/distinfo
@@ -0,0 +1 @@
+MD5 (Sequin-1.0.tar.gz) = bebb10feefbf0b03c330d37478c84c21
diff --git a/www/p5-URI-Sequin/pkg-comment b/www/p5-URI-Sequin/pkg-comment
new file mode 100644
index 000000000000..b0f74bf2fbd9
--- /dev/null
+++ b/www/p5-URI-Sequin/pkg-comment
@@ -0,0 +1 @@
+Extract information from the URLs of Search-Engines
diff --git a/www/p5-URI-Sequin/pkg-descr b/www/p5-URI-Sequin/pkg-descr
new file mode 100644
index 000000000000..e610a585740d
--- /dev/null
+++ b/www/p5-URI-Sequin/pkg-descr
@@ -0,0 +1,10 @@
+SEQUIN is intended to extract the keywords used and the name of
+the search engine given the a line from a logfile that contains a
+referal URL from a Search Engine which GETs its data.
+
+Unlike traditional applications for doing this, it does not rely
+on a preset list of search engines and thus currently works with
+almost every search engine URL the author could get his hands on.
+
+-Anton
+<tobez@tobez.org>
diff --git a/www/p5-URI-Sequin/pkg-plist b/www/p5-URI-Sequin/pkg-plist
new file mode 100644
index 000000000000..adbf619e22a9
--- /dev/null
+++ b/www/p5-URI-Sequin/pkg-plist
@@ -0,0 +1,10 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI/Sequin/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/URI/Sequin.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/Sequin/examples/Example.pl
+lib/perl5/site_perl/%%PERL_VER%%/URI/Sequin/examples/referer_log1.txt
+lib/perl5/site_perl/%%PERL_VER%%/URI/Sequin/examples/referer_log2.txt
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI/Sequin
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/URI/Sequin/examples
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/URI/Sequin
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/URI 2>/dev/null || true