head	1.4;
access;
symbols
	caudium_1_2_35:1.1.2.7
	caudium_1_2_34:1.1.2.7
	caudium_1_4_3:1.3
	caudium_1_4_2:1.3
	caudium_1_5_1:1.3
	caudium_1_4_1:1.3
	stable_1_4:1.3.0.2
	caudium_1_3_33:1.3
	caudium_1_3_32:1.3
	caudium_1_3_31:1.3
	caudium_1_3_30:1.3
	caudium_1_3_29:1.3
	caudium_1_2_33:1.1.2.7
	caudium_1_2_32:1.1.2.7
	caudium_1_3_23:1.3
	caudium_1_3_22:1.3
	caudium_1_3_21:1.3
	caudium_1_3_20:1.3
	caudium_1_3_19:1.3
	caudium_1_3_18:1.3
	caudium_1_2_31:1.1.2.7
	caudium_1_2_30:1.1.2.7
	caudium_1_2_29:1.1.2.7
	caudium_1_2_28:1.1.2.7
	caudium_1_3_17:1.3
	caudium_1_3_16:1.3
	caudium_1_2_27:1.1.2.7
	caudium_1_2_26:1.1.2.7
	caudium_1_2_25:1.1.2.7
	caudium_1_2_24:1.1.2.7
	caudium_1_3_15:1.3
	caudium_1_3_14:1.3
	caudium_1_2_23:1.1.2.7
	caudium_1_2_22:1.1.2.7
	caudium_1_2_21:1.1.2.7
	caudium_1_2_20:1.1.2.7
	caudium_1_3_13:1.3
	caudium_1_3_12:1.3
	caudium_1_3_11:1.3
	caudium_1_3_10:1.3
	caudium_1_2_19:1.1.2.7
	caudium_1_2_18:1.1.2.7
	caudium_1_3_9:1.3
	caudium_1_3_8:1.3
	caudium_1_3_7:1.3
	caudium_1_3_6:1.3
	caudium_1_2_17:1.1.2.7
	caudium_1_2_16:1.1.2.7
	caudium_1_2_15:1.1.2.7
	caudium_1_2_14:1.1.2.7
	caudium_1_2_12:1.1.2.7
	caudium_1_2_10:1.1.2.7
	caudium_1_3_5:1.2
	caudium_1_3_4:1.2
	caudium_1_2_9:1.1.2.5
	caudium_1_2_8:1.1.2.5
	caudium_1_2_7:1.1.2.4
	caudium_1_2_6:1.1.2.4
	stable_1_2:1.1.0.2;
locks; strict;
comment	@# @;


1.4
date	2004.09.16.13.14.11;	author kiwi;	state dead;
branches;
next	1.3;

1.3
date	2002.10.15.00.00.30;	author kiwi;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2002.08.01.22.38.12;	author kiwi;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.07.17.55.18;	author kiwi;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2002.05.07.17.55.18;	author kiwi;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2002.05.07.18.12.05;	author kiwi;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2002.05.07.22.55.43;	author kiwi;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2002.05.13.12.24.12;	author kiwi;	state Exp;
branches;
next	1.1.2.5;

1.1.2.5
date	2002.05.27.16.14.05;	author kiwi;	state Exp;
branches;
next	1.1.2.6;

1.1.2.6
date	2002.07.22.17.00.42;	author kiwi;	state Exp;
branches;
next	1.1.2.7;

1.1.2.7
date	2002.07.27.13.41.48;	author kiwi;	state Exp;
branches;
next	;

1.3.2.1
date	2004.09.16.11.59.57;	author kiwi;	state dead;
branches;
next	;


desc
@@


1.4
log
@Same as in 1.4
@
text
@# New ports collection makefile for:	caudium_php4
# Date created:		Tue May  7 19:46:30 CEST 2002
# Whom:			Xavier Beaudouin <kiwi@@oav.net>
#
# $FreeBSD$
#

