aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTTP-Negotiate
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2011-04-15 22:36:24 +0800
committerculot <culot@FreeBSD.org>2011-04-15 22:36:24 +0800
commit94f8d2d3323e60a20fe05623bf31a29e4517f0f5 (patch)
treec1188268f3496da7c179429c2b260303375b7bd6 /www/p5-HTTP-Negotiate
parentf000d8076249d0f0710f0838b149652515e271dd (diff)
downloadfreebsd-ports-gnome-94f8d2d3323e60a20fe05623bf31a29e4517f0f5.tar.gz
freebsd-ports-gnome-94f8d2d3323e60a20fe05623bf31a29e4517f0f5.tar.zst
freebsd-ports-gnome-94f8d2d3323e60a20fe05623bf31a29e4517f0f5.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.
Diffstat (limited to 'www/p5-HTTP-Negotiate')
-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
4 files changed, 38 insertions, 0 deletions
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