From 50b63bb4cb2273747d17e5a7a802365853fabc9e Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 27 Jun 2008 12:31:07 +0000 Subject: [PATCH] pear-Services_Blogging provides a unified API to post and read blog entries, independent of the API supported by the server software hosting the blog. It uses a driver-based approach to communicate with different APIs out there. If a new blogging API is invented, someone just needs to write a driver for the Services_Blogging package, and everyone can access also this blogs. WWW: http://pear.php.net/package/Services_Blogging/ PR: ports/124910 Submitted by: Wen Heping --- www/Makefile | 1 + www/pear-Services_Blogging/Makefile | 38 ++++++++++++++++++++++++++++ www/pear-Services_Blogging/distinfo | 3 +++ www/pear-Services_Blogging/pkg-descr | 7 +++++ 4 files changed, 49 insertions(+) create mode 100644 www/pear-Services_Blogging/Makefile create mode 100644 www/pear-Services_Blogging/distinfo create mode 100644 www/pear-Services_Blogging/pkg-descr diff --git a/www/Makefile b/www/Makefile index 457267a2874a..2920a99a393b 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1037,6 +1037,7 @@ SUBDIR += pear-HTTP_Server SUBDIR += pear-HTTP_Session2 SUBDIR += pear-HTTP_Upload + SUBDIR += pear-Services_Blogging SUBDIR += pear-Services_Compete SUBDIR += pear-Services_Delicious SUBDIR += pear-Services_Digg diff --git a/www/pear-Services_Blogging/Makefile b/www/pear-Services_Blogging/Makefile new file mode 100644 index 000000000000..c73fdd38a117 --- /dev/null +++ b/www/pear-Services_Blogging/Makefile @@ -0,0 +1,38 @@ +# Ports collection makefile for: pear-Services_Blogging +# Date created: 23 June 2008 +# Whom: Wen Heping +# +# $FreeBSD$ +# + +PORTNAME= Services_Blogging +PORTVERSION= 0.2.1 +CATEGORIES= www pear + +MAINTAINER= wenheping@gmail.com +COMMENT= PHP interface to Blog + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear \ + ${PEARDIR}/XML/RPC.php:${PORTSDIR}/net/pear-XML_RPC +RUN_DEPENDS= ${BUILD_DEPENDS} + +CATEGORY= Services +FILES= Services/Blogging.php \ + Services/Blogging/Blog.php \ + Services/Blogging/MediaObject.php \ + Services/Blogging/MultipleBlogsInterface.php \ + Services/Blogging/Driver.php \ + Services/Blogging/Post.php \ + Services/Blogging/Exception.php \ + Services/Blogging/XmlRpc.php \ + Services/Blogging/ExtendedDriver.php \ + Services/Blogging/Driver/Blogger.php \ + Services/Blogging/Driver/Exception.php \ + Services/Blogging/Driver/LiveJournal.php \ + Services/Blogging/Driver/MetaWeblog.php + +EXAMPLES= autodiscover.php blogger.cw.php livejournal.cw.php + +.include +.include "${PORTSDIR}/devel/pear/bsd.pear.mk" +.include diff --git a/www/pear-Services_Blogging/distinfo b/www/pear-Services_Blogging/distinfo new file mode 100644 index 000000000000..00ffd3432981 --- /dev/null +++ b/www/pear-Services_Blogging/distinfo @@ -0,0 +1,3 @@ +MD5 (PEAR/Services_Blogging-0.2.1.tgz) = 49a88be4bb55b815679364b0c250a4a3 +SHA256 (PEAR/Services_Blogging-0.2.1.tgz) = e873032e3037de9558fd3a0cf9cda13dd1e27c1e0cd470294378bdf38baf3a2d +SIZE (PEAR/Services_Blogging-0.2.1.tgz) = 13053 diff --git a/www/pear-Services_Blogging/pkg-descr b/www/pear-Services_Blogging/pkg-descr new file mode 100644 index 000000000000..4b58fb3ed9f3 --- /dev/null +++ b/www/pear-Services_Blogging/pkg-descr @@ -0,0 +1,7 @@ +pear-Services_Blogging provides a unified API to post and read blog entries, +independent of the API supported by the server software hosting the blog. +It uses a driver-based approach to communicate with different APIs out there. +If a new blogging API is invented, someone just needs to write a driver for +the Services_Blogging package, and everyone can access also this blogs. + +WWW: http://pear.php.net/package/Services_Blogging/