head	1.6;
access;
symbols
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.6
date	2005.02.26.21.44.15;	author pav;	state dead;
branches;
next	1.5;

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

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

1.3
date	2003.12.28.09.11.27;	author edwin;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.6
log
@- Reflect the fact that APC is now a PECL package
- Take maintainership

PR:		ports/78019
Submitted by:	Marcus Grando <marcus@@corp.grupos.com.br>
Repocopy by:	marcus
@
text
@# Ports collection makefile for:  pear-APC
# Date created:			  31 August 2003
# Whom:				  Thierry Thomas (<thierry@@pompo.net>)
#
# $FreeBSD: ports/www/pear-APC/Makefile,v 1.5 2004/07/22 02:03:57 ijliao Exp $
#

PORTNAME=	APC
PORTVERSION=	2.0.4
CATEGORIES=	www pear

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Alternative PHP Cache

BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_PHP=	yes
USE_PHPIZE=	yes

CONFIGURE_ARGS=	--enable-apc

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"

.if exists(${LOCALBASE}/bin/php-config)
EXT_DIR!=	${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \
			"s:${PHP_BASE}/::"
.endif
PHP_DIR?=	${LOCALBASE}/etc
PHP_INI=	${PHP_DIR}/php.ini
PLIST_SUB+=	EXTDIR=${EXT_DIR}
DOCS=		CHANGELOG INSTALL NOTICE

post-install-script:
	@@${STRIP_CMD} ${PHP_BASE}/${EXT_DIR}/apc.so
	@@if [ ! -f ${PHP_INI} ]; then \
		${ECHO_MSG} "===>   Creating ${PHP_INI} for PHP" ; \
		${CP} -p ${PHP_INI}-dist ${PHP_INI} ; \
	fi
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
	@@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
	@@${ECHO_MSG}
	@@${CAT} ${PKGMESSAGE} | \
		${SED} -e "s:/usr/local/etc/php.ini:${PHP_INI}:"
	@@${ECHO_MSG}

.include <bsd.port.post.mk>
@


1.5
log
@upgrade to 2.0.4

PR:		69342
Submitted by:	Martin Matuska <martin@@tradex.sk>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
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
@d9 1
a9 1
PORTVERSION=	2.0
@


1.3
log
@pear-* ports: simplify path to devel/pear-PEAR/Makefile.common

    .include <bsd.port.pre.mk>
    .include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"

    can be simplified to:

    .include <bsd.port.pre.mk>
    .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"

    the latter version also doesn't make any assumptions about the
    path of including Makefile

PR:		ports/57152
Submitted by:	Roman Neuhauser <neuhauser@@bellavista.cz>
@
text
@d18 1
a23 1
.include "${PORTSDIR}/lang/php4/bsd.php.mk"
@


1.2
log
@Add the virtual category "pear" to the Makefiles of these ports.

PR:		ports/56582
Submitted by:	edwin@@mavetju.org
Approved by:	portmgr@@freebsd.org
@
text
@d23 2
a24 2
.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
@


1.1
log
@New port: www/pear-APC - Alternative PHP Cache.

	This port does not build out of the box, and has been
	requested on the PEAR-DEV mailing list.

	See <http://marc.theaimsgroup.com/?t=106235180900001&;r=1&w=2>.

PR:		ports/56294
Submitted by:	Thierry Thomas <thierry@@pompo.net>
@
text
@d10 1
a10 1
CATEGORIES=	www
@

