head	1.105;
access;
symbols
	RELEASE_8_3_0:1.100
	RELEASE_9_0_0:1.98
	old_RELEASE_7_4_0:1.87
	old_RELEASE_8_2_0:1.87
	old_RELEASE_6_EOL:1.87
	old_RELEASE_8_1_0:1.83
	old_RELEASE_7_3_0:1.79
	old_RELEASE_8_0_0:1.78
	old_RELEASE_7_2_0:1.74
	old_RELEASE_7_1_0:1.70
	old_RELEASE_6_4_0:1.70
	old_RELEASE_5_EOL:1.67
	old_RELEASE_7_0_0:1.60
	old_RELEASE_6_3_0:1.60
	old_PRE_XORG_7:1.53
	old_old_RELEASE_4_EOL:1.44
	old_old_RELEASE_6_2_0:1.44
	old_old_RELEASE_6_1_0:1.31
	old_old_RELEASE_5_5_0:1.31
	old_old_RELEASE_6_0_0:1.20
	old_old_RELEASE_5_4_0:1.18
	old_old_RELEASE_4_11_0:1.16
	old_old_RELEASE_5_0_0:1.12
	old_old_RELEASE_4_7_0:1.12
	old_old_RELEASE_4_6_2:1.11
	old_old_RELEASE_4_6_1:1.11
	old_old_RELEASE_4_6_0:1.11
	old_old_RELEASE_5_0_DP1:1.8
	old_old_RELEASE_4_5_0:1.6
	old_old_RELEASE_4_4_0:1.3;
locks; strict;
comment	@# @;


1.105
date	2012.12.18.07.26.06;	author svnexp;	state dead;
branches;
next	1.104;

1.104
date	2012.12.12.15.19.53;	author svnexp;	state Exp;
branches;
next	1.103;

1.103
date	2012.11.19.08.10.52;	author svnexp;	state Exp;
branches;
next	1.102;

1.102
date	2012.11.17.06.02.35;	author svnexp;	state Exp;
branches;
next	1.101;

1.101
date	2012.05.30.07.10.40;	author mm;	state Exp;
branches;
next	1.100;

1.100
date	2012.03.03.14.54.07;	author mm;	state Exp;
branches;
next	1.99;

1.99
date	2011.12.14.11.14.27;	author mm;	state Exp;
branches;
next	1.98;

1.98
date	2011.11.24.08.32.30;	author mm;	state Exp;
branches;
next	1.97;

1.97
date	2011.11.03.09.11.14;	author mm;	state Exp;
branches;
next	1.96;

1.96
date	2011.10.12.06.23.22;	author mm;	state Exp;
branches;
next	1.95;

1.95
date	2011.09.05.20.05.57;	author mm;	state Exp;
branches;
next	1.94;

1.94
date	2011.08.04.07.43.07;	author mm;	state Exp;
branches;
next	1.93;

1.93
date	2011.07.14.20.33.28;	author mm;	state Exp;
branches;
next	1.92;

1.92
date	2011.07.07.21.23.51;	author mm;	state Exp;
branches;
next	1.91;

1.91
date	2011.06.06.18.36.30;	author beech;	state Exp;
branches;
next	1.90;

1.90
date	2011.05.23.19.08.43;	author beech;	state Exp;
branches;
next	1.89;

1.89
date	2011.05.23.00.47.15;	author beech;	state Exp;
branches;
next	1.88;

1.88
date	2011.02.25.01.32.09;	author delphij;	state Exp;
branches;
next	1.87;

1.87
date	2010.11.28.04.01.16;	author beech;	state Exp;
branches;
next	1.86;

1.86
date	2010.11.03.09.58.43;	author beech;	state Exp;
branches;
next	1.85;

1.85
date	2010.11.01.17.07.30;	author thierry;	state Exp;
branches;
next	1.84;

1.84
date	2010.10.23.19.43.10;	author thierry;	state Exp;
branches;
next	1.83;

1.83
date	2010.05.31.02.01.25;	author ade;	state Exp;
branches;
next	1.82;

1.82
date	2010.05.09.06.56.01;	author miwi;	state Exp;
branches;
next	1.81;

1.81
date	2010.05.09.00.19.18;	author sylvio;	state Exp;
branches;
next	1.80;

1.80
date	2010.03.28.06.44.47;	author dinoex;	state Exp;
branches;
next	1.79;

1.79
date	2009.12.25.19.50.41;	author miwi;	state Exp;
branches;
next	1.78;

1.78
date	2009.09.22.16.40.51;	author thierry;	state Exp;
branches;
next	1.77;

1.77
date	2009.09.19.22.33.36;	author miwi;	state Exp;
branches;
next	1.76;

1.76
date	2009.08.29.22.00.50;	author miwi;	state Exp;
branches;
next	1.75;

1.75
date	2009.08.28.16.52.32;	author linimon;	state Exp;
branches;
next	1.74;

1.74
date	2009.01.27.22.56.49;	author beech;	state Exp;
branches;
next	1.73;

1.73
date	2009.01.05.19.04.37;	author delphij;	state Exp;
branches;
next	1.72;

1.72
date	2008.12.10.23.40.32;	author beech;	state Exp;
branches;
next	1.71;

1.71
date	2008.10.02.20.53.22;	author beech;	state Exp;
branches;
next	1.70;

1.70
date	2008.09.11.11.51.33;	author miwi;	state Exp;
branches;
next	1.69;

1.69
date	2008.06.29.04.13.31;	author beech;	state Exp;
branches;
next	1.68;

1.68
date	2008.06.06.14.06.56;	author edwin;	state Exp;
branches;
next	1.67;

1.67
date	2008.03.02.20.13.29;	author beech;	state Exp;
branches;
next	1.66;

1.66
date	2008.02.29.19.00.49;	author beech;	state Exp;
branches;
next	1.65;

1.65
date	2008.02.28.19.02.24;	author beech;	state Exp;
branches;
next	1.64;

1.64
date	2008.01.10.00.19.39;	author beech;	state Exp;
branches;
next	1.63;

1.63
date	2007.12.21.20.22.39;	author beech;	state Exp;
branches;
next	1.62;

1.62
date	2007.12.20.02.19.17;	author beech;	state Exp;
branches;
next	1.61;

1.61
date	2007.12.19.00.04.50;	author beech;	state Exp;
branches;
next	1.60;

1.60
date	2007.09.29.18.27.06;	author beech;	state Exp;
branches;
next	1.59;

1.59
date	2007.08.01.19.32.30;	author beech;	state Exp;
branches;
next	1.58;

1.58
date	2007.06.22.08.06.14;	author beech;	state Exp;
branches;
next	1.57;

1.57
date	2007.06.14.22.31.02;	author beech;	state Exp;
branches;
next	1.56;

1.56
date	2007.06.12.21.12.38;	author beech;	state Exp;
branches;
next	1.55;

1.55
date	2007.06.11.14.17.09;	author miwi;	state Exp;
branches;
next	1.54;

1.54
date	2007.05.19.20.24.59;	author flz;	state Exp;
branches;
next	1.53;

1.53
date	2007.04.10.07.27.14;	author sat;	state Exp;
branches;
next	1.52;

1.52
date	2007.04.08.23.42.25;	author sat;	state Exp;
branches;
next	1.51;

1.51
date	2007.04.06.11.34.39;	author sat;	state Exp;
branches;
next	1.50;

1.50
date	2007.03.14.23.03.59;	author sat;	state Exp;
branches;
next	1.49;

1.49
date	2007.03.06.06.54.19;	author linimon;	state Exp;
branches;
next	1.48;

1.48
date	2007.02.28.09.14.03;	author sat;	state Exp;
branches;
next	1.47;

1.47
date	2007.02.25.01.36.23;	author sat;	state Exp;
branches;
next	1.46;

1.46
date	2007.02.12.23.25.40;	author sat;	state Exp;
branches;
next	1.45;

1.45
date	2007.01.29.00.00.27;	author shaun;	state Exp;
branches;
next	1.44;

1.44
date	2006.08.17.23.49.05;	author shaun;	state Exp;
branches;
next	1.43;

1.43
date	2006.08.15.01.09.21;	author shaun;	state Exp;
branches;
next	1.42;

1.42
date	2006.07.24.21.19.42;	author shaun;	state Exp;
branches;
next	1.41;

1.41
date	2006.07.20.22.40.51;	author shaun;	state Exp;
branches;
next	1.40;

1.40
date	2006.06.21.01.30.32;	author shaun;	state Exp;
branches;
next	1.39;

1.39
date	2006.06.19.20.06.57;	author shaun;	state Exp;
branches;
next	1.38;

1.38
date	2006.06.06.14.02.43;	author itetcu;	state Exp;
branches;
next	1.37;

1.37
date	2006.05.12.01.59.55;	author itetcu;	state Exp;
branches;
next	1.36;

1.36
date	2006.04.15.16.27.05;	author scrappy;	state Exp;
branches;
next	1.35;

1.35
date	2006.04.15.16.18.18;	author scrappy;	state Exp;
branches;
next	1.34;

1.34
date	2006.04.10.05.39.51;	author thierry;	state Exp;
branches;
next	1.33;

1.33
date	2006.04.08.07.52.26;	author thierry;	state Exp;
branches;
next	1.32;

1.32
date	2006.03.28.18.15.22;	author thierry;	state Exp;
branches;
next	1.31;

1.31
date	2006.03.15.21.29.26;	author thierry;	state Exp;
branches;
next	1.30;

1.30
date	2006.03.15.20.14.59;	author thierry;	state Exp;
branches;
next	1.29;

1.29
date	2006.01.17.20.57.57;	author thierry;	state Exp;
branches;
next	1.28;

1.28
date	2006.01.06.00.38.10;	author thierry;	state Exp;
branches;
next	1.27;

1.27
date	2005.12.14.21.41.18;	author thierry;	state Exp;
branches;
next	1.26;

1.26
date	2005.12.12.18.22.50;	author thierry;	state Exp;
branches;
next	1.25;

1.25
date	2005.12.11.21.56.23;	author thierry;	state Exp;
branches;
next	1.24;

1.24
date	2005.11.22.19.59.15;	author thierry;	state Exp;
branches;
next	1.23;

1.23
date	2005.11.13.20.30.47;	author thierry;	state Exp;
branches;
next	1.22;

1.22
date	2005.10.28.21.59.07;	author thierry;	state Exp;
branches;
next	1.21;

1.21
date	2005.08.28.09.29.56;	author thierry;	state Exp;
branches;
next	1.20;

1.20
date	2005.04.20.19.31.25;	author thierry;	state Exp;
branches;
next	1.19;

