aboutsummaryrefslogtreecommitdiffstats
path: root/www/horde4-meta/Makefile
blob: 3bc413e453727398cd600b8d60f8841bbedf2a96 (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
# New ports collection makefile for:    horde
# Date created:         24 February 2007
# Whom:             Beech Rintoul <beech@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   meta
PORTVERSION=    1.0
PORTREVISION=   1
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=    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/horde-imp
.endif

.if defined(WITH_MIMP)
RUN_DEPENDS+=   ${LOCALBASE}/${LHORDEDIR}/mimp/index.php:${PORTSDIR}/mail/horde-mimp
.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

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

do-install:
    @${CAT} ${PKGMESSAGE}
    @${ECHO_MSG}

.include <bsd.port.post.mk>