summaryrefslogtreecommitdiff
path: root/devel/libwhisker2
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2006-01-18 22:53:18 +0000
committeradrianp <adrianp@pkgsrc.org>2006-01-18 22:53:18 +0000
commit394ffadd7d29573563d50b9d31bd6a69819f23e7 (patch)
tree5255839c3e0bc3037af460b9bb4fb2458f8950dc /devel/libwhisker2
parentb589af1a112496bf549b1803462661d0e8128957 (diff)
downloadpkgsrc-394ffadd7d29573563d50b9d31bd6a69819f23e7.tar.gz
Libwhisker is a Perl module geared specificly for HTTP testing.
Libwhisker has a few design principles: - Portable: runs with 0 changes on Unix, Windows, etc (100% Perl) - Flexible: designed with a 'no rules' approach - Contained: designed to not require external modules when possible - Localized: does not require installation to use This is libwhisker 2.3
Diffstat (limited to 'devel/libwhisker2')
-rw-r--r--devel/libwhisker2/DESCR7
-rw-r--r--devel/libwhisker2/Makefile37
-rw-r--r--devel/libwhisker2/PLIST19
-rw-r--r--devel/libwhisker2/distinfo5
4 files changed, 68 insertions, 0 deletions
diff --git a/devel/libwhisker2/DESCR b/devel/libwhisker2/DESCR
new file mode 100644
index 00000000000..b80663b3dfc
--- /dev/null
+++ b/devel/libwhisker2/DESCR
@@ -0,0 +1,7 @@
+Libwhisker is a Perl module geared specifically for HTTP testing.
+Libwhisker has a few design principles:
+
+- Portable: runs with 0 changes on Unix, Windows, etc. (100% Perl)
+- Flexible: designed with a 'no rules' approach
+- Contained: designed to not require external modules when possible
+- Localized: does not require installation to use
diff --git a/devel/libwhisker2/Makefile b/devel/libwhisker2/Makefile
new file mode 100644
index 00000000000..267790be787
--- /dev/null
+++ b/devel/libwhisker2/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/18 22:53:18 adrianp Exp $
+
+DISTNAME= libwhisker2-2.3
+CATEGORIES= devel
+MASTER_SITES= http://www.wiretrip.net/rfp/libwhisker/
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://www.wiretrip.net/rfp/lw.asp
+COMMENT= Perl module geared specifically for HTTP testing
+
+DEPENDS+= p5-Net-SSLeay>=1.20:../../security/p5-Net-SSLeay
+
+USE_TOOLS+= perl
+REPLACE_PERL= scripts/api_demo.pl scripts/crawl_demo.pl \
+ scripts/simple_demo.pl scripts/form_demo1.pl \
+ scripts/form_demo2.pl scripts/prox.pl
+
+do-build:
+ @cd ${WRKSRC} && ${PERL5} Makefile.pl lib
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libwhisker2
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libwhisker2
+ ${INSTALL_DATA_DIR} ${PREFIX}/libdata/libwhisker2
+
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/libwhisker2
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.gif ${PREFIX}/share/doc/libwhisker2
+ ${INSTALL_DATA} ${WRKSRC}/KNOWNBUGS ${PREFIX}/share/doc/libwhisker2
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libwhisker2
+ ${INSTALL_DATA} ${WRKSRC}/LW2.pm ${PREFIX}/libdata/libwhisker2
+
+. for f in ${REPLACE_PERL}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} \
+ ${PREFIX}/share/examples/libwhisker2
+. endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libwhisker2/PLIST b/devel/libwhisker2/PLIST
new file mode 100644
index 00000000000..181e20e79a7
--- /dev/null
+++ b/devel/libwhisker2/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/18 22:53:18 adrianp Exp $
+share/doc/libwhisker2/KNOWNBUGS
+share/doc/libwhisker2/README
+share/doc/libwhisker2/crawler.txt
+share/doc/libwhisker2/forms_walkthrough.txt
+share/doc/libwhisker2/logo-builton.gif
+share/doc/libwhisker2/logo-name.gif
+share/doc/libwhisker2/logo-plain.gif
+share/doc/libwhisker2/whisker_hash.txt
+share/examples/libwhisker2/api_demo.pl
+share/examples/libwhisker2/crawl_demo.pl
+share/examples/libwhisker2/form_demo1.pl
+share/examples/libwhisker2/form_demo2.pl
+share/examples/libwhisker2/prox.pl
+share/examples/libwhisker2/simple_demo.pl
+libdata/libwhisker2/LW2.pm
+@dirrm libdata/libwhisker2
+@dirrm share/examples/libwhisker2
+@dirrm share/doc/libwhisker2
diff --git a/devel/libwhisker2/distinfo b/devel/libwhisker2/distinfo
new file mode 100644
index 00000000000..5bcb8b33783
--- /dev/null
+++ b/devel/libwhisker2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/01/18 22:53:18 adrianp Exp $
+
+SHA1 (libwhisker2-2.3.tar.gz) = b9b43377c1a1c7edf2ea2b7c19c9f7fce00cc0ce
+RMD160 (libwhisker2-2.3.tar.gz) = ee06ee4408487b60e923e28407f899d405325c0d
+Size (libwhisker2-2.3.tar.gz) = 94446 bytes