1.19
date	2005.04.02.20.24.43;	author thierry;	state Exp;
branches;
next	1.18;

1.18
date	2005.02.11.22.01.43;	author thierry;	state Exp;
branches;
next	1.17;

1.17
date	2005.01.08.12.15.47;	author thierry;	state Exp;
branches;
next	1.16;

1.16
date	2005.01.05.10.22.20;	author thierry;	state Exp;
branches;
next	1.15;

1.15
date	2004.12.26.10.22.58;	author thierry;	state Exp;
branches;
next	1.14;

1.14
date	2003.02.25.18.15.51;	author leeym;	state dead;
branches;
next	1.13;

1.13
date	2003.02.21.14.01.17;	author knu;	state Exp;
branches;
next	1.12;

1.12
date	2002.07.07.18.34.06;	author ijliao;	state Exp;
branches;
next	1.11;

1.11
date	2002.05.20.09.50.08;	author sada;	state Exp;
branches;
next	1.10;

1.10
date	2002.05.16.06.40.01;	author sada;	state Exp;
branches;
next	1.9;

1.9
date	2002.05.15.10.32.18;	author sada;	state Exp;
branches;
next	1.8;

1.8
date	2002.04.01.13.50.19;	author ijliao;	state Exp;
branches;
next	1.7;

1.7
date	2002.01.29.12.08.27;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2002.01.20.22.32.44;	author lioux;	state Exp;
branches;
next	1.5;

1.5
date	2001.11.13.08.22.47;	author ijliao;	state Exp;
branches;
next	1.4;

1.4
date	2001.09.18.05.51.51;	author petef;	state Exp;
branches;
next	1.3;

1.3
date	2001.09.03.22.35.25;	author dwcjr;	state Exp;
branches;
next	1.2;

1.2
date	2001.08.19.16.47.30;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2001.08.18.04.17.52;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.105
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309148
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309148 | mm | 2012-12-18 07:21:12 +0000 (Tue, 18 Dec 2012) | 2 lines
## SVN ##
## SVN ## Rename horde4-* apps to horde-* (www part)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Ports collection makefile for:  horde3
# Date created:			  Sun Oct 07, 2001
# Whom:				  Thierry Thomas (<thierry@@thomas.as>)
#
# $FreeBSD: head/www/horde4-base/Makefile 308772 2012-12-12 15:16:56Z mm $
#

PORTNAME=	horde
PORTVERSION=	5.0.2
CATEGORIES=	www pear
PKGNAMEPREFIX=

MAINTAINER=	horde@@FreeBSD.org
COMMENT=	Horde Application Framework

CONFLICTS=	horde-3*

RUN_DEPENDS=	${PEARDIR}/Net/DNS2.php:${PORTSDIR}/dns/pear-Net_DNS2

OPTIONS_DEFAULT=	ICONV
OPTIONS_DEFINE=	FACEBOOK ICONV TWITTER WEATHER

FACEBOOK_DESC=	Support connections to Facebook
ICONV_DESC=	Depend on PHP iconv extension
TWITTER_DESC=	Support connections to Twitter
WEATHER_DESC=	Support weather forecast display

USE_PHP=	filter gettext hash

USE_HORDE_BUILD=	Horde_Role
USE_HORDE_RUN=	Horde_Role \
		Horde_Alarm \
		Horde_Argv \
		Horde_Auth \
		Horde_Autoloader \
		Horde_Browser \
		Horde_Core \
		Horde_Date \
		Horde_Exception \
		Horde_Form \
		Horde_Group \
		Horde_Http \
		Horde_Image \
		Horde_LoginTasks \
		Horde_Mail \
		Horde_Mime \
		Horde_Nls \
		Horde_Perms \
		Horde_Prefs \
		Horde_Rpc \
		Horde_Serialize \
		Horde_Support \
		Horde_Template \
		Horde_Text_Diff \
		Horde_Token \
		Horde_Text_Filter \
		Horde_Tree \
		Horde_Url \
		Horde_Util \
		Horde_View \
		Horde_Vfs

# Optional in package but we want them in
USE_HORDE_RUN+=	Horde_Feed

.include <bsd.port.options.mk>

.if defined(WITH_FACEBOOK)
USE_HORDE_RUN+=	Horde_Service_Facebook
.endif

.if !defined(WITHOUT_ICONV)
USE_PHP+=	iconv
.endif

.if defined(WITH_TWITTER)
USE_HORDE_RUN+=	Horde_Service_Twitter
.endif

.if defined(WITH_WEATHER)
USE_HORDE_RUN+=	Horde_Service_Weather
.endif

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
@


1.104
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308772
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308772 | mm | 2012-12-12 15:16:56 +0000 (Wed, 12 Dec 2012) | 2 lines
## SVN ##
## SVN ## Update horde4 packages and applications to horde5
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@@


1.103
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307554
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307554 | mm | 2012-11-19 08:02:01 +0000 (Mon, 19 Nov 2012) | 32 lines
## SVN ##
## SVN ## horde4 update:
## SVN ##
## SVN ## archivers/pear-Horde_Compress 1.0.7 -> 1.0.8
## SVN ## databases/pear-Horde_Db 1.2.1 -> 1.2.2
## SVN ## deskutils/horde4-groupware 4.0.8 -> 4.0.9
## SVN ## deskutils/horde4-kronolith 3.0.17 -> 3.0.18
## SVN ## deskutils/horde4-mnemo 3.0.6 -> 3.0.7
## SVN ## deskutils/horde4-nag 3.0.8 -> 3.0.9
## SVN ## devel/pear-Horde_Alarm 1.0.7 -> 1.0.8
## SVN ## devel/pear-Horde_Cache 1.0.5 -> 1.0.6
## SVN ## devel/pear-Horde_Core 1.9.2 -> 1.9.3
## SVN ## devel/pear-Horde_Date 1.0.11 -> 1.0.12
## SVN ## devel/pear-Horde_Nls 1.1.6 -> 1.1.7
## SVN ## mail/horde4-imp 5.0.23 -> 5.0.24
## SVN ## mail/horde4-ingo 2.0.9 -> 2.0.10
## SVN ## mail/horde4-turba 3.0.15 -> 3.0.16
## SVN ## mail/horde4-webmail 4.0.8 -> 4.0.9
## SVN ## mail/pear-Horde_Imap_Client 1.5.5 -> 1.5.11
## SVN ## mail/pear-Horde_Mime 1.6.1 -> 1.6.2
## SVN ## mail/pear-Horde_Mime_Viewer 1.0.8 -> 1.0.9
## SVN ## security/pear-Horde_Auth 1.4.9 -> 1.4.10
## SVN ## security/pear-Horde_Secret 1.0.2 -> 1.0.4
## SVN ## textproc/pear-Horde_Text_Filter 1.1.5 -> 1.1.6
## SVN ## www/horde4-ansel 2.0.1 -> 2.0.2
## SVN ## www/horde4-base 4.0.15 -> 4.0.16
## SVN ## www/horde4-wicked 1.0.1 -> 1.0.2
## SVN ## www/pear-Horde_Browser 1.0.8 -> 1.0.9
## SVN ## www/pear-Horde_Service_Weather 1.1.2 -> 1.1.3
## SVN ## www/pear-Horde_SessionHandler 1.0.5 -> 1.0.6
## SVN ##
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/www/horde4-base/Makefile 307554 2012-11-19 08:02:01Z mm $
d9 2
a10 1
PORTVERSION=	4.0.16
a11 1
CATEGORIES=	www pear
d20 7
a26 4
OPTIONS=	FACEBOOK "Support connections to Facebook" Off \
		ICONV "Depend on PHP iconv extension" On \
		TWITTER "Support connections to Twitter" Off \
		WEATHER "Support weather forecast display" Off
d45 1
d64 1
a64 2
USE_HORDE_RUN+=	Horde_DataTree \
		Horde_Feed
@


1.102
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/horde4-base/Makefile 300897 2012-07-14 14:29:18Z beat $
d9 1
a9 1
PORTVERSION=	4.0.15
@


1.101
log
@Update to 4.0.15
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.100
log
@Update to 4.0.14
@
text
@d9 1
a9 1
PORTVERSION=	4.0.14
@


1.99
log
@Update to 4.0.13
@
text
@d9 1
a9 1
PORTVERSION=	4.0.13
d78 1
a78 1
RUN_DEPENDS+=	${PEARDIR}/Services/Weather.php:${PORTSDIR}/misc/pear-Services_Weather
@


1.98
log
@Update to 4.0.12

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	4.0.12
@


1.97
log
@Update to 4.0.11
@
text
@d9 1
a9 1
PORTVERSION=	4.0.11
@


1.96
log
@Update to 4.0.10
@
text
@d9 1
a9 1
PORTVERSION=	4.0.10
@


1.95
log
@Update to 4.0.9
@
text
@d9 1
a9 1
PORTVERSION=	4.0.9
@


1.94
log
@Update to 4.0.8
@
text
@d9 1
a9 1
PORTVERSION=	4.0.8
@


1.93
log
@Set maintainer of Horde ports to horde@@FreeBSD.org

Approved by:	maintainer (beech@@ and mm@@)
@
text
@d9 1
a9 1
PORTVERSION=	4.0.7
@


1.92
log
@Move horde4-base to the new Horde 4 framework.

Approved by:	beech (maintainer, private chat)
@
text
@d13 1
a13 1
MAINTAINER=	mm@@FreeBSD.org
@


1.91
log
@- Mark broken - Rewrite in progress
@
text
@d9 1
a9 3
PORTVERSION=	4.0.2
DISTVERSIONPREFIX=
CATEGORIES=	www
d11 1
a11 1
PKGNAMESUFFIX=	4-base
d13 2
a14 2
MAINTAINER=	beech@@FreeBSD.org
COMMENT=	Common code-base used by Horde applications
d16 1
a16 126
#----------------------------------------------------------------------------
# You may define these options:
#
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree.
#
# - WITHOUT_MYSQL:	this port is built with MySQL by default
#			but you might choose any other database
#			supported by PHP (e.g. WITH_POSTGRESQL / WITH_SQLITE).
#
# - WITHOUT_IMAP:	this port uses IMAP as a default authentication
#			backend; use this knob if for
#			example you only need Chora.
#
# - WITHOUT_LDAP:	if you do not need OpenLDAP.
#
# - WITHOUT_FTP:	if you do not need the VFS FTP driver.
#
# - WITH_IMSP:		use IMSP as a preferences backend.
#
# - WITHOUT_FILEINFO:	use native code to perform MIME magic lookups.
#
# - WITHOUT_GD:		don't perform manipulations on image data with gd.
#
# - WITHOUT_ZLIB:	don't compress pages and don't handle zip or gz data.
#
# - WITH_MAGICK:	use ImageMagick to perform these image manipulations.
#
# - WITHOUT_ICONV:	remove support for UTF-8 character sets.
# - WITHOUT_MBSTRING:
#
# - WITHOUT_WV		if your users never receive MS-Word docs;
#
# - WITHOUT_XL		if your users never receive MS-Excel sheets
#			  (or .ppt presentations);
#
# - WITHOUT_GEOIP	don't activate MaxMind GeoIP Hostname to Country lookup.
#
# - WITHOUT_SW		don't use the weather.com block on the portal page.
#
# - WITHOUT_WEBCPP:	don't highlight sources with webcpp.
#
# - WITH_SRCHIGH:	highlight sources with source-highlight.
#
# - WITH_ENSCRIPT:	highlight sources with enscript.
#
# - WITH_RPM:		handle RPM packages.
#
# - WITH_DEB:		handle Debian packages.
#
# - WITH_SUPHP:		Install appropriately for use with the www/suphp port.
#
#----------------------------------------------------------------------------

LATEST_LINK=	horde4-base
RUN_DEPENDS+=	${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date			\
		${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log		\
		${PEARDIR}/Mail/RFC822.php:${PORTSDIR}/mail/pear-Mail		\
		${PEARDIR}/Mail/mime.php:${PORTSDIR}/mail/pear-Mail_Mime	\
		${PEARDIR}/Mail/mimeDecode.php:${PORTSDIR}/mail/pear-Mail_mimeDecode	\
		${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB			\
		${PEARDIR}/File.php:${PORTSDIR}/sysutils/pear-File		\
		${PEARDIR}/Net/SMTP.php:${PORTSDIR}/net/pear-Net_SMTP   \
		${PEARDIR}/MDB2/Schema/Validate.php:${PORTSDIR}/databases/pear-MDB2_Schema

CONFLICTS=	horde-3.*

BROKEN=		Rewrite in progress

USE_GETTEXT=	yes
USE_PHP=	ctype gettext session dom

EXTRACT_SUFX=	.tgz

.if defined(WITH_SUPHP) && !defined(WITHOUT_SUPHP)
RUN_DEPENDS+=	${LOCALBASE}/sbin/suphp:${PORTSDIR}/www/suphp
WANT_PHP_CGI=	yes
HORDEADMUSR?=	horde
SUB_LIST=	WITH_SUPHP=yes
.else
WANT_PHP_WEB=	yes
.endif

.if !defined(WITHOUT_FILEINFO)
USE_PHP+=	fileinfo
.endif
.if !defined(WITHOUT_FTP)
USE_PHP+=	ftp
.endif
.if !defined(WITHOUT_GD)
USE_PHP+=	gd
.endif
.if !defined(WITHOUT_ICONV)
USE_PHP+=	iconv
.endif
.if !defined(WITHOUT_IMAP)
USE_PHP+=	imap
.endif
.if !defined(WITHOUT_LDAP)
USE_PHP+=	ldap
.endif
.if !defined(WITHOUT_MBSTRING)
USE_PHP+=	mbstring
.endif
.if !defined(NOCRYPT)
USE_PHP+=	mcrypt
.endif
.if !defined(WITHOUT_SUPPORTED_DB)
. if !defined(WITHOUT_MYSQL)
USE_PHP+=	mysql
. endif
. if defined(WITH_POSTGRESQL) || defined(WITH_PGSQL)
USE_PHP+=	pgsql
. endif
. if defined(WITH_SQLITE)
USE_PHP+=	sqlite
. endif
.endif
.if !defined(WITHOUT_ZLIB)
USE_PHP+=	zlib
.endif
.if defined(WITH_MAGICK)
RUN_DEPENDS+=	convert:${PORTSDIR}/graphics/ImageMagick
.endif
.if defined(WITH_IMSP)
RUN_DEPENDS+=	imspd:${PORTSDIR}/databases/cyrus-imspd
.endif
d18 1
a18 8
.if !defined(WITHOUT_X11)
. if !defined(WITHOUT_WV)
RUN_DEPENDS+=	${LOCALBASE}/bin/wvHtml:${PORTSDIR}/textproc/wv
. endif
. if !defined(WITHOUT_XL)
RUN_DEPENDS+=	${LOCALBASE}/bin/xlhtml:${PORTSDIR}/textproc/xlhtml
. endif
.endif
d20 42
a61 3
.if !defined(WITHOUT_WEBCPP)
RUN_DEPENDS+=	webcpp:${PORTSDIR}/textproc/webcpp
.endif
d63 1
a63 6
.if exists(${LOCALBASE}/bin/source-highlight)
WITH_SRCHIGH=	yes
.endif
.if defined(WITH_SRCHIGH)
RUN_DEPENDS+=	source-highlight:${PORTSDIR}/textproc/source-highlight
.endif
d65 2
a66 11
.if exists(${LOCALBASE}/bin/enscript)
WITH_ENSCRIPT=	yes
.endif
.if defined(WITH_ENSCRIPT)
. if defined(A4)
RUN_DEPENDS+=	enscript:${PORTSDIR}/print/enscript-a4
. elif defined(DJ)
RUN_DEPENDS+=	enscript:${PORTSDIR}/print/enscript-letterdj
. else
RUN_DEPENDS+=	enscript:${PORTSDIR}/print/enscript-letter
. endif
d69 2
a70 5
.if exists(${LOCALBASE}/bin/rpm)
WITH_RPM=	yes
.endif
.if defined(WITH_RPM)
RUN_DEPENDS+=	rpm:${PORTSDIR}/archivers/rpm4
d73 2
a74 5
.if exists(${LOCALBASE}/bin/dpkg)
WITH_DEB=	yes
.endif
.if defined(WITH_DEB)
RUN_DEPENDS+=	dpkg:${PORTSDIR}/archivers/dpkg
d77 1
a77 1
.if !defined(WITHOUT_SW)
a80 7
.if !defined(WITHOUT_GEOIP)
RUN_DEPENDS+=	${LOCALBASE}/share/GeoIP/GeoIP.dat:${PORTSDIR}/net/GeoIP
.endif

PORTDOCS=	README CHANGES CODING_STANDARDS CONTRIBUTING CREDITS INSTALL \
		PERFORMANCE RELEASE_NOTES SECURITY TRANSLATIONS UPGRADING

d82 1
a82 26

pre-install:
.if !defined(WITHOUT_SUPPORTED_DB) && exists(${LOCALBASE}/bin/php)
	@@if ! php -m 2>&1 | ${GREP} -q -e "mysql" ; then \
	 if ! php -m 2>&1 | ${GREP} -q -e "pgsql" ; then \
	  if ! php -m 2>&1 | ${GREP} -q -e "sybase" ; then \
	   if ! php -m 2>&1 | ${GREP} -q -e "SQLite" ; then \
	    ${ECHO_MSG} "" ; \
	    ${ECHO_MSG} "Please configure PHP with a database support." ; \
	    ${ECHO_MSG} "MySQL, PostgreSQL, SQLite and Sybase (CTLIB or DBLIB)" ; \
	    ${ECHO_MSG} "can be used with PHP AND Horde." ; \
	    ${ECHO_MSG} "" ; \
	    ${ECHO_MSG} "(If everything will run on this machine, do not" ; \
	    ${ECHO_MSG} " forget to install the database server-side!)" ; \
	    ${ECHO_MSG} "" ; \
	    ${FALSE} ; \
	   fi ; \
	  fi ; \
	 fi ; \
	fi
.endif
.if defined(WITH_SUPHP)
	${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif

.include "${.CURDIR}/../../www/horde4-base/bsd.horde4.mk"
@


1.90
log
@-Framework for the new horde4 series. Update to 4.0.3 and hook into build.

-The Horde Application Framework is a flexible, modular, general-purpose web
-application framework written in PHP. It provides an extensive array of
-components that are targeted at the common problems and tasks involved in
-developing modern web applications. It is the basis for a large number of
-production-level web applications, notably the Horde Groupware suites. For more
-information on Horde or the Horde Groupware suites, visit http://www.horde.org.

Approved by:	itetcu (mentor)(implicit)
@
text
@d84 2
@


1.89
log
@-Force commit after repocopy

PR:		ports/157169
Approved by:	itetcu (mentor)(implicit)
@
text
@d9 1
a9 1
PORTVERSION=	3.3.11
a10 1
PORTREVISION=	1
d13 1
a13 1
PKGNAMESUFFIX=	-base
d71 1
d82 1
a82 1
CONFLICTS=	horde-2.*
d85 3
a87 1
USE_PHP=	ctype gettext session
d198 2
a199 2
PORTDOCS=	README CHANGES CODING_STANDARDS CONTRIBUTING CREDITS HACKING INSTALL \
		PERFORMANCE RELEASE_NOTES SECURITY TODO TRANSLATIONS UPGRADING
a202 41
.if ${OSVERSION} < 700000
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-lib_Horde_NLS.php
.endif

.if ${PHP_VER} >= 5
USE_PHP+=	dom
.else
USE_PHP+=	domxml
.endif

pre-patch:
.if !defined(WITHOUT_X11)
. if !defined(WITHOUT_WV)
	@@${REINPLACE_CMD} -e "s://UNCOMMENTIFWV::" ${WRKSRC}/config/mime_drivers.php.dist
. endif
. if !defined(WITHOUT_XL)
	@@${REINPLACE_CMD} -e "s://UNCOMMENTIFXL::" ${WRKSRC}/config/mime_drivers.php.dist
. endif
.endif
.if !defined(WITHOUT_WEBCPP)
	@@${REINPLACE_CMD} -e "s://UNCOMMENTIFWCPP::" ${WRKSRC}/config/mime_drivers.php.dist
.endif
.if defined(WITH_SRCHIGH)
	@@${REINPLACE_CMD} -e "s://UNCOMMENTIFSRCHIGH::" ${WRKSRC}/config/mime_drivers.php.dist
.endif
.if defined(WITH_ENSCRIPT)
	@@${REINPLACE_CMD} -e "s://UNCOMMENTIFES::" ${WRKSRC}/config/mime_drivers.php.dist
.endif
.if defined(WITH_RPM)
	@@${REINPLACE_CMD} -e "s://UNCOMMENTIFRPM::" ${WRKSRC}/config/mime_drivers.php.dist
.endif
.if defined(WITH_DEB)
	@@${REINPLACE_CMD} -e "s://UNCOMMENTIFDEB::" ${WRKSRC}/config/mime_drivers.php.dist
.endif
.if !defined(WITHOUT_GEOIP)
	@@${REINPLACE_CMD} -e "s:GeoIP lookup will not be performed.\"/>:GeoIP lookup will not be performed.\">${LOCALBASE}/share/GeoIP/GeoIP.dat</configstring>:" \
		${WRKSRC}/config/conf.xml
.endif
	@@${REINPLACE_CMD} -e "s:/usr/local/apache/htdocs:${PREFIX}/www:g"	\
		${WRKDIR}/docs/INSTALL

d227 1
a227 1
.include "${.CURDIR}/../../www/horde-base/bsd.horde.mk"
@


1.88
log
@Chase after net/openldap24-server update.

Reminded by:	miwi
@
text
@@


1.87
log
@Update to 3.3.11 (bugfix)

SECURITY: Fix XSS when viewing details of a vCard (Bug #9357).
Fix exporting recurrence exceptions to vCalendar 1.0.
Skip event status synchronization with Outlook, which is broken.
Don't send SIF data to recent Funambol clients, unless requested.
Log all queries and errors by the history library.
Remove MD5
@
text
@d11 1
@


1.86
log
@Maintainer change. Returned to beech@@
Approved by: itetcu@@ (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	3.3.10
@


1.85
log
@Upgrade Horde to 3.3.10.

The major changes compared to Horde version 3.3.9 are:
    * Fixed a few regression from the last release.
    * Improved interoperability with calendar clients.
    * Minor bug fixes and improvements.

The full list of changes (from version 3.3.9) can be viewed here:

http://cvs.horde.org/diff.php/horde/docs/CHANGES?rt=horde&r1=1.515.2.620&r2=1.515.2.633&ty=h
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.84
log
@Upgrade to 3.3.9.

Security:	VuXML ID: 8fc55043-cb1e-11df-9c1b-0011098ad87f
@
text
@d9 1
a9 1
PORTVERSION=	3.3.9
@


1.83
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d9 1
a9 2
PORTVERSION=	3.3.8
PORTREVISION=	1
@


1.82
log
@- Update to 3.3.8
@
text
@d10 1
@


1.81
log
@- Fix problem with new lang/php52 port.

PR:		ports/146300
Submitted by:	Daniel Bye <dan@@slightlystrange.org>
@
text
@d9 1
a9 1
PORTVERSION=	3.3.6
a10 1
PORTREVISION=	1
@


1.80
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d10 1
a11 1
DISTVERSIONPREFIX=
d205 1
a205 1
.if ${PHP_VER} == 5
@


1.79
log
@- Update to 3.3.6
@
text
@d10 1
@


1.78
log
@Fix Horde's vulnerabilities, and upgrade its dependencies.

As usual, don't miss to read ${DOCSDIR}/UPGRADING of each port - if
any.

Feature safe:	yes
Security:	VuXML ID: ee23aa09-a175-11de-96c0-0011098ad87f
@
text
@d9 1
a9 1
PORTVERSION=	3.3.5
@


1.77
log
@- Chase textproc/wv shlib bump

Noticed by:	kwm
Feature safe:	yes
@
text
@d9 1
a9 2
PORTVERSION=	3.3.4
PORTREVISION=	1
@


1.76
log
@- Update to 3.3.4
@
text
@d10 1
@


1.75
log
@Reset beech@@FreeBSD.org while he works on restoring his email situation.

Hat:		portmgr
@
text
@d9 1
a9 1
PORTVERSION=	3.3.3
@


1.74
log
@- Update to 3.3.3

- Avoid warnings in Perms::getPermissionId with PostgreSQL.
- Fix parsing of LABEL attributes in the vCard viewer.
@
text
@d15 1
a15 1
MAINTAINER=	beech@@FreeBSD.org
@


1.73
log
@Bump PORTREVISION's after OpenLDAP update.

Suggested by:	rafan
@
text
@d9 1
a9 1
PORTVERSION=	3.3.2
a10 1
PORTREVISION=	1
d78 1
a78 1
		${PEARDIR}/Net/SMTP.php:${PORTSDIR}/net/pear-Net_SMTP	\
@


1.72
log
@- Update to 3.3.2 (Final)
@
text
@d11 1
@


1.71
log
@- Update to 3.3
@
text
@d9 1
a9 1
PORTVERSION=	3.3
@


1.70
log
@- Update to 3.2.2

Approved by:	portmgr (pav), beech (maintainer)
Security:	http://www.vuxml.org/freebsd/7d239578-7ff2-11dd-8de5-0030843d3802.html
@
text
@d9 1
a9 1
PORTVERSION=	3.2.2
d78 2
a79 1
		${PEARDIR}/Net/SMTP.php:${PORTSDIR}/net/pear-Net_SMTP
@


1.69
log
@- Update to 3.2.1 (release)
@
text
@d9 1
a9 1
PORTVERSION=	3.2.1
@


1.68
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a10 3
DISTVERSION=	3.2
DISTVERSIONSUFFIX=	-rc2
PORTREVISION=	3
@


1.67
log
@- Fix pkg-plist
- Bump portrevision

Reported by:	pointyhat via pav
@
text
@d12 1
a12 1
PORTREVISION=	2
@


1.66
log
@- Fix NLS.php patch
- Bump portrevision
@
text
@d12 1
a12 1
PORTREVISION=	1
@


1.65
log
@- Update to 3.2-rc2
- Many changes, see the following for details:
  http://www.horde.org/horde/docs/?f=CHANGES.html
@
text
@d12 1
@


1.64
log
@- Update to 3.1.6

-Changes:
 * Fixed privilege escalation in the Horde API.
 * Improved XSS filtering.
 * Fixed locked portal blocks.
 * Further improved webroot detection.
 * Updated Japanese translation.

Approved by:	linimon (mentor)
@
text
@d10 2
a11 1
DISTVERSION=	3.1.6
a35 2
# - WITH_MCAL:		for mcal authentication back-end (deprecated).
#
a207 3
. if defined(WITH_MCAL)
USE_PHP+=	mcal
. endif
a237 2
	@@${REINPLACE_CMD} -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:g"	\
		${WRKSRC}/lib/Horde/Auth/mcal.php
@


1.63
log
@- Make NLS patch conditional.
- "isspace" bug is fixed in 7.x up.
- Bump portrevision.

Approved by:	linimon (mentor)
@
text
@d10 1
a10 2
DISTVERSION=	3.1.5
PORTREVISION=	3
@


1.62
log
@- Fix patch-lib_Horde_NLS.php
- Bump portrevision

Approved by:	linimon (mentor)
@
text
@d11 1
a11 1
PORTREVISION=	2
d202 4
@


1.61
log
@- Fix bug "isspace broken for UTF-8 locales."
  Causes Japanese characters to display improperly.

PR:		ports/116363
Submitted by:	Hiromi Kimura <hiromi@@tac.tsukuba.ac.jp>
Approved by:	linimon (mentor)
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.60
log
@- Update to 3.1.5

Major changes compared to Horde 3.1.4 are:
	Improved webroot detection.
	Fixed language selection in login screen.
	Updated Czech, Estonian, German, Polish, Spanish, and Simplified
	Chinese translations.
	Small bug fixes and improvements

Approved by:	sat (mentor)
@
text
@d11 1
@


1.59
log
@- Add dependency
- Bump portrevision

PR:		ports/115114
Submitted by:	Dan Lukes <dan@@obluda.cz>
Approved by:	sat (mentor)
@
text
@d10 1
a10 2
DISTVERSION=	3.1.4
PORTREVISION=	4
@


1.58
log
@- Ports renamed for consistency

PR:		ports/112327
Repocopy by:	marcus
Approved by:	sat (maintainer)
@
text
@d11 1
a11 1
PORTREVISION=	3
d17 1
a17 1
COMMENT=	Common code-base used by Horde applications, written in PHP
d78 1
d85 1
a85 1
USE_GETTEXT=	yes	# Already implied by USE_PHP =gettext, to pet portlint
@


1.57
log
@- Update maintainer address.
@
text
@d13 1
@


1.56
log
@- Revert change from last commit

Approved by:	sat (mentor)
@
text
@d15 1
a15 1
MAINTAINER=	beech@@alaskaparadise.com
@


1.55
log
@- Fix depends after pear-log update
- Bump PORTREVISION
@
text
@d74 1
a74 1
		${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log		\
@


1.54
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d11 1
a11 1
PORTREVISION=	2
d74 1
a74 1
		${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log		\
@


1.53
log
@- Pet portlint a bit
- Add horbas to default sub_list

Approved by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer, implicit)
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.52
log
@- Introduce bsd.horde.mk
- Convert most horde ports
- Tested vigorously, but hastily

Prodded by:	pointyhats via kris
Approved by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
@
text
@d9 1
a10 1
DISTVERSIONPREFIX=
@


1.51
log
@- Remove dependency on apache
- Fix plist
- Fix package
- Minor tweaks
- Bump portrevision

Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
@
text
@d10 1
a12 1
MASTER_SITES=	HORDE
d16 1
a16 1
COMMENT=	A common code-base used by Horde applications, written in PHP
a82 1
NO_BUILD=	yes
a84 4
SUB_FILES=	pkg-message pkg-deinstall pkg-install
PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
PKGINSTALL=	${WRKDIR}/pkg-install
PKGMESSAGE=	${WRKDIR}/pkg-message
a194 1
REINPLACE_ARGS=	-i.beforeHorde
a196 21
CONFFILE=	conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php
SUB_DIRS=	admin config js lib locale po scripts services templates themes util

LHORDEDIR?=	www/horde
LHORDESBIN?=	sbin

PLIST_SUB=	HORDEDIR=${LHORDEDIR} HORDESBIN=${LHORDESBIN}
SUB_LIST+=	HORDEDIR=${HORDEDIR} HORDESBIN=${HORDESBIN}	\
		HORDEADMUSR=${HORDEADMUSR} HORDEGRP=${WWWGRP}

HORDEDIR=	${PREFIX}/${LHORDEDIR}
HORDESBIN=	${PREFIX}/${LHORDESBIN}
CONFDIR=	${HORDEDIR}/config

PEARDIR?=	${LOCALBASE}/share/pear
LOG_FILE?=	/var/log/horde.log

PATCHES2RM=	po/translation.php config/conf.xml scripts/sql/README	\
		config/mime_drivers.php.dist config/registry.php.dist
SEDIN2RM=	lib/Horde/Auth/mcal.php config/conf.xml docs/INSTALL	\
		config/mime_drivers.php.dist
d209 1
a209 7
post-extract:
	@@${MV} ${WRKSRC}/README ${WRKSRC}/docs/

pre-configure:
	@@${RM} ${PATCHES2RM:S|^|${WRKSRC}/|:S|$|.orig|}
		@@${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:"\
		 ${WRKSRC}/config/mime_drivers.php.dist
a236 1
	@@${REINPLACE_CMD} -e "s:/tmp/horde.log:${LOG_FILE}:" ${WRKSRC}/config/conf.xml
d240 1
a240 6
		${WRKSRC}/docs/INSTALL
	@@${RM} ${SEDIN2RM:S|^|${WRKSRC}/|:S|$|.beforeHorde|}
	@@(cd ${WRKSRC}/scripts &&	\
		${FIND} . -name "*.php" -exec	\
		${REINPLACE_CMD} -e "s:/usr/local/bin/php: ${LOCALBASE}/bin/php:;s:/usr/bin/php: ${LOCALBASE}/bin/php:" {} \; && \
		${FIND} . -name "*.beforeHorde" -delete)
d266 1
a266 37
#	Copy RCSID tag from conf.xml into conf.php to stop Horde complaining
	@@if ! ${GREP} -q -e "$$Horde.*conf\.xml" ${WRKSRC}/config/conf.php.dist; then \
	  ${GREP} -h "$$Horde.*conf\.xml" ${WRKSRC} ${WRKSRC}/config/conf.xml \
	    | ${SED} -e 's#^ *<!--#//#' -e 's# *--> *$$##g' \
	    >> ${WRKSRC}/config/conf.php.dist; \
	fi

do-install:
	@@${MKDIR}  ${HORDEDIR}
	@@${CP} -Rp ${SUB_DIRS:S|^|${WRKSRC}/|} ${HORDEDIR}/
	@@${CP} -p  ${WRKSRC}/*.php ${HORDEDIR}
	@@${CP} ${WRKSRC}/scripts/set_perms.sh ${HORDESBIN}/horde_set_perms.sh
	@@${CHMOD} u+x ${HORDESBIN}/horde_set_perms.sh
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${HORDEDIR}/
	@@${CHMOD} -R o-rwx ${HORDEDIR}/
	${ECHO_CMD} @@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP}\
		%D/${HORDEDIR:S|^${PREFIX}/||}/ >> ${TMPPLIST}
	${ECHO_CMD} @@exec ${CHMOD} -R o-rwx\
		%D/${HORDEDIR:S|^${PREFIX}/||}/ >> ${TMPPLIST}
	${TOUCH} ${LOG_FILE}
	${CHOWN} ${WWWOWN}:${WWWGRP} ${LOG_FILE}
	${ECHO_CMD} "@@exec ${TOUCH} ${LOG_FILE};${CHOWN} ${WWWOWN}:${WWWGRP} ${LOG_FILE}"\
		>> ${TMPPLIST}
	${ECHO_CMD} "@@unexec if [ ! -s ${LOG_FILE} ];then ${RM} -f ${LOG_FILE};fi"\
		>> ${TMPPLIST}
.if !defined(NOPORTDOCS)
	@@${INSTALL} -d ${DOCSDIR}/
	@@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR}/
	@@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

post-install:
	@@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
	@@${ECHO_MSG}
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO_MSG}

@


1.50
log
@- Update to 3.1.4

PR:		ports/110304
Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
Security:	http://lists.horde.org/archives/announce/2007/000315.html
@
text
@d10 1
a83 1
USE_APACHE=	1.3+
d209 3
a211 4
PLIST_SUB=	HORDEDIR=${LHORDEDIR} HORDESBIN=${LHORDESBIN}	\
		HORDE_INC=${LHORDE_INC}
SUB_LIST+=	HORDEDIR=${HORDEDIR} APACHE_CONF=${APACHE_CONF}	\
		HORDESBIN=${HORDESBIN} HORDEADMUSR=${HORDEADMUSR} HORDEGRP=${WWWGRP}
a216 1
APACHE_CONF=	${APACHE_CNFDIR}/httpd.conf
a235 12
.if ${APACHE_VERSION} >= 20
APACHE_CNFDIR=	${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}
HORDE_INC=	${APACHE_CNFDIR}/Includes
LHORDE_INC=	${HORDE_INC:S|^${LOCALBASE}/||}
PLIST_SUB+=	RMDIRINC="@@comment "
.else
APACHE_CNFDIR=	${LOCALBASE}/etc/apache
HORDE_INC=	${PREFIX}/etc/horde
LHORDE_INC=	${HORDE_INC:S|^${PREFIX}/||}
PLIST_SUB+=	RMDIRINC=""
.endif

d241 2
a242 12
	@@${SED} -e "s:/home/httpd/html/horde:${HORDEDIR}:"				\
		-e "s:php_value auto_prepend_file:# php_value auto_prepend_file:"	\
		-e "s:/home/httpd/phplib:${PEARDIR}:"					\
		${FILESDIR}/httpd.conf.horde > ${WRKDIR}/httpd-horde.conf
.if ${PHP_VER} == 5
	@@${REINPLACE_CMD} -e "s:mod_php4.c:mod_php5.c:" ${WRKDIR}/httpd-horde.conf
.endif
.if ${APACHE_VERSION} >= 22
	@@${REINPLACE_CMD} -e "s:IfModule mod_\([^ ]*\)\.c:IfModule \1_module:" \
	                  ${WRKDIR}/httpd-horde.conf
.endif
	@@${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" ${WRKSRC}/config/mime_drivers.php.dist
d314 1
a314 3
.for REP in ${SUB_DIRS}
	@@${CP} -Rp ${WRKSRC}/${REP} ${HORDEDIR}
.endfor
a315 1

d318 12
a329 18
.if ${APACHE_VERSION} >= 20
	${INSTALL_DATA} ${WRKDIR}/httpd-horde.conf ${HORDE_INC}
.else
	@@${MKDIR} ${HORDE_INC}
	@@${INSTALL_DATA} ${WRKDIR}/httpd-horde.conf ${HORDE_INC}
. if !defined(PACKAGE_BUILDING)
	@@(if [ -f ${APACHE_CONF} ] ; then \
		${ECHO_MSG} "===> Updating ${APACHE_CONF}..." ; \
		${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeHorde ; \
		${ECHO_CMD} "# Horde's include directory" >> ${APACHE_CONF} ; \
		${ECHO_CMD} "Include ${HORDE_INC}" >> ${APACHE_CONF} ; \
	fi)
. endif
.endif
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${HORDEDIR}
	@@${CHMOD} -R o-rwx ${CONFDIR}
	@@${TOUCH} ${LOG_FILE}
	@@${CHOWN} ${WWWOWN}:${WWWGRP} ${LOG_FILE}
@


1.49
log
@Use the new facility of bsd.port.mk to be able to simplify the interaction
of USE_PHP and OPTIONS.

PR:		ports/106557
Submitted by:	ale
Hat:		portmgr
@
text
@d9 1
a9 1
DISTVERSION=	3.1.4-rc1
@


1.48
log
@- Update to 3.1.4-rc1

Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
@
text
@a237 2
.include "${PORTSDIR}/Mk/bsd.php.mk"

@


1.47
log
@- Complete repomove of www/horde to www/horde-base

Repocopy by:	marcus
PR:		ports/109425, ports/109198
Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> (maintainer)
@
text
@d8 2
a9 2
PORTNAME=	base
PORTVERSION=	3.1.3
d12 1
a12 2
PKGNAMEPREFIX=	horde-
DISTNAME=	${PKGNAMEPREFIX}${PORTVERSION}
d201 2
a202 4
DOCS=		COPYING README docs/CHANGES docs/CODING_STANDARDS \
		docs/CONTRIBUTING docs/CREDITS docs/HACKING docs/INSTALL \
		docs/PERFORMANCE docs/RELEASE_NOTES docs/SECURITY docs/TODO \
		docs/TRANSLATIONS docs/UPGRADING
d252 3
d366 2
a367 4
	@@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
@


1.46
log
@- Use horde mirrors from bsd.sites.mk

Approved by:	Beech Rintoul <freebsd@@alaskaparadise.com> (maintainer)
@
text
@d1 1
a1 1
# Ports collection makefile for:  horde2
d8 1
a8 1
PORTNAME=	horde
d12 2
@


1.45
log
@- Update nag to 2.1.2. [1]
- Update mnemo to 2.1.1. [2]
- Hand over maintainership of all the Horde ports to Beech Rintoul.

PR:		ports/108380 [1], ports/108384 [2]
Submitted by:	Beech Rintoul <beech@@alaskaparadise.com> [1] [2]
@
text
@d11 1
a11 9
MASTER_SITES=	ftp://ftp.horde.org/pub/horde/				\
		ftp://ftp.planetmirror.com/pub/horde/horde/		\
		ftp://ftp.au.horde.org/pub/horde/horde/			\
		ftp://ftp.be.horde.org/horde/				\
		ftp://ftp.es.horde.org/pub/horde/			\
		ftp://ftp.it.horde.org/pub/mirror/horde.org/horde/	\
		ftp://ftp.nl.horde.org/mirror/horde-ftp/pub/horde/	\
		ftp://ftp.uk.horde.org/mirrors/ftp.horde.org/pub/horde/	\
		http://ftp.horde.org/pub/horde/
@


1.44
log
@Upgrade to 3.1.3.

ChangeLog:
http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.515.2.252&r2=1.515.2.261&ty=h

Security:	VuXML e2e8d374-2e40-11db-b683-0008743bf21a
@
text
@d21 1
a21 1
MAINTAINER=	shaun@@FreeBSD.org
@


1.43
log
@Fix install: 'php -m' was changed to send output to stderr, which broke
our pre-install check.

PR:		ports/102033
Submitted by:	Chris Wasser <flatline@@majestik12.ca>
@
text
@d9 1
a9 1
PORTVERSION=	3.1.2
@


1.42
log
@Remove traces of (the now removed) horde-php5 port.
@
text
@d315 4
a318 4
	@@if ! php -m | ${GREP} -q -e "mysql" ; then \
	 if ! php -m | ${GREP} -q -e "pgsql" ; then \
	  if ! php -m | ${GREP} -q -e "sybase" ; then \
	   if ! php -m | ${GREP} -q -e "SQLite" ; then \
@


1.41
log
@Upgrade to 3.1.2

ChangeLog:
http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.515.2.231&r2=1.515.2.252&ty=h

Approved by:	ahze (mentor, implicit)
@
text
@a19 3
.if defined(WITH_PHP5)
PKGNAMESUFFIX=	-php5
.endif
a26 2
# - WITH_PHP5: 		if you run PHP5 (you could use www/horde-php5).
#
@


1.40
log
@- Temporary workaround for Horde security issue:
  http://www.vuxml.org/freebsd/09429f7c-fd6e-11da-b1cd-0050bf27ba24.html

- Use ${PHP_VER} to select PHP dependency, since the default is now PHP 5.

Approved by:	ahze (mentor)
@
text
@d9 1
a9 2
PORTVERSION=	3.1.1
PORTREVISION=	2
d19 1
a19 3
		http://ftp.horde.org/pub/horde/				\
		http://cvs.horde.org/co.php?r=1.146\&p=1\&f=horde/:patch1	\
		http://cvs.horde.org/co.php?r=2.26\&p=1\&f=horde/templates/problem/:patch2
a22 2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} test.php:patch1 problem.inc:patch2
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
a266 3
	@@${CP} -p ${DISTDIR}/test.php ${WRKSRC}
	@@${CP} -p ${DISTDIR}/problem.inc ${WRKSRC}/templates/problem/

@


1.39
log
@Switch to my @@FreeBSD.org address.

Approved by:	ahze (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
d20 3
a22 1
		http://ftp.horde.org/pub/horde/
d26 2
d241 8
a248 1
.if defined(WITH_PHP5)
d257 1
a257 6
PATCHES2RM=	po/translation.php config/conf.xml scripts/sql/README	\
		config/mime_drivers.php.dist config/registry.php.dist
SEDIN2RM=	lib/Horde/Auth/mcal.php config/conf.xml docs/INSTALL	\
		config/mime_drivers.php.dist

.include <bsd.port.pre.mk>
d272 3
d327 1
a327 1
.if !defined(WITHOUT_SUPPORTED_DB)
d350 1
a350 1
	# Copy RCSID tag from conf.xml into conf.php to stop Horde complaining
@


1.38
log
@Dick Hoogendijk pointed out that apache's config file format changed in
2.2.tweak the config file we install to work as intended on apache 2.2.

PR:		ports/97995
Submitted by:	maintainer
Approved by:	lawrance (mentor, implicit)
@
text
@d25 1
a25 1
MAINTAINER=	shaun@@inerd.com
@


1.37
log
@Horde requires that one of its configuration files (conf.php) contain
an RCS tag from another file (conf.xml) - but it doesn't appear to be
there by default. So we copy it over if there isn't already one in the
file, prior to install.

Also some plist changes that fix warnings in dependent ports.

PR:		ports/96080
Submitted by:	Shaun Amott <shaun@@inerd.com>
Reviewed by:	tmclaugh (mentor), itetcu (me)
Approved by:	lawrance (metor)
@
text
@d274 4
@


1.36
log
@make sure I update the PORTREVISION
@
text
@d337 7
@


1.35
log
@After a recent discussion on freebsd-ports, I have modified the Horde
ports, so that they now do not overwrite existing configuration files.
Rather than backing up the old ones and allowing the user to merge the
files by hand, config files are left untouched.

PR:
Submitted by:   Shaun Amott <shaun@@inerd.com>
@
text
@d10 1
@


1.34
log
@Adopt the Horde ports.

PR:		95561
Submitted by:	Shaun Amott <shaun (at) inerd.com>
@
text
@d140 1
a140 1
. if defined(WITH_POSTGRESQL)
d342 1
a342 5
.for FILE in ${CONFFILE}
	@@if [ ! -f ${CONFDIR}/${FILE} ]; then \
	  ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \
	fi
.endfor
d372 1
a372 1
	${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@


1.33
log
@Release maintainership.
@
text
@d24 1
a24 1
MAINTAINER=	ports@@FreeBSD.org
@


1.32
log
@Security update to 3.1.1.

Announce and changelog at
<http://lists.horde.org/archives/announce/2006/000271.html>.

Security:	VuXML 2db97aa6-be81-11da-9b82-0050bf27ba24
@
text
@d24 1
a24 1
MAINTAINER=	thierry@@FreeBSD.org
@


1.31
log
@Forced commit to note that this was also a security update.

Security:	VuXML c7c09579-b466-11da-82d0-0050bf27ba24
@
text
@d9 1
a9 1
PORTVERSION=	3.1
@


1.30
log
@Upgrade to 3.1.

Changelog at
<http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.515.2.167.2.16&r2=1.515.2.222&ty=h>
@
text
@@


1.29
log
@Replace WANT_PHP_MOD by WANT_PHP_WEB.

PR:		91897
Submitted by:	Gustavo Picn <gpicon (at) aureal.com.pe>
@
text
@d9 1
a9 1
PORTVERSION=	3.0.9
d46 1
a46 1
# - WITH_MCAL:		if you plan to install Kronolith with mcal (deprecated).
d96 1
a97 1
USE_REINPLACE=	yes
d217 1
a217 1
CONFFILE=	conf.php mime_drivers.php motd.php nls.php prefs.php registry.php
d307 4
@


1.28
log
@- Replace WITH_APACHE2 by USE_APACHE, rename httpd.conf.xxx to
  httpd-xxx.conf and fix configuration if APACHE_VERSION > 20.

- Don't use the MCAL back-end by default for Kronolith, it is
  deprecated.

- Deinstall bug reported by John Nielsen <john (at) jnielsen.net>:
  respect LHORDEDIR.

- Fix horde-passwd installation / deinstallation.

- Don't bump PORTREVISION, because running installations are not
  concerned.
@
text
@d109 1
a109 1
WANT_PHP_MOD=	yes
@


1.27
log
@Upgrade to 3.0.9.

This version fixes a showstopper bug in Horde_Form select fields (Bug
#3123) introduced in 3.0.8.
@
text
@a29 2
# - WITH_APACHE2:	if you run Apache2.
#
d46 1
a46 1
# - WITHOUT_MCAL:	if you don't plan to install Kronolith.
d95 1
d223 4
a226 3
PLIST_SUB=	HORDEDIR=${LHORDEDIR} HORDESBIN=${LHORDESBIN}
SUB_LIST+=	HORDEDIR=${HORDEDIR} APACHE_CONF=${APACHE_CONF} HORDESBIN=${HORDESBIN}	\
		HORDEADMUSR=${HORDEADMUSR} HORDEGRP=${WWWGRP}
a233 6
.if defined(WITH_APACHE2)
APACHE_CNFDIR=	${LOCALBASE}/etc/apache2
.else
APACHE_CNFDIR=	${LOCALBASE}/etc/apache
.endif
HORDE_INC=	${PREFIX}/etc/horde
d240 1
a240 1
. if !defined(WITHOUT_MCAL)
d250 13
a262 1
.include <bsd.port.pre.mk>	# Required to test PHP_VER
d269 1
a269 1
		${FILESDIR}/httpd.conf.horde > ${WRKDIR}/httpd.conf.horde
d271 1
a271 1
	@@${REINPLACE_CMD} -e "s:mod_php4.c:mod_php5.c:" ${WRKDIR}/httpd.conf.horde
d345 3
d349 2
a350 1
	@@${INSTALL_DATA} ${WRKDIR}/httpd.conf.horde ${HORDE_INC}
d353 1
d357 2
@


1.26
log
@The distfile has been renamed.

No change excepted:

diff -urN horde-h3-3.0.8/lib/version.php horde-3.0.8/lib/version.php
--- horde-h3-3.0.8/lib/version.php      Sun Dec 11 20:25:55 2005
+++ horde-3.0.8/lib/version.php Sun Dec 11 20:47:56 2005
@@@@ -1 +1 @@@@
-<?php define('HORDE_VERSION', 'H3 (3.0.8)') ?>
+<?php define('HORDE_VERSION', '3.0.8') ?>
@
text
@d9 1
a9 1
PORTVERSION=	3.0.8
@


1.25
log
@Security upgrade to 3.0.8.

Full changelog at
<http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.515.2.167.2.7&r2=1.515.2.167.2.14&ty=h>

Security:	VuXML 01356ccc-6a87-11da-b96e-000fb586ba73
@
text
@a22 1
DISTNAME=	${PORTNAME}-h3-${PORTVERSION}
@


1.24
log
@Upgrade to 3.0.7: fix cross site scripting vulnerabilities.

Changelog available at
<http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.515.2.167.2.4&r2=1.515.2.167.2.7&ty=h>.

Security:	VuXML 873a6542-5b8d-11da-b96e-000fb586ba73
@
text
@d9 1
a9 1
PORTVERSION=	3.0.7
d23 1
@


1.23
log
@Fix a reinstallation problem.

Note: don't bump PORTREVISION, won't take effect before the next
reinstallation.

PR:		88621
Submitted by:	Heinrich Rebehn <rebehn (at) ant.uni-bremen.de>
@
text
@d9 1
a9 1
PORTVERSION=	3.0.6
@


1.22
log
@Upgrade to 3.0.6.

Changelog at
<http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.515.2.154&r2=1.515.2.167.2.4&ty=h>
@
text
@d99 1
a99 1
SUB_FILES=	pkg-message pkg-deinstall
d101 1
d108 1
a108 2
PKGINSTALL=	${WRKDIR}/pkg-install
SUB_FILES+=	pkg-install
d225 1
a225 1
SUB_LIST=	HORDEDIR=${HORDEDIR} APACHE_CONF=${APACHE_CONF} HORDESBIN=${HORDESBIN}	\
a358 1
.if defined(WITH_SUPHP)
a359 1
.endif
@


1.21
log
@- Upgrade to 3.0.5;

- Add support for suphp (requested and tested by Maxim Maximov
  <mcsi (at) mcsi.pp.ru>).
@
text
@d9 1
a9 1
PORTVERSION=	3.0.5
@


1.20
log
@Chase pear-Mail_Mime upgrade (PR ports/79433):
the dependency on pear-Mail has been removed, but it is required by Horde.

Reported by:	Juergen Unger <j.unger (at) addict.de>
@
text
@d9 1
a9 2
PORTVERSION=	3.0.4
PORTREVISION=	1
d38 1
a38 1
#			supported by PHP (e.g. WITH_POSTGRESQL).
d82 2
a97 1
WANT_PHP_MOD=	yes
d99 2
a100 1
SUB_FILES=	pkg-message
d103 10
d144 3
d225 2
a226 1
SUB_LIST=	HORDEDIR=${HORDEDIR} APACHE_CONF=${APACHE_CONF} HORDESBIN=${HORDESBIN}
d251 5
d259 1
a259 4
	@@${RM} ${WRKSRC}/po/translation.php.orig	\
		${WRKSRC}/config/conf.xml.orig		\
		${WRKSRC}/scripts/sql/README.orig	\
		${WRKSRC}/config/mime_drivers.php.dist.orig
d300 1
a300 4
	@@${RM} ${WRKSRC}/lib/Horde/Auth/mcal.php.beforeHorde	\
		${WRKSRC}/config/conf.xml.beforeHorde		\
		${WRKSRC}/config/mime_drivers.php.dist.beforeHorde	\
		${WRKSRC}/docs/INSTALL.beforeHorde
d307 1
d310 1
a310 1
	    ${ECHO_MSG} "MySQL, PostgreSQL and Sybase (CTLIB or DBLIB)" ; \
d317 1
d322 3
d359 3
@


1.19
log
@Upgrade to v3.0.4.

Changelog at
<http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.515.2.49&r2=1.515.2.93&ty=h>.
@
text
@d10 1
d87 1
@


1.18
log
@Upgrade to Horde 3.0.3.

Changelog at
<http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.515.2.20&r2=1.515.2.49&ty=h>
@
text
@d9 1
a9 1
PORTVERSION=	3.0.3
d97 1
d200 2
a201 2
		docs/PERFORMANCE docs/RELEASE docs/RELEASE_NOTES docs/SECURITY \
		docs/TODO docs/TRANSLATIONS docs/UPGRADING
d209 1
a337 3
	@@${SED} -e "s:%%HORDEDIR%%:${HORDEDIR}:g;s:%%APACHE_CONF%%:${APACHE_CONF}:g"	\
		-e "s:%%HORDESBIN%%:${HORDESBIN}:;s:%%DOCSDIR%%:${DOCSDIR}:"		\
		${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@


1.17
log
@Upgrade to 3.0.2.
@
text
@d9 1
a9 1
PORTVERSION=	3.0.2
@


1.16
log
@Upgrade to 3.0.1.

Major new changes in this release:
	* Closed two XSS vulnerabilities.
	* Fixed folder views in IMP on some IMAP servers.
	* Fixed doubled application menus.
	* Fixed deletion of identities.
	* Worked around problems if no DataTree driver had been specified.
	* Minor bug and layout fixes.

Approved by:	portmgr (krion).
@
text
@d9 1
a9 1
PORTVERSION=	3.0.1
@


1.15
log
@Upgrade to 3.0.

Horde Version 3 differs from the 2.x releases in many ways, including
the following:
	* Full support for groups and arbitrary permissions.
	* Completely rewritten, fully RFC-compliant MIME system with many
	  new MIME viewers.
	* Many i18n improvements, including full charset support for the whole
	  framework.
	* User customizable portal page.
	* Theme support.
	* Global personal categories and category colors.
	* Access (shortcut) keys.
	* Dynamically updating tree menu for applications, including Mozilla
	  sidebar support.
	* XML-based application configuration through a graphical user interface.
	* Forms creation and validation API.
	* Template engine.
	* Crypt API with support for PGP/GPG and S/MIME.
	* XML-RPC and SOAP server and client, experimental SyncML support.
	* Improved notification system.
	* Many new APIs like Compress, Image, PDF, History, iCalendar, SyncML,
	  CLI, Version control, NLS, Timer, and SVG.
	* and many more...

This is a resurrection of the previous www/horde, upgraded from www/horde2.

PR:		ports/75434
Submitted by:	/me
@
text
@d9 1
a9 1
PORTVERSION=	3.0
@


1.14
log
@www/horde is a framework, but it is only used by mail/imp, which was removed
for security reason; the other Horde's ports use www/horde2.

Requested by:	Thierry Thomas <thierry@@pompo.net> (MAINTAINER)
@
text
@d1 2
a2 2
# Ports collection makefile for:  horde
# Date created:			  Sat Jul 07, 2001
a3 1
# N.B.: parts of this ports come from the Horde's port by NetBSD (jlam@@netbsd.org)
d5 1
a5 1
# $FreeBSD: ports/www/horde/Makefile,v 1.13 2003/02/21 14:01:17 knu Exp $
d9 1
a9 1
PORTVERSION=	1.2.8
d11 12
a22 1
MASTER_SITES=	ftp://ftp.horde.org/pub/horde/tarballs/
d24 2
a25 2
MAINTAINER=	thierry@@pompo.net
COMMENT=	A common code-base used by Horde applications, written in PHP3
d27 1
a27 1
#-----------------------------------------------------------------------
d30 45
a74 1
# - WITHOUT_SSL		: if you do not need Apache with mod_ssl;
d76 1
a76 1
# - WITH_PHP3		: if you do not need PHP4.
d78 95
a172 1
#-----------------------------------------------------------------------
d174 12
a185 2
.if !defined(WITHOUT_SSL)
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libssl.so:${PORTSDIR}/www/apache13-modssl
d187 3
a189 4
.if defined(WITH_PHP3)
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
.else
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
d192 3
a194 2
NO_BUILD=	yes
USE_REINPLACE=	yes
d197 6
a202 2
DOCS=		COPYING README docs/CHANGES docs/CREDITS docs/DATABASE \
		docs/HELP docs/INSTALL docs/SECURITY
a204 1
LPHPLIBDIR?=	www/horde/phplib
d207 1
a207 1
PLIST_SUB=	HORDEDIR=${LHORDEDIR} PHPLIBDIR=${LPHPLIBDIR} HORDESBIN=${LHORDESBIN}
a209 1
PHPLIBDIR=	${PREFIX}/${LPHPLIBDIR}
d211 1
a212 2
APACHE_CNFDIR?=	${LOCALBASE}/etc/apache
PHP_DIR?=	${LOCALBASE}/etc
d214 8
a221 1
MIMETYPES=	${APACHE_CNFDIR}/mime.types
d223 2
a224 2
.if defined(WITH_PHP3)
PHP_INI=	${PHP_DIR}/php3.ini
d226 4
a229 1
PHP_INI=	${PHP_DIR}/php.ini
d232 41
a272 16
pre-everything::
.if !defined(WITHOUT_SSL)
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "Press CTRL-C and define WITHOUT_SSL"
	@@${ECHO_MSG} " if you do not want to use Apache with SSL."
	@@${ECHO_MSG} ""
.endif
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "If you plan to install IMP, it is better to configure"
	@@${ECHO_MSG} "PHP with IMAP, OpenLDAP, OpenSSL,"
	@@${ECHO_MSG} "and a database (like MySQL or PostgreSQL), and pspell."
	@@${ECHO_MSG} ""
.if !defined(WITH_PHP3)
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "Press CTRL-C and define WITH_PHP3 if you want to use horde with PHP3."
	@@${ECHO_MSG} ""
d274 9
d285 17
a301 6
	@@if [ -f ${HORDEDIR}/index.php ]; then \
		${ECHO_MSG} "" ; \
		${ECHO_MSG} "Please deinstall the port www/horde2." ; \
		${ECHO_MSG} "" ; \
		${FALSE} ; \
	 fi
d304 14
a317 43
	${MKDIR}  ${HORDEDIR}
	${MKDIR}  ${PHPLIBDIR}
	${CP} -Rp ${WRKSRC}/config ${WRKSRC}/graphics ${WRKSRC}/lib ${HORDEDIR}
	${CP} -Rp ${WRKSRC}/locale ${WRKSRC}/scripts ${WRKSRC}/templates ${HORDEDIR}
	${CP} -p  ${WRKSRC}/phplib/* ${PHPLIBDIR}
	${CP} -p  ${WRKSRC}/*.php3 ${HORDEDIR}
	${REINPLACE_CMD} -e "s:-d imp:-d ${HORDEDIR}/imp:g	; \
		s:config/horde:${HORDEDIR}/config/horde:g	; \
		s:imp/config:${HORDEDIR}/imp/config:g		; \
		s:chmod 444 :chmod 444 ${HORDEDIR}/:g" ${WRKSRC}/install.sh
	${CP} ${WRKSRC}/install.sh ${HORDESBIN}/horde_setup.sh
	${REINPLACE_CMD} -e "s:%%HORDEDIR%%:${HORDEDIR}:g" ${WRKSRC}/secure.sh
	${CP} ${WRKSRC}/secure.sh  ${HORDESBIN}/horde_secure.sh
	${CHMOD} u+x ${HORDESBIN}/horde_secure.sh
	${CHMOD} u+x ${HORDESBIN}/horde_setup.sh
	${REINPLACE_CMD} -e "s:go to the top level directory for your installation and run:run:g ; \
		s:sh ./install.sh:${HORDESBIN}/horde_setup.sh:g" ${HORDEDIR}/setup.php3
	@@${RM} ${HORDEDIR}/setup.php3.beforeHorde
	${REINPLACE_CMD} -e "s:sh ./install.sh:${HORDESBIN}/horde_setup.sh:g"	\
		${HORDEDIR}/templates/index/horde_notconfigured.inc
	@@${RM} ${HORDEDIR}/templates/index/horde_notconfigured.inc.beforeHorde
	${REINPLACE_CMD} -e "s:sh ./secure.sh:${HORDESBIN}/horde_secure.sh:g"	\
		${HORDEDIR}/templates/setup/imp/write_file.inc
	@@${RM} ${HORDEDIR}/templates/setup/imp/write_file.inc.beforeHorde
	${CP}     ${HORDEDIR}/config/horde.php3.dist ${HORDEDIR}/config/horde.php3
	${CHMOD}  444 ${HORDEDIR}/config/horde.php3
	${CHMOD}  444 ${HORDEDIR}/setup.php3
.if !defined(WITH_PHP3)
# Enabling execution of .php3, in case you only run php4
	@@(if [ -f ${MIMETYPES} ] ; then \
	    (if [ ! -f ${MIMETYPES}.beforeHorde ] ; then \
		${ECHO} "===> Updating mime.types..." ; \
		${CP} -p ${MIMETYPES} ${MIMETYPES}.beforeHorde ; \
		${ECHO_CMD} "" >> ${MIMETYPES} ; \
		${ECHO_CMD} "# Added by Horde to support php3" >> ${MIMETYPES} ; \
		(if ! ${GREP} -q x-httpd-php3 ${MIMETYPES} ; then \
		    ${ECHO_CMD} "application/x-httpd-php		phtml pht php php3" >> ${MIMETYPES} ; \
		    ${ECHO_CMD} "application/x-httpd-php3	php3.none" >> ${MIMETYPES} ; \
		fi) ; \
		${ECHO_CMD} "# End of Horde's additions." >> ${MIMETYPES} ; \
	    fi) ; \
	fi)
.endif
d319 3
a321 8
	    (if [ ! -f ${APACHE_CONF}.beforeHorde ] ; then \
		${ECHO} "===> Updating httpd.conf..." ; \
		${CP} -p ${MASTERDIR}/httpd.conf.phplib ${WRKDIR}/httpd.conf.phplib ; \
		${REINPLACE_CMD} -e "s:/home/httpd/html/horde:${HORDEDIR}:g ; \
			s:/home/httpd/phplib:${PHPLIBDIR}:g" ${WRKDIR}/httpd.conf.phplib ; \
		${CP} -p ${APACHE_CONF} ${APACHE_CONF}.beforeHorde ; \
		${GREP} -qw 'phplib' ${APACHE_CONF} || ${CAT} ${WRKDIR}/httpd.conf.phplib >> ${APACHE_CONF} ; \
	    fi) ; \
d323 4
a326 11
	@@if [ ! -f ${PHP_INI} ]; then \
		${ECHO_MSG} "===> Creating ${PHP_INI} for PHP" ; \
		${CP} ${PHP_INI}-dist ${PHP_INI} ; \
	fi
	@@if ! ${GREP} -q -e '^upload_tmp_dir' ${PHP_INI} ; then \
		${ECHO_MSG} "===> Configuring ${PHP_INI} for imp" ; \
		${REINPLACE_CMD} -e 's!;upload_tmp_dir =!upload_tmp_dir = /tmp!' \
			${PHP_INI} ; \
		${MV} ${PHP_INI}.beforeHorde ${PHP_INI}.beforeHorde1 ; \
	fi
	${CHOWN} -R www:www ${HORDEDIR}
d328 1
a328 1
	${MKDIR} ${DOCSDIR}
d330 1
a330 1
	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
d332 1
a332 1
	@@${ECHO} "Documentation installed in ${DOCSDIR}."
d336 6
a341 37
	@@${ECHO} "*****************************************************************"
	@@${ECHO} "Horde has been installed in ${HORDEDIR} with your blank"
	@@${ECHO} "configuration files."
	@@${ECHO} ""
	@@${ECHO} "If ${APACHE_CONF} has been updated,"
	@@${ECHO} "you have to restart Apache."
	@@${ECHO} ""
	@@${ECHO} "In order to end Horde's configuration, please read the"
	@@${ECHO} "file ${PHPLIBDIR}/README."
	@@${ECHO} "If you want Horde to access a database, you have to"
	@@${ECHO} "configure ${PHPLIBDIR}/local.inc"
	@@${ECHO} "and ${PHPLIBDIR}/prepend.php3"
	@@${ECHO} "and you'll have to run the appropriate scripts located in"
	@@${ECHO} "${HORDEDIR}/scripts/database"
	@@${ECHO} ""
	@@${ECHO} "Horde is setup by default to access MySQL."
	@@${ECHO} ""
	@@${ECHO} "It is recommended that you change the password of the 'hordemgr'"
	@@${ECHO} "user used to connect to the horde database.  For localhost"
	@@${ECHO} "security, the file ${PHPLIBDIR}/local.inc"
	@@${ECHO} "should be accessible only to the webserver process as it contains"
	@@${ECHO} "the horde database password."
	@@${ECHO} ""
	@@${ECHO} "When everything is OK, you should be able to access Horde from"
	@@${ECHO} "<URL:http://localhost/horde/>."
	@@${ECHO} "(If <URL:http://localhost/horde/> does not run, but"
	@@${ECHO} " <URL:http://localhost/horde/index.php3> is OK, then you have"
	@@${ECHO} " to define index.php3 as a DirectoryIndex in ${APACHE_CONF}.)"
	@@${ECHO} ""
	@@${ECHO} "The configuration utitility is located at"
	@@${ECHO} "<URL:http://localhost/horde/setup.php3>"
	@@${ECHO} "and there is a testing script at"
	@@${ECHO} "<URL:http://localhost/horde/test.php3>."
	@@${ECHO} ""
	@@${ECHO} "The scripts horde_setup.sh and horde_secure.sh have been installed"
	@@${ECHO} "in ${HORDESBIN}."
	@@${ECHO} "*****************************************************************"
d343 1
a343 1
.include <bsd.port.mk>
@


1.13
log
@De-pkg-comment.
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.12
log
@PERL -> REINPLACE_CMD

PR:		40289
Submitted by:	maintainer
@
text
@d15 1
@


1.11
log
@Cope with www/horde deinsall-time error message (this appears when you install mail/imp).

PR:		ports/38255
Submitted by:	maintainer
@
text
@d35 3
d95 7
a101 8
	${CP} -p  ${WRKSRC}/install.sh ${HORDESBIN}/horde_setup.sh
	${CP} -p  ${WRKSRC}/secure.sh  ${HORDESBIN}/horde_secure.sh
	${PERL} -pi -e "s:chmod 444 :chmod 444 ${HORDEDIR}/:g" ${HORDESBIN}/horde_secure.sh
	${PERL} -pi -e "s:chmod 000 :chmod 000 ${HORDEDIR}/:g" ${HORDESBIN}/horde_secure.sh
	${PERL} -pi -e "s:-d imp:-d ${HORDEDIR}/imp:g" ${HORDESBIN}/horde_setup.sh
	${PERL} -pi -e "s:config/horde:${HORDEDIR}/config/horde:g" ${HORDESBIN}/horde_setup.sh
	${PERL} -pi -e "s:imp/config:${HORDEDIR}/imp/config:g" ${HORDESBIN}/horde_setup.sh
	${PERL} -pi -e "s:chmod 444 :chmod 444 ${HORDEDIR}/:g" ${HORDESBIN}/horde_setup.sh
d104 4
a107 4
	${PERL} -pi -e "s:go to the top level directory for your installation and run:run:g"	\
		${HORDEDIR}/setup.php3
	${PERL} -pi -e "s:sh ./install.sh:${HORDESBIN}/horde_setup.sh:g" ${HORDEDIR}/setup.php3
	${PERL} -pi -e "s:sh ./install.sh:${HORDESBIN}/horde_setup.sh:g"	\
d109 2
a110 1
	${PERL} -pi -e "s:sh ./secure.sh:${HORDESBIN}/horde_secure.sh:g"	\
d112 1
d136 2
a137 2
		${PERL} -pi -e "s:/home/httpd/html/horde:${HORDEDIR}:g" ${WRKDIR}/httpd.conf.phplib ; \
		${PERL} -pi -e "s:/home/httpd/phplib:${PHPLIBDIR}:g" ${WRKDIR}/httpd.conf.phplib ; \
d148 3
a150 2
		${CP} -p ${PHP_INI} ${PHP_INI}.beforeHorde1 ; \
		${PERL} -pi -e 's!;upload_tmp_dir =!upload_tmp_dir = /tmp!' ${PHP_INI} ; \
@


1.10
log
@Upgrade to version 1.2.8, preventing some CSS atacks.
PR:	ports/36820
Submitted by:	maintainer
@
text
@d102 2
a103 1
	${PERL} -pi -e "s:go to the top level directory for your installation and run:run:g" ${HORDEDIR}/setup.php3
d105 4
a108 1
	${PERL} -pi -e "s:sh ./install.sh:${HORDESBIN}/horde_setup.sh:g" ${HORDEDIR}/templates/index/horde_notconfigured.inc
@


1.9
log
@Move www/horde-devel -> www/horde2 & mail/imp-devel -> mail/imp3
From PR's description:
  IMP 3.0 is the stable release of IMP,
  and Horde 2.0 the stable release of Horde.
Note:	mail/imp3 and deskutils/kronolith are marked as IS_INTERACTIVE
	since they need depending port mod_php4 with its mcrypt option
	enabled by hand.

PR:		ports/35051
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTVERSION=	1.2.7
@


1.8
log
@update php.ini to permit attachments

PR:		35046
Submitted by:	maintainer
@
text
@d80 1
a80 1
		${ECHO_MSG} "Please deinstall the port www/horde-devel." ; \
@


1.7
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
@
text
@d49 1
d53 6
d134 9
@


1.6
log
@Update maintainer address

PR:		34095
Submitted by:	MAINTAINER
@
text
@d107 2
a108 2
		${ECHO} "" >> ${MIMETYPES} ; \
		${ECHO} "# Added by Horde to support php3" >> ${MIMETYPES} ; \
d110 2
a111 2
		    ${ECHO} "application/x-httpd-php		phtml pht php php3" >> ${MIMETYPES} ; \
		    ${ECHO} "application/x-httpd-php3	php3.none" >> ${MIMETYPES} ; \
d113 1
a113 1
		${ECHO} "# End of Horde's additions." >> ${MIMETYPES} ; \
@


1.5
log
@upgrade to 1.2.7

PR:		31937
Submitted by:	maintainer
@
text
@d14 1
a14 1
MAINTAINER=	thierry@@thomas.as
@


1.4
log
@Attempt to fix bento build by manipulating httpd.conf.phplib in WRKDIR,
not the main port directory.

Noticed by:	bento
Approved by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/horde/Makefile,v 1.3 2001/09/03 22:35:25 dwcjr Exp $
d10 1
a10 2
PORTVERSION=	1.2.6
PORTREVISION=	1
d70 8
d93 2
d120 1
a120 1
		${CP} -p ${.CURDIR}/httpd.conf.phplib ${WRKDIR}/httpd.conf.phplib.orig ; \
a124 2
		${RM} ${.CURDIR}/httpd.conf.phplib ; \
		${MV} ${.CURDIR}/httpd.conf.phplib.orig ${.CURDIR}/httpd.conf.phplib ; \
d127 1
@


1.3
log
@Fix RUN_DEPENDS
Bump PORTREVISION

PR:		30296
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/horde/Makefile,v 1.2 2001/08/19 16:47:30 ijliao Exp $
d111 3
a113 3
		${CP} -p ${.CURDIR}/httpd.conf.phplib ${.CURDIR}/httpd.conf.phplib.orig ; \
		${PERL} -pi -e "s:/home/httpd/html/horde:${HORDEDIR}:g" ${.CURDIR}/httpd.conf.phplib ; \
		${PERL} -pi -e "s:/home/httpd/phplib:${PHPLIBDIR}:g" ${.CURDIR}/httpd.conf.phplib ; \
d115 1
a115 1
		${GREP} -qw 'phplib' ${APACHE_CONF} || ${CAT} ${.CURDIR}/httpd.conf.phplib >> ${APACHE_CONF} ; \
@


1.2
log
@fix pre-everything::

Submitted by:	"Dan Langille" <dan@@langille.org>
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/horde/Makefile,v 1.1 2001/08/18 04:17:52 ijliao Exp $
d11 1
d30 1
a30 1
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php3
d32 1
a32 1
RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php4
@


1.1
log
@add horde
A common code-base used by Horde applications, written in PHP

PR:		28872
Submitted by:	Thierry Thomas <thierry@@thomas.as>
@
text
@d6 1
a6 1
# $FreeBSD$
d52 1
a52 1
pre-everything:
@

