freebsd-ports/www/horde4-meta/Makefile
2008-02-28 23:07:56 +00:00

112 lines
3 KiB
Makefile

# New ports collection makefile for: horde
# Date created: 24 February 2007
# Whom: Beech Rintoul <beech@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= meta
PORTVERSION= 1.0
PORTREVISION= 2
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 \
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(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
post-configure:
@${CAT} ${FILESDIR}/post-configure-message
do-install:
@${DO_NADA}
.include <bsd.port.post.mk>