head	1.21;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.12
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_5_EOL:1.10
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.8
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.2;
locks; strict;
comment	@# @;


1.21
date	2013.01.10.13.02.37;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2012.12.10.14.59.33;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.11.17.06.03.11;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.08.08.15.24.14;	author ale;	state Exp;
branches;
next	1.17;

1.17
date	2012.05.11.09.26.07;	author ale;	state Exp;
branches;
next	1.16;

1.16
date	2012.05.02.09.52.47;	author ale;	state Exp;
branches;
next	1.15;

1.15
date	2011.06.22.14.42.25;	author ale;	state Exp;
branches;
next	1.14;

1.14
date	2011.05.10.07.51.13;	author ale;	state Exp;
branches;
next	1.13;

1.13
date	2010.11.29.12.08.20;	author ale;	state Exp;
branches;
next	1.12;

1.12
date	2009.09.03.10.18.17;	author ale;	state Exp;
branches;
next	1.11;

1.11
date	2009.08.28.09.09.19;	author ale;	state Exp;
branches;
next	1.10;

1.10
date	2008.01.31.22.05.53;	author ale;	state Exp;
branches;
next	1.9;

1.9
date	2007.07.25.16.14.24;	author ale;	state Exp;
branches;
next	1.8;

1.8
date	2006.12.13.14.55.33;	author ale;	state Exp;
branches;
next	1.7;

1.7
date	2006.12.03.09.11.44;	author ale;	state Exp;
branches;
next	1.6;

1.6
date	2006.11.22.06.51.31;	author ale;	state Exp;
branches;
next	1.5;

1.5
date	2006.11.18.07.18.34;	author ale;	state Exp;
branches;
next	1.4;

1.4
date	2006.11.08.08.06.13;	author ale;	state Exp;
branches;
next	1.3;

1.3
date	2006.11.01.13.01.01;	author ale;	state Exp;
branches;
next	1.2;

1.2
date	2006.06.06.14.08.07;	author ale;	state Exp;
branches;
next	1.1;

1.1
date	2006.05.28.08.16.30;	author ale;	state Exp;
branches;
next	;


desc
@@


1.21
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310177
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310177 | ale | 2013-01-10 12:05:44 +0000 (Thu, 10 Jan 2013) | 2 lines
## SVN ##
## SVN ## Update to 3.0.1-rc1 release.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Alex Dupre <ale@@FreeBSD.org>
# $FreeBSD: head/www/xcache/Makefile 310177 2013-01-10 12:05:44Z ale $

PORTNAME=	xcache
DISTVERSION=	3.0.1-rc1
CATEGORIES=	www
MASTER_SITES=	http://xcache.lighttpd.net/pub/Releases/${DISTVERSION}/

MAINTAINER=	ale@@FreeBSD.org
COMMENT=	A fast and stable php opcode cacher

LICENSE=	BSD
LICENSE_FILE=	${WRKSRC}/COPYING

USE_BZIP2=	yes
USE_PHP=	yes
USE_PHPIZE=	yes

CONFIGURE_ARGS=	--enable-xcache=shared

OPTIONS_DEFINE=	CONSTANT COVERAGER
CONSTANT_DESC=	Enable handling of compile time constants
COVERAGER_DESC=	Enable code coverage dumper

SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message

PLIST_FILES=	lib/php/%%PHP_EXT_DIR%%/xcache.so
PLIST_DIRSTRY=	lib/php/%%PHP_EXT_DIR%%

PORTEXAMPLES=	*

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCONSTANT}
CONFIGURE_ARGS+=--enable-xcache-constant
.endif

.if ${PORT_OPTIONS:MCOVERAGER}
CONFIGURE_ARGS+=--enable-xcache-coverager
PLIST_SUB+=	COVERAGER=""
.else
PLIST_SUB+=	COVERAGER="@@comment "
.endif

