mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Stagify.
This commit is contained in:
parent
fb21d7a021
commit
10ca9a19a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362235
@ -11,17 +11,16 @@ EXTRACT_SUFX= .tgz
|
|||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= A PHP script encryption tool
|
COMMENT= A PHP script encryption tool
|
||||||
|
|
||||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
||||||
|
|
||||||
CRYPTKEY?= 11152, 368, 192, 1281, 62
|
CRYPTKEY?= 11152, 368, 192, 1281, 62
|
||||||
|
|
||||||
USE_AUTOTOOLS= libtool
|
USE_AUTOTOOLS= libtool
|
||||||
USE_PHP= zlib
|
USE_PHP= zlib
|
||||||
USE_PHPIZE= yes
|
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::
|
pre-everything::
|
||||||
@${ECHO} ""
|
@${ECHO} ""
|
||||||
@${ECHO} "To achieve real security, define your own encryption"
|
@${ECHO} "To achieve real security, define your own encryption"
|
||||||
@ -40,16 +39,11 @@ do-build:
|
|||||||
@(cd ${BUILD_WRKSRC}/tools; ${SETENV} ${MAKE_ENV} ${MAKE} \
|
@(cd ${BUILD_WRKSRC}/tools; ${SETENV} ${MAKE_ENV} ${MAKE} \
|
||||||
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
${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:
|
do-install:
|
||||||
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/modules/php_screw.so \
|
@${INSTALL_DATA} ${WRKSRC}/modules/php_screw.so \
|
||||||
${PREFIX}/lib/php/${PHP_EXT_DIR}
|
${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
|
||||||
@${INSTALL_PROGRAM} ${WRKSRC}/tools/screw ${PREFIX}/bin
|
@${INSTALL_PROGRAM} ${WRKSRC}/tools/screw ${STAGEDIR}${PREFIX}/bin
|
||||||
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/php_screw.so
|
||||||
post-install:
|
|
||||||
@${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
bin/screw
|
bin/screw
|
||||||
lib/php/%%PHP_EXT_DIR%%/php_screw.so
|
lib/php/%%PHP_EXT_DIR%%/php_screw.so
|
||||||
@dirrmtry lib/php/%%PHP_EXT_DIR%%
|
|
||||||
|
Loading…
Reference in New Issue
Block a user