Date: Fri, 25 May 2018 20:00:46 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470861 - head/devel/gitphp Message-ID: <201805252000.w4PK0kR0004351@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Fri May 25 20:00:45 2018 New Revision: 470861 URL: https://svnweb.freebsd.org/changeset/ports/470861 Log: devel/gitphp: allow building with php7+ PR: 227377 Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> Modified: head/devel/gitphp/Makefile (contents, props changed) Modified: head/devel/gitphp/Makefile ============================================================================== --- head/devel/gitphp/Makefile Fri May 25 17:53:54 2018 (r470860) +++ head/devel/gitphp/Makefile Fri May 25 20:00:45 2018 (r470861) @@ -2,7 +2,7 @@ PORTNAME= gitphp PORTVERSION= 0.2.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel www MASTER_SITES= https://github.com/xiphux/gitphp/releases/download/${PORTVERSION}/ @@ -13,12 +13,19 @@ LICENSE= GPLv2 USES= gettext php:web tar:bzip2 USE_PHP= bz2 fileinfo mbstring memcache posix simplexml spl zlib +NO_ARCH= yes NO_BUILD= yes PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message +.include <bsd.port.pre.mk> + +.if (${PHP_VER} < 70) RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:textproc/pecl-xdiff@${PHP_FLAVOR} +.else +RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:textproc/pecl-xdiff2@${PHP_FLAVOR} +.endif do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} @@ -26,4 +33,4 @@ do-install: && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 {} + -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805252000.w4PK0kR0004351>