aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-WWW-Search-MSN
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-07-15 16:50:35 +0800
committerclsung <clsung@FreeBSD.org>2006-07-15 16:50:35 +0800
commit91808bd2ce9421ebd9136c3677335b4eba80fb97 (patch)
tree386555ffc56b18d78e26970248a977c854e8c784 /www/p5-WWW-Search-MSN
parent77b2e8299ce71d716886dc8f2b0981cc83692de6 (diff)
downloadfreebsd-ports-gnome-91808bd2ce9421ebd9136c3677335b4eba80fb97.tar.gz
freebsd-ports-gnome-91808bd2ce9421ebd9136c3677335b4eba80fb97.tar.zst
freebsd-ports-gnome-91808bd2ce9421ebd9136c3677335b4eba80fb97.zip
Add p5-WWW-Search-MSN 0.0102, backend for searching search.msn.com.
PR: ports/100246 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'www/p5-WWW-Search-MSN')
-rw-r--r--www/p5-WWW-Search-MSN/Makefile40
-rw-r--r--www/p5-WWW-Search-MSN/distinfo3
-rw-r--r--www/p5-WWW-Search-MSN/pkg-descr4
-rw-r--r--www/p5-WWW-Search-MSN/pkg-plist8
4 files changed, 55 insertions, 0 deletions
diff --git a/www/p5-WWW-Search-MSN/Makefile b/www/p5-WWW-Search-MSN/Makefile
new file mode 100644
index 000000000000..140a366773e7
--- /dev/null
+++ b/www/p5-WWW-Search-MSN/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: p5-WWW-Search-MSN
+# Date created: 2006-07-14
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= WWW-Search-MSN
+PORTVERSION= 0.0102
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= WWW
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Backend for searching search.msn.com
+
+BUILD_DEPENDS= ${SITE_PERL}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree \
+ ${SITE_PERL}/WWW/Search.pm:${PORTSDIR}/www/p5-WWW-Search
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= WWW::Search::MSN.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600 # Inherited from www/p5-WWW-Search
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.if ${PERL_LEVEL} < 500701
+BUILD_DEPENDS+= ${SITE_PERL}/Encode.pm:${PORTSDIR}/converters/p5-Encode
+.endif
+
+.if ${PERL_LEVEL} < 500702
+BUILD_DEPENDS+= ${SITE_PERL}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-WWW-Search-MSN/distinfo b/www/p5-WWW-Search-MSN/distinfo
new file mode 100644
index 000000000000..da9903917af6
--- /dev/null
+++ b/www/p5-WWW-Search-MSN/distinfo
@@ -0,0 +1,3 @@
+MD5 (WWW-Search-MSN-0.0102.tar.gz) = 41b6bc99dbb40a16e19d1a57a9cac24c
+SHA256 (WWW-Search-MSN-0.0102.tar.gz) = d8ef76d5895740d3c9b4a537cc968e0f8f4bdfe7039ba1190e5de03f8d3c12fe
+SIZE (WWW-Search-MSN-0.0102.tar.gz) = 4279
diff --git a/www/p5-WWW-Search-MSN/pkg-descr b/www/p5-WWW-Search-MSN/pkg-descr
new file mode 100644
index 000000000000..1cecbe523b2b
--- /dev/null
+++ b/www/p5-WWW-Search-MSN/pkg-descr
@@ -0,0 +1,4 @@
+This module provides a backend of WWW::Search to search using
+http://search.msn.com/.
+
+WWW: http://search.cpan.org/dist/WWW-Search-MSN/
diff --git a/www/p5-WWW-Search-MSN/pkg-plist b/www/p5-WWW-Search-MSN/pkg-plist
new file mode 100644
index 000000000000..8d6a1e7b04e3
--- /dev/null
+++ b/www/p5-WWW-Search-MSN/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Search/MSN/.packlist
+%%SITE_PERL%%/WWW/Search/MSN.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Search/MSN
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Search
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW
+@dirrmtry %%SITE_PERL%%/WWW/Search
+@dirrmtry %%SITE_PERL%%/WWW