head	1.23;
access;
symbols
	RELEASE_4_11_0:1.22
	RELEASE_5_3_0:1.22
	RELEASE_4_10_0:1.22
	RELEASE_5_2_1:1.20
	RELEASE_5_2_0:1.20
	RELEASE_4_9_0:1.15
	RELEASE_5_1_0:1.4;
locks; strict;
comment	@# @;


1.23
date	2005.01.19.07.20.57;	author ale;	state dead;
branches;
next	1.22;

1.22
date	2004.02.09.11.43.36;	author ale;	state Exp;
branches;
next	1.21;

1.21
date	2004.01.18.10.50.15;	author ale;	state Exp;
branches;
next	1.20;

1.20
date	2003.11.05.11.11.49;	author jeh;	state Exp;
branches;
next	1.19;

1.19
date	2003.10.30.01.47.22;	author nork;	state Exp;
branches;
next	1.18;

1.18
date	2003.10.14.19.08.45;	author sumikawa;	state Exp;
branches;
next	1.17;

1.17
date	2003.09.30.07.12.46;	author nork;	state Exp;
branches;
next	1.16;

1.16
date	2003.09.24.08.47.39;	author edwin;	state Exp;
branches;
next	1.15;

1.15
date	2003.08.21.09.20.47;	author nork;	state Exp;
branches;
next	1.14;

1.14
date	2003.08.19.02.13.40;	author nork;	state Exp;
branches;
next	1.13;

1.13
date	2003.08.19.02.03.50;	author nork;	state Exp;
branches;
next	1.12;

1.12
date	2003.07.31.14.33.29;	author nork;	state Exp;
branches;
next	1.11;

1.11
date	2003.07.28.13.00.10;	author krion;	state Exp;
branches;
next	1.10;

1.10
date	2003.07.10.14.51.24;	author nork;	state Exp;
branches;
next	1.9;

1.9
date	2003.07.07.05.06.24;	author daichi;	state Exp;
branches;
next	1.8;

1.8
date	2003.06.26.08.13.16;	author nork;	state Exp;
branches;
next	1.7;

1.7
date	2003.06.20.15.36.53;	author nork;	state Exp;
branches;
next	1.6;

1.6
date	2003.06.11.17.03.02;	author nork;	state Exp;
branches;
next	1.5;

1.5
date	2003.06.07.02.12.36;	author nork;	state Exp;
branches;
next	1.4;

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

1.3
date	2003.04.11.16.17.06;	author nork;	state Exp;
branches;
next	1.2;

1.2
date	2003.04.04.11.46.21;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.04.09.49.28;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.23
log
@Repocopied to www/eaccelerator.
@
text
@# New ports collection makefile for:	turck-mmcache
# Date created:			Sat Mar 1 13:55:55 CET 2003
# Whom:				Alex Dupre <sysadmin@@alexdupre.com>
#
# $FreeBSD: ports/www/turck-mmcache/Makefile,v 1.22 2004/02/09 11:43:36 ale Exp $
#

PORTNAME=	turck-mmcache
PORTVERSION=	2.4.6
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ale@@FreeBSD.org
COMMENT=	An opcode cache for PHP with encoder and loader

USE_BZIP2=	yes
USE_REINPLACE=	yes
USE_PHP=	yes
USE_PHPIZE=	yes

CONFIGURE_ARGS=	--enable-mmcache=shared

PKGMESSAGE=	${WRKDIR}/pkg-message

post-patch:
	@@${REINPLACE_CMD} 's|ALIGN|MMALIGN|g' ${WRKSRC}/mm.c ${WRKSRC}/mmcache.c

post-build:
	@@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/encoder.php > ${WRKSRC}/encoder
	@@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \
		${.CURDIR}/pkg-message > ${PKGMESSAGE}

do-install:
	@@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
	@@${INSTALL_DATA} ${WRKSRC}/modules/mmcache.so \
	       ${PREFIX}/lib/php/${PHP_EXT_DIR}
	@@${INSTALL_SCRIPT} ${WRKSRC}/encoder ${PREFIX}/bin
	@@${MKDIR} ${EXAMPLESDIR}
	@@${INSTALL_DATA} ${WRKSRC}/mmcache.php ${EXAMPLESDIR}
	@@${INSTALL_DATA} ${WRKSRC}/mmcache_password.php ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.22
log
@Remove lang/php4/bsd.php.mk and switch every ports depending on PHP to
use Mk/bsd.php.mk.

Approved by:	nork (mentor/implicitly)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.21
log
@Switch to my @@FreeBSD.org email address.

Approved by:	nork (mentor)
@
text
@d19 1
a25 3
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../lang/php4/bsd.php.mk"

d50 1
a50 1
.include <bsd.port.post.mk>
@


1.20
log
@Update to 2.4.6.

PR:		58919
Submitted By:	MAINTAINER
@
text
@d14 1
a14 1
MAINTAINER=	sysadmin@@alexdupre.com
@


