aboutsummaryrefslogtreecommitdiffstats
path: root/www/horde-base/Makefile
blob: 5057e5782213130a8b98a896ae1bdc8ad4cab57a (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Ports collection makefile for:  horde-base
# Date created:           Sun Oct 07, 2001
# Whom:               Thierry Thomas (<thierry@thomas.as>)
#
# $FreeBSD$
#

PORTNAME=   horde
PORTVERSION=    5.0.4
CATEGORIES= www pear
PKGNAMEPREFIX=

MAINTAINER= horde@FreeBSD.org
COMMENT=    Horde Application Framework

RUN_DEPENDS=    ${PEARDIR}/Net/DNS2.php:${PORTSDIR}/dns/pear-Net_DNS2

OPTIONS_DEFAULT=    ICONV
OPTIONS_DEFINE= FACEBOOK ICONV TWITTER WEATHER

FACEBOOK_DESC=  Support connections to Facebook
ICONV_DESC= Depend on PHP iconv extension
TWITTER_DESC=   Support connections to Twitter
WEATHER_DESC=   Support weather forecast display

USE_PHP=    filter gettext hash

USE_HORDE_BUILD=    Horde_Role
USE_HORDE_RUN=  Horde_Role \
        Horde_Alarm \
        Horde_Argv \
        Horde_Auth \
        Horde_Autoloader \
        Horde_Browser \
        Horde_Core \
        Horde_Date \
        Horde_Exception \
        Horde_Form \
        Horde_Group \
        Horde_Http \
        Horde_Image \
        Horde_LoginTasks \
        Horde_Mail \
        Horde_Mime \
        Horde_Nls \
        Horde_Perms \
        Horde_Prefs \
        Horde_Rpc \
        Horde_Serialize \
        Horde_Support \
        Horde_Template \
        Horde_Text_Diff \
        Horde_Token \
        Horde_Text_Filter \
        Horde_Tree \
        Horde_Url \
        Horde_Util \
        Horde_View \
        Horde_Vfs

# Optional in package but we want them in
USE_HORDE_RUN+= Horde_Feed

.include <bsd.port.options.mk>

.if defined(WITH_FACEBOOK)
USE_HORDE_RUN+= Horde_Service_Facebook
.endif

.if !defined(WITHOUT_ICONV)
USE_PHP+=   iconv
.endif

.if defined(WITH_TWITTER)
USE_HORDE_RUN+= Horde_Service_Twitter
.endif

.if defined(WITH_WEATHER)
USE_HORDE_RUN+= Horde_Service_Weather
.endif

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