From owner-svn-ports-head@FreeBSD.ORG Sat Jul 19 01:41:16 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 86E2F3E3; Sat, 19 Jul 2014 01:41:16 +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 67705262D; Sat, 19 Jul 2014 01:41:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6J1fGto022060; Sat, 19 Jul 2014 01:41:16 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6J1fFxO022051; Sat, 19 Jul 2014 01:41:15 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201407190141.s6J1fFxO022051@svn.freebsd.org> From: "Vanilla I. Shu" Date: Sat, 19 Jul 2014 01:41:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362235 - in head/www/php-screw: . 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-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, 19 Jul 2014 01:41:16 -0000 Author: vanilla Date: Sat Jul 19 01:41:15 2014 New Revision: 362235 URL: http://svnweb.freebsd.org/changeset/ports/362235 QAT: https://qat.redports.org/buildarchive/r362235/ Log: Stagify. Added: head/www/php-screw/files/pkg-message.in - copied unchanged from r362234, head/www/php-screw/pkg-message Deleted: head/www/php-screw/pkg-message Modified: head/www/php-screw/Makefile head/www/php-screw/pkg-plist Modified: head/www/php-screw/Makefile ============================================================================== --- head/www/php-screw/Makefile Fri Jul 18 22:47:39 2014 (r362234) +++ head/www/php-screw/Makefile Sat Jul 19 01:41:15 2014 (r362235) @@ -11,17 +11,16 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A PHP script encryption tool -PKGMESSAGE= ${WRKDIR}/pkg-message - CRYPTKEY?= 11152, 368, 192, 1281, 62 USE_AUTOTOOLS= libtool USE_PHP= zlib USE_PHPIZE= yes +PLIST_SUB= PHP_EXTDIR="${PHP_EXT_DIR}" +SUB_FILES= pkg-message -CONFIGURE_ARGS+=--enable-php_screw=shared +CONFIGURE_ARGS+= --enable-php_screw=shared -NO_STAGE= yes pre-everything:: @${ECHO} "" @${ECHO} "To achieve real security, define your own encryption" @@ -40,16 +39,11 @@ do-build: @(cd ${BUILD_WRKSRC}/tools; ${SETENV} ${MAKE_ENV} ${MAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) -post-build: - @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \ - ${.CURDIR}/pkg-message > ${PKGMESSAGE} do-install: - @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} @${INSTALL_DATA} ${WRKSRC}/modules/php_screw.so \ - ${PREFIX}/lib/php/${PHP_EXT_DIR} - @${INSTALL_PROGRAM} ${WRKSRC}/tools/screw ${PREFIX}/bin - -post-install: - @${CAT} ${PKGMESSAGE} + ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} + @${INSTALL_PROGRAM} ${WRKSRC}/tools/screw ${STAGEDIR}${PREFIX}/bin + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/php_screw.so .include Copied: head/www/php-screw/files/pkg-message.in (from r362234, head/www/php-screw/pkg-message) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/php-screw/files/pkg-message.in Sat Jul 19 01:41:15 2014 (r362235, copy of r362234, head/www/php-screw/pkg-message) @@ -0,0 +1,9 @@ +***************************************************************************** + +You have installed the php-screw package. + +Edit %%LOCALBASE%%/etc/php.ini and add: + +extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/php_screw.so" + +***************************************************************************** Modified: head/www/php-screw/pkg-plist ============================================================================== --- head/www/php-screw/pkg-plist Fri Jul 18 22:47:39 2014 (r362234) +++ head/www/php-screw/pkg-plist Sat Jul 19 01:41:15 2014 (r362235) @@ -1,3 +1,2 @@ bin/screw lib/php/%%PHP_EXT_DIR%%/php_screw.so -@dirrmtry lib/php/%%PHP_EXT_DIR%%