summaryrefslogtreecommitdiff
path: root/www/horde4-meta/Makefile
blob: a648ceec8c7647a6dc4cf990b66400d0a6604238 (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# New ports collection makefile for:	horde
# Date created:			24 February 2007
# Whom:				Beech Rintoul <beech@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	meta
PORTVERSION=	1.0
PORTREVISION=	6
CATEGORIES=	www
MASTER_SITES=	# Empty
DISTFILES=	# None

MAINTAINER=	beech@FreeBSD.org
COMMENT=	Meta port for the horde framework

NO_BUILD=	yes
LHORDEDIR?=	www/horde

OPTIONS=	ANSEL "Photo Gallery" off	\
		CHORA "CVS Web Viewer" off	\
		DIMP "Dynamic Imp" off	\
		GOLLEM "Web-Based File Manager" off	\
		HERMES "Time Tracking Application" off	\
		HPASSWD "Password Changing Module" off	\
		IMP "IMAP Webmail System" on	\
		INGO "Email-Filter Management" on	\
		JETA "Java SSH Applets" off	\
		KRONOLITH "Calendar Application" off \
		MIMP "Mobile Webmail System" off	\
		MNEMO "Notes and Memo Application" off	\
		NAG "Task List Manager" on	\
		NIC "Network Monitor" off	\
		TREAN "Bookmark Manager" off	\
		TURBA "Contact Management" on	\
		VACATION "Vacation & Auto Respond" off	\
		WHUPS "Bug Tracking/Ticket System" off

.include <bsd.port.pre.mk>

RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde-base

.if !defined(WITHOUT_IMP)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/imp/index.php:${PORTSDIR}/mail/horde-imp
.endif

.if defined(WITH_MIMP)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/mimp/index.php:${PORTSDIR}/mail/horde-mimp
.endif

.if defined(WITH_DIMP)
RUN_DEPENDS+=
${LOCALBASE}/${LHORDEDIR}/dimp/compose.php:${PORTSDIR}/mail/horde-dimp
.endif

.if !defined(WITHOUT_INGO)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/ingo/filters.php:${PORTSDIR}/mail/horde-ingo
.endif

.if !defined(WITHOUT_TURBA)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/turba/minisearch.php:${PORTSDIR}/mail/horde-turba
.endif

.if defined(WITH_KRONOLITH)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/kronolith/index.php:${PORTSDIR}/deskutils/horde-kronolith
.endif

.if defined(WITH_MNEMO)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/mnemo/index.php:${PORTSDIR}/deskutils/horde-mnemo
.endif

.if !defined(WITHOUT_NAG)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/nag/data.php:${PORTSDIR}/deskutils/horde-nag
.endif

.if defined(WITH_CHORA)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/chora/index.php:${PORTSDIR}/devel/horde-chora
.endif

.if defined(WITH_GOLLEM)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/gollem/index.php:${PORTSDIR}/ftp/horde-gollem
.endif

.if defined(WITH_JETA)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/jeta/index.php:${PORTSDIR}/security/horde-jeta
.endif

.if defined(WITH_HPASSWD)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/passwd/index.php:${PORTSDIR}/www/horde-passwd
.endif

.if defined(WITH_VACATION)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/vacation/main.php:${PORTSDIR}/mail/horde-vacation
.endif

.if defined(WITH_TREAN)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/trean/data.php:${PORTSDIR}/www/horde-trean
.endif

.if defined(WITH_NIC)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/nic/status.php:${PORTSDIR}/net-mgmt/horde-nic
.endif

.if defined(WITH_ANSEL)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/ansel/gallery.php:${PORTSDIR}/www/horde-ansel
.endif

.if defined(WITH_WHUPS)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/whups/index.php:${PORTSDIR}/devel/horde-whups
.endif

.if defined(WITH_HERMES)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/hermes/index.php:${PORTSDIR}/deskutils/horde-hermes
.endif

post-configure:
	@${CAT} ${FILESDIR}/post-configure-message

do-install:
	@${DO_NADA}

.include <bsd.port.post.mk>