diff options
author | vanilla <vanilla@FreeBSD.org> | 2004-08-08 03:13:11 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2004-08-08 03:13:11 +0800 |
commit | 39f61f919282bef8e67da36a950241ce6adf1e53 (patch) | |
tree | 328decc1661d6d8e7554801891c20268c6a23d13 /www/p5-WWW-Wikipedia | |
parent | 560f5b7fece5eabdb4f8e1ef1472ceca08e3beb7 (diff) | |
download | freebsd-ports-gnome-39f61f919282bef8e67da36a950241ce6adf1e53.tar.gz freebsd-ports-gnome-39f61f919282bef8e67da36a950241ce6adf1e53.tar.zst freebsd-ports-gnome-39f61f919282bef8e67da36a950241ce6adf1e53.zip |
Add p5-WWW-Wikipedia 0.9, perl module of Automated interface to the
Wikipedia.
PR: ports/70030
Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Diffstat (limited to 'www/p5-WWW-Wikipedia')
-rw-r--r-- | www/p5-WWW-Wikipedia/Makefile | 33 | ||||
-rw-r--r-- | www/p5-WWW-Wikipedia/distinfo | 2 | ||||
-rw-r--r-- | www/p5-WWW-Wikipedia/pkg-descr | 11 | ||||
-rw-r--r-- | www/p5-WWW-Wikipedia/pkg-plist | 8 |
4 files changed, 54 insertions, 0 deletions
diff --git a/www/p5-WWW-Wikipedia/Makefile b/www/p5-WWW-Wikipedia/Makefile new file mode 100644 index 000000000000..31570fd8065e --- /dev/null +++ b/www/p5-WWW-Wikipedia/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: p5-WWW-Wikipedia +# Date created: Aug 5 2004 +# Whom: Cheng-Lung Sung <clsung@dragon2.net> +# +# $FreeBSD$ +# + +PORTNAME= WWW-Wikipedia +PORTVERSION= 0.9 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= WWW +PKGNAMEPREFIX= p5- + +MAINTAINER= clsung@dragon2.net +COMMENT= Perl module of Automated interface to the Wikipedia + +BUILD_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN1= wikipedia.1 +MAN3= WWW::Wikipedia.3 \ + WWW::Wikipedia::Entry.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +IGNORE= This port requires perl 5.8.0 or later. Install lang/perl5.8 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-WWW-Wikipedia/distinfo b/www/p5-WWW-Wikipedia/distinfo new file mode 100644 index 000000000000..83bc6d01cd16 --- /dev/null +++ b/www/p5-WWW-Wikipedia/distinfo @@ -0,0 +1,2 @@ +MD5 (WWW-Wikipedia-0.9.tar.gz) = e662d517b8614c8ed592107adf978538 +SIZE (WWW-Wikipedia-0.9.tar.gz) = 12032 diff --git a/www/p5-WWW-Wikipedia/pkg-descr b/www/p5-WWW-Wikipedia/pkg-descr new file mode 100644 index 000000000000..88160863151c --- /dev/null +++ b/www/p5-WWW-Wikipedia/pkg-descr @@ -0,0 +1,11 @@ +WWW::Wikipedia provides an automated interface to the Wikipedia +http://www.wikipedia.org, which is a free, collaborative, online encyclopedia. + +This module allows you to search for a topic and return the resulting entry. +It also gives you access to related topics which are also available via the +Wikipedia for that entry. + +WWW: http://search.cpan.org/dist/WWW-Wikipedia + +-- Cheng-Lung Sung +clsung at dragon2.net diff --git a/www/p5-WWW-Wikipedia/pkg-plist b/www/p5-WWW-Wikipedia/pkg-plist new file mode 100644 index 000000000000..b7a402d313fa --- /dev/null +++ b/www/p5-WWW-Wikipedia/pkg-plist @@ -0,0 +1,8 @@ +bin/wikipedia +%%SITE_PERL%%/WWW/Wikipedia.pm +%%SITE_PERL%%/WWW/Wikipedia/Entry.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Wikipedia/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Wikipedia +@dirrm %%SITE_PERL%%/WWW/Wikipedia +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW 2>&1 || true +@unexec rmdir %D/%%SITE_PERL%%/WWW 2>&1 || true |