head	1.46;
access;
symbols
	RELEASE_8_3_0:1.38
	RELEASE_9_0_0:1.36
	RELEASE_7_4_0:1.33
	RELEASE_8_2_0:1.33
	RELEASE_6_EOL:1.32
	RELEASE_8_1_0:1.30
	RELEASE_7_3_0:1.27
	RELEASE_8_0_0:1.27
	RELEASE_7_2_0:1.27
	RELEASE_7_1_0:1.26
	RELEASE_6_4_0:1.26
	RELEASE_5_EOL:1.25
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.20
	RELEASE_4_EOL:1.18
	RELEASE_6_2_0:1.18
	RELEASE_6_1_0:1.15
	RELEASE_5_5_0:1.15
	RELEASE_6_0_0:1.10
	RELEASE_5_4_0:1.7
	old_RELEASE_4_11_0:1.5
	old_RELEASE_5_3_0:1.5
	old_RELEASE_4_10_0:1.4
	old_RELEASE_5_2_1:1.2
	old_RELEASE_5_2_0:1.2
	old_RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.46
date	2013.02.02.15.59.39;	author svnexp;	state Exp;
branches;
next	1.45;

1.45
date	2013.02.02.03.49.28;	author svnexp;	state Exp;
branches;
next	1.44;

1.44
date	2013.01.30.17.27.48;	author svnexp;	state Exp;
branches;
next	1.43;

1.43
date	2012.11.17.06.02.57;	author svnexp;	state Exp;
branches;
next	1.42;

1.42
date	2012.09.07.23.24.40;	author sunpoet;	state Exp;
branches;
next	1.41;

1.41
date	2012.08.18.18.17.33;	author sunpoet;	state Exp;
branches;
next	1.40;

1.40
date	2012.08.05.07.13.06;	author sunpoet;	state Exp;
branches;
next	1.39;

1.39
date	2012.05.16.07.37.17;	author ale;	state Exp;
branches;
next	1.38;

1.38
date	2012.02.01.18.58.05;	author sunpoet;	state Exp;
branches;
next	1.37;

1.37
date	2012.02.01.15.53.08;	author tabthorpe;	state Exp;
branches;
next	1.36;

1.36
date	2011.05.27.20.39.26;	author osa;	state Exp;
branches;
next	1.35;

1.35
date	2011.05.17.07.07.42;	author mm;	state Exp;
branches;
next	1.34;

1.34
date	2011.03.15.07.31.10;	author mm;	state Exp;
branches;
next	1.33;

1.33
date	2010.12.05.13.55.56;	author mnag;	state Exp;
branches;
next	1.32;

1.32
date	2010.10.07.16.57.17;	author mnag;	state Exp;
branches;
next	1.31;

1.31
date	2010.09.09.21.51.55;	author pgollucci;	state Exp;
branches;
next	1.30;

1.30
date	2010.04.22.00.09.12;	author mnag;	state Exp;
branches;
next	1.29;

1.29
date	2010.04.20.03.08.43;	author glarkin;	state Exp;
branches;
next	1.28;

1.28
date	2010.04.20.02.14.34;	author glarkin;	state Exp;
branches;
next	1.27;

1.27
date	2009.03.25.04.18.42;	author mnag;	state Exp;
branches;
next	1.26;

1.26
date	2008.06.09.22.05.03;	author mnag;	state Exp;
branches;
next	1.25;

1.25
date	2008.04.19.14.17.54;	author mnag;	state Exp;
branches;
next	1.24;

1.24
date	2008.04.13.03.01.57;	author mnag;	state Exp;
branches;
next	1.23;

1.23
date	2008.01.25.03.01.54;	author mnag;	state Exp;
branches;
next	1.22;

1.22
date	2008.01.03.01.25.53;	author mnag;	state Exp;
branches;
next	1.21;

1.21
date	2007.12.13.16.08.43;	author mnag;	state Exp;
branches;
next	1.20;

1.20
date	2007.04.06.04.15.43;	author mnag;	state Exp;
branches;
next	1.19;

1.19
date	2007.03.06.21.40.20;	author mnag;	state Exp;
branches;
next	1.18;

1.18
date	2006.09.10.02.44.33;	author mnag;	state Exp;
branches;
next	1.17;

1.17
date	2006.08.26.18.34.46;	author mnag;	state Exp;
branches;
next	1.16;

