aboutsummaryrefslogtreecommitdiff
path: root/www/p5-MediaWiki-API
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-09-23 13:24:06 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-09-23 13:24:06 +0000
commitf499b2f19e65f3bfffa882ed58852b0e61f24233 (patch)
treede7d552bc4771325b5526141d0b7350719e24e9c /www/p5-MediaWiki-API
parent9f84fad1cc0fbeb1af3e738c798ad87e4c8b0c20 (diff)
downloadports-f499b2f19e65f3bfffa882ed58852b0e61f24233.tar.gz
ports-f499b2f19e65f3bfffa882ed58852b0e61f24233.zip
Notes
Diffstat (limited to 'www/p5-MediaWiki-API')
-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
4 files changed, 39 insertions, 0 deletions
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