aboutsummaryrefslogtreecommitdiff
path: root/www/pecl-APC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/pecl-APC/Makefile')
-rw-r--r--www/pecl-APC/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/www/pecl-APC/Makefile b/www/pecl-APC/Makefile
index 4786164a3d3c..1126d454311f 100644
--- a/www/pecl-APC/Makefile
+++ b/www/pecl-APC/Makefile
@@ -1,4 +1,4 @@
-# Created by: Thierry Thomas (<thierry@pompo.net>)
+# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= APC
@@ -15,6 +15,8 @@ DIST_SUBDIR= PECL
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Alternative PHP Cache
+LICENSE= PHP301
+
OPTIONS_DEFINE= DOCS FILEHITS IPC SEMAPHORES SPINLOCKS
FILEHITS_DESC= Per request cache info
IPC_DESC= IPC shm memory support (default: mmap)
@@ -24,13 +26,11 @@ SPINLOCKS_DESC= Spinlocks (experimental)
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --enable-apc
IGNORE_WITH_PHP=55
-NO_STAGE= yes
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
@@ -39,13 +39,8 @@ IPC_CONFIGURE_ARGS= --disable-apc-mmap
SEMAPHORES_CONFIGURE_ARGS= --enable-apc-sem
SPINLOCKS_CONFIGURE_ARGS= --enable-apc-spinlocks
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
- @${CAT} ${PKGMESSAGE}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>