aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-WWW-Facebook-API
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-08-27 13:06:34 +0800
committerclsung <clsung@FreeBSD.org>2007-08-27 13:06:34 +0800
commit7a4045f0c2d04e3c7c837e806ac7054bae8ab415 (patch)
treebab590b7edd1d5254481797cb44074700d132fca /www/p5-WWW-Facebook-API
parent6221394a9f4d5811e9d03071483ca1b42adbbd3d (diff)
downloadfreebsd-ports-gnome-7a4045f0c2d04e3c7c837e806ac7054bae8ab415.tar.gz
freebsd-ports-gnome-7a4045f0c2d04e3c7c837e806ac7054bae8ab415.tar.zst
freebsd-ports-gnome-7a4045f0c2d04e3c7c837e806ac7054bae8ab415.zip
WWW::Facebook::API - Facebook API implementation
A Perl implementation of the Facebook API, working off of the canonical Java and PHP implementations. By default it uses JSON::Any to parse the response returned by Facebook's server. There is an option to return the raw response in either XML or JSON. WWW: http://search.cpan.org/dist/WWW-Facebook-API/
Diffstat (limited to 'www/p5-WWW-Facebook-API')
-rw-r--r--www/p5-WWW-Facebook-API/Makefile47
-rw-r--r--www/p5-WWW-Facebook-API/distinfo3
-rw-r--r--www/p5-WWW-Facebook-API/pkg-descr8
-rw-r--r--www/p5-WWW-Facebook-API/pkg-plist20
4 files changed, 78 insertions, 0 deletions
diff --git a/www/p5-WWW-Facebook-API/Makefile b/www/p5-WWW-Facebook-API/Makefile
new file mode 100644
index 000000000000..ee71e2bf9944
--- /dev/null
+++ b/www/p5-WWW-Facebook-API/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: p5-WWW-Facebook-API
+# Date created: 2007-08-27
+# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= WWW-Facebook-API
+PORTVERSION= 0.4.4
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-v${PORTVERSION}
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= Facebook API implementation in Perl
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
+ ${SITE_PERL}/${PERL_ARCH}/Crypt/SSLeay.pm:${PORTSDIR}/security/p5-Crypt-SSLeay \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/JSON/Any.pm:${PORTSDIR}/converters/p5-JSON-Any \
+ ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= WWW::Facebook::API.3 \
+ WWW::Facebook::API::Auth.3 \
+ WWW::Facebook::API::Canvas.3 \
+ WWW::Facebook::API::Events.3 \
+ WWW::Facebook::API::FBML.3 \
+ WWW::Facebook::API::FQL.3 \
+ WWW::Facebook::API::Feed.3 \
+ WWW::Facebook::API::Friends.3 \
+ WWW::Facebook::API::Groups.3 \
+ WWW::Facebook::API::Notifications.3 \
+ WWW::Facebook::API::Photos.3 \
+ WWW::Facebook::API::Profile.3 \
+ WWW::Facebook::API::Users.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-WWW-Facebook-API/distinfo b/www/p5-WWW-Facebook-API/distinfo
new file mode 100644
index 000000000000..eabb204dd07d
--- /dev/null
+++ b/www/p5-WWW-Facebook-API/distinfo
@@ -0,0 +1,3 @@
+MD5 (WWW-Facebook-API-v0.4.4.tar.gz) = 42dae1a93a1449d9c79d3b814ba2e0ee
+SHA256 (WWW-Facebook-API-v0.4.4.tar.gz) = 7b45723e812a255509f382bb32e926373db98fe394e4af6d9fa4aee066ca9933
+SIZE (WWW-Facebook-API-v0.4.4.tar.gz) = 39152
diff --git a/www/p5-WWW-Facebook-API/pkg-descr b/www/p5-WWW-Facebook-API/pkg-descr
new file mode 100644
index 000000000000..f1e2563df5ff
--- /dev/null
+++ b/www/p5-WWW-Facebook-API/pkg-descr
@@ -0,0 +1,8 @@
+WWW::Facebook::API - Facebook API implementation
+
+A Perl implementation of the Facebook API, working off of the
+canonical Java and PHP implementations. By default it uses JSON::Any
+to parse the response returned by Facebook's server. There is an option
+to return the raw response in either XML or JSON.
+
+WWW: http://search.cpan.org/dist/WWW-Facebook-API/
diff --git a/www/p5-WWW-Facebook-API/pkg-plist b/www/p5-WWW-Facebook-API/pkg-plist
new file mode 100644
index 000000000000..80fa4ba3283f
--- /dev/null
+++ b/www/p5-WWW-Facebook-API/pkg-plist
@@ -0,0 +1,20 @@
+%%SITE_PERL%%/WWW/Facebook/API.pm
+%%SITE_PERL%%/WWW/Facebook/API/Auth.pm
+%%SITE_PERL%%/WWW/Facebook/API/Canvas.pm
+%%SITE_PERL%%/WWW/Facebook/API/Events.pm
+%%SITE_PERL%%/WWW/Facebook/API/FBML.pm
+%%SITE_PERL%%/WWW/Facebook/API/FQL.pm
+%%SITE_PERL%%/WWW/Facebook/API/Feed.pm
+%%SITE_PERL%%/WWW/Facebook/API/Friends.pm
+%%SITE_PERL%%/WWW/Facebook/API/Groups.pm
+%%SITE_PERL%%/WWW/Facebook/API/Notifications.pm
+%%SITE_PERL%%/WWW/Facebook/API/Photos.pm
+%%SITE_PERL%%/WWW/Facebook/API/Profile.pm
+%%SITE_PERL%%/WWW/Facebook/API/Users.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Facebook/API/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Facebook/API
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Facebook
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW
+@dirrmtry %%SITE_PERL%%/WWW/Facebook/API
+@dirrmtry %%SITE_PERL%%/WWW/Facebook
+@dirrmtry %%SITE_PERL%%/WWW