1.16
date	2006.03.16.02.03.52;	author mnag;	state Exp;
branches;
next	1.15;

1.15
date	2005.12.15.18.31.09;	author mnag;	state Exp;
branches;
next	1.14;

1.14
date	2005.12.14.20.58.35;	author mnag;	state Exp;
branches;
next	1.13;

1.13
date	2005.12.14.20.33.29;	author mnag;	state Exp;
branches;
next	1.12;

1.12
date	2005.09.16.17.58.32;	author mnag;	state Exp;
branches;
next	1.11;

1.11
date	2005.08.31.15.47.23;	author garga;	state Exp;
branches;
next	1.10;

1.10
date	2005.07.31.11.29.10;	author sem;	state Exp;
branches;
next	1.9;

1.9
date	2005.07.13.21.36.36;	author flz;	state Exp;
branches;
next	1.8;

1.8
date	2005.07.06.18.25.55;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2005.03.01.07.30.34;	author vanilla;	state Exp;
branches;
next	1.6;

1.6
date	2005.02.26.21.44.16;	author pav;	state Exp;
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.46
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311434
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Thierry Thomas (<thierry@@pompo.net>)
# $FreeBSD: head/www/pecl-APC/Makefile 311434 2013-02-02 15:38:25Z sunpoet $

PORTNAME=	APC
PORTVERSION=	3.1.14
PORTREVISION=	1
CATEGORIES=	www
#MASTER_SITES=	http://pecl.php.net/get/
MASTER_SITES=	LOCAL/sunpoet
PKGNAMEPREFIX=	pecl-
DISTNAME=	${PORTNAME}-3.1.13
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	PECL

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

OPTIONS_DEFINE=	DOCS FILEHITS IPC SEMAPHORES SPINLOCKS
FILEHITS_DESC=	Per request cache info
IPC_DESC=	IPC shm memory support (default: mmap)
SEMAPHORES_DESC=System V IPC semaphores (default: fcntl)
SPINLOCKS_DESC=	Spinlocks (experimental)

CFLAGS+=	-I${LOCALBASE}/include
CONFIGURE_ARGS=	--enable-apc
IGNORE_WITH_PHP=4
PHP_MODNAME=	${PORTNAME:L}
PKGMESSAGE=	${WRKDIR}/pkg-message
SUB_FILES=	pkg-message
USE_PHP=	yes
USE_PHPEXT=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-3.1.13

PORTDOCS=	CHANGELOG INSTALL NOTICE apc.php

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MFILEHITS}
CONFIGURE_ARGS+=--enable-apc-filehits
.endif

.if ${PORT_OPTIONS:MIPC}
CONFIGURE_ARGS+=--disable-apc-mmap
.endif

.if ${PORT_OPTIONS:MSEMAPHORES}
CONFIGURE_ARGS+=--enable-apc-sem
.endif

.if ${PORT_OPTIONS:MSPINLOCKS}
CONFIGURE_ARGS+=--enable-apc-spinlocks
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}/
	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.45
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311414
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/pecl-APC/Makefile 311414 2013-02-02 03:46:20Z sunpoet $
d11 1
@


1.44
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311233
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/pecl-APC/Makefile 311233 2013-01-30 16:24:11Z sunpoet $
d5 2
a6 1
DISTVERSION=	3.1.14
d8 2
a9 1
MASTER_SITES=	http://pecl.php.net/get/
d31 1
@


1.43
log
@Switch exporter over
@
text
@d1 2
a2 6
# Ports collection makefile for:  pear-APC
# Date created:			  31 August 2003
# Whom:				  Thierry Thomas (<thierry@@pompo.net>)
#
# $FreeBSD: head/www/pecl-APC/Makefile 303839 2012-09-07 23:24:40Z sunpoet $
#
d5 1
a5 1
DISTVERSION=	3.1.13
d15 1
a15 1
OPTIONS_DEFINE=	FILEHITS IPC SEMAPHORES SPINLOCKS
d35 1
a35 1
CONFIGURE_ARGS+=	--enable-apc-filehits
d39 1
a39 1
CONFIGURE_ARGS+=	--disable-apc-mmap
d43 1
a43 1
CONFIGURE_ARGS+=	--enable-apc-sem
d47 1
a47 1
CONFIGURE_ARGS+=	--enable-apc-spinlocks
@


1.42
log
@SVN rev 303839 on 2012-09-07 23:24:40Z by sunpoet

- Update to 3.1.13

