Date: Sun, 4 Jun 2017 09:01:15 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442538 - head/www/php-screw Message-ID: <201706040901.v5491FQT014221@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706040901.v5491FQT014221>