1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/mail/horde3-dimp/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

54 lines
1.2 KiB
Makefile

# Ports collection makefile for: dimp3
# Date created: Sat Sep 13, 2008
# Whom: Beech Rintoul <beech@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dimp
PORTVERSION= 1.1.8
PORTREVISION= 1
CATEGORIES= mail www
MAINTAINER= horde@FreeBSD.org
COMMENT= Dynamic webmail system
RUN_DEPENDS+= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL \
${HORBAS}/imp/index.php:${PORTSDIR}/mail/horde3-imp
USE_PHP= imap
. if !defined(WITHOUT_LDAP)
USE_PHP+= ldap
. endif
.if !defined(WITHOUT_SMIME)
USE_PHP+= openssl
.endif
.if !defined(NOCRYPT)
RUN_DEPENDS+= ${LOCALBASE}/bin/gpg:${PORTSDIR}/security/gnupg
.endif
USE_HORDE= base
USES= gettext
PORTDOCS= README CHANGES CREDITS INSTALL RELEASE_NOTES
pre-configure:
.if !defined(NOCRYPT)
@${REINPLACE_CMD} -e "s:%%GPG%%:${LOCALBASE}/bin/gpg:" \
${WRKSRC}/config/conf.xml
.else
@${REINPLACE_CMD} -e "s:%%GPG%%::" ${WRKSRC}/config/conf.xml
.endif
pre-install:
.if !defined(BATCH)
@if ! ${GREP} -q -e 'CCLIENT_SSLENABLED "yes"' ${PORTREV_H}; then \
${ECHO_MSG} "" ; \
${ECHO_MSG} "Please configure c-client with SSL support." ; \
${ECHO_MSG} "" ; \
${FALSE} ; \
fi
.endif
.include "${.CURDIR}/../../www/horde3-base/bsd.horde.mk"
.include <bsd.port.mk>