From owner-svn-ports-all@FreeBSD.ORG Mon Dec 10 14:48:36 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE2D6E14; Mon, 10 Dec 2012 14:48:36 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 81C038FC19; Mon, 10 Dec 2012 14:48:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBAEmaR4036140; Mon, 10 Dec 2012 14:48:36 GMT (envelope-from ale@svn.freebsd.org) Received: (from ale@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBAEmaan036135; Mon, 10 Dec 2012 14:48:36 GMT (envelope-from ale@svn.freebsd.org) Message-Id: <201212101448.qBAEmaan036135@svn.freebsd.org> From: Alex Dupre Date: Mon, 10 Dec 2012 14:48:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308608 - in head/www/xcache: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2012 14:48:36 -0000 Author: ale Date: Mon Dec 10 14:48:35 2012 New Revision: 308608 URL: http://svnweb.freebsd.org/changeset/ports/308608 Log: Update to 3.0.0 release. Deleted: head/www/xcache/pkg-plist Modified: head/www/xcache/Makefile head/www/xcache/distinfo head/www/xcache/files/patch-xcache.ini Modified: head/www/xcache/Makefile ============================================================================== --- head/www/xcache/Makefile Mon Dec 10 14:46:07 2012 (r308607) +++ head/www/xcache/Makefile Mon Dec 10 14:48:35 2012 (r308608) @@ -1,12 +1,8 @@ -# New ports collection makefile for: xcache -# Date created: 28 May 2006 -# Whom: Alex Dupre -# +# Created by: Alex Dupre # $FreeBSD$ -# PORTNAME= xcache -DISTVERSION= 2.0.1 +DISTVERSION= 3.0.0 CATEGORIES= www MASTER_SITES= http://xcache.lighttpd.net/pub/Releases/${DISTVERSION}/ @@ -19,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING USE_BZIP2= yes USE_PHP= yes USE_PHPIZE= yes +USE_GMAKE= yes CONFIGURE_ARGS= --enable-xcache=shared @@ -29,16 +26,10 @@ COVERAGER_DESC= Enable code coverage dum SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message -ADMINFILES= common-en.lang.php common-zh-simplified-utf-8.lang.php \ - common-zh-traditional-utf-8.lang.php common.php config.default.php \ - config.example.php edit.php edit.tpl.php footer.tpl.php header.tpl.php \ - help-en.lang.php help-zh-simplified-utf-8.lang.php \ - help-zh-traditional-utf-8.lang.php help.php index.php \ - mkpassword.php tablesort.js xcache.css xcache.php xcache.tpl.php - -COVERAGERFILES= common-en.lang.php common-zh-simplified-gb2312.lang.php \ - common-zh-simplified-utf-8.lang.php common.php config.php.example \ - coverager.css coverager.php coverager.tpl.php index.php +PLIST_FILES= lib/php/%%PHP_EXT_DIR%%/xcache.so +PLIST_DIRSTRY= lib/php/%%PHP_EXT_DIR%% + +PORTEXAMPLES= * .include @@ -53,10 +44,6 @@ PLIST_SUB+= COVERAGER="" PLIST_SUB+= COVERAGER="@comment " .endif -post-build: - @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|' \ - ${WRKSRC}/xcache.ini - do-install: @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} ${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \ @@ -64,18 +51,9 @@ do-install: @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/xcache.ini \ ${EXAMPLESDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs ${EXAMPLESDIR} post-install: - @${MKDIR} ${EXAMPLESDIR}/admin -.for f in ${ADMINFILES} - ${INSTALL_DATA} ${WRKSRC}/admin/${f} ${EXAMPLESDIR}/admin -.endfor -.if defined(WITH_COVERAGER) - @${MKDIR} ${EXAMPLESDIR}/coverager -.for f in ${COVERAGERFILES} - ${INSTALL_DATA} ${WRKSRC}/coverager/${f} ${EXAMPLESDIR}/coverager -.endfor -.endif @${CAT} ${PKGMESSAGE} .include Modified: head/www/xcache/distinfo ============================================================================== --- head/www/xcache/distinfo Mon Dec 10 14:46:07 2012 (r308607) +++ head/www/xcache/distinfo Mon Dec 10 14:48:35 2012 (r308608) @@ -1,2 +1,2 @@ -SHA256 (xcache-2.0.1.tar.bz2) = b6e350f3b327b11e033da44f8b5f464b173e2256b5acc792a1179d29cb499289 -SIZE (xcache-2.0.1.tar.bz2) = 112352 +SHA256 (xcache-3.0.0.tar.bz2) = a0db8326c58b7fb04ea22cc40fe478f6c6fc2b23880f5739dfa7250df66bd8e0 +SIZE (xcache-3.0.0.tar.bz2) = 148899 Modified: head/www/xcache/files/patch-xcache.ini ============================================================================== --- head/www/xcache/files/patch-xcache.ini Mon Dec 10 14:46:07 2012 (r308607) +++ head/www/xcache/files/patch-xcache.ini Mon Dec 10 14:48:35 2012 (r308608) @@ -1,19 +1,12 @@ ---- xcache.ini.orig 2012-08-08 16:59:55.000000000 +0200 -+++ xcache.ini 2012-08-08 17:03:46.000000000 +0200 -@@ -3,17 +3,13 @@ - ;; WARNING: zend_extension* = *xcache* MUST be the first(above) of all zend_extension*=* - ;; using extension=xcache.so is not recommended - --;; non-windows example --;; update xxx accordingly --zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so --;; windows example: --zend_extension_ts = c:/php/extensions/php_xcache.dll --;; for newer PHP, _ts is removed, use the following line instead --zend_extension = c:/php/extensions/php_xcache.dll -+zend_extension = %%LOCALBASE%%/lib/php/%%PHP_EXT_DIR%%/xcache.so -+;; for older and thread-safe PHP, _ts is needed -+; zend_extension_ts = %%LOCALBASE%%/lib/php/%%PHP_EXT_DIR%%/xcache.so +--- xcache.ini.orig 2012-10-10 14:05:11.000000000 +0200 ++++ xcache.ini 2012-11-08 12:26:54.000000000 +0100 +@@ -1,13 +1,10 @@ + ;; this is an example, it won't work unless properly configured into php.ini + [xcache-common] +-;; non-Windows example: + extension = xcache.so +-;; Windows example: +-; extension = php_xcache.dll [xcache.admin] xcache.admin.enable_auth = On