www/nextcloud: remove support for PHP 5.6 and pet portlint

This commit is contained in:
Rene Ladan 2019-01-01 13:35:25 +00:00
parent d0af725706
commit 199ffcc433
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488888

View file

@ -61,11 +61,7 @@ SSL_USE= PHP=openssl
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MAPCU}
. if ${PHP_VER} >= 70
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR}
. else
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu4@${PHP_FLAVOR}
. endif
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR}
.endif
post-extract:
@ -79,7 +75,7 @@ post-patch:
do-install:
@${MKDIR} -m 0755 ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
@${INSTALL_SCRIPT} ${WRKDIR}/config.sample.php ${STAGEDIR}${WWWDIR}/config/config.sample.php
${INSTALL_SCRIPT} ${WRKDIR}/config.sample.php ${STAGEDIR}${WWWDIR}/config/config.sample.php
@${RM} ${STAGEDIR}${WWWDIR}/updater/updater.phar
@${MKDIR} ${STAGEDIR}${WWWDIR}/data
@${MKDIR} ${STAGEDIR}${WWWDIR}/apps