1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/www/pecl-APC/Makefile
Sunpoet Po-Chuan Hsieh 6b38babedc - Fix Makefile header
- Add LICENSE
- Remove WRKSRC
- Support STAGEDIR
2013-11-21 23:12:18 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
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
LICENSE= PHP301
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=55
PHP_MODNAME= ${PORTNAME:L}
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
USE_PHP= yes
USE_PHPEXT= yes
PORTDOCS= CHANGELOG INSTALL NOTICE apc.php
FILEHITS_CONFIGURE_ARGS=--enable-apc-filehits
IPC_CONFIGURE_ARGS= --disable-apc-mmap
SEMAPHORES_CONFIGURE_ARGS= --enable-apc-sem
SPINLOCKS_CONFIGURE_ARGS= --enable-apc-spinlocks
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>