aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2013-01-13 10:22:44 +0800
committerkuriyama <kuriyama@FreeBSD.org>2013-01-13 10:22:44 +0800
commite6dd23e1473f84914350fab81c96ebff551b0bee (patch)
tree1f658ec9254d166b465cca8ce0142bca14259e7d /www
parented93221545b28708f2de94630e7af04446c141b6 (diff)
downloadfreebsd-ports-gnome-e6dd23e1473f84914350fab81c96ebff551b0bee.tar.gz
freebsd-ports-gnome-e6dd23e1473f84914350fab81c96ebff551b0bee.tar.zst
freebsd-ports-gnome-e6dd23e1473f84914350fab81c96ebff551b0bee.zip
AnyEvent::HTTP::LWP::UserAgent uses AnyEvent::HTTP inside but have an
interface of LWP::UserAgent. You can safely use this module in Coro environment (and possibly in AnyEvent too). WWW: http://search.cpan.org/dist/AnyEvent-HTTP-LWP-UserAgent/
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-AnyEvent-HTTP-LWP-UserAgent/Makefile24
-rw-r--r--www/p5-AnyEvent-HTTP-LWP-UserAgent/distinfo2
-rw-r--r--www/p5-AnyEvent-HTTP-LWP-UserAgent/pkg-descr5
-rw-r--r--www/p5-AnyEvent-HTTP-LWP-UserAgent/pkg-plist6
5 files changed, 38 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 41f3f12d80d5..2b36749a2c88 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -605,6 +605,7 @@
SUBDIR += p5-Acme-Monta
SUBDIR += p5-Any-Template
SUBDIR += p5-AnyEvent-HTTP
+ SUBDIR += p5-AnyEvent-HTTP-LWP-UserAgent
SUBDIR += p5-AnyEvent-HTTPD
SUBDIR += p5-AnyEvent-Mojo
SUBDIR += p5-AnyEvent-ReverseHTTP
diff --git a/www/p5-AnyEvent-HTTP-LWP-UserAgent/Makefile b/www/p5-AnyEvent-HTTP-LWP-UserAgent/Makefile
new file mode 100644
index 000000000000..23cd878ea9bc
--- /dev/null
+++ b/www/p5-AnyEvent-HTTP-LWP-UserAgent/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= AnyEvent-HTTP-LWP-UserAgent
+PORTVERSION= 0.10
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Perl extension for LWP::UserAgent interface using AnyEvent::HTTP
+
+RUN_DEPENDS= \
+ p5-AnyEvent>=5:${PORTSDIR}/devel/p5-AnyEvent \
+ p5-AnyEvent-HTTP>=2.1:${PORTSDIR}/www/p5-AnyEvent-HTTP \
+ p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
+ p5-libwww>0:${PORTSDIR}/www/p5-libwww \
+ p5-libwww>=5.815:${PORTSDIR}/www/p5-libwww
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= AnyEvent::HTTP::LWP::UserAgent.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-AnyEvent-HTTP-LWP-UserAgent/distinfo b/www/p5-AnyEvent-HTTP-LWP-UserAgent/distinfo
new file mode 100644
index 000000000000..217f2be476ac
--- /dev/null
+++ b/www/p5-AnyEvent-HTTP-LWP-UserAgent/distinfo
@@ -0,0 +1,2 @@
+SHA256 (AnyEvent-HTTP-LWP-UserAgent-0.10.tar.gz) = 0bf225f058be4b77c7a4e0401093aa245c10511b272e0d4b13be7a322a70972a
+SIZE (AnyEvent-HTTP-LWP-UserAgent-0.10.tar.gz) = 15847
diff --git a/www/p5-AnyEvent-HTTP-LWP-UserAgent/pkg-descr b/www/p5-AnyEvent-HTTP-LWP-UserAgent/pkg-descr
new file mode 100644
index 000000000000..93eab85bc50d
--- /dev/null
+++ b/www/p5-AnyEvent-HTTP-LWP-UserAgent/pkg-descr
@@ -0,0 +1,5 @@
+AnyEvent::HTTP::LWP::UserAgent uses AnyEvent::HTTP inside but have an
+interface of LWP::UserAgent. You can safely use this module in Coro
+environment (and possibly in AnyEvent too).
+
+WWW: http://search.cpan.org/dist/AnyEvent-HTTP-LWP-UserAgent/
diff --git a/www/p5-AnyEvent-HTTP-LWP-UserAgent/pkg-plist b/www/p5-AnyEvent-HTTP-LWP-UserAgent/pkg-plist
new file mode 100644
index 000000000000..c7020d7fd081
--- /dev/null
+++ b/www/p5-AnyEvent-HTTP-LWP-UserAgent/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/HTTP/LWP/UserAgent/.packlist
+%%SITE_PERL%%/AnyEvent/HTTP/LWP/UserAgent.pm
+@dirrmtry %%SITE_PERL%%/AnyEvent/HTTP/LWP
+@dirrmtry %%SITE_PERL%%/AnyEvent/HTTP
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/HTTP/LWP/UserAgent
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/HTTP/LWP