From owner-svn-ports-head@FreeBSD.ORG Sat May 24 20:55:18 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE7D42DC; Sat, 24 May 2014 20:55:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB22A2D48; Sat, 24 May 2014 20:55:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4OKtHEP003599; Sat, 24 May 2014 20:55:17 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4OKtHeX003595; Sat, 24 May 2014 20:55:17 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201405242055.s4OKtHeX003595@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sat, 24 May 2014 20:55:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355087 - in head/devel: . pecl-memoize X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2014 20:55:18 -0000 Author: sunpoet Date: Sat May 24 20:55:16 2014 New Revision: 355087 URL: http://svnweb.freebsd.org/changeset/ports/355087 QAT: https://qat.redports.org/buildarchive/r355087/ Log: - Add pecl-memoize 0.2.0 - While I'm here: - Convert to new options helper - Use USE_PHP=apc php-memoize is a PHP extension which transparently caches PHP functions, much like Perl's Memoize module. It comes with the following storage modules which can be enabled at compile time: - memory: Simple per-request module with no dependencies. Since this is a per-request cache, neither TTLs specified in the `memoize()` call or `memoize.default_ttl` are used. - memcached: Uses libmemcached or the memcached PHP extension - apc: Uses the APC PHP extension WWW: http://pecl.php.net/package/memoize PR: ports/190098 Submitted by: Gasol Wu Added: head/devel/pecl-memoize/ head/devel/pecl-memoize/Makefile (contents, props changed) head/devel/pecl-memoize/distinfo (contents, props changed) head/devel/pecl-memoize/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat May 24 20:54:16 2014 (r355086) +++ head/devel/Makefile Sat May 24 20:55:16 2014 (r355087) @@ -3338,6 +3338,7 @@ SUBDIR += pecl-judy SUBDIR += pecl-libevent SUBDIR += pecl-mcve + SUBDIR += pecl-memoize SUBDIR += pecl-msgpack SUBDIR += pecl-ncurses SUBDIR += pecl-newt Added: head/devel/pecl-memoize/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pecl-memoize/Makefile Sat May 24 20:55:16 2014 (r355087) @@ -0,0 +1,34 @@ +# Created by: Gasol Wu +# $FreeBSD$ + +PORTNAME= memoize +PORTVERSION= 0.2.0 +CATEGORIES= devel +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +DIST_SUBDIR= PECL + +MAINTAINER= gasol.wu@gmail.com +COMMENT= PHP extension which transparently caches PHP functions + +LICENSE= PHP301 + +USES= tar:tgz +USE_PHP= yes +USE_PHPEXT= yes +CONFIGURE_ARGS= --enable-memoize + +OPTIONS_DEFINE= APC MEMCACHED MEMORY +OPTIONS_DEFAULT=MEMORY +APC_DESC= Enable memoize APC module +MEMCACHED_DESC= Enable memcached storage module +MEMORY_DESC= Enable the memoize memory storage module + +APC_CONFIGURE_ON= --enable-memoize-apc +APC_USE= PHP=apc +MEMCACHED_CONFIGURE_ON= --with-memoize-memcached +MEMCACHED_BUILD_DEPENDS=libmemcached>=0:${PORTSDIR}/databases/libmemcached +MEMCACHED_RUN_DEPENDS= libmemcached>=0:${PORTSDIR}/databases/libmemcached +MEMORY_CONFIGURE_OFF= --disable-memoize-memory + +.include Added: head/devel/pecl-memoize/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pecl-memoize/distinfo Sat May 24 20:55:16 2014 (r355087) @@ -0,0 +1,2 @@ +SHA256 (PECL/memoize-0.2.0.tgz) = 9da97c4b8edbb3452b3e9f429d5cf51c13692b9be90d43cf36d213d073bd39c9 +SIZE (PECL/memoize-0.2.0.tgz) = 13016 Added: head/devel/pecl-memoize/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pecl-memoize/pkg-descr Sat May 24 20:55:16 2014 (r355087) @@ -0,0 +1,13 @@ +php-memoize is a PHP extension which transparently caches PHP functions, much +like Perl's Memoize module. + +It comes with the following storage modules which can be enabled at compile +time: + +- memory: Simple per-request module with no dependencies. + Since this is a per-request cache, neither TTLs specified in the + `memoize()` call or `memoize.default_ttl` are used. +- memcached: Uses libmemcached or the memcached PHP extension +- apc: Uses the APC PHP extension + +WWW: http://pecl.php.net/package/memoize