diff options
author | thierry <thierry@FreeBSD.org> | 2004-04-07 03:18:58 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-04-07 03:18:58 +0800 |
commit | 4669c36e4c9d989df4a39a497fa12945649fef9d (patch) | |
tree | 5fc2a7818c4aa65362d32c8938f5363daad9fd51 /misc/pear-Services_Weather | |
parent | c98c764a7521dc513fc4db1d4a65a6e0c260b841 (diff) | |
download | freebsd-ports-gnome-4669c36e4c9d989df4a39a497fa12945649fef9d.tar.gz freebsd-ports-gnome-4669c36e4c9d989df4a39a497fa12945649fef9d.tar.zst freebsd-ports-gnome-4669c36e4c9d989df4a39a497fa12945649fef9d.zip |
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).
Diffstat (limited to 'misc/pear-Services_Weather')
-rw-r--r-- | misc/pear-Services_Weather/Makefile | 43 | ||||
-rw-r--r-- | misc/pear-Services_Weather/distinfo | 2 | ||||
-rw-r--r-- | misc/pear-Services_Weather/pkg-descr | 8 |
3 files changed, 53 insertions, 0 deletions
diff --git a/misc/pear-Services_Weather/Makefile b/misc/pear-Services_Weather/Makefile new file mode 100644 index 000000000000..c8e529f94f11 --- /dev/null +++ b/misc/pear-Services_Weather/Makefile @@ -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> diff --git a/misc/pear-Services_Weather/distinfo b/misc/pear-Services_Weather/distinfo new file mode 100644 index 000000000000..5b81747ace59 --- /dev/null +++ b/misc/pear-Services_Weather/distinfo @@ -0,0 +1,2 @@ +MD5 (PEAR/Services_Weather-1.2.2.tgz) = e3e202d4bfddfb0fafcf97a4fde08c89 +SIZE (PEAR/Services_Weather-1.2.2.tgz) = 29205 diff --git a/misc/pear-Services_Weather/pkg-descr b/misc/pear-Services_Weather/pkg-descr new file mode 100644 index 000000000000..0a7b36a687ca --- /dev/null +++ b/misc/pear-Services_Weather/pkg-descr @@ -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 |