From owner-svn-ports-all@freebsd.org Sun Jun 4 09:01:16 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75F8AAFE856; Sun, 4 Jun 2017 09:01:16 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 449F56F9E9; Sun, 4 Jun 2017 09:01:16 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5491FCm014222; Sun, 4 Jun 2017 09:01:15 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5491FQT014221; Sun, 4 Jun 2017 09:01:15 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201706040901.v5491FQT014221@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 4 Jun 2017 09:01:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442538 - head/www/php-screw 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.23 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: Sun, 04 Jun 2017 09:01:16 -0000 Author: amdmi3 Date: Sun Jun 4 09:01:15 2017 New Revision: 442538 URL: https://svnweb.freebsd.org/changeset/ports/442538 Log: - Add LICENSE - Unsilence installation commands - Use ECHO_CMD correcly Modified: head/www/php-screw/Makefile Modified: head/www/php-screw/Makefile ============================================================================== --- head/www/php-screw/Makefile Sun Jun 4 08:13:52 2017 (r442537) +++ head/www/php-screw/Makefile Sun Jun 4 09:01:15 2017 (r442538) @@ -12,6 +12,9 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= PHP script encryption tool +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + CRYPTKEY?= 11152, 368, 192, 1281, 62 USES= php:phpize libtool @@ -19,31 +22,31 @@ USE_PHP= zlib PLIST_SUB= PHP_EXTDIR="${PHP_EXT_DIR}" SUB_FILES= pkg-message -CONFIGURE_ARGS+= --enable-php_screw=shared +CONFIGURE_ARGS= --enable-php_screw=shared pre-everything:: - @${ECHO} "" - @${ECHO} "To achieve real security, define your own encryption" - @${ECHO} "seed key (CRYPTKEY); longer is better." - @${ECHO} "" - @${ECHO} "make CRYPTKEY=\"234, 84, 39664, 771, 9853\"" - @${ECHO} "" + @${ECHO_CMD} "" + @${ECHO_CMD} "To achieve real security, define your own encryption" + @${ECHO_CMD} "seed key (CRYPTKEY); longer is better." + @${ECHO_CMD} "" + @${ECHO_CMD} "make CRYPTKEY=\"234, 84, 39664, 771, 9853\"" + @${ECHO_CMD} "" post-patch: - @${ECHO} "short pm9screw_mycryptkey[] = { ${CRYPTKEY} };" > \ + @${ECHO_CMD} "short pm9screw_mycryptkey[] = { ${CRYPTKEY} };" > \ ${WRKSRC}/my_screw.h do-build: - @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} \ + (cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) - @(cd ${BUILD_WRKSRC}/tools; ${SETENV} ${MAKE_ENV} ${MAKE} \ + (cd ${BUILD_WRKSRC}/tools && ${SETENV} ${MAKE_ENV} ${MAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} - @${INSTALL_LIB} ${WRKSRC}/modules/php_screw.so \ + ${INSTALL_LIB} ${WRKSRC}/modules/php_screw.so \ ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} - @${INSTALL_PROGRAM} ${WRKSRC}/tools/screw ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/tools/screw ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/etc/php @${ECHO_CMD} "extension=${PREFIX}/lib/php/${PHP_EXT_DIR}/php_screw.so" > \ ${STAGEDIR}${PREFIX}/etc/php/ext-30-screw.ini