mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add pear-Services_Weather 1.2.2, PEAR interface to various
online weather-services. It will be used by Horde-3, for Jonah. Approved by: pav (mentor).
This commit is contained in:
parent
2d9d696bc7
commit
27119b19bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106347
@ -314,6 +314,7 @@
|
||||
SUBDIR += pbs
|
||||
SUBDIR += pdfmap
|
||||
SUBDIR += pdmenu
|
||||
SUBDIR += pear-Services_Weather
|
||||
SUBDIR += peq
|
||||
SUBDIR += pg
|
||||
SUBDIR += phraze
|
||||
|
43
misc/pear-Services_Weather/Makefile
Normal file
43
misc/pear-Services_Weather/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# Ports collection makefile for: pear-Services_Weather
|
||||
# Date created: 04 April 2004
|
||||
# Whom: Thierry Thomas (<thierry@FreeBSD.org>)
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Services_Weather
|
||||
PORTVERSION= 1.2.2
|
||||
CATEGORIES= misc www pear
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= PEAR interface to various online weather-services
|
||||
|
||||
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
.if !defined (WITHOUT_CACHE)
|
||||
BUILD_DEPENDS+= ${PEARDIR}/Cache/Cache.php:${PORTSDIR}/sysutils/pear-Cache
|
||||
.endif
|
||||
.if !defined (WITHOUT_DB)
|
||||
BUILD_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
|
||||
.endif
|
||||
.if !defined (WITHOUT_HTTPR)
|
||||
BUILD_DEPENDS+= ${PEARDIR}/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request
|
||||
.endif
|
||||
.if !defined (WITHOUT_SERIALIZER)
|
||||
BUILD_DEPENDS+= ${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer
|
||||
.endif
|
||||
.if !defined (WITHOUT_SOAP)
|
||||
BUILD_DEPENDS+= ${PEARDIR}/SOAP/Base.php:${PORTSDIR}/net/pear-SOAP
|
||||
.endif
|
||||
|
||||
CATEGORY= Services
|
||||
FILES= Weather.php Weather/Common.php Weather/Globalweather.php \
|
||||
Weather/Ejse.php Weather/Metar.php Weather/Weatherdotcom.php \
|
||||
buildMetarDB.php
|
||||
EXAMPLES= globalweather-basic.php ejse-basic.php metar-basic.php \
|
||||
weather.com-basic.php
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
|
||||
.include <bsd.port.post.mk>
|
2
misc/pear-Services_Weather/distinfo
Normal file
2
misc/pear-Services_Weather/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (PEAR/Services_Weather-1.2.2.tgz) = e3e202d4bfddfb0fafcf97a4fde08c89
|
||||
SIZE (PEAR/Services_Weather-1.2.2.tgz) = 29205
|
8
misc/pear-Services_Weather/pkg-descr
Normal file
8
misc/pear-Services_Weather/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
Services_Weather searches for given locations and retrieves current
|
||||
weather data and, dependent on the used service, also forecasts. Up to
|
||||
now, GlobalWeather from CapeScience, Weather XML from EJSE (US only),
|
||||
a XOAP service from Weather.com and METAR from noaa.gov are supported.
|
||||
Further services will get included, if they become available, have a
|
||||
usable API and are properly documented.
|
||||
|
||||
WWW: http://pear.php.net/package/Services_Weather
|
Loading…
Reference in New Issue
Block a user