Changes:	http://pecl.php.net/package-changelog.php?package=APC
PR:		ports/171289
Submitted by:	Matthew Horan <matt@@matthoran.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.41
log
@SVN rev 302731 on 2012-08-18 18:17:33Z by sunpoet

- Update to 3.1.12

Changes:	http://pecl.php.net/package-changelog.php?package=APC
PR:		ports/170694
Submitted by:	John Chen <johnpupu@@gmail.com>
@
text
@d9 1
a9 1
DISTVERSION=	3.1.12
@


1.40
log
@SVN rev 302085 on 2012-08-05 07:13:06Z by sunpoet

- Update to 3.1.11 [1]
- Convert to new options framework
- Sort option handlers
- Cosmetic change

Changes:	http://pecl.php.net/package-changelog.php?package=APC
PR:		ports/170325 [1]
Submitted by:	mm
@
text
@d9 1
a9 1
DISTVERSION=	3.1.11
@


1.39
log
@Update to 3.1.10 and fix for PHP 5.4.
@
text
@d9 1
a9 1
DISTVERSION=	3.1.10
d19 12
a31 1
IGNORE_WITH_PHP=4
a32 4
PHP_MODNAME=	apc

SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message
d34 1
a34 2
CONFIGURE_ARGS=	--enable-apc
CFLAGS+=	-I${LOCALBASE}/include
d36 1
a36 4
OPTIONS=	IPC		"Enable IPC shm memory support (default: mmap)"	off \
		SEMAPHORES	"Enable sysv IPC semaphores (default: fcntl())"	off \
		SPINLOCKS	"Enable spinlocks (experimental)"		off \
		FILEHITS	"Enable per request cache info"			off
d38 3
a40 1
PORTDOCS=	*
d42 1
a42 3
.include <bsd.port.pre.mk>

.if defined(WITH_IPC)
d46 1
a46 1
.if defined(WITH_SEMAPHORES)
d50 1
a50 1
.if defined(WITH_SPINLOCKS)
a53 4
.if defined(WITH_FILEHITS)
CONFIGURE_ARGS+=	--enable-apc-filehits
.endif

d55 3
a57 6
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/NOTICE ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/apc.php ${DOCSDIR}
d61 1
a61 1
.include <bsd.port.post.mk>
@


1.38
log
@- Pet portlint
- Take maintainership
@
text
@d9 1
a9 2
DISTVERSION=	3.1.9
PORTREVISION=	1
@


1.37
log
@- Reassign to the heap
@
text
@d17 1
a17 1
MAINTAINER=	ports@@FreeBSD.org
d29 1
a29 1
CFLAGS=		-I${LOCALBASE}/include
@


1.36
log
@Add vendor patch for fix regression.
Bump PORTREVISION.

Submitted:	Alexandr Kovalenko <alexandr.kovalenko@@gmail.com>
PR:		ports/157372
@
text
@d17 1
a17 1
MAINTAINER=	mnag@@FreeBSD.org
@


1.35
log
@Update to 3.1.9

Approved by:	mnag (maintainer, private e-mail)
@
text
@d10 1
@


1.34
log
@Update to 3.1.7

PR:		ports/155013
Approved by:	maintainer (timeout)
@
text
@d9 1
a9 1
DISTVERSION=	3.1.7
@


1.33
log
@- Update to 3.1.6

PR:		152831
Submitted by:	erwin
@
text
@d9 1
a9 1
DISTVERSION=	3.1.6
@


1.32
log
@- Change defaults to reflect config.m4

PR:		150872
Submitted by:	Karl Latiss <klatiss___nextdigital.com>
@
text
@d9 1
a9 1
DISTVERSION=	3.1.4
@


1.31
log
@- Update to 3.1.4

PR:             ports/149592
Submitted by:   Martin Matuska <mm@@FreeBSD.org>
Approved by:    maintainer timeout (mnag ; 28 days)
@
text
@d30 1
a30 1
OPTIONS=	MMAP		"Enable mmap memory support (default: IPC shm)"	off \
d39 2
a40 2
.if defined(WITH_MMAP)
CONFIGURE_ARGS+=	--enable-apc-mmap
@


1.30
log
@- Remove support to PHP4 since it's not supported anymore.
- portlint
@
text
@d9 1
a9 1
DISTVERSION=	3.1.3p1
@


1.29
log
@- Added include dir so pcre.h can be found

