2008-10-30 05:41:07 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2008/10/30 09:41:07 mbalmer Exp $
|
2002-01-26 13:42:05 -05:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= modular framework for web-based applications
|
2002-01-26 13:42:05 -05:00
|
|
|
|
2008-10-30 05:41:07 -04:00
|
|
|
DISTNAME= horde-3.3
|
2002-01-26 13:42:05 -05:00
|
|
|
CATEGORIES= devel www
|
|
|
|
HOMEPAGE= http://www.horde.org/
|
|
|
|
|
2005-03-09 02:07:15 -05:00
|
|
|
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
|
2002-01-26 13:42:05 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-10-17 17:57:57 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_HORDE:=horde/}
|
2002-01-26 13:42:05 -05:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
2004-02-03 02:20:42 -05:00
|
|
|
PKG_ARCH= *
|
2002-01-26 13:42:05 -05:00
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
|
|
|
INSTDIR= ${PREFIX}/horde
|
|
|
|
SUBST_VARS= INSTDIR
|
|
|
|
|
2006-11-01 05:47:47 -05:00
|
|
|
RUN_DEPENDS+= :php5-core-*:www/php5/core \
|
|
|
|
:php5-mcrypt-*:www/php5/extensions,-mcrypt \
|
2007-03-22 18:48:03 -04:00
|
|
|
:pear-*:www/pear \
|
2006-11-01 05:47:47 -05:00
|
|
|
:php5-mbstring-*:www/php5/extensions,-mbstring \
|
|
|
|
:php5-gd-*:www/php5/extensions,-gd \
|
|
|
|
:pear-Log-*:devel/pear-Log \
|
|
|
|
:pear-Services-Weather-*:net/pear-Services-Weather \
|
2008-05-15 08:01:41 -04:00
|
|
|
:pear-DB-*:databases/pear-DB \
|
|
|
|
:pear-Mail-Mime-*:mail/pear-Mail-Mime
|
2005-11-01 06:34:15 -05:00
|
|
|
|
2006-11-01 05:47:47 -05:00
|
|
|
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
|
|
|
|
|
2002-01-26 13:42:05 -05:00
|
|
|
do-install:
|
|
|
|
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
|
2006-11-10 09:14:49 -05:00
|
|
|
@chown -R ${BINOWN}:${BINGRP} ${PREFIX}/${DISTNAME}
|
2005-10-31 10:06:40 -05:00
|
|
|
@mv ${PREFIX}/${DISTNAME} ${INSTDIR}
|
2002-01-26 13:42:05 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|