1.19
log
@Update to 2.4.3.

PR:		ports/58294
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.4.3
@


1.18
log
@Upgrade to 2.4.2.

PR:		ports/57936
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.4.2
@


1.17
log
@Update to 2.4.1.

PR:		ports/57355
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.4.1
@


1.16
log
@[Maintainer Update] Port: www/turck-mmcache

	Update to 2.4.0 release.

PR:		ports/57084
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.4.0
@


1.15
log
@Update to 2.3.23.

PR:		ports/55809
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.3.23
@


1.14
log
@[Forced Commit]
Sorry, I missed submitter.  I recieved this PR nearly other
Alex's PR.  I had a false feeling.

Submitted by:	Linh Pham <question@@closedsrc.org>
Approved by:	none
@
text
@d9 1
a9 1
PORTVERSION=	2.3.22
@


1.13
log
@Update to 2.3.22.

PR:		ports/55709
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@@


1.12
log
@Update to 2.3.21.

PR:		ports/55116
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.3.21
@


1.11
log
@Update to 2.3.20

PR:		54974
Submitted by:	maintainer
Approved by:	fjoe (mentor) (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	2.3.20
@


1.10
log
@Update to 2.3.19  and  Use bzip2.

PR:		ports/54318
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.3.19
d43 1
@


1.9
log
@update www/turck-mmcache: 2.3.17 --> 2.3.18

PR:		54126
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.3.18
d17 1
@


1.8
log
@Update to 2.3.17.

PR:		ports/53749
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.3.17
@


1.7
log
@Update to 2.3.16.

PR:		ports/53552
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.3.16
@


1.6
log
@Update to 2.3.15

PR:		ports/53211
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.3.15
@


1.5
log
@Update to 2.3.13.

PR:		ports/52785
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.3.14
@


1.4
log
@Update to 2.3.10.

PR:		51976
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.3.10
d17 2
a18 13
EXTRACT_DEPENDS=phpize:${PORTSDIR}/www/mod_php4
BUILD_DEPENDS=	${LOCALBASE}/include/php/Zend/zend.h:${PORTSDIR}/www/mod_php4
LIB_DEPENDS=	mm.12:${PORTSDIR}/devel/mm
RUN_DEPENDS=	${LOCALBASE}/sbin/httpd:${APACHE_PORT} \
		${LOCALBASE}/bin/php:${PORTSDIR}/www/mod_php4

USE_LIBTOOL=	yes
WANT_AUTOMAKE_VER=	15
WANT_AUTOCONF_VER=	253

CONFIGURE_ARGS=	--enable-mmcache=shared \
		--with-php-config=${LOCALBASE}/bin/php-config \
		--prefix=${PREFIX}
d20 1
a20 2
EXT_DIR=	20020429
PLIST_SUB=	EXT_DIR=${EXT_DIR}
a23 2
USE_REINPLACE=	yes

d25 1
d27 2
a28 10
.if defined(WITH_APACHE2) || exists(${LOCALBASE}/include/apache2/apr.h)
APACHE_PORT?=	${PORTSDIR}/www/apache2
.else
APACHE_PORT?=	${PORTSDIR}/www/apache13
.endif

post-extract:
	@@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/config.m4
	@@${ECHO_MSG} "===>  PHPizing for ${DISTNAME}"
	@@cd ${WRKSRC} && ${LOCALBASE}/bin/phpize
d32 1
a32 1
	@@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%EXT_DIR%%|${EXT_DIR}|g" \
d36 1
a36 1
	@@${MKDIR} ${PREFIX}/lib/php/${EXT_DIR}
d38 1
a38 1
	       ${PREFIX}/lib/php/${EXT_DIR}
@


1.3
log
@Update to 2.3.9.

PR:		ports/50786
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.3.9
d15 1
a15 1
COMMENT=	An opcode cache for PHP
a47 1
	@@${REINPLACE_CMD} -e 's,[[:cntrl:]]$$,,g' ${WRKSRC}/mmcache.c
d52 1
d60 3
@


1.2
log
@PREFIX -> LOCALBASE in post-patch

Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d9 1
a9 1
PORTVERSION=	2.3.8
d17 2
a18 1
BUILD_DEPENDS=	phpize:${PORTSDIR}/www/mod_php4
d47 2
a50 3

post-patch:
	${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/configure
@


1.1
log
@[New Port] Turck MMCache 2.3.6 (An opcode cache for PHP)

	Turck MMCache is a opcode cache for PHP. It increases
	performance of PHP scripts by caching them in compiled
	state, so that the overhead of compiling is almost completely
	eliminated.  Also it uses some optimizations for speed up
	of PHP scripts execution.  Turck MMCache typically reduces
	server load and increases the speed of your PHP code by
	1-10 times.

	WWW: http://www.turcksoft.com/en/e_mmc.htm

PR:		ports/48807
Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d50 1
a50 1
	${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/configure
@

