aboutsummaryrefslogtreecommitdiff
path: root/www/horde-meta/Makefile
blob: dde6d8863fb9724a3e96977b6b8d18cfccd78c16 (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
# New ports collection makefile for:	horde
# Date created:		24 February 2007
# Whom:			beech@alaskaparadise.com
#
# $FreeBSD$
#

PORTNAME=	meta
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	# Empty
PKGNAMEPREFIX=	horde-
DISTFILES=	# None

MAINTAINER=	beech@alaskaparadise.com
COMMENT=	Meta port for the horde framework

NO_BUILD=	yes
LHORDEDIR?=	www/horde

OPTIONS=	IMP "IMAP Webmail System" on	\
		MIMP "Mobile Webmail System" off	\
		INGO "Email-Filter Management" on	\
		TURBA "Contact Management" on	\
		KRONOLITH "Calendar Application" off \
		MNEMO "Notes and Memo Application" off	\
		NAG "Task List Manager" on	\
		CHORA "CVS Web Viewer" off	\
		GOLLEM "Web-Based File Manager" off	\
		JETA "Java SSH Applets" off	\
		HPASSWD "Password Changing Module" off	\
		VACATION "Vacation & Auto Respond" off	\
		TREAN "Bookmark Manager" off	\
		NIC "Network Monitor" off	\
		ANSEL "Photo Gallery" 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/imp
.endif

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

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

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

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

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

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

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

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

.if defined(WITH_JETA)
RUN_DEPENDS+=	${LOCALBASE}/${LHORDEDIR}/jeta/index.php:${PORTSDIR}/security/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

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

postinstall:

	@${CAT} ${PKGMESSAGE}
	@${ECHO_MSG}

do-install:

.include <bsd.port.post.mk>