aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-WWW-Mechanize-Shell/Makefile52
-rw-r--r--www/p5-WWW-Mechanize-Shell/distinfo2
-rw-r--r--www/p5-WWW-Mechanize-Shell/pkg-descr6
-rw-r--r--www/p5-WWW-Mechanize-Shell/pkg-plist27
5 files changed, 88 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index d0216f495f30..6488135d95cc 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -496,6 +496,7 @@
SUBDIR += p5-WWW-IMDb
SUBDIR += p5-WWW-Link
SUBDIR += p5-WWW-Mechanize
+ SUBDIR += p5-WWW-Mechanize-Shell
SUBDIR += p5-WWW-Robot
SUBDIR += p5-WWW-Search
SUBDIR += p5-WWW-Search-AltaVista
diff --git a/www/p5-WWW-Mechanize-Shell/Makefile b/www/p5-WWW-Mechanize-Shell/Makefile
new file mode 100644
index 000000000000..6234a5175770
--- /dev/null
+++ b/www/p5-WWW-Mechanize-Shell/Makefile
@@ -0,0 +1,52 @@
+# New Ports Collection Makefile for: p5-WWW-Mechanize-Shell
+# Date created: 2004-07-08
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= WWW-Mechanize-Shell
+PORTVERSION= 0.34
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= WWW
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= An interactive shell for www/p5-WWW-Mechanize
+
+BUILD_DEPENDS= ${SITE_PERL}/URI/URL.pm:${PORTSDIR}/net/p5-URI \
+ ${SITE_PERL}/Term/Shell.pm:${PORTSDIR}/devel/p5-Term-Shell \
+ ${SITE_PERL}/Test/Harness.pm:${PORTSDIR}/devel/p5-Test-Harness \
+ ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/WWW/Mechanize.pm:${PORTSDIR}/www/p5-WWW-Mechanize \
+ ${SITE_PERL}/WWW/Mechanize/FormFiller.pm:${PORTSDIR}/www/p5-WWW-Mechanize-FormFiller \
+ ${SITE_PERL}/Hook/LexWrap.pm:${PORTSDIR}/devel/p5-Hook-LexWrap \
+ ${SITE_PERL}/File/Modified.pm:${PORTSDIR}/devel/p5-File-Modified \
+ ${SITE_PERL}/HTML/TokeParser/Simple.pm:${PORTSDIR}/www/p5-HTML-TokeParser-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= HTML::Display.3 \
+ HTML::Display::Common.3 \
+ HTML::Display::Debian.3 \
+ HTML::Display::Dump.3 \
+ HTML::Display::Galeon.3 \
+ HTML::Display::Mozilla.3 \
+ HTML::Display::OSX.3 \
+ HTML::Display::OSX::Camino.3 \
+ HTML::Display::OSX::Safari.3 \
+ HTML::Display::Opera.3 \
+ HTML::Display::Phoenix.3 \
+ HTML::Display::TempFile.3 \
+ HTML::Display::Win32.3 \
+ HTML::Display::Win32::IE.3 \
+ HTML::Display::Win32::OLE.3 \
+ WWW::Mechanize::Shell.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This port only support perl 5.6.1 or above
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-WWW-Mechanize-Shell/distinfo b/www/p5-WWW-Mechanize-Shell/distinfo
new file mode 100644
index 000000000000..25431ee06422
--- /dev/null
+++ b/www/p5-WWW-Mechanize-Shell/distinfo
@@ -0,0 +1,2 @@
+MD5 (WWW-Mechanize-Shell-0.34.tar.gz) = 7efffb124ab0086f00866fa1a68df38e
+SIZE (WWW-Mechanize-Shell-0.34.tar.gz) = 52688
diff --git a/www/p5-WWW-Mechanize-Shell/pkg-descr b/www/p5-WWW-Mechanize-Shell/pkg-descr
new file mode 100644
index 000000000000..cad3ed7d2cf5
--- /dev/null
+++ b/www/p5-WWW-Mechanize-Shell/pkg-descr
@@ -0,0 +1,6 @@
+This module implements a www-like shell above WWW::Mechanize and also
+has the capability to output crude Perl code that recreates the recorded
+session. Its main use is as an interactive starting point for automating
+a session through WWW::Mechanize.
+
+WWW: http://search.cpan.org/search?dist=WWW-Mechanize-Shell
diff --git a/www/p5-WWW-Mechanize-Shell/pkg-plist b/www/p5-WWW-Mechanize-Shell/pkg-plist
new file mode 100644
index 000000000000..d8abca1e8404
--- /dev/null
+++ b/www/p5-WWW-Mechanize-Shell/pkg-plist
@@ -0,0 +1,27 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize/Shell/.packlist
+%%SITE_PERL%%/HTML/Display.pm
+%%SITE_PERL%%/HTML/Display/Opera.pm
+%%SITE_PERL%%/HTML/Display/Mozilla.pm
+%%SITE_PERL%%/HTML/Display/Dump.pm
+%%SITE_PERL%%/HTML/Display/Phoenix.pm
+%%SITE_PERL%%/HTML/Display/TempFile.pm
+%%SITE_PERL%%/HTML/Display/Debian.pm
+%%SITE_PERL%%/HTML/Display/Galeon.pm
+%%SITE_PERL%%/HTML/Display/Win32.pm
+%%SITE_PERL%%/HTML/Display/Common.pm
+%%SITE_PERL%%/HTML/Display/OSX.pm
+%%SITE_PERL%%/HTML/Display/OSX/Safari.pm
+%%SITE_PERL%%/HTML/Display/OSX/Camino.pm
+%%SITE_PERL%%/HTML/Display/Win32/IE.pm
+%%SITE_PERL%%/HTML/Display/Win32/OLE.pm
+%%SITE_PERL%%/WWW/Mechanize/Shell.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize/Shell
+@dirrm %%SITE_PERL%%/HTML/Display/OSX
+@dirrm %%SITE_PERL%%/HTML/Display/Win32
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTML/Display 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/WWW/Mechanize 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/WWW 2>/dev/null || true