aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-09-23 21:24:06 +0800
committermiwi <miwi@FreeBSD.org>2008-09-23 21:24:06 +0800
commit4a36ffab467b49fa0542a7cb4169b6eedadf8469 (patch)
treefc6179324f9fbca579038b9210c0352d011a9726 /www
parentc225d051e779272883f286867af32040be1e00b7 (diff)
downloadfreebsd-ports-gnome-4a36ffab467b49fa0542a7cb4169b6eedadf8469.tar.gz
freebsd-ports-gnome-4a36ffab467b49fa0542a7cb4169b6eedadf8469.tar.zst
freebsd-ports-gnome-4a36ffab467b49fa0542a7cb4169b6eedadf8469.zip
This module provides an interface between Perl and the MediaWiki API
allowing creation of scripts to automate editing and extraction of data from MediaWiki driven sites like Wikipedia. WWW: http://search.cpan.org/dist/MediaWiki-API/
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-MediaWiki-API/Makefile25
-rw-r--r--www/p5-MediaWiki-API/distinfo3
-rw-r--r--www/p5-MediaWiki-API/pkg-descr5
-rw-r--r--www/p5-MediaWiki-API/pkg-plist6
5 files changed, 40 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 0a266f48e946..df5755d986c6 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -910,6 +910,7 @@
SUBDIR += p5-Maypole-Authentication-UserSessionCookie
SUBDIR += p5-Maypole-Component
SUBDIR += p5-MediaWiki
+ SUBDIR += p5-MediaWiki-API
SUBDIR += p5-Net-Akismet
SUBDIR += p5-Net-Amazon-AWIS
SUBDIR += p5-Net-FireEagle
diff --git a/www/p5-MediaWiki-API/Makefile b/www/p5-MediaWiki-API/Makefile
new file mode 100644
index 000000000000..5c986c059eab
--- /dev/null
+++ b/www/p5-MediaWiki-API/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-MediaWiki-API
+# Date created: 23.09.2008
+# Whom: Martin Wilke <miwi@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MediaWiki-API
+PORTVERSION= 0.13
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= miwi@FreeBSD.org
+COMMENT= OOP MediaWiki engine client
+
+RUN_DEPENDS= ${SITE_PERL}/HTTP/Request/Common.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/${PERL_ARCH}/JSON/XS.pm:${PORTSDIR}/converters/p5-JSON-XS \
+ ${SITE_PERL}/${PERL_ARCH}/Encode.pm:${PORTSDIR}/converters/p5-Encode
+
+PERL_CONFIGURE= yes
+
+MAN3= MediaWiki::API.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-MediaWiki-API/distinfo b/www/p5-MediaWiki-API/distinfo
new file mode 100644
index 000000000000..6d8e8e149d34
--- /dev/null
+++ b/www/p5-MediaWiki-API/distinfo
@@ -0,0 +1,3 @@
+MD5 (MediaWiki-API-0.13.tar.gz) = 3789956d50ca49bd76a1571d0cf2e95e
+SHA256 (MediaWiki-API-0.13.tar.gz) = e399a65d8c4f05df6c16505d2515e7101532d7bc14e90c31b7fc8c68799e7313
+SIZE (MediaWiki-API-0.13.tar.gz) = 8906
diff --git a/www/p5-MediaWiki-API/pkg-descr b/www/p5-MediaWiki-API/pkg-descr
new file mode 100644
index 000000000000..0b65a33fe649
--- /dev/null
+++ b/www/p5-MediaWiki-API/pkg-descr
@@ -0,0 +1,5 @@
+This module provides an interface between Perl and the MediaWiki API
+allowing creation of scripts to automate editing and extraction of data
+from MediaWiki driven sites like Wikipedia.
+
+WWW: http://search.cpan.org/dist/MediaWiki-API/
diff --git a/www/p5-MediaWiki-API/pkg-plist b/www/p5-MediaWiki-API/pkg-plist
new file mode 100644
index 000000000000..2c73857a2457
--- /dev/null
+++ b/www/p5-MediaWiki-API/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/MediaWiki/API.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MediaWiki/API/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MediaWiki/API
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MediaWiki
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%
+@dirrmtry %%SITE_PERL%%/MediaWiki