summaryrefslogtreecommitdiff
path: root/www/php-templates/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/php-templates/Makefile')
-rw-r--r--www/php-templates/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/php-templates/Makefile b/www/php-templates/Makefile
index 15b43ae345a2..f517ee6c0366 100644
--- a/www/php-templates/Makefile
+++ b/www/php-templates/Makefile
@@ -31,5 +31,8 @@ do-install:
${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}-doc/* ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/php
+ @${ECHO_CMD} "extension="${PREFIX}/lib/php/${PHP_EXT_DIR}/templates.so" > \
+ ${STAGEDIR}${PREFIX}/etc/php/ext-20-templates.ini
.include <bsd.port.mk>