View | Details | Raw Unified | Return to bug 81316
Collapse All | Expand All

(-)eaccelerator/Makefile (-4 / +18 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	eaccelerator
8
PORTNAME=	eaccelerator
9
PORTVERSION=	0.9.2a
9
PORTVERSION=	0.9.3
10
CATEGORIES=	www
10
CATEGORIES=	www
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 17-29 Link Here
17
USE_PHP=	yes
17
USE_PHP=	yes
18
USE_PHPIZE=	yes
18
USE_PHPIZE=	yes
19
19
20
WRKSRC=		${WRKDIR}/${PORTNAME}
21
22
CONFIGURE_ARGS=	--enable-eaccelerator=shared
20
CONFIGURE_ARGS=	--enable-eaccelerator=shared
23
21
24
SUB_FILES=	pkg-message
22
SUB_FILES=	pkg-message
25
PKGMESSAGE=	${WRKDIR}/pkg-message
23
PKGMESSAGE=	${WRKDIR}/pkg-message
26
24
25
.include <bsd.port.pre.mk>
26
27
.if !exists(${LOCALBASE}/lib/php/${PHP_EXT_DIR}/session.so)
28
WITHOUT_PHP_SESSION=	yes
29
CONFIGURE_ARGS+=	--without-eaccelerator-sessions
30
.endif
31
32
pre-everything::
33
.if defined(WITHOUT_PHP_SESSION)
34
	@${ECHO_MSG} "===>"
35
	@${ECHO_MSG} "===> If you use ${PORTNAME} with php session, please"
36
	@${ECHO_MSG} "===> press CTRL+C and install www/php${PHP_VER}-session"
37
	@${ECHO_MSG} "===>"
38
	@sleep 2
39
.endif
40
27
.if !defined(NOPORTDOCS)
41
.if !defined(NOPORTDOCS)
28
PORTDOCS=	*
42
PORTDOCS=	*
29
.endif
43
.endif
Lines 48-51 Link Here
48
post-install:
62
post-install:
49
	@${CAT} ${PKGMESSAGE}
63
	@${CAT} ${PKGMESSAGE}
50
64
51
.include <bsd.port.mk>
65
.include <bsd.port.post.mk>
(-)eaccelerator/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (eaccelerator-0.9.2a.tar.gz) = e9059ebd49f14835534a1d96a97ababd
1
MD5 (eaccelerator-0.9.3.tar.gz) = b17ddf953f18ee6df5c2c24ffccb37d9
2
SIZE (eaccelerator-0.9.2a.tar.gz) = 115791
2
SIZE (eaccelerator-0.9.3.tar.gz) = 133120
(-)eaccelerator/files/pkg-message.in (-3 / +23 lines)
Lines 7-16 Link Here
7
[eaccelerator]
7
[eaccelerator]
8
extension="eaccelerator.so"
8
extension="eaccelerator.so"
9
9
10
******************************************************
11
*** Do not forget that insert this extension after ***
12
*** extension=session.so                           ***
13
******************************************************
14
10
Then create the cache directory:
15
Then create the cache directory:
11
16
12
  mkdir /tmp/eaccelerator
17
mkdir /tmp/eaccelerator
13
  chown www /tmp/eaccelerator
18
chown www /tmp/eaccelerator
14
  chmod 0700 /tmp/eaccelerator
19
chmod 0700 /tmp/eaccelerator
20
21
If you need change temporary directory, change this variable in php.ini
22
23
eaccelerator.cache_dir="/tmp/eaccelerator"
24
                       ^^^^^^^^^^^^^^^^^^^ -> Default value
25
26
To enable/disable eaccelerator change this variable:
27
28
eaccelerator.enable="1"
29
                    ^^^ -> Default value
30
31
To change amount memory eaccelerator use, change this variable:
32
33
eaccelerator.shm_size="0"
34
                      ^^^ -> Default value ("0" means OS default)
15
35
16
*****************************************************************************
36
*****************************************************************************

Return to bug 81316