PORTNAME=	caudium_php4
PORTVERSION=	4.2.3
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://us.php.net/${PHP_DISTDIR}/ \
		http://php.he.net/${PHP_DISTDIR}/ \
		http://www.php3.de/${PHP_DISTDIR}/ \
		http://au.php.net/${PHP_DISTDIR}/ \
		http://at.php.net/${PHP_DISTDIR}/ \
		http://br.php.net/${PHP_DISTDIR}/ \
		http://php.easydns.com/${PHP_DISTDIR}/ \
		http://www.php.cz/${PHP_DISTDIR}/ \
		http://php3.globe.de/${PHP_DISTDIR}/
DISTNAME=	php-${PORTVERSION}

MAINTAINER=	kiwi@@oav.net

BUILD_DEPENDS=	${LOCALBASE}/bin/caudiumctl:${PORTSDIR}/www/caudium12
RUN_DEPENDS=	${LOCALBASE}/bin/caudiumctl:${PORTSDIR}/www/caudium12

PHP_DISTDIR=	distributions

USE_SUBMAKE=	yes
USE_AUTOCONF_VER=213

CONFIGURE_ARGS=	--with-config-file-path=${PREFIX}/etc/php.caudium \
		--disable-pear \
		--enable-discard-path \
		--with-caudium=/usr/local/caudium/server \
		--enable-track-vars \
		--enable-memory-limit \
		--enable-force-cgi-redirect \
		--with-pcre \
		--enable-session \
		--enable-xml \
		--enable-discard-path \
		--enable-posix \
		--enable-track-vars \
		--enable-force-cgi-redirect \
		--with-readline=/usr

CONFIGURE_ARGS+=--enable-versioning \
		--with-regex=system \
		--without-gd \
		--without-mysql

CFLAGS+=	-I${PREFIX}/include

SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
		TOUCH="${TOUCH}" \
		MKDIR="${MKDIR}" \
		CAT="${CAT}" \
		PHP4_OPTIONS="${PHP4_OPTIONS}" \
		REALCURDIR="${.CURDIR}"

INSTALL_TARGET=	install-sapi

pre-fetch:
	@@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
	@@${ECHO_CMD} ""

post-install:
	@@${MKDIR} ${PREFIX}/etc/php.caudium
	@@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc/php.caudium

post-clean:
	@@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc

.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif

.include <bsd.port.mk>
@


1.3
log
@Update to 4.2.3
@
text
@@


1.3.2.1
log
@Caudium php4 is no sense... for Caudium 1.4
@
text
@@


1.2
log
@Syncing with 1.2 cvs.
@
text
@d9 1
a9 1
PORTVERSION=	4.2.2
@


1.1
log
@file Makefile was initially added on branch stable_1_2.
@
text
@d1 80
@


1.1.2.1
log
@PHP4 4 caudium.. port.. not finished yet !!!
@
text
@a0 97
# New ports collection makefile for:	caudium_php4
# Date created:		Tue May  7 19:46:30 CEST 2002
# Whom:			Xavier Beaudouin <kiwi@@oav.net>
#
# $FreeBSD$
#

PORTNAME=	caudium_php4
PORTVERSION=	4.2.0
PORTREVISION=	0
CATEGORIES=	www
MASTER_SITES=	http://us.php.net/${PHP_DISTDIR}/ \
		http://php.he.net/${PHP_DISTDIR}/ \
		http://www.php3.de/${PHP_DISTDIR}/ \
		http://au.php.net/${PHP_DISTDIR}/ \
		http://at.php.net/${PHP_DISTDIR}/ \
		http://br.php.net/${PHP_DISTDIR}/ \
		http://php.easydns.com/${PHP_DISTDIR}/ \
		http://www.php.cz/${PHP_DISTDIR}/ \
		http://php3.globe.de/${PHP_DISTDIR}/
DISTNAME=	php-${PORTVERSION}

MAINTAINER=	kiwi@@oav.net

BUILD_DEPENDS=	${LOCALBASE}/bin/caudiumctl:${PORTSDIR}/www/caudium12
RUN_DEPENDS=	${LOCALBASE}/bin/caudiumctl:${PORTSDIR}/www/caudium12

