diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-08-07 19:13:11 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-08-07 19:13:11 +0000 |
commit | c24d15dd62ab28a674bff37c61ed44f3dee0c775 (patch) | |
tree | 988fd0efaa6c135eef2c164bee26e537e7db4f2b /www/p5-WWW-Wikipedia | |
parent | d208cc8f7d50a64e981bd6aa633739b011de301a (diff) | |
download | ports-c24d15dd62ab28a674bff37c61ed44f3dee0c775.tar.gz ports-c24d15dd62ab28a674bff37c61ed44f3dee0c775.zip |
Notes
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 |