svn commit: r362235 - in head/www/php-screw: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Sat Jul 19 01:41:16 UTC 2014
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 at 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 <bsd.port.mk>
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
- at dirrmtry lib/php/%%PHP_EXT_DIR%%
More information about the svn-ports-all
mailing list