- updated to version 1.3.1

- support for options-framework iplemented
This commit is contained in:
Volkmar Seifert 2010-12-30 18:44:13 +00:00 committed by Thomas Klausner
parent f27dd36dce
commit 317b380918
5 changed files with 99 additions and 32 deletions

View file

@ -1,5 +1,5 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2009/10/16 17:50:31 mbowie Exp $
$NetBSD: MESSAGE,v 1.2 2010/12/30 18:44:13 mjoellnir Exp $
For details on configuring XCache, see:
http://xcache.lighttpd.net/wiki/InstallingAsPhpExtension
@ -7,6 +7,8 @@ $NetBSD: MESSAGE,v 1.1.1.1 2009/10/16 17:50:31 mbowie Exp $
For details on configuring the admin pages, see:
http://xcache.lighttpd.net/wiki/InstallAdministration
Example files have been installed in: ${PREFIX}/share/examples/xcache
The web-interface files have been installed in:
${PREFIX}/share/xcache
===========================================================================

View file

@ -1,22 +1,32 @@
# $NetBSD: Makefile,v 1.2 2010/05/10 10:04:47 obache Exp $
# $NetBSD: Makefile,v 1.3 2010/12/30 18:44:14 mjoellnir Exp $
#
MODNAME= xcache
PECL_VERSION= 1.2.2
PECL_VERSION= 1.3.1
PKGNAME= ${MODNAME}-${PECL_VERSION}
CATEGORIES= www
MASTER_SITES= http://xcache.lighttpd.net/pub/Releases/${PECL_VERSION}/
EXTRACT_SUFX= .tar.gz
EXTRACT_SUFX= .tar.gz # required, because ../../lang/php/ext.mk
# overrides it with .tgz
MAINTAINER= mbowie@buzmo.com
HOMEPAGE= http://xcache.lighttpd.net/
COMMENT= Fast and stable PHP opcode cacher
PLIST_SRC+= PLIST
PKG_DESTDIR_SUPPORT= user-destdir
CONFIGURE_ARGS+= --enable-${MODNAME}
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
INSTALLATION_DIRS= share/examples/xcache
INSTALLATION_DIRS+= share/examples/xcache/admin
INSTALLATION_DIRS+= share/xcache
INSTALLATION_DIRS+= share/xcache/admin
INSTALLATION_DIRS+= share/xcache/coverager
ADMINFILES= common-en.lang.php common-zh-simplified-utf-8.lang.php \
common-zh-traditional-utf-8.lang.php common.php \
@ -26,13 +36,24 @@ ADMINFILES= common-en.lang.php common-zh-simplified-utf-8.lang.php \
help-zh-traditional-utf-8.lang.php help.php index.php \
tablesort.js xcache.css xcache.php xcache.tpl.php
post-install:
COVERAGERFILES= common-en.lang.php common-zh-simplified-utf-8.lang.php \
common-zh-simplified-gb2312.lang.php common.php \
config.php.example coverager.css coverager.php \
coverager.tpl.php index.php
do-install:
${INSTALL_DATA} ${WRKSRC}/xcache.ini \
${DESTDIR}${PREFIX}/share/examples/xcache/
.for f in ${ADMINFILES}
${INSTALL_DATA} ${WRKSRC}/admin/${f} \
${DESTDIR}${PREFIX}/share/examples/xcache/admin/
${DESTDIR}${PREFIX}/share/xcache/admin/
.endfor
.for f in ${COVERAGERFILES}
${INSTALL_DATA} ${WRKSRC}/coverager/${f} \
${DESTDIR}${PREFIX}/share/xcache/coverager/
.endfor
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,21 +1,29 @@
@comment $NetBSD: PLIST,v 1.2 2010/05/10 10:04:47 obache Exp $
lib/php/20040412/xcache.so
share/examples/xcache/admin/common-en.lang.php
share/examples/xcache/admin/common-zh-simplified-utf-8.lang.php
share/examples/xcache/admin/common-zh-traditional-utf-8.lang.php
share/examples/xcache/admin/common.php
share/examples/xcache/admin/config.php.example
share/examples/xcache/admin/edit.php
share/examples/xcache/admin/edit.tpl.php
share/examples/xcache/admin/footer.tpl.php
share/examples/xcache/admin/header.tpl.php
share/examples/xcache/admin/help-en.lang.php
share/examples/xcache/admin/help-zh-simplified-utf-8.lang.php
share/examples/xcache/admin/help-zh-traditional-utf-8.lang.php
share/examples/xcache/admin/help.php
share/examples/xcache/admin/index.php
share/examples/xcache/admin/tablesort.js
share/examples/xcache/admin/xcache.css
share/examples/xcache/admin/xcache.php
share/examples/xcache/admin/xcache.tpl.php
@comment $NetBSD: PLIST,v 1.3 2010/12/30 18:44:14 mjoellnir Exp $
share/examples/xcache/xcache.ini
share/xcache/admin/common-en.lang.php
share/xcache/admin/common-zh-simplified-utf-8.lang.php
share/xcache/admin/common-zh-traditional-utf-8.lang.php
share/xcache/admin/common.php
share/xcache/admin/config.php.example
share/xcache/admin/edit.php
share/xcache/admin/edit.tpl.php
share/xcache/admin/footer.tpl.php
share/xcache/admin/header.tpl.php
share/xcache/admin/help-en.lang.php
share/xcache/admin/help-zh-simplified-utf-8.lang.php
share/xcache/admin/help-zh-traditional-utf-8.lang.php
share/xcache/admin/help.php
share/xcache/admin/index.php
share/xcache/admin/tablesort.js
share/xcache/admin/xcache.css
share/xcache/admin/xcache.php
share/xcache/admin/xcache.tpl.php
share/xcache/coverager/common-en.lang.php
share/xcache/coverager/common-zh-simplified-gb2312.lang.php
share/xcache/coverager/common-zh-simplified-utf-8.lang.php
share/xcache/coverager/common.php
share/xcache/coverager/config.php.example
share/xcache/coverager/coverager.css
share/xcache/coverager/coverager.php
share/xcache/coverager/coverager.tpl.php
share/xcache/coverager/index.php

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2009/10/16 17:50:31 mbowie Exp $
$NetBSD: distinfo,v 1.2 2010/12/30 18:44:14 mjoellnir Exp $
SHA1 (php-xcache/xcache-1.2.2.tar.gz) = 17dfef1bba0f6001731cde51f303653d18130934
RMD160 (php-xcache/xcache-1.2.2.tar.gz) = b3dc07102119c7717ae1659de0168b708be5b299
Size (php-xcache/xcache-1.2.2.tar.gz) = 269238 bytes
SHA1 (php-xcache/xcache-1.3.1.tar.gz) = 86fbda3f4af1868b3695f3199844c9e742437e97
RMD160 (php-xcache/xcache-1.3.1.tar.gz) = 2e031fdd978a75f4627732243c2258d149922791
Size (php-xcache/xcache-1.3.1.tar.gz) = 106879 bytes