PHP_DISTDIR=	distributions

USE_SUBMAKE=	yes
USE_AUTOCONF_VER=213

CONFIGURE_ARGS=	--with-config-file-path=${PREFIX}/etc/php.standalone \
		--disable-pear \
		--enable-discard-path \
		--with-readline=/usr

MAKE_ENV=	STANDALONE="${STANDALONE}"
.else
.if defined(WITH_APACHE2)
CONFIGURE_ARGS=	--with-apxs2=${PREFIX}/sbin/apxs \
		--with-tsrm-pth

CONFIGURE_ARGS+=--enable-versioning \
		--with-regex=system \
		--without-gd \
		--without-mysql

CFLAGS+=	-I${PREFIX}/include

SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
		TOUCH="${TOUCH}" \
		MKDIR="${MKDIR}" \
		CAT="${CAT}" \
		PHP4_OPTIONS="${PHP4_OPTIONS}" \
		REALCURDIR="${.CURDIR}"

AP_LIBEXEC=	${PREFIX}/libexec/apache

PLIST_SUB=	AP_LIBEXEC=${AP_LIBEXEC:S/^${PREFIX}\///}

pre-fetch:
	@@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
	@@${ECHO_CMD} ""
.endif

post-install:
.if !defined(STANDALONE)
	@@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc
.else
	@@${MKDIR} ${PREFIX}/etc/php.standalone
	@@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc/php.standalone
.endif

.if !defined(STANDALONE)
	@@${ECHO_CMD} "*****************************************************************************"
	@@${ECHO_CMD} "Make sure the mime.types are connected to the php module properly and"
	@@${ECHO_CMD} "index.php is part of your DirectoryIndex."
	@@${ECHO_CMD} ""
	@@${ECHO_CMD} "The following should be in your Apache configuration file:"
	@@${ECHO_CMD} "[...]"
	@@${ECHO_CMD} "DirectoryIndex index.php index.html"
	@@${ECHO_CMD} "[...]"
	@@${ECHO_CMD} "AddType application/x-httpd-php .php"
	@@${ECHO_CMD} "AddType application/x-httpd-php-source .phps"
	@@${ECHO_CMD} "[...]"
	@@${ECHO_CMD} "*****************************************************************************"
.endif

post-clean:
	@@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc

.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif

.include <bsd.port.mk>
@


1.1.2.2
log
@Somes optiosn
@
text
@a35 10
		--with-tsrm-pth \
		--with-caudium=/usr/local/caudium/server \
		--enable-track-vars \
		--enable-memory-limit \
		--enable-force-cgi-redirect \
		--with-pcre \
		--enable-session \
		--enable-xml \
		--enable-discard-path \
		--enable-posix \
d37 6
@


1.1.2.3
log
@Allmost done.
@
text
@d33 1
a33 1
CONFIGURE_ARGS=	--with-config-file-path=${PREFIX}/etc/php.caudium \
d36 1
d62 4
d69 1
d72 21
a92 2
	@@${MKDIR} ${PREFIX}/etc/php.caudium
	@@${INSTALL_DATA} ${WRKSRC}/php.ini-dist ${PREFIX}/etc/php.caudium
@


1.1.2.4
log
@Should be totaly ported...
@
text
@a60 2
INSTALL_TARGET=	install-sapi

@


1.1.2.5
log
@Update to Caudium 1.2.6 (RC3) and PHP 4.2.1
@
text
@d9 1
a9 1
PORTVERSION=	4.2.1
@


1.1.2.6
log
@Blooody helll -> http://www.php.net/release_4_2_2.php
@
text
@d9 1
a9 1
PORTVERSION=	4.2.2
@


1.1.2.7
log
@Added --enable-track-vars and --enable-force-cgi-redirec as suggest FreeBSD
PR ports/41045 (some php modules like squirrel mail need them).
@
text
@d10 1
a10 1
PORTREVISION=	1
a44 2
		--enable-track-vars \
		--enable-force-cgi-redirect \
@


