Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= APC |
8 |
PORTNAME= APC |
9 |
PORTVERSION= 2.0.4 |
9 |
PORTVERSION= 2.0.4 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= www |
11 |
CATEGORIES= www |
11 |
MASTER_SITES= http://pecl.php.net/get/ |
12 |
MASTER_SITES= http://pecl.php.net/get/ |
12 |
PKGNAMEPREFIX= pecl- |
13 |
PKGNAMEPREFIX= pecl- |
Lines 26-37
Link Here
|
26 |
|
27 |
|
27 |
CONFIGURE_ARGS= --enable-apc |
28 |
CONFIGURE_ARGS= --enable-apc |
28 |
|
29 |
|
29 |
OPTIONS= MMAP "Enable mmap" off |
30 |
OPTIONS= MMAP "Enable mmap memory support (default: IPC shm)" off \ |
|
|
31 |
SEMAPHORES "Enable sysv IPC semaphores (default: fcntl())" off \ |
32 |
|
33 |
.include <bsd.port.pre.mk> |
34 |
|
35 |
.if ${PHP_VER} == 5 |
36 |
BROKEN= This port is not compatible with php${PHP_VER} |
37 |
.endif |
30 |
|
38 |
|
31 |
.if !defined(WITHOUT_MMAP) |
39 |
.if !defined(WITHOUT_MMAP) |
32 |
CONFIGURE_ARGS+= --enable-mmap |
40 |
CONFIGURE_ARGS+= --enable-mmap |
33 |
.endif |
41 |
.endif |
34 |
|
42 |
|
|
|
43 |
.if !defined(WITHOUT_SEMAPHORES) |
44 |
CONFIGURE_ARGS+= --enable-sem |
45 |
.endif |
46 |
|
35 |
.if !defined(NOPORTDOCS) |
47 |
.if !defined(NOPORTDOCS) |
36 |
PORTDOCS= * |
48 |
PORTDOCS= * |
37 |
.endif |
49 |
.endif |
Lines 45-48
Link Here
|
45 |
.endif |
57 |
.endif |
46 |
@${CAT} ${PKGMESSAGE} |
58 |
@${CAT} ${PKGMESSAGE} |
47 |
|
59 |
|
48 |
.include <bsd.port.mk> |
60 |
.include <bsd.port.post.mk> |