Reported by:	QAT
Approved by:	portmgr (itetcu, erwin - blanket)
@
text
@d20 1
d28 1
a28 1
CONFIGURE_ENV+=	CFLAGS="-I${LOCALBASE}/include"
d33 1
a33 2
		FILEHITS	"Enable per request cache info"			off \
		PHP4_OPT	"Little optimization to PHP4"			off
a54 21
.if defined(WITH_PHP4_OPT)
.if ${PHP_VER} == 4
.if exists(${LOCALBASE}/include/apache/httpd.h)
CFLAGS+=	-I${LOCALBASE}/include/apache -DAPC_PHP4_STAT
.elif exists(${LOCALBASE}/include/apache2/httpd.h)
CFLAGS+=	-I${LOCALBASE}/include/apache2 -DAPC_PHP4_STAT
.elif exists(${LOCALBASE}/include/apache21/httpd.h)
CFLAGS+=	-I${LOCALBASE}/include/apache21 -DAPC_PHP4_STAT
.elif exists(${LOCALBASE}/include/apache22/httpd.h)
CFLAGS+=	-I${LOCALBASE}/include/apache22 -DAPC_PHP4_STAT
.endif
.else
pre-configure:
	@@${ECHO_CMD}
	@@${ECHO_CMD} "*** WARNING ***"
	@@${ECHO_CMD} "This optimization is only for PHP4. PHP5 or newer does not need it"
	@@${ECHO_CMD} "I will continue instalation..."
	@@${ECHO_CMD}
.endif
.endif

@


