aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2011-04-15 14:36:24 +0000
committerFrederic Culot <culot@FreeBSD.org>2011-04-15 14:36:24 +0000
commit39aa70d2f3a1d948bb67cfccc0a0084c02e63fe6 (patch)
tree4a7d3a967d66421ccc4ac5f5dedfaeb2f3cb2a7e
parent3657e4714dbe921e77c250e7e0c6c4334de592a6 (diff)
downloadports-39aa70d2f3a1d948bb67cfccc0a0084c02e63fe6.tar.gz
ports-39aa70d2f3a1d948bb67cfccc0a0084c02e63fe6.zip
HTTP::Negotiate provides a complete implementation of the HTTP content
negotiation algorithm. WWW: http://search.cpan.org/dist/HTTP-Negotiate/ This new port is needed to update www/p5-libwww.
Notes
Notes: svn path=/head/; revision=272754
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-HTTP-Negotiate/Makefile24
-rw-r--r--www/p5-HTTP-Negotiate/distinfo2
-rw-r--r--www/p5-HTTP-Negotiate/pkg-descr7
-rw-r--r--www/p5-HTTP-Negotiate/pkg-plist5
5 files changed, 39 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 642a7344134f..3f225bfdef5c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1056,6 +1056,7 @@
SUBDIR += p5-HTTP-MobileAgent
SUBDIR += p5-HTTP-MobileAgent-Plugin-Charset
SUBDIR += p5-HTTP-MobileAttribute
+ SUBDIR += p5-HTTP-Negotiate
SUBDIR += p5-HTTP-Parser
SUBDIR += p5-HTTP-Parser-XS
SUBDIR += p5-HTTP-Proxy
diff --git a/www/p5-HTTP-Negotiate/Makefile b/www/p5-HTTP-Negotiate/Makefile
new file mode 100644
index 000000000000..57dd834b839c
--- /dev/null
+++ b/www/p5-HTTP-Negotiate/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-HTTP-Negotiate
+# Date created: 2011-04-15
+# Whom: Frederic Culot <culot@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTTP-Negotiate
+PORTVERSION= 6.00
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Implementation of the HTTP content negotiation algorithm
+
+RUN_DEPENDS= p5-HTTP-Message>=6:${PORTSDIR}/www/p5-HTTP-Message
+BUILD_DEPENDS:= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= HTTP::Negotiate.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-HTTP-Negotiate/distinfo b/www/p5-HTTP-Negotiate/distinfo
new file mode 100644
index 000000000000..dbe0d1853deb
--- /dev/null
+++ b/www/p5-HTTP-Negotiate/distinfo
@@ -0,0 +1,2 @@
+SHA256 (HTTP-Negotiate-6.00.tar.gz) = 4e070ea67427ab1843620debc923b820bd41b9018914dfef54bbc7af9257ae82
+SIZE (HTTP-Negotiate-6.00.tar.gz) = 8560
diff --git a/www/p5-HTTP-Negotiate/pkg-descr b/www/p5-HTTP-Negotiate/pkg-descr
new file mode 100644
index 000000000000..609958be7b3e
--- /dev/null
+++ b/www/p5-HTTP-Negotiate/pkg-descr
@@ -0,0 +1,7 @@
+HTTP::Negotiate provides a complete implementation of the HTTP content
+negotiation algorithm. Content negotiation allows for the selection of
+a preferred content representation based upon attributes of the
+negotiable variants and the value of the various Accept* header fields
+in the request.
+
+WWW: http://search.cpan.org/dist/HTTP-Negotiate/
diff --git a/www/p5-HTTP-Negotiate/pkg-plist b/www/p5-HTTP-Negotiate/pkg-plist
new file mode 100644
index 000000000000..31b079d0188c
--- /dev/null
+++ b/www/p5-HTTP-Negotiate/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/HTTP/Negotiate.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Negotiate/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP/Negotiate
+@dirrmtry %%SITE_PERL%%/HTTP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTTP