# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         MediaWiki-API 0.52

platforms           {darwin any}
maintainers         nomaintainer
license             GPL-3+

supported_archs     noarch

description         MediaWiki::API - Provides a Perl interface to the MediaWiki API
long_description    This module provides an interface between Perl and the MediaWiki API \
                    (https://www.mediawiki.org/wiki/API) allowing creation of scripts to \
                    automate editing and extraction of data from MediaWiki driven sites \
                    like Wikipedia.

checksums           rmd160  237751a6e9656d01840a00c9817b45198fec5d0b \
                    sha256  2f50a9d85ebf6f12bac9e09f52bcfead2cf419802c15191b172724ee2f49d0c2 \
                    size    32649

if {${perl5.major} ne ""} {
    depends_lib-append \
                    port:p${perl5.major}-json \
                    port:p${perl5.major}-libwww-perl
}