do-install:
	@@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
	${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \
	       ${PREFIX}/lib/php/${PHP_EXT_DIR}
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/xcache.ini \
		${EXAMPLESDIR}
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs ${EXAMPLESDIR}

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

.include <bsd.port.mk>
@


1.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308608
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308608 | ale | 2012-12-10 14:48:35 +0000 (Mon, 10 Dec 2012) | 2 lines
## SVN ##
## SVN ## Update to 3.0.0 release.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/xcache/Makefile 308608 2012-12-10 14:48:35Z ale $
d5 1
a5 1
DISTVERSION=	3.0.0
a17 1
USE_GMAKE=	yes
@


1.19
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	xcache
# Date created:			28 May 2006
# Whom:				Alex Dupre <ale@@FreeBSD.org>
#
# $FreeBSD: head/www/xcache/Makefile 302296 2012-08-08 15:24:14Z ale $
#
d5 1
a5 1
DISTVERSION=	2.0.1
d18 1
d29 4
a32 10
ADMINFILES=	common-en.lang.php common-zh-simplified-utf-8.lang.php \
		common-zh-traditional-utf-8.lang.php common.php config.default.php \
		config.example.php edit.php edit.tpl.php footer.tpl.php header.tpl.php \
		help-en.lang.php help-zh-simplified-utf-8.lang.php \
		help-zh-traditional-utf-8.lang.php help.php index.php \
		mkpassword.php tablesort.js xcache.css xcache.php xcache.tpl.php

COVERAGERFILES=	common-en.lang.php common-zh-simplified-gb2312.lang.php \
		common-zh-simplified-utf-8.lang.php common.php config.php.example \
		coverager.css coverager.php coverager.tpl.php index.php
a46 4
post-build:
	@@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|' \
		${WRKSRC}/xcache.ini

d54 1
a56 10
	@@${MKDIR} ${EXAMPLESDIR}/admin
.for f in ${ADMINFILES}
	${INSTALL_DATA} ${WRKSRC}/admin/${f} ${EXAMPLESDIR}/admin
.endfor
.if defined(WITH_COVERAGER)
	@@${MKDIR} ${EXAMPLESDIR}/coverager
.for f in ${COVERAGERFILES}
	${INSTALL_DATA} ${WRKSRC}/coverager/${f} ${EXAMPLESDIR}/coverager
.endfor
.endif
@


1.18
log
@SVN rev 302296 on 2012-08-08 15:24:14Z by ale

Update to 2.0.1 release, add LICENSE and switch to OptionsNG.

PR:		ports/170095
Submitted by:	mm
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.17
log
@Bugfix.

PR:		ports/167774
Submitted by:	mm
@
text
@d9 1
a9 2
DISTVERSION=	2.0.0
PORTREVISION=	1
d16 3
d25 3
a27 2
OPTIONS=	CONSTANT "Enable handling of compile time constants" off \
		COVERAGER "Enable code coverage dumper" off
d33 2
a34 2
		common-zh-traditional-utf-8.lang.php common.php config.php.example \
		edit.php edit.tpl.php footer.tpl.php header.tpl.php \
d43 1
a43 1
.include <bsd.port.pre.mk>
d45 1
a45 1
.if defined(WITH_CONSTANT)
d49 1
a49 1
.if defined(WITH_COVERAGER)
d81 1
a81 1
.include <bsd.port.post.mk>
@


1.16
log
@Update to 2.0.0 release.

PR:		ports/167519
Submitted by:	mm
@
text
@d10 1
@


1.15
log
@Update to 1.3.2 final release.

PR:		ports/158166
Submitted by:	mm
@
text
@d9 1
a9 1
DISTVERSION=	1.3.2
d22 2
a23 1
OPTIONS=	COVERAGER "Enable code coverage dumper" off
d41 4
@


1.14
log
@Update to 1.3.2-rc1 release.

PR:		ports/156899
Submitted by:	mm
@
text
@d9 1
a9 1
DISTVERSION=	1.3.2-rc1
@


1.13
log
@Update to 1.3.1 release.
@
text
@d9 1
a9 1
DISTVERSION=	1.3.1
@


1.12
log
@Fix plist and bump PORTREVISION.
@
text
@d9 1
a9 2
DISTVERSION=	1.3.0
PORTREVISION=	1
@


1.11
log
@Update to 1.3.0 release.
@
text
@d10 1
@


1.10
log
@Update to 1.2.2 release.

PR:		ports/120188
Submitted by:	danger
@
text
@d9 1
a9 1
DISTVERSION=	1.2.2
d32 1
a32 1
		tablesort.js xcache.css xcache.php xcache.tpl.php
@


1.9
log
@Update to 1.2.1 release.
@
text
@d9 1
a9 1
DISTVERSION=	1.2.1
@


1.8
log
@Update to 1.2.0 final release.
@
text
@d9 1
a9 1
DISTVERSION=	1.2.0
d11 1
a11 1
MASTER_SITES=	http://210.51.190.228/pub/XCache/Releases/ \
a26 2
WRKSRC=		${WRKDIR}/${PORTNAME}

d29 1
@


1.7
log
@Update to 1.2.0rc2 release.
@
text
@d9 1
a9 1
DISTVERSION=	1.2.0-rc2
a11 1
		http://210.51.190.228/pub/XCache/rc/${DISTVERSION}/
@


1.6
log
@Add a few fixes from trunk.
@
text
@d9 1
a9 2
DISTVERSION=	1.2-beta3
PORTREVISION=	1
d12 1
a12 2
		http://210.51.190.228/pub/XCache/snapshots/
DISTNAME=	${PORTNAME}-trunk-r278
d17 1
@


1.5
log
@Update to current snapshot that fixes interaction with other zend
extensions (like suhosin).
@
text
@d10 1
@


1.4
log
@Update to 1.2-beta2 release (recommended by the author for PHP 5.2 release).
@
text
@d9 1
a9 1
DISTVERSION=	1.2-beta2
d13 1
a13 1
DISTNAME=	${PORTNAME}-trunk-r272
@


1.3
log
@Update to 1.0.2 release.
@
text
@d9 1
a9 1
DISTVERSION=	1.0.2
d11 3
a13 1
MASTER_SITES=	http://210.51.190.228/pub/XCache/Releases/
d30 10
d63 3
a65 8
	${INSTALL_DATA} ${WRKSRC}/admin/config.php.example \
		${WRKSRC}/admin/help.php \
		${WRKSRC}/admin/index.php \
		${WRKSRC}/admin/tablesort.js \
		${WRKSRC}/admin/xcache.css \
		${WRKSRC}/admin/xcache.php \
		${WRKSRC}/admin/xcache.tpl.php \
		${EXAMPLESDIR}/admin
d68 3
a70 6
	${INSTALL_DATA} ${WRKSRC}/coverager/config.php.example \
		${WRKSRC}/coverager/coverager.css \
		${WRKSRC}/coverager/coverager.php \
		${WRKSRC}/coverager/coverager.tpl.php \
		${WRKSRC}/coverager/index.php \
		${EXAMPLESDIR}/coverager
@


1.2
log
@Update to 1.0 release and add coverager support.
@
text
@d9 1
a9 1
DISTVERSION=	1.0
@


1.1
log
@XCache is a fast, stable php opcode cacher that has been tested and
now running on production server under high load.

WWW: http://trac.lighttpd.net/xcache/
@
text
@d9 1
a9 1
DISTVERSION=	1.0-rc
d11 1
a11 1
MASTER_SITES=	http://210.51.190.228/pub/XCache/
d21 2
d28 13
d52 1
d59 9
d70 1
a70 1
.include <bsd.port.mk>
@

