diff options
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/p5-HTTP-Thin/Makefile | 26 | ||||
| -rw-r--r-- | www/p5-HTTP-Thin/distinfo | 2 | ||||
| -rw-r--r-- | www/p5-HTTP-Thin/pkg-descr | 7 | ||||
| -rw-r--r-- | www/p5-HTTP-Thin/pkg-plist | 2 |
5 files changed, 38 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 4578ae09db0e..38502b5a01dd 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1033,6 +1033,7 @@ SUBDIR += p5-HTTP-Session2 SUBDIR += p5-HTTP-SimpleLinkChecker SUBDIR += p5-HTTP-Size + SUBDIR += p5-HTTP-Thin SUBDIR += p5-HTTP-Tiny SUBDIR += p5-HTTP-Tiny-SPDY SUBDIR += p5-HTTP-WebTest diff --git a/www/p5-HTTP-Thin/Makefile b/www/p5-HTTP-Thin/Makefile new file mode 100644 index 000000000000..11dcc99f2627 --- /dev/null +++ b/www/p5-HTTP-Thin/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= HTTP-Thin +PORTVERSION= 0.006 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= amontalban@gmail.com +COMMENT= Thin Wrapper around HTTP::Tiny to play nice with HTTP::Message + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +RUN_DEPENDS= p5-Class-Method-Modifiers>0:${PORTSDIR}/devel/p5-Class-Method-Modifiers \ + p5-HTTP-Tiny>=0.056:${PORTSDIR}/www/p5-HTTP-Tiny \ + p5-HTTP-Message>0:${PORTSDIR}/www/p5-HTTP-Message \ + p5-Hash-MultiValue>0:${PORTSDIR}/devel/p5-Hash-MultiValue \ + p5-Safe-Isa>0:${PORTSDIR}/devel/p5-Safe-Isa +BUILD_DEPENDS:= ${RUN_DEPENDS} + +USES= perl5 +USE_PERL5= configure +NO_ARCH= YES + +.include <bsd.port.mk> diff --git a/www/p5-HTTP-Thin/distinfo b/www/p5-HTTP-Thin/distinfo new file mode 100644 index 000000000000..02ee88b2c197 --- /dev/null +++ b/www/p5-HTTP-Thin/distinfo @@ -0,0 +1,2 @@ +SHA256 (HTTP-Thin-0.006.tar.gz) = c4a78588c194603222b0a6b426e61692189def0ce4a0581791873b8720f79e9e +SIZE (HTTP-Thin-0.006.tar.gz) = 11562 diff --git a/www/p5-HTTP-Thin/pkg-descr b/www/p5-HTTP-Thin/pkg-descr new file mode 100644 index 000000000000..fffb73729503 --- /dev/null +++ b/www/p5-HTTP-Thin/pkg-descr @@ -0,0 +1,7 @@ +HTTP::Thin is a thin wrapper around HTTP::Tiny adding the ability to pass in +HTTP::Request objects and get back HTTP::Response objects. The maintainers of +HTTP::Tiny, justifiably, don't want to have to maintain compatibility but many +other projects already consume the HTTP::Message objects. This is just glue code +doing what it does best. + +WWW: http://search.cpan.org/dist/HTTP-Thin/ diff --git a/www/p5-HTTP-Thin/pkg-plist b/www/p5-HTTP-Thin/pkg-plist new file mode 100644 index 000000000000..40e421d57432 --- /dev/null +++ b/www/p5-HTTP-Thin/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/HTTP/Thin.pm +%%PERL5_MAN3%%/HTTP::Thin.3.gz |