36
php-xcache/options.mk Normal file
View file

@ -0,0 +1,36 @@
# $NetBSD: options.mk,v 1.1 2010/12/30 18:44:14 mjoellnir Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.php-xcache
PKG_SUPPORTED_OPTIONS= constant optimizer coverager assembler disassembler encoder decoder
PKG_SUGGESTED_OPTIONS= constant optimizer coverager
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mconstant)
CONFIGURE_ARGS+= --enable-xcache-constant
.endif
.if !empty(PKG_OPTIONS:Moptimizer)
CONFIGURE_ARGS+= --enable-xcache-optimizer
.endif
.if !empty(PKG_OPTIONS:Mcoverager)
CONFIGURE_ARGS+= --enable-xcache-coverager
.endif
.if !empty(PKG_OPTIONS:Massembler)
CONFIGURE_ARGS+= --enable-xcache-assembler
.endif
.if !empty(PKG_OPTIONS:Mdisassembler)
CONFIGURE_ARGS+= --enable-xcache-disassembler
.endif
.if !empty(PKG_OPTIONS:Mencoder)
CONFIGURE_ARGS+= --enable-xcache-encoder
.endif
.if !empty(PKG_OPTIONS:Mdecoder)
CONFIGURE_ARGS+= --enable-xcache-decoder
.endif