Changeset View
Changeset View
Standalone View
Standalone View
head/www/unit-php56/Makefile
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org> | |||||
# $FreeBSD$ | |||||
PKGNAMESUFFIX= -php${PHP_VER} | |||||
COMMENT= PHP module for NGINX Unit | |||||
PLIST_FILES= libexec/unit/modules/php${PHP_VER}.unit.so | |||||
USES= php:build,embed | |||||
MASTERDIR= ${.CURDIR}/../unit | |||||
post-configure: | |||||
cd ${CONFIGURE_WRKSRC} && \ | |||||
./configure php --lib-path=${LOCALBASE}/lib \ | |||||
--module=php${PHP_VER} | |||||
do-install: | |||||
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules/ | |||||
${INSTALL_LIB} ${WRKSRC}/build/php${PHP_VER}.unit.so \ | |||||
${STAGEDIR}${PREFIX}/libexec/unit/modules/ | |||||
.include "${MASTERDIR}/Makefile" |