aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pear-Services_Weather/Makefile
blob: 53012bc6594842fe02ff628e37119d4814accf00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Ports collection makefile for:  pear-Services_Weather
# Date created:           04 April 2004
# Whom:               Thierry Thomas (<thierry@FreeBSD.org>)
#
# $FreeBSD$
#

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

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

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

USE_PHP=    ctype pcre

LATEST_LINK=    pear-Services_Weather
OPTIONS=    PEAR_NET_FTP "PEAR::Net::FTP support" off \
        PEAR_CACHE "PEAR::Cache support" off \
        PEAR_DB "PEAR::DB support" off \
        PEAR_SOAP "PEAR::SOAP support" off \
        PEAR_XML_SERIALIZER "PEAR::XML::Serializer support" off

PEAR_AUTOINSTALL=   yes

.include <bsd.port.pre.mk>

.if defined(WITH_PEAR_NET_FTP)
BUILD_DEPENDS+= ${PEARDIR}/Net/FTP.php:${PORTSDIR}/ftp/pear-Net_FTP
.endif

.if defined(WITH_PEAR_CACHE)
BUILD_DEPENDS+= ${PEARDIR}/Cache.php:${PORTSDIR}/sysutils/pear-Cache
.endif

.if defined(WITH_PEAR_DB)
BUILD_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
.endif

.if defined(WITH_PEAR_SOAP)
BUILD_DEPENDS+= ${PEARDIR}/SOAP/Base.php:${PORTSDIR}/net/pear-SOAP
.endif

.if defined(WITH_PEAR_XML_SERIALIZER)
BUILD_DEPENDS+= ${PEARDIR}/XML/Serializer.php:${PORTSDIR}/devel/pear-XML_Serializer
.endif

.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>