1.28
log
@- Unbreak (take #2) after recent PHP 5.3.2 update. APC 3.0.x is not
  compatible with PHP 5.3.2. The original unbreak fixed the compiler
  errors, but the module core dumped. 3.1.x supports PHP 5.3.2.

Reported by:	users on questions@@ ML
Approved by:	portmgr (itetcu, erwin - blanket)
@
text
@d27 1
@


1.27
log
@- Add spinlocks support

PR:		132992
Submitted by:	Gea-Suan Lin <gslin___gslin.org>
@
text
@d9 1
a9 1
DISTVERSION=	3.0.19
@


1.26
log
@- Update to 3.0.19

PR:		123723
Submitted by:	Wen heping <wenheping___gmail.com>
@
text
@d30 1
d46 4
@


1.25
log
@- Fix FD leak to PHP4 (from pecl-APC CVS)
- Bump PORTREVISION

PS: Maybe fix PR 122717. I need to confirm.
@
text
@d9 1
a9 2
DISTVERSION=	3.0.18
PORTREVISION=	1
@


1.24
log
@- Update to 3.0.18

PR:		122634
Submitted by:	mark burdett <mfburdett___gmail.com>
@
text
@d10 1
@


1.23
log
@- Add FILEHITS option [1]
- Add patch to fix a problem with semaphores [2]
- Bump PORTREVISION

PR:		119390 [1]
Submitted by:	Martin Matuska <mm___FreeBSD.org> [1], Maxim Khitrov <mkhitrov__gmail.com> [2]
@
text
@d9 1
a9 2
DISTVERSION=	3.0.16
PORTREVISION=	1
@


1.22
log
@- Update to 3.0.16
@
text
@d10 1
d31 1
d46 4
@


1.21
log
@- Update to 3.0.15

PR:		117559
Submitted by:	chinsan <chinsan___FreeBSD.org>
@
text
@d9 1
a9 1
DISTVERSION=	3.0.15
@


1.20
log
@- Update to 3.0.14

PR:		111178
Submitted by:	chinsan
@
text
@d9 1
a9 1
DISTVERSION=	3.0.14
@


1.19
log
@- Update to 3.0.13

PR:		109810
Submitted by:	chinsan
@
text
@d9 1
a9 1
DISTVERSION=	3.0.13
@


1.18
log
@- Update to 3.0.12p2
@
text
@d9 1
a9 1
DISTVERSION=	3.0.12p2
@


1.17
log
@- Update to 3.0.11
@
text
@d9 1
a9 1
PORTVERSION=	3.0.11
@


1.16
log
@- Update to 3.0.10
@
text
@d9 1
a9 1
PORTVERSION=	3.0.10
@


1.15
log
@Correct way to check WITH_PHP4_OPT and ${PHP_VER} == 4
@
text
@d9 1
a9 2
PORTVERSION=	3.0.8
PORTREVISION=	1
a73 12
.if ${PHP_VER} == 5
	@@${ECHO_CMD}
	@@${ECHO_CMD} "*** WARNING *** WARNING *** WARNING ***"
	@@${ECHO_CMD}
	@@${ECHO_CMD} "To APC work with PHP >= 5.0.5 you need add"
	@@${ECHO_CMD} "below option in your php.ini"
	@@${ECHO_CMD}
	@@${ECHO_CMD} "auto_globals_jit = Off"
	@@${ECHO_CMD}
	@@${ECHO_CMD} "*** WARNING *** WARNING *** WARNING ***"
	@@${ECHO_CMD}
.endif
@


1.14
log
@More accurate info about auto_globals_jit and PHP version
@
text
@d45 2
a46 1
.if defined(WITH_PHP4_OPT) && ${PHP_VER} == 4
d57 1
a57 1
pre-extract:
d64 1
@


1.13
log
@Fix PHP4 optimization with new apache versions
Bump PORTREVISION
Install apc.php in DOCSDIR
Add message about APC and PHP >= 5.1 [1]

Thanks to:	Rasmus Lerdorf [1]
@
text
@d77 1
a77 1
	@@${ECHO_CMD} "To APC work with PHP >= 5.1 you need add"
@


1.12
log
@Update my email

Approved by: pav (mentor)
@
text
@d10 1
d29 5
a33 3
OPTIONS=	MMAP       "Enable mmap memory support (default: IPC shm)" off \
		SEMAPHORES "Enable sysv IPC semaphores (default: fcntl())" off \
		PHP4_OPT   "Little optimization to PHP4" off
d45 1
a45 2
.if defined(WITH_PHP4_OPT)
.if ${PHP_VER} == 4
d49 5
a53 1
CFLAGS+=	-I${LOCALBASE}/include/apache -DAPC_PHP4_STAT
d56 6
a61 6
IGNORE=	This optimization is only for PHP4. PHP5 or newer does not need it
.endif
.endif

.if !defined(NOPORTDOCS)
PORTDOCS=	*
d67 4
a70 3
	@@${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/NOTICE ${DOCSDIR}
d73 12
@


1.11
log
@- Update to 3.0.8

PR:		ports/85525
Submitted by:	maintainer
@
text
@d16 1
a16 1
MAINTAINER=	marcus@@corp.grupos.com.br
@


1.10
log
@- Update to 3.0.6

PR:		ports/84364
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	3.0.6
d30 1
a30 1
		PHP4_OPT   "Little optimization for PHP4" off
@


1.9
log
@- Update to 3.0.3.

PR:		ports/83399
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	3.0.3
@


1.8
log
@- Update to 3.0.2

PR:		ports/83069
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	3.0.2
@


1.7
log
@* Broken with php5
* More OPTIONS

PR:		ports/78223
Submitted by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	2.0.4
PORTREVISION=	1
a19 1
USE_PHPIZE=	yes
d30 1
d34 2
a35 2
.if ${PHP_VER} == 5
BROKEN=		This port is not compatible with php${PHP_VER}
d38 2
a39 2
.if !defined(WITHOUT_MMAP)
CONFIGURE_ARGS+=	--enable-mmap
d42 10
a51 2
.if !defined(WITHOUT_SEMAPHORES)
CONFIGURE_ARGS+=	--enable-sem
@


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
@d10 1
d30 8
a37 1
OPTIONS=	MMAP	"Enable mmap"	off
d43 4
d60 1
a60 1
.include <bsd.port.mk>
@


1.5
log
@upgrade to 2.0.4

PR:		69342
Submitted by:	Martin Matuska <martin@@tradex.sk>
@
text
@d10 5
a14 1
CATEGORIES=	www pear
d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
a18 3
BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS=	${BUILD_DEPENDS}

d21 5
d29 5
a33 2
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
d35 2
a36 3
.if exists(${LOCALBASE}/bin/php-config)
EXT_DIR!=	${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \
			"s:${PHP_BASE}/::"
d38 2
a39 11
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
d42 3
a44 4
.for FILE in ${DOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
	@@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
d46 1
a46 4
	@@${ECHO_MSG}
	@@${CAT} ${PKGMESSAGE} | \
		${SED} -e "s:/usr/local/etc/php.ini:${PHP_INI}:"
	@@${ECHO_MSG}
d48 1
a48 1
.include <bsd.port.post.mk>
@


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
@

