# Created by: Thierry Thomas (<thierry@FreeBSD.org>)
# $FreeBSD: tags/RELEASE_10_2_0/misc/pear-Services_Weather/Makefile 372709 2014-11-18 09:37:31Z bapt $

PORTNAME=	Services_Weather
PORTVERSION=	1.4.6
PORTEPOCH=	1
CATEGORIES=	misc www pear geography

MAINTAINER=	ports@FreeBSD.org
COMMENT=	PEAR interface to various online weather-services

RUN_DEPENDS=	${PEARDIR}/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request

USE_PHP=	ctype pcre

OPTIONS_DEFINE=	PEAR_NET_FTP PEAR_CACHE PEAR_DB PEAR_SOAP PEAR_XML_SERIALIZER
PEAR_NET_FTP_DESC=	PEAR::Net::FTP support
PEAR_CACHE_DESC=	PEAR::Cache support
PEAR_DB_DESC=	PEAR::DB support
PEAR_SOAP_DESC=	PEAR::SOAP support
PEAR_XML_SERIALIZER_DESC=	PEAR::XML::Serializer support

USES=	pear

PEAR_NET_FTP_BUILD_DEPENDS=	${PEARDIR}/Net/FTP.php:${PORTSDIR}/ftp/pear-Net_FTP
PEAR_CACHE_BUILD_DEPENDS=	${PEARDIR}/Cache.php:${PORTSDIR}/sysutils/pear-Cache
PEAR_DB_BUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
PEAR_SOAP_BUILD_DEPENDS=	${PEARDIR}/SOAP/Base.php:${PORTSDIR}/net/pear-SOAP
PEAR_XML_SERIALIZER_BUILD_DEPENDS=	${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer

.include <bsd.port.mk>
