openbsd-ports/devel/horde/Makefile
mbalmer d90eecc05b Maintenance update to Horde 3.1.6
This is a bugfix release that also improves XSS (cross site scripting)
filters, used for example in HTML message viewers, and fixes privilege
escalations in the Horde API. All users are encouraged to upgrade to this
version.

Major changes compared to Horde 3.1.5 are:
    * Fixed privilege escalation in the Horde API.
    * Improved XSS filtering.
    * Fixed locked portal blocks.
    * Further improved webroot detection.
    * Updated Japanese translation.

The full list of changes (from version 3.1.5) can be viewed here:
http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.515.2.306&r2=1.515.2.312.2.2&ty=h
2008-01-09 22:36:43 +00:00

56 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.28 2008/01/09 22:36:43 mbalmer Exp $
COMMENT= modular framework for web-based applications
DISTNAME= horde-3.1.6
CATEGORIES= devel www
HOMEPAGE= http://www.horde.org/
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_HORDE:=horde/tarballs/}
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
EXTRACT_ONLY=
PREFIX= /var/www
INSTDIR= ${PREFIX}/horde
SUBST_VARS= INSTDIR
RUN_DEPENDS+= :php5-core-*:www/php5/core \
:php5-mcrypt-*:www/php5/extensions,-mcrypt \
:pear-*:www/pear \
:php5-mbstring-*:www/php5/extensions,-mbstring \
:php5-gd-*:www/php5/extensions,-gd \
:pear-Log-*:devel/pear-Log \
:pear-Services-Weather-*:net/pear-Services-Weather \
:pear-DB-*:databases/pear-DB
FLAVORS= mysql ldap
FLAVOR?=
.if ${FLAVOR:L:Mmysql}
RUN_DEPENDS+= :php5-mysql-*:www/php5/extensions,-mysql
.else
RUN_DEPENDS+= :php5-pgsql-*:www/php5/extensions,-pgsql
.endif
.if ${FLAVOR:L:Mldap}
RUN_DEPENDS+= :php5-ldap-*:www/php5/extensions,-ldap
.endif
do-install:
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@chown -R ${BINOWN}:${BINGRP} ${PREFIX}/${DISTNAME}
@mv ${PREFIX}/${DISTNAME} ${INSTDIR}
.include <bsd.port.mk>