2013-03-07 17:53:45 +01:00
|
|
|
# Created by: Alex Dupre <sysadmin@alexdupre.com>
|
2003-04-04 11:49:28 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2005-01-19 08:18:56 +01:00
|
|
|
PORTNAME= eaccelerator
|
2013-05-27 10:02:30 +02:00
|
|
|
PORTVERSION= 0.9.7
|
2003-04-04 11:49:28 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
|
2004-01-18 11:50:15 +01:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2010-04-11 10:10:38 +02:00
|
|
|
COMMENT= A free open-source PHP accelerator & optimizer
|
2003-04-04 11:49:28 +02:00
|
|
|
|
2013-05-27 10:02:30 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
OPTIONS_DEFINE= DOCCOMM
|
|
|
|
DOCCOMM_DESC= Retain doc-comments in internal php structures
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= ${PORTNAME}
|
2013-06-08 00:29:01 +02:00
|
|
|
GH_TAGNAME= ${GH_COMMIT}
|
2013-05-27 10:02:30 +02:00
|
|
|
GH_COMMIT= 42067ac
|
|
|
|
|
2013-03-07 17:53:45 +01:00
|
|
|
OPTIONS_DEFINE= DOCCOMM
|
2013-05-27 10:02:30 +02:00
|
|
|
|
2013-03-07 17:53:45 +01:00
|
|
|
DOCCOMM_DESC= Retain doc-comments in internal php structures
|
2011-02-17 09:38:48 +01:00
|
|
|
|
2010-04-11 10:10:38 +02:00
|
|
|
USE_PHP= yes
|
2003-06-07 04:12:37 +02:00
|
|
|
USE_PHPIZE= yes
|
2005-11-20 21:36:12 +01:00
|
|
|
USE_PHP_BUILD= yes
|
2003-04-04 11:49:28 +02:00
|
|
|
|
2006-04-20 20:06:30 +02:00
|
|
|
CONFIGURE_ARGS= --enable-eaccelerator=shared \
|
2013-05-27 10:02:30 +02:00
|
|
|
--with-eaccelerator-userid=80
|
2005-01-19 08:18:56 +01:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
2003-04-04 11:49:28 +02:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
2005-01-19 08:18:56 +01:00
|
|
|
PORTDOCS= *
|
2003-04-04 11:49:28 +02:00
|
|
|
|
2013-09-21 01:36:50 +02:00
|
|
|
NO_STAGE= yes
|
2013-03-07 17:53:45 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2006-02-02 10:06:14 +01:00
|
|
|
|
2013-03-07 17:53:45 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCCOMM}
|
2011-02-17 09:38:48 +01:00
|
|
|
CONFIGURE_ARGS+=--with-eaccelerator-doc-comment-inclusion
|
|
|
|
.endif
|
|
|
|
|
2003-04-04 11:49:28 +02:00
|
|
|
do-install:
|
2003-06-07 04:12:37 +02:00
|
|
|
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
|
2006-04-12 18:41:08 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \
|
2003-06-07 04:12:37 +02:00
|
|
|
${PREFIX}/lib/php/${PHP_EXT_DIR}
|
2006-04-12 18:41:08 +02:00
|
|
|
|
|
|
|
post-install:
|
2013-03-07 17:53:45 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2003-04-04 11:49:28 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2006-04-12 18:41:08 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2003-04-04 11:49:28 +02:00
|
|
|
.endif
|
2006-04-12 18:41:08 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/control.php ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dasm.php ${EXAMPLESDIR}
|
2003-04-04 11:49:28 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2013-03-07 17:53:45 +01:00
|
|
|
.include <bsd.port.mk>
|