openbsd-ports/devel/horde/Makefile

56 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.20 2006/11/01 10:47:47 mbalmer Exp $
COMMENT= "modular framework for web-based applications"
DISTNAME= horde-3.1.3
CATEGORIES= devel www
HOMEPAGE= http://www.horde.org/
2005-03-09 02:07:15 -05:00
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2002-08-16 21:51:08 -04:00
MASTER_SITES= ${MASTER_SITE_HORDE:=horde/tarballs/}
NO_BUILD= Yes
NO_REGRESS= Yes
2004-02-03 02:20:42 -05:00
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 \
:php5-pear-*:www/php5/core,-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 \
2005-10-31 10:02:34 -05:00
: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 root:daemon ${PREFIX}/${DISTNAME}
2005-10-31 10:06:40 -05:00
@mv ${PREFIX}/${DISTNAME} ${INSTDIR}
.include <bsd.port.mk>