aboutsummaryrefslogtreecommitdiff
path: root/www/pecl-APC
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-21 23:12:18 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-21 23:12:18 +0000
commit6b38babedce07b66fc0e58a943c086e8bca46d33 (patch)
treef22033a62abbb888cc224030fed24812587e9612 /www/pecl-APC
parentc476e5b74b8607b0ddc6e0d471108d7cfa773115 (diff)
downloadports-6b38babedce07b66fc0e58a943c086e8bca46d33.tar.gz
ports-6b38babedce07b66fc0e58a943c086e8bca46d33.zip
Notes
Diffstat (limited to 'www/pecl-APC')
-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>