mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
Add p5-Weather-Underground 3.02, retrieve weather information from
wunderground.com. PR: 97370 Submitted by: Simon Olofsson <simon@olofsson.de>
This commit is contained in:
parent
7b419d28a0
commit
9345a3bcf3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162628
@ -43,6 +43,7 @@
|
||||
SUBDIR += p5-Astro-Sunrise
|
||||
SUBDIR += p5-GPS
|
||||
SUBDIR += p5-Geo-METAR
|
||||
SUBDIR += p5-Weather-Underground
|
||||
SUBDIR += phoon
|
||||
SUBDIR += planets
|
||||
SUBDIR += pp3
|
||||
|
32
astro/p5-Weather-Underground/Makefile
Normal file
32
astro/p5-Weather-Underground/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# New ports collection makefile for: p5-Weather-Underground
|
||||
# Date created: 2006-05-16
|
||||
# Whom: Simon Olofsson <simon@olofsson.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Weather-Underground
|
||||
PORTVERSION= 3.02
|
||||
CATEGORIES= astro perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Weather
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= simon@olofsson.de
|
||||
COMMENT= Retrieve weather information from wunderground.com
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
|
||||
${SITE_PERL}/${PERL_ARCH}/HTML/TokeParser.pm:${PORTSDIR}/www/p5-HTML-Parser
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Weather::Underground.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500800
|
||||
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
astro/p5-Weather-Underground/distinfo
Normal file
3
astro/p5-Weather-Underground/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Weather-Underground-3.02.tar.gz) = e62f2b51de150352ba40fe0dfa7ddb58
|
||||
SHA256 (Weather-Underground-3.02.tar.gz) = 16fb1cb0b3eb4792452eac13fcafb84199e5f06bd861e653cb89e72506c1403a
|
||||
SIZE (Weather-Underground-3.02.tar.gz) = 9003
|
6
astro/p5-Weather-Underground/pkg-descr
Normal file
6
astro/p5-Weather-Underground/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Weather::Underground is a perl module which provides a simple OO interface to
|
||||
retrieving weather data for a geographic location. It does so by querying
|
||||
wunderground.com and parsing the returned results.
|
||||
|
||||
Author: Mina Naguib <mina.cpan@naguib.ca>
|
||||
WWW: http://search.cpan.org/dist/Weather-Underground/
|
5
astro/p5-Weather-Underground/pkg-plist
Normal file
5
astro/p5-Weather-Underground/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Weather/Underground/.packlist
|
||||
%%SITE_PERL%%/Weather/Underground.pm
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Weather/Underground
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Weather
|
||||
@dirrmtry %%SITE_PERL%%/Weather
|
Loading…
Reference in New Issue
Block a user