summaryrefslogtreecommitdiff
path: root/www/pecl-APC-devel/Makefile
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-12-19 21:12:36 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-12-19 21:12:36 +0000
commit616aaf4b1fc83a87f7a49e0e81e8f7c9db6dbcad (patch)
treeeca5ff8ef89030731d682a14daebcc8cbd2245ac /www/pecl-APC-devel/Makefile
parent- Fix modes of the temp directory [1] (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_1_0'.release/7.1.0
Notes
Notes: svn path=/head/; revision=224474 svn path=/tags/RELEASE_7_1_0/; revision=224475; tag=release/7.1.0
Diffstat (limited to 'www/pecl-APC-devel/Makefile')
-rw-r--r--www/pecl-APC-devel/Makefile80
1 files changed, 0 insertions, 80 deletions
diff --git a/www/pecl-APC-devel/Makefile b/www/pecl-APC-devel/Makefile
deleted file mode 100644
index ef81fa0c4479..000000000000
--- a/www/pecl-APC-devel/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-# Ports collection makefile for: pear-APC
-# Date created: 31 August 2003
-# Whom: Thierry Thomas (<thierry@pompo.net>)
-#
-# $FreeBSD$
-#
-
-PORTNAME= APC
-DISTVERSION= 3.0.19
-CATEGORIES= www
-MASTER_SITES= http://pecl.php.net/get/
-PKGNAMEPREFIX= pecl-
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= PECL
-
-MAINTAINER= mnag@FreeBSD.org
-COMMENT= Alternative PHP Cache
-
-USE_PHP= yes
-USE_PHPEXT= yes
-PHP_MODNAME= apc
-
-SUB_FILES= pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
-CONFIGURE_ARGS= --enable-apc
-
-OPTIONS= MMAP "Enable mmap memory support (default: IPC shm)" off \
- SEMAPHORES "Enable sysv IPC semaphores (default: fcntl())" off \
- FILEHITS "Enable per request cache info" off \
- PHP4_OPT "Little optimization to PHP4" off
-
-PORTDOCS= *
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_MMAP)
-CONFIGURE_ARGS+= --enable-apc-mmap
-.endif
-
-.if defined(WITH_SEMAPHORES)
-CONFIGURE_ARGS+= --enable-apc-sem
-.endif
-
-.if defined(WITH_FILEHITS)
-CONFIGURE_ARGS+= --enable-apc-filehits
-.endif
-
-.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
-
-post-install:
-.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}
